/* ==========================================================================
   Contrôle Studio : socle commun (design system extrait de « Le film »).
   Mode d'emploi : SOCLE.md. Une page n'écrit aucune couleur littérale : tout passe par ces variables.
   Sommaire : 1 variables · 2 base · 3 typographie · 4 boutons, liens, pastilles · 5 cartes et petits composants
   6 portraits, signature, vidéo · 7 formulaires · 8 en-tête · 9 pied · 10 pages classiques · 11 grammaire film
   12 barre de lecture · 13 pop-up de réservation · 14 apparitions · 15 dessins SVG · 16 mouvement réduit
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  /* marque (fixes) */
  --accent: #3F47DD; --accent-2: #7A80F0; --sun: #F3C63F; --on-sun: #2A2000; --on-accent: #FFFFFF; --on-accent-muted: #DCDEFB;
  /* surfaces (changent en sombre) */
  --accent-text: #3F47DD;
  --bg: #FAF8F4; --bg-2: #ECEDFD; --surface: #FFFFFF; --text: #1D1F2B; --muted: #5E6274; --line: #E2DDEA;
  --accent-soft: #ECEDFD; --sun-soft: #FFF1C4; --ok: #15803D; --ok-soft: #DFF3E6; --warn: #C2413A; --warn-soft: #FBE3E0;
  /* la nuit (fixe dans les deux thèmes) : ciel, façades éteintes, texte sur nuit */
  --n0: #0B0D28; --n1: #101230; --n2: #14163A; --deep: #171A3F; --n3: #1B1E4A; --n4: #232759; --n5: #2B3072; --n6: #343873;
  --on-deep: #F4F3FB; --on-deep-muted: #B9BCE2;
  /* la rue de jour (change en sombre : le jour devient un petit matin indigo) */
  --d-sky: #D5E0FA; --d-sky2: #FFF4D2; --d-far: #C3CAF3; --d-b1: #FFFFFF; --d-b2: #F3EADB; --d-b3: #E3E0F8; --d-roof: #343873;
  --d-win: #B9CCF5; --d-shut: #3F47DD; --d-frame: #FFFFFF; --d-ground: #EFE8DB; --d-road: #CBC8DC; --d-mark: #FAF8F4;
  --d-glass: #D5E0FA; --d-leaf: #3E9A68; --d-trunk: #343873; --d-item: #3F47DD; --d-cloud: #FFFFFF; --d-figure: #262B66;
  /* ombres : triplet RVB à utiliser dans rgb(var(--shadow) / .3) */
  --shadow: 23 26 63;
  --ombre-1: 0 14px 34px -18px rgb(var(--shadow) / .5);
  --ombre-2: 0 50px 90px -50px rgb(var(--shadow) / .6);
  /* encre contextuelle : redéfinie par les fonds (nuit, jaune, indigo). Les composants s'en servent. */
  --ink: var(--text); --ink-2: var(--muted); --em: var(--accent-text); --trait: var(--line);
  /* typographie, mouvement, mesures */
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  --large: 1240px;
  --tete: 68px;   /* hauteur de l'en-tête des pages classiques */
  --bar: 0px;     /* hauteur de la barre de lecture : 52px sur les pages film (posé par site.js) */
  /* images du monde (nuit, donc fixes) */
  --img-rue-nuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 340 1600 700'%3E%3Cstyle%3E.r-far%7Bfill:%231B1E4A%7D.r-b1%7Bfill:%232B3072%7D.r-b2,.r-b3%7Bfill:%23232759%7D.r-roof%7Bfill:%2314163A%7D.r-win%7Bfill:%23171A3F%7D.r-lit%7Bfill:%23F3C63F%7D.r-shut%7Bfill:%231B1E4A%7D.r-bar%7Bstroke:%232B3072;stroke-width:3;fill:none%7D.r-ground%7Bfill:%231B1E4A%7D.r-road%7Bfill:%230B0D28%7D.r-mark%7Bfill:%23343873%7D.r-glass%7Bfill:%23F3C63F%7D.r-sign%7Bfill:%23101230%7D.r-signtxt%7Bfill:%23F3C63F;font:800 23px Arial,Helvetica,sans-serif;letter-spacing:3.5px%7D.r-aw1%7Bfill:%233F47DD%7D.r-aw2%7Bfill:%232B3072%7D.r-leaf%7Bfill:%23232759%7D.r-trunk%7Bfill:%2314163A%7D.r-door%7Bfill:%233F47DD%7D.r-item%7Bfill:%232A2000%7D.r-post%7Bfill:%2314163A%7D%3C/style%3E%3Cdefs%3E%3CradialGradient id='l'%3E%3Cstop offset='0' stop-color='%23F3C63F' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23F3C63F' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F3C63F' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%23F3C63F' stop-opacity='0'/%3E%3C/linearGradient%3E    %3Cg id='fen'%3E%3Crect class='r-shut' x='-13' width='11' height='66' rx='2'/%3E%3Crect class='r-shut' x='48' width='11' height='66' rx='2'/%3E%3Crect class='r-win' width='46' height='66' rx='3'/%3E%3Cpath class='r-bar' d='M23 0v66M0 30h46'/%3E%3C/g%3E%3Cg id='fen-lit'%3E%3Crect class='r-shut' x='-13' width='11' height='66' rx='2'/%3E%3Crect class='r-shut' x='48' width='11' height='66' rx='2'/%3E%3Crect class='r-lit' width='46' height='66' rx='3'/%3E%3Cpath class='r-bar' d='M23 0v66M0 30h46'/%3E%3C/g%3E    %3Cg id='rue-loin'%3E%3Cpath class='r-far' d='M-420 900V560h80v-50h60v50h90v-80h70v80h70v-40h70v-40h46v40h84v-90l44-44 44 44v90h96v-60h34v-30h22v30h44v60h60v-80l26-110 26 110v80h70v-70h120v-50h40v50h60v70h90v-110l50-40 50 40v110h80v-60h110v60h70v-90h36v-36h24v36h50v90h90v-70l40-34 40 34v70h170V900z'/%3E%3C/g%3E%3Cg id='rue-facades'%3E%3Crect class='r-b3' x='-420' y='610' width='460' height='280'/%3E%3Crect class='r-roof' x='-428' y='598' width='476' height='16' rx='3'/%3E%3Cuse href='%23fen' x='-330' y='650'/%3E%3Cuse href='%23fen' x='-200' y='650'/%3E%3Cuse href='%23fen' x='-70' y='650'/%3E%3Cuse href='%23fen' x='-330' y='770'/%3E%3Cuse href='%23fen' x='-70' y='770'/%3E%3Crect class='r-shut' x='-215' y='780' width='64' height='104' rx='5'/%3E%3Crect class='r-b2' x='40' y='640' width='290' height='250'/%3E%3Cpath class='r-roof' d='M28 642 185 566 342 642z'/%3E%3Crect class='r-roof' x='252' y='574' width='24' height='46'/%3E%3Cuse href='%23fen' x='92' y='676'/%3E%3Cuse href='%23fen' x='226' y='676'/%3E%3Cuse href='%23fen' x='92' y='786'/%3E%3Crect class='r-shut' x='216' y='784' width='62' height='100' rx='5'/%3E%3Crect class='r-b3' x='330' y='540' width='270' height='350'/%3E%3Cpath class='r-roof' d='M322 542l26-50h234l26 50z'/%3E%3Crect class='r-win' x='380' y='504' width='30' height='30' rx='3'/%3E%3Crect class='r-win' x='464' y='504' width='30' height='30' rx='3'/%3E%3Cuse href='%23fen' x='372' y='572'/%3E%3Cuse href='%23fen' x='456' y='572'/%3E%3Cuse href='%23fen' x='372' y='676'/%3E%3Cuse href='%23fen' x='456' y='676'/%3E%3Crect class='r-shut' x='436' y='786' width='58' height='98' rx='5'/%3E%3Cuse href='%23fen' x='366' y='790'/%3E%3Crect class='r-b1' x='600' y='540' width='400' height='350'/%3E%3Cpath class='r-roof' d='M592 542l26-48h364l26 48z'/%3E%3Cpath class='r-roof' d='M676 500v-26l26-20 26 20v26zM872 500v-26l26-20 26 20v26z'/%3E%3Crect class='r-win' x='691' y='474' width='22' height='22' rx='2'/%3E%3Crect class='r-win' x='887' y='474' width='22' height='22' rx='2'/%3E%3Cuse href='%23fen' x='665' y='574'/%3E%3Cuse href='%23fen-lit' x='777' y='574'/%3E%3Cuse href='%23fen' x='889' y='574'/%3E%3Crect class='r-sign' x='620' y='664' width='360' height='46' rx='10'/%3E%3Ctext class='r-signtxt' x='800' y='695' text-anchor='middle'%3EVOTRE ENSEIGNE%3C/text%3E%3Cpath class='r-aw1' d='M612 716h376l16 46H596z'/%3E%3Cpath class='r-aw2' d='M659 716h47l-6 46h-51zM753 716h47v46h-51zM847 716h47l6 46h-51zM941 716h47l16 46h-53z'/%3E%3Cpath class='r-aw1' d='M596 762a17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0 17 17 0 0 0 34 0z'/%3E%3Crect class='r-glass' x='628' y='786' width='234' height='90' rx='6'/%3E%3Cpath class='r-item' d='M650 876v-34q0-8 8-8h20q8 0 8 8v34zM660 834q8-30 0-40M668 834q-2-22 14-36' /%3E%3Cpath class='r-item' d='M656 836q-10-22 4-40 14 18 4 40zM672 836q-2-22 16-34 2 22-12 34z'/%3E%3Crect class='r-item' x='712' y='846' width='40' height='30' rx='4'/%3E%3Crect class='r-item' x='720' y='822' width='26' height='22' rx='4'/%3E%3Ccircle class='r-item' cx='792' cy='852' r='24'/%3E%3Crect class='r-item' x='822' y='816' width='22' height='60' rx='8'/%3E%3Crect class='r-door' x='884' y='780' width='86' height='110' rx='6'/%3E%3Crect class='r-glass' x='896' y='792' width='62' height='50' rx='4'/%3E%3Ccircle class='r-lit' cx='902' cy='856' r='4'/%3E%3Crect class='r-roof' x='620' y='876' width='250' height='14'/%3E%3Crect class='r-b2' x='1000' y='500' width='270' height='390'/%3E%3Crect class='r-roof' x='992' y='488' width='286' height='16' rx='3'/%3E%3Crect class='r-roof' x='1196' y='446' width='26' height='44'/%3E%3Cuse href='%23fen' x='1052' y='536'/%3E%3Cuse href='%23fen' x='1170' y='536'/%3E%3Cuse href='%23fen' x='1052' y='642'/%3E%3Cuse href='%23fen' x='1170' y='642'/%3E%3Crect class='r-roof' x='1036' y='752' width='198' height='20' rx='4'/%3E%3Crect class='r-shut' x='1040' y='776' width='190' height='108' rx='4'/%3E%3Cpath class='r-bar' d='M1040 796h190M1040 816h190M1040 836h190M1040 856h190'/%3E%3Crect class='r-b3' x='1270' y='440' width='290' height='450'/%3E%3Cpath class='r-roof' d='M1258 442l157-84 157 84z'/%3E%3Ccircle class='r-win' cx='1415' cy='410' r='14'/%3E%3Cuse href='%23fen' x='1322' y='478'/%3E%3Cuse href='%23fen' x='1462' y='478'/%3E%3Cuse href='%23fen' x='1322' y='584'/%3E%3Cuse href='%23fen' x='1462' y='584'/%3E%3Cuse href='%23fen' x='1322' y='690'/%3E%3Cuse href='%23fen' x='1462' y='690'/%3E%3Crect class='r-shut' x='1384' y='790' width='62' height='94' rx='5'/%3E%3Crect class='r-b2' x='1560' y='560' width='300' height='330'/%3E%3Crect class='r-roof' x='1552' y='548' width='316' height='16' rx='3'/%3E%3Cuse href='%23fen' x='1620' y='600'/%3E%3Cuse href='%23fen' x='1740' y='600'/%3E%3Cuse href='%23fen' x='1620' y='720'/%3E%3Cuse href='%23fen' x='1740' y='720'/%3E%3C/g%3E%3Cg id='rue-avant'%3E%3Crect class='r-ground' x='-420' y='884' width='2300' height='42'/%3E%3Crect class='r-mark' x='-420' y='922' width='2300' height='6'/%3E%3Crect class='r-road' x='-420' y='928' width='2300' height='120'/%3E%3Cpath class='r-mark' d='M-300 962h80v7h-80zM-120 962h80v7h-80zM60 962h80v7H60zM240 962h80v7h-80zM420 962h80v7h-80zM600 962h80v7h-80zM780 962h80v7h-80zM960 962h80v7h-80zM1140 962h80v7h-80zM1320 962h80v7h-80zM1500 962h80v7h-80zM1680 962h80v7h-80z'/%3E%3Crect class='r-post' x='534' y='640' width='9' height='246'/%3E%3Crect class='r-post' x='526' y='876' width='25' height='10' rx='3'/%3E%3Cpath class='r-post' d='M520 640h37l-6-34h-25z'/%3E%3Crect class='r-lit' x='528' y='612' width='21' height='24' rx='3'/%3E%3Crect class='r-trunk' x='1094' y='740' width='12' height='146'/%3E%3Ccircle class='r-leaf' cx='1100' cy='690' r='58'/%3E%3Ccircle class='r-leaf' cx='1058' cy='722' r='40'/%3E%3Ccircle class='r-leaf' cx='1144' cy='724' r='42'/%3E%3Ccircle class='r-leaf' cx='1106' cy='646' r='40'/%3E%3Cpath class='r-sign' d='M574 886l14-62h28l14 62z'/%3E%3Ccircle class='r-lit' cx='602' cy='850' r='8'/%3E%3Crect class='r-roof' x='978' y='858' width='30' height='28' rx='5'/%3E%3Ccircle class='r-leaf' cx='993' cy='844' r='18'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23rue-loin' transform='translate(0 -110)'/%3E%3Cuse href='%23rue-facades'/%3E%3Crect x='750' y='550' width='100' height='116' rx='30' fill='url(%23l)'/%3E%3Cpath d='M628 884h234l60 150H560z' fill='url(%23s)'/%3E%3Cpath d='M884 884h86l50 150H860z' fill='url(%23s)'/%3E%3Cuse href='%23rue-avant'/%3E%3Ccircle cx='538' cy='630' r='130' fill='url(%23l)'/%3E%3C/svg%3E");
  --img-plateau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'%3E%3Cdefs%3E    %3ClinearGradient id='g-proj' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23F4F3FB' stop-opacity='.02'/%3E%3Cstop offset='1' stop-color='%23F4F3FB' stop-opacity='.2'/%3E%3C/linearGradient%3E%3CradialGradient id='g-flaque'%3E%3Cstop offset='0' stop-color='%23F4F3FB' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23F4F3FB' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='grain' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .8 -.3'/%3E%3C/filter%3E%3C/defs%3E      %3Ccircle cx='150' cy='118' r='128' fill='none' stroke='%237A80F0' stroke-width='1.5' stroke-dasharray='2 9' stroke-linecap='round' opacity='.8'/%3E%3Cpath fill='%2314163A' d='M-60 322q210-30 420 0v138H-60z'/%3E%3Cpath fill='url(%23g-proj)' d='M112-60h76l92 430H20z'/%3E%3Cellipse cx='150' cy='366' rx='140' ry='22' fill='url(%23g-flaque)'/%3E%3Cellipse fill='%230B0D28' cx='152' cy='366' rx='86' ry='6' opacity='.6'/%3E%3Cg fill='none' stroke='%237A80F0' stroke-linecap='round'%3E%3Cpath stroke-width='5' d='M88 268l124 92M212 268L88 360'/%3E%3Cpath stroke-width='6' d='M72 362h36M192 362h36'/%3E%3Cpath stroke-width='6' d='M81 120v146M219 120v146'/%3E%3Cpath stroke-width='8' d='M62 214h36M202 214h36'/%3E%3C/g%3E%3Ccircle cx='81' cy='116' r='6' fill='%237A80F0'/%3E%3Ccircle cx='219' cy='116' r='6' fill='%237A80F0'/%3E%3Ccircle cx='150' cy='314' r='4.5' fill='%237A80F0'/%3E%3Cpath d='M84 130h132v50q-66 9-132 0z' fill='%23F4F3FB'/%3E%3Cpath d='M84 252h132v9q-66 11-132 0z' fill='%23F4F3FB'/%3E%3Crect x='-60' y='-60' width='420' height='520' filter='url(%23grain)' opacity='.4'/%3E%3C/svg%3E");
  --img-signature: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 0 320 96'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M14 70C20 40 34 8 46 12 58 16 40 58 26 72 18 80 10 74 20 66 36 54 58 62 70 58 80 54 84 38 78 36 70 34 66 56 76 60 88 64 96 44 104 42 110 40 106 60 114 60 124 60 128 30 140 14 146 6 150 14 144 28 138 44 132 62 142 62 154 62 160 44 170 44 176 44 172 60 180 60 190 60 196 46 206 46 212 46 208 58 216 58 230 58 244 50 262 40M96 84C150 70 230 66 304 74 260 72 220 78 190 88'/%3E%3C/svg%3E");
  --img-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --accent-text: #A3A8FF; --bg: #111330; --bg-2: #171A3F; --surface: #20244F; --text: #F2F1FA; --muted: #A9ACD0; --line: #353A75;
  --accent-soft: #2B3072; --sun-soft: #4B4018; --ok: #6ED79A; --ok-soft: #173A29; --warn: #FF9B93; --warn-soft: #4A2226;
  --d-sky: #1B1E4A; --d-sky2: #5158B8; --d-far: #2B3072; --d-b1: #454B9C; --d-b2: #3A3F86; --d-b3: #333878; --d-roof: #14163A;
  --d-win: #8A90EE; --d-shut: #7A80F0; --d-frame: #20244F; --d-ground: #262B66; --d-road: #171A3F; --d-mark: #343873;
  --d-glass: #FFE7A0; --d-leaf: #2F7F57; --d-trunk: #14163A; --d-item: #2A2000; --d-cloud: #343873; --d-figure: #0B0D28;
  --shadow: 0 0 0; color-scheme: dark; } }
