/* =========================================================
   HER&K Studio — feuille de style
   Direction : « alpine à l'heure bleue » (inspirée de Mercury)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --color-onyx-canvas: #171721;
  --color-graphite-card: #1e1e2a;
  --color-obsidian-button: #272735;
  --color-slate-border: #70707d;
  --color-mist-border: #e2e3ed;
  --color-ash-text: #c3c3cc;
  --color-ivory-text: #ededf3;
  --color-cobalt: #5266eb;
  --color-pure-white: #ffffff;

  --onyx: var(--color-onyx-canvas);
  --graphite: var(--color-graphite-card);
  --obsidian: var(--color-obsidian-button);
  --slate: var(--color-slate-border);
  --mist: var(--color-mist-border);
  --ash: var(--color-ash-text);
  --ivory: var(--color-ivory-text);
  --cobalt: var(--color-cobalt);
  --white: var(--color-pure-white);
  --line: rgba(112, 112, 125, .32);
  --line-soft: rgba(226, 227, 237, .14);

  /* Typographie */
  --font-display: 'Archivo', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --stretch: 116%;

  /* Mise en page */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --section-y: clamp(72px, 11vw, 144px);
  --nav-h: 64px;
  --nav-top: 16px;

  /* Rayons */
  --r-card: 12px;
  --r-btn: 32px;
  --r-pill: 40px;

  /* Courbes */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--onyx);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, figure, blockquote, ul, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
::selection { background: var(--ivory); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--ivory); color: var(--onyx);
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Typographie ---------- */
.h-xl, .h-lg, .h-md, .hero__title, .statement, .contact__title,
.stat__num, .showreel__word, .work-card__title, .work-cta__title, .svc__title,
.marquee__group, .step__num, .quote blockquote, .footer__mail, .footer__word,
.menu__link > span, .loader__count, .logo__word, .lightbox__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch);
  font-weight: 480;
  letter-spacing: .005em;
}
.h-xl { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; }
.h-lg { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.08; text-wrap: balance; }
.h-md { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: .015em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; }
.muted { color: var(--ash); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; line-height: 1; font-weight: 480;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ash);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

/* Ligne masquée générée par SplitText */
.line { will-change: transform; }

/* ---------- 4. Mise en page ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section-y); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .eyebrow { margin-bottom: 24px; }
.section-head > .muted { max-width: 440px; justify-self: end; }

/* ---------- 5. Boutons & liens ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: var(--r-btn);
  font-size: 16px; line-height: 1; font-weight: 400; white-space: nowrap;
  transition: color .45s var(--ease-out), background-color .45s, border-color .45s;
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .6s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* Primaire : la seule touche de cobalt */
.btn--primary { background: var(--cobalt); color: var(--white); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:disabled { opacity: .6; cursor: progress; }

/* Contour ivoire : remplissage circulaire depuis le point d'entrée du curseur */
.btn--ghost { color: var(--ivory); border: 1px solid var(--ivory); border-radius: var(--r-pill); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ivory); border-radius: inherit;
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .7s var(--ease-out);
}
.btn--ghost:hover { color: var(--onyx); }
.btn--ghost:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }

/* Texte qui « roule » au survol */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.3; }
.roll__in { position: relative; display: block; transition: transform .65s var(--ease-out); }
.roll__b { position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn:hover .roll__in,
.work-card:hover .roll__in,
.work-card:focus-within .roll__in { transform: translateY(-100%); }

.link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.link:hover svg { transform: translate(2px, -2px); }

.round-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(226, 227, 237, .35); color: var(--ivory);
  transition: color .4s, border-color .4s;
}
.round-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--ivory); transform: scale(0); transition: transform .5s var(--ease-out);
}
.round-btn:hover { color: var(--onyx); border-color: var(--ivory); }
.round-btn:hover::before { transform: scale(1); }
.round-btn svg { width: 20px; height: 20px; }

