/* =========================================================
   Baptiste Engel — Director
   Mélange : site de référence (cinéma, luxe, chaud) × salle de projection Frame.io (sombre, UI discrète)
   Règle d'étalonnage : ombres et interface en gris mauve désaturé, hautes lumières et images chaudes.
   ========================================================= */

/* ---------- Polices (hébergées sur le site, sous-ensembles latin et latin étendu) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Fonds : presque noir, avec un très léger reflet gris mauve */
  --bg: #0b0a0d;
  --bg-2: #070608;
  --surface: #100f13;
  --halo-bg: #18171c;

  /* Texte : crème chaude de la référence ; gris neutres (moyenne des deux sources) */
  --text: #ece8e1;
  --text-2: #aeaaad;
  --text-3: #827f80;
  --warm: #f1e3cf;          /* réservé aux mots en serif italique */

  /* Traits */
  --line: rgba(236, 232, 225, .1);
  --line-2: rgba(236, 232, 225, .22);

  /* Accents : un bleu doux pour les petits repères, un gris mauve sombre pour les halos */
  --iris: #7896d4;
  --twilight: #57536a;
  --lilac: #dddbe3;
  --amber: 201, 138, 75;    /* lumière de coucher de soleil, uniquement dans les dégradés */

  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-card: 10px;
  --r-feat: 24px;
  --halo: inset 0 0 0 1px rgba(87, 83, 106, .5), 0 0 60px rgba(87, 83, 106, .12);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-sans);
  font-feature-settings: "ss01" on, "cv11" on;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
::selection { background: var(--iris); color: var(--bg); }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px; border-radius: 100px;
  background: var(--text); color: var(--bg); font: 500 14px var(--f-sans); transform: translateY(-160%);
  transition: transform .4s var(--ease-out);
}
.skip:focus { transform: none; }

/* Curseur natif masqué seulement quand le curseur perso est actif */
.has-cursor, .has-cursor * { cursor: none !important; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow__n { color: var(--iris); }
.eyebrow__bar { width: 28px; height: 1px; background: currentColor; opacity: .5; flex: none; }

.h2 {
  font: 400 clamp(42px, 5.6vw, 88px)/.98 var(--f-sans);
  letter-spacing: -.045em;
  color: var(--text);
}
.h2--sm { font-size: clamp(38px, 3.9vw, 62px); }
.h-display {
  font: 400 clamp(58px, 9.4vw, 160px)/.92 var(--f-sans);
  letter-spacing: -.055em;
}
/* Le point de rencontre : la serif de la référence, en italique, à l'intérieur des titres sans-serif Frame.io */
.h2 em, .h-display em, .player__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.12em;
  letter-spacing: -.01em;
  line-height: .8;
  color: var(--warm);
  padding-right: .04em;
}

/* Masque ligne par ligne (référence) */
.ln { display: block; overflow: hidden; padding: .02em .08em .22em 0; margin-bottom: -.2em; }
.ln__i { display: inline-block; will-change: transform; }

/* Texte qui roule au survol */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: block; transition: transform .6s var(--ease-io); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap;
  transition: transform .6s var(--ease-io);
}
a:hover > .roll > span, button:hover > .roll > span, a:hover > .roll::after, button:hover > .roll::after,
.nav-link:hover .roll > span, .nav-link:hover .roll::after { transform: translateY(-100%); }

/* Lien souligné (référence) */
.u-link { position: relative; display: inline-block; }
.u-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Boutons : pilule Frame.io + flèche dans un cercle (référence) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 50px; padding: 0 8px 0 26px; border-radius: 100px;
  font: 500 14px/1 var(--f-sans); letter-spacing: .01em; white-space: nowrap;
  transition: color .5s var(--ease-io), border-color .5s var(--ease-io);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease-io);
}
.btn:hover::before { transform: none; }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid::before { background: var(--lilac); }
.btn--ghost { border: 1px solid rgba(236, 232, 225, .4); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--sm { min-height: 42px; padding-left: 20px; gap: 12px; font-size: 13px; }
.btn--sm .ring { width: 28px; height: 28px; }
.btn--lg { min-height: 60px; padding-left: 32px; font-size: 15px; }
.btn--lg .ring { width: 40px; height: 40px; }

.ring {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(236, 232, 225, .5);
  transition: transform .6s var(--ease-io), background .4s, color .4s, border-color .4s;
}
.ring svg { width: 10px; height: 10px; }
.ring--lg { width: 38px; height: 38px; }
.ring--lg svg { width: 12px; height: 12px; }
.btn--solid .ring { border-color: rgba(11, 10, 13,.3); }
.btn:hover .ring { transform: rotate(-45deg); }
.btn--ghost:hover .ring { border-color: var(--bg); }
.feature__play:hover .ring, .footer__top:hover .ring { transform: none; }

.arrow-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; }
.arrow-btn:hover .ring { background: var(--text); color: var(--bg); border-color: var(--text); }
.arrow-btn:active .ring { transform: scale(.9); }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--twilight), var(--iris));
}