:root[data-theme="dark"] {
  --accent-text: #A3A8FF; --bg: #111330; --bg-2: #171A3F; --surface: #20244F; --text: #F2F1FA; --muted: #A9ACD0; --line: #353A75;
  --accent-soft: #2B3072; --sun-soft: #4B4018; --ok: #6ED79A; --ok-soft: #173A29; --warn: #FF9B93; --warn-soft: #4A2226;
  --d-sky: #1B1E4A; --d-sky2: #5158B8; --d-far: #2B3072; --d-b1: #454B9C; --d-b2: #3A3F86; --d-b3: #333878; --d-roof: #14163A;
  --d-win: #8A90EE; --d-shut: #7A80F0; --d-frame: #20244F; --d-ground: #262B66; --d-road: #171A3F; --d-mark: #343873;
  --d-glass: #FFE7A0; --d-leaf: #2F7F57; --d-trunk: #14163A; --d-item: #2A2000; --d-cloud: #343873; --d-figure: #0B0D28;
  --shadow: 0 0 0; color-scheme: dark; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
/* sur fond jaune, le contour jaune ne se verrait pas */
.plan--jaune :focus-visible, .sur-jaune :focus-visible { outline-color: var(--on-sun); }
::selection { background: var(--sun); color: var(--on-sun); }
[id] { scroll-margin-top: calc(var(--tete) + 12px); }
.film [id] { scroll-margin-top: 0; }
.wrap { width: 100%; max-width: var(--large); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* contextes d'encre : à poser sur tout bloc à fond nuit, jaune ou indigo (les plans et sections le font déjà) */
.sur-clair, .carte { --ink: var(--text); --ink-2: var(--muted); --em: var(--accent-text); --trait: var(--line); color: var(--ink); }
.sur-nuit { --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6); color: var(--ink); }
.sur-jaune { --ink: var(--on-sun); --ink-2: var(--on-sun); --em: var(--accent); --trait: var(--on-sun); color: var(--ink); }
.sur-indigo { --ink: var(--on-accent); --ink-2: var(--on-accent-muted); --em: var(--sun); --trait: var(--accent-2); color: var(--ink); }

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4, .titre-xl, .titre-l, .titre-m, .titre-s { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-wrap: balance; color: var(--ink); }
h1, .titre-xl { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .95; letter-spacing: -.045em; }
h2, .titre-l { font-size: clamp(2.05rem, 4.3vw, 3.5rem); }
h3, .titre-m { font-size: clamp(1.4rem, 2.3vw, 1.95rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
h4, .titre-s { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
/* le deuxième ton : <em> dans un titre */
h1 em, h2 em, h3 em, h4 em, .titre-xl em, .titre-l em, .titre-m em, .plan__titre em, .voix em { font-style: normal; color: var(--em); }
em.bloc { display: block; }
.chapo { font: 500 clamp(1.05rem, 1.5vw, 1.28rem)/1.42 var(--body); color: var(--ink); max-width: 30em; text-wrap: pretty; }
.chapo b, .chapo strong { font-weight: 600; color: var(--em); }
.texte { color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.mini { font: 600 .8rem/1.3 var(--body); color: var(--ink-2); }
/* sur-titre : la « claquette » du film (point jaune, capitales espacées) */
.surtitre, .plan__surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 .74rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.surtitre::before, .plan__surtitre::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(243 198 63 / .22); }
.sur-jaune .surtitre::before, .plan--jaune .plan__surtitre::before, .plan--jaune .surtitre::before { background: var(--on-sun); box-shadow: none; }

/* ---------- 4. Boutons, liens, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--sun); color: var(--on-sun); font: 600 .98rem/1 var(--body); white-space: nowrap; cursor: pointer; box-shadow: var(--ombre-1); transition: transform .3s var(--ease), box-shadow .3s ease; }
.btn::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--img-fleche) center / contain no-repeat; mask: var(--img-fleche) center / contain no-repeat; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--indigo { background: var(--accent); color: var(--on-accent); }
.btn--nuit { background: var(--n1); color: var(--on-deep); }
.btn--contour { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn--xl { min-height: 62px; padding: 0 30px; font-size: 1.08rem; }
.btn--s { min-height: 40px; padding: 0 16px; font-size: .9rem; gap: 8px; }
.btn--s::after { width: 16px; height: 16px; }
.btn--nu::after { display: none; }
.btn--large { width: 100%; }
/* lien fléché */
.lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 .98rem/1.2 var(--body); color: var(--em); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.lien::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--img-fleche) center / contain no-repeat; mask: var(--img-fleche) center / contain no-repeat; transition: transform .3s var(--ease); }
.lien:hover::after { transform: translateX(4px); }
.sur-jaune .lien, .plan--jaune .lien { color: var(--on-sun); }
/* pastilles */
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font: 600 .7rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pastille--jaune { background: var(--sun); color: var(--on-sun); }
.pastille--indigo { background: var(--accent); color: var(--on-accent); }
.pastille--nuit { background: var(--n1); color: var(--on-deep); }
.pastille--ok { background: var(--ok-soft); color: var(--ok); }
.pastille--soleil { background: var(--sun-soft); color: var(--text); }
.pastille--contour { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.pastille--point::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* étiquette d'offre du film : « OFFRE  Le site vitrine » */
.offre { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--surface); color: var(--text); font: 600 .9rem/1.2 var(--body); box-shadow: var(--ombre-1); }
.offre i { font-style: normal; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
/* étiquette « exemple » pour les interfaces dessinées */
.exemple { font: 600 .68rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* ---------- 5. Cartes et petits composants ---------- */
.carte { position: relative; padding: clamp(20px, 2.6vw, 32px); border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--ombre-2); }
.carte--plate { box-shadow: 0 0 0 1px var(--line); }
.carte--ivoire { background: var(--bg); box-shadow: none; }
.carte--brume { background: var(--accent-soft); box-shadow: none; }
.carte--soleil { background: var(--sun-soft); box-shadow: none; }
.carte--nuit { background: var(--deep); box-shadow: var(--ombre-2); --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6); color: var(--ink); }
a.carte, .carte--lien { display: block; transition: transform .45s var(--ease), box-shadow .45s ease; }
a.carte:hover, .carte--lien:hover { transform: translateY(-6px); }
.carte > .exemple { position: absolute; top: 16px; right: 18px; }
/* liste d'engagements : coches jaunes (pas de numéros) */
.coches { display: grid; }
.coches li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); font: 600 clamp(1rem, 1.4vw, 1.12rem)/1.25 var(--body); color: var(--ink); }
.coches li:last-child { border-bottom: 0; }
.coches li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232A2000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat; }
.sur-jaune .coches li::before, .plan--jaune .coches li::before { box-shadow: 0 0 0 2px var(--on-sun); }
/* liste « libellé / valeur » du film (réassurance, générique) */
.fiche { display: grid; }
.fiche > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--trait); }
.fiche dt { font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fiche dd { font: 600 1rem/1.35 var(--body); color: var(--ink); }
/* parole des associés, en grand */
.voix p { max-width: 15em; font: 700 clamp(1.7rem, 3.1vw, 2.9rem)/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.voix footer { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- 6. Portraits des associés, signature, emplacement vidéo ---------- */
/* Le cadre portrait éditorial du film : plateau de tournage, fauteuil vide sous le projecteur, trame, grain, repères de coupe,
   viseur, pastille « Photo à venir ». Tout est en CSS : le HTML reste minuscule (voir SOCLE.md). */
.portraits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(30px, 4vw, 44px) clamp(22px, 3vw, 36px); align-items: start; padding: 13px; }
.portraits > .portrait:nth-child(even) { margin-top: clamp(18px, 3.4vw, 48px); }
.portraits > .portrait:nth-child(3n) { rotate: 1.6deg; }
.portrait { position: relative; margin: 0; --z: 1; --x: 0%; --y: -3.2%; --halo: var(--accent); }
.portrait--b { --z: 1.705; --x: -35.2%; --y: -6.4%; --halo: var(--sun); }
.portrait--c { --z: 1.538; --x: -10.3%; --y: -15.4%; --halo: var(--accent-2); }
.portrait__cadre { position: relative; aspect-ratio: 4 / 5; container-type: inline-size; transition: transform .5s var(--ease); }
.portrait--c .portrait__cadre { aspect-ratio: 3 / 4; }
.portrait:hover .portrait__cadre { transform: translateY(-6px); }
/* repères de coupe */
.portrait__cadre::before { content: ""; position: absolute; inset: -13px; pointer-events: none; --c: linear-gradient(var(--ink-2) 0 0);
  background: var(--c) left 13px top 0 / 1px 8px, var(--c) left 0 top 13px / 8px 1px, var(--c) right 13px top 0 / 1px 8px, var(--c) right 0 top 13px / 8px 1px,
    var(--c) left 13px bottom 0 / 1px 8px, var(--c) left 0 bottom 13px / 8px 1px, var(--c) right 13px bottom 0 / 1px 8px, var(--c) right 0 bottom 13px / 8px 1px; background-repeat: no-repeat; opacity: .8; }
/* le plateau : fond, halo, fauteuil, grain */
.portrait__plateau { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: linear-gradient(var(--n5), var(--n3) 70%, var(--n1)); box-shadow: 0 40px 70px -40px rgb(0 0 0 / .9); }
.portrait__plateau::before { content: "PRÉNOM"; position: absolute; left: var(--x); top: var(--y); width: calc(var(--z) * 100%); aspect-ratio: 3 / 4;
  padding-top: calc(48.4cqw * var(--z)); padding-left: .21em; text-align: center; font: 800 calc(6.3cqw * var(--z))/1 var(--display); letter-spacing: .21em; color: var(--deep);
  background: var(--img-plateau) center / 100% 100% no-repeat, radial-gradient(circle calc(32cqw * var(--z)) at 50% 29.5%, var(--halo) 98.5%, transparent 100%); }
/* trame de points */
.portrait__plateau::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, var(--on-deep) 1px, transparent 1.5px) 0 0 / 7px 7px; opacity: .2; -webkit-mask-image: linear-gradient(200deg, transparent 30%, #000); mask-image: linear-gradient(200deg, transparent 30%, #000); }
.portrait__viseur { position: absolute; inset: 9% 20% 46%; pointer-events: none; --c: linear-gradient(var(--on-deep) 0 0);
  background: var(--c) left top / 3px 20px, var(--c) left top / 20px 3px, var(--c) right top / 3px 20px, var(--c) right top / 20px 3px,
    var(--c) left bottom / 3px 20px, var(--c) left bottom / 20px 3px, var(--c) right bottom / 3px 20px, var(--c) right bottom / 20px 3px; background-repeat: no-repeat; animation: viseur 2.8s var(--ease) infinite; }
.portrait--b .portrait__viseur { animation-delay: -1.4s; } .portrait--c .portrait__viseur { animation-delay: -2.1s; }
@keyframes viseur { 50% { transform: scale(.95); } }
.portrait__rec, .portrait__avenir { position: absolute; left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: var(--n1); color: var(--on-deep); font: 600 .66rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.portrait__rec { top: 12px; }
.portrait__rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); animation: clignote 1.6s steps(2) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.portrait__avenir { bottom: 12px; box-shadow: inset 0 0 0 1px var(--on-deep-muted); }
.portrait figcaption { margin-top: 16px; font: 700 clamp(1.1rem, 1.8vw, 1.55rem)/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); }
.portrait figcaption span { display: inline-block; padding-bottom: 3px; border-bottom: 2px dashed var(--ink-2); }
.portrait figcaption small { display: block; margin-top: 6px; font: 500 .86rem/1.35 var(--body); letter-spacing: 0; color: var(--ink-2); }
@container (max-width: 190px) { .portrait__rec, .portrait__avenir { left: 8px; font-size: .56rem; padding: 4px 8px; letter-spacing: .1em; } .portrait__rec { top: 8px; } .portrait__avenir { bottom: 8px; } }

/* signature des associés : un tracé à l'encre, dans la couleur du deuxième ton */
.signature { display: inline-block; width: clamp(150px, 17vw, 220px); aspect-ratio: 320 / 96; flex: none; background: var(--em); -webkit-mask: var(--img-signature) center / contain no-repeat; mask: var(--img-signature) center / contain no-repeat; }
.signature--xl { width: clamp(190px, 24vw, 300px); }
.signe { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* emplacement vidéo : la pellicule du film, « 30 secondes pour nous voir » */
.video { position: relative; padding: 32px 14px; border-radius: 10px; background: var(--n2); }
.video::before, .video::after { content: ""; position: absolute; left: 6px; right: 6px; height: 13px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--n0) 0 16px, transparent 16px 34px); }
.video::before { top: 9px; } .video::after { bottom: 9px; }
.video__ecran { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--img-rue-nuit) 93.75% 37.5% / 166.67% auto no-repeat, linear-gradient(var(--n0), var(--deep) 55%, var(--n5)); }
.video__lire { position: absolute; left: 50%; top: 44%; width: clamp(60px, 8vw, 84px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--on-deep); background: var(--n0); opacity: .9; }
.video__lire::before { content: ""; position: absolute; inset: 32% 28% 32% 38%; background: var(--on-deep); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video__bas { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 26px 16px 12px; background: linear-gradient(transparent, var(--n0) 70%); color: var(--on-deep); font: 700 clamp(1rem, 1.8vw, 1.3rem)/1.1 var(--display); letter-spacing: -.02em; }
.video__bas span { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--sun); color: var(--on-sun); font: 600 .66rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- 7. Formulaires (pop-up, console) ---------- */
.champ label, .choix-titre { display: block; padding: 0; margin-bottom: 8px; font: 600 .72rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.champ input, .champ textarea { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font-size: 1rem; }
.champ textarea { padding: 12px 16px; resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; border-radius: 16px; }
.champ [aria-invalid="true"] { border-color: var(--warn); background: var(--warn-soft); }
.champ__erreur { margin-top: 6px; font: 600 .8rem/1.3 var(--body); color: var(--warn); }
.choix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choix label { display: grid; place-items: center; min-height: 48px; padding: 0 4px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 600 .95rem/1.1 var(--body); text-align: center; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s; }
.choix label:hover { transform: translateY(-2px); border-color: var(--accent-text); }
.choix input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.04); }
.choix input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.choix input:disabled + label { opacity: .45; text-decoration: line-through; cursor: not-allowed; transform: none; border-style: dashed; }

