/* MC FILMS — charte « Viseur »
   Abysse #05080C · Nuit #0B1520 · Profondeur #10283A · Signal #EEC403
   Papier #EDE5D3 · REC #F0353B · Cendre #8E949B */

@font-face { font-family: "Barlow Condensed"; font-weight: 200; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-200-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 300; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 300; font-display: swap; src: url(../assets/fonts/barlow-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 300; font-style: italic; font-display: swap; src: url(../assets/fonts/barlow-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../assets/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../assets/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --abysse: #05080C;
  --nuit: #0B1520;
  --profondeur: #10283A;
  --signal: #EEC403;
  --papier: #EDE5D3;
  --papier-2: #B9B3A6;
  --rec: #F0353B;
  --cendre: #8E949B;
  --rule: rgba(237, 229, 211, .16);

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 5.2vw, 88px);
  --gap: clamp(16px, 2vw, 32px);
  --max: 1440px;
  --ca: .6px;              /* aberration chromatique, pilotée par la vitesse du scroll */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--abysse); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  color: var(--papier);
  background: var(--abysse);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw + 8px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
sup { font-size: .62em; line-height: 0; }
::selection { background: var(--signal); color: var(--abysse); }
:focus-visible { outline: 1.5px solid var(--signal); outline-offset: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--signal); color: var(--abysse); font-family: var(--f-mono); font-size: 13px; }
.skip:focus { top: 12px; }

/* Aberration chromatique des titres : rouge et cyan décalés, la couleur vient du mouvement */
.ca { text-shadow: calc(var(--ca) * -1) 0 0 rgba(255, 46, 84, .55), var(--ca) 0 0 rgba(0, 200, 255, .5); }

/* ---------- Couches fixes ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
main, .foot { position: relative; z-index: 2; }

.fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.fx-vignette { background: radial-gradient(120% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.fx-scan { background: repeating-linear-gradient(0deg, rgba(237, 229, 211, .028) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }
.fx-grain { inset: -50%; opacity: .11; mix-blend-mode: overlay; background-size: 220px 220px; will-change: transform; }

/* ---------- Viseur ---------- */
.hud { position: fixed; inset: 0; z-index: 41; pointer-events: none; }
.hud-corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(237, 229, 211, .38); }
.hud-corner.tl { left: 14px; top: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud-corner.tr { right: 14px; top: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud-corner.bl { left: 14px; bottom: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud-corner.br { right: 14px; bottom: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud-rec { position: absolute; right: var(--pad); top: 76px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--cendre); display: flex; align-items: center; gap: 8px; }
.hud-tc { color: var(--papier-2); font-variant-numeric: tabular-nums; }
.rec-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px rgba(240, 53, 59, .8); animation: rec 2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }

/* ---------- En-tête ---------- */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); transition: background .4s, backdrop-filter .4s; }
.top.is-scrolled { background: linear-gradient(rgba(5, 8, 12, .82), rgba(5, 8, 12, 0)); }
.top-logo { display: block; color: var(--papier); }
.top-logo svg { display: block; width: 150px; height: auto; }
.top-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.top-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.top-nav a { position: relative; padding: 6px 0; color: var(--papier-2); transition: color .25s; }
.top-nav a:hover, .top-nav a.is-active { color: var(--papier); }
.top-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); }
.top-cta { color: var(--abysse) !important; background: var(--papier); padding: 8px 14px !important; }
.top-cta:hover { background: var(--signal); }
.top-cta.is-active::after { display: none; }

/* Sélecteur de langue : un drapeau et un code par version. Les drapeaux sont les seules couleurs vives
   de l'en-tête, pour qu'on le repère au premier coup d'œil ; la version affichée est soulignée. */
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; }
.lang > a, .lang > span { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 7px; color: var(--papier-2); }
.lang > a:hover { color: var(--signal); }
.lang > [aria-current] { color: var(--papier); }
.lang > [aria-current]::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 2px; height: 1px; background: var(--signal); }
.flag { display: block; flex: none; width: 21px; height: 14px; box-shadow: 0 0 0 1px rgba(237, 229, 211, .4); }

/* ---------- Timeline de montage ---------- */
.timeline { position: fixed; left: var(--pad); right: var(--pad); bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 20px; }
.timeline-now { flex: none; display: flex; gap: 10px; align-items: baseline; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; min-width: 170px; }
.timeline-tc { color: var(--signal); }
.timeline-name { color: var(--papier-2); }
.timeline-track { position: relative; flex: 1; height: 22px; }
.timeline-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(237, 229, 211, .18); }
.timeline-progress { position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: rgba(237, 229, 211, .6); }
.timeline-head { position: absolute; top: 3px; bottom: 3px; width: 1px; left: 0; background: var(--signal); box-shadow: 0 0 8px rgba(238, 196, 3, .7); }
.tick { position: absolute; top: 0; bottom: 0; width: 22px; margin-left: -11px; padding: 0; border: 0; background: none; cursor: pointer; }
.tick::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: rgba(238, 196, 3, .7); }
.tick span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--papier); background: var(--nuit); padding: 4px 7px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.tick:hover span, .tick:focus-visible span { opacity: 1; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid rgba(237, 229, 211, .5); font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--papier); background: transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { border-color: var(--papier); background: rgba(237, 229, 211, .08); }
.btn-solid { background: var(--papier); color: var(--abysse); border-color: var(--papier); }
.btn-solid:hover { background: var(--signal); border-color: var(--signal); color: var(--abysse); }

/* ---------- Ouverture ---------- */
.hero { position: relative; height: 260vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.matte { position: absolute; left: 0; right: 0; height: var(--matte, 0px); background: #000; z-index: 3; }
.matte-top { top: 0; }
.matte-bottom { bottom: 0; }
.hero-fallback-logo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--papier); }
.hero-fallback-logo svg { width: min(34vw, 300px); height: auto; }
html.gl-on .hero-fallback-logo { display: none; }

