/* Okazo Agency — V2 : sobre, éditorial, bleu nuit dominant */

:root {
  --ink: #141B33;
  --navy: #1F2A4A;
  --paper: #F6F4EE;
  --accent: #F4E4A8;
  --muted: #5C6580;
  --muted-dark: #9AA5C2;
  --line: rgba(20, 27, 51, 0.14);
  --line-dark: rgba(246, 244, 238, 0.16);

  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --script: "Sacramento", cursive;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

/* Les mots en italique portent l'accent serif de la marque */
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-weight: 500;
  font-size: clamp(34px, 5.200vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent); }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 27, 51, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.logo {
  font-family: var(--script);
  font-size: 38px;
  line-height: 1;
  padding-top: 6px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}
.nav__menu a:not(.btn) { color: var(--muted-dark); transition: color 0.2s ease; }
.nav__menu a:not(.btn):hover { color: var(--paper); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.250px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.250px) rotate(-45deg); }

/* Hero */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 8vw, 112px);
}
.hero .eyebrow { color: var(--muted-dark); }
.hero__title {
  margin-top: clamp(24px, 3vw, 40px);
  font-weight: 500;
  font-size: clamp(46px, 9.200vw, 136px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero__title em { color: var(--accent); }
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 64px);
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(17px, 1.500vw, 20px);
  color: var(--muted-dark);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  margin-top: clamp(48px, 6vw, 80px);
  aspect-ratio: 16 / 8;
}

/* Emplacements média */
.media {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(244, 228, 168, 0.10), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.media__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
/* Quand les vrais médias arrivent : <img> ou <video> directement dans .media */
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Bandeau défilant */
.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  display: flex;
  align-items: center;
  padding-block: 20px;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  white-space: nowrap;
}
.marquee__track span::after {
  content: "";
  width: 6px; height: 6px;
  margin-inline: 36px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: var(--section); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: var(--muted-dark); }
.section--dark .title em { color: var(--accent); }

.head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }

/* Services */
.service {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.service:last-child { padding-bottom: 0; }
.service__num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.service__title {
  margin-top: 18px;
  font-weight: 500;
  font-size: clamp(30px, 3.600vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.service__text { margin-top: 18px; max-width: 26em; font-size: 18px; }
.service__who { margin-top: 28px; font-size: 14px; color: var(--muted); }

.list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.700vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.list li:first-child { padding-top: 0; }
.list--pairs strong { font-weight: 500; }
.list--pairs span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* Réalisations : rangée de reels verticaux, défilement horizontal si l'écran est étroit */
.reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 16px;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel { margin: 0; scroll-snap-align: start; }
.reel .media { aspect-ratio: 9 / 16; padding: 0; }
.reel figcaption {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* Pourquoi nous */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.benefit { padding-top: 24px; border-top: 1px solid var(--ink); }
.benefit__num { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }
.benefit h3 {
  margin-top: clamp(40px, 6vw, 88px);
  font-weight: 500;
  font-size: clamp(24px, 2.400vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.benefit p:last-child { margin-top: 10px; color: var(--muted); }

/* Contact */
.contact { padding-bottom: var(--section); }
.contact__card {
  padding: clamp(36px, 6vw, 88px);
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(20px, 2.500vw, 32px);
}
.contact__card .eyebrow { color: var(--muted-dark); }
.contact__card .title {
  margin-top: 24px;
  font-size: clamp(40px, 7vw, 104px);
  letter-spacing: -0.045em;
}
.contact__card .title em { color: var(--accent); }
.contact__text {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 28em;
  font-size: clamp(18px, 1.700vw, 22px);
  color: var(--muted-dark);
}
.contact__word {
  padding-inline: 4px;
  font-family: var(--script);
  font-size: 1.900em;
  line-height: 0.6;
  color: var(--accent);
}
.contact__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.contact__meta { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }

/* Pied de page */
.footer { padding-block: 28px 36px; border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.footer .logo { color: var(--ink); }

/* Apparition au défilement (seulement si le JS est actif) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* Tablette */
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit h3 { margin-top: 28px; }
  .hero__media { aspect-ratio: 4 / 3; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px var(--gutter) 30px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    font-size: 18px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { color: var(--paper); }
}