/* Pastilles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .01em; color: var(--ash);
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 7px 16px 7px 14px; border-radius: var(--r-pill); line-height: 1.3;
  background: rgba(39, 39, 53, .45); border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; color: var(--ivory);
}
.tag--sm { min-height: 28px; padding: 5px 12px 5px 10px; font-size: 12px; }
.tag__dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); }
.tag__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

/* Carte graphite + halo qui suit le curseur */
.card { background: var(--graphite); border-radius: var(--r-card); padding: 32px; }
.spot { position: relative; isolation: isolate; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 237, 243, .075), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.spot:hover::before { opacity: 1; }

/* ---------- 6. Loader (amorce de film + ouverture à l'iris) ---------- */
.loader {
  --iris: -4px;
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--onyx);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 2px));
  mask-image: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 2px));
}
.no-js .loader, .is-static .loader { display: none; }
.loader__line { position: absolute; background: rgba(237, 237, 243, .14); }
.loader__line--h { left: 0; right: 0; top: 50%; height: 1px; }
.loader__line--v { top: 0; bottom: 0; left: 50%; width: 1px; }
.loader__leader { position: relative; width: min(46vmin, 300px); aspect-ratio: 1; }
.loader__svg { width: 100%; height: 100%; overflow: visible; }
.loader__ring { fill: none; stroke: rgba(237, 237, 243, .4); stroke-width: 1; }
.loader__ring--inner { stroke: rgba(237, 237, 243, .18); }
.loader__sweep {
  fill: none; stroke: rgba(237, 237, 243, .08); stroke-width: 110;
  transform: rotate(-90deg); transform-box: fill-box; transform-origin: center;
}
.loader__count {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: calc(min(46vmin, 300px) * .4); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--ivory);
}
.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 480; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ash); font-variant-numeric: tabular-nums;
}

