/* ============================================================
   NG PROD — Landing Page
   Built on the NG Prod Design System. Black is the stage.
   White is the choice. Accent (sarcelle) is the rare exception.
   ============================================================ */

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir-absolu);
  color: var(--fg);
  font-family: var(--font-sans);
  font-stretch: var(--mona-width);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255,255,255,0.18); }

/* Accent exposure — single dial. Default keeps teal extremely rare. */
:root { --accent-on: 1; }

/* ---------- Layout primitives ---------- */
.wrap { width: min(1320px, 100% - 11vw); margin-inline: auto; }
/* Mobile: wider side gutters so content sits further from the edges (content scales down) */
@media (max-width: 760px) { .wrap { width: min(1320px, 100% - 18vw); } }
.section { position: relative; }
.pad-y { padding-block: clamp(80px, 12vw, 168px); }

/* ---------- Buttons (pill + glow signature) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 30px;
  border: 1px solid transparent; cursor: pointer;
  border-radius: var(--radius-full);
  font-family: var(--font-sans); font-stretch: var(--mona-width);
  font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.18em;
  text-transform: uppercase; white-space: nowrap; color: inherit;
  background: none;
  transition: transform var(--dur-base) var(--ease-out-cinema),
              box-shadow var(--dur-base) var(--ease-out-cinema),
              background-color var(--dur-base) var(--ease-out-cinema),
              border-color var(--dur-base) var(--ease-out-cinema),
              color var(--dur-base) var(--ease-out-cinema);
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.98); transition-duration: 120ms; }
.btn:focus-visible { outline: 1px solid rgba(255,255,255,0.9); outline-offset: 4px; }

.btn--mono { background: var(--blanc-pur); color: var(--noir-absolu); box-shadow: var(--glow-white-soft); }
.btn--mono:hover { box-shadow: var(--glow-white-strong); }

.btn--ghost {
  background: var(--surface-frosted-bg);
  -webkit-backdrop-filter: var(--surface-frosted-blur);
  backdrop-filter: var(--surface-frosted-blur);
  color: var(--fg); border-color: rgba(255,255,255,0.14);
  box-shadow: 0 0 24px rgba(255,255,255,0.05);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.28); box-shadow: 0 0 40px rgba(255,255,255,0.14); }

.btn--lg { height: 62px; padding: 0 38px; font-size: 13px; }
.btn .ico { width: 17px; height: 17px; }

/* Text link with the lens underline */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.2em;
  text-transform: uppercase; padding-bottom: 6px;
  transition: opacity var(--dur-base) var(--ease-out-cinema);
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out-cinema);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .ico { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out-cinema); }
.tlink:hover .ico { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; justify-content: flex-end; align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
  padding: 18px clamp(20px, 5.5vw, 64px);
  transition: background-color var(--dur-slow) var(--ease-out-cinema),
              backdrop-filter var(--dur-slow) var(--ease-out-cinema),
              border-color var(--dur-slow) var(--ease-out-cinema);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,10,10,0.55);
  -webkit-backdrop-filter: var(--surface-frosted-blur);
  backdrop-filter: var(--surface-frosted-blur);
  border-bottom-color: var(--border-soft);
}
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__link {
  font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-soft); white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out-cinema);
}
.nav__link:hover { color: var(--fg); }

/* Centered logo placeholder */
.nav__logo {
  justify-self: center;
  display: grid; place-items: center;
  width: 116px; height: 44px; border-radius: var(--radius-full);
  border: 1px solid var(--border); position: relative;
  background: rgba(255,255,255,0.015);
}
.nav__logo span {
  font-size: 9px; font-weight: var(--fw-semibold); letter-spacing: 0.28em;
  color: var(--fg-quiet); text-transform: uppercase;
}
.nav__logo::before, .nav__logo::after {
  content: ""; position: absolute; width: 7px; height: 7px;
  border-color: rgba(255,255,255,0.22); border-style: solid;
}
.nav__logo::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.nav__logo::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.nav__right { justify-self: end; display: flex; align-items: center; gap: 22px; }

/* FR | EN toggle (UI only) */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 4px; background: rgba(255,255,255,0.02);
}
.lang button {
  font-family: var(--font-sans); font-stretch: var(--mona-width);
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.14em;
  border: 0; cursor: pointer; color: var(--fg-quiet);
  background: none; padding: 6px 13px; border-radius: var(--radius-full);
  text-transform: uppercase;
  transition: color var(--dur-base) var(--ease-out-cinema),
              background-color var(--dur-base) var(--ease-out-cinema);
}
.lang button.is-active { color: var(--noir-absolu); background: var(--blanc-pur); }
.lang button:not(.is-active):hover { color: var(--fg); }