/* ---------- Clap d'intro ---------- */
.slate { display: none; }
.motion .slate { position: fixed; inset: 0; z-index: 120; display: block; pointer-events: none; }
.is-ready .slate { display: none; }
.slate__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg-2); }
.slate__half--top { top: 0; }
.slate__half--bottom { bottom: 0; }
.slate__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .2em; color: var(--text-2);
}
.slate__name { font-size: 11px; color: var(--text); letter-spacing: .32em; }
.slate__tc { font-size: clamp(28px, 4vw, 44px); letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }
.slate__bar { position: relative; width: min(280px, 60vw); height: 1px; background: var(--line-2); overflow: hidden; }
.slate__bar span { position: absolute; inset: 0; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.slate__meta { display: flex; gap: 22px; font-size: 10px; color: var(--text-3); }

/* ---------- Curseur personnalisé ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot-pos, .cursor__follow { position: absolute; top: 0; left: 0; will-change: transform; }
.cursor__dot {
  /* pas de mix-blend-mode : dans Chromium il délave toute la page */
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 1px rgba(7, 6, 8,.35);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.cursor__ring {
  position: absolute; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  border: 1.6px solid rgba(236, 232, 225, .5);
  transform: scale(.42);
  transition: transform .55s var(--ease-out), background-color .4s, border-color .4s, opacity .3s;
}
.cursor__label {
  position: absolute; top: 0; left: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font: 400 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.cursor.is-link .cursor__ring { transform: scale(.66); border-color: var(--iris); }
.cursor.is-link .cursor__dot { transform: scale(0); }
.cursor.is-view .cursor__ring, .cursor.is-play .cursor__ring { transform: scale(1); background-color: var(--text); border-color: transparent; }
/* Curseur « Play » : même style que le bouton play (cercle blanc fin, fond flouté) */
.cursor.is-play .cursor__ring {
  background-color: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.cursor.is-view .cursor__label, .cursor.is-play .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-view .cursor__label { color: var(--bg); }
.cursor.is-play .cursor__label { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.cursor.is-view .cursor__dot, .cursor.is-play .cursor__dot { transform: scale(0); }
.cursor.is-down .cursor__ring { transform: scale(.32); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- HUD timecode (bas gauche) ---------- */
/* Bande verticale dans la marge gauche : ne recouvre jamais le contenu */
.hud {
  position: fixed; left: 14px; bottom: 28px; z-index: 40; display: flex; align-items: center; gap: 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 400 9px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
  opacity: 0; transition: opacity .6s; pointer-events: none;
}
.hud.is-on { opacity: 1; }
.hud__sep { width: 1px !important; height: 18px !important; }
@media (max-width: 1100px) { .hud { display: none; } }
.hud__tc { color: var(--text); font-variant-numeric: tabular-nums; }
.hud__sep { width: 18px; height: 1px; background: var(--line-2); }
.hud__rec, .chrome__rec, .iris__rec { display: inline-flex; align-items: center; gap: 8px; }
.hud__rec i, .chrome__rec i, .iris__rec i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 8px rgba(120, 150, 212, .6);
}
.motion .hud__rec i, .motion .chrome__rec i, .motion .iris__rec i { animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* =========================================================
   EN-TÊTE : barre fine qui se resserre en pilule floue au scroll
   ========================================================= */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px var(--gutter); transition: transform .8s var(--ease-io); }
.hdr.is-hidden { transform: translateY(-140%); }
.hdr__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--maxw) - 2 * 32px); margin: 0 auto; padding: 8px 8px 8px 20px; border-radius: 100px;
  border: 1px solid transparent;
  transition: background-color .6s, border-color .6s, max-width .9s var(--ease-io), -webkit-backdrop-filter .6s, backdrop-filter .6s;
}
.hdr.is-scrolled .hdr__bar {
  max-width: 1040px;
  background-color: rgba(7, 6, 8, .66);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(87, 83, 106,.4);
}
.menu-open .hdr .hdr__bar { background-color: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .hdr.is-hidden { transform: none; }
.hdr__nav, .hdr__cta { transition: opacity .5s; }
.menu-open .hdr__nav, .menu-open .hdr__cta { opacity: 0; pointer-events: none; }

.logo { display: inline-flex; align-items: center; gap: 12px; font: 400 12px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; min-height: 44px; }
.logo__mark { width: 18px; height: 18px; color: var(--iris); transition: transform 1.2s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(180deg); }

.hdr__nav { display: flex; gap: 34px; }
.nav-link { position: relative; font-size: 14px; padding: 12px 0; color: var(--text); }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-io);
}
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-current { color: var(--text); }