/* ---------- 7. Curseur, grain, progression ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring, .cursor__dot { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  display: grid; place-items: center;
  border: 1px solid rgba(237, 237, 243, .45);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out),
              background-color .4s, border-color .4s, opacity .3s, scale .3s var(--ease-out);
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ivory); transition: opacity .3s; }
.cursor__label {
  font-size: 13px; font-weight: 480; letter-spacing: .01em; color: var(--onyx); white-space: nowrap;
  opacity: 0; transform: scale(.5); transition: opacity .3s, transform .5s var(--ease-out);
}
.cursor.is-link .cursor__ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(237, 237, 243, .08); border-color: rgba(237, 237, 243, .75);
}
.cursor.is-media .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--ivory); border-color: var(--ivory);
}
.cursor.is-media .cursor__label { opacity: 1; transform: none; }
.cursor.is-media .cursor__dot, .cursor.is-text .cursor__dot, .cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-out .cursor__ring, .cursor.is-out .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .82; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

.grain {
  position: fixed; inset: -10%; z-index: 350; pointer-events: none;
  opacity: .055; background-size: 180px;
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-4%, 3%, 0); }
  40%  { transform: translate3d(3%, -5%, 0); }
  60%  { transform: translate3d(-6%, -2%, 0); }
  80%  { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px;
  background: var(--ivory); opacity: .75;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* ---------- 8. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: var(--nav-top) var(--gutter) 0;
  pointer-events: none;
  transition: transform .7s var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - 8px)); }
.nav__inner {
  pointer-events: auto; position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--nav-h); max-width: 1600px; margin: 0 auto; padding: 0 10px 0 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  background: rgba(30, 30, 42, 0);
  transition: background-color .6s, border-color .6s, max-width .9s var(--ease-out),
              -webkit-backdrop-filter .6s, backdrop-filter .6s;
}
.nav.is-scrolled .nav__inner {
  max-width: 1120px;
  background: rgba(30, 30, 42, .62);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
.menu-open .nav .nav__inner { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 32px; height: 20px; flex: none; }
.logo__ring { transform-box: fill-box; transform-origin: center; transition: transform 1.2s var(--ease-out); }
.logo:hover .logo__ring { transform: rotate(180deg); }
.logo__word { font-size: 19px; font-weight: 530; letter-spacing: .02em; line-height: 1; }
.logo__sub { font-size: 11px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); padding-top: 2px; }

.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 15px; line-height: 1; color: var(--ash);
  transition: color .3s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ivory); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--ivory);
}
.nav__pill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  border-radius: var(--r-pill); background: var(--obsidian);
  opacity: 0; pointer-events: none;
}
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--obsidian); }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 2px; background: var(--ivory);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-top) + var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--onyx); overflow-y: auto;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__link { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__link > span {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-size: clamp(34px, 9vw, 56px); line-height: 1.1;
}
.menu__link em { font-style: normal; font-family: var(--font-body); font-stretch: 100%; font-size: 13px; color: var(--ash); }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.menu__mail { color: var(--ash); }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh);
}
.hero__media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: var(--onyx);
  clip-path: inset(0% 0% 0% 0% round 0px);
}
.hero__parallax { position: absolute; inset: 0; will-change: transform; }
.hero__video, .hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { filter: saturate(.8) brightness(.62) contrast(1.05); }
.hero__gl { opacity: 0; transition: opacity .8s; }
.hero.gl-on .hero__gl { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23, 23, 33, .55) 0%, rgba(23, 23, 33, .08) 28%, rgba(23, 23, 33, .2) 62%, var(--onyx) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(23, 23, 33, .4) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 1120px;
  padding: calc(var(--nav-top) + var(--nav-h) + 48px) var(--gutter) 112px;
}
.hero__tag { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(42px, 6.6vw, 104px); line-height: 1.02; letter-spacing: 0;
  color: var(--white); text-wrap: balance;
}
.hero__title .line { padding-bottom: .04em; margin-bottom: -.04em; }
.hero__sub {
  max-width: 580px; margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; font-weight: 450; color: var(--ivory);
}
.hero__note { margin-top: 16px; font-size: 13px; color: var(--ash); }

/* Capture d'e-mail (pilule gauche + bouton cobalt) */
.capture { display: flex; width: 100%; max-width: 500px; height: 56px; margin-top: 40px; }
.capture__input {
  flex: 1; min-width: 0; height: 100%; padding: 0 22px;
  background: rgba(23, 23, 33, .35); color: var(--ivory);
  border: 1px solid rgba(237, 237, 243, .8); border-right: 0;
  border-radius: var(--r-btn) 0 0 var(--r-btn);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: inherit; font-size: 16px; outline: none;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.capture__input::placeholder { color: var(--ash); }
.capture__input:focus { background: rgba(23, 23, 33, .6); border-color: var(--white); }
.capture__input:focus-visible { box-shadow: inset 0 0 0 1px var(--white); }
.capture__btn { --h: 100%; border-radius: 0 var(--r-btn) var(--r-btn) 0; padding: 0 22px 0 24px; }

/* Viseur caméra */
.hud {
  position: absolute; z-index: 2; pointer-events: none;
  inset: calc(var(--nav-top) + var(--nav-h) + 24px) var(--gutter) 28px;
  font-size: 11px; line-height: 1; font-weight: 480; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(237, 237, 243, .72); font-variant-numeric: tabular-nums;
}
.hud__corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(237, 237, 243, .6); }
.hud__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud__label { position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hud__label--tl { top: 4px; left: 30px; }
.hud__label--tr { top: 4px; right: 30px; }
.hud__label--bl { bottom: 4px; left: 30px; }
.hud__label--br { bottom: 4px; right: 30px; }
.hud__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); animation: blink 1.2s infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .2; } }

.hero__toggle {
  position: absolute; z-index: 3; right: calc(var(--gutter) + 28px); bottom: 64px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(237, 237, 243, .35); color: var(--ivory);
  background: rgba(23, 23, 33, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s, background-color .3s;
}
.hero__toggle:hover { border-color: var(--ivory); background: rgba(39, 39, 53, .6); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .i-play, .hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }

.hero__scroll {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; width: max-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 480; letter-spacing: .16em; text-transform: uppercase; color: var(--ash);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(237, 237, 243, .18); }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--ivory);
  animation: scrollcue 2.2s var(--ease-io) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 10. Studio / manifeste ---------- */