.hero-copy { position: absolute; left: var(--pad); bottom: clamp(96px, 14vh, 150px); max-width: min(980px, 62vw); z-index: 4; }
@media (max-width: 820px) { .hero-copy { max-width: 86vw; } }
html.js .hero-copy { opacity: 0; }
.hero-title { font-family: var(--f-display); font-weight: 200; font-size: clamp(46px, 7.4vw, 128px); line-height: .94; letter-spacing: .005em; text-transform: uppercase; color: #F4EEE2; }
.hero-title .line { display: block; }
.hero-lede { margin-top: 26px; max-width: 58ch; color: var(--papier); opacity: .86; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cue { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--cendre); }
.hero-cue i { width: 1px; height: 38px; background: linear-gradient(var(--signal), transparent); animation: cue 2.2s cubic-bezier(.6, 0, .2, 1) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 16vh, 200px) var(--pad) 0; }
.marker { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(40px, 6vh, 72px); }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.icon * { vector-effect: non-scaling-stroke; }
.marker-tc { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--signal); text-shadow: 0 0 8px rgba(238, 196, 3, .45); }
.marker-name { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; }
.marker-rule { flex: 1; height: 1px; background: var(--rule); }

/* Manifeste */
.manifesto-text { font-family: var(--f-display); font-weight: 200; font-size: clamp(36px, 5.4vw, 92px); line-height: 1.02; max-width: 16.5em; color: #F4EEE2; }
.manifesto-text .w { display: inline-block; will-change: filter, opacity; }
.manifesto-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); margin-top: clamp(48px, 8vh, 96px); align-items: end; }
.manifesto-foot > p { max-width: 46ch; color: var(--papier-2); }
.broadcasters-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--cendre); margin-bottom: 16px; }
.broadcasters ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.broadcasters img { height: auto; opacity: .88; }
.broadcasters li:nth-child(1) img { width: 112px; }
.broadcasters li:nth-child(2) img { width: 72px; }
.broadcasters li:nth-child(3) img { width: 52px; }
.broadcasters li:nth-child(4) img { width: 24px; }
.broadcasters li:nth-child(6) img { width: 42px; }
.broadcasters-word { font-family: var(--f-display); font-weight: 500; font-size: 13px; line-height: 1.05; letter-spacing: .2em; text-transform: uppercase; max-width: 9em; text-align: center; opacity: .88; }

/* Films */
.film { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; margin-bottom: clamp(96px, 16vh, 180px); }
.film-frame { grid-column: 1 / span 7; margin: 0; position: relative; aspect-ratio: 16 / 9; }
.film-frame::before, .film-frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid rgba(237, 229, 211, .5); z-index: 1; pointer-events: none; }
.film-frame::before { left: -8px; top: -8px; border-top-width: 1px; border-left-width: 1px; }
.film-frame::after { right: -8px; bottom: -8px; border-bottom-width: 1px; border-right-width: 1px; }
.film-frame img, .portrait img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 0 0 1px rgba(237, 229, 211, .1), 0 20px 60px rgba(0, 0, 0, .55); }
html.gl-media .film-frame img, html.gl-media .portrait img { opacity: 0; box-shadow: none; }
.film-text { grid-column: 9 / span 4; }
.film-alt .film-frame { grid-column: 6 / span 7; order: 2; }
.film-alt .film-text { grid-column: 1 / span 4; order: 1; }
.film-meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--cendre); display: flex; align-items: center; gap: 9px; }
.film-title { margin-top: 12px; font-family: var(--f-display); font-weight: 500; font-size: clamp(38px, 4.4vw, 76px); line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: #F4EEE2; }
.film-role { margin-top: 12px; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--signal); }
.film-desc { margin-top: 18px; color: var(--papier-2); max-width: 42ch; }

/* Offres */
.offers-intro { max-width: 48ch; font-size: clamp(18px, 1.4vw, 22px); color: var(--papier); margin-bottom: clamp(40px, 7vh, 80px); }
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); padding: clamp(26px, 4vh, 40px) 0; border-top: 1px solid var(--rule); transition: background .35s; }
.offer:last-child { border-bottom: 1px solid var(--rule); }
.offer-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 3.6vw, 60px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; transition: color .3s, transform .5s cubic-bezier(.2, .7, .1, 1); }
.offer-body p { max-width: 52ch; color: var(--papier-2); }
.offer:hover .offer-title { color: var(--signal); transform: translateX(10px); }

/* Méthode */
.method-title { font-family: var(--f-display); font-weight: 200; font-size: clamp(40px, 5.6vw, 96px); line-height: 1; text-transform: uppercase; margin-bottom: clamp(56px, 9vh, 110px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: linear-gradient(90deg, var(--signal), rgba(238, 196, 3, .15)); }
.step { position: relative; padding-top: 40px; }
.step .icon { position: absolute; top: 0; left: 0; background: var(--abysse); box-shadow: 0 0 0 6px var(--abysse); }
.step-n { font-family: var(--f-mono); font-size: 12px; color: var(--signal); }
.step h3 { margin: 6px 0 12px; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.step p { color: var(--papier-2); font-size: .95em; max-width: 30ch; }

/* Profil */
.profile-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.portrait { grid-column: 1 / span 7; margin: 0; position: relative; aspect-ratio: 1600 / 967; }
.viewfinder { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.viewfinder i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(237, 229, 211, .7); }
.viewfinder i:nth-child(1) { left: 14px; top: 14px; border-top-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(2) { right: 14px; top: 14px; border-top-width: 1px; border-right-width: 1px; }
.viewfinder i:nth-child(3) { left: 14px; bottom: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(4) { right: 14px; bottom: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.viewfinder b { position: absolute; left: 22px; top: 20px; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; display: flex; gap: 7px; align-items: center; text-shadow: 0 0 4px #000; }
.profile-text { grid-column: 9 / span 4; }
.profile-name { font-family: var(--f-display); font-weight: 200; font-size: clamp(44px, 4.6vw, 80px); line-height: .95; text-transform: uppercase; color: #F4EEE2; }
.profile-role { margin: 10px 0 24px; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--signal); }
.profile-text > p:not([class]) { color: var(--papier-2); }
.profile-facts { margin: 28px 0 0; display: grid; gap: 12px; }
.profile-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .9em; }
.profile-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); padding-top: 3px; }
.profile-facts dd { margin: 0; }

/* Générique : le parcours mis en page comme un générique de fin */
.credits { margin: clamp(110px, 16vh, 200px) auto 0; max-width: 980px; text-align: center; }
.credits-head { font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .4em; text-transform: uppercase; color: var(--cendre); margin-bottom: 40px; }
.credits-list { margin: 0; display: grid; gap: 18px; }
.credits-list div { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: baseline; }
.credits-list dt { text-align: right; font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--cendre); }
.credits-list dd { margin: 0; text-align: left; font-family: var(--f-display); font-weight: 300; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; color: var(--papier); }
.credits-list dd span { display: inline-block; margin-left: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--signal); vertical-align: 2px; }
.credits-note { margin: 44px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); }