/* ---------- 8. En-tête de site (injecté par site.js) ---------- */
#site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.tete { position: relative; background: var(--bg); transition: box-shadow .3s ease; }
.tete::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: env(safe-area-inset-top, 0px); background: inherit; }
.tete.defile { box-shadow: 0 1px 0 var(--line), 0 18px 30px -28px rgb(var(--shadow) / .5); }
.tete__in { display: flex; align-items: center; gap: 10px; min-height: var(--tete); }
.tete__passer { position: absolute; left: var(--gl); top: 10px; z-index: 2; padding: 12px 16px; border-radius: 999px; background: var(--n0); color: var(--on-deep); font: 600 .9rem/1 var(--body); transform: translateY(-200%); }
.tete__passer:focus { transform: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--text); font: 800 1.08rem/1 var(--display); letter-spacing: -.02em; white-space: nowrap;
  --k-top: var(--surface); --k-base: #C5C8DC; --k-line: var(--line); --k-text: var(--text); }
:root[data-theme="dark"] .logo { --k-base: #0B0D28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { --k-base: #0B0D28; } }
/* Logo Contrôle Studio : rangée du bas d'un clavier. Sur téléphone, seules ctrl et la barre d'espace restent. */
.cs { display: block; flex: none; height: 38px; width: calc(38px * 432 / 76); overflow: hidden; }
.cs-base { fill: var(--k-base); }
.cs-top { fill: var(--k-top); stroke: var(--k-line); stroke-width: 1; }
.cs-k1 .cs-base { fill: #262B8F; }
.cs-k1 .cs-top { fill: var(--accent); stroke: var(--accent); }
.cs-lab { fill: var(--on-accent); font: 700 20px/1 ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace; }
.cs-mot { fill: var(--k-text); font: 800 31px/1 var(--display); letter-spacing: -.5px; }
.cs-k, .cs-face { transform-box: view-box; }
.cs-k4 { transform-box: fill-box; transform-origin: left center; }
/* animation : appui sur ctrl (qui s'allume), les touches se déroulent, « studio » se tape */
.logo.joue .cs-k1 { animation: cs-chute .45s cubic-bezier(.2,.9,.3,1.3) both; }
.logo.joue .cs-k1 .cs-face { animation: cs-appui .5s ease-in-out .55s both; }
.logo.joue .cs-k1 .cs-top { animation: cs-allume .3s ease .7s both; }
.logo.joue .cs-k1 .cs-base { animation: cs-allume-socle .3s ease .7s both; }
.logo.joue .cs-k1 .cs-lab { animation: cs-allume-txt .3s ease .7s both; }
.logo.joue .cs-k2 { animation: cs-roule .35s cubic-bezier(.2,.9,.3,1.2) .95s both; }
.logo.joue .cs-k3 { animation: cs-roule .35s cubic-bezier(.2,.9,.3,1.2) 1.1s both; }
.logo.joue .cs-k2 .cs-face { animation: cs-tape .3s ease-in-out 1.15s both; }
.logo.joue .cs-k3 .cs-face { animation: cs-tape .3s ease-in-out 1.3s both; }
.logo.joue .cs-k4 { animation: cs-pousse .5s cubic-bezier(.2,.9,.3,1.05) 1.25s both; }
.logo.joue .cs-l { animation: cs-lettre .05s linear both; }
.logo.joue .cs-l:nth-child(1) { animation-delay: 1.75s; } .logo.joue .cs-l:nth-child(2) { animation-delay: 1.84s; }
.logo.joue .cs-l:nth-child(3) { animation-delay: 1.93s; } .logo.joue .cs-l:nth-child(4) { animation-delay: 2.02s; }
.logo.joue .cs-l:nth-child(5) { animation-delay: 2.11s; } .logo.joue .cs-l:nth-child(6) { animation-delay: 2.2s; }
@keyframes cs-chute { from { opacity: 0; transform: translateY(-18px); } }
@keyframes cs-appui { 40%, 60% { transform: translateY(4px); } }
@keyframes cs-tape { 50% { transform: translateY(3px); } }
@keyframes cs-roule { from { opacity: 0; transform: translateX(-26px); } }
@keyframes cs-pousse { from { opacity: 0; transform: scaleX(.15); } 30% { opacity: 1; } }
@keyframes cs-lettre { from { visibility: hidden; } to { visibility: visible; } }
@keyframes cs-allume { from { fill: var(--k-top); stroke: var(--k-line); } }
@keyframes cs-allume-socle { from { fill: var(--k-base); } }
@keyframes cs-allume-txt { from { fill: var(--k-text); } }
.nav { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; color: var(--muted); font: 500 .93rem/1 var(--body); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--text); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); font-weight: 600; }
.nav a[aria-current="page"]::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sun); }
.nav__reserver { display: none; }
.tete__menu { display: none; position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--accent-soft); color: var(--text); }
.tete__menu span, .tete__menu span::before { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.tete__menu span { top: 17px; }
.tete__menu span::before { content: ""; left: 0; top: 8px; }
.tete__menu[aria-expanded="true"] span { transform: translateY(4px) rotate(45deg); }
.tete__menu[aria-expanded="true"] span::before { transform: translateY(-8px) rotate(-90deg); }

/* pages film : l'en-tête se pose sur le premier plan (deux pastilles nuit) et part avec lui ; le bouton vit dans la barre de lecture */
.page-film #site-header { position: absolute; left: 0; right: 0; }
.page-film .tete, .page-film .tete.defile { background: none; box-shadow: none; }
.page-film .tete::before { display: none; }
.page-film .tete__in { min-height: 0; padding-top: 14px; }
.page-film .tete .logo { padding: 0 12px; border-radius: 999px; background: var(--n1); color: var(--on-deep); box-shadow: 0 10px 30px -14px rgb(var(--shadow) / .7); }
.page-film .tete .logo, .pied .logo { --k-top: var(--n4); --k-base: #05061A; --k-line: var(--n6); --k-text: var(--on-deep); }
.page-film .tete__reserver { display: none; }
.page-film .tete__menu { background: var(--n1); color: var(--on-deep); box-shadow: 0 10px 30px -14px rgb(var(--shadow) / .7); }
@media (min-width: 941px) {
  .page-film .nav { margin-right: 0; padding: 4px; border-radius: 999px; background: var(--n1); box-shadow: 0 10px 30px -14px rgb(var(--shadow) / .7); }
  .page-film .nav a:not(.btn) { min-height: 36px; font-size: .86rem; color: var(--on-deep-muted); }
  .page-film .nav a:not(.btn):hover { color: var(--on-deep); background: var(--n4); }
  .page-film .nav a[aria-current="page"] { color: var(--on-deep); background: var(--n5); }
}
@media (max-width: 940px) {
  .tete__menu { display: block; }
  .nav { display: none; position: absolute; left: var(--gl); right: var(--gr); top: calc(100% + 6px); margin: 0; padding: 10px; flex-direction: column; align-items: stretch; gap: 2px; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgb(var(--shadow) / .55); }
  .tete.menu-ouvert .nav { display: flex; animation: menu .35s var(--ease) both; }
  .nav a:not(.btn) { min-height: 54px; padding: 0 16px; border-radius: 16px; color: var(--text); font: 700 1.3rem/1 var(--display); letter-spacing: -.03em; }
  .page-film .nav__reserver { display: inline-flex; margin-top: 8px; }
  .tete__in { gap: 8px; }
  .logo { gap: 8px; font-size: 1rem; min-width: 0; }
  .tete__reserver { min-height: 40px; padding: 0 14px; font-size: .88rem; box-shadow: none; }
  .tete__reserver::after { display: none; }
}
@media (max-width: 560px) {
  .cs { height: 32px; width: calc(32px * 302 / 76); }
  .cs-k2, .cs-k3 { display: none; }
  .cs-k4w { transform: translateX(-130px); }
}
@keyframes menu { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- 9. Pied de page (injecté par site.js) ---------- */
.pied { position: relative; overflow: hidden; background: var(--n0); color: var(--on-deep); --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6);
  padding: clamp(44px, 6vw, 80px) 0 calc(84px + var(--bar) + env(safe-area-inset-bottom, 0px)); } /* 84px : la dernière ligne passe au-dessus de la bulle « Une question ? » */
.pied__haut { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(24px, 6vw, 96px); align-items: start; }
.pied__marque { display: grid; gap: 18px; justify-items: start; }
.pied__marque .logo { margin: 0; color: var(--on-deep); font-size: 1.2rem; }
.pied__marque p { max-width: 17em; font: 700 clamp(1.35rem, 2.4vw, 1.9rem)/1.1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.pied__marque p em { font-style: normal; color: var(--sun); }
.pied__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.pied__nav b { grid-column: 1 / -1; margin-bottom: 6px; font: 600 .72rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-muted); }
.pied__nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 1.12rem/1.1 var(--display); letter-spacing: -.02em; color: var(--on-deep); transition: color .2s; }
.pied__nav a:hover, .pied__nav a[aria-current="page"] { color: var(--sun); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-top: clamp(32px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--n5); font-size: .86rem; color: var(--on-deep-muted); }
.pied__bas b { font: 800 clamp(2.8rem, 10vw, 8rem)/.8 var(--display); letter-spacing: -.05em; color: var(--n4); white-space: nowrap; }
@media (max-width: 700px) { .pied__haut { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10. Pages classiques : sections, grilles, bandeau final ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.section--serree { padding-block: clamp(40px, 6vw, 80px); }
.section--brume { background: var(--bg-2); }
.section--surface { background: var(--surface); }
.section--nuit { background: var(--n1); --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6); color: var(--ink); }
.section__tete { max-width: 46rem; margin-bottom: clamp(28px, 4.5vw, 60px); }
.section__tete .chapo, .section__tete .texte { margin-top: 18px; }
.hero { position: relative; padding-block: clamp(36px, 6vw, 88px) clamp(48px, 8vw, 110px); }
.hero .chapo { margin-top: clamp(16px, 2.4vw, 26px); }
.hero__actions, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(22px, 3vw, 34px); }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.grille-2--haut { align-items: start; }
.grille-2--texte { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.grille-2--image { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.pile { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--g, 18px); justify-items: start; align-content: start; }
.pile > .surtitre { margin-bottom: 0; }
@media (max-width: 860px) {
  .grille-2, .grille-2--texte, .grille-2--image, .grille-3 { grid-template-columns: minmax(0, 1fr); }
  .grille-2 > .en-premier { order: -1; }
}
/* bandeau final de réservation : la rue, la nuit, la boutique allumée. Toujours <section class="reserver" id="reserver">. */
.reserver { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px 30px 0 0; background: linear-gradient(var(--n0), var(--deep) 55%, var(--n5)); --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6); color: var(--ink); }
.reserver::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--img-rue-nuit) 30% 100% / max(1300px, 118%) auto no-repeat; }
.reserver::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--n0) 8%, transparent 62%); opacity: .82; }
.reserver__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.reserver__titre { max-width: 9.5em; font-size: clamp(2.6rem, min(6.4vw, 10.6svh), 6rem); line-height: .93; letter-spacing: -.045em; }
/* la rue du fond s'agrandit avec la largeur de l'écran (hauteur de l'image : max(1300px, 118 %) / 2,29) ; sans place en dessous du texte,
   son enseigne remontait sous les titres longs (« 30 min, et on y voit clair. »). On garde sous le texte les six dixièmes de la hauteur de l’image : l’enseigne passe sous les pastilles. */