.studio .eyebrow { margin-bottom: 32px; }
.statement { font-size: clamp(28px, 4vw, 58px); line-height: 1.14; max-width: 1180px; }
.pill-media {
  position: relative; display: inline-block; vertical-align: middle;
  width: 2.1em; height: .92em; margin: 0 .1em;
  border-radius: var(--r-pill); overflow: hidden; background: var(--graphite);
  transform: translateY(-.08em);
}
.pill-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio__row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  max-width: 560px; margin: clamp(48px, 7vw, 96px) 0 0 auto;
}
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(56px, 8vw, 112px);
}
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 240px; }
.stat__num { font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--ash); max-width: 24ch; }

/* ---------- 11. Showreel ---------- */
.showreel { position: relative; background: var(--onyx); }
.showreel__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.showreel__frame {
  position: absolute; inset: 0; background: #0d0d14;
  clip-path: inset(12% 6% 12% 6% round 12px);
}
.showreel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showreel__hit { position: absolute; inset: 0; z-index: 1; }
.showreel__words {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-columns: 1fr 38vw 1fr; align-items: center;
  mix-blend-mode: difference;
}
.showreel__word--l { grid-column: 1; justify-self: end; }
.showreel__word--r { grid-column: 3; justify-self: start; }
.showreel__word { font-size: clamp(56px, 9.6vw, 176px); line-height: 1; color: var(--ivory); will-change: transform; }
.showreel__ui {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  pointer-events: none;
}
.showreel__ui > * { pointer-events: auto; }
.showreel__meta {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 480; letter-spacing: .14em; text-transform: uppercase;
}
.showreel__meta span + span { color: var(--ash); }
.showreel__cta { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(23, 23, 33, .25); }

/* ---------- 12. Projets (défilement horizontal) ---------- */
.work { position: relative; }
.work__pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.work__track {
  --media-h: min(56vh, 600px);
  display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px);
  width: max-content; padding: 0 var(--gutter);
  will-change: transform;
}
.work__intro {
  flex: none; width: clamp(320px, 32vw, 460px); height: calc(var(--media-h) + 64px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding-right: clamp(16px, 3vw, 48px);
}
.work__intro .eyebrow { margin-bottom: 24px; }
.work__intro .h-xl { font-size: clamp(34px, 3.4vw, 58px); }
.work__intro .muted { max-width: 34ch; }
.work__hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font-size: 12px; font-weight: 480; letter-spacing: .14em; text-transform: uppercase;
}
.work__hint svg { width: 18px; height: 18px; animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.work-card { position: relative; flex: none; }
.work-card--landscape { --ar: 16 / 10; }
.work-card--portrait { --ar: 4 / 5; }
.work-card--vertical { --ar: 9 / 16; }
.work-card__media {
  position: relative; overflow: hidden;
  height: var(--media-h); aspect-ratio: var(--ar, 16 / 10);
  border-radius: var(--r-card); background: var(--graphite);
  transform: translateZ(0);
}
.work-card__parallax { position: absolute; inset: 0 -7%; will-change: transform; }
.work-card__parallax img, .work-card__parallax video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter .8s, opacity .6s;
}
.work-card__parallax img { filter: saturate(.72) brightness(.82); }
.work-card__parallax video { opacity: 0; }
.work-card.is-playing .work-card__parallax video { opacity: 1; }
.work-card:hover .work-card__parallax img,
.work-card:hover .work-card__parallax video { transform: scale(1.06); }
.work-card:hover .work-card__parallax img { filter: saturate(1) brightness(1); }
.work-card__num {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  border-radius: var(--r-pill); background: rgba(23, 23, 33, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 480; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.work-card__info {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 18px;
}
.work-card__title { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; letter-spacing: .015em; }
.work-card__tags { display: flex; gap: 6px; }
.work-card__tags li {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 12px; color: var(--ash); white-space: nowrap;
  transition: color .4s, border-color .4s;
}
.work-card:hover .work-card__tags li { color: var(--ivory); border-color: rgba(226, 227, 237, .45); }
.work-card__hit { position: absolute; inset: 0; z-index: 2; border-radius: var(--r-card); }
.work-card__hit:focus-visible { outline-offset: 6px; }

.work-cta {
  flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  width: clamp(280px, 26vw, 400px); height: var(--media-h); padding: 32px;
  border-radius: var(--r-card); background: var(--graphite);
}
.work-cta__title { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; }
.work-cta__arrow {
  align-self: flex-end; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ivory);
  transition: background-color .4s, color .4s, transform .7s var(--ease-out);
}
.work-cta__arrow svg { width: 24px; height: 24px; }
.work-cta:hover .work-cta__arrow { background: var(--ivory); color: var(--onyx); transform: rotate(45deg); }

.work__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; letter-spacing: .12em; color: var(--ash); font-variant-numeric: tabular-nums;
}
.work__count b { color: var(--ivory); font-weight: 480; }
.work__bar { position: relative; flex: 1; max-width: 240px; height: 1px; background: var(--line); overflow: hidden; }
.work__bar i { position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; }

