/* ---------------------------------------------------------------------------------------------------------- le film */
/* Le film (DA §4, « Le film de la vitrine », C-118), chargé par la seule page d'accueil : un plateau de 1600 × 900 px que src/film.js met à l'échelle de son
   écran et anime d'après le seul temps du morceau. Son monde : le monde clair de l'app (le fond de §2, des surfaces
   blanches, la palette sky, les couleurs sémantiques claires ; fondateur, 2026-10-10 : « je le veux en blanc »). Son échelle de texte, sur le plateau : --f1 à --f7. Les left / top sont des
   coordonnées du plateau, pas des espacements. Sans script, la section reste cachée (l'ouverture dit déjà tout). */
.film { margin-top: var(--s7); }
.film[hidden] { display: none; }
.film-cadre { display: grid; gap: var(--s3); }
.film-ecran { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r3); background: #f7fbff; box-shadow: var(--e3); }
.f-plateau {
  --f1: 22px; --f2: 28px; --f3: 36px; --f4: 56px; --f5: 80px; --f6: 128px; --f7: 200px;
  --f-tx: #0f172a; --f-tx2: #475569; --f-tx3: #5a6b7f; --f-pn: #ffffff; --f-snk: #eef4f9; --f-ln: #dde8f0; --f-ln2: #c6d8e6;
  --f-ciel: #0369a1; --f-ciel2: #0ea5e9; --f-fav: #0f7a5a; --f-fav-bg: #e8f6f1; --f-vig: #8a5a08; --f-vig-bg: #fdf3e3; --f-blo: #a41f1f; --f-neu-bg: #eef2f6;
  position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden;
  color: var(--f-tx); font-family: var(--font-texte); font-size: var(--f2); line-height: 1.2;
}
.f-fond { position: absolute; inset: 0; background: var(--fond); }
.f-trame { position: absolute; inset: 0; background-image: radial-gradient(rgba(2, 132, 199, 0.11) 1.5px, transparent 2px); background-size: 40px 40px; }
.f-halo { position: absolute; left: -550px; top: -550px; width: 1100px; height: 1100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(125, 211, 252, 0.45), rgba(186, 230, 253, 0.25) 55%, transparent); }
.f-monde, .f-plan { position: absolute; inset: 0; transform-origin: 50% 50%; }
.f-plan { visibility: hidden; }
.f-eclair { position: absolute; inset: 0; background: #0ea5e9; opacity: 0; pointer-events: none; }
.f-titre { position: absolute; left: 96px; top: 64px; display: grid; gap: var(--s2); }
.f-titre b { font-size: var(--f5); font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.f-titre span { font-size: var(--f2); color: var(--f-tx2); }
.f-titre strong { font-family: var(--font-chiffres); font-weight: 500; color: var(--f-ciel); }
.f-gros { position: absolute; left: 96px; top: 196px; display: grid; }
.f-gros b { font-family: var(--font-chiffres); font-size: var(--f6); font-weight: 500; line-height: 1; color: var(--f-ciel); font-variant-numeric: tabular-nums; }
.f-gros span { font-size: var(--f2); color: var(--f-tx2); }
.f-pastille { position: absolute; display: inline-flex; align-items: center; padding: var(--s3) var(--s5); border-radius: var(--r3); font-size: var(--f2); font-weight: 700; white-space: nowrap; }
.f-pastille.favorable { background: var(--f-fav-bg); color: var(--f-fav); }
.f-pastille.vigilance { background: var(--f-vig-bg); color: var(--f-vig); }
.f-pastille.neutre { background: var(--f-neu-bg); color: var(--f-tx2); }
.f-plateau .coche { width: 36px; height: 36px; flex: none; padding: var(--s1); border-radius: var(--r3); background: var(--f-fav-bg); fill: none; stroke: var(--f-fav); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.f-lu .coche { background: none; }

/* plan 0 : le flot */
.f-compteur { position: absolute; left: 96px; top: 64px; display: grid; gap: var(--s1); }
.f-compteur span { font-size: var(--f2); color: var(--f-tx2); }
.f-compteur b { font-family: var(--font-chiffres); font-size: var(--f6); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.f-carte { position: absolute; width: 340px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s3) var(--s4); padding: var(--s5); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e2); }
.f-logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r1); background: var(--f-snk); color: var(--f-ciel); font-style: normal; font-size: var(--f2); font-weight: 800; }
.f-carte span { display: grid; }
.f-carte b { font-size: var(--f2); font-weight: 700; white-space: nowrap; }
.f-carte small { font-size: var(--f1); color: var(--f-tx2); }
.f-carte em { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: var(--s2); font-style: normal; font-family: var(--font-chiffres); font-size: var(--f1); color: var(--f-tx3); }
.f-carte em svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.f-mur { position: absolute; inset: 0; transform-origin: 1070px 476px; }
.f-cel { position: absolute; width: 96px; height: 60px; display: grid; align-content: start; gap: var(--s1); padding: var(--s2); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r1); opacity: 0; }
.f-cel i { display: block; height: 6px; border-radius: var(--r1); background: var(--f-snk); }
.f-cel i + i { width: 60%; }
.f-cel b { position: absolute; right: var(--s2); bottom: var(--s1); font-family: var(--font-chiffres); font-size: var(--f1); font-weight: 500; opacity: 0; }
.f-cel.favorable b { color: var(--f-fav); }
.f-cel.vigilance b { color: var(--f-vig); }
.f-cel.blocage b { color: var(--f-blo); }
.f-cel.lu { border-color: var(--f-ln2); }
.f-cel.eclaire.favorable { border-color: var(--f-fav); background: var(--f-fav-bg); }
.f-cel.halde.eclaire { box-shadow: 0 0 0 3px var(--f-fav); }
.f-balayage { position: absolute; left: -40px; top: 180px; width: 40px; height: 660px; border-radius: var(--r1); background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.35) 70%, #0ea5e9); opacity: 0; }
.f-phrase { position: absolute; left: 96px; right: 96px; top: 50%; margin: 0; translate: 0 -50%; text-align: center; font-size: var(--f6); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; opacity: 0; text-shadow: 0 0 40px #f7fbff, 0 0 12px #f7fbff; }

/* plan 1 : la lecture */
.f-extraits { position: absolute; left: 96px; top: 430px; display: grid; justify-items: start; gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.f-extraits li { display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e1); font-size: var(--f2); font-weight: 600; white-space: nowrap; }
.f-page { position: absolute; top: 250px; width: 280px; height: 380px; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); background: #ffffff; color: #0f172a; border-radius: var(--r2); box-shadow: var(--e3); transform-origin: 50% 100%; }
.f-page-0 { left: 550px; }
.f-page-1 { left: 710px; }
.f-page-2 { left: 870px; }
.f-page-3 { left: 1030px; }
.f-page-4 { left: 1190px; }
.f-page > i { display: block; height: 12px; flex: none; border-radius: var(--r1); background: #dde8f0; }
.f-page > i.court { width: 55%; height: 18px; background: #0369a1; }
.f-page > b { font-size: var(--f3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.f-page small { margin-top: auto; font-family: var(--font-chiffres); font-size: var(--f1); color: #475569; }
.f-page-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r2); background: #0369a1; color: #ffffff; font-size: var(--f2); font-weight: 800; }
.f-page-barres { display: flex; align-items: flex-end; gap: var(--s3); height: 140px; }
.f-page-barres i { flex: 1; border-radius: var(--r1) var(--r1) 0 0; background: #7dd3fc; }
.f-page-barres i:last-child { background: #0284c7; }
.f-page-tetes { display: flex; gap: var(--s3); }
.f-page-tetes i { width: 64px; height: 64px; border-radius: 50%; background: #bae6fd; }
.f-lu { position: absolute; right: -18px; top: -18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--f-fav-bg); box-shadow: 0 0 0 3px #ffffff; }
.f-lecteur { position: absolute; left: 530px; top: 200px; width: 6px; height: 520px; border-radius: var(--r1); background: #0ea5e9; opacity: 0; }

/* plan 2 : la recherche web */
.f-p2 .f-pastille { left: 96px; top: 380px; }
.f-reseau { position: absolute; inset: 0; transform-origin: 1010px 480px; }
.f-reseau svg { position: absolute; left: 0; top: 0; }
.f-reseau line { stroke: rgba(2, 132, 199, 0.28); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.f-noeud { position: absolute; width: 20px; height: 20px; translate: -50% -50%; border-radius: 50%; background: var(--f-ciel2); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16); }
.f-noeud small { position: absolute; top: 50%; translate: 0 -50%; font-size: var(--f1); color: var(--f-tx2); white-space: nowrap; }
.f-noeud small.d { left: 30px; }
.f-noeud small.g { right: 30px; }
.f-noeud.conc { background: var(--f-tx3); box-shadow: none; }
.f-noeud.conc.alerte { background: var(--f-vig); box-shadow: 0 0 0 8px rgba(138, 90, 8, 0.16); }
.f-centre { position: absolute; display: grid; justify-items: center; gap: var(--s2); translate: -50% -60px; }
.f-centre b { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--f-pn); border: 2px solid var(--f-ciel2); font-size: var(--f4); font-weight: 800; color: var(--f-ciel); box-shadow: var(--e2); }
.f-centre small { font-size: var(--f2); font-weight: 700; white-space: nowrap; }

/* plan 3 : la notation */
.f-anneau { position: absolute; left: 260px; top: 200px; width: 520px; height: 520px; display: grid; place-content: center; justify-items: center; }
.f-anneau svg { position: absolute; inset: 0; overflow: visible; transform: rotate(-90deg); }
.f-anneau circle { fill: none; stroke-width: 28; }
.f-anneau .fond { stroke: var(--f-snk); }
.f-anneau .arc { stroke: var(--f-ciel2); stroke-linecap: round; }
.f-anneau .arc.final { stroke: var(--f-fav); }
.f-anneau .onde { stroke: var(--f-fav); stroke-width: 6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.f-anneau b { position: relative; font-family: var(--font-chiffres); font-size: var(--f7); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.f-anneau span { position: relative; font-size: var(--f2); color: var(--f-tx2); }
.f-verdict { left: 520px; top: 764px; translate: -50% 0; }
.f-criteres { position: absolute; left: 900px; top: 250px; width: 604px; display: grid; gap: var(--s7); }
.f-critere { display: grid; gap: var(--s3); }
.f-critere > span { display: flex; align-items: baseline; gap: var(--s4); }
.f-critere b { font-size: var(--f3); font-weight: 700; }
.f-critere em { font-style: normal; font-family: var(--font-chiffres); font-size: var(--f1); color: var(--f-tx3); }
.f-critere strong { margin-left: auto; font-family: var(--font-chiffres); font-size: var(--f3); font-weight: 500; color: var(--f-ciel); font-variant-numeric: tabular-nums; }
.f-critere > i { display: block; height: 14px; border-radius: var(--r1); background: var(--f-snk); overflow: hidden; }
.f-critere > i > i { display: block; height: 100%; border-radius: var(--r1); background: linear-gradient(90deg, #0284c7, #38bdf8); }

/* plan 4 : le mémo, sur une feuille claire */
.f-memo { position: absolute; left: 500px; top: 180px; width: 960px; display: grid; gap: var(--s6); padding: var(--s7); background: #ffffff; color: #0f172a; border-radius: var(--r3); box-shadow: var(--e3); transform-origin: 50% 100%; }
.f-memo-tete { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.f-memo-tete b { font-size: var(--f3); font-weight: 800; letter-spacing: -0.02em; }
.f-reco { padding: var(--s3) var(--s5); border-radius: var(--r3); background: #e8f6f1; color: #0f7a5a; font-size: var(--f1); font-weight: 700; white-space: nowrap; }
.f-bloc { display: grid; gap: var(--s2); }
.f-bloc > span { font-size: var(--f1); font-weight: 700; color: #475569; }
.f-bloc p, .f-bloc ul { margin: 0; font-size: var(--f1); line-height: 1.45; }
.f-bloc ul { display: grid; gap: var(--s2); padding-left: var(--s5); }
.f-memo-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); }
.f-memo-sources { margin: 0; font-family: var(--font-chiffres); font-size: var(--f1); color: #475569; }

/* plan 5 : le pipeline */
.f-colonne { position: absolute; top: 200px; width: 340px; display: grid; gap: var(--s4); }
.f-col-tete { height: 56px; display: flex; align-items: center; gap: var(--s3); border-bottom: 1px solid var(--f-ln2); transform-origin: 0 50%; }
.f-col-tete .pt { width: 14px; height: 14px; }
.f-col-tete b { font-size: var(--f2); font-weight: 700; white-space: nowrap; }
.f-col-tete em { margin-left: auto; font-style: normal; font-family: var(--font-chiffres); font-size: var(--f2); color: var(--f-tx3); }
.f-deal { width: 340px; height: 112px; display: grid; align-content: space-between; padding: var(--s4) var(--s5); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e1); }
.f-deal b { font-size: var(--f2); font-weight: 700; white-space: nowrap; }
.f-deal span { display: flex; align-items: center; gap: var(--s3); }
.f-deal small { padding: var(--s1) var(--s3); border-radius: var(--r1); background: var(--f-snk); font-size: var(--f1); color: var(--f-tx2); }
.f-deal em { font-style: normal; font-family: var(--font-chiffres); font-size: var(--f1); font-weight: 500; }
.f-deal em.favorable { color: var(--f-fav); }
.f-deal em.vigilance { color: var(--f-vig); }
.f-deal em.blocage { color: var(--f-blo); }
.f-deal i { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--f-snk); font-style: normal; font-size: var(--f1); font-weight: 700; color: var(--f-tx2); }
.f-deal-halde { position: absolute; left: 96px; top: 528px; border: 2px solid var(--f-ciel2); box-shadow: var(--e3); }
.f-deal-halde.eclaire { border-color: var(--f-fav); box-shadow: 0 0 0 6px rgba(15, 122, 90, 0.14), var(--e3); }

/* plan 6 : le comité */
.f-objet { position: absolute; left: 0; right: 0; top: 196px; display: grid; justify-items: center; gap: var(--s2); }
.f-objet b { font-size: var(--f4); font-weight: 800; letter-spacing: -0.03em; }
.f-objet span { font-size: var(--f2); color: var(--f-tx2); }
.f-votant { position: absolute; top: 360px; width: 300px; height: 300px; display: grid; justify-items: center; align-content: center; gap: var(--s4); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r3); box-shadow: var(--e2); }
.f-votant > i { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--f-snk); font-style: normal; font-size: var(--f3); font-weight: 800; color: var(--f-ciel); }
.f-votant b { font-size: var(--f2); font-weight: 700; }
.f-votant .f-pastille { position: static; }
.f-votant.vote { border-color: var(--f-ciel2); box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.12), var(--e2); }
.f-resultat { position: absolute; left: 0; right: 0; top: 708px; display: grid; justify-items: center; gap: var(--s2); }
.f-resultat b { font-size: var(--f4); font-weight: 800; letter-spacing: -0.03em; color: var(--f-fav); }
.f-resultat span { font-family: var(--font-chiffres); font-size: var(--f2); color: var(--f-tx2); }

/* plan 7 : le portefeuille */
.f-kpis { position: absolute; left: 96px; top: 190px; width: 1408px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.f-kpis div { display: grid; gap: var(--s2); padding: var(--s5) var(--s6); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e1); }
.f-kpis span { font-size: var(--f1); color: var(--f-tx2); }
.f-kpis b { font-family: var(--font-chiffres); font-size: var(--f4); font-weight: 500; line-height: 1.05; font-variant-numeric: tabular-nums; transform-origin: 0 50%; }
.f-graphe { position: absolute; left: 88px; top: 400px; }
.f-graphe svg { display: block; overflow: visible; }
.f-graphe .grille { stroke: var(--f-ln); stroke-width: 1.5; }
.f-graphe .aire { fill: rgba(14, 165, 233, 0.12); opacity: 0; }
.f-graphe .courbe { fill: none; stroke: var(--f-ciel2); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.f-graphe .point { fill: var(--f-fav); transform-box: fill-box; transform-origin: center; }
.f-graphe .onde { fill: none; stroke: var(--f-fav); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.f-annees { position: absolute; left: 8px; top: 388px; width: 1408px; }
.f-annees span { position: absolute; translate: -50% 0; font-family: var(--font-chiffres); font-size: var(--f1); color: var(--f-tx3); }
.f-nouvelle { right: 130px; top: 352px; }

/* plan 8 : North AI */
.f-invite { position: absolute; left: 260px; top: 250px; width: 1080px; height: 104px; display: flex; align-items: center; gap: var(--s5); padding: 0 var(--s4) 0 var(--s6); background: var(--f-pn); border: 2px solid var(--f-ciel2); border-radius: var(--r3); box-shadow: var(--e2); }
.f-invite > svg { width: 40px; height: 40px; flex: none; fill: var(--f-ciel); }
.f-invite p { flex: 1; margin: 0; overflow: hidden; font-size: var(--f2); white-space: nowrap; }
.f-invite > i { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: var(--r2); background: #0369a1; }
.f-invite > i svg { width: 32px; height: 32px; fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.f-invite > i.parti { background: #0284c7; box-shadow: 0 0 0 6px rgba(2, 132, 199, 0.16); }
.f-resultat-ia { position: absolute; width: 520px; height: 168px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s5); padding: var(--s5) var(--s6); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e2); }
.f-resultat-ia > i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r2); background: var(--f-snk); }
.f-resultat-ia > i svg { width: 36px; height: 36px; fill: none; stroke: var(--f-ciel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-resultat-ia span { display: grid; gap: var(--s1); }
.f-resultat-ia b { font-size: var(--f2); font-weight: 700; }
.f-resultat-ia small { font-size: var(--f1); color: var(--f-tx2); }

/* plan 9 : tout-en-un */
.f-module { position: absolute; width: 320px; height: 170px; display: grid; align-content: center; justify-items: start; gap: var(--s4); padding: var(--s5) var(--s6); background: var(--f-pn); border: 1px solid var(--f-ln); border-radius: var(--r2); box-shadow: var(--e2); }
.f-module svg { width: 48px; height: 48px; fill: none; stroke: var(--f-ciel); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.f-module b { font-size: var(--f3); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.f-module-marque { background: #0369a1; border-color: #0369a1; }
.f-module-marque b { color: #ffffff; }

/* plan 10 : la marque */
.f-logo-fin { position: absolute; left: 712px; top: 150px; width: 176px; height: 176px; filter: drop-shadow(0 12px 30px rgba(2, 132, 199, 0.25)); }
.f-marque { position: absolute; left: 0; right: 0; top: 360px; text-align: center; font-size: var(--f6); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; background: linear-gradient(100deg, #0f172a 42%, #0369a1 50%, #38bdf8 54%, #0f172a 62%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-slogan { position: absolute; left: 0; right: 0; top: 540px; margin: 0; display: grid; justify-items: center; gap: var(--s2); text-align: center; font-size: var(--f4); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.f-slogan span + span { color: var(--f-tx2); }
.f-adresse { position: absolute; left: 0; right: 0; top: 760px; text-align: center; font-family: var(--font-chiffres); font-size: var(--f2); color: var(--f-ciel); }

/* les commandes, sous l'écran */
.film-commandes { display: flex; align-items: center; gap: var(--s2); }
.film-btn { min-width: 40px; height: 40px; padding: 0 var(--s3); }
.film-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-btn .i-lire { fill: currentColor; }
.film-btn:disabled { cursor: default; color: var(--tx3); }
.film-btn[data-etat="pause"] .i-lire, .film-btn[data-etat="pause"] .i-revoir, .film-btn[data-etat="lire"] .i-pause, .film-btn[data-etat="lire"] .i-revoir, .film-btn[data-etat="revoir"] .i-pause, .film-btn[data-etat="revoir"] .i-lire { display: none; }
.film-son .i-son, .film-son[aria-pressed="true"] .i-muet { display: none; }
.film-son[aria-pressed="true"] .i-son { display: block; }
.film-progression { flex: 1; height: 4px; margin-left: var(--s2); border-radius: var(--r1); background: var(--snk); overflow: hidden; }
.film-progression i { display: block; height: 100%; background: var(--sky-500); transform-origin: 0 50%; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .film { margin-top: var(--s6); }
  .film-ecran { border-radius: var(--r2); }
  .film-btn { min-width: 44px; height: 44px; }
}