/* Contact */
.contact { padding-bottom: clamp(100px, 14vh, 160px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.contact-lead { grid-column: 1 / span 6; }
.contact-title { font-family: var(--f-display); font-weight: 200; font-size: clamp(54px, 8vw, 140px); line-height: .92; text-transform: uppercase; color: #F4EEE2; }
.contact-mail { display: inline-block; margin-top: 32px; font-family: var(--f-display); font-weight: 300; font-size: clamp(24px, 2.4vw, 38px); border-bottom: 1px solid var(--signal); padding-bottom: 4px; transition: color .25s; overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--signal); }
.contact-facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.contact-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); margin-bottom: 8px; }
.contact-facts dd { margin: 0; font-size: .92em; line-height: 1.6; }
.contact-facts a { border-bottom: 1px solid var(--rule); }
.contact-facts a:hover { color: var(--signal); border-color: var(--signal); }

.contact-form { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; align-content: start; padding-top: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); }
.field label span { color: rgba(142, 148, 155, .7); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--papier); background: rgba(11, 21, 32, .72); border: 1px solid rgba(237, 229, 211, .2); border-radius: 0; padding: 12px 14px; transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--papier-2) 50%), linear-gradient(135deg, var(--papier-2) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: rgba(16, 40, 58, .6); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: .92em; color: var(--papier-2); }
.form-status.is-ok { color: var(--papier); }
.form-status.is-error { color: #ff8a8e; }
.hp { position: absolute; left: -9999px; }

/* Pied de page */
.foot { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 96px; display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--rule); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); }
.foot-logo { width: 110px; color: var(--papier); margin-right: auto; }
.foot a:hover { color: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .film-frame, .film-alt .film-frame { grid-column: 1 / -1; order: 1; }
  .film-text, .film-alt .film-text { grid-column: 1 / span 10; order: 2; }
  .manifesto-foot { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .portrait { grid-column: 1 / -1; }
  .profile-text { grid-column: 1 / span 10; }
  .contact-lead, .contact-form { grid-column: 1 / -1; }
  .contact-form { margin-top: 56px; }
}
@media (max-width: 720px) {
  .top { padding: 16px var(--pad); }
  .top-logo svg { width: 118px; }
  .top-nav { font-size: 13px; }
  .hud-rec { top: 62px; font-size: 10px; }
  .hud-corner { display: none; }
  .timeline-now { min-width: 0; }
  .timeline-name { display: none; }
  .hero { height: 220vh; }
  .hero-copy { bottom: 92px; }
  .hero-lede { font-size: 15.5px; }
  .hero-cue { display: none; }
  .film-text, .film-alt .film-text, .profile-text { grid-column: 1 / -1; }
  .offer { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .credits-list div { grid-template-columns: 1fr; gap: 2px; text-align: center; }
  .credits-list dt, .credits-list dd { text-align: center; }
  .contact-facts { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .foot { flex-wrap: wrap; gap: 12px 24px; padding-bottom: 80px; }
  .foot-logo { width: 100%; margin: 0 0 8px; max-width: 120px; }
  .broadcasters ul { justify-content: flex-start; gap: 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .rec-dot, .hero-cue i { animation: none; }
  html.js .hero-copy { opacity: 1; }
  .offer-title { transition: none; }
}

.reduce .hero { height: 100vh; }

/* Pages secondaires */
.page { max-width: 760px; margin: 0 auto; padding: 140px var(--pad) 120px; position: relative; z-index: 2; }
.page h1 { font-family: var(--f-display); font-weight: 200; font-size: clamp(44px, 6vw, 84px); line-height: 1; text-transform: uppercase; margin-bottom: 40px; }
.page h2 { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--signal); margin: 44px 0 12px; }
.page p { color: var(--papier-2); margin-bottom: 12px; }
.page a { border-bottom: 1px solid var(--rule); }
.page a:hover { color: var(--signal); border-color: var(--signal); }
.todo { color: var(--signal); font-family: var(--f-mono); font-size: .85em; }

/* Fond derrière la timeline pour garder les chapitres lisibles */
.timeline::before { content: ""; position: absolute; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); bottom: -22px; height: 92px; background: linear-gradient(rgba(5, 8, 12, 0), rgba(5, 8, 12, .9) 70%); z-index: -1; pointer-events: none; }

/* Carton de fin */
.endcard { position: relative; height: 85vh; display: grid; place-items: center; }
.endcard-fallback { color: var(--papier); }
.endcard-fallback svg { width: min(34vw, 260px); height: auto; }
html.gl-on .endcard-fallback { visibility: hidden; }

/* =========================================================================
   v2 — typographie cinéma, showreel, films, dossiers
   ========================================================================= */
@font-face { font-family: "Antonio"; font-weight: 200; font-display: swap; src: url(../assets/fonts/antonio-latin-200-normal.woff2) format("woff2"); }
@font-face { font-family: "Antonio"; font-weight: 300; font-display: swap; src: url(../assets/fonts/antonio-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Antonio"; font-weight: 500; font-display: swap; src: url(../assets/fonts/antonio-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Antonio"; font-weight: 600; font-display: swap; src: url(../assets/fonts/antonio-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Antonio"; font-weight: 700; font-display: swap; src: url(../assets/fonts/antonio-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 300; font-display: swap; src: url(../assets/fonts/barlow-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --f-cine: "Antonio", "Barlow Condensed", "Arial Narrow", sans-serif; }

/* Grands titres : capitales condensées et élancées, façon affiche */
.hero-title { font-family: var(--f-cine); font-weight: 600; font-size: clamp(46px, 6.6vw, 128px); line-height: .94; letter-spacing: .01em; }
.manifesto-text { font-family: var(--f-cine); font-weight: 200; font-size: clamp(38px, 5.4vw, 92px); line-height: 1.04; letter-spacing: .002em; }
.film-title { font-family: var(--f-cine); font-weight: 600; font-size: clamp(46px, 5.6vw, 104px); line-height: .9; letter-spacing: .01em; }
.film-title a { color: inherit; }
.method-title { font-family: var(--f-cine); font-weight: 300; font-size: clamp(44px, 6vw, 108px); line-height: .96; }
.offer-title { font-family: var(--f-cine); font-weight: 300; font-size: clamp(38px, 4vw, 68px); line-height: 1; letter-spacing: .01em; }
.profile-name { font-family: var(--f-cine); font-weight: 300; font-size: clamp(50px, 5.2vw, 92px); line-height: .92; }
.contact-title { font-family: var(--f-cine); font-weight: 600; font-size: clamp(60px, 9vw, 164px); line-height: .88; }
.credits-list dd { font-family: var(--f-cine); font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: .01em; }

/* Showreel dans l'ouverture */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; pointer-events: none; }
html.gl-on .hero-video { opacity: 0; }
.play { width: 10px; height: 12px; fill: currentColor; flex: none; }
.hero-reel { position: absolute; left: var(--pad); bottom: clamp(70px, 10vh, 100px); z-index: 4; display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: var(--papier); cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.hero-reel .play { width: 34px; height: 34px; padding: 11px 10px 11px 13px; border: 1px solid rgba(237, 229, 211, .55); border-radius: 50%; box-sizing: border-box; transition: background .3s, color .3s, border-color .3s; }
.hero-reel em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--cendre); }
.hero-reel:hover .play { background: var(--signal); border-color: var(--signal); color: var(--abysse); }
html.js .hero-reel { opacity: 0; }

/* Films choisis : boucles vidéo */
.film-frame { display: block; cursor: pointer; }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.gl-media .film-frame video { opacity: 0; }
.frame-cta { position: absolute; right: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--papier); background: rgba(5, 8, 12, .55); padding: 7px 10px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.film-frame:hover .frame-cta, .film-frame:focus-visible .frame-cta { opacity: 1; transform: none; }
.film-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--papier); border-bottom: 1px solid var(--signal); padding-bottom: 4px; transition: color .25s; }
.film-link:hover { color: var(--signal); }
.film-title a:hover { color: var(--signal); }

/* Index des autres films */
.index { margin: clamp(40px, 6vh, 80px) 0 0; }
.index-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: end; margin-bottom: 26px; }
.index-head h3 { font-family: var(--f-cine); font-weight: 300; font-size: clamp(34px, 3.4vw, 58px); line-height: 1; text-transform: uppercase; }
.index-head p { color: var(--papier-2); max-width: 48ch; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.index-row { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr); gap: var(--gap); align-items: baseline; padding: 20px 0 18px; border-bottom: 1px solid var(--rule); color: var(--papier); }
.ix-title { font-family: var(--f-cine); font-weight: 500; font-size: clamp(30px, 3.2vw, 56px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; transition: transform .5s cubic-bezier(.2, .7, .1, 1), color .3s; }
.ix-client { color: var(--papier-2); font-size: .95em; }
.ix-role { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); }
.ix-year { font-family: var(--f-mono); font-size: 11.5px; color: var(--cendre); text-align: right; display: inline-flex; gap: 8px; justify-content: flex-end; align-items: center; }
.index-row:hover .ix-title, .index-row:focus-visible .ix-title { color: var(--signal); transform: translateX(12px); }
.index-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.index-row:hover::after { transform: scaleX(1); }