.nav__cta { display: inline-flex; }

/* Home logo — hidden in hero, fades in on scroll */
.nav__brand {
  margin-right: auto;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur-slow) var(--ease-out-cinema),
              transform var(--dur-slow) var(--ease-out-cinema);
}
.nav__brand img { height: 30px; width: auto; }
.nav.is-stuck .nav__brand {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 560px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100svh; min-height: 540px;
  display: grid; place-items: center; text-align: center;
  padding: clamp(92px, 13vh, 132px) clamp(20px, 5vw, 64px) clamp(76px, 11vh, 104px);
  background: var(--noir-absolu);
  overflow: hidden;
}
/* faint aperture watermark + center vignette glow */
.hero__aperture {
  position: absolute; top: 50%; left: 50%; translate: -50% -54%;
  width: min(150vh, 150vw); aspect-ratio: 1; pointer-events: none;
  background: var(--grad-vignette); opacity: 0.9;
}
.hero__glow {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 95vw; height: 95vw; max-width: 1400px; max-height: 1400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 58%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2; display: grid; justify-items: center;
  gap: var(--hero-gap, clamp(20px, 3.4vh, 44px));
  transform: translateY(var(--hero-shift, 0px));
}
.hero__eyebrow {
  font-size: clamp(10px, 1vw, 13px); font-weight: var(--fw-semibold);
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--fg-soft);
  max-width: 30ch; line-height: 1.7;
}
.hero__wordmark {
  width: var(--hero-word-w, 720px); height: auto;
  max-width: 94vw; max-height: var(--hero-word-maxh, 42svh);
  margin-block: clamp(-20px, -2vh, -8px);
}
.hero__ctas { margin-top: var(--hero-cta-gap, 0px); }
.hero__descriptor {
  position: absolute; z-index: 3;
  top: 27px;
  left: clamp(20px, 5.5vw, 64px);
  text-align: left;
}
.hero__descriptor p {
  margin: 0; font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.7;
  color: var(--fg-soft); white-space: nowrap;
}
.hero__descriptor p + p { margin-top: 14px; color: var(--fg-quiet); letter-spacing: 0.24em; }
.hero__descriptor .desc-br-mobile { display: none; } /* desktop keeps 2 lines */
@media (max-width: 600px) {
  .hero__descriptor { position: static; margin: 0 auto clamp(20px,5vh,40px); text-align: center; width: auto; }
}
.hero__ph-word {
  width: min(86vw, 900px); aspect-ratio: 1693 / 929;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 3vh, 34px); translate: -50% 0; z-index: 3;
  display: grid; justify-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-quiet);
}
.hero__scroll .line { width: 1px; height: clamp(28px, 5vh, 46px); background: linear-gradient(var(--fg-quiet), transparent); animation: scrollpulse 2.4s var(--ease-in-out-cinema) infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--border-soft);
  padding-block: clamp(20px, 3vw, 40px);
  background: var(--noir-profond);
  overflow: hidden;
  display: grid; gap: clamp(8px, 1.2vw, 18px);
}
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__row.r1 { animation: marq-l 46s linear infinite; }
.marquee__row.r2 { animation: marq-r 56s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__item {
  font-size: clamp(30px, 6vw, 88px); font-weight: var(--fw-bold);
  letter-spacing: -0.01em; text-transform: uppercase; padding-inline: 0.35em;
  white-space: nowrap; line-height: 1;
}
.marquee__row.r2 .marquee__item { color: transparent; -webkit-text-stroke: 1px var(--gris-signal); }
.marquee__dot { color: var(--gris-voix); padding-inline: 0.18em; align-self: center; }
.marquee__row.r2 .marquee__dot { -webkit-text-stroke: 0; color: var(--gris-signal); }
@keyframes marq-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* Tweak: single-row marquee */
.marquee.is-single .marquee__row.r2 { display: none; }
/* Tweak: reduced motion */
[data-motion="off"] .marquee__row,
[data-motion="off"] .hero__scroll .line { animation: none; }
[data-motion="off"] { scroll-behavior: auto; }

/* ============================================================
   STATEMENT MOMENTS
   ============================================================ */
.statement {
  min-height: 78svh; display: grid; place-items: center; text-align: center;
  padding: clamp(80px,12vw,160px) clamp(20px,6vw,80px);
  background: var(--noir-absolu);
}
.statement__inner { max-width: min(92vw, 960px); text-wrap: balance; }
.statement .lead-eyebrow {
  font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--fg-quiet); margin-bottom: clamp(28px, 4vw, 52px);
  display: block;
}
.statement__editorial {
  font-family: var(--font-serif); font-style: italic; font-weight: var(--fw-regular);
  font-size: clamp(40px, 7vw, 104px); line-height: 1.04; letter-spacing: -0.01em;
  text-transform: none; margin: 0;
}
.statement__editorial em { font-style: italic; color: var(--fg-quiet); }