.hdr__right { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 100px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase;
}
.menu-btn__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(236, 232, 225, .45); transition: transform .9s var(--ease-io), background .4s, color .4s, border-color .4s;
}
.menu-btn__icon svg { width: 16px; height: 16px; }
.menu-btn:hover .menu-btn__icon { transform: rotate(120deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon { transform: rotate(-180deg); background: var(--text); color: var(--bg); border-color: var(--text); }

/* =========================================================
   MENU PLEIN ÉCRAN : s'ouvre comme un diaphragme depuis le bouton
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 55; visibility: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(var(--amber), .14), transparent 70%),
    radial-gradient(ellipse 80% 70% at 10% 100%, #1a1720 0%, transparent 65%),
    linear-gradient(195deg, #0c0a0e 0%, #060508 50%, #110f15 100%);
  clip-path: circle(0px at var(--cx, 95%) var(--cy, 40px));
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
}
.menu.is-open { visibility: visible; clip-path: circle(150vmax at var(--cx, 95%) var(--cy, 40px)); transition: clip-path 1.1s var(--ease-io), visibility 0s; }
.menu__inner { height: 100%; display: grid; grid-template-columns: 1fr minmax(240px, 320px); align-items: end; gap: 48px; padding-top: 120px; padding-bottom: clamp(32px, 6vh, 64px); overflow-y: auto; }
.menu__list { list-style: none; padding: 0; }
.menu__list li { overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; gap: 22px; padding: .04em 0;
  font: 400 clamp(42px, 7.4vh, 96px)/1.04 var(--f-sans); letter-spacing: -.05em;
  transform: translateY(105%); transition: transform .9s var(--ease-out), opacity .4s;
}
.menu.is-open .menu__link { transform: none; transition-delay: calc(.35s + var(--i) * .06s), 0s; }
.menu__num { font: 400 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--iris); transform: translateY(-1.6em); }
.menu__label, .client__name { position: relative; display: block; overflow: hidden; }
.menu__a, .client__a { display: block; transition: transform .7s var(--ease-out); }
.menu__b, .client__b {
  position: absolute; left: 0; top: 0; display: block; white-space: nowrap;
  font-family: var(--f-serif); font-style: italic; font-weight: 300; letter-spacing: -.01em; color: var(--warm);
  transform: translateY(105%); transition: transform .7s var(--ease-out);
}
.menu__b { font-size: 1.1em; line-height: .96; }
.menu__link:hover .menu__a { transform: translateY(-105%); }
.menu__link:hover .menu__b { transform: none; }
.menu__list:hover .menu__link:not(:hover) { opacity: .32; }
.menu__aside { display: flex; flex-direction: column; gap: 18px; padding-left: 28px; border-left: 1px solid var(--line-2); font-size: 15px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu.is-open .menu__aside { opacity: 1; transform: none; transition-delay: .7s; }
.menu__reel {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 8px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); transition: color .3s;
}
.menu__reel .ring { width: 30px; height: 30px; }
.menu__reel .ring svg { width: 10px; height: 10px; margin-left: 2px; }
.menu__reel:hover { color: var(--text); }
.menu__reel:hover .ring { background: var(--text); color: var(--bg); border-color: var(--text); }
.menu__meta { font: 400 11px/2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.menu__sig { font: italic 300 26px/1.1 var(--f-serif); color: var(--warm); }

/* =========================================================
   01 · HERO
   ========================================================= */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1180px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 60% 50%, rgba(var(--amber), .2) 0%, rgba(var(--amber), .05) 22%, transparent 42%),
    /* couches de couleur à moitié de leur opacité d'origine : fond quasi neutre */
    radial-gradient(ellipse 90% 55% at 50% 115%, rgba(24, 21, 30, .5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 20%, rgba(87, 83, 106, .08) 0%, transparent 70%),
    linear-gradient(195deg, #0c0a0e 0%, #060508 48%, #131117 100%);
}
.iris {
  --iris-size: min(1150px, 128vh); /* ne pas appeler --iris : c'est la couleur d'accent */
  position: absolute; top: 50%; left: 60%; width: var(--iris-size); height: var(--iris-size);
  margin: calc(var(--iris-size) / -2) 0 0 calc(var(--iris-size) / -2); z-index: 0;
}
.iris__mask {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 64%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 64%, transparent 100%);
}
/* Vidéo découpée en cercle, un peu plus grand que l'ouverture maximale des lamelles (≈ 0,402) :
   son bord reste caché sous les lamelles, qui sont au-dessus (SVG placé après dans le HTML). */
.iris__img {
  position: absolute; inset: 0; margin: auto; width: calc(var(--iris-size) * .414); height: calc(var(--iris-size) * .414);
  clip-path: circle(50% at 50% 50%); overflow: hidden; background: #000;
}
/* Ombres gris mauve communes à toutes les vidéos */
.iris__tint { position: absolute; inset: 0; pointer-events: none; background: #17141c; mix-blend-mode: soft-light; opacity: .1; }
/* Reflet de verre : arc de lumière statique en haut à gauche */
.iris__glare {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(118% 118% at 76% 80%, transparent 58%, rgba(255, 255, 255, .03) 65%, transparent 73%);
}
/* Lumière qui déborde sur le bord des lamelles : copie floue de la vidéo (canvas), 130 %, 25 %, screen.
   Masquée au centre pour ne pas voiler l'image : elle n'éclaire que la couronne autour de l'ouverture. */
.iris__glow {
  position: absolute; inset: 0; margin: auto; width: calc(var(--iris-size) * .414 * 1.3); height: calc(var(--iris-size) * .414 * 1.3);
  border-radius: 50%; pointer-events: none; opacity: .25; mix-blend-mode: screen;
  filter: blur(40px) saturate(1.4);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 52%, #000 72%, #000 90%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, transparent 52%, #000 72%, #000 90%, transparent 100%);
}
/* Voile d'objectif : vignettage circulaire + ombre intérieure le long du bord de l'ouverture */
.iris__vignette {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 72%, rgba(11, 10, 13,.35) 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .35);
}
/* Couche qui bouge (parallaxe souris, zoom d'intro) ; poster et vidéos empilés dedans */
.iris__media { position: absolute; inset: -8%; }
.iris__media > img, .iris__media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
}
/* Aucun flou : seul le réglage propre à chaque vidéo s'applique (main.js) ; ici celui de la 1re, pour le poster */
.iris__poster { filter: brightness(1.1) saturate(0.9); }
.iris__video { opacity: 0; }
.iris__video.is-on { opacity: 1; } /* changement net (une coupe), fait pendant que le diaphragme est fermé */
.iris__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
[data-iris-breathe], [data-iris-ring1], [data-iris-ring2] { will-change: transform; }
.iris__hud {
  position: absolute; inset: 0; margin: auto; width: calc(var(--iris-size) * .56); height: calc(var(--iris-size) * .56);
  font: 400 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(236, 232, 225, .72);
  pointer-events: none;
}
.hud-corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(236, 232, 225, .5); }
.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; }
.iris__rec { position: absolute; top: 14px; left: 32px; }
.iris__tc { position: absolute; top: 14px; right: 32px; color: var(--text); white-space: nowrap; }
.iris__meta { position: absolute; left: 32px; right: 32px; bottom: 14px; display: flex; justify-content: space-between; color: var(--text-3); }