.preview { position: fixed; left: 0; top: 0; z-index: 45; width: clamp(240px, 22vw, 380px); aspect-ratio: 16 / 9; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.92); transition: opacity .3s, transform .5s cubic-bezier(.2, .7, .1, 1); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(237, 229, 211, .12); overflow: hidden; }
.preview.is-on { opacity: 1; }
.preview img, .preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview video { opacity: 0; transition: opacity .4s; }
.preview.has-video video { opacity: 1; }
@media (hover: none) { .preview { display: none; } }

/* ---------- Dossier d'un film ---------- */
.dossier { position: fixed; inset: 0; z-index: 60; background: var(--abysse); color: var(--papier); clip-path: inset(var(--clip, 0px 0px 0px 0px)); }
.dossier[hidden] { display: none; }
.dossier-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.dossier-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--pad); background: linear-gradient(rgba(5, 8, 12, .85), rgba(5, 8, 12, 0)); pointer-events: none; }
.dossier-bar > * { pointer-events: auto; }
.dossier-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--cendre); text-transform: uppercase; }
.dossier-tag b { font-weight: 400; color: var(--signal); }
.dossier-close { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid rgba(237, 229, 211, .5); background: rgba(5, 8, 12, .4); color: var(--papier); cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.dossier-close span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--cendre); }
.dossier-close:hover { background: var(--papier); color: var(--abysse); }

.d-hero { position: relative; height: min(86vh, 56.25vw + 120px); min-height: 460px; overflow: hidden; }
.d-media { position: absolute; inset: 0; }
.d-media img, .d-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 8, 12, .2) 40%, rgba(5, 8, 12, .95)), radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0, 0, 0, .5)); }
.d-head { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 6vh, 64px); max-width: var(--max); }
.d-meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--papier-2); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.d-title { margin-top: 14px; font-family: var(--f-cine); font-weight: 700; font-size: clamp(60px, 11vw, 210px); line-height: .86; letter-spacing: .005em; text-transform: uppercase; color: #F4EEE2; }
.d-role { margin-top: 16px; font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); }