/* Closing question */
.close-q { background: var(--noir-absolu); text-align: center; }
.close-q__inner { display: flex; flex-direction: column; align-items: center; }
.close-q__kicker {
  font-family: var(--font-sans); font-stretch: var(--mona-width);
  font-size: clamp(22px, 2.6vw, 34px); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1;
  max-width: 18ch; margin: 0 auto clamp(28px,4vw,44px);
}
.close-q__q {
  font-family: var(--font-serif); font-style: italic; font-weight: var(--fw-regular);
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 auto clamp(40px,5vw,60px);
}
.close-q__q b { font-style: italic; font-weight: var(--fw-regular); }

/* ============================================================
   PLACEHOLDER FRAMES (camera-frame motif)
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #161616 0%, #0c0c0c 100%);
  border: 1px solid var(--border-soft);
  display: grid; place-items: center; isolation: isolate;
}
.ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 9px);
}
.ph__tag {
  position: relative; z-index: 2; text-align: center;
  display: grid; gap: 10px; justify-items: center; padding: 24px;
}
.ph__tag .ico { width: 26px; height: 26px; color: var(--gris-voix); opacity: .7; }
.ph__tag .label {
  font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gris-voix); line-height: 1.5; max-width: 22ch;
}
.ph__tag .label b { color: var(--gris-texte); font-weight: var(--fw-bold); display: block; }
/* corner ticks */
.ph__corner { position: absolute; width: 16px; height: 16px; z-index: 2; border-color: rgba(255,255,255,0.28); border-style: solid; }
.ph__corner.tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.ph__corner.tr { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.ph__corner.bl { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.ph__corner.br { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }

/* ============================================================
   SMM CLIENT STORY — horizontal scroll
   ============================================================ */
.hscroll { position: relative; background: var(--noir-profond); }
.hscroll__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hscroll__track { display: flex; height: 100%; will-change: transform; }

.chapter {
  position: relative; height: 100%; flex-shrink: 0;
  display: grid; align-items: center;
  padding: clamp(96px, 11vw, 150px) clamp(40px, 7vw, 120px) clamp(64px, 7vw, 100px);
}

/* Intro chapter */
.chapter--intro { width: 92vw; }
.chapter--intro .ci {
  max-width: 30ch; display: grid; gap: clamp(20px, 3vw, 34px);
}
.chapter--intro h2 {
  font-size: clamp(40px, 5.6vw, 92px); line-height: 0.98;
}
.chapter--intro h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.chapter--intro p { color: var(--fg-muted); font-size: clamp(15px, 1.4vw, 19px); max-width: 38ch; }
.chapter__hint { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-quiet); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.chapter__hint .ico { width: 18px; height: 18px; }

/* Client chapter — two-column: portrait frame + dossier */
.chapter--client { width: min(96vw, 1280px); }
.chapter--client .cc {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 4vw, 72px);
  align-items: center; width: 100%; height: min(74vh, 680px);
}
.chapter--client .cc__media { height: 100%; border-radius: var(--radius-lg); }
.chapter--client .cc__body { display: grid; align-content: center; gap: clamp(16px, 1.8vw, 26px); }
.chapter__index {
  font-size: clamp(64px, 8vw, 132px); font-weight: var(--fw-black);
  line-height: 0.8; letter-spacing: -0.03em; color: transparent;
  -webkit-text-stroke: 1px var(--gris-signal);
}
.chapter__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 10px; font-weight: var(--fw-semibold); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-soft);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 7px 14px;
}
.chapter--client h3 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1; }
.chapter__role { font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-quiet); }
.chapter--client p { color: var(--fg-muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 44ch; line-height: 1.7; }
.chapter__quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; color: var(--fg); max-width: 24ch; }