/* ---------- 13. Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.svc::before {
  content: ""; position: absolute; z-index: -1; inset: -1px calc(var(--gutter) * -.5);
  border-radius: var(--r-card); background: var(--graphite);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.svc:hover::before { transform: scaleY(1); }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 44px;
  align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 34px) 0; text-align: left;
}
.svc__num { font-size: 13px; letter-spacing: .06em; color: var(--ash); font-variant-numeric: tabular-nums; transition: color .4s; }
.svc__title { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.08; transition: transform .7s var(--ease-out); }
.svc:hover .svc__title { transform: translateX(14px); }
.svc__tags { font-size: 14px; color: var(--ash); text-align: right; transition: color .4s; }
.svc:hover .svc__num, .svc:hover .svc__tags { color: var(--ivory); }
.svc__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s, border-color .4s;
}
.svc__icon svg { width: 18px; height: 18px; }
.svc:hover .svc__icon { border-color: var(--ivory); }
.svc__head[aria-expanded="true"] .svc__icon { transform: rotate(135deg); background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.svc__head[aria-expanded="true"] + .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; min-height: 0; }
.svc__content {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px;
  padding: 0 0 36px 80px;
}
.svc__content p { color: var(--ash); max-width: 52ch; }

.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 40;
  width: clamp(260px, 24vw, 360px); aspect-ratio: 16 / 10;
  border-radius: var(--r-card); overflow: hidden; background: var(--graphite);
  pointer-events: none; visibility: hidden; opacity: 0;
}
.svc-preview__item { position: absolute; inset: 0; clip-path: inset(100% 0% 0% 0%); }
.svc-preview__item video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 14. Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); border-block: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; flex: none; gap: .35em; padding-right: .35em;
  font-size: clamp(56px, 9vw, 150px); line-height: 1.1; white-space: nowrap;
}
.marquee__group .is-outline { color: transparent; -webkit-text-stroke: 1.2px rgba(237, 237, 243, .6); }
.marquee__sep { width: .42em; height: .42em; flex: none; color: var(--ash); }
.marquee__row--sm { margin-top: 12px; }
.marquee__row--sm .marquee__group {
  font-family: var(--font-body); font-stretch: 100%; font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .02em; color: var(--ash);
  gap: 1em; padding-right: 1em;
}
.marquee__row--sm i { font-style: normal; color: var(--slate); }

/* ---------- 15. Méthode (cartes empilées) ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(24px, 6vh, 64px); }
.step { position: relative; }
.step__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 48px);
  min-height: min(62vh, 560px); padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card); background: var(--graphite);
  transform-origin: 50% 0%;
}
.step__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.step__num { font-size: clamp(64px, 8vw, 128px); line-height: .9; }
.step__text h3 { margin-bottom: 14px; }
.step__text .muted { max-width: 44ch; margin-bottom: 24px; }
.step__media { position: relative; overflow: hidden; min-height: 240px; border-radius: 8px; background: var(--obsidian); }
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.step__shade { position: absolute; inset: 0; border-radius: inherit; background: var(--onyx); opacity: 0; pointer-events: none; }

/* ---------- 16. Témoignages ---------- */
.quotes .eyebrow { margin-bottom: 40px; }
.quotes__stack { display: grid; }
.quote { grid-area: 1 / 1; visibility: hidden; }
.quote.is-active { visibility: visible; }
.quote blockquote { font-size: clamp(26px, 3.4vw, 50px); line-height: 1.16; max-width: 1100px; text-wrap: pretty; }
.quote figcaption { margin-top: 32px; font-size: 15px; color: var(--ivory); }
.quote figcaption span { color: var(--ash); }
.quotes__nav { display: flex; align-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.quotes__count { margin-left: 16px; font-size: 13px; letter-spacing: .1em; color: var(--ash); font-variant-numeric: tabular-nums; }
.quotes__count b { color: var(--ivory); font-weight: 480; }
.quotes__bar { position: relative; width: 120px; height: 1px; margin-left: 8px; overflow: hidden; background: var(--line); }
.quotes__bar i { position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; }

/* ---------- 17. FAQ ---------- */
.faq__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 48px clamp(40px, 7vw, 120px); align-items: start;
}
.faq__intro {
  position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 480; line-height: 1.35;
}
.faq__icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s, border-color .4s;
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__q:hover .faq__icon { border-color: var(--ivory); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(135deg); background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 0 56px 28px 0; color: var(--ash); max-width: 60ch; }