@media (min-width: 861px) { .reserver__in { padding-bottom: max(380px, 33vw); } }
.reserver .chapo { margin-top: clamp(14px, 2.2vw, 24px); max-width: 24em; }
.reserver .btn { margin-top: clamp(22px, 3vw, 34px); }
.reserver__notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 3vw, 34px); }
.reserver__notes li { padding: 8px 14px; border-radius: 999px; background: var(--n1); box-shadow: inset 0 0 0 1px var(--n6); font: 600 .84rem/1.2 var(--body); color: var(--on-deep); }
@media (max-width: 860px) {
  .reserver::before { background-size: 1000px auto; background-position: 72% 100%; }
  .reserver::after { background: linear-gradient(var(--n0) 30%, transparent 78%); }
  .reserver__in { padding-bottom: 300px; }
}

/* ---------- 11. Grammaire film ---------- */
.film { background: var(--n0); }
.plan { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 920px); display: grid; grid-template-columns: minmax(0, 1fr);
  --ink: var(--text); --ink-2: var(--muted); --em: var(--accent-text); --trait: var(--line); color: var(--ink); background: var(--bg);
  --p: .5; --c: 0; /* posés par site.js : --p progression 0..1 dans l'écran, --c écart au centre 1..-1 (0 = plan centré) */ }