.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 120px;
}
/* Le nom reprend le style des titres (.h2 : Inter 400, interlettrage serré ; « Engel. » en Cormorant italique
   via .h2 em, ~1,12 fois plus grand). Ici, seulement la taille, l'interligne et la couleur.
   main.js réduit la taille si besoin pour garder au moins 48 px d'écart avec la bague du diaphragme. */
.hero__name { font-size: clamp(54px, 6.4vw, 96px); line-height: .95; color: #ece8e1; text-align: left; }
.hero__roles { margin-top: 30px; font: 400 11px/1.6 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); }
.hero__roles i { font-style: normal; color: var(--iris); padding: 0 .5em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__cue { position: absolute; left: var(--gutter); bottom: 34px; z-index: 2; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2);
}
.scroll-cue:hover .ring { background: var(--text); color: var(--bg); border-color: var(--text); }
.motion .bob { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.hero__side { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__sig {
  position: absolute; right: calc(var(--gutter) + 8px); bottom: 96px;
  font: 400 11px/2.2 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: #d9d3c9;
}
.hero__sig .ln { padding: 0; margin: 0; }
.hero__index {
  position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 14px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .2em; color: var(--text-3);
}
.hero__index span { writing-mode: vertical-rl; }
.hero__index i { width: 1px; height: 64px; background: rgba(236, 232, 225, .3); }

/* =========================================================
   BANDEAUX DÉFILANTS
   ========================================================= */
/* Sobres : une seule police (Cormorant 300 en capitales), alternance par l'opacité, trait fin, pas d'accent de couleur */
.marquee {
  position: relative; overflow: hidden; white-space: nowrap; user-select: none;
  padding: 28px 0; background: none;
  border-top: 1px solid rgba(236, 232, 225, .08); border-bottom: 1px solid rgba(236, 232, 225, .08);
}
.marquee__drift { display: inline-flex; will-change: transform; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.mq {
  font: 300 clamp(40px, 5vw, 72px)/1.1 var(--f-serif); text-transform: uppercase; letter-spacing: .12em;
  color: #ece8e1;
}
.mq--dim { color: rgba(236, 232, 225, .25); }
.mq-sep { flex: none; display: block; width: 24px; height: 1px; margin: 0 48px; background: rgba(236, 232, 225, .3); }

/* =========================================================
   SECTIONS GÉNÉRIQUES
   ========================================================= */
.section { position: relative; padding: clamp(88px, 10vw, 150px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-lede { max-width: 32ch; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* =========================================================
   02 · SELECT A UNIVERSE
   ========================================================= */
.universe { background: radial-gradient(ellipse 70% 60% at 0% 0%, #131117 0%, transparent 70%); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; perspective: 1400px; }
.card { position: relative; display: block; aspect-ratio: 3 / 4.6; border-radius: var(--r-card); }
.card__inner {
  position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; background: #0c0b0e;
  box-shadow: var(--halo); transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .6s;
}
.card:hover .card__inner, .card:focus-visible .card__inner { box-shadow: inset 0 0 0 1px rgba(143, 138, 158,.7), 0 30px 80px -20px rgba(87, 83, 106,.55); }
.card__media { position: absolute; inset: 0; display: block; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.62) saturate(.8) contrast(1.05);
  transform: scale(1.02); transition: transform 1.4s var(--ease-out), filter .9s;
}
.card:hover .card__media img { transform: scale(1.1); filter: brightness(1) saturate(1.05) contrast(1.05); }
.card__media picture { display: block; width: 100%; height: 100%; }
.card__inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 6, 8,.35) 0%, rgba(7, 6, 8,0) 25%, rgba(7, 6, 8,0) 45%, rgba(7, 6, 8,.88) 100%);
}
/* Photos claires (Fashion, Editorial) : image claire, seul un dégradé discret sur les 30 % du bas */
.card--light .card__media img { filter: saturate(.9); }
.card--light .card__inner::after { background: linear-gradient(0deg, rgba(7, 6, 8,.62) 0%, rgba(7, 6, 8,.25) 16%, rgba(7, 6, 8,0) 30%); }
/* Commercial : aucune couche sombre, la lumière dorée reste chaude */
.card--warm .card__media img { filter: none; }
.card--warm .card__inner::after { background: none; }
.card--light:hover .card__media img, .card--warm:hover .card__media img { filter: saturate(1.08) contrast(1.03); }
.card__num, .card__label { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); } /* lisibilité sans voile */
.card__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 138, 158,.28), rgba(87, 83, 106,.12) 40%, transparent 65%);
  mix-blend-mode: screen;
}
.card:hover .card__glow { opacity: 1; }
.card__num { position: absolute; top: 18px; left: 20px; z-index: 2; font: 400 10px/1 var(--f-mono); letter-spacing: .2em; color: var(--text-2); }
.card__label { position: absolute; left: 20px; right: 16px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card__title {
  display: block; font: 500 12px/1 var(--f-sans); letter-spacing: .28em; text-transform: uppercase;
  transition: letter-spacing .7s var(--ease-out);
}
.card:hover .card__title { letter-spacing: .42em; }
.card__tag { display: block; overflow: hidden; margin-bottom: 10px; }
.card__tag > span {
  display: block; font: italic 300 clamp(20px, 1.8vw, 26px)/1.1 var(--f-serif); color: var(--warm);
  transform: translateY(105%); transition: transform .8s var(--ease-out);
}
.card:hover .card__tag > span, .card:focus-visible .card__tag > span { transform: none; }
.card:hover .ring { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(-45deg); }

/* =========================================================
   03 · PROJET À LA UNE
   ========================================================= */
.feature {
  position: relative; padding-top: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 40% at 100% 100%, rgba(26, 23, 32,.7), transparent 70%);
}
/* L'écran des projets a une hauteur fixe sur ordinateur : changer de format ne décale jamais la page.
   data-format="16:9" : texte en bandeau en haut, image plein cadre dessous.
   data-format="9:16" : cadre vertical à droite (80 % de la hauteur), texte à gauche.
   Le passage de l'un à l'autre est animé en JS (FLIP sur left / top / width / height). */