/* Join chapter */
.chapter--join { width: 92vw; }
.chapter--join .cj {
  position: relative; width: 100%; height: min(74vh, 680px);
  border-radius: var(--radius-xl); display: grid; place-items: center; text-align: center;
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(20,168,212,calc(0.16 * var(--accent-on))) 0%, rgba(20,168,212,0) 60%),
    linear-gradient(160deg, #141414 0%, #0a0a0a 100%);
  box-shadow: 0 0 0 1px rgba(20,168,212,calc(0.18 * var(--accent-on))), 0 0 80px rgba(20,168,212,calc(0.22 * var(--accent-on)));
}
.chapter--join .cj__inner { display: grid; gap: clamp(22px, 3vw, 38px); justify-items: center; }
.chapter--join .cj__num { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-text); font-weight: var(--fw-semibold); }
.chapter--join h2 { font-size: clamp(38px, 5.4vw, 90px); line-height: 0.98; max-width: 16ch; }
.chapter--join p { color: var(--fg-muted); max-width: 40ch; font-size: clamp(15px,1.4vw,18px); }
/* Join CTA: a hidden French copy reserves the button's width so the card keeps the same
   size in English (the French label is longer). Only kicks in on mobile; hidden elsewhere. */
.cta-fixed__ghost { display: none; }

/* horizontal progress + hint bar */
.hscroll__bar {
  position: absolute; left: clamp(40px,7vw,120px); right: clamp(40px,7vw,120px); bottom: clamp(30px, 4vw, 54px);
  z-index: 6; display: flex; align-items: center; gap: 18px;
}
.hscroll__bar .count { font-size: 11px; letter-spacing: 0.22em; color: var(--fg-quiet); font-weight: var(--fw-semibold); white-space: nowrap; }
.hscroll__bar .rail { flex: 1; height: 1px; background: var(--gris-signal); position: relative; }
.hscroll__bar .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blanc-pur); transition: width 80ms linear; }
.section-tag {
  position: absolute; top: clamp(28px, 4vw, 52px); left: clamp(40px,7vw,120px); z-index: 6;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-quiet);
  display: flex; align-items: center; gap: 12px; font-weight: var(--fw-semibold);
}
.section-tag .ico { width: 16px; height: 16px; }

@media (max-width: 760px) {
  /* Side scroll: swipe horizontally between chapters (carousel). Card sizes unchanged. */
  .hscroll { height: auto !important; }
  .hscroll__pin { position: static; height: auto; overflow: visible; }
  .hscroll__track {
    height: auto; width: auto;
    transform: none !important; will-change: auto;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: none;          /* no snapping — free horizontal scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    align-items: stretch;
  }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .chapter { height: auto; padding-block: clamp(14px, 3vh, 26px); }
  /* Trailing room on the right of the last card (carries the section bg) — no snap. */
  .chapter--join { margin-right: 14vw; }
  /* Reserve the French CTA width so the card is identical in FR/EN (stack visible label
     over the hidden French ghost; the ghost sizes the button). */
  .chapter--join .cta-fixed { display: grid; }
  .chapter--join .cta-fixed__on,
  .chapter--join .cta-fixed__ghost { grid-area: 1 / 1; white-space: nowrap; text-align: center; }
  .chapter--join .cta-fixed__ghost { display: block; visibility: hidden; }
  .hscroll__bar { display: none; }
  /* "CHAPITRE" matches "PROJETS"/"STRATÉGIE" below, +5px on mobile — overrides inline 90px */
  .chapter--intro h2 em { font-size: calc(clamp(38px, 5vw, 68px) * 1.15 + 5px) !important; }
  /* Intro: centre the text box within its full-width panel (text stays left-aligned) */
  /* Intro fits the first screen; its text box is centred (text keeps its left alignment) */
  .chapter--intro { width: 92vw !important; }
  .chapter--intro .ci { margin-inline: auto; }

  /* Client card scaled down so image + text fit one screen (no vertical scroll).
     Proportion image:text kept; overall sizing reduced. */
  .chapter--client .cc { grid-template-columns: 1fr; height: auto; gap: clamp(10px, 2vh, 16px); }
  .chapter--client .cc__media { height: 32vh; }
  .chapter--client .cc__body { gap: clamp(6px, 1.4vh, 12px); }
  .chapter__meta { gap: 7px; }
  .chip { font-size: 10px; padding: 5px 10px; letter-spacing: 0.1em; }
  .chapter__role { font-size: 10px; }
  .chapter--client h3 { font-size: clamp(22px, 6.2vw, 32px); }
  .chapter--client p { font-size: clamp(13px, 3.5vw, 16px); line-height: 1.55; }
  .chapter__quote { font-size: clamp(15px, 3.9vw, 21px); }
  .cc__media, .cc__body { transform: none !important; }
}

/* ============================================================
   OTHER PROJECTS — editorial grid
   ============================================================ */
.work__head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.work__head h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.0; }
.work__head .lead-eyebrow { display: block; margin: 0 0 20px; }
.work__head .sub { color: var(--fg-muted); max-width: 44ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; margin: 22px 0 0; }