/* ---------- 18. Contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px clamp(40px, 6vw, 96px); align-items: start;
}
.contact__intro {
  position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.contact__title { font-size: clamp(44px, 6vw, 92px); line-height: 1.02; text-wrap: balance; }
.contact__list { display: grid; gap: 18px; width: 100%; margin-top: 8px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact__list span { padding-top: 4px; font-size: 12px; font-weight: 480; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }

.form { position: relative; padding: clamp(24px, 3.4vw, 44px); }
.form__body { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field label, .field legend { font-size: 14px; color: var(--ash); padding: 0; }
.field legend { margin-bottom: 12px; }
.input {
  width: 100%; height: 54px; padding: 0 22px;
  border-radius: var(--r-btn); border: 1px solid rgba(226, 227, 237, .22);
  background: rgba(23, 23, 33, .35); color: var(--ivory);
  font: inherit; font-size: 16px;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.input::placeholder { color: rgba(195, 195, 204, .55); }
.input:hover { border-color: rgba(226, 227, 237, .45); }
.input:focus { outline: none; border-color: var(--mist); background: rgba(39, 39, 53, .55); box-shadow: 0 0 0 4px rgba(226, 227, 237, .08); }
textarea.input { height: auto; min-height: 150px; padding: 16px 22px; border-radius: 22px; resize: vertical; line-height: 1.5; }
.input[aria-invalid="true"] { border-color: var(--ivory); border-style: dashed; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1px solid rgba(226, 227, 237, .22);
  font-size: 14px; color: var(--ash); cursor: pointer; user-select: none;
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
}
.choice span:hover { border-color: rgba(226, 227, 237, .5); color: var(--ivory); }
.choice span:active { transform: scale(.96); }
.choice input:checked + span { background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--ivory); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form__legal { max-width: 34ch; font-size: 12px; font-weight: 480; letter-spacing: .01em; line-height: 1.5; color: var(--ash); }
.form__error { padding: 12px 16px; border-radius: 12px; background: var(--obsidian); font-size: 14px; color: var(--ivory); }
.form__success { display: grid; justify-items: center; gap: 16px; padding: 56px 16px; text-align: center; }
.form__success .muted { max-width: 40ch; }
.form__check { width: 72px; height: 72px; fill: none; stroke: var(--ivory); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.form__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-success .form__check circle { animation: draw 1s var(--ease-out) forwards; }
.form.is-success .form__check path { animation: draw .6s .5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 19. Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: var(--section-y); background: var(--onyx); }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer__mail { position: relative; font-size: clamp(22px, 6.2vw, 100px); line-height: 1.05; overflow-wrap: anywhere; }
.footer__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: max(1px, .02em);
  background: currentColor; transform: scaleX(.14); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.footer__mail:hover::after { transform: scaleX(1); }
.footer__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px;
  margin-top: clamp(56px, 8vw, 112px); padding-top: 40px; border-top: 1px solid var(--line);
}
.footer__h { margin-bottom: 20px; font-size: 12px; font-weight: 480; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.footer__grid ul { display: grid; gap: 10px; justify-items: start; }
.footer__clock { font-size: 22px; font-variant-numeric: tabular-nums; }
.footer__top { margin-top: 24px; }
.footer__brand {
  margin-top: clamp(56px, 8vw, 112px); padding-inline: var(--gutter);
  overflow: hidden; text-align: center; line-height: .8; user-select: none;
}
.footer__word {
  display: inline-flex; white-space: nowrap; padding-top: .06em;
  font-size: 22vw; font-weight: 530; font-stretch: 125%; letter-spacing: 0; color: var(--ivory);
}
.footer__word span { display: inline-block; transition: transform .8s var(--ease-out), color .5s; }
.footer__word span:hover { transform: translateY(-7%); color: var(--white); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 22px var(--gutter); border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 480; letter-spacing: .01em; color: var(--ash);
}

/* ---------- 20. Lecteur vidéo ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; }
.lightbox__backdrop {
  position: absolute; inset: 0; opacity: 0;
  background: rgba(13, 13, 20, .92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.lightbox__frame { position: fixed; top: 0; left: 0; overflow: hidden; border-radius: var(--r-card); background: #000; }
.lightbox__frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.lightbox__bar {
  position: absolute; top: 24px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.lightbox__title { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.lightbox__meta { margin-top: 6px; font-size: 14px; }
.lightbox__close {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--ivory);
  transition: background-color .4s, color .4s, transform .6s var(--ease-out);
}
.lightbox__close:hover { background: var(--ivory); color: var(--onyx); transform: rotate(90deg); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__inner { grid-template-columns: 1fr auto; padding-left: 18px; }
  .nav__links, .nav__reel { display: none; }
  .burger { display: block; }
}

/* Projets en grille tant que le défilement horizontal n'est pas actif
   (mobile, mouvement réduit, ou JavaScript indisponible) */