.feature__screen {
  --sh: clamp(600px, calc(100vh - 40px), 960px);
  --head-h: clamp(190px, 25vh, 240px);
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  --fw: calc(var(--sh) * .8 * 9 / 16);
  position: relative; height: var(--sh);
}
.feature__frame {
  position: absolute; left: 0; top: var(--head-h); width: 100%; height: calc(100% - var(--head-h));
  overflow: hidden; background: #000; touch-action: pan-y; border-radius: 0;
  transition: box-shadow .9s var(--ease-io);
}
.feature__frame::after {
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .24); opacity: 0; transition: opacity .9s var(--ease-io);
}
[data-format="9:16"] .feature__frame {
  left: calc(100% - var(--edge) - var(--fw)); top: 10%; width: var(--fw); height: 80%; border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 60px rgba(87, 83, 106,.14);
}
[data-format="9:16"] .feature__frame::after { opacity: 1; }

.feature__head {
  position: absolute; z-index: 2; left: var(--edge); right: var(--edge); top: 0; height: var(--head-h);
  display: flex; align-items: flex-end; gap: 28px 48px; padding-bottom: 36px;
}
.feature__head .feature__desc { margin-left: auto; }
.feature__head .feature__desc[hidden] + .feature__play { margin-left: auto; }
[data-format="9:16"] .feature__head {
  right: auto; bottom: 0; height: auto; width: calc(100% - 2 * var(--edge) - var(--fw) - 64px);
  flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 0;
}
[data-format="9:16"] .feature__head .feature__desc,
[data-format="9:16"] .feature__head .feature__desc[hidden] + .feature__play { margin-left: 0; }
.feature__title { font-size: clamp(40px, 4.4vw, 68px); }
.feature__titles .eyebrow { margin-bottom: 20px; }
.feature__desc { max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.feature__play { flex: none; }
.feature__nav { display: flex; align-items: center; gap: 18px; }
.counter { font: 400 12px/1 var(--f-mono); letter-spacing: .2em; color: #d9d3c9; display: inline-flex; }
.counter__cur { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2; }
.counter__cur span { display: block; }
.counter__tot { color: var(--text-3); line-height: 1.2; white-space: pre; }
.feature__arrows { display: flex; gap: 2px; margin-right: -7px; }

.feature__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 1; }
.slide__kb, .slide__pic { position: absolute; inset: 0; display: block; }
.slide__pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.slide[data-format="16:9"] .slide__pic img { top: -10%; height: 120%; } /* marge pour la parallaxe */
.slide__noscript { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Dégradé seulement sur le plein cadre 16:9 : aucun voile sur les verticales (Vogue reste claire) */
.feature__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .6s;
  background:
    linear-gradient(180deg, rgba(11, 10, 13,.55) 0%, rgba(11, 10, 13,0) 22%, rgba(11, 10, 13,0) 70%, rgba(11, 10, 13,.92) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(7, 6, 8,.45) 100%);
}
[data-format="9:16"] .feature__shade { opacity: 0; }
.chrome { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
/* Bouton play : cercle blanc à contour fin sur fond flouté */
.chrome__play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .6s var(--ease-out), background-color .4s, opacity .3s;
}
.chrome__play svg { width: 22px; height: 22px; margin-left: 3px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
/* Verticales : le bouton descend en bas du cadre pour ne pas masquer le sujet (logo VOGUE, écusson) */
[data-format="9:16"] .chrome__play { top: auto; bottom: 28px; width: 72px; height: 72px; margin: 0 0 0 -36px; }
.feature__frame:hover .chrome__play { background-color: rgba(255, 255, 255, .18); transform: scale(1.06); }
.has-cursor .feature__frame:hover .chrome__play { opacity: 0; }
.chrome__bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 22px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  transition: opacity .5s;
}
[data-format="9:16"] .chrome__bar { opacity: 0; }
.chrome__scrub { position: relative; flex: 1; height: 1px; background: rgba(236, 232, 225, .2); }
.chrome__scrub span { position: absolute; inset: 0; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.chrome__scrub span::after { content: ''; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 12px var(--iris); }
.chrome__tc { color: var(--text); font-variant-numeric: tabular-nums; }

.feature__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: clamp(72px, 8vw, 110px); }
.thumbs { display: flex; gap: 8px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  position: relative; flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; opacity: .45;
  transition: opacity .5s, transform .5s var(--ease-out);
}
.thumb__pic { display: block; width: 100%; height: 100%; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.thumb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s; }
.thumb span { position: absolute; left: 8px; bottom: 6px; font: 400 9px/1 var(--f-mono); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 4px #000; }
.thumb:hover { opacity: .85; transform: translateY(-3px); }
.thumb:hover img { transform: scale(1.08); }
.thumb.is-active { opacity: 1; }
.thumb.is-active::after { box-shadow: inset 0 0 0 1px var(--iris), 0 0 0 1px rgba(143, 138, 158,.25); }
.feature__hint { font: 400 10px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }

/* =========================================================
   04 · PROCESS
   ========================================================= */
.process {
  position: relative; border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(var(--amber), .08), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(26, 23, 32,.8), transparent 70%),
    var(--bg);
}
.process__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.process__media { position: relative; overflow: hidden; min-height: 460px; }
.media-fill { position: absolute; inset: 0; overflow: hidden; }
.media-fill > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; }