.grid-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); grid-auto-rows: clamp(58px, 6.6vw, 92px); }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: default; isolation: isolate;
}
.tile .ph { position: absolute; inset: 0; }
.tile__media { position: absolute; inset: 0; transition: transform var(--dur-slow) var(--ease-out-cinema); }
.tile:hover .tile__media { transform: scale(1.045); }
.tile__veil { position: absolute; inset: 0; background: var(--grad-voile); opacity: 0; transition: opacity var(--dur-slow) var(--ease-out-cinema); z-index: 3; }
.tile:hover { box-shadow: var(--glow-white-strong); }
.tile:hover .tile__veil { opacity: 1; }
.tile__name {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 4;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur-slow) var(--ease-out-cinema), transform var(--dur-slow) var(--ease-out-cinema);
}
.tile:hover .tile__name { opacity: 1; transform: translateY(0); }
.tile__name h4 { font-size: clamp(18px, 1.5vw, 24px); line-height: 1; }
.tile__name .cat { font-size: 10px; letter-spacing: 0.2em; color: var(--fg-soft); text-transform: uppercase; font-weight: var(--fw-semibold); }
.tile__idx {
  position: absolute; top: 18px; left: 20px; z-index: 4;
  font-size: 11px; letter-spacing: 0.16em; color: var(--fg-soft); font-weight: var(--fw-semibold);
  opacity: .8;
}
/* éditorial — composed grid: vertical-leaning, a few horizontal, one in-between */
.tile.s-a { grid-column: 1 / span 5;  grid-row: 1 / span 7; }   /* portrait */
.tile.s-b { grid-column: 6 / span 7;  grid-row: 1 / span 4; }   /* landscape */
.tile.s-c { grid-column: 6 / span 7;  grid-row: 5 / span 3; }   /* wide */
.tile.s-d { grid-column: 1 / span 4;  grid-row: 8 / span 6; }   /* portrait */
.tile.s-e { grid-column: 5 / span 4;  grid-row: 8 / span 6; }   /* portrait */
.tile.s-f { grid-column: 9 / span 4;  grid-row: 8 / span 6; }   /* portrait */
.tile.s-g { grid-column: 1 / span 7;  grid-row: 14 / span 4; }  /* landscape */
.tile.s-h { grid-column: 8 / span 5;  grid-row: 14 / span 4; }  /* in-between */
@media (max-width: 820px) {
  /* Verticals at half-width (two side by side = one horizontal's width), keeping their
     portrait proportions; horizontals full-width keeping their landscape proportions.
     Ordered VV → H → VV → H, then leftover horizontals stack. */
  .grid-work {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    align-items: start;
  }
  .tile { grid-column: span 1 !important; grid-row: auto !important; }
  /* Order: VV (s-a,s-d) → H (s-b) → H (s-c) → VV (s-e,s-f) → H (s-g) → H (s-h) */
  /* Verticals — portrait, half width */
  .tile.s-a { aspect-ratio: 2 / 3; order: 1; }
  .tile.s-d { aspect-ratio: 2 / 3; order: 2; }
  .tile.s-e { aspect-ratio: 2 / 3; order: 5; }
  .tile.s-f { aspect-ratio: 2 / 3; order: 6; }
  /* Horizontals — full width, all matching Giga Golf's (s-b) 7/4 proportion (cover-cropped) */
  .tile.s-b { aspect-ratio: 7 / 4; grid-column: 1 / -1 !important; order: 3; }
  .tile.s-c { aspect-ratio: 7 / 4; grid-column: 1 / -1 !important; order: 4; }
  .tile.s-g { aspect-ratio: 7 / 4; grid-column: 1 / -1 !important; order: 7; }
  .tile.s-h { aspect-ratio: 7 / 4; grid-column: 1 / -1 !important; order: 8; }
  /* TSL Gym: nudge crop toward the top so his head isn't cut off */
  .tile.s-h .tile__media { background-position: center 37.5% !important; }
}

/* Cinematic staggered reveal for the portfolio tiles —
   gentle opacity + lift, cascading one after another. Uses the same reliable
   mechanism as the global .reveal (no clip-path, which could leave tiles blank). */
