/* BeFramed : une projection. Titre en cinémascope, une pellicule qui défile, le générique pour les tarifs, un clap pour le contact. */
:root {
  color-scheme: dark;
  --yellow: #FFCC00; --ink: #070707; --screen: #0f0e0c; --paper: #F4F1E8; --sepia: #b9b2a3; --mute: #7d776c; --line: #24221e;
  --chalk: rgba(244,241,232,.22);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Poppins", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--paper); font: 400 15px/1.65 var(--body); margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* grain de pellicule + vignette */
#grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; opacity: .07; mix-blend-mode: screen; transition: opacity .6s; }
.vignette { transition: opacity .6s; }
/* pendant la lecture, la vidéo s'affiche telle quelle, sans grain ni vignette */
body.playing #grain, body.playing .vignette { opacity: 0; }
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 49; background: radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,.4) 100%); }

/* curseur mise au point (souris uniquement) */
@media (pointer: fine) { body.af, body.af a, body.af button, body.af .frame { cursor: none; } body.af input, body.af textarea { cursor: text; } }
.af-box { position: fixed; z-index: 55; left: 0; top: 0; width: 56px; height: 56px; pointer-events: none; transform: translate(-50%, -50%); transition: width .18s, height .18s; display: none; }
body.af .af-box { display: block; }
.af-box i { position: absolute; width: 12px; height: 12px; border: 2px solid var(--paper); transition: border-color .15s; }
.af-box i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.af-box i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.af-box i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.af-box i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.af-box.lock i { border-color: var(--yellow); }
.af-box.lock { animation: lock .25s ease; }
.af-box.dark i { border-color: var(--ink); }
@keyframes lock { 40% { transform: translate(-50%, -50%) scale(1.2); } }

/* ---------- titre d'ouverture, en cinémascope ---------- */
.open { position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; background: var(--screen); overflow: hidden; padding-inline: 16px; }
.open::before, .open::after { content: ""; position: absolute; left: 0; right: 0; height: 11%; background: var(--ink); z-index: 2; }
.open::before { top: 0; } .open::after { bottom: 0; }
.open-inner { position: relative; }
.beam { position: absolute; inset: -20%; background: radial-gradient(ellipse 40% 55% at 50% 45%, rgba(255,214,90,.16), transparent 70%); animation: flicker 3.2s steps(9) infinite; }
@keyframes flicker { 0%,100% { opacity: 1; } 22% { opacity: .82; } 41% { opacity: .95; } 63% { opacity: .78; } 80% { opacity: .92; } }
.dust { position: absolute; inset: 0; }
.credit-top { font: italic 400 clamp(18px, 2.6vw, 28px) var(--serif); color: var(--sepia); margin: 0 0 12px; animation: fade 1s ease .1s both; }
.open h1 { margin: 0; font: 400 clamp(64px, 17vw, 240px)/.86 var(--display); color: var(--yellow); letter-spacing: .015em;
  animation: weave .18s steps(2) infinite, rise 1.3s cubic-bezier(.2,.7,.2,1) both; text-shadow: 0 0 40px rgba(255,204,0,.25); }