/* Process : tilt-shift. Calque 124 % de haut pour la parallaxe (photo nette + copie floutée bougent ensemble).
   L'image garde ses proportions (9:16) et se cale comme object-position: center 40% : son point à 40 %
   est posé sur le point à 40 % du calque. Le masque du flou est donc exprimé en % de l'IMAGE :
   la bande nette (visage 42-47 %, caméra jusqu'à 63 %) reste au même endroit sur tous les écrans. */
.tilt__layer { position: absolute; left: 0; right: 0; top: -12%; height: 124%; }
.tilt__pic { position: absolute; inset: 0; display: block; overflow: hidden; }
.tilt__pic img {
  position: absolute; left: 0; top: 40%; width: 100%; height: auto; aspect-ratio: 900 / 1600; max-width: none;
  transform: translateY(-40%);
}
.tilt__pic--blur img {
  filter: blur(10px);
  transform: translateY(-40%) scale(1.04);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 18%, transparent 35%, transparent 66%, rgba(0, 0, 0, .55) 80%, #000 94%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 18%, transparent 35%, transparent 66%, rgba(0, 0, 0, .55) 80%, #000 94%);
}
.tilt__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 52%, rgba(7, 6, 8,.25) 100%); }
.process__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 60%, rgba(11, 10, 13,.6)); }
.process__bts {
  /* en haut à droite, sur le ciel flou : ne cache ni le visage ni la caméra de la photo */
  position: absolute; right: clamp(16px, 2.4vw, 32px); top: clamp(16px, 2.4vw, 32px); z-index: 2; width: min(200px, 30%);
  border-radius: var(--r-card); overflow: hidden; background: var(--bg-2);
  box-shadow: var(--halo), 0 24px 48px rgba(0, 0, 0, .5);
}
/* Vidéo verticale (reel) : le bloc prend son format exact, donc « cover » ne coupe rien */
.bts { position: relative; overflow: hidden; aspect-ratio: 540 / 876; background: #000; }
.bts__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bts__ig {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px 0 12px;
  border-radius: 100px; background: rgba(7, 6, 8,.62); box-shadow: inset 0 0 0 1px rgba(236, 232, 225, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 400 9px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text);
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out), background-color .3s, color .3s;
}
.bts__ig .ring { width: 24px; height: 24px; }
.bts__ig .ring svg { width: 9px; height: 9px; transform: rotate(-45deg); }
.process__bts:hover .bts__ig, .bts__ig:focus-visible { opacity: 1; transform: none; }
.bts__ig:hover { background-color: var(--text); color: var(--bg); }
.bts__ig:hover .ring { border-color: rgba(11, 10, 13,.3); }
.process__bts figcaption { padding: 12px 14px 14px; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.process__bts figcaption .chrome__rec { font: 400 9px/1 var(--f-mono); letter-spacing: .18em; color: var(--text); margin-right: 6px; }
.process__body {
  display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 7vw, 110px) var(--gutter);
  border-left: 1px solid var(--line);
}
.steps { position: relative; list-style: none; margin-top: clamp(36px, 5vh, 56px); padding: 0 0 0 44px; display: grid; gap: clamp(20px, 3.4vh, 32px); }
.steps__line { position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--iris), var(--twilight)); transform-origin: top; transform: scaleY(0); }
.no-anim .steps__line span { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 20px; row-gap: 6px; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .step { opacity: .34; }
.js .step.is-active, .no-anim .step { opacity: 1; }
.step::before {
  content: ''; position: absolute; left: -44px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .5s, box-shadow .5s;
}
.step.is-active::before { background: var(--iris); box-shadow: 0 0 0 4px rgba(120, 150, 212, .18), 0 0 14px var(--iris); }
.step__icon { grid-row: span 2; width: 30px; height: 30px; color: var(--iris); }
.step__icon path, .step__icon circle, .step__icon rect { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out); }
.js .step:not(.is-active) .step__icon path, .js .step:not(.is-active) .step__icon circle, .js .step:not(.is-active) .step__icon rect { stroke-dashoffset: 1; }
.no-anim .step .step__icon * { stroke-dashoffset: 0 !important; }
.step h3 { display: flex; align-items: baseline; gap: 14px; font: 500 18px/1.3 var(--f-sans); letter-spacing: -.01em; }
.step__num { font: 400 10px/1 var(--f-mono); letter-spacing: .16em; color: var(--text-3); }
.step p { font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 42ch; }
.step:hover { opacity: 1; }

/* =========================================================
   05 · ABOUT
   ========================================================= */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