.grid-work .tile.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease-out-cinema),
              transform 1100ms var(--ease-out-cinema);
  will-change: opacity, transform;
}
.grid-work .tile.reveal.in {
  opacity: 1;
  transform: none;
}
.grid-work .tile.reveal:nth-of-type(1) { transition-delay: 0ms; }
.grid-work .tile.reveal:nth-of-type(2) { transition-delay: 95ms; }
.grid-work .tile.reveal:nth-of-type(3) { transition-delay: 190ms; }
.grid-work .tile.reveal:nth-of-type(4) { transition-delay: 285ms; }
.grid-work .tile.reveal:nth-of-type(5) { transition-delay: 380ms; }
.grid-work .tile.reveal:nth-of-type(6) { transition-delay: 475ms; }
.grid-work .tile.reveal:nth-of-type(7) { transition-delay: 570ms; }
.grid-work .tile.reveal:nth-of-type(8) { transition-delay: 665ms; }
@media (prefers-reduced-motion: reduce) {
  .grid-work .tile.reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   SERVICES PREVIEW
   ============================================================ */
.services { background: var(--noir-absolu); }
.services__head { max-width: 56ch; margin-bottom: clamp(48px, 6vw, 84px); display: grid; gap: 22px; }
.services__head h2 { font-size: clamp(34px, 4.4vw, 72px); line-height: 0.98; }
.services__head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; }
.services__head p { color: var(--fg-muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 50ch; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 24px); }
.tier {
  position: relative; background: var(--gris-scene);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: clamp(28px, 2.4vw, 40px); display: grid; gap: 18px; align-content: start;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-slow) var(--ease-out-cinema), box-shadow var(--dur-slow) var(--ease-out-cinema), border-color var(--dur-slow) var(--ease-out-cinema);
  min-height: 320px;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-modal), var(--glow-white-strong); border-color: rgba(255,255,255,0.16); }
.tier__name { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); line-height: 1; }
.tier__price { font-size: clamp(40px, 4vw, 60px); font-weight: var(--fw-black); letter-spacing: -0.03em; line-height: 0.9; }
.tier__price small { font-size: 14px; font-weight: var(--fw-medium); color: var(--fg-quiet); letter-spacing: 0; margin-left: 4px; }
.tier__from { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-quiet); }
.tier__desc { color: var(--fg-muted); font-size: 16px; line-height: 1.6; }
.tier__line { height: 1px; background: var(--border-soft); margin-block: 2px; }
.tier--featured { border-color: transparent; box-shadow: var(--shadow-card), 0 0 0 1px rgba(20,168,212,calc(0.22*var(--accent-on))), 0 0 56px rgba(20,168,212,calc(0.28*var(--accent-on))); }
.tier--featured:hover { box-shadow: var(--shadow-modal), 0 0 0 1px rgba(20,168,212,calc(0.32*var(--accent-on))), 0 0 72px rgba(20,168,212,calc(0.4*var(--accent-on))); }
.tier__badge {
  position: absolute; top: -11px; left: clamp(28px,2.4vw,40px);
  font-size: 9px; font-weight: var(--fw-bold); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--radius-full);
  background: var(--accent); color: #fff; box-shadow: var(--glow-teal-soft);
  white-space: nowrap;
}

.season {
  margin-top: clamp(16px, 1.6vw, 24px);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 32px) clamp(26px, 2.6vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.season__l { display: grid; gap: 8px; }
.season__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-quiet); }
.season__tag .ico { width: 16px; height: 16px; }
.season h4 { font-size: clamp(20px, 2vw, 28px); }
.season p { color: var(--fg-muted); margin: 0; font-size: 15px; max-width: 52ch; }
.season__price { font-size: clamp(22px,2vw,30px); font-weight: var(--fw-bold); white-space: nowrap; }
.season__price small { font-size: 12px; color: var(--fg-quiet); font-weight: var(--fw-medium); letter-spacing: .04em; }

.services__cta { margin-top: clamp(44px, 5vw, 72px); display: flex; justify-content: center; }