html:not(.has-hscroll) .work { padding-block: var(--section-y); }
html:not(.has-hscroll) .work__pin { height: auto; display: block; overflow: visible; }
html:not(.has-hscroll) .work__track {
  --media-h: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px;
  width: auto; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto;
  transform: none !important;
}
html:not(.has-hscroll) .work__intro { grid-column: 1 / -1; width: auto; height: auto; padding: 0; }
html:not(.has-hscroll) .work__hint, html:not(.has-hscroll) .work__progress { display: none; }
html:not(.has-hscroll) .work-card__media { width: 100%; height: auto; aspect-ratio: 4 / 3; }
html:not(.has-hscroll) .work-card--vertical .work-card__media,
html:not(.has-hscroll) .work-card--portrait .work-card__media { aspect-ratio: 4 / 5; }
html:not(.has-hscroll) .work-cta { width: auto; height: auto; min-height: 260px; }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head > .muted { justify-self: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro, .contact__intro { position: static; }
  .step__card { grid-template-columns: 1fr; min-height: 0; }
  .step__media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .step__num { font-size: 56px; }
  .svc__head { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 16px; }
  .svc__tags { display: none; }
  .svc__content { grid-template-columns: 1fr; padding-left: 56px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showreel__words { grid-template-columns: 1fr; grid-template-rows: 1fr 40vh 1fr; justify-items: center; }
  .showreel__word--l { grid-column: 1; grid-row: 1; justify-self: center; align-self: end; }
  .showreel__word--r { grid-column: 1; grid-row: 3; justify-self: center; align-self: start; }
}

@media (max-width: 600px) {
  :root { --nav-h: 58px; --nav-top: 10px; }
  .nav__cta { display: none; }
  .logo__sub { display: none; }
  .hero__content { padding-bottom: 104px; }
  .capture { flex-direction: column; height: auto; gap: 10px; }
  .capture__input { flex: none; height: 54px; border-right: 1px solid rgba(237, 237, 243, .8); border-radius: var(--r-btn); }
  .capture__btn { --h: 54px; border-radius: var(--r-btn); }
  .hud__label--tr, .hud__label--br { display: none; }
  .hero__toggle { right: var(--gutter); bottom: 72px; }
  .stats { gap: 8px; }
  .stat { min-height: 180px; padding: 20px; }
  .work__track { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .svc__head { grid-template-columns: 28px minmax(0, 1fr) 40px; gap: 12px; }
  .svc__icon { width: 40px; height: 40px; }
  .svc__content { padding-left: 0; }
  .faq__a p { padding-right: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 6px; }
  .footer__legal { flex-direction: column; }
  .showreel__ui { flex-direction: column; align-items: flex-start; }
}

/* ---------- 22. Mouvement réduit & mode statique ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .loader { display: none; }
}

/* Lecteur YouTube (chargé uniquement au clic, version sans cookies) */
.lightbox__iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* ---------- 23. Tarifs dans la liste des services ---------- */
.svc__price { margin-top: 12px; color: var(--ivory); }
.svc__price strong { font-weight: 480; }

/* ---------- 24. Pages secondaires (mariage, mentions légales) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-top) + var(--nav-h) + clamp(64px, 12vw, 140px)) 0 clamp(48px, 8vw, 96px);
}
.page-head__media { position: absolute; inset: 0; z-index: -1; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.55); }
.page-head__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 33, .75) 0%, rgba(23, 23, 33, .5) 40%, var(--onyx) 100%);
}
.page-head .eyebrow { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.04; text-wrap: balance; }
.page-head .lead { max-width: 620px; margin-top: 24px; }
.page-back { display: flex; width: max-content; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--ash); }
.page-back svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.page-back:hover { color: var(--ivory); }
.page-back:hover svg { transform: translateX(-4px); }

/* Formules */
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.formule { display: flex; flex-direction: column; gap: 24px; }
.formule__top { display: flex; flex-direction: column; gap: 10px; }
.formule__name { font-size: 13px; font-weight: 480; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.formule__price {
  font-family: var(--font-display); font-stretch: var(--stretch); font-weight: 480;
  font-size: clamp(38px, 4vw, 52px); line-height: 1; letter-spacing: .01em;
}
.formule__list { display: grid; gap: 12px; margin-top: 4px; }
.formule__list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--ash); font-size: 15px; line-height: 1.45; }
.formule__list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--ivory); opacity: .55; }
.formule .btn { margin-top: auto; align-self: flex-start; }
.formule--feature { background: var(--obsidian); }
.formule__flag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-pill);
  background: rgba(237, 237, 243, .12); font-size: 12px; font-weight: 480; letter-spacing: .1em; text-transform: uppercase;
}
.included { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 64px; margin-top: clamp(48px, 7vw, 88px); }
.included p { color: var(--ash); max-width: 62ch; }

/* Pages de texte */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: .015em; margin: clamp(40px, 5vw, 56px) 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ash); margin-bottom: 14px; }
.prose strong { color: var(--ivory); font-weight: 480; }
.prose ul { display: grid; gap: 8px; margin: 0 0 18px; }
.prose li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; }
.prose li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--slate); }
.prose a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.prose .todo { color: var(--ivory); border-bottom: 1px dashed rgba(237, 237, 243, .5); }

@media (max-width: 900px) {
  .formules { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
}