.d-body { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vh, 110px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 96px); }
.d-logline { font-family: var(--f-cine); font-weight: 200; font-size: clamp(28px, 2.6vw, 44px); line-height: 1.12; color: #F4EEE2; margin-bottom: 32px; }
.d-main > p:not(.d-logline) { color: var(--papier-2); max-width: 60ch; margin-bottom: 16px; }
.d-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.d-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: .95em; }
.d-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); padding-top: 4px; }
.d-facts dd { margin: 0; }
.d-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 22px; margin-top: 36px; }
.d-metric b { display: block; font-family: var(--f-cine); font-weight: 600; font-size: clamp(44px, 4vw, 68px); line-height: 1; color: var(--signal); text-shadow: 0 0 18px rgba(238, 196, 3, .25); }
.d-metric span { display: block; margin-top: 6px; font-size: .9em; color: var(--papier-2); }
.d-note { margin-top: 22px; font-size: .92em; color: var(--papier-2); border-left: 1px solid var(--signal); padding-left: 14px; }
.d-confirm { margin-top: 26px; font-family: var(--f-mono); font-size: 11px; color: var(--signal); }

.d-watch { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(237, 229, 211, .12); }
.d-watch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.d-watch-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: none; color: var(--papier); cursor: pointer; }
.d-watch-btn .play { width: 64px; height: 64px; padding: 22px 19px 22px 25px; border: 1px solid rgba(237, 229, 211, .7); border-radius: 50%; box-sizing: border-box; transition: background .3s, color .3s; }
.d-watch-btn:hover .play { background: var(--signal); border-color: var(--signal); color: var(--abysse); }
.d-watch-btn strong { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.d-watch-btn small { font-family: var(--f-mono); font-size: 10.5px; color: var(--cendre); max-width: 40ch; text-align: center; line-height: 1.5; }
.d-watch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d-watch-title { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--cendre); }
.d-ask { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--rule); color: var(--papier-2); }
.d-ask a { color: var(--papier); border-bottom: 1px solid var(--signal); }

.d-stills { max-width: var(--max); margin: clamp(64px, 10vh, 120px) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.d-stills figure { margin: 0; position: relative; overflow: hidden; background: var(--nuit); }
.d-stills img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .1, 1); }
.d-stills figure:hover img { transform: scale(1.04); }

.d-next { max-width: var(--max); margin: clamp(80px, 12vh, 140px) auto 0; padding: 0 var(--pad) clamp(80px, 12vh, 140px); }
.d-next button { display: block; width: 100%; text-align: left; padding: 30px 0; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: none; color: var(--papier); cursor: pointer; }
.d-next small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--cendre); margin-bottom: 10px; }
.d-next span { font-family: var(--f-cine); font-weight: 600; font-size: clamp(44px, 7vw, 120px); line-height: .9; text-transform: uppercase; transition: color .3s; }
.d-next button:hover span { color: var(--signal); }
.d-in { opacity: 0; transform: translateY(24px); }