/* Le bloc prend le format exact du portrait : rien n'est recadré, la tête reste entière */
.about__media {
  position: relative; overflow: hidden; width: 100%;
  max-width: calc(min(100vh, 920px) * 1004 / 1242); aspect-ratio: 1004 / 1242;
}
.about__photo { display: block; width: 100%; height: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 10, 13,0) 55%, var(--bg) 100%), linear-gradient(0deg, rgba(26, 23, 32,.35), transparent 50%);
}
.about__body {
  display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: clamp(64px, 7vw, 110px) var(--gutter);
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(26, 23, 32,.7), transparent 70%);
}
.about__body .eyebrow { margin-bottom: -4px; }
.about__text { max-width: 40ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--text); }
.about__text .w { transition: none; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 0; margin-top: 10px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-right: clamp(20px, 2.6vw, 36px); margin-right: clamp(20px, 2.6vw, 36px); border-right: 1px solid var(--line-2); }
.stat:last-child { border: 0; margin: 0; padding: 0; }
.stat dt { margin-top: 12px; font: 400 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.stat__big { font: 400 clamp(44px, 4.4vw, 68px)/.9 var(--f-sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat__serif { font: italic 300 clamp(46px, 4.6vw, 72px)/.86 var(--f-serif); color: var(--warm); }
.stat__mono { font: 400 11px/1.75 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text); padding-top: 2px; }

/* =========================================================
   06 · CLIENTS : grille éclairée par un projecteur qui suit la souris
   ========================================================= */
.clients { background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(87, 83, 106,.2), transparent 70%); }
.clients__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.clients__grid::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; }
.client {
  position: relative; height: clamp(140px, 13vw, 196px); display: flex; align-items: center; justify-content: center; padding: 0 20px;
  overflow: hidden; transition: opacity .5s;
}
.client::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.client:not(:nth-child(3n))::before {
  content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--line);
}
.client__spot {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 138, 158,.2), rgba(87, 83, 106,.1) 45%, transparent 70%);
}
.client { isolation: isolate; }
.client:hover .client__spot { opacity: 1; }
.client__num { position: absolute; top: 16px; left: 18px; font: 400 10px/1 var(--f-mono); letter-spacing: .18em; color: var(--text-3); transition: color .4s; }
.client:hover .client__num { color: var(--iris); }
.client__name { font: 400 clamp(22px, 2.5vw, 38px)/1.2 var(--f-sans); letter-spacing: -.04em; white-space: nowrap; text-align: center; }
.client__b { left: 50%; transform: translate(-50%, 105%); font-size: 1.3em; line-height: .92; }
.client:hover .client__a { transform: translateY(-105%); }
.client:hover .client__b { transform: translate(-50%, 0); }
.clients__grid:hover .client:not(:hover) { opacity: .42; }

/* =========================================================
   07 · CONTACT
   ========================================================= */
.contact { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
/* Photo ancrée à droite sur ~70 % de la largeur ; dégradés exactement dans la couleur du fond (#0b0a0d) */
/* Bloc au format exact de la photo (16:9) sur 70 % de la largeur, centré verticalement : à cette échelle,
   la silhouette ET les écrans tiennent entre le titre et le bloc de contact. Haut et bas fondus (aucun bord). */
.contact__bg {
  position: absolute; right: 0; top: 50%; width: 70%; aspect-ratio: 16 / 9; z-index: -2; overflow: hidden;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.contact__bg picture { display: block; width: 110%; height: 110%; margin: -5% 0 0 -8%; } /* décalée vers la gauche : les écrans s'arrêtent avant le bloc de contact */
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; filter: blur(1.5px); }
.contact__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 10, 13,0) 16%, rgba(11, 10, 13,0) 80%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 30%, rgba(11, 10, 13,0) 60%),
    linear-gradient(270deg, rgba(11, 10, 13,.5) 0%, rgba(11, 10, 13,.5) 20%, rgba(11, 10, 13,0) 38%);
}
.contact__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding-top: 140px; padding-bottom: 120px; }
.contact__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 48px; }
.contact__mail { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; }
.copy-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); transition: color .3s, background .3s; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { color: var(--text); background: rgba(236, 232, 225, .08); }
.contact__aside { max-width: 290px; padding-left: 28px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 22px; }
.contact__pitch { font-size: 15px; line-height: 1.6; color: #d9d3c9; }
.mono-link, .contact__where { font: 400 11px/2 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; }
.mono-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.mono-link::after { bottom: 8px; }
.contact__where { color: var(--text-2); }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 22px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3);
}
.footer__sig { color: var(--text-2); }
.footer__legal { margin-left: 22px; color: var(--text-3); transition: color .3s; }
.footer__legal:hover { color: var(--text); }
.footer__top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text-2); transition: color .3s; }
.footer__top .ring { width: 30px; height: 30px; }
.footer__top:hover { color: var(--text); }
.footer__top:hover .ring { background: var(--text); color: var(--bg); border-color: var(--text); }

/* =========================================================
   LECTEUR VIDÉO (Frame.io : cadre 10px, halo violet, ombre portée)
   ========================================================= */