@keyframes weave { 50% { transform: translate(.6px, -.8px); } }
@keyframes rise { from { letter-spacing: .25em; opacity: .2; filter: blur(8px); } }
@keyframes fade { from { opacity: 0; } }
.open .sub { font: 500 clamp(11px, 1.3vw, 14px) var(--mono); letter-spacing: .38em; text-transform: uppercase; margin: 18px 0 0; animation: fade 1s ease .6s both; }
.open .rating { position: absolute; z-index: 3; bottom: 3%; left: 0; right: 0; display: flex; justify-content: space-between; gap: 16px; padding-inline: 24px; font: 500 10px var(--mono); letter-spacing: .14em; color: var(--mute); }
.cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fade 1s ease .9s both; }
.btn { display: inline-block; text-decoration: none; font: 600 14px var(--body); padding: 13px 26px; border-radius: 999px; background: var(--yellow); color: var(--ink); border: 1px solid var(--yellow); transition: transform .2s, box-shadow .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,204,0,.25); }
.btn.ghost { background: transparent; color: var(--paper); border-color: #4a463f; }
.btn:focus-visible, a:focus-visible, .frame:focus-visible, .stage-close:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- navigation ---------- */
nav.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; color: var(--paper); background: rgba(7,7,7,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: color .25s, background .25s; }
nav.top.on-yellow { color: var(--ink); background: rgba(255,204,0,.9); }
nav.top .logo { font: 400 22px var(--display); text-decoration: none; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
nav.top .logo svg { width: 15px; height: 22px; }
nav.top .links { display: flex; gap: 22px; font: 500 13px var(--body); }
nav.top .links a { text-decoration: none; }

/* ---------- la bobine ---------- */
.section { padding-block: clamp(70px, 10vw, 130px); overflow-x: clip; }
.chapter { font: italic 400 clamp(20px, 2.4vw, 28px) var(--serif); color: var(--yellow); margin: 0 0 6px; }
h2 { margin: 0 0 22px; font: 400 clamp(40px, 6.5vw, 84px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.lede { max-width: 56ch; color: var(--sepia); margin: 0; }
.reel { position: relative; background: #000; padding-block: 26px; overflow: hidden; margin-top: 40px; transform: rotate(-1.5deg); width: 106%; margin-left: -3%; }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='7' y='2' width='16' height='10' rx='2.5' fill='%23F4F1E8'/%3E%3C/svg%3E") repeat-x var(--holes, 0px) 0 / 30px 14px; }
.reel::before { top: 6px; } .reel::after { bottom: 6px; }
.track { display: flex; gap: 10px; width: max-content; will-change: transform; }
/* la pellicule se tire à la main : le défilement vertical reste à la page */
.reel { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel.grabbing { cursor: grabbing; }
.reel.grabbing .frame { pointer-events: none; }
.frame { width: clamp(240px, 30vw, 380px); aspect-ratio: 16/9; background: repeating-linear-gradient(135deg, #141311 0 12px, #191815 12px 24px) center / cover; position: relative; border: 1px solid #222; overflow: hidden; padding: 0; font: inherit; color: inherit; text-align: center; }
button.frame { cursor: pointer; }
.frame .lbl { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 10px; }
.frame.has-video { background-size: cover; background-position: center; }
.frame.has-video .lbl { background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.1) 60%); place-content: end start; text-align: left; padding: 14px 16px; }
.frame b { font: 400 clamp(20px, 2.2vw, 28px)/1 var(--display); color: var(--paper); text-transform: uppercase; }
.frame i { font: italic 400 16px var(--serif); color: var(--sepia); }
.frame .no { position: absolute; left: 8px; top: 6px; font: 700 10px var(--mono); color: var(--yellow); letter-spacing: .1em; z-index: 1; }
.frame .play { position: absolute; left: 50%; top: 38%; width: 50px; height: 50px; margin: -25px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .2s; }
.frame .play::after { content: ""; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.frame.has-video b { font-size: clamp(18px, 1.8vw, 24px); }
.frame.vertical { width: clamp(150px, 15vw, 210px); aspect-ratio: 9/16; }
.frame.vertical .play { top: 44%; }
.frame.vertical.has-video .lbl { padding: 12px; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 45%); }
.frame.vertical.has-video b { font-size: clamp(16px, 1.45vw, 20px); }
.frame.vertical i { font-size: 14px; line-height: 1.2; }
.frame:hover { border-color: var(--yellow); }
.frame:hover .play { transform: scale(1.12); }
/* la bande-annonce : le showreel sur son propre écran */
.trailer { padding-bottom: 0; text-align: center; }
.screen-wrap { margin: 34px auto 0; max-width: min(960px, calc((100vh - 160px) * 16 / 9)); min-width: min(100%, 520px); }
.screen { display: block; position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; border: 1px solid #2a2722; background: #000 center / cover no-repeat; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; overflow: hidden;
  box-shadow: 0 0 0 10px #000, 0 40px 120px -30px rgba(255,204,0,.22); transition: border-color .25s, box-shadow .25s; }
.screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.05) 55%); }
.screen .play { position: absolute; left: 50%; top: 45%; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .25s; }
.screen .play::after { content: ""; border-left: 24px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.screen .lbl { position: absolute; left: 0; bottom: 0; padding: clamp(16px, 2.6vw, 30px); display: grid; gap: 4px; }
.screen b { font: 400 clamp(26px, 3.6vw, 46px)/1 var(--display); text-transform: uppercase; color: var(--paper); }
.screen i { font: italic 400 clamp(16px, 1.8vw, 22px) var(--serif); color: var(--sepia); }
.screen:hover { border-color: var(--yellow); box-shadow: 0 0 0 10px #000, 0 40px 140px -24px rgba(255,204,0,.32); }
.screen:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.screen.designed::before { display: none; }
.screen.designed .play { left: 64%; top: 46%; box-shadow: 0 0 0 8px rgba(7,7,7,.85), 0 12px 40px rgba(0,0,0,.5); }
.screen.playing { cursor: auto; }
.screen.playing::before { display: none; }
.screen video, .screen iframe, .stage-media video, .stage-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; display: block; }
.stage-media video { object-fit: cover; }
.screen video:focus { outline: none; }

/* le reel cliqué grandit hors de la pellicule */
.section { position: relative; }
.stage { position: absolute; z-index: 6; background: #000; transform: rotate(-1.5deg); border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,204,0,.55), 0 30px 90px rgba(0,0,0,.65);
  transition: left .45s cubic-bezier(.2,.8,.2,1), top .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1), transform .45s, border-radius .45s; }
.stage.flat { transform: none; }
.stage.grown { transform: none; border-radius: 10px; }
.stage-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.stage-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font: 700 15px var(--body); cursor: pointer; opacity: 0; transition: opacity .2s .3s, transform .2s; }
.stage.grown .stage-close { opacity: 1; }
.stage-close:hover { transform: scale(1.1); }
.reel .frame { transition: opacity .35s, filter .35s, border-color .2s; }
.reel.dim .frame:not(.lit) { opacity: .35; filter: grayscale(.7); }
.screen:focus-visible { outline: 2px solid var(--paper); outline-offset: 14px; }
.reel-note { margin-top: 30px; font: 500 12px var(--mono); color: var(--mute); text-align: center; }

.frame.ig { background: radial-gradient(circle at 30% 120%, rgba(255,204,0,.35), transparent 55%), radial-gradient(circle at 90% -10%, rgba(255,90,60,.25), transparent 50%), #141311; }


/* ---------- au générique = clients ---------- */
.cast { background: var(--screen); }
.cast-label { font: italic 400 clamp(20px, 2.4vw, 26px) var(--serif); color: var(--sepia); margin: 0 0 22px; }
.clients { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
.client { border: 1px solid var(--line); background: #0a0a09; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; transition: border-color .2s; }
.client:hover { border-color: #4a463f; }
.client-logo { min-height: 72px; display: flex; align-items: center; }
.client-logo img { max-height: 190px; max-width: min(320px, 100%); width: auto; object-fit: contain; }
.wordmark { font: 400 clamp(28px, 3.6vw, 46px)/1 var(--display); text-transform: uppercase; color: var(--paper); text-wrap: balance; }
.client.main .wordmark { color: var(--yellow); }
.client-role { margin: 0; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }
.stats div { min-width: 0; }
.stats dt { font: 400 clamp(28px, 3.4vw, 44px)/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; }
.stats dd { margin: 6px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--sepia); }
.client-reels { border-top: 1px solid var(--line); padding-top: 18px; }
.client-reels p { margin: 0 0 12px; font: italic 400 19px var(--serif); color: var(--sepia); }
.client-reels > div { display: flex; gap: 12px; flex-wrap: wrap; }
.mini { position: relative; width: 118px; aspect-ratio: 9/16; padding: 0; border: 1px solid #2a2722; border-radius: 6px; overflow: hidden; background: #111 center / cover; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, opacity .35s; }
.mini::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 50%); }
.mini .play { position: absolute; left: 50%; top: 42%; width: 36px; height: 36px; margin: -18px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .2s; }
.mini .play::after { content: ""; border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.mini .lbl { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; }
.mini b { font: 400 15px/1.05 var(--display); text-transform: uppercase; color: var(--paper); }
.mini i { font: italic 400 13px var(--serif); color: var(--sepia); }
.mini:hover { border-color: var(--yellow); }
.mini:hover .play { transform: scale(1.1); }
.mini.lit { opacity: .4; }
.participation { margin-top: clamp(56px, 8vw, 90px); text-align: center; }
.names { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px .9em; }
.names li { font: 400 clamp(30px, 5vw, 64px)/1.1 var(--display); text-transform: uppercase; color: var(--paper); transition: color .2s; }
.names li:hover { color: var(--yellow); }
.names li small { display: block; margin-top: 4px; font: italic 400 clamp(16px, 1.8vw, 21px)/1.2 var(--serif); text-transform: none; color: var(--sepia); }
.names { gap: 18px 2.2em; }
.names li.in { animation: credit 1s ease both; }
.cast-note { margin: 22px auto 0; max-width: 60ch; font: 500 12px/1.6 var(--mono); color: var(--mute); }
.tools { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { font: 500 11px var(--mono); letter-spacing: .08em; border: 1px solid #3a372f; color: var(--sepia); padding: 5px 11px; border-radius: 999px; }

/* ---------- générique = tarifs ---------- */
.credits { background: #000; text-align: center; position: relative; overflow: hidden; }
.credits .intro { max-width: 52ch; margin: 0 auto 50px; color: var(--sepia); }
.roll { max-width: 760px; margin: 0 auto; }
.role { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 14px 0; }
.role .l { text-align: right; font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--sepia); }
.role .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); transform: translateY(-3px); }
.role .r { text-align: left; font: 400 clamp(26px, 3.4vw, 40px)/1 var(--display); color: var(--paper); }
.role .r em { display: block; font: italic 400 15px/1.3 var(--serif); color: var(--mute); margin-top: 6px; }
.role.in { animation: credit 1s ease both; }
@keyframes credit { from { transform: translateY(24px); opacity: .25; } }
.volume { margin: 50px auto 0; max-width: 640px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.volume p { margin: 0 0 12px; font: italic 400 22px var(--serif); color: var(--yellow); }
.volume ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; font: 500 13px var(--mono); color: var(--paper); }
.fine { margin-top: 20px; font: 500 11px var(--mono); color: var(--mute); letter-spacing: .1em; }

/* ---------- le réalisateur ---------- */
.director { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.director blockquote { margin: 0 0 26px; font: italic 400 clamp(26px, 3.4vw, 42px)/1.15 var(--serif); color: var(--paper); text-wrap: balance; }
.director blockquote::before { content: "« "; color: var(--yellow); }
.director blockquote::after { content: " »"; color: var(--yellow); }
.director p { color: var(--sepia); max-width: 58ch; }
.sig { font: 400 30px var(--display); text-transform: uppercase; margin-top: 18px; }
.sig span { display: block; font: 500 11px var(--mono); letter-spacing: .24em; color: var(--yellow); margin-top: 4px; }
.still { position: relative; margin: 0; transform: rotate(2deg); background: var(--paper); padding: 12px 12px 46px; box-shadow: 0 30px 60px rgba(0,0,0,.6); transition: transform .4s; }
.still:hover { transform: rotate(0deg) scale(1.02); }
.still img { filter: sepia(.15) contrast(1.05); }
.still figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; font: 500 11px var(--mono); color: #3b3832; }

/* ---------- FIN = contact ---------- */
.fin { background: var(--yellow); color: var(--ink); position: relative; overflow: hidden; }
.fin .big { text-align: center; font: 400 clamp(110px, 26vw, 360px)/.8 var(--display); margin: 0; letter-spacing: .02em; }
.fin .tag { text-align: center; font: italic 400 clamp(22px, 3vw, 34px) var(--serif); margin: 18px 0 56px; }
.fin-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); max-width: 1000px; margin: 0 auto; align-items: start; }
.fin-lead { margin: 0 0 18px; font-size: 16px; max-width: 40ch; }
.lines { list-style: none; padding: 0; margin: 0; }
.lines li { border-bottom: 2px solid var(--ink); padding: 14px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lines .k { font: 700 11px var(--mono); letter-spacing: .14em; }
.lines a, .lines .v { font: 600 18px var(--body); text-decoration: none; user-select: all; }
.lines a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* le clap */
.slate { position: relative; padding-top: 52px; }
.clapper { position: absolute; left: 0; right: 0; top: 0; height: 52px; }
.stick { position: absolute; left: 0; right: 0; height: 24px; border-radius: 3px;
  background: repeating-linear-gradient(-60deg, var(--ink) 0 22px, var(--paper) 22px 44px); border: 2px solid var(--ink); }
.stick.base { bottom: 0; }
.stick.top { top: 2px; transform-origin: 6px 100%; transform: rotate(-6deg); transition: transform .12s cubic-bezier(.6,0,1,1); background: repeating-linear-gradient(60deg, var(--ink) 0 22px, var(--paper) 22px 44px); }
.slate:focus-within .stick.top { transform: rotate(-9deg); transition-duration: .4s; }
.slate.clap .stick.top, .slate.clap:focus-within .stick.top { transform: rotate(0deg); transition-duration: .12s; }
.board { background: var(--ink); color: var(--paper); border-radius: 0 0 6px 6px; padding: 18px 20px 20px; display: grid; gap: 4px; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.slate-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--chalk); margin-bottom: 10px; }
.slate-head span { padding: 8px 10px; font: 700 12px var(--mono); letter-spacing: .06em; border-right: 1px solid var(--chalk); overflow-wrap: anywhere; }
.slate-head span:last-child { border-right: 0; }
.slate-head small, .board label small { display: block; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 2px; }
.board label { display: block; padding: 10px 0 2px; border-bottom: 1px solid var(--chalk); }
.board label:focus-within { border-bottom-color: var(--yellow); }
.board input, .board select, .board textarea { display: block; width: 100%; font: 400 16px var(--body); color: var(--paper); background: transparent; border: 0; padding: 4px 0 8px; border-radius: 0; resize: vertical; }
.board select option { color: var(--ink); }
.board input::placeholder, .board textarea::placeholder { color: rgba(244,241,232,.35); }
.board input:focus, .board select:focus, .board textarea:focus { outline: none; }
.board label.bad { border-bottom-color: #ff6b5b; }
.slate-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.status { margin: 0; font: 500 12px var(--mono); color: var(--yellow); flex: 1; min-width: 12ch; }

footer { background: #000; color: var(--mute); font: 500 11px var(--mono); letter-spacing: .08em; padding-block: 22px calc(30px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--paper); }

/* ---------- mentions légales ---------- */
.legal { padding-block: 110px 80px; max-width: 760px; }
.legal h1 { font: 400 clamp(44px, 8vw, 80px)/.95 var(--display); text-transform: uppercase; margin: 0 0 30px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); margin: 36px 0 10px; }
.legal p { color: var(--sepia); }
.legal .todo { background: var(--yellow); color: var(--ink); padding: 0 .3em; border-radius: 3px; }

@media (max-width: 820px) {
  nav.top .links a:not(.contact-link) { display: none; }
  .director, .fin-grid, .clients { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .client { padding: 22px; }
  .still { max-width: 360px; }
  .role { grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: center; }
  .role .l, .role .r { text-align: center; }
  .role .dot { display: none; }
  .open .rating { font-size: 9px; padding-inline: 16px; }
}
@media (max-width: 480px) {
  .slate-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .slate-head span:nth-child(2) { border-right: 0; }
  .slate-head span:last-child { grid-column: 1 / -1; border-top: 1px solid var(--chalk); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #grain { display: none; }
}