/* ---------- Showreel ---------- */
.reel { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(2, 4, 6, .94); padding: 70px var(--pad) 90px; }
.reel[hidden] { display: none; }
.reel-frame { position: relative; width: min(100%, calc((100vh - 200px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px rgba(237, 229, 211, .14), 0 40px 120px rgba(0, 0, 0, .7); }
.reel-player, .reel-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: .92em; color: var(--papier-2); }
.reel-foot b { font-family: var(--f-cine); font-weight: 600; letter-spacing: .04em; color: var(--papier); margin-right: 8px; }
.reel-foot p { margin-right: auto; }
.reel-foot a { color: var(--papier); border-bottom: 1px solid var(--signal); }
.reel-close { padding: 10px 16px; border: 1px solid rgba(237, 229, 211, .5); background: none; color: var(--papier); cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.reel-close:hover { background: var(--papier); color: var(--abysse); }

html.is-locked { overflow: hidden; }

@media (max-width: 1080px) {
  .index-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .ix-client { grid-column: 1; }
  .ix-role { grid-column: 1; }
  .ix-year { grid-column: 2; grid-row: 1; }
  .index-head { grid-template-columns: 1fr; }
  .d-body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-reel { bottom: 78px; }
  .dossier-bar { background: rgba(5, 8, 12, .92); padding: 14px var(--pad); }
  .d-hero { height: 78vh; }
  .d-stills { grid-template-columns: 1fr; }
  .d-stills figure { grid-column: auto !important; aspect-ratio: 16 / 9 !important; }
  .dossier-close span { display: none; }
  .reel { padding: 60px 0 120px; }
  .reel-foot { bottom: 20px; }
}
.reduce .d-in { opacity: 1; transform: none; }

.d-hero--type { height: auto; min-height: 0; padding: clamp(140px, 22vh, 220px) 0 0; }
.d-hero--type .d-head { position: relative; left: auto; right: auto; bottom: auto; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: var(--shade, 0); background: linear-gradient(90deg, rgba(5, 8, 12, .82) 0%, rgba(5, 8, 12, .45) 45%, rgba(5, 8, 12, 0) 75%), linear-gradient(0deg, rgba(5, 8, 12, .7), rgba(5, 8, 12, 0) 55%); }
@media (max-width: 720px) { .hero-shade { background: linear-gradient(0deg, rgba(5, 8, 12, .9) 10%, rgba(5, 8, 12, .3) 70%, rgba(5, 8, 12, 0)); } }


/* =========================================================================
   v3 — accents des capitales, calage des titres, visuels officiels
   Antonio : une capitale accentuée monte à 1,125 em. En dessous de 1,18 d'interlignage,
   l'accent mord sur la ligne du dessus.
   ========================================================================= */
.line { display: block; white-space: nowrap; }
.acc { line-height: 1.18 !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero-copy { max-width: min(1100px, 60vw); }
.hero-title { font-size: clamp(38px, min(7.1vw, 11vh), 128px); line-height: 1.18; }
.hero-lede { margin-top: 16px; }
.method-title { line-height: 1.18; }
.contact-title { font-size: clamp(54px, 8.2vw, 120px); line-height: 1.18; }
.manifesto-text { line-height: 1.18; }
.d-logline { line-height: 1.24; }
.credits-list dd { line-height: 1.25; }
@media (max-width: 1080px) { .contact-title { font-size: clamp(54px, 11vw, 120px); } }
@media (max-width: 820px) {
  .hero-copy { max-width: 88vw; }
  .hero-title { font-size: clamp(30px, min(10.4vw, 9vh), 80px); }
}
@media (max-width: 720px) {
  .method-title { font-size: 10.2vw; }
  .contact-title { font-size: 15.5vw; }
}

/* Cadres des films : le visuel officiel, entier, puis la boucle quand le film est au centre */
.film-frame { aspect-ratio: var(--ar, 16 / 9); }
.film-frame video { opacity: 0; transition: opacity .9s; }
.film-frame.is-live video { opacity: 1; }
html.gl-media .film-frame video { opacity: 0; }

/* Dossier : héros « affiche », montrée entière */
.d-hero--art { height: auto; min-height: 0; overflow: visible; padding-top: 74px; }
.d-art { position: relative; margin: 0; width: 100%; height: min(calc(100vw / var(--arn, 1.7778)), calc(100vh - 100px)); height: min(calc(100vw / var(--arn, 1.7778)), calc(100svh - 100px)); overflow: hidden; background: #000; }
.d-art-bg { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(36px) brightness(.45) saturate(1.1); }
.d-art-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.d-hero--art .d-head { position: relative; left: auto; right: auto; bottom: auto; max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 36px; }
.d-hero--art .d-role { margin-top: 0; }

/* Lecteur : la vignette officielle entière, le bouton dans le coin */
.d-watch-chip { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.d-watch--art img { opacity: 1; }
.d-watch--art .d-watch-btn { align-items: flex-start; justify-content: flex-end; padding: 18px; }
.d-watch--art .d-watch-chip { flex-direction: row; gap: 12px; padding: 9px 18px 9px 9px; background: rgba(5, 8, 12, .78); border: 1px solid rgba(237, 229, 211, .35); transition: background .3s, color .3s, border-color .3s; }
.d-watch--art .d-watch-chip .play { width: 38px; height: 38px; padding: 12px 11px 12px 14px; }
.d-watch--art .d-watch-btn:hover .d-watch-chip { background: var(--signal); border-color: var(--signal); color: var(--abysse); }
.d-watch--art .d-watch-btn:hover .play { background: none; border-color: var(--abysse); color: var(--abysse); }
.d-watch-title { line-height: 1.6; }
.d-keyart { margin: 40px 0 0; box-shadow: 0 0 0 1px rgba(237, 229, 211, .12); }
.d-keyart img { display: block; width: 100%; height: auto; }
.d-keyart + .d-ask { margin-top: 14px; }
.d-ask .rec-dot { margin-right: 10px; }

/* Galerie : images entières, sans recadrage */
.d-stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d-stills figure { grid-column: auto; aspect-ratio: 16 / 9; }
.d-stills figure:first-child, .d-stills figure:last-child:nth-child(even) { grid-column: 1 / -1; }

/* Affiche du film, entière */
.d-affiche { margin: clamp(64px, 10vh, 120px) auto 0; padding: 0 var(--pad); text-align: center; }
.d-affiche img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; max-height: min(92vh, 1100px); box-shadow: 0 0 0 1px rgba(237, 229, 211, .12), 0 40px 120px rgba(0, 0, 0, .6); }
.d-affiche figcaption { margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); }

@media (max-width: 720px) {
  .d-stills { grid-template-columns: 1fr; }
  .d-hero--art { padding-top: 62px; }
  .d-watch--art .d-watch-btn { padding: 10px; }
}

/* Barre du dossier : opaque dès qu'on fait défiler, pour que le texte ne passe pas dessous */
.dossier-bar { transition: background .3s; }
.dossier.is-scrolled .dossier-bar { background: linear-gradient(rgba(5, 8, 12, .98) 0%, rgba(5, 8, 12, .94) 62%, rgba(5, 8, 12, 0) 100%); padding-bottom: 30px; }

.d-meta .rec-dot { margin-right: 9px; }

/* Titres longs dans les dossiers */
.d-title.is-long { font-size: clamp(40px, 6.6vw, 124px); line-height: .94; max-width: 16em; }

/* Sous-titre d'un film (Lautan : The Lungs of Our Blue Planet) */
.film-sub, .d-sub { font-family: 'Barlow Condensed', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: #EDE5D3; opacity: .82; }
.film-sub { font-size: clamp(13px, 1.05vw, 17px); margin: 10px 0 2px; }
.d-sub { font-size: clamp(14px, 1.5vw, 24px); margin: .5em 0 .2em; }

/* Bouton du showreel : la vignette, avec le bouton de lecture posé dessus */
.hero-reel .reel-thumb { position: relative; flex: none; width: clamp(104px, 9.5vw, 136px); aspect-ratio: 16 / 9; overflow: hidden; box-shadow: 0 0 0 1px rgba(237, 229, 211, .32); }
.hero-reel .reel-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s; filter: brightness(.82); }
.hero-reel .reel-thumb .play { position: absolute; left: 50%; top: 50%; margin: -17px 0 0 -17px; background: rgba(5, 8, 12, .5); }
.hero-reel:hover .reel-thumb img { transform: scale(1.07); filter: brightness(1); }
@media (prefers-reduced-motion: reduce) { .hero-reel .reel-thumb img { transition: none; } }

/* ---------- Profil : un moniteur qui coupe d'une photo à l'autre au fil du récit ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.story-stage { grid-column: 1 / span 7; position: sticky; top: clamp(92px, 13vh, 132px); }
.stage { width: min(100%, calc((100vh - 236px) * 1.14)); width: min(100%, calc((100svh - 236px) * 1.14)); }
.stage-frame { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0d10; }
.stage-shot { position: absolute; inset: 0; opacity: 0; filter: blur(18px); transform: scale(1.08); transition: opacity .5s ease, filter .6s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); will-change: opacity, filter, transform; }
.stage-shot.is-on { opacity: 1; filter: blur(0); transform: none; z-index: 1; transition: opacity .75s ease, filter 1.05s cubic-bezier(.2, .7, .2, 1), transform 1.7s cubic-bezier(.2, .7, .2, 1); }
.stage-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage-shot.is-on img { animation: stage-push 14s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes stage-push { from { transform: scale(1); } to { transform: scale(1.05); } }
.pos-gestes img { object-position: 42% 50%; }
.pos-rire img { object-position: 100% 50%; }
.pos-direction img { object-position: 50% 16%; }
.stage-frame::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(5, 7, 10, .62), rgba(5, 7, 10, 0) 24%); box-shadow: inset 0 0 120px rgba(5, 7, 10, .5); }
.stage-frame .viewfinder { z-index: 3; }
.stage-meta { position: absolute; left: 22px; right: 22px; bottom: 19px; z-index: 3; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: #EDE5D3; text-shadow: 0 0 8px #000, 0 0 2px #000; }
.stage-cap { display: flex; align-items: center; gap: 9px; transition: opacity .22s; }
.stage-cap::before { content: ''; width: 16px; height: 1px; background: var(--signal); }
.stage-cap.is-out { opacity: 0; }
.stage-num { font-variant-numeric: tabular-nums; color: var(--papier-2); }

/* Relief 2.5D : un canevas par photo, posé sur l'image d'origine qui reste dessous en secours */
.relief { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.relief.is-ready { opacity: 1; }
.has-relief img { animation: none !important; }

/* La bande des cinq plans, avec sa tête de lecture */
.clips { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.clip { position: relative; display: block; padding: 0; border: 0; background: #0b0d10; aspect-ratio: 3 / 2; overflow: hidden; cursor: pointer; opacity: .34; transition: opacity .45s; }
.clip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip:hover { opacity: .75; }
.clip.is-on { opacity: 1; }
.clip:focus-visible { opacity: 1; outline-offset: 2px; }
.playhead { position: absolute; top: -5px; bottom: -5px; left: calc(var(--p, 0) * 100%); width: 1px; background: var(--signal); box-shadow: 0 0 8px rgba(238, 196, 3, .7); pointer-events: none; z-index: 2; }
.playhead::before { content: ''; position: absolute; left: -4px; top: -2px; border: 4.5px solid transparent; border-top-color: var(--signal); border-bottom-width: 0; }

/* Le récit */
.story-text { grid-column: 8 / span 5; padding: 0 0 clamp(60px, 13vh, 130px) clamp(0px, 1.6vw, 28px); }
.about-lead { margin: 26px 0 0; font-weight: 300; font-size: clamp(21px, 1.75vw, 29px); line-height: 1.34; color: #F4EEE2; text-wrap: balance; }
.beat { margin-top: clamp(76px, 15vh, 150px); }
.about-head + .beat { margin-top: clamp(54px, 10vh, 100px); }
.beat p { margin: 0; max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.62; color: var(--papier); }
.beat em { font-style: italic; }
.beat a { color: var(--signal); text-decoration: none; border-bottom: 1px solid currentColor; }
.story.is-live .beat p { opacity: .42; transition: opacity .6s ease; }
.story.is-live .beat.is-on p { opacity: 1; }
.story-facts { margin: clamp(44px, 8vh, 96px) 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* Les mêmes photos, posées dans le fil du texte (tablette et téléphone) */
.shot { position: relative; margin: 0; overflow: hidden; background: #0b0d10; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(5, 7, 10, .55), rgba(5, 7, 10, 0) 26%); box-shadow: inset 0 0 90px rgba(5, 7, 10, .45); }
.shot figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: #EDE5D3; text-shadow: 0 0 8px #000, 0 0 2px #000; white-space: nowrap; }
.shot figcaption::before { content: ''; width: 16px; height: 1px; background: var(--signal); }
.beat-shot { display: none; }
.r43 { aspect-ratio: 4 / 3; }
.r32 { aspect-ratio: 3 / 2; }
.r45 { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .story { display: block; }
  .story-stage { display: none; }
  .story-text { padding: 0; }
  .beat-shot { display: block; margin-bottom: 26px; }
  .beat-open { margin-bottom: 30px; }
  .beat, .about-head + .beat { margin-top: 30px; }
  .beat + .beat { margin-top: 58px; }
  .story.is-live .beat p { opacity: 1; }
  .story-facts { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
}
@media (max-width: 720px) {
  .beat-shot { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .shot figcaption { left: calc(var(--pad) + 2px); }
}
/* Les photos posées dans le texte glissent doucement dans leur cadre au défilement */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .beat-shot img { animation: shot-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; will-change: transform; }
    @keyframes shot-drift { from { transform: translateY(-3.4%) scale(1.08); } to { transform: translateY(3.4%) scale(1.08); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage-shot, .stage-shot.is-on { filter: none; transform: none; transition: opacity .3s; }
  .stage-shot.is-on img { animation: none; }
  .story.is-live .beat p { transition: none; }
}

/* En-tête des écrans étroits (téléphones, tablettes tenues droites) : deux lignes.
   En haut le logo et le bouton de contact ; dessous les sections à gauche, la langue à droite.
   La deuxième ligne est posée dans la marge basse de l'en-tête, qui porte aussi le fondu du fond. */
@media (max-width: 900px) {
  .top { padding-bottom: 66px; pointer-events: none; background: linear-gradient(rgba(5, 8, 12, .55), rgba(5, 8, 12, 0)); }
  .top a, .top .lang { pointer-events: auto; }
  .top.is-scrolled { background: linear-gradient(rgba(5, 8, 12, .94) calc(100% - 24px), rgba(5, 8, 12, 0)); }
  .top-links { position: absolute; left: var(--pad); bottom: 22px; gap: clamp(13px, 3.8vw, 30px); }
  .top-links a { padding: 9px 0; }
  .top .lang { position: absolute; right: calc(var(--pad) - 7px); bottom: 21px; }
  .hud-rec { top: 122px; }
  /* un chapitre appelé depuis le menu se pose sous l'en-tête et sous le compteur REC */
  .section { padding-top: max(16vh, 156px); }
}
@media (max-width: 720px) {
  .top { padding-bottom: 62px; }
  .section { padding-top: max(16vh, 142px); }
  .top-nav { letter-spacing: .1em; }
  .lang > a, .lang > span { gap: 6px; padding: 8px 5px; }
  .lang > [aria-current]::after { left: 5px; right: 5px; }
  .top .lang { right: calc(var(--pad) - 5px); }
  .hud-rec { top: 108px; }
}
@media (max-width: 380px) {
  .top-cta { padding: 8px 10px !important; letter-spacing: .08em; }
  .top-links { gap: 11px; }
  .top-nav { font-size: 12.5px; }
  .flag { width: 19px; height: 13px; }
}
/* Téléphone tenu couché : très peu de hauteur. Le titre rétrécit et la phrase d'introduction s'efface,
   pour que le titre et les deux boutons tiennent sous l'en-tête. */
@media (max-height: 520px) and (max-width: 960px) {
  .hero-title { font-size: clamp(28px, 9.4vh, 42px); }
  .hero-lede { display: none; }
  .hero-actions { margin-top: 18px; }
  .hero-copy { bottom: 66px; }
  .hero-reel { bottom: 62px; }
}
/* Très petits écrans : il ne reste de place que pour la langue vers laquelle on peut basculer */
@media (max-width: 345px) {
  .lang > [aria-current] { display: none; }
}

/* Version anglaise : « From investigation to screen. » est plus longue que la ligne française */
@media (max-width: 720px) { html:lang(en) .method-title { font-size: 7.9vw; } }

/* =========================================================================
   Distinctions : lauriers
   Deux branches en parenthèses autour du texte, dessinées par js/laurels.js.
   Feuilles pleines et dorées = prix remporté ; feuilles au trait = mention ou nomination.
   Les feuilles s'ouvrent une à une quand le laurier entre à l'écran (classe is-in).
   ========================================================================= */
.laurels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.laurel { color: var(--papier-2); }
.laurel--won { color: var(--signal); }
.laurel-wreath { position: relative; aspect-ratio: 260 / 120; container-type: inline-size; }
.laurel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.laurel--won svg { filter: drop-shadow(0 0 6px rgba(238, 196, 3, .3)); }
.laurel .lf { fill: none; stroke: currentColor; stroke-width: .85; opacity: .8; }
.laurel--won .lf { fill: currentColor; stroke: none; opacity: 1; }
.laurel .stem { fill: none; stroke: currentColor; stroke-width: .8; opacity: .5; }
.laurel-text { position: absolute; left: 19%; right: 19%; top: 47%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .36em; font-size: 12px; font-size: clamp(9px, 4.5cqw, 15px); }
.laurel-kicker { font-family: var(--f-mono); font-size: .78em; letter-spacing: .16em; text-transform: uppercase; color: currentColor; }
.laurel-prize { font-family: var(--f-display); font-weight: 600; font-size: 1.8em; line-height: .96; letter-spacing: .05em; text-transform: uppercase; color: #F4EEE2; text-wrap: balance; }
.laurel-org { font-family: var(--f-display); font-weight: 500; font-size: 1em; line-height: 1.15; letter-spacing: .15em; text-transform: uppercase; color: var(--papier); }
.laurel-cap { margin-top: 12px; text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--cendre); }

html.js .laurel .lf { opacity: 0; transform: scale(.35); transform-box: fill-box; transform-origin: center; transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--n, 0) * 150ms + var(--i) * 40ms); }
html.js .laurel .stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease calc(var(--n, 0) * 150ms); }
html.js .laurel .laurel-text, html.js .laurel .laurel-cap { opacity: 0; transition: opacity .8s ease calc(var(--n, 0) * 150ms + 420ms); }
html.js .laurel.is-in .lf { opacity: .8; transform: none; }
html.js .laurel--won.is-in .lf { opacity: 1; }
html.js .laurel.is-in .stem { stroke-dashoffset: 0; }
html.js .laurel.is-in .laurel-text, html.js .laurel.is-in .laurel-cap { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js .laurel .lf, html.js .laurel .stem, html.js .laurel .laurel-text, html.js .laurel .laurel-cap { transition: none; }
}

/* Carte du film : les prix remportés, côte à côte, avant le lien vers le dossier */
.laurels--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 480px; margin-top: 28px; }
.laurels--compact .laurel-text { top: 50%; font-size: clamp(9px, 5.4cqw, 14px); }
.laurels--compact .laurel-cap { margin-top: 8px; font-size: 10.5px; color: var(--papier-2); }
.laurels--compact + .film-link { margin-top: 26px; }

/* Dossier : toutes les distinctions du film */
.d-awards { max-width: var(--max); margin: clamp(64px, 10vh, 120px) auto 0; padding: 0 var(--pad); }
.d-awards-title { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 5vh, 52px); font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--cendre); }
.d-awards-title i { flex: 1; height: 1px; background: var(--rule); }
@media (max-width: 1080px) { .d-awards .laurels { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; } }
@media (max-width: 560px) { .d-awards .laurels { grid-template-columns: 1fr; justify-items: center; row-gap: 30px; } .d-awards .laurel { width: min(100%, 300px); } }

/* Sous les diffuseurs : la ligne des prix, qui ouvre le dossier du film primé */
.laureled { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; line-height: 1.7; letter-spacing: .06em; color: var(--cendre); }
.laureled a { display: inline-flex; align-items: flex-start; gap: 10px; }
.laureled b { font-weight: 400; color: var(--papier); transition: color .25s; }
.laureled a:hover b { color: var(--signal); }
.sprig { flex: none; width: 20px; height: 20px; margin-top: -2px; fill: var(--signal); filter: drop-shadow(0 0 5px rgba(238, 196, 3, .35)); }
.sprig-stem { fill: none; stroke: var(--signal); stroke-width: .8; opacity: .6; }