.player { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; }
.player[hidden] { display: none; }
.player__backdrop { position: absolute; inset: 0; background: rgba(4, 3, 5, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .6s; }
/* Le centre laisse passer les clics vers le fond (fermeture), sauf sur le film et la légende */
.player__stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; pointer-events: none; }
.player__frame {
  /* --r (largeur / hauteur) et --ar (aspect-ratio) sont posés par main.js selon le format du film */
  position: relative; pointer-events: auto; overflow: hidden; background: #000; border-radius: var(--r-card);
  width: min(calc(100vw - 2 * var(--gutter)), calc((100vh - 150px) * var(--r, 1.7778)));
  aspect-ratio: var(--ar, 16 / 9);
  box-shadow: var(--halo), 0 24px 48px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(30px) scale(.96);
  transition: opacity .6s, transform .9s var(--ease-out);
}
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__caption {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 2 * var(--gutter));
  font: 400 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
  opacity: 0; transform: translateY(10px); transition: opacity .6s .2s, transform .8s .2s var(--ease-out);
}
.player__title { margin-left: 6px; font: 400 16px/1 var(--f-sans); letter-spacing: -.01em; text-transform: none; color: var(--text); }
.player.is-open .player__backdrop { opacity: 1; }
.player.is-open .player__frame, .player.is-open .player__caption { opacity: 1; transform: none; }
.player__close {
  position: absolute; top: 18px; right: var(--gutter); z-index: 2; display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 400 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase;
}
.player__close .ring { font-size: 12px; }
.player__close:hover .ring { background: var(--text); color: var(--bg); transform: rotate(90deg); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 140; padding: 12px 20px; border-radius: 100px;
  background: var(--text); color: var(--bg); font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  transform: translate(-50%, 200%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hdr__nav { gap: 24px; }
}

@media (max-width: 900px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__bar { padding-left: 14px; }
  .hdr.is-scrolled .hdr__bar { max-width: 100%; }

  .hero { min-height: 720px; max-height: none; }
  .iris { --iris-size: 780px; left: 50%; top: 33%; }
  .iris__hud { display: none; }
  .hero__content { justify-content: flex-end; padding-top: 0; padding-bottom: 104px; }
  .hero__roles { margin-top: 20px; font-size: 10px; letter-spacing: .18em; }
  .hero__ctas { margin-top: 26px; }
  .hero__side { display: none; }
  .hero__cue { bottom: 26px; }

  .sec-head { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  /* Mobile : chaque cadre prend toute la largeur à son format, le texte passe dessous */
  .feature__screen { height: auto; display: flex; flex-direction: column; }
  .feature__frame,
  [data-format="9:16"] .feature__frame {
    position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none;
  }
  [data-format="9:16"] .feature__frame { aspect-ratio: 9 / 16; }
  [data-format="9:16"] .feature__frame::after { opacity: 0; }
  .feature__head,
  [data-format="9:16"] .feature__head {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; height: auto; width: auto;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 22px; padding: 30px var(--gutter) 0;
  }
  .feature__head .feature__desc, .feature__head .feature__desc[hidden] + .feature__play { margin-left: 0; }
  .chrome__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .chrome__play svg { width: 18px; height: 18px; }
  .chrome__bar { bottom: 16px; gap: 14px; }
  .feature__foot { flex-direction: column; align-items: stretch; padding-top: 28px; }
  .feature__nav { justify-content: space-between; }
  .feature__hint { white-space: normal; }
  .thumb { width: 104px; }

  .process__grid, .about__grid { grid-template-columns: 1fr; min-height: 0; }
  .process__media { min-height: 0; aspect-ratio: 4 / 5.4; }
  .process__body { border-left: 0; border-top: 1px solid var(--line); }
  .process__bts { width: 34%; }
  .process__bts figcaption { display: none; } /* mobile : le bloc reste petit pour ne pas couvrir le visage et la caméra */
  .tilt__pic--blur img { filter: blur(6px); }
  .bts__ig { letter-spacing: .1em; }
  .about__media { max-width: none; }
  .about__media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 10, 13,0) 40%); }

  .clients__grid { grid-template-columns: 1fr; }
  .client { height: 78px; justify-content: flex-start; padding-left: 64px; }
  .client:not(:nth-child(3n))::before { display: none; }
  .client__num { top: 50%; left: 18px; transform: translateY(-50%); }
  .client__name { text-align: left; font-size: clamp(24px, 7vw, 34px); }
  .client__b { left: 0; transform: translate(0, 105%); }
  .client:hover .client__b { transform: none; }

  /* Mobile : plein cadre derrière le texte, centrée sur la silhouette, voile sombre ~55 % */
  .contact__bg { top: 0; bottom: 0; width: 100%; aspect-ratio: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
  .contact__bg picture { width: 100%; height: 100%; margin: 0; }
  .contact__bg img { object-position: 50% center; }
  .contact__veil {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(11, 10, 13,0) 14%, rgba(11, 10, 13,0) 82%, var(--bg) 100%),
      linear-gradient(rgba(11, 10, 13,.55), rgba(11, 10, 13,.55));
  }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; padding-bottom: 72px; }
  .contact__ctas { flex-direction: column; align-items: flex-start; margin-top: 36px; }

  .menu__inner { grid-template-columns: 1fr; align-items: start; align-content: space-between; padding-top: 110px; }
  .menu__link { font-size: clamp(38px, 11vw, 64px); gap: 16px; }
  .menu__aside { padding-left: 18px; font-size: 14px; }

  .player__frame { width: min(calc(100vw - 2 * var(--gutter)), calc((100vh - 170px) * var(--r, 1.7778))); }
  .player__caption { flex-wrap: wrap; justify-content: center; }
  .player__close { top: 10px; }

  .footer__inner { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 16 / 8.4; }
  .card__tag > span { transform: none; font-size: 20px; }
  .card__tag { margin-bottom: 8px; }
  .hero__ctas .btn { min-height: 46px; padding-left: 20px; }
  .h-display { font-size: clamp(52px, 15.5vw, 80px); }
  .stat { padding-right: 18px; margin-right: 18px; }
  .menu-btn__label { display: none; }
  .feature__hint { display: none; } /* au doigt, le swipe va de soi */
  .menu-btn { padding-right: 6px; }
}

/* Écrans tactiles : pas d'effets qui dépendent du survol */
@media (hover: none) {
  .card__tag > span { transform: none; }
  .card--automotive .card__media img { filter: brightness(.78) saturate(.9); }
  .bts__ig { opacity: 1; transform: none; } /* pas de survol au doigt : le bouton reste visible */
  /* pas de survol « collé » après un tap */
  .client__b, .menu__b { display: none; }
  .client:hover .client__a, .menu__link:hover .menu__a { transform: none; }
  .clients__grid:hover .client:not(:hover), .menu__list:hover .menu__link:not(:hover) { opacity: 1; }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