@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
/* Mobile: compact price boxes — smaller boxes with proportionally smaller text */
@media (max-width: 600px) {
  .tiers { gap: 12px; }
  .tier { padding: 18px 20px; min-height: 0; gap: 10px; }
  .tier__name { font-size: 14px; }
  .tier__from { font-size: 10px; }
  .tier__price { font-size: 30px; }
  .tier__price small { font-size: 11px; }
  .tier__desc { font-size: 13px; line-height: 1.5; }
  .tier__badge { font-size: 8px; padding: 5px 10px; top: -9px; left: 20px; }
  .season { padding: 18px 20px; gap: 14px; }
  .season h4 { font-size: 17px; }
  .season p { font-size: 12.5px; }
  .season__price { font-size: 20px; }
  .season__price small { font-size: 11px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--noir-absolu); border-top: 1px solid var(--border-soft); padding-top: clamp(72px, 9vw, 130px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(40px, 5vw, 90px); align-items: start; }
.footer__brand { display: grid; gap: 26px; align-content: start; }
.footer__mark {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  border: 1px solid var(--border); display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.05), rgba(255,255,255,0));
}
.footer__mark svg { width: 30px; height: 30px; color: var(--fg); }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; max-width: 18ch; color: var(--fg); }
.footer__logo { width: clamp(76px, 8vw, 104px); height: auto; }
.footer__col h5 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-quiet); margin: 0 0 22px; font-weight: var(--fw-semibold); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer__col a, .footer__col li > span { white-space: nowrap; }
.footer__col a { font-size: 15px; color: var(--fg-soft); transition: color var(--dur-base) var(--ease-out-cinema); display: inline-flex; align-items: center; gap: 10px; }
.footer__col a:hover { color: var(--fg); }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 46px; height: 46px; border-radius: var(--radius-full); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--fg-soft);
  transition: border-color var(--dur-base) var(--ease-out-cinema), color var(--dur-base) var(--ease-out-cinema), box-shadow var(--dur-base) var(--ease-out-cinema), transform var(--dur-base) var(--ease-out-cinema);
}
.footer__socials a:hover { color: var(--fg); border-color: rgba(255,255,255,0.4); box-shadow: var(--glow-white-soft); transform: translateY(-3px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: clamp(56px, 7vw, 100px); padding-block: 30px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__bottom span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-quiet); }
@media (max-width: 760px) {
  /* Compact footer — reads as a footer, not a full section */
  .footer { padding-top: clamp(34px, 8vw, 52px); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer__brand { grid-column: 1 / -1; gap: 12px; }          /* brand full-width on top */
  .footer__logo { width: 50px; }
  .footer__brand p { font-size: 12px; line-height: 1.5; }
  .footer__col h5 { margin-bottom: 11px; }
  .footer__col ul { gap: 9px; }
  .footer__col a, .footer__col li > span { font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
  /* Social icons: their own full-width centred row at the bottom, all 4 in one line.
     display:contents lets the socials escape the Contact column into the grid. */
  .footer__col--contact { display: contents; }
  .footer__socials { grid-column: 1 / -1; justify-content: center; flex-wrap: nowrap; gap: 14px; margin-top: 18px !important; }
  .footer__socials a { width: 36px; height: 36px; }
  .footer__socials svg { width: 16px; height: 16px; }
  .footer__bottom { margin-top: 22px; padding-block: 16px; gap: 6px; }
  .footer__bottom span { font-size: 10px; letter-spacing: 0.12em; }
}

/* ============================================================
   REVEAL ANIMATION (aperture: opacity + scale + lift)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px) scale(0.99); transition: opacity var(--dur-cinema) var(--ease-out-cinema), transform var(--dur-cinema) var(--ease-out-cinema); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__row, .hero__scroll .line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE / MOBILE — premium phone & tablet experience
   Breakpoints: ≤900 tablet&below · ≤600 phone · ≤400 small
   Touch detection: (hover: none) and (pointer: coarse)
   ============================================================ */

/* ---------- Minimal overlay menu (markup added in each page) ---------- */
.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-left: 4px;
  border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--fg);
  transition: transform var(--dur-base) var(--ease-out-cinema), opacity var(--dur-base);
}
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(28px, 6vh, 48px);
  background: rgba(8,8,8,0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-out-cinema), visibility var(--dur-slow);
}
body.menu-open .nav-overlay { opacity: 1; visibility: visible; }
.nav-overlay__links { display: grid; gap: clamp(18px, 3.4vh, 30px); text-align: center; }
.nav-overlay__links a {
  font-family: var(--font-sans); font-stretch: var(--mona-width);
  font-size: clamp(26px, 7vw, 38px); font-weight: var(--fw-bold);
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--fg-soft);
  opacity: 0; transform: translateY(14px);
  transition: color var(--dur-base) var(--ease-out-cinema);
}
body.menu-open .nav-overlay__links a,
body.menu-open .nav-overlay__lang {
  opacity: 1; transform: none;
  transition: opacity var(--dur-cinema) var(--ease-out-cinema),
              transform var(--dur-cinema) var(--ease-out-cinema),
              color var(--dur-base) var(--ease-out-cinema);
}
body.menu-open .nav-overlay__links a:nth-child(1) { transition-delay: 60ms; }
body.menu-open .nav-overlay__links a:nth-child(2) { transition-delay: 120ms; }
body.menu-open .nav-overlay__links a:nth-child(3) { transition-delay: 180ms; }
body.menu-open .nav-overlay__lang { transition-delay: 250ms; }
.nav-overlay__links a[aria-current="page"] { color: var(--fg); }
/* FR/EN toggle inside the menu */
.nav-overlay__lang { opacity: 0; transform: translateY(14px); }
.nav-overlay__lang button { padding: 10px 18px; font-size: 12px; }