.film > .plan:first-child { min-height: min(88svh, 860px); }
.plan--libre, .film > .plan--libre:first-child { min-height: 0; }
.plan--arrondi { border-radius: 30px 30px 0 0; margin-top: -30px; }
/* fonds */
.plan--ivoire { background: var(--bg); }
.plan--brume { background: var(--bg-2); }
.plan--jour { background: linear-gradient(var(--d-sky), var(--d-sky2) 62%); }
.plan--nuit, .plan--ciel, .plan--noir { --ink: var(--on-deep); --ink-2: var(--on-deep-muted); --em: var(--sun); --trait: var(--n6); }
.plan--nuit { background: var(--n1); }
.plan--ciel { background: linear-gradient(var(--n0), var(--deep) 55%, var(--n5)); }
.plan--noir { background: var(--n0); }
.plan--jaune { background: var(--sun); --ink: var(--on-sun); --ink-2: var(--on-sun); --em: var(--accent); --trait: var(--on-sun); }
.plan--indigo { background: var(--accent); --ink: var(--on-accent); --ink-2: var(--on-accent-muted); --em: var(--sun); --trait: var(--accent-2); }
/* texte et scène */
.plan__texte { position: relative; width: 100%; max-width: var(--large); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start;
  padding: 76px var(--gr) calc(var(--bar) + 40px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.plan--haut > .plan__texte { align-content: start; }
.plan--bas > .plan__texte { align-content: end; }
.film > .plan:first-child > .plan__texte { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
.plan__surtitre { margin-bottom: 18px; }
.plan__titre { font: 800 clamp(2.5rem, min(6.4vw, 10.6svh), 6.2rem)/.93 var(--display); letter-spacing: -.045em; text-wrap: balance; color: var(--ink); max-width: 11em; }
.plan__titre--xl { font-size: clamp(3.1rem, min(7.4vw, 12svh), 7.4rem); max-width: 9.6em; }
.plan__titre--m { font-size: clamp(2.3rem, min(5.4vw, 9.4svh), 5.2rem); }
.plan__phrase { margin-top: clamp(14px, 2.4svh, 24px); max-width: 25em; font: 500 clamp(1.05rem, 1.55vw, 1.32rem)/1.38 var(--body); color: var(--ink); text-wrap: pretty; }
.plan__phrase b, .plan__phrase strong { font-weight: 600; color: var(--em); }
.plan__texte > .btn, .plan__texte > .offre, .plan__texte > .lien, .plan__duo > * > .btn, .plan__duo > * > .offre, .plan__duo > * > .lien { margin-top: clamp(18px, 3svh, 30px); }
.plan__scene { position: absolute; inset: 0; z-index: -1; transform: scale(calc(1.04 - var(--c) * .05)); transform-origin: 50% 100%; will-change: transform; }
.plan__scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* la rue (viewBox 1600 × 1000, décor dessiné sur environ 2300 de large) : sur un écran bien plus large que haut, « slice » la grossissait
   d'après la largeur et la faisait remonter sous le titre. On garde l'échelle réglée sur la hauteur et on laisse voir les côtés,
   jusqu'à 2500 unités de large (écran 2,5 fois plus large que haut) ; au-delà seulement, la rue grossit. */
@media (min-width: 861px) {
  .plan > .plan__scene svg.rue--nuit, .plan > .plan__scene svg.rue--jour { inset: auto auto 0 50%; width: auto; height: max(100%, 40vw); aspect-ratio: 1600 / 1000; translate: -50% 0; }
}
.plan__calque { transform: translate3d(0, calc(var(--c) * var(--k, 0) * 1px), 0); will-change: transform; } /* parallaxe : style="--k:60" */
.plan__duo { justify-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.plan__art { display: block; width: 100%; height: auto; overflow: visible; }
.plan__suite { position: absolute; right: var(--gr); bottom: calc(var(--bar) + 18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.plan__suite::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); rotate: 90deg; animation: bas 1.8s var(--ease) infinite;
  -webkit-mask: var(--img-fleche) center / 18px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: var(--img-fleche) center / 18px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; }
@keyframes bas { 50% { transform: translateX(6px); } }
/* générique : crédits en deux colonnes */
.credits { display: grid; gap: 18px; }
.credits > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: baseline; }
.credits dt { text-align: right; font: 600 .74rem/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.credits dd { font: 700 clamp(1.15rem, 2.2vw, 1.7rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.credits dd em { font-style: normal; color: var(--em); }
@media (max-width: 860px) {
  .plan__texte { padding-top: 56px; }
  .film > .plan:first-child > .plan__texte { padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .plan__duo { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 26px; }
  .plan__suite span { display: none; }
  .credits > div { gap: 12px; }
}

/* ---------- 12. Barre de lecture des pages film (construite par site.js) ---------- */
.page-film { --bar: 52px; }
.lecteur { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); padding: 0 var(--gr) env(safe-area-inset-bottom, 0px) var(--gl); display: flex; align-items: center; gap: 14px; background: var(--n0); color: var(--on-deep); box-shadow: 0 -1px 0 var(--n6); font: 600 .78rem/1 var(--body); }
.lecteur__play { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); position: relative; }
.lecteur__play::before { content: ""; position: absolute; inset: 8px 7px 8px 10px; background: var(--on-sun); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.lecteur__piste { flex: 1; display: flex; gap: 5px; align-items: center; min-width: 0; }
.lecteur__piste a { flex: 1; height: var(--bar); display: grid; align-items: center; position: relative; min-width: 0; }
.lecteur__piste a::before, .lecteur__piste i { content: ""; grid-area: 1 / 1; height: 5px; border-radius: 3px; background: var(--n6); transition: height .2s; }
.lecteur__piste i { background: var(--sun); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.lecteur__piste a:hover::before, .lecteur__piste a:hover i, .lecteur__piste a:focus-visible::before, .lecteur__piste a:focus-visible i { height: 9px; }
.lecteur__piste a:focus-visible { outline-offset: -8px; }
.lecteur__tc { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--on-deep-muted); }
.lecteur__tc b { color: var(--on-deep); font-weight: 600; }
.lecteur__titre { white-space: nowrap; min-width: 11.5em; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.lecteur .btn { min-height: 38px; padding: 0 16px; font-size: .9rem; box-shadow: none; transition: transform .3s var(--ease), opacity .25s ease, visibility .25s; }
.lecteur.sans-btn .btn { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 860px) {
  .lecteur { gap: 10px; }
  .lecteur__titre, .lecteur__play { display: none; }
  .lecteur.sans-btn .btn { display: none; }
  .lecteur .btn { padding: 0 14px; font-size: .86rem; gap: 6px; }
}

/* ---------- 13. Pop-up de réservation (construit par site.js, ouvert par [data-reserver]) ---------- */
.rdv-ouvert { overflow: hidden; }
.rdv { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(20px, env(safe-area-inset-top, 0px)) var(--gr) max(20px, env(safe-area-inset-bottom, 0px)) var(--gl); }
.rdv__fond { position: absolute; inset: 0; background: rgb(11 13 40 / .74); animation: rdv-fond .3s ease both; }
.rdv__boite { position: relative; width: min(100%, 940px); max-height: 100%; overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "tete corps" "rassure corps";
  border-radius: 28px; background: var(--surface); color: var(--text); --ink: var(--text); --ink-2: var(--muted); --em: var(--accent-text); --trait: var(--line); box-shadow: 0 60px 120px -40px rgb(0 0 0 / .7); animation: rdv-entre .5s var(--ease) both; }
.rdv__boite:focus { outline: none; }
.rdv__tete { grid-area: tete; padding: 34px 30px 0; background: var(--deep); color: var(--on-deep); display: grid; justify-items: start; align-content: start; gap: 14px; }
.rdv__titre { font: 800 clamp(1.9rem, 3.2vw, 2.6rem)/.98 var(--display); letter-spacing: -.04em; color: var(--on-deep); }
.rdv__titre em { font-style: normal; color: var(--sun); }
.rdv__sous { font: 500 1rem/1.4 var(--body); color: var(--on-deep-muted); max-width: 20em; }
.rdv__rassure { grid-area: rassure; padding: 22px 30px 214px; color: var(--on-deep); --trait: var(--n6); --ink: var(--on-deep); --ink-2: var(--on-deep-muted);
  background: var(--img-rue-nuit) 50% 100% / 136% auto no-repeat, linear-gradient(var(--deep) 45%, var(--n5)); }
.rdv__rassure > div { grid-template-columns: 7.6em minmax(0, 1fr); padding: 11px 0; }
.rdv__rassure > div:first-child { border-top: 0; }
.rdv__rassure dd { font-size: .95rem; }
.rdv__corps { grid-area: corps; padding: 34px 30px 28px; border-left: 2px dashed var(--line); display: grid; align-content: center; }
.rdv__fermer { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease); }
.rdv__fermer:hover { transform: rotate(90deg); }
.rdv__fermer::before, .rdv__fermer::after { content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.rdv__fermer::after { transform: rotate(-45deg); }
.rdv__sujet { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-bottom: 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--accent-soft); font: 600 .92rem/1.2 var(--body); color: var(--text); }
.rdv__sujet span { padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.rdv fieldset { position: relative; margin-bottom: 18px; }
.rdv legend { float: none; }
.rdv__pris { position: absolute; right: 0; top: -25px; font: 500 .74rem/1.3 var(--body); color: var(--muted); }
.rdv__champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; align-items: start; }
.rdv__go { margin-top: 18px; min-height: 58px; font-size: 1.05rem; box-shadow: none; }
.rdv__note { margin-top: 12px; text-align: center; font: 500 .86rem/1.4 var(--body); color: var(--muted); }
.rdv__succes { position: relative; display: grid; justify-items: start; gap: 12px; padding: 8px 0; }
.rdv__succes:focus { outline: none; }
.rdv__succes h3 { font: 800 clamp(1.9rem, 3.2vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; padding-right: 104px; }
.rdv__succes > p { color: var(--muted); max-width: 22em; font-size: 1.05rem; }
.rdv__succes > p b { color: var(--text); font-weight: 600; }
.rdv__maquette { padding: 7px 13px; border-radius: 999px; background: var(--sun-soft); color: var(--text) !important; font: 600 .84rem/1.2 var(--body) !important; }
.rdv__suite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 8px; }
.rdv__autre { min-height: 44px; padding: 0; border: 0; background: none; font: 600 .95rem/1 var(--body); color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
.rdv__tampon { position: absolute; right: 0; top: 0; width: 92px; height: 92px; color: var(--ok); transform: rotate(-12deg); animation: rdv-tampon .6s var(--ease) both; }
@media (min-width: 761px) and (max-height: 680px) { .rdv__rassure { padding-bottom: 26px; background: var(--deep); } }
@keyframes rdv-tampon { from { transform: scale(2.4) rotate(-30deg); opacity: 0; } }
@keyframes rdv-fond { from { opacity: 0; } }
@keyframes rdv-entre { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@keyframes rdv-monte { from { transform: translateY(100%); } }
/* mobile : une feuille qui monte du bas */
@media (max-width: 760px) {
  .rdv { place-items: end stretch; padding: max(10px, env(safe-area-inset-top, 0px)) 0 0; }
  .rdv__boite { width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "tete" "corps" "rassure"; border-radius: 26px 26px 0 0; animation-name: rdv-monte; }
  .rdv__tete { position: relative; padding: 26px 70px 16px var(--gl); gap: 8px; }
  .rdv__tete::before { content: ""; position: absolute; left: 50%; top: 9px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: var(--n6); }
  .rdv__tete .pastille { order: 2; font-size: .62rem; padding: 5px 9px; }
  .rdv__titre { font-size: 1.55rem; }
  .rdv__sous { display: none; }
  .rdv__fermer { top: 18px; right: max(12px, env(safe-area-inset-right, 0px)); background: var(--n5); color: var(--on-deep); box-shadow: none; }
  .rdv__corps { padding: 16px var(--gr) 16px var(--gl); border-left: 0; align-content: start; }
  .rdv__sujet { margin-bottom: 12px; font-size: .86rem; }
  .rdv fieldset { margin-bottom: 12px; }
  .rdv .champ label, .rdv .choix-titre { margin-bottom: 6px; letter-spacing: .08em; font-size: .68rem; }
  .rdv__pris { top: -21px; font-size: .7rem; }
  .rdv .choix { gap: 6px; }
  .rdv .choix label { min-height: 44px; font-size: .86rem; border-radius: 14px; }
  .rdv__champs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; }
  .rdv .champ input { min-height: 46px; padding: 0 12px; }
  .rdv__go { margin-top: 14px; min-height: 52px; }
  .rdv__note { margin-top: 8px; font-size: .8rem; }
  .rdv__rassure { padding: 4px var(--gr) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--bg-2); color: var(--text); --trait: var(--line); --ink: var(--text); --ink-2: var(--muted); }
  .rdv__rassure > div { padding: 9px 0; grid-template-columns: 7.4em minmax(0, 1fr); }
  .rdv__rassure dd { font-size: .88rem; }
  .rdv__succes { padding: 10px 0 14px; }
  .rdv__succes h3 { padding-right: 70px; min-height: 54px; display: flex; align-items: center; }
  .rdv__tampon { width: 58px; height: 58px; }
}

/* ---------- 14. Apparitions au défilement ---------- */
/* .rv n'est masqué que si site.js a posé .js sur <html> ; site.js pose .in à l'entrée dans l'écran (et un filet de sécurité).
   Les conteneurs .plan et [data-vue] reçoivent aussi .in : une page peut chorégraphier avec « .js .plan:not(.in) .ma-piece ». */
.rv { transition: opacity .8s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv:not(.in) { opacity: 0; transform: translateY(34px); }
.js .signature.rv { transition: clip-path 1.3s ease; transition-delay: var(--d, .5s); clip-path: inset(-10% 0 -10% 0); }
.js .signature.rv:not(.in) { opacity: 1; transform: none; clip-path: inset(-10% 100% -10% 0); }

/* ---------- 15. Classes de couleur pour les dessins SVG (reprises du film) ---------- */
.f-sun { fill: var(--sun); } .f-ind { fill: var(--accent); } .f-ind2 { fill: var(--accent-2); } .f-deep { fill: var(--deep); }
.f-n0 { fill: var(--n0); } .f-n1 { fill: var(--n1); } .f-n2 { fill: var(--n2); } .f-n3 { fill: var(--n3); } .f-n4 { fill: var(--n4); } .f-n5 { fill: var(--n5); } .f-n6 { fill: var(--n6); }
.f-surf { fill: var(--surface); } .f-bg { fill: var(--bg); } .f-bg2 { fill: var(--bg-2); } .f-line { fill: var(--line); } .f-soft { fill: var(--accent-soft); } .f-sunsoft { fill: var(--sun-soft); }
.f-ok { fill: var(--ok); } .f-oksoft { fill: var(--ok-soft); } .f-warn { fill: var(--warn); } .f-warnsoft { fill: var(--warn-soft); }
.f-text { fill: var(--text); } .f-muted { fill: var(--muted); } .f-acctext { fill: var(--accent-text); } .f-ondeep { fill: var(--on-deep); } .f-ondeepm { fill: var(--on-deep-muted); } .f-onsun { fill: var(--on-sun); } .f-onacc { fill: var(--on-accent); } .f-none { fill: none; }
.k-line { stroke: var(--line); } .k-text { stroke: var(--text); } .k-muted { stroke: var(--muted); } .k-sun { stroke: var(--sun); } .k-ind { stroke: var(--accent); } .k-ind2 { stroke: var(--accent-2); } .k-surf { stroke: var(--surface); } .k-bg { stroke: var(--bg); }
.k-ok { stroke: var(--ok); } .k-warn { stroke: var(--warn); } .k-ondeep { stroke: var(--on-deep); } .k-onsun { stroke: var(--on-sun); } .k-onacc { stroke: var(--on-accent); } .k-n0 { stroke: var(--n0); } .k-n6 { stroke: var(--n6); } .k-none { stroke: none; }
.tx { font-family: var(--body); font-weight: 600; } .txd { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
/* la rue : dessinée une fois, éclairée deux fois. Poser .rue--nuit ou .rue--jour sur le <svg>, puis les classes r-* sur les formes. */
.rue--nuit { --r-far: var(--n3); --r-b1: var(--n5); --r-b2: var(--n4); --r-b3: var(--n4); --r-roof: var(--n2); --r-win: var(--deep); --r-lit: var(--sun); --r-shut: var(--n3); --r-frame: var(--n5); --r-ground: var(--n3); --r-road: var(--n0); --r-mark: var(--n6);
  --r-glass: var(--sun); --r-sign: var(--n1); --r-signtxt: var(--sun); --r-aw1: var(--accent); --r-aw2: var(--n5); --r-leaf: var(--n4); --r-trunk: var(--n2); --r-door: var(--accent); --r-item: var(--on-sun); --r-post: var(--n2); }
.rue--jour { --r-far: var(--d-far); --r-b1: var(--d-b1); --r-b2: var(--d-b2); --r-b3: var(--d-b3); --r-roof: var(--d-roof); --r-win: var(--d-win); --r-lit: var(--d-win); --r-shut: var(--d-shut); --r-frame: var(--d-frame); --r-ground: var(--d-ground); --r-road: var(--d-road); --r-mark: var(--d-mark);
  --r-glass: var(--d-glass); --r-sign: var(--deep); --r-signtxt: var(--sun); --r-aw1: var(--sun); --r-aw2: var(--d-frame); --r-leaf: var(--d-leaf); --r-trunk: var(--d-trunk); --r-door: var(--accent); --r-item: var(--d-item); --r-post: var(--d-roof); }
.r-far { fill: var(--r-far); } .r-b1 { fill: var(--r-b1); } .r-b2 { fill: var(--r-b2); } .r-b3 { fill: var(--r-b3); } .r-roof { fill: var(--r-roof); } .r-win { fill: var(--r-win); } .r-lit { fill: var(--r-lit); } .r-shut { fill: var(--r-shut); }
.r-bar { stroke: var(--r-frame); stroke-width: 3; fill: none; } .r-ground { fill: var(--r-ground); } .r-road { fill: var(--r-road); } .r-mark { fill: var(--r-mark); } .r-glass { fill: var(--r-glass); } .r-sign { fill: var(--r-sign); }
.r-signtxt { fill: var(--r-signtxt); font: 800 23px var(--display); letter-spacing: 3.5px; } .r-aw1 { fill: var(--r-aw1); } .r-aw2 { fill: var(--r-aw2); } .r-leaf { fill: var(--r-leaf); } .r-trunk { fill: var(--r-trunk); } .r-door { fill: var(--r-door); } .r-item { fill: var(--r-item); } .r-post { fill: var(--r-post); }
.p-coat { fill: var(--coat, var(--accent)); } .p-fig { fill: var(--d-figure); }
/* petites animations d'ambiance du film, réutilisables */
.scintille { animation: scintille 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes scintille { 50% { opacity: .2; } }
.halo { transform-box: fill-box; transform-origin: center; animation: halo 4.5s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .72; transform: scale(1.05); } }
.onde { transform-box: fill-box; transform-origin: center; animation: onde 2.4s ease-out infinite; }
@keyframes onde { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.ombre-portee { filter: drop-shadow(0 30px 40px rgb(var(--shadow) / .28)); }

/* ---------- 16. Mouvement réduit : tout est statique et complet ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .plan__scene, .plan__calque { transform: none; }
}

/* ---------- 17. Bouton de réservation flottant (pages classiques) ---------- */
.flottant { position: fixed; z-index: 45; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .3s; }
.flottant.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.flottant .btn { box-shadow: 0 0 0 4px var(--bg), 0 22px 44px -14px rgb(var(--shadow) / .6); white-space: nowrap; }
@media (max-width: 520px) { .flottant { left: var(--gl); right: var(--gr); transform: translateY(calc(100% + 40px)); } .flottant.visible { transform: none; } .flottant .btn { display: flex; width: 100%; justify-content: center; } }

.lecteur .lecteur__play { display: none; }