/* ---------- Touch devices: tap a tile to reveal its label ---------- */
@media (hover: none) {
  /* hidden until tapped */
  .grid-work .tile__veil { opacity: 0; }
  .grid-work .tile__name { opacity: 0; transform: none; }
  /* tapped open: darken + show label */
  .grid-work .tile.is-open .tile__veil { opacity: 1; }
  .grid-work .tile.is-open .tile__name { opacity: 1; }
  /* layout: name centred, category bottom-right, both smaller */
  .grid-work .tile__name {
    position: absolute; inset: 0; display: block; padding: 0;
  }
  .grid-work .tile__name h4 {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 86%; text-align: center;
    font-size: 14px; line-height: 1.18;
  }
  .grid-work .tile__name .cat {
    position: absolute; right: 11px; bottom: 9px;
    font-size: 8px; letter-spacing: 0.16em;
  }
}


/* ---------- Phone ---------- */
@media (max-width: 600px) {
  /* Tighter vertical rhythm */
  .pad-y { padding-block: clamp(44px, 11vw, 72px); }
  /* Offer section: more breathing room above (from the TSL Gym photo) and below (toward
     "Chaque business…"). Top runs a touch larger than bottom so both gaps stay balanced,
     since the neighbouring sections already carry differing padding. */
  .services.pad-y { padding-top: clamp(84px, 22vw, 124px); padding-bottom: clamp(48px, 12vw, 76px); }

  /* Nav → overlay menu (FR/EN now lives inside the menu) */
  .nav__links { display: none; }
  .nav > .lang { display: none; }
  .nav__toggle { display: inline-flex; }
  /* Brand logo stays hidden at the top and fades in on scroll — like desktop
     (no mobile override; the base .nav.is-stuck rule handles it) */

  /* Hero — breathing room on the sides + proportional spacing (mirrors desktop feel) */
  .hero {
    padding: clamp(88px, 15vh, 116px) clamp(30px, 9vw, 48px) clamp(52px, 9vh, 76px);
  }
  /* wordmark → CTA gap == desktop proportion: 98px/750px ≈ 13% of the 76vw wordmark ≈ 10vw */
  .hero__inner { gap: 10vw; transform: none; }
  .hero__ctas { margin-top: 0; }
  .hero__wordmark { max-width: 76vw; max-height: 30svh; }         /* let the still breathe */
  /* Subtitle pinned top-left, like desktop */
  .hero__descriptor {
    position: absolute; top: 24px; left: clamp(20px, 5.5vw, 28px); right: auto;
    margin: 0; text-align: left; max-width: 58vw;
  }
  .hero__descriptor p { white-space: normal; font-size: 9px; letter-spacing: 0.14em; }
  .hero__descriptor .desc-br-mobile { display: inline; } /* third line on mobile */
  .hero__hud { display: none; } /* hide REC / timecode clutter */

  /* Closing question — override inline nowrap + 30px */
  .close-q__q {
    white-space: normal !important;
    font-size: clamp(24px, 7vw, 34px) !important;
    max-width: 22ch !important;
  }

  /* Statement breathing room */
  .statement { min-height: 58svh; }
  /* Closing "Chaque business…" stands alone — fills the screen so neither the offer
     section above nor the footer below peeks in. */
  .statement.close-q { min-height: 85dvh; }
}

/* ---------- Small phone ---------- */
@media (max-width: 400px) {
  .grid-work { grid-template-columns: 1fr 1fr; } /* keep 2 cols so verticals stay paired */
}

/* Footer: never let the long email force horizontal overflow on small phones */
@media (max-width: 600px) {
  .footer__col a, .footer__col li > span { white-space: normal; overflow-wrap: anywhere; }
}

/* Landing-page grey display words "Projets" & "Stratégie" — +5px on mobile,
   matching "Chapitre". Scoped to the landing page (.work__head / #services). */
@media (max-width: 760px) {
  .work__head h2 em,
  #services .services__head h2 em {
    font-size: calc(clamp(38px, 5vw, 68px) * 1.15 + 5px) !important;
  }
}
