/* NEXA : habillage des leçons vidéo (scènes animées, vidéos blanches). Chargé par index.html ; gardé en mémoire par les navigateurs. */
/* ----- Vidéos animées (motion design), pilote du 1er nov. 2026 ----- */
.scene { container-type: inline-size; }
.scene-motion { display: none; }
.scene.motion .scene-motion { display: block; position: absolute; inset: 0; z-index: 1; }
.scene.motion .scene-visuel, .scene.motion .scene-textes, .scene.motion .scene-mots { display: none; }
/* Effet vidéo : la photo du métier bouge doucement en fond (plans successifs), sous un voile aux couleurs NEXA. */
.scene.motion .scene-photo { opacity: .3; filter: saturate(.75); }
.mo.mo-sortie { animation: mo-sortie .6s ease forwards; pointer-events: none; z-index: 0; }
.mo:not(.mo-sortie) { z-index: 1; }
@keyframes mo-sortie { to { opacity: 0; scale: 1.08; filter: blur(6px); } }
.scene-motion > .mo:not(.mo-sortie) { animation: mo-entree .7s ease both, mo-camera var(--duree, 12s) linear both; }
@keyframes mo-entree { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: none; } }
.mo-cochage .mo-coches { left: 36cqw; right: 6cqw; top: 50%; transform: translateY(-50%); }
.mo-grand-ico.gauche { right: auto; left: 8cqw; }
.scene.motion { background: radial-gradient(120% 90% at 85% 10%, #0A55C2 0%, rgba(10, 85, 194, 0) 55%), linear-gradient(140deg, #001A4D 0%, #002E7A 62%, #0B4BAA 100%); }
.scene.motion .scene-fond { opacity: .45; }
.scene.motion.en-question .scene-motion { display: none; }
.mo { position: absolute; inset: 0; font-family: var(--titre); color: #FFFFFF; animation: mo-camera var(--duree, 12s) linear both; }
.scene.motion::after { content: ""; position: absolute; width: 46cqw; height: 46cqw; right: -14cqw; bottom: -22cqw; border-radius: 50%; border: 1.4cqw solid rgba(0, 200, 200, .16); animation: mo-orbite 18s linear infinite; pointer-events: none; }
@keyframes mo-camera { from { scale: 1; } to { scale: 1.035; } }
@keyframes mo-orbite { to { rotate: 360deg; } }
.mo-el { opacity: 0; translate: 0 2.4cqw; transition: opacity .55s ease, translate .7s cubic-bezier(.2, .8, .2, 1), scale .7s cubic-bezier(.2, .8, .2, 1); }
.mo-el.on { opacity: 1; translate: 0 0; }
.mo-tete { position: absolute; left: 6cqw; top: 4.6cqw; display: flex; align-items: center; gap: 1.2cqw; font-size: max(10px, 1.7cqw); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #00C8C8; }
.mo-tete i { width: 4cqw; height: .35cqw; background: #00C8C8; border-radius: 1cqw; transform-origin: left; scale: 0 1; transition: scale .8s .2s cubic-bezier(.2, .8, .2, 1); }
.mo-tete.on i { scale: 1 1; }
.mo .picto { width: 100%; height: 100%; stroke-width: 1.5; }

/* Titre */
.mo-titre { display: grid; align-content: center; padding: 0 9cqw; gap: 1.4cqw; }
.mo-titre .mo-halo { position: absolute; left: -10cqw; top: -20cqw; width: 60cqw; height: 60cqw; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 200, .22), transparent 65%); }
.mo-medaillon { position: absolute; right: 8cqw; top: 50%; margin-top: -10cqw; width: 20cqw; height: 20cqw; border-radius: 30%; background: #FFFFFF; color: #002E7A; padding: 4.4cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .35); scale: .6; rotate: -8deg; }
.mo-medaillon.on { scale: 1; rotate: 0deg; }
.mo-sur { font-size: max(10px, 1.7cqw); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #00C8C8; }
.mo-titre h3 { margin: 0; max-width: 58cqw; font-size: max(17px, 4.6cqw); line-height: 1.08; font-weight: 800; opacity: 1; translate: 0 0; }
.mo-mots span { display: inline-block; opacity: 0; translate: 0 1.6cqw; transition: opacity .5s ease, translate .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--k) * 90ms); }
.mo-mots.on span { opacity: 1; translate: 0 0; }
.mo-titre p { margin: 0; max-width: 56cqw; font-size: max(11px, 2.2cqw); color: #BCCBE8; font-family: var(--texte, inherit); }
.mo-puces { list-style: none; margin: .6cqw 0 0; padding: 0; display: grid; gap: 1cqw; max-width: 58cqw; }
.mo-puces li { display: flex; gap: 1.2cqw; align-items: center; font-size: max(10px, 1.9cqw); font-weight: 700; }
.mo-puces li span { flex: none; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #00C8C8; color: #001A4D; display: grid; place-items: center; font-size: max(9px, 1.5cqw); }

/* Liste */
.mo-liste ul { position: absolute; left: 6cqw; right: 30cqw; top: 11cqw; margin: 0; padding: 0; list-style: none; display: grid; gap: 1.3cqw; }
.mo-liste li { display: flex; align-items: center; gap: 1.6cqw; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.4cqw; padding: 1.2cqw 1.6cqw; translate: -3cqw 0; }
.mo-liste li.on { translate: 0 0; background: rgba(255, 255, 255, .11); }
.mo-pastille { flex: none; width: 3.8cqw; height: 3.8cqw; border-radius: 1cqw; background: #00C8C8; color: #001A4D; display: grid; place-items: center; font-weight: 800; font-size: max(10px, 1.7cqw); padding: .7cqw; }
.mo-liste b { display: block; font-size: max(11px, 2cqw); line-height: 1.2; }
.mo-liste small { display: block; color: #BCCBE8; font-size: max(9px, 1.45cqw); font-family: var(--texte, inherit); margin-top: .2cqw; }
.mo-grand-ico { position: absolute; right: 6cqw; top: 50%; margin-top: -9cqw; width: 18cqw; height: 18cqw; border-radius: 28%; background: #FFFFFF; color: #002E7A; padding: 4cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .3); }

/* Flux */
.mo-liens { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mo-liens path { fill: none; stroke: #00C8C8; stroke-width: .35; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 1; translate: 0 0; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
.mo-liens path.on { stroke-dashoffset: 0; }
.mo-centre { position: absolute; left: 7cqw; top: 50%; width: 27cqw; translate: 0 -50%; scale: .85; background: #FFFFFF; color: #002E7A; border-radius: 2.2cqw; padding: 2.4cqw; display: grid; justify-items: center; text-align: center; gap: .8cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .35); }
.mo-centre.on { translate: 0 -50%; scale: 1; }
.mo-centre span { width: 9cqw; height: 9cqw; color: #0A55C2; }
.mo-centre b { font-size: max(12px, 2.4cqw); }
.mo-centre small { font-size: max(9px, 1.45cqw); color: #3D5A8A; font-family: var(--texte, inherit); }
.mo-noeud { position: absolute; left: 60cqw; right: 5cqw; display: flex; align-items: center; gap: 1.4cqw; translate: 3cqw -50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(0, 200, 200, .45); border-radius: 1.6cqw; padding: 1.1cqw 1.4cqw; }
.mo-noeud.on { translate: 0 -50%; }
.mo-noeud > span { flex: none; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #00C8C8; color: #001A4D; padding: .9cqw; }
.mo-noeud b { display: block; font-size: max(11px, 1.95cqw); }
.mo-noeud small { display: block; font-size: max(9px, 1.4cqw); color: #BCCBE8; font-family: var(--texte, inherit); }
.mo-alerte { position: absolute; left: 7cqw; bottom: 5cqw; display: flex; align-items: center; gap: 1cqw; background: #FFB020; color: #3A2500; border-radius: 99px; padding: .9cqw 1.8cqw .9cqw 1.2cqw; font-weight: 800; font-size: max(10px, 1.6cqw); scale: .7; }
.mo-alerte.on { scale: 1; animation: mo-bat 1.6s .6s ease-in-out 2; }
.mo-alerte .picto { width: 2.6cqw; height: 2.6cqw; }
@keyframes mo-bat { 50% { scale: 1.07; } }

/* Niveaux (du plus général au plus particulier) */
.mo-pile { position: absolute; left: 14cqw; right: 30cqw; top: 10.5cqw; display: grid; gap: .9cqw; justify-items: center; }
.mo-niv { width: calc(100% - var(--k) * 9%); display: flex; align-items: center; gap: 1.2cqw; border-radius: 1.2cqw; padding: .95cqw 1.6cqw; background: linear-gradient(90deg, hsl(calc(196 + var(--k) * 6) 100% calc(42% + var(--k) * 4%)), hsl(calc(186 + var(--k) * 4) 100% calc(36% + var(--k) * 3%))); box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .25); translate: 0 -2cqw; }
.mo-niv.on { translate: 0 0; }
.mo-rang { flex: none; width: 3cqw; height: 3cqw; border-radius: 50%; background: rgba(0, 26, 77, .55); display: grid; place-items: center; font-size: max(9px, 1.4cqw); font-weight: 800; }
.mo-niv b { font-size: max(11px, 1.9cqw); }
.mo-niv small { margin-left: auto; font-size: max(9px, 1.35cqw); font-family: var(--texte, inherit); color: rgba(255, 255, 255, .88); text-align: right; }
.mo-fleche { position: absolute; left: 6cqw; top: 11cqw; bottom: 7cqw; width: 5cqw; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: .8cqw; font-size: max(8px, 1.2cqw); color: #BCCBE8; text-align: center; font-family: var(--texte, inherit); }
.mo-fleche i { width: .35cqw; background: linear-gradient(#00C8C8, rgba(0, 200, 200, .2)); border-radius: 1cqw; position: relative; }
.mo-fleche i::after { content: ""; position: absolute; bottom: -.6cqw; left: 50%; translate: -50% 0; border: .9cqw solid transparent; border-top-color: rgba(0, 200, 200, .5); border-bottom: 0; }
.mo-tampon { position: absolute; right: 5cqw; top: 50%; width: 21cqw; translate: 0 -50%; rotate: 8deg; scale: 1.6; border: .45cqw solid #FFB020; color: #FFB020; border-radius: 1.6cqw; padding: 1.6cqw; display: grid; justify-items: center; gap: .6cqw; text-align: center; font-weight: 800; font-size: max(10px, 1.75cqw); text-transform: uppercase; letter-spacing: .04em; }
.mo-tampon.on { translate: 0 -50%; rotate: -6deg; scale: 1; }
.mo-tampon .picto { width: 5cqw; height: 5cqw; }

/* Calcul */
.mo-calcul .mo-equation { position: absolute; left: 5cqw; right: 5cqw; top: 40%; translate: 0 -50%; display: flex; align-items: center; justify-content: center; gap: 1.8cqw; flex-wrap: wrap; }
.mo-terme { display: grid; justify-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 2cqw; padding: 1.8cqw 2.4cqw; min-width: 17cqw; scale: .8; }
.mo-terme.on { scale: 1; }
.mo-terme .mo-num { font-size: max(18px, 5cqw); line-height: 1; font-variant-numeric: tabular-nums; }
.mo-terme small { font-size: max(9px, 1.5cqw); color: #BCCBE8; font-family: var(--texte, inherit); margin-top: .6cqw; }
.mo-terme em { font-style: normal; font-size: max(8px, 1.25cqw); color: #00C8C8; margin-top: .4cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mo-terme.resultat { background: #00C8C8; color: #001A4D; border-color: #00C8C8; box-shadow: 0 0 0 1.2cqw rgba(0, 200, 200, .16); }
.mo-terme.resultat small, .mo-terme.resultat em { color: #003B5C; }
.mo-op { font-size: max(18px, 4.4cqw); font-weight: 800; color: #00C8C8; }
.mo-equation.long { gap: 1.2cqw; } .mo-equation.long .mo-terme { min-width: 12cqw; padding: 1.4cqw 1.6cqw; } .mo-equation.long .mo-num { font-size: max(14px, 3.6cqw); } .mo-equation.long .mo-op { font-size: max(14px, 3cqw); }
.mo-equation.tres-long { gap: .9cqw; } .mo-equation.tres-long .mo-terme { min-width: 0; padding: 1.2cqw 1.3cqw; } .mo-equation.tres-long .mo-num { font-size: max(12px, 2.8cqw); } .mo-equation.tres-long .mo-op { font-size: max(12px, 2.6cqw); }
.mo-calcul { --bas: 6cqw; }
.mo-badges { position: absolute; left: 5cqw; right: 5cqw; bottom: 6cqw; display: flex; justify-content: center; flex-wrap: wrap; gap: 1.6cqw; }
.mo-badge { display: inline-flex; align-items: center; gap: .8cqw; border-radius: 99px; padding: .8cqw 1.8cqw; font-size: max(10px, 1.55cqw); font-weight: 800; background: rgba(255, 255, 255, .12); }
.mo-badge.or { background: #FFB020; color: #3A2500; }
.mo-badge.turq { background: #00C8C8; color: #001A4D; }
.mo-badge .picto { width: 2.4cqw; height: 2.4cqw; }

/* Bulletin de paie */
.mo-feuille { position: absolute; left: 8cqw; top: 9.5cqw; width: 52cqw; background: #FFFFFF; color: #10264F; border-radius: 1.4cqw; padding: 2cqw 2.4cqw; box-shadow: 0 2.4cqw 6cqw rgba(0, 0, 0, .4); rotate: -1.5deg; display: grid; align-content: start; gap: .55cqw; font-family: var(--texte, inherit); }
.mo-feuille.on { rotate: -1deg; }
.mo-f-tete { display: flex; justify-content: space-between; align-items: baseline; border-bottom: .3cqw solid #002E7A; padding-bottom: .8cqw; margin-bottom: .4cqw; }
.mo-f-tete b { font-family: var(--titre); font-size: max(11px, 1.9cqw); color: #002E7A; }
.mo-f-tete small { font-size: max(8px, 1.2cqw); color: #5A6F94; }
.mo-ligne { display: flex; align-items: center; gap: .8cqw; font-size: max(9px, 1.45cqw); padding: .35cqw .6cqw; border-radius: .6cqw; translate: -2cqw 0; }
.mo-ligne.on { translate: 0 0; animation: mo-surligne 1.4s ease; }
.mo-ligne i { flex: 1; border-bottom: .2cqw dotted #B9C6DD; translate: 0 -.4cqw; }
.mo-ligne b { font-variant-numeric: tabular-nums; }
.mo-ligne em { font-style: normal; font-size: max(7px, 1.05cqw); font-weight: 800; border-radius: 99px; padding: .15cqw .8cqw; background: #E2F7F7; color: #00736F; }
.mo-ligne.non em { background: #FFF1D6; color: #8A5600; }
.mo-ligne.total { margin-top: .4cqw; background: #002E7A; color: #FFFFFF; font-weight: 800; font-size: max(10px, 1.6cqw); }
.mo-ligne.total i { border-color: rgba(255, 255, 255, .4); }
@keyframes mo-surligne { 0% { background: rgba(0, 200, 200, .35); } 100% { background: transparent; } }
.mo-ligne.total.on { animation: none; }
.mo-loupe { position: absolute; right: 5cqw; top: 50%; width: 27cqw; translate: 0 -50%; display: grid; justify-items: center; gap: 1cqw; text-align: center; font-size: max(10px, 1.8cqw); font-weight: 800; scale: .7; }
.mo-loupe.on { translate: 0 -50%; scale: 1; }
.mo-loupe .picto { width: 11cqw; height: 11cqw; padding: 2.4cqw; border-radius: 50%; background: #FFB020; color: #3A2500; animation: mo-cherche 3s 1s ease-in-out infinite; }
@keyframes mo-cherche { 25% { translate: -1cqw -.6cqw; } 75% { translate: 1cqw .6cqw; } }

/* Cartes (organismes, chiffres clés) */
.mo-grille { position: absolute; left: 6cqw; right: 6cqw; top: 11cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.mo-grille.n3 { grid-template-columns: repeat(3, 1fr); }
.mo-grille.n2 { grid-template-columns: repeat(2, 1fr); }
.scene-motion .mo-carte { background: #FFFFFF; color: #10264F; border-radius: 1.8cqw; padding: 2cqw 1.6cqw; display: grid; align-content: start; gap: .7cqw; box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, .3); border-top: .7cqw solid var(--c); translate: 0 4cqw; rotate: 2deg; }
.scene-motion .mo-carte.on { translate: 0 0; rotate: 0deg; }
.mo-sigle { justify-self: start; font-size: max(11px, 2.3cqw); font-weight: 800; color: #002E7A; }
.scene-motion .mo-carte b { font-size: max(9px, 1.4cqw); color: #5A6F94; font-family: var(--texte, inherit); font-weight: 600; line-height: 1.25; }
.scene-motion .mo-carte strong { font-size: max(12px, 2.5cqw); color: var(--c); line-height: 1.05; filter: brightness(.82); }
.scene-motion .mo-carte small { font-size: max(8px, 1.25cqw); color: #3D5A8A; font-family: var(--texte, inherit); line-height: 1.3; }
.mo-note { position: absolute; left: 6cqw; right: 6cqw; bottom: 4.5cqw; display: flex; align-items: center; gap: 1.2cqw; font-size: max(10px, 1.6cqw); color: #FFFFFF; background: rgba(255, 176, 32, .18); border: 1px solid rgba(255, 176, 32, .6); border-radius: 1.2cqw; padding: 1cqw 1.6cqw; font-family: var(--texte, inherit); }
.mo-note .picto { flex: none; width: 3cqw; height: 3cqw; color: #FFB020; }

/* Calendrier */
.mo-mois { position: absolute; left: 6cqw; top: 10cqw; width: 36cqw; background: #FFFFFF; color: #10264F; border-radius: 1.8cqw; padding: 1.8cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .35); font-family: var(--texte, inherit); }
.mo-mois > b { display: block; font-family: var(--titre); font-size: max(11px, 1.9cqw); color: #002E7A; margin-bottom: 1cqw; }
.mo-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45cqw; text-align: center; font-size: max(8px, 1.3cqw); }
.mo-jours .j { font-style: normal; font-weight: 800; color: #8A9BBB; font-size: max(7px, 1.05cqw); }
.mo-jours span { padding: .45cqw 0; border-radius: .7cqw; }
.mo-jours span.marque { opacity: 1; translate: 0 0; transition: background .5s ease, color .5s ease, box-shadow .5s ease; }
.mo-jours span.marque.on { background: #00C8C8; color: #001A4D; font-weight: 800; box-shadow: 0 0 0 .5cqw rgba(0, 200, 200, .25); }
.mo-jours span.marque.or.on { background: #FFB020; color: #3A2500; box-shadow: 0 0 0 .5cqw rgba(255, 176, 32, .3); }
.mo-coches { position: absolute; left: 47cqw; right: 5cqw; top: 10cqw; margin: 0; padding: 0; list-style: none; display: grid; gap: 1.1cqw; }
.mo-coches li { display: flex; gap: 1.3cqw; align-items: center; translate: 2cqw 0; }
.mo-coches li.on { translate: 0 0; }
.mo-coches li > span { flex: none; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; border: .3cqw solid #00C8C8; padding: .5cqw; color: transparent; transition: background .4s .3s, color .4s .3s; }
.mo-coches li.on > span { background: #00C8C8; color: #001A4D; }
.mo-coches b { display: block; font-size: max(10px, 1.85cqw); }
.mo-coches small { display: block; font-size: max(8px, 1.35cqw); color: #BCCBE8; font-family: var(--texte, inherit); }

/* Bouclier */
.mo-ecu { position: absolute; left: 50%; top: 54%; width: 22cqw; height: 22cqw; margin: -11cqw 0 0 -11cqw; border-radius: 50%; background: #FFFFFF; color: #002E7A; display: grid; place-items: center; align-content: center; gap: .6cqw; padding: 3cqw; text-align: center; box-shadow: 0 0 0 1.6cqw rgba(0, 200, 200, .18), 0 2cqw 5cqw rgba(0, 0, 0, .35); scale: .6; }
.mo-ecu.on { scale: 1; }
.mo-ecu .picto { width: 8cqw; height: 8cqw; color: #0A55C2; }
.mo-ecu b { font-size: max(9px, 1.5cqw); line-height: 1.15; }
.mo-rayon { position: absolute; width: 25cqw; display: flex; align-items: center; gap: 1cqw; background: rgba(255, 255, 255, .1); border: 1px solid rgba(0, 200, 200, .45); border-radius: 99px; padding: .8cqw 1.4cqw .8cqw .8cqw; font-size: max(10px, 1.7cqw); scale: .6; }
.mo-rayon.on { scale: 1; }
.mo-rayon > span { flex: none; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #00C8C8; color: #001A4D; padding: .55cqw; }
.mo-rayon.p0 { left: 6cqw; top: 15cqw; } .mo-rayon.p1 { right: 6cqw; top: 15cqw; } .mo-rayon.p2 { left: 4cqw; top: 29cqw; }
.mo-rayon.p3 { right: 4cqw; top: 29cqw; } .mo-bouclier.n5 .mo-rayon.p4 { left: 50%; margin-left: -12.5cqw; top: 45cqw; justify-content: center; } .mo-rayon.p4 { left: 10cqw; top: 43cqw; } .mo-rayon.p5 { right: 10cqw; top: 43cqw; }

/* Mission (« À vous ») */
.mo-dossier { position: absolute; left: 7cqw; top: 50%; width: 32cqw; translate: 0 -46%; background: linear-gradient(160deg, #FFC85A, #FFB020); color: #3A2500; border-radius: 0 1.8cqw 1.8cqw 1.8cqw; padding: 2.6cqw 2.4cqw 2.4cqw; display: grid; gap: .8cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .35); rotate: -4deg; }
.mo-dossier.on { translate: 0 -50%; rotate: -2deg; }
.mo-onglet { position: absolute; left: 0; top: -2.6cqw; background: #FFC85A; border-radius: 1cqw 1cqw 0 0; padding: .6cqw 1.6cqw; font-size: max(8px, 1.2cqw); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mo-dossier .picto { width: 6cqw; height: 6cqw; }
.mo-dossier b { font-size: max(12px, 2.6cqw); line-height: 1.1; }
.mo-dossier small { font-size: max(9px, 1.5cqw); font-family: var(--texte, inherit); }
.mo-taches { position: absolute; left: 46cqw; right: 5cqw; top: 50%; transform: translateY(-50%); display: grid; gap: 1.2cqw; }
.mo-tache { display: flex; gap: 1.2cqw; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 1.4cqw; padding: 1.2cqw 1.6cqw; font-size: max(10px, 1.85cqw); translate: 3cqw 0; }
.mo-tache.on { translate: 0 0; }
.mo-tache span { flex: none; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #FFFFFF; color: #002E7A; display: grid; place-items: center; font-weight: 800; font-size: max(9px, 1.5cqw); }
.mo-a-vous { position: absolute; right: 5cqw; bottom: 5cqw; background: #00C8C8; color: #001A4D; font-weight: 800; font-size: max(12px, 2.6cqw); border-radius: 99px; padding: 1cqw 3cqw; scale: .5; }
.mo-a-vous.on { scale: 1; animation: mo-bat 1.4s .7s ease-in-out infinite; }

/* Étapes (frise) */
.mo-rail { position: absolute; left: 8cqw; right: 8cqw; top: 52%; height: .5cqw; margin-top: -.25cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .15); }
.mo-seg { position: absolute; top: 52%; height: .5cqw; margin-top: -.25cqw; background: #00C8C8; border-radius: 1cqw; transform-origin: left; scale: 0 1; opacity: 1; translate: 0 0; transition: scale .8s cubic-bezier(.4, 0, .2, 1); }
.mo-seg.on { scale: 1 1; translate: 0 0; }
.mo-etape { position: absolute; width: 15cqw; margin-left: -7.5cqw; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5cqw; }
.mo-etape.bas { top: 52%; margin-top: -3.3cqw; translate: 0 2cqw; }
.mo-etape.haut { bottom: 48%; margin-bottom: -3.3cqw; flex-direction: column-reverse; translate: 0 -2cqw; }
.mo-etape.on { translate: 0 0; }
.mo-etape > span { flex: none; width: 6.6cqw; height: 6.6cqw; border-radius: 50%; background: #FFFFFF; color: #002E7A; display: grid; place-items: center; font-weight: 800; font-size: max(10px, 1.8cqw); padding: 1.1cqw; box-shadow: 0 0 0 .7cqw rgba(0, 200, 200, .25); scale: .4; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1); }
.mo-etape.on > span { scale: 1; }
.mo-etape.or > span { background: #FFB020; color: #3A2500; }
.mo-etape.turq > span { background: #00C8C8; color: #001A4D; }
.mo-etape b { font-size: max(10px, 1.95cqw); line-height: 1.15; }
.mo-etape small { font-size: max(8px, 1.4cqw); color: #BCCBE8; font-family: var(--texte, inherit); line-height: 1.25; }
.mo-etape.haut small { order: -1; }
/* Barres */
.mo-graphe { position: absolute; left: 7cqw; right: 7cqw; top: 10cqw; bottom: 10cqw; display: flex; align-items: flex-end; justify-content: center; gap: 2.6cqw; }
.mo-barre { flex: 0 1 14cqw; display: grid; justify-items: center; gap: .6cqw; opacity: 1; translate: 0 0; }
.mo-barre i { width: 100%; height: calc(var(--h) * 27cqw); border-radius: 1.2cqw 1.2cqw 0 0; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 55%, #001A4D)); transform-origin: bottom; scale: 1 0; transition: scale .9s cubic-bezier(.3, 1.2, .4, 1); box-shadow: 0 0 2cqw color-mix(in srgb, var(--c) 35%, transparent); }
.mo-barre.on i { scale: 1 1; }
.mo-barre strong { font-size: max(11px, 2.1cqw); opacity: 0; transition: opacity .5s .5s; font-variant-numeric: tabular-nums; }
.mo-barre.on strong { opacity: 1; }
.mo-barre b { margin-top: .4cqw; width: 16cqw; text-align: center; font-size: max(9px, 1.45cqw); color: #DCE6F7; opacity: 0; transition: opacity .5s .3s; }
.mo-barre.on b { opacity: 1; }
/* Comparer (juste / erreur) */
.mo-cols { position: absolute; left: 6cqw; right: 6cqw; top: 11cqw; align-items: start; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.mo-col { border-radius: 2cqw; padding: 2cqw; display: grid; align-content: start; gap: 1.2cqw; background: rgba(47, 212, 155, .12); border: .25cqw solid rgba(47, 212, 155, .7); }
.mo-col.ko { background: rgba(255, 92, 110, .12); border-color: rgba(255, 92, 110, .75); }
.mo-col-tete { display: flex; align-items: center; gap: 1cqw; font-size: max(11px, 2cqw); }
.mo-col-tete .picto { width: 3.6cqw; height: 3.6cqw; padding: .6cqw; border-radius: 50%; background: #2FD49B; color: #00331F; }
.mo-col.ko .mo-col-tete .picto { background: #FF5C6E; color: #3D0008; }
.mo-col-l { display: grid; gap: .3cqw; }
.mo-col.neutre { background: rgba(79, 141, 247, .14); border-color: rgba(79, 141, 247, .8); }
.mo-col.neutre .mo-col-tete .picto { background: #4F8DF7; color: #001A4D; }
.mo-col.ok.neutre { background: rgba(0, 200, 200, .12); border-color: rgba(0, 200, 200, .7); }
.mo-col.ok.neutre .mo-col-tete .picto { background: #00C8C8; }
.mo-col.neutre .mo-col-l strong { text-decoration: none !important; }
.mo-col-l strong { font-size: max(14px, 3.4cqw); font-variant-numeric: tabular-nums; line-height: 1.05; }
.mo-col.ko .mo-col-l strong { text-decoration: line-through; text-decoration-thickness: .3cqw; text-decoration-color: #FF5C6E; }
.mo-col-l span { font-size: max(9px, 1.5cqw); color: #DCE6F7; font-family: var(--texte, inherit); }
@container (max-width: 560px) {
  .mo-etape b { font-size: 8.5px; } .mo-etape small { display: none; } .mo-etape { width: 17cqw; margin-left: -8.5cqw; }
  .mo-barre strong { font-size: 9px; } .mo-barre b { font-size: 7.5px; }
  .mo-col-tete { font-size: 9.5px; } .mo-col-l strong { font-size: 12px; } .mo-col-l span { font-size: 8px; } .mo-cols { top: 9cqw; bottom: 4cqw; }
}
/* ===== Vidéos BLANCHES (décision du propriétaire, 1er nov. 2026, 16 h) : fond blanc en mode clair comme en mode sombre,
   site et application. Préfixe #app pour passer devant les habillages de l'application. ===== */
#app .lecteur-video { background: #FFFFFF !important; border: 1px solid #DCE5F2; box-shadow: 0 16px 40px rgba(0, 46, 122, .12) !important; color: #0B1F4D; }
#app .lecteur-video .scene { background: radial-gradient(90% 70% at 92% 8%, rgba(0, 200, 200, .10), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(10, 85, 194, .07), transparent 60%), #FFFFFF !important; color: #0B1F4D; }
#app .lecteur-video .scene .scene-photo { display: none !important; }
#app .lecteur-video .scene .scene-fond { opacity: .18 !important; }
#app .lecteur-video .scene.motion::after { border-color: rgba(0, 200, 200, .14); }
#app .lecteur-video .sous-titre-video { background: #FFFFFF !important; color: #0B1F4D !important; border-top: 1px solid #E6ECF5; }
#app .lecteur-video .controles-video { background: #F4F7FC !important; color: #0B1F4D !important; border-top: 1px solid #E6ECF5; }
#app .lecteur-video .controles-video button { background: #FFFFFF !important; color: #002E7A !important; border: 1px solid #DCE5F2 !important; }
#app .lecteur-video .controles-video button.principal, #app .lecteur-video [data-action="video-lire"].principal { background: #00C8C8 !important; color: #001A4D !important; border-color: #00C8C8 !important; }
#app .lecteur-video .frise i { background: #DCE5F2 !important; }
#app .lecteur-video .frise i.vu { background: #00C8C8 !important; }
#app .lecteur-video .frise i.en-cours { background: #0A55C2 !important; }
#app .lecteur-video .frise i.q { background: #FFB020 !important; }
#app .lecteur-video .compteur-seq { color: #3D5A8A !important; }
/* Écran de départ et de fin */
#app .lecteur-video .scene-ouverture, #app .lecteur-video .scene-fin { background: radial-gradient(80% 70% at 50% 30%, rgba(0, 200, 200, .12), transparent 70%), #FFFFFF !important; color: #0B1F4D !important; }
#app .lecteur-video .scene-ouverture strong, #app .lecteur-video .scene-fin strong { color: #002E7A !important; }
#app .lecteur-video .scene-type { color: #00A3A3 !important; }
#app .lecteur-video .scene-duree, #app .lecteur-video .scene-conseil-voix { color: #5A6F94 !important; }
#app .lecteur-video .scene-logo { background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EEF4FC 75%) !important; }
#app .lecteur-video .scene-logo span { color: #0A55C2 !important; }
/* Scènes animées sur fond blanc */
#app .lecteur-video .mo { color: #0B1F4D; }
#app .lecteur-video .mo-tete { color: #00A3A3; } #app .lecteur-video .mo-tete i { background: #00C8C8; }
#app .lecteur-video .mo-sur { color: #00A3A3; }
#app .lecteur-video .mo-titre p, #app .lecteur-video .mo-liste small, #app .lecteur-video .mo-noeud small, #app .lecteur-video .mo-coches small, #app .lecteur-video .mo-etape small, #app .lecteur-video .mo-terme small, #app .lecteur-video .mo-col-l span, #app .lecteur-video .mo-fleche { color: #5A6F94; }
#app .lecteur-video .mo-titre .mo-halo { background: radial-gradient(circle, rgba(0, 200, 200, .16), transparent 65%); }
#app .lecteur-video .mo-medaillon, #app .lecteur-video .mo-grand-ico { background: linear-gradient(140deg, #0A55C2, #00B4C8); color: #FFFFFF; box-shadow: 0 2cqw 5cqw rgba(10, 85, 194, .28); }
#app .lecteur-video .mo-liste li, #app .lecteur-video .mo-noeud, #app .lecteur-video .mo-tache, #app .lecteur-video .mo-rayon, #app .lecteur-video .mo-terme { background: #F3F7FC; border: 1px solid #DCE5F2; color: #0B1F4D; box-shadow: 0 .6cqw 1.6cqw rgba(0, 46, 122, .06); }
#app .lecteur-video .mo-liste li.on { background: #FFFFFF; border-color: #BFE9EC; }
#app .lecteur-video .mo-noeud { border-color: #9EDFE3; }
#app .lecteur-video .mo-centre, #app .lecteur-video .scene-motion .mo-carte, #app .lecteur-video .mo-feuille, #app .lecteur-video .mo-mois, #app .lecteur-video .mo-ecu { border: 1px solid #DCE5F2; box-shadow: 0 1.6cqw 4cqw rgba(0, 46, 122, .14); }
#app .lecteur-video .mo-terme.resultat { background: #00C8C8; border-color: #00C8C8; color: #001A4D; }
#app .lecteur-video .mo-op { color: #00A3A3; }
#app .lecteur-video .mo-terme.resultat small, #app .lecteur-video .mo-terme.resultat em { color: #00414D; }
#app .lecteur-video .mo-badge { background: #EEF3FA; color: #0B1F4D; }
#app .lecteur-video .mo-badge.or { background: #FFB020; color: #3A2500; } #app .lecteur-video .mo-badge.turq { background: #00C8C8; color: #001A4D; }
#app .lecteur-video .mo-note { background: #FFF6E3; border-color: #FFC85A; color: #4A3200; }
#app .lecteur-video .mo-loupe { color: #0B1F4D; }
#app .lecteur-video .mo-tampon { color: #C27C00; border-color: #FFB020; background: rgba(255, 255, 255, .85); }
#app .lecteur-video .mo-rang { background: rgba(255, 255, 255, .3); }
#app .lecteur-video .mo-fleche i { background: linear-gradient(#00C8C8, rgba(0, 200, 200, .15)); }
#app .lecteur-video .mo-coches li > span { border-color: #00C8C8; }
#app .lecteur-video .mo-tache span { background: #002E7A; color: #FFFFFF; }
#app .lecteur-video .mo-rail { background: #DCE5F2; }
#app .lecteur-video .mo-etape > span { background: #FFFFFF; color: #002E7A; border: .35cqw solid #00C8C8; box-shadow: 0 .8cqw 2cqw rgba(0, 46, 122, .14); }
#app .lecteur-video .mo-etape.or > span { background: #FFB020; border-color: #FFB020; color: #3A2500; }
#app .lecteur-video .mo-etape.turq > span { background: #00C8C8; color: #001A4D; }
#app .lecteur-video .mo-barre strong { color: #0B1F4D; } #app .lecteur-video .mo-barre b { color: #3D5A8A; }
#app .lecteur-video .mo-col { background: rgba(47, 212, 155, .08); } #app .lecteur-video .mo-col.ko { background: rgba(255, 92, 110, .07); }
#app .lecteur-video .mo-col.neutre { background: rgba(79, 141, 247, .08); } #app .lecteur-video .mo-col.ok.neutre { background: rgba(0, 200, 200, .08); }
#app .lecteur-video .mo-alerte { box-shadow: 0 .8cqw 2cqw rgba(255, 176, 32, .35); }
#app .lecteur-video .mo-liens path { stroke: #00B4C8; }
#app .lecteur-video .scene-question { color: #0B1F4D; }
body:has(.lecteur-video.en-lecture, .lecteur-video.q-active) .pv-salut { display: none !important; }
/* Question du formateur sur fond blanc */
#app .lecteur-video .scene.en-question::before { background: radial-gradient(120% 90% at 50% 30%, rgba(0, 200, 200, .08), rgba(10, 85, 194, .05)), #F6F9FD !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
#app .lecteur-video .scene.en-question .scene-question { background: #FFFFFF !important; color: #0B1F4D !important; border: 1px solid #DCE5F2 !important; box-shadow: 0 18px 48px rgba(0, 46, 122, .14) !important; }
#app .lecteur-video .scene.en-question .sq-bandeau { color: #5A6F94 !important; border-bottom-color: #E6ECF5 !important; }
#app .lecteur-video .scene.en-question .sq-pause { background: rgba(0, 200, 200, .12) !important; color: #00807F !important; border-color: rgba(0, 200, 200, .45) !important; }
#app .lecteur-video .scene.en-question .it-tete .badge { background: #EEF3FA !important; color: #3D5A8A !important; }
#app .lecteur-video .scene.en-question .it-tete h3, #app .lecteur-video .scene.en-question .it-question, #app .lecteur-video .scene.en-question .retour-it strong { color: #0B1F4D !important; }
#app .lecteur-video .scene.en-question .it-contexte, #app .lecteur-video .scene.en-question .meta, #app .lecteur-video .scene.en-question .it-consigne, #app .lecteur-video .scene.en-question small, #app .lecteur-video .scene.en-question .it-trace { color: #5A6F94 !important; }
#app .lecteur-video .scene.en-question .interaction .choix label, #app .lecteur-video .scene.en-question .it-classement li, #app .lecteur-video .scene.en-question .it-assoc > *, #app .lecteur-video .scene.en-question .it-paire, #app .lecteur-video .scene.en-question .it-noeud { background: #F5F8FD !important; border-color: #DCE5F2 !important; color: #0B1F4D !important; }
#app .lecteur-video .scene.en-question .interaction .choix label::before { background: #E3EBF7 !important; color: #2A4775 !important; }
#app .lecteur-video .scene.en-question .interaction .choix label:hover { background: #EEF9FA !important; border-color: #7FDCDC !important; }
#app .lecteur-video .scene.en-question .interaction .choix label:has(input:checked) { background: #E3F8F8 !important; border-color: #00C8C8 !important; }
#app .lecteur-video .scene.en-question .interaction .choix label:has(input:checked)::before { background: #00C8C8 !important; color: #001A4D !important; }
#app .lecteur-video .scene.en-question .interaction .choix label.juste, #app .lecteur-video .scene.en-question .interaction .choix label.choisie.juste, #app .lecteur-video .scene.en-question .it-paire.juste { background: #E9F9EF !important; border-color: #22C55E !important; }
#app .lecteur-video .scene.en-question .interaction .choix label.faux, #app .lecteur-video .scene.en-question .interaction .choix label.choisie.faux, #app .lecteur-video .scene.en-question .it-paire.faux { background: #FDECEC !important; border-color: #EF4444 !important; }
#app .lecteur-video .scene.en-question .interaction .choix label.acceptable, #app .lecteur-video .scene.en-question .interaction .choix label.choisie.acceptable { background: #FFF6E3 !important; border-color: #F59E0B !important; }
#app .lecteur-video .scene.en-question .it-fleches button { background: #FFFFFF !important; border-color: #DCE5F2 !important; color: #00A3A3 !important; }
#app .lecteur-video .scene.en-question .it-classement li > span:first-child::before { color: #00A3A3 !important; }
#app .lecteur-video .scene.en-question select, #app .lecteur-video .scene.en-question .it-calcul input, #app .lecteur-video .scene.en-question input[type=text], #app .lecteur-video .scene.en-question input[type=number], #app .lecteur-video .scene.en-question textarea { background: #FFFFFF !important; color: #0B1F4D !important; border: 1px solid #C9D6EA !important; }
#app .lecteur-video .scene.en-question .it-calcul .unite { color: #3D5A8A !important; }
#app .lecteur-video .scene.en-question .retour-it, #app .lecteur-video .scene.en-question .it-rappel { background: #F5F8FD !important; border-color: #DCE5F2 !important; color: #2A4775 !important; }
#app .lecteur-video .scene.en-question .retour-it.juste { background: #E9F9EF !important; border-color: #9BE3B5 !important; }
#app .lecteur-video .scene.en-question .retour-it.faux { background: #FDECEC !important; border-color: #F4B4B4 !important; }
#app .lecteur-video .scene.en-question .retour-it.acceptable { background: #FFF6E3 !important; border-color: #FFD27A !important; }
#app .lecteur-video .scene.en-question .retour-it details summary { color: #00807F !important; }
#app .lecteur-video .scene.en-question .sq-suite .bouton.secondaire, #app .lecteur-video .sf-actions .bouton.secondaire, #app .lecteur-video .scene-fin .bouton.secondaire { color: #002E7A !important; border-color: #B9C8E0 !important; background: #FFFFFF !important; }
#app .lecteur-video .scene-fin .bouton.secondaire, #app .lecteur-video .scene-fin p, #app .lecteur-video .scene-fin span { color: #2A4775; }
/* Petits écrans (vidéo de moins de 560 px de large) : on garde l'essentiel, sans les lignes secondaires. */
@container (max-width: 560px) {
  .mo-tete { top: 3cqw; left: 5cqw; font-size: 8px; }
  .mo-centre small, .mo-noeud small, .scene-motion .mo-carte small, .scene-motion .mo-carte b, .mo-niv small, .mo-coches small, .mo-liste small, .mo-titre p, .mo-fleche, .mo-terme em, .mo-f-tete small { display: none; }
  .mo-centre { padding: 2cqw; } .mo-centre b { font-size: 10px; } .mo-centre span { width: 8cqw; height: 8cqw; }
  .mo-noeud b, .mo-niv b, .mo-coches b, .mo-liste b, .mo-tache, .mo-rayon, .mo-puces li { font-size: 9px; }
  .mo-alerte { left: 5cqw; bottom: 3.5cqw; font-size: 8.5px; }
  .mo-grille { top: 10cqw; gap: 1.2cqw; } .scene-motion .mo-carte { padding: 1.6cqw 1.3cqw; } .mo-sigle { font-size: 10px; } .scene-motion .mo-carte strong { font-size: 10px; }
  .mo-note { font-size: 8.5px; bottom: 3cqw; padding: .8cqw 1.4cqw; }
  .mo-feuille { top: 8.5cqw; padding: 1.4cqw 2cqw; gap: .2cqw; } .mo-f-tete b { font-size: 9.5px; }
  .mo-ligne { font-size: 7.5px; padding: .15cqw .5cqw; } .mo-ligne.total { font-size: 8px; }
  .mo-loupe { font-size: 8.5px; } .mo-loupe .picto { width: 9cqw; height: 9cqw; }
  .mo-terme .mo-num { font-size: 15px; } .mo-terme small { font-size: 8px; } .mo-op { font-size: 15px; }
  .mo-badge { font-size: 8px; } .mo-badges { bottom: 4cqw; }
  .mo-tampon { font-size: 8.5px; } .mo-pile { top: 9cqw; left: 6cqw; } .mo-niv { padding: .7cqw 1.4cqw; }
  .mo-jours { font-size: 7px; } .mo-jours .j { font-size: 6px; } .mo-mois > b { font-size: 9px; }
  .mo-dossier b { font-size: 11px; } .mo-dossier small, .mo-onglet { font-size: 7.5px; }
  .mo-titre h3 { font-size: 16px; } .mo-sur { font-size: 8px; } .mo-a-vous { font-size: 11px; }
  .mo-ecu b { font-size: 7.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .mo, .scene.motion::after, .mo-a-vous.on, .mo-alerte.on, .mo-loupe .picto { animation: none !important; }
  .mo-el, .mo-mots span { transition-duration: .01s !important; }
}

/* ===== Question du formateur COMPACTE (demande du propriétaire, 1er nov. 2026, 16 h 15) :
   question, réponses, bouton et correction visibles ensemble, sans défiler. ===== */
#app .lecteur-video .scene.en-question .scene-question { width: min(720px, calc(100% - 20px)) !important; margin: 8px auto !important; padding: 10px 14px 10px !important; border-radius: 14px !important; font-size: .8rem !important; }
#app .lecteur-video .scene.en-question .sq-bandeau { margin: 0 0 6px !important; padding-bottom: 6px !important; font-size: .62rem !important; gap: 4px 10px !important; }
#app .lecteur-video .scene.en-question .sq-pause { font-size: .6rem !important; padding: 2px 7px !important; }
#app .lecteur-video .scene.en-question .it-tete { gap: 8px !important; margin-bottom: 2px !important; }
#app .lecteur-video .scene.en-question .it-formateur { width: 22px !important; height: 22px !important; }
#app .lecteur-video .scene.en-question .it-formateur .ico { width: 12px !important; height: 12px !important; }
#app .lecteur-video .scene.en-question .it-tete .badge { font-size: .56rem !important; padding: 1px 6px !important; }
#app .lecteur-video .scene.en-question .it-tete h3 { font-size: .84rem !important; margin: 1px 0 0 !important; }
#app .lecteur-video .scene.en-question .it-contexte { font-size: .74rem !important; margin: 4px 0 !important; line-height: 1.35 !important; }
#app .lecteur-video .scene.en-question .it-question { font-size: .8rem !important; margin: 4px 0 6px !important; line-height: 1.3 !important; }
#app .lecteur-video .scene.en-question .meta, #app .lecteur-video .scene.en-question .it-consigne { font-size: .66rem !important; margin: 0 0 4px !important; }
#app .lecteur-video .scene.en-question .choix { gap: 4px !important; }
#app .lecteur-video .scene.en-question .interaction .choix label { padding: 5px 10px 5px 34px !important; border-radius: 8px !important; font-size: .76rem !important; line-height: 1.25 !important; min-height: 0 !important; }
#app .lecteur-video .scene.en-question .interaction .choix label::before { left: 8px !important; width: 18px !important; height: 18px !important; border-radius: 5px !important; font-size: .6rem !important; }
#app .lecteur-video .scene.en-question .it-classement { margin: 0 !important; }
#app .lecteur-video .scene.en-question .it-classement li, #app .lecteur-video .scene.en-question .it-assoc > *, #app .lecteur-video .scene.en-question .it-paire { padding: 4px 8px !important; font-size: .76rem !important; margin-bottom: 4px !important; min-height: 0 !important; border-radius: 8px !important; }
#app .lecteur-video .scene.en-question .it-fleches button { width: 24px !important; height: 24px !important; font-size: .75rem !important; }
#app .lecteur-video .scene.en-question select, #app .lecteur-video .scene.en-question .it-calcul input { padding: 4px 8px !important; font-size: .78rem !important; }
#app .lecteur-video .scene.en-question .it-actions { margin-top: 6px !important; padding-top: 4px !important; }
#app .lecteur-video .scene.en-question .it-actions .bouton, #app .lecteur-video .scene.en-question .sq-suite .bouton { font-size: .68rem !important; padding: 7px 12px !important; min-height: 0 !important; }
#app .lecteur-video .scene.en-question .btn-petit { font-size: .66rem !important; padding: 5px 10px !important; }
#app .lecteur-video .scene.en-question .retour-it { margin-top: 6px !important; padding: 6px 10px !important; font-size: .72rem !important; line-height: 1.32 !important; border-radius: 10px !important; }
#app .lecteur-video .scene.en-question .retour-it p, #app .lecteur-video .scene.en-question .retour-it ul { margin: 2px 0 !important; }
#app .lecteur-video .scene.en-question .retour-it li { margin: 1px 0 !important; }
#app .lecteur-video .scene.en-question .it-rappel { margin-top: 4px !important; padding: 5px 8px !important; font-size: .7rem !important; }
#app .lecteur-video .scene.en-question .sq-suite { margin-top: 6px !important; gap: 6px !important; }
#app .lecteur-video .scene.en-question .it-support { padding: 6px 8px !important; font-size: .72rem !important; }
/* Grand écran : la correction se place à côté des réponses */
@media (min-width: 900px) {
  #app .lecteur-video .scene.en-question .interaction:has(.retour-it) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 14px; align-items: start; }
  #app .lecteur-video .scene.en-question .interaction:has(.retour-it) > * { grid-column: 1; }
  #app .lecteur-video .scene.en-question .interaction:has(.retour-it) > .retour-it { grid-column: 2; grid-row: 1 / span 8; margin-top: 0 !important; }
}
#app .lecteur-video .scene.en-question .scene-logo { display: none !important; }

/* ===== Question longue : le cadre s'allonge à la hauteur de la question et de sa correction (1er nov. 2026, 16 h 40).
   Rien n'est coupé : on défile jusqu'en bas, sur le site comme dans l'application (où le cadre était limité à 62 % de l'écran). ===== */
#app .lecteur-video .scene.en-question, body.app-immersif.lecon-app #app .lecteur-video .scene.en-question { aspect-ratio: auto !important; height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; flex: none !important; }
#app .lecteur-video:has(.scene.en-question) { height: auto !important; max-height: none !important; overflow: visible !important; }
#app .lecteur-video .scene.en-question .scene-question { max-height: none !important; overflow: visible !important; }
#app .lecteur-video.agrandie:has(.scene.en-question), #app .lecteur-video:fullscreen:has(.scene.en-question) { overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
#app .lecteur-video .scene.en-question .retour-it { scroll-margin-bottom: 90px; }
#app .lecteur-video .scene.en-question .it-actions { position: static !important; }
#app .lecteur-video .scene.en-question .btn-petit.clair, #app .lecteur-video .scene.en-question .btn-petit { color: #002E7A !important; background: #FFFFFF !important; border: 1px solid #B9C8E0 !important; opacity: 1 !important; }
@media (max-width: 600px) { #app .lecteur-video .scene.en-question .sq-suite { padding-right: 64px; } }
body.app-immersif #app .lecteur-video:has(.scene.en-question) { margin-bottom: 96px !important; }
#app .lecteur-video .scene.en-question .retour-it, #app .lecteur-video .scene.en-question .sq-suite { scroll-margin-bottom: 120px; }
#app .lecteur-video .scene-motion .mo-carte { border-top: .7cqw solid var(--c) !important; }

/* ===== Thèmes des vidéos (décision du propriétaire, 9 nov. 2026) : chaque secteur a son univers (fond, couleurs, motif,
   polices, forme des cartes) et chaque formation sa variante (data-va : accent, data-vm : motif, data-vl : mise en page du
   titre, data-vc : forme des cartes). Les attributs sont posés par themeVideo() dans nexa.js. La question du formateur
   garde un cadre clair pour la lecture. ===== */
#app .lecteur-video[data-theme] {
  --v-fond: #FFFFFF; --v-motif: none; --v-encre: #0B1F4D; --v-titre: #002E7A; --v-doux: #5A6F94; --v-carte: #FFFFFF; --v-carte2: #F3F7FC;
  --v-encre-carte: #10264F; --v-bord: #DCE5F2; --v-accent: #00A3A3; --v-accent2: #0A55C2; --v-sur-accent: #FFFFFF; --v-halo: rgba(0, 200, 200, .16);
  --v-pastille: linear-gradient(140deg, var(--v-accent2), var(--v-accent)); --v-sur-pastille: #FFFFFF; --v-ombre: 0 1.6cqw 4cqw rgba(0, 46, 122, .14);
  --v-note: #FFF6E3; --v-note-bord: #FFC85A; --v-note-encre: #4A3200; --v-police: var(--titre); --v-rayon: 1.6cqw; --v-bande: #FFFFFF; --v-bande2: #F4F7FC;
  --v-cadre: var(--v-fond); --v-poids: 800; --v-casse: none; --v-espace: -.01em;
  background: var(--v-cadre) !important; border-color: var(--v-bord) !important; color: var(--v-encre);
}
/* Variantes d'accent : chaque thème donne 4 accents (--v-a0 … --v-a3) */
#app .lecteur-video[data-va="0"] { --v-accent: var(--v-a0, #00A3A3); }
#app .lecteur-video[data-va="1"] { --v-accent: var(--v-a1, var(--v-a0, #00A3A3)); }
#app .lecteur-video[data-va="2"] { --v-accent: var(--v-a2, var(--v-a0, #00A3A3)); }
#app .lecteur-video[data-va="3"] { --v-accent: var(--v-a3, var(--v-a0, #00A3A3)); }
#app .lecteur-video[data-vm="0"] { --v-motif: var(--v-m0, none); }
#app .lecteur-video[data-vm="1"] { --v-motif: var(--v-m1, var(--v-m0, none)); }
#app .lecteur-video[data-vm="2"] { --v-motif: var(--v-m2, var(--v-m0, none)); }
#app .lecteur-video[data-vc="1"] { --v-rayon: .35cqw; }
#app .lecteur-video[data-vc="2"] { --v-rayon: 3.2cqw; }
/* Décor propre à chaque module (data-vf, demande du propriétaire du 10 nov. 2026) : bande, cadre, coin ou disque dans l'accent du module */
#app .lecteur-video[data-vf="1"] { --v-deco: linear-gradient(90deg, var(--v-accent) 0 1.1cqw, transparent 1.1cqw); }
#app .lecteur-video[data-vf="2"] { --v-deco: linear-gradient(180deg, color-mix(in srgb, var(--v-accent) 16%, transparent) 0 13%, color-mix(in srgb, var(--v-accent) 55%, transparent) 13% calc(13% + .5cqw), transparent calc(13% + .5cqw)); }
#app .lecteur-video[data-vf="3"] { --v-deco: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--v-accent) 20%, transparent) 0 24%, transparent 24.3%), radial-gradient(circle at 100% 0, color-mix(in srgb, var(--v-accent) 10%, transparent) 0 34%, transparent 34.3%); }
#app .lecteur-video[data-vf="4"] { --v-deco: linear-gradient(135deg, transparent 80%, color-mix(in srgb, var(--v-accent) 18%, transparent) 80% 88%, color-mix(in srgb, var(--v-accent) 32%, transparent) 88%); }
#app .lecteur-video[data-vf="5"] { --v-deco: linear-gradient(0deg, var(--v-accent) 0 .8cqw, transparent .8cqw), radial-gradient(circle at 0 100%, color-mix(in srgb, var(--v-accent) 14%, transparent) 0 30%, transparent 30.3%); }

/* Application des variables */
#app .lecteur-video[data-theme] .scene, #app .lecteur-video[data-theme] .scene-ouverture, #app .lecteur-video[data-theme] .scene-fin { background: var(--v-deco, none), var(--v-motif), var(--v-fond) !important; color: var(--v-encre) !important; }
#app .lecteur-video[data-theme] .scene.motion::after { border-color: color-mix(in srgb, var(--v-accent) 22%, transparent); }
#app .lecteur-video[data-theme] .sous-titre-video { background: var(--v-bande) !important; color: var(--v-encre) !important; border-top-color: var(--v-bord) !important; }
#app .lecteur-video[data-theme] .controles-video { background: var(--v-bande2) !important; color: var(--v-encre) !important; border-top-color: var(--v-bord) !important; }
#app .lecteur-video[data-theme] .controles-video button { background: var(--v-carte) !important; color: var(--v-encre-carte) !important; border-color: var(--v-bord) !important; }
#app .lecteur-video[data-theme] .controles-video button.principal, #app .lecteur-video[data-theme] [data-action="video-lire"].principal { background: var(--v-accent) !important; color: var(--v-sur-accent) !important; border-color: var(--v-accent) !important; }
#app .lecteur-video[data-theme] .frise i { background: color-mix(in srgb, var(--v-encre) 15%, transparent) !important; }
#app .lecteur-video[data-theme] .frise i.vu { background: var(--v-accent) !important; }
#app .lecteur-video[data-theme] .frise i.en-cours { background: var(--v-accent2) !important; }
#app .lecteur-video[data-theme] .compteur-seq, #app .lecteur-video[data-theme] .scene-duree, #app .lecteur-video[data-theme] .scene-conseil-voix { color: var(--v-doux) !important; }
#app .lecteur-video[data-theme] .scene-ouverture strong, #app .lecteur-video[data-theme] .scene-fin strong { color: var(--v-titre) !important; font-family: var(--v-police); }
#app .lecteur-video[data-theme] .scene-type { color: var(--v-accent) !important; }
#app .lecteur-video[data-theme] .scene-logo { background: var(--v-carte) !important; box-shadow: var(--v-ombre); }
#app .lecteur-video[data-theme] .scene-logo span { color: var(--v-accent) !important; }
#app .lecteur-video[data-theme] .scene-fin p, #app .lecteur-video[data-theme] .scene-fin span { color: var(--v-doux); }
#app .lecteur-video[data-theme] .mo { color: var(--v-encre); font-family: var(--v-police); }
#app .lecteur-video[data-theme] .mo-titre h3 { color: var(--v-titre); font-weight: var(--v-poids); text-transform: var(--v-casse); letter-spacing: var(--v-espace); }
#app .lecteur-video[data-theme] .mo-tete, #app .lecteur-video[data-theme] .mo-sur, #app .lecteur-video[data-theme] .mo-op { color: var(--v-accent); }
#app .lecteur-video[data-theme] .mo-tete i { background: var(--v-accent); }
#app .lecteur-video[data-theme] .mo-titre p, #app .lecteur-video[data-theme] .mo-liste small, #app .lecteur-video[data-theme] .mo-noeud small, #app .lecteur-video[data-theme] .mo-coches small, #app .lecteur-video[data-theme] .mo-etape small, #app .lecteur-video[data-theme] .mo-terme small, #app .lecteur-video[data-theme] .mo-col-l span, #app .lecteur-video[data-theme] .mo-fleche, #app .lecteur-video[data-theme] .mo-barre b { color: var(--v-doux); }
#app .lecteur-video[data-theme] .mo-titre .mo-halo { background: radial-gradient(circle, var(--v-halo), transparent 65%); }
#app .lecteur-video[data-theme] .mo-medaillon, #app .lecteur-video[data-theme] .mo-grand-ico { background: var(--v-pastille); color: var(--v-sur-pastille); box-shadow: var(--v-ombre); border-radius: calc(var(--v-rayon) * 2.2); }
#app .lecteur-video[data-theme] .mo-liste li, #app .lecteur-video[data-theme] .mo-noeud, #app .lecteur-video[data-theme] .mo-tache, #app .lecteur-video[data-theme] .mo-rayon, #app .lecteur-video[data-theme] .mo-terme, #app .lecteur-video[data-theme] .mo-badge { background: var(--v-carte2); border: 1px solid var(--v-bord); color: var(--v-encre); border-radius: var(--v-rayon); box-shadow: none; }
#app .lecteur-video[data-theme] .mo-liste li.on { background: var(--v-carte); border-color: color-mix(in srgb, var(--v-accent) 45%, var(--v-bord)); }
#app .lecteur-video[data-theme] .mo-centre, #app .lecteur-video[data-theme] .scene-motion .mo-carte, #app .lecteur-video[data-theme] .mo-feuille, #app .lecteur-video[data-theme] .mo-mois, #app .lecteur-video[data-theme] .mo-ecu { background: var(--v-carte); color: var(--v-encre-carte); border: 1px solid var(--v-bord); box-shadow: var(--v-ombre); border-radius: var(--v-rayon); }
#app .lecteur-video[data-theme] .scene-motion .mo-carte b, #app .lecteur-video[data-theme] .mo-centre small, #app .lecteur-video[data-theme] .scene-motion .mo-carte small { color: color-mix(in srgb, var(--v-encre-carte) 65%, transparent); }
#app .lecteur-video[data-theme] .mo-f-tete b, #app .lecteur-video[data-theme] .mo-mois > b { color: var(--v-encre-carte, var(--v-titre)); font-family: var(--v-police); }
#app .lecteur-video[data-theme] .mo-terme.resultat, #app .lecteur-video[data-theme] .mo-badge.turq { background: var(--v-accent); border-color: var(--v-accent); color: var(--v-sur-accent); }
#app .lecteur-video[data-theme] .mo-terme.resultat small, #app .lecteur-video[data-theme] .mo-terme.resultat em { color: var(--v-sur-accent); opacity: .85; }
#app .lecteur-video[data-theme] .mo-note { background: var(--v-note); border-color: var(--v-note-bord); color: var(--v-note-encre); border-radius: var(--v-rayon); }
#app .lecteur-video[data-theme] .mo-loupe, #app .lecteur-video[data-theme] .mo-barre strong { color: var(--v-encre); }
#app .lecteur-video[data-theme] .mo-fleche i { background: linear-gradient(var(--v-accent), color-mix(in srgb, var(--v-accent) 15%, transparent)); }
#app .lecteur-video[data-theme] .mo-coches li > span { border-color: var(--v-accent); }
#app .lecteur-video[data-theme] .mo-tache span { background: var(--v-accent2); color: #FFFFFF; }
#app .lecteur-video[data-theme] .mo-rail { background: var(--v-bord); }
#app .lecteur-video[data-theme] .mo-etape > span { background: var(--v-carte); color: var(--v-titre); border-color: var(--v-accent); box-shadow: var(--v-ombre); }
#app .lecteur-video[data-theme] .mo-etape.turq > span { background: var(--v-accent); color: var(--v-sur-accent); }
#app .lecteur-video[data-theme] .mo-liens path { stroke: var(--v-accent); }
#app .lecteur-video[data-theme] .scene.en-question::before { background: var(--v-deco, none), var(--v-motif), var(--v-fond) !important; }

/* Ambiances par module (data-vs, demande du propriétaire du 10 nov. 2026 : « chaque module un style différent, pas des pages
   qui se ressemblent »). 0 = univers du secteur ; 1 nuit ; 2 papier ; 3 pleine couleur ; 4 tableau ; 5 blanc éditorial.
   L'accent du secteur et de la formation est gardé, le reste change. */
#app .lecteur-video[data-theme][data-vs="1"] {
  --v-fond: #10151F; --v-encre: #EEF2F7; --v-titre: #FFFFFF; --v-doux: #9AA6B8; --v-carte: #1A2130; --v-carte2: #161C29; --v-encre-carte: #EEF2F7; --v-bord: #2A3345;
  --v-sur-accent: #10151F; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .5); --v-bande: #121826; --v-bande2: #0D121B;
  --v-note: color-mix(in srgb, var(--v-accent) 16%, #10151F); --v-note-bord: color-mix(in srgb, var(--v-accent) 60%, transparent); --v-note-encre: #FFFFFF;
  --v-motif: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--v-accent) 22%, transparent), transparent 40%), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 30px;
}
#app .lecteur-video[data-theme][data-vs="2"] {
  --v-fond: #F5EEDC; --v-encre: #2A241C; --v-titre: color-mix(in srgb, var(--v-accent) 70%, #2A241C); --v-doux: #7B6E5C; --v-carte: #FFFDF6; --v-carte2: #EEE4CC; --v-encre-carte: #2A241C; --v-bord: #DDCDAA;
  --v-sur-accent: #FFFFFF; --v-ombre: .5cqw .5cqw 0 rgba(42, 36, 28, .18); --v-bande: #FBF6EA; --v-bande2: #EFE6D0; --v-note: #FFF2C8; --v-note-bord: #E0B44A; --v-note-encre: #4A3410;
  --v-poids: 700; --v-motif: repeating-linear-gradient(transparent 0 31px, rgba(42, 36, 28, .07) 31px 32px), radial-gradient(circle at 15% 20%, rgba(42, 36, 28, .05), transparent 30%);
}
#app .lecteur-video[data-theme][data-vs="3"] {
  --v-fond: color-mix(in srgb, var(--v-accent) 78%, #0A0F1E); --v-encre: #FFFFFF; --v-titre: #FFFFFF; --v-doux: rgba(255, 255, 255, .82); --v-carte: #FFFFFF; --v-carte2: rgba(255, 255, 255, .14);
  --v-encre-carte: #141821; --v-bord: rgba(255, 255, 255, .32); --v-pastille: #FFFFFF; --v-sur-pastille: color-mix(in srgb, var(--v-accent) 80%, #0A0F1E); --v-accent2: #FFFFFF;
  --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .25); --v-bande: color-mix(in srgb, var(--v-accent) 70%, #0A0F1E); --v-bande2: color-mix(in srgb, var(--v-accent) 60%, #0A0F1E);
  --v-note: rgba(255, 255, 255, .16); --v-note-bord: rgba(255, 255, 255, .6); --v-note-encre: #FFFFFF; --v-halo: rgba(255, 255, 255, .18); --v-casse: uppercase;
  --v-motif: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .16), transparent 45%), repeating-linear-gradient(-35deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}
#app .lecteur-video[data-theme][data-vs="3"] .mo-terme.resultat, #app .lecteur-video[data-theme][data-vs="3"] .mo-badge.turq, #app .lecteur-video[data-theme][data-vs="3"] .mo-etape.turq > span { background: #FFFFFF; color: color-mix(in srgb, var(--v-accent) 80%, #0A0F1E); border-color: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-terme.resultat small, #app .lecteur-video[data-theme][data-vs="3"] .mo-terme.resultat em { color: inherit; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-tete, #app .lecteur-video[data-theme][data-vs="3"] .mo-sur, #app .lecteur-video[data-theme][data-vs="3"] .mo-op, #app .lecteur-video[data-theme][data-vs="3"] .scene-type { color: #FFFFFF !important; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-tete i, #app .lecteur-video[data-theme][data-vs="3"] .mo-fleche i { background: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-liens path { stroke: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-liste li.on, #app .lecteur-video[data-theme][data-vs="3"] .mo-etape > span { background: rgba(255, 255, 255, .24); color: #FFFFFF; border-color: rgba(255, 255, 255, .7); }
#app .lecteur-video[data-theme][data-vs="3"] .mo-coches li > span, #app .lecteur-video[data-theme][data-vs="3"] .mo-etape > span { border-color: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="4"] {
  --v-fond: #1F2E28; --v-encre: #EEF3EC; --v-titre: #FFF4C2; --v-doux: #A9BBB1; --v-carte: #27382F; --v-carte2: #23332B; --v-encre-carte: #EEF3EC; --v-bord: #3C5248;
  --v-sur-accent: #1F2E28; --v-ombre: 0 1.4cqw 3cqw rgba(0, 0, 0, .4); --v-bande: #21302A; --v-bande2: #1A2722; --v-note: rgba(255, 244, 194, .1); --v-note-bord: rgba(255, 244, 194, .5); --v-note-encre: #FFF4C2;
  --v-poids: 600; --v-motif: radial-gradient(ellipse at 50% 120%, rgba(255, 255, 255, .06), transparent 60%), repeating-linear-gradient(8deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 9px);
}
#app .lecteur-video[data-theme][data-vs="5"] {
  --v-fond: #FFFFFF; --v-encre: #111318; --v-titre: #111318; --v-doux: #646B78; --v-carte: #FFFFFF; --v-carte2: #F4F5F7; --v-encre-carte: #111318; --v-bord: #E3E5EA;
  --v-sur-accent: #FFFFFF; --v-ombre: 0 .4cqw 1.6cqw rgba(17, 19, 24, .08); --v-bande: #FFFFFF; --v-bande2: #F6F7F9; --v-note: #F4F5F7; --v-note-bord: #111318; --v-note-encre: #111318;
  --v-poids: 800; --v-casse: uppercase; --v-espace: .01em; --v-rayon: 0; --v-motif: linear-gradient(90deg, transparent calc(100% - 22cqw), #F4F5F7 calc(100% - 22cqw));
}

/* Mises en page du titre (data-vl) : à gauche (0), centrée sans pastille (1), en miroir (2) */
#app .lecteur-video[data-vl="1"] .mo-titre { justify-items: center; text-align: center; padding: 0 12cqw; }
#app .lecteur-video[data-vl="1"] .mo-titre h3, #app .lecteur-video[data-vl="1"] .mo-titre p { max-width: 70cqw; }
#app .lecteur-video[data-vl="1"] .mo-titre .mo-medaillon { right: auto; left: 50%; top: 9%; margin: 0 0 0 -5cqw; width: 10cqw; height: 10cqw; padding: 2.2cqw; }
#app .lecteur-video[data-vl="1"] .mo-titre:has(.mo-medaillon) { padding-top: 10cqw; }
#app .lecteur-video[data-vl="2"] .mo-titre { justify-items: end; text-align: right; }
#app .lecteur-video[data-vl="2"] .mo-titre .mo-medaillon { right: auto; left: 8cqw; }
#app .lecteur-video[data-vl="2"] .mo-titre .mo-halo { left: auto; right: -10cqw; }

/* ---------- Santé et essais cliniques : laboratoire (vert d'eau, molécules) ---------- */
#app .lecteur-video[data-theme="sante"] {
  --v-fond: #EEF9F5; --v-encre: #0B3B33; --v-titre: #064E43; --v-doux: #4D7A70; --v-carte: #FFFFFF; --v-carte2: #E2F4EE; --v-encre-carte: #0B3B33; --v-bord: #BFE5D8;
  --v-a0: #0F9D7A; --v-a1: #2563EB; --v-a2: #7C3AED; --v-a3: #DB2777; --v-accent2: #0E7490; --v-halo: rgba(15, 157, 122, .18); --v-police: "Plus Jakarta Sans", var(--titre);
  --v-m0: radial-gradient(circle at 2px 2px, rgba(15, 157, 122, .22) 1.6px, transparent 2.4px) 0 0 / 22px 22px;
  --v-m1: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .12), transparent 35%), radial-gradient(circle at 10% 90%, rgba(15, 157, 122, .14), transparent 40%);
  --v-m2: repeating-linear-gradient(60deg, rgba(15, 157, 122, .07) 0 2px, transparent 2px 26px), repeating-linear-gradient(-60deg, rgba(15, 157, 122, .07) 0 2px, transparent 2px 26px);
  --v-bande: #F7FDFB; --v-bande2: #E7F6F0; --v-note: #FFF7E6;
}
/* ---------- Banque et microfinance : salle des marchés (bleu nuit, or) ---------- */
#app .lecteur-video[data-theme="banque"] {
  --v-fond: #0B1630; --v-encre: #EEF2FB; --v-titre: #F7E7BF; --v-doux: #A9B6D3; --v-carte: #13244A; --v-carte2: #102043; --v-encre-carte: #EEF2FB; --v-bord: #2A3D6B;
  --v-a0: #D4A94A; --v-a1: #38BDF8; --v-a2: #34D399; --v-a3: #F59E0B; --v-accent2: #6E8BFF; --v-sur-accent: #0B1630; --v-halo: rgba(212, 169, 74, .22); --v-police: "Plus Jakarta Sans", var(--titre); --v-poids: 600;
  --v-pastille: linear-gradient(140deg, #D4A94A, #8C6A1E); --v-sur-pastille: #0B1630; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .45);
  --v-m0: linear-gradient(rgba(212, 169, 74, .07) 1px, transparent 1px) 0 0 / 100% 36px, linear-gradient(90deg, rgba(212, 169, 74, .07) 1px, transparent 1px) 0 0 / 36px 100%;
  --v-m1: linear-gradient(115deg, transparent 60%, rgba(212, 169, 74, .10) 60% 61%, transparent 61%), radial-gradient(circle at 90% 10%, rgba(56, 189, 248, .14), transparent 40%);
  --v-m2: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 14px);
  --v-bande: #0E1B3A; --v-bande2: #0A1430; --v-note: rgba(212, 169, 74, .14); --v-note-bord: rgba(212, 169, 74, .55); --v-note-encre: #F7E7BF;
}
/* ---------- Mines : carrière (ardoise, cuivre, courbes de niveau) ---------- */
#app .lecteur-video[data-theme="mines"] {
  --v-fond: #1F1B18; --v-encre: #F3E9DC; --v-titre: #FFD7A8; --v-doux: #C7B6A3; --v-carte: #2B2521; --v-carte2: #26201C; --v-encre-carte: #F3E9DC; --v-bord: #4A3F36;
  --v-a0: #D9822B; --v-a1: #E2B03A; --v-a2: #48B39A; --v-a3: #C2553A; --v-accent2: #B8742A; --v-sur-accent: #1F1B18; --v-halo: rgba(217, 130, 43, .22);
  --v-police: "Plus Jakarta Sans", var(--titre); --v-casse: uppercase; --v-espace: .02em; --v-pastille: linear-gradient(140deg, #D9822B, #8A4B16); --v-sur-pastille: #FFF5E8; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .5);
  --v-m0: repeating-radial-gradient(circle at 85% 115%, transparent 0 18px, rgba(217, 130, 43, .14) 18px 19px);
  --v-m1: repeating-radial-gradient(ellipse at 10% 120%, transparent 0 22px, rgba(226, 176, 58, .12) 22px 23px);
  --v-m2: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 3px, transparent 3px 12px);
  --v-bande: #231E1A; --v-bande2: #1B1714; --v-note: rgba(226, 176, 58, .14); --v-note-bord: rgba(226, 176, 58, .5); --v-note-encre: #FFE6B8;
}
/* ---------- Hydrocarbures : raffinerie (anthracite, jaune sécurité, bande hachurée) ---------- */
#app .lecteur-video[data-theme="hydrocarbures"] {
  --v-fond: #15191E; --v-encre: #ECEFF3; --v-titre: #FFD54A; --v-doux: #A5AEBA; --v-carte: #20262E; --v-carte2: #1B2027; --v-encre-carte: #ECEFF3; --v-bord: #37414D;
  --v-a0: #FFB000; --v-a1: #FF6B35; --v-a2: #4FC3F7; --v-a3: #9CCC65; --v-accent2: #FF8F00; --v-sur-accent: #15191E; --v-halo: rgba(255, 176, 0, .2);
  --v-police: "Plus Jakarta Sans", var(--titre); --v-casse: uppercase; --v-pastille: #FFB000; --v-sur-pastille: #15191E; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .5);
  --v-m0: repeating-linear-gradient(-45deg, #FFB000 0 12px, #15191E 12px 24px) 0 100% / 100% 2.2cqw no-repeat;
  --v-m1: repeating-linear-gradient(-45deg, #FFB000 0 12px, #15191E 12px 24px) 0 0 / 1.6cqw 100% no-repeat, linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 24px;
  --v-m2: radial-gradient(circle at 90% 85%, rgba(255, 176, 0, .16), transparent 35%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 30px);
  --v-bande: #1A1F25; --v-bande2: #12161B; --v-note: rgba(255, 176, 0, .14); --v-note-bord: rgba(255, 176, 0, .55); --v-note-encre: #FFE59A;
}
/* ---------- Administration : bureau (papier crème, bordeaux, lignes de cahier) ---------- */
#app .lecteur-video[data-theme="administration"] {
  --v-fond: #FBF7EF; --v-encre: #2B2522; --v-titre: #6B1F2A; --v-doux: #7A6A60; --v-carte: #FFFFFF; --v-carte2: #F4ECDD; --v-encre-carte: #2B2522; --v-bord: #E6D8C2;
  --v-a0: #8C2F39; --v-a1: #1E5B8C; --v-a2: #4D7C3A; --v-a3: #B4691E; --v-accent2: #5A3E8C; --v-halo: rgba(140, 47, 57, .12); --v-police: "Plus Jakarta Sans", var(--titre); --v-poids: 600;
  --v-m0: linear-gradient(90deg, transparent 7cqw, rgba(140, 47, 57, .25) 7cqw calc(7cqw + 1px), transparent calc(7cqw + 1px)), repeating-linear-gradient(transparent 0 27px, rgba(30, 91, 140, .10) 27px 28px);
  --v-m1: repeating-linear-gradient(transparent 0 27px, rgba(30, 91, 140, .08) 27px 28px);
  --v-m2: radial-gradient(circle at 92% 12%, rgba(140, 47, 57, .10), transparent 30%), repeating-linear-gradient(90deg, rgba(43, 37, 34, .03) 0 1px, transparent 1px 22px);
  --v-bande: #FFFCF6; --v-bande2: #F6EEE0;
}
/* ---------- Ressources humaines : chaleureux (pêche, corail, pois) ---------- */
#app .lecteur-video[data-theme="rh"] {
  --v-fond: #FFF3EC; --v-encre: #3A1F18; --v-titre: #9A3412; --v-doux: #8A6253; --v-carte: #FFFFFF; --v-carte2: #FFE6D9; --v-encre-carte: #3A1F18; --v-bord: #F6D2C0;
  --v-a0: #E8664A; --v-a1: #D9467A; --v-a2: #0E9F8E; --v-a3: #7C5CDB; --v-accent2: #C2410C; --v-halo: rgba(232, 102, 74, .18); --v-police: "Plus Jakarta Sans", var(--titre); --v-rayon: 2.4cqw;
  --v-m0: radial-gradient(circle, rgba(232, 102, 74, .16) 2px, transparent 3px) 0 0 / 26px 26px;
  --v-m1: radial-gradient(circle at 88% 20%, rgba(217, 70, 122, .14), transparent 30%), radial-gradient(circle at 12% 85%, rgba(232, 102, 74, .16), transparent 35%);
  --v-m2: repeating-linear-gradient(45deg, rgba(232, 102, 74, .06) 0 10px, transparent 10px 20px);
  --v-bande: #FFF8F4; --v-bande2: #FFEDE3;
}
/* ---------- Comptabilité : grand livre (vert pâle, colonnes) ---------- */
#app .lecteur-video[data-theme="comptabilite"] {
  --v-fond: #F2F7EE; --v-encre: #1D2B1F; --v-titre: #1F5130; --v-doux: #5E7262; --v-carte: #FFFFFF; --v-carte2: #E5EFDE; --v-encre-carte: #1D2B1F; --v-bord: #CADDBF;
  --v-a0: #2F6B3B; --v-a1: #B45309; --v-a2: #1D4ED8; --v-a3: #9F1239; --v-accent2: #3F7F4E; --v-halo: rgba(47, 107, 59, .14); --v-police: "Inter", var(--titre);
  --v-m0: repeating-linear-gradient(90deg, transparent 0 79px, rgba(47, 107, 59, .14) 79px 80px), repeating-linear-gradient(transparent 0 23px, rgba(47, 107, 59, .08) 23px 24px);
  --v-m1: repeating-linear-gradient(transparent 0 23px, rgba(47, 107, 59, .10) 23px 24px);
  --v-m2: linear-gradient(90deg, rgba(180, 83, 9, .10) 0 3px, transparent 3px) 9cqw 0 / 100% 100% no-repeat, repeating-linear-gradient(transparent 0 23px, rgba(47, 107, 59, .07) 23px 24px);
  --v-bande: #F8FBF5; --v-bande2: #E9F1E3;
}
/* ---------- Audit : contrôle (gris clair, indigo, damier) ---------- */
#app .lecteur-video[data-theme="audit"] {
  --v-fond: #F4F5F8; --v-encre: #111827; --v-titre: #312E81; --v-doux: #5B6170; --v-carte: #FFFFFF; --v-carte2: #E9EAF2; --v-encre-carte: #111827; --v-bord: #D5D8E4;
  --v-a0: #4338CA; --v-a1: #0891B2; --v-a2: #BE185D; --v-a3: #15803D; --v-accent2: #6366F1; --v-halo: rgba(67, 56, 202, .14);
  --v-m0: conic-gradient(rgba(67, 56, 202, .05) 25%, transparent 0 50%, rgba(67, 56, 202, .05) 0 75%, transparent 0) 0 0 / 44px 44px;
  --v-m1: linear-gradient(rgba(67, 56, 202, .06) 1px, transparent 1px) 0 0 / 100% 18px;
  --v-m2: radial-gradient(circle at 85% 80%, rgba(67, 56, 202, .12), transparent 35%);
}
/* ---------- Assurances : bouclier (bleu ciel, arcs) ---------- */
#app .lecteur-video[data-theme="assurances"] {
  --v-fond: #EAF4FF; --v-encre: #0B2545; --v-titre: #13315C; --v-doux: #4F6B8A; --v-carte: #FFFFFF; --v-carte2: #DCEBFC; --v-encre-carte: #0B2545; --v-bord: #BFD8F5;
  --v-a0: #1D4ED8; --v-a1: #0D9488; --v-a2: #C2410C; --v-a3: #9333EA; --v-accent2: #2563EB; --v-halo: rgba(29, 78, 216, .14); --v-police: "Plus Jakarta Sans", var(--titre); --v-rayon: 2.2cqw;
  --v-m0: repeating-radial-gradient(circle at 100% 0, transparent 0 30px, rgba(29, 78, 216, .08) 30px 32px);
  --v-m1: repeating-radial-gradient(circle at 0 100%, transparent 0 40px, rgba(13, 148, 136, .09) 40px 42px);
  --v-m2: radial-gradient(ellipse at 50% 120%, rgba(29, 78, 216, .16), transparent 55%);
}
/* ---------- Logistique : entrepôt (kraft, orange, bandes de convoyeur) ---------- */
#app .lecteur-video[data-theme="logistique"] {
  --v-fond: #F3E6D2; --v-encre: #2A1A10; --v-titre: #7C2D12; --v-doux: #7A5B45; --v-carte: #FFFBF4; --v-carte2: #EBD9BF; --v-encre-carte: #2A1A10; --v-bord: #D9BF9C;
  --v-a0: #E36414; --v-a1: #0F766E; --v-a2: #1D4ED8; --v-a3: #A16207; --v-accent2: #9A3412; --v-halo: rgba(227, 100, 20, .16); --v-police: "Plus Jakarta Sans", var(--titre); --v-casse: uppercase; --v-rayon: .5cqw;
  --v-m0: repeating-linear-gradient(90deg, rgba(42, 26, 16, .22) 0 18px, transparent 18px 30px) 0 92% / 100% 3px no-repeat, repeating-linear-gradient(90deg, rgba(42, 26, 16, .22) 0 18px, transparent 18px 30px) 0 96% / 100% 3px no-repeat;
  --v-m1: repeating-linear-gradient(0deg, rgba(42, 26, 16, .05) 0 1px, transparent 1px 16px), repeating-linear-gradient(90deg, rgba(42, 26, 16, .05) 0 1px, transparent 1px 16px);
  --v-m2: linear-gradient(135deg, transparent 0 85%, rgba(227, 100, 20, .25) 85% 86%, transparent 86%);
  --v-bande: #FAF1E3; --v-bande2: #EEDDC4;
}
/* ---------- Télécoms : réseau (violet nuit, ondes) ---------- */
#app .lecteur-video[data-theme="telecoms"] {
  --v-fond: #140F2E; --v-encre: #EDE9FE; --v-titre: #F0ABFC; --v-doux: #B3A9D9; --v-carte: #1F1846; --v-carte2: #1A143C; --v-encre-carte: #EDE9FE; --v-bord: #3B3172;
  --v-a0: #D946EF; --v-a1: #22D3EE; --v-a2: #A3E635; --v-a3: #FB923C; --v-accent2: #8B5CF6; --v-sur-accent: #140F2E; --v-halo: rgba(217, 70, 239, .22);
  --v-pastille: linear-gradient(140deg, #D946EF, #22D3EE); --v-sur-pastille: #140F2E; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .5);
  --v-m0: repeating-radial-gradient(circle at 0 100%, transparent 0 24px, rgba(217, 70, 239, .16) 24px 25px, transparent 25px 50px, rgba(34, 211, 238, .12) 50px 51px);
  --v-m1: radial-gradient(circle at 1px 1px, rgba(237, 233, 254, .18) 1px, transparent 1.6px) 0 0 / 18px 18px;
  --v-m2: repeating-radial-gradient(circle at 100% 0, transparent 0 30px, rgba(34, 211, 238, .12) 30px 31px);
  --v-bande: #18123A; --v-bande2: #110C28; --v-note: rgba(217, 70, 239, .14); --v-note-bord: rgba(217, 70, 239, .5); --v-note-encre: #FAE8FF;
}
/* ---------- ONG et humanitaire : terrain (sable, terre cuite, vert) ---------- */
#app .lecteur-video[data-theme="ong"] {
  --v-fond: #F7EFE2; --v-encre: #2E2416; --v-titre: #9A3412; --v-doux: #7A6A52; --v-carte: #FFFCF6; --v-carte2: #EFE2CC; --v-encre-carte: #2E2416; --v-bord: #DFCBAA;
  --v-a0: #C2410C; --v-a1: #15803D; --v-a2: #0369A1; --v-a3: #B45309; --v-accent2: #166534; --v-halo: rgba(194, 65, 12, .14); --v-police: "Plus Jakarta Sans", var(--titre); --v-poids: 700; --v-rayon: 2.8cqw;
  --v-m0: radial-gradient(ellipse at 95% 10%, rgba(21, 128, 61, .16), transparent 30%), radial-gradient(ellipse at 5% 95%, rgba(194, 65, 12, .14), transparent 32%);
  --v-m1: repeating-radial-gradient(circle at 50% 140%, transparent 0 26px, rgba(194, 65, 12, .08) 26px 28px);
  --v-m2: radial-gradient(circle, rgba(46, 36, 22, .12) 1.2px, transparent 2px) 0 0 / 14px 14px;
}
/* ---------- Juridique : palais (ivoire, vert profond, double filet) ---------- */
#app .lecteur-video[data-theme="juridique"] {
  --v-fond: #FBF8F1; --v-encre: #1C2A22; --v-titre: #14532D; --v-doux: #5E6B62; --v-carte: #FFFFFF; --v-carte2: #EEF1E8; --v-encre-carte: #1C2A22; --v-bord: #D6DCCB;
  --v-a0: #14532D; --v-a1: #7F1D1D; --v-a2: #1E3A8A; --v-a3: #92400E; --v-accent2: #166534; --v-halo: rgba(20, 83, 45, .12); --v-police: "Plus Jakarta Sans", var(--titre); --v-poids: 600; --v-rayon: .4cqw;
  --v-m0: radial-gradient(circle at 50% -10%, rgba(20, 83, 45, .08), transparent 45%);
  --v-m1: repeating-linear-gradient(90deg, rgba(20, 83, 45, .05) 0 1px, transparent 1px 34px);
  --v-m2: radial-gradient(circle at 50% -20%, rgba(20, 83, 45, .12), transparent 50%);
}
#app .lecteur-video[data-theme="juridique"] .scene { box-shadow: inset 0 0 0 1.2cqw #FBF8F1, inset 0 0 0 calc(1.2cqw + 1px) rgba(20, 83, 45, .45), inset 0 0 0 1.7cqw #FBF8F1, inset 0 0 0 calc(1.7cqw + 1px) rgba(20, 83, 45, .3); }
/* ---------- Industrie : atelier (acier clair, plan bleu) ---------- */
#app .lecteur-video[data-theme="industrie"] {
  --v-fond: #E9EEF3; --v-encre: #0F2533; --v-titre: #0C4A6E; --v-doux: #4F6676; --v-carte: #FFFFFF; --v-carte2: #DCE4EC; --v-encre-carte: #0F2533; --v-bord: #C2D0DC;
  --v-a0: #0369A1; --v-a1: #EA580C; --v-a2: #059669; --v-a3: #6D28D9; --v-accent2: #0284C7; --v-halo: rgba(3, 105, 161, .14); --v-rayon: .6cqw;
  --v-m0: linear-gradient(rgba(3, 105, 161, .10) 1px, transparent 1px) 0 0 / 100% 20px, linear-gradient(90deg, rgba(3, 105, 161, .10) 1px, transparent 1px) 0 0 / 20px 100%;
  --v-m1: linear-gradient(rgba(3, 105, 161, .14) 1px, transparent 1px) 0 0 / 100% 100px, linear-gradient(90deg, rgba(3, 105, 161, .14) 1px, transparent 1px) 0 0 / 100px 100%;
  --v-m2: repeating-linear-gradient(-45deg, rgba(15, 37, 51, .04) 0 2px, transparent 2px 10px);
}
/* ---------- Numérique : code (noir, vert, grille de points) ---------- */
#app .lecteur-video[data-theme="numerique"] {
  --v-fond: #0D1117; --v-encre: #E6EDF3; --v-titre: #7EE787; --v-doux: #8B949E; --v-carte: #161B22; --v-carte2: #12171E; --v-encre-carte: #E6EDF3; --v-bord: #30363D;
  --v-a0: #3FB950; --v-a1: #58A6FF; --v-a2: #D2A8FF; --v-a3: #F0883E; --v-accent2: #1F6FEB; --v-sur-accent: #0D1117; --v-halo: rgba(63, 185, 80, .2);
  --v-police: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; --v-pastille: #161B22; --v-sur-pastille: #3FB950; --v-ombre: 0 1.6cqw 4cqw rgba(0, 0, 0, .55);
  --v-m0: radial-gradient(circle at 1px 1px, rgba(139, 148, 158, .25) 1px, transparent 1.6px) 0 0 / 20px 20px;
  --v-m1: repeating-linear-gradient(0deg, rgba(63, 185, 80, .05) 0 1px, transparent 1px 22px);
  --v-m2: radial-gradient(circle at 85% 15%, rgba(88, 166, 255, .16), transparent 35%);
  --v-bande: #10151C; --v-bande2: #0B0F14; --v-note: rgba(240, 136, 62, .14); --v-note-bord: rgba(240, 136, 62, .5); --v-note-encre: #FFD8B5;
}
/* ---------- Sciences politiques et gouvernance : institution (bleu nuit, indigo, sarcelle ; halos doux, sans trait) ---------- */
#app .lecteur-video[data-theme="gouvernance"] {
  --v-fond: #F7F8FC; --v-encre: #16213A; --v-titre: #1E2A78; --v-doux: #5B6585; --v-carte: #FFFFFF; --v-carte2: #EEF1FA; --v-encre-carte: #16213A; --v-bord: #D5DAEC;
  --v-a0: #3949AB; --v-a1: #00897B; --v-a2: #6A4C93; --v-a3: #1565C0; --v-accent2: #26A69A; --v-sur-accent: #FFFFFF; --v-halo: rgba(57, 73, 171, .14); --v-rayon: 1cqw;
  --v-m0: radial-gradient(circle at 15% 20%, rgba(57, 73, 171, .10), transparent 40%);
  --v-m1: radial-gradient(circle at 85% 80%, rgba(0, 137, 123, .10), transparent 45%);
  --v-m2: radial-gradient(circle at 50% 0%, rgba(106, 76, 147, .08), transparent 50%);
  --v-note: rgba(57, 73, 171, .08); --v-note-bord: rgba(57, 73, 171, .35); --v-note-encre: #1E2A78;
}
/* Petites pastilles et repères : couleur d'accent de la formation */
#app .lecteur-video[data-theme] .mo-puces li span, #app .lecteur-video[data-theme] .mo-pastille, #app .lecteur-video[data-theme] .mo-noeud > span, #app .lecteur-video[data-theme] .mo-rayon > span, #app .lecteur-video[data-theme] .mo-coches li.on > span, #app .lecteur-video[data-theme] .mo-jours span.marque.on, #app .lecteur-video[data-theme] .mo-a-vous, #app .lecteur-video[data-theme] .mo-seg { background: var(--v-accent); color: var(--v-sur-accent); }
#app .lecteur-video[data-theme] .mo-terme em, #app .lecteur-video[data-theme] .mo-centre span, #app .lecteur-video[data-theme] .mo-ecu .picto { color: var(--v-accent); }
#app .lecteur-video[data-theme] .mo-terme.resultat { box-shadow: 0 0 0 1.2cqw color-mix(in srgb, var(--v-accent) 18%, transparent); }
#app .lecteur-video[data-theme] .mo-niv { background: linear-gradient(90deg, color-mix(in srgb, var(--v-accent) calc(100% - var(--k) * 9%), #FFFFFF), color-mix(in srgb, var(--v-accent2) calc(100% - var(--k) * 9%), #FFFFFF)); }
#app .lecteur-video[data-theme] .scene-motion .mo-carte strong { filter: brightness(var(--v-lum, .82)); }
#app .lecteur-video[data-theme="banque"], #app .lecteur-video[data-theme="mines"], #app .lecteur-video[data-theme="hydrocarbures"], #app .lecteur-video[data-theme="telecoms"], #app .lecteur-video[data-theme="numerique"] { --v-lum: 1.25; }
#app .lecteur-video[data-theme] .mo-sigle { color: var(--v-titre); }

/* ===================== Mode cinéma (« comme sur Netflix », demande du propriétaire, 9 nov. 2026) =====================
   Onglet « Leçon vidéo » : la page garde le thème clair ou sombre choisi ; lecteur plein cadre, boutons posés sur l'image qui s'effacent pendant la lecture,
   modules présentés comme des épisodes. La classe body.cine est posée par pageModule(). */
body.cine #app .lecteur { display: block; min-height: 0; }
body.cine #app .lecteur .sommaire { display: none; }
body.cine #app .lecteur-principal { max-width: 1280px; margin: 0 auto; padding: 18px clamp(12px, 3vw, 40px) 70px; display: flex; flex-direction: column; }
body.cine #app .module-contenu, body.cine #app .bloc-video { display: contents; }
body.cine #app .niv-choix { order: 0; margin-bottom: 18px; }
body.cine #app .lecteur-video, body.cine #app .video-tournee, body.cine #app .h-complement { order: 1; }
body.cine #app .presentation-ecrite, body.cine #app .script-video, body.cine #app .resume-telech { order: 7; }
body.cine #app .poignee-sommaire { display: none; }
body.cine #app .resume-telech { margin-top: 14px; }
/* affiche du module, comme une page de film */
body.cine #app .lecteur-video .scene-ouverture { background: linear-gradient(90deg, rgba(5, 5, 9, .94) 0%, rgba(5, 5, 9, .72) 42%, rgba(5, 5, 9, .18) 100%), linear-gradient(0deg, rgba(5, 5, 9, .85) 0%, transparent 45%), var(--affiche) center / cover no-repeat !important; place-content: end start; justify-items: start; text-align: left; padding: 0 6% 9% !important; gap: 14px; }
body.cine #app .lecteur-video .scene-ouverture strong, body.cine #app .lecteur-video[data-theme] .scene-ouverture strong { color: #FFFFFF !important; font-family: var(--titre) !important; font-weight: 800; font-size: clamp(1.5rem, 4.4cqw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; text-transform: none !important; }
body.cine #app .lecteur-video .scene-ouverture .scene-type, body.cine #app .lecteur-video[data-theme] .scene-ouverture .scene-type { color: #00E0E0 !important; }
body.cine #app .lecteur-video .scene-ouverture .scene-duree { color: #C9C9D2 !important; order: 3; }
body.cine #app .lecteur-video .scene-ouverture .lire { order: 2; }
body.cine #app .module-tete { order: 2; padding: 26px 0 6px; }
body.cine #app .onglets-module { order: 3; }
body.cine #app .bandeau-parcours { order: 4; }
body.cine #app .cine-episodes { order: 5; }
body.cine #app .module-suite { order: 6; }
body.cine #app .module-tete h1 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); letter-spacing: -.025em; margin: 8px 0 12px; }
body.cine #app .onglets { margin-top: 14px; }

body.cine #app .presentation-ecrite, body.cine #app .script-video { background: var(--surface); border: 1px solid var(--bordure); border-radius: 12px; padding: 12px 16px; margin-top: 14px; }

/* Le lecteur : cadre noir, image plein cadre, barre posée sur l'image */
body.cine #app .lecteur-video { position: relative; border: 0 !important; border-radius: 12px; background: #000 !important; box-shadow: 0 30px 70px -24px rgba(0, 20, 60, .55), 0 0 0 1px rgba(0, 0, 0, .08) !important; overflow: hidden; }
body.cine #app .lecteur-video .scene { border-radius: 0; }
body.cine #app .lecteur-video .controles-video {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; gap: 10px; padding: 46px 18px 14px 14px; padding-right: 290px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .9) 100%) !important;
  border: 0 !important; transition: opacity .35s ease, transform .35s ease; flex-wrap: nowrap;
}
body.cine #app .lecteur-video .controles-video button { background: transparent !important; border: 0 !important; color: #FFFFFF !important; min-width: 40px; height: 40px; font-size: 1.6rem; border-radius: 50%; }
body.cine #app .lecteur-video .controles-video button:hover { background: rgba(255, 255, 255, .14) !important; }
body.cine #app .lecteur-video .controles-video button.principal { background: #FFFFFF !important; color: #0B0B10 !important; width: 46px; min-width: 46px; height: 46px; padding: 0; flex: none; }
body.cine #app .lecteur-video .controles-video button.principal .ico { width: 22px; height: 22px; }
body.cine #app .lecteur-video .frise { gap: 3px; align-items: center; }
body.cine #app .lecteur-video .frise i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28) !important; transition: height .15s; }
body.cine #app .lecteur-video .frise i.vu { background: #00C8C8 !important; }
body.cine #app .lecteur-video .frise i.en-cours { background: #FFFFFF !important; }
body.cine #app .lecteur-video .frise i.q { height: 9px; flex-basis: 9px; margin-top: 0; background: #FFB020 !important; }
body.cine #app .lecteur-video .frise i.q.vu { background: #00C8C8 !important; }
body.cine #app .lecteur-video .frise:hover i:not(.q) { height: 7px; }
body.cine #app .lecteur-video .compteur-seq { color: #D4D4DC !important; font-size: .82rem; }
body.cine #app .lecteur-video .reglages-video {
  position: absolute; right: 12px; bottom: 16px; z-index: 7; padding: 0; gap: 6px; background: transparent !important; border: 0 !important;
  transition: opacity .35s ease, transform .35s ease;
}
body.cine #app .lecteur-video .reglages-video label { color: #E9E9EE; font-size: .8rem; }
body.cine #app .lecteur-video .reglages-video select { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #FFFFFF; padding: 5px 6px; }
body.cine #app .lecteur-video .reglages-video .btn-petit.clair { background: rgba(255, 255, 255, .1) !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, .22) !important; padding: 6px 12px; border-radius: 999px; }
body.cine #app .lecteur-video .reglages-video .btn-petit.clair[aria-pressed="true"] { background: rgba(0, 200, 200, .22) !important; border-color: #00C8C8 !important; }
/* pendant la lecture, sans geste : tout s'efface, seule l'image reste */
body.cine #app .lecteur-video.calme .controles-video, body.cine #app .lecteur-video.calme .reglages-video { opacity: 0; transform: translateY(8px); pointer-events: none; }
body.cine #app .lecteur-video.calme { cursor: none; }
/* avant la lecture : affiche du module, grand bouton blanc */
body.cine #app .lecteur-video:not(.en-lecture) .controles-video, body.cine #app .lecteur-video:not(.en-lecture) .reglages-video { opacity: 0; pointer-events: none; }
body.cine #app .lecteur-video:not(.en-lecture):hover .controles-video, body.cine #app .lecteur-video:not(.en-lecture):hover .reglages-video { opacity: 1; pointer-events: auto; }
body.cine #app .lecteur-video .scene-ouverture .lire { width: 86px; height: 86px; background: #FFFFFF !important; color: #0B0B10 !important; box-shadow: 0 0 0 12px rgba(255, 255, 255, .16), 0 20px 50px rgba(0, 0, 0, .5) !important; }
body.cine #app .lecteur-video .scene-ouverture .lire .ico { width: 36px; height: 36px; }
body.cine #app .lecteur-video .scene-type { letter-spacing: .14em; text-transform: uppercase; font-weight: 800; font-size: .74rem; }

/* triangle plein, comme les grands lecteurs */
body.cine #app .lecteur-video .scene-ouverture .lire .ico, body.cine #app .lecteur-video .controles-video .principal .ico { display: none; }
body.cine #app .lecteur-video .scene-ouverture .lire::before { content: ""; margin-left: 7px; border-left: 26px solid #0B0B10; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
body.cine #app .lecteur-video .controles-video .principal:has(.ico)::before { content: ""; margin-left: 4px; border-left: 15px solid #0B0B10; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
body.cine #app .lecteur-video .controles-video .principal { display: grid; place-items: center; font-size: 1rem !important; font-weight: 900; }

/* Épisodes */
.cine-episodes { margin-top: 30px; }
.cine-ep-tete { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.cine-ep-tete h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.01em; color: var(--texte); }
.cine-ep-tete span { color: var(--discret); font-size: .9rem; }
.cine-ep-liste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--bordure) transparent; }
.cine-ep { scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none !important; color: var(--texte) !important; background: var(--surface); border-radius: 10px; overflow: hidden; border: 1px solid var(--bordure); transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.cine-ep:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 22px 40px -18px rgba(0, 20, 60, .45); }
.cine-ep.actuel { border-color: #00C8C8; box-shadow: 0 0 0 1px #00C8C8 inset; }
.cine-ep-img { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2) center / cover no-repeat; display: block; }
.cine-ep-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .75)); }
.cine-ep-img b { position: absolute; left: 12px; bottom: 4px; z-index: 1; font: 800 3.2rem/1 var(--titre); color: #FFFFFF; letter-spacing: -.05em; text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.cine-ep-img i { position: absolute; top: 10px; left: 10px; z-index: 1; font: 800 .66rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; font-style: normal; background: #00C8C8; color: #001A2E; padding: 5px 8px; border-radius: 4px; }
.cine-ep-img i.ok { background: rgba(255, 255, 255, .9); color: #0B0B10; }
.cine-ep-img i.verrou { left: auto; right: 10px; background: rgba(0, 0, 0, .7); color: #FFFFFF; }
.cine-ep-jeu { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0B0B10; display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.cine-ep-jeu .ico { display: none; }
.cine-ep-jeu::before { content: ""; margin-left: 4px; border-left: 14px solid #0B0B10; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
body.cine #app .lecteur-video .scene-ouverture [data-action="video-reprendre"] { order: 2; background: rgba(255, 255, 255, .14) !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, .5) !important; border-radius: 6px; backdrop-filter: blur(6px); }
.cine-ep:hover .cine-ep-jeu, .cine-ep.actuel .cine-ep-jeu { opacity: 1; transform: none; }
.cine-ep-txt { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 12px; }
.cine-ep-txt small { color: var(--discret); font-size: .74rem; font-weight: 600; }
.cine-ep-txt strong { font: 700 .98rem/1.3 var(--titre); color: var(--texte); }
.cine-ep-txt span { color: var(--discret); font-size: .82rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cine-ep-barre { margin-top: auto; height: 3px; background: var(--bordure); display: block; }
.cine-ep-barre i { display: block; height: 100%; background: #00C8C8; }

@media (max-width: 720px) {
  body.cine #app .lecteur-principal { padding: 0 0 60px; }
  body.cine #app .lecteur-video { border-radius: 0; box-shadow: none !important; }
  body.cine #app .module-tete, body.cine #app .onglets-module, body.cine #app .bandeau-parcours, body.cine #app .cine-episodes, body.cine #app .module-suite, body.cine #app .presentation-ecrite, body.cine #app .script-video, body.cine #app .resume-telech { margin-left: 14px; margin-right: 14px; }
  body.cine #app .lecteur-video .controles-video { padding: 30px 10px 8px; gap: 4px; flex-wrap: wrap; }
  body.cine #app .lecteur-video .controles-video .frise { order: -1; flex: 1 1 100%; }
  body.cine #app .lecteur-video .controles-video button { min-width: 34px; height: 34px; font-size: 1.3rem; }
  body.cine #app .lecteur-video .controles-video button.principal { width: 38px; height: 38px; }
  body.cine #app .lecteur-video .reglages-video { top: 8px; right: 8px; bottom: auto; gap: 4px; }
  body.cine #app .lecteur-video .reglages-video label { font-size: 0; gap: 0; }
  body.cine #app .lecteur-video .reglages-video select, body.cine #app .lecteur-video .reglages-video .btn-petit.clair { font-size: .74rem; padding: 4px 9px; background: rgba(0, 0, 0, .55) !important; }
  .cine-ep-liste { grid-auto-columns: 78%; padding: 0 0 10px; }
  body.cine #app .lecteur-video .scene-ouverture { padding: 0 5% 7% !important; gap: 8px; }
  body.cine #app .lecteur-video .scene-ouverture strong, body.cine #app .lecteur-video[data-theme] .scene-ouverture strong { font-size: 1.3rem; }
  body.cine #app .lecteur-video .scene-ouverture .scene-duree, body.cine #app .lecteur-video .scene-ouverture .scene-type { display: none; }
  body.cine #app .lecteur-video .scene-ouverture .lire { width: 54px; height: 54px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .16) !important; }
  body.cine #app .lecteur-video .scene-ouverture .lire::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
}

/* ===== Personnalité de chaque formation (demande du propriétaire, 10 nov. 2026 : « 57 formations, 57 designs, et dans chacune
   des modules aux styles différents »). nexa.js pose --v-h (teinte propre à la formation, angle d'or sur le catalogue entier),
   --v-hm (teinte du module), data-vp (police des titres), data-vk (motif). Les ambiances (data-vs) sont teintées par la
   formation : le « papier » ou la « nuit » d'une formation de comptabilité n'est pas celui d'une formation de mines. ===== */
#app .lecteur-video[data-theme][data-vs] { --v-accent: hsl(var(--v-hm, 190) 72% 40%); --v-accent2: hsl(calc(var(--v-hm, 190) + 35) 62% 42%); --v-halo: hsl(var(--v-hm, 190) 70% 50% / .16);
  --v-pastille: linear-gradient(140deg, hsl(calc(var(--v-hm, 190) + 25) 70% 45%), hsl(var(--v-hm, 190) 72% 36%)); --v-sur-pastille: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="1"] { --v-fond: hsl(var(--v-h) 38% 9%); --v-carte: hsl(var(--v-h) 30% 15%); --v-carte2: hsl(var(--v-h) 30% 12%); --v-bord: hsl(var(--v-h) 25% 24%); --v-bande: hsl(var(--v-h) 35% 10%); --v-bande2: hsl(var(--v-h) 35% 7%);
  --v-accent: hsl(var(--v-hm) 80% 62%); --v-sur-accent: hsl(var(--v-h) 40% 8%); --v-titre: hsl(var(--v-hm) 90% 88%); }
#app .lecteur-video[data-theme][data-vs="2"] { --v-fond: hsl(var(--v-h) 42% 93%); --v-carte: hsl(var(--v-h) 60% 98.5%); --v-carte2: hsl(var(--v-h) 38% 87%); --v-bord: hsl(var(--v-h) 30% 78%); --v-bande: hsl(var(--v-h) 45% 96%); --v-bande2: hsl(var(--v-h) 38% 90%);
  --v-encre: hsl(var(--v-h) 30% 13%); --v-encre-carte: hsl(var(--v-h) 30% 13%); --v-titre: hsl(var(--v-hm) 60% 26%); --v-doux: hsl(var(--v-h) 15% 40%); }
#app .lecteur-video[data-theme][data-vs="3"] { --v-fond: hsl(var(--v-hm) 58% 33%); --v-bande: hsl(var(--v-hm) 58% 28%); --v-bande2: hsl(var(--v-hm) 58% 24%); --v-sur-pastille: hsl(var(--v-hm) 58% 30%); --v-accent: hsl(var(--v-hm) 75% 60%); --v-pastille: #FFFFFF; --v-accent2: #FFFFFF; }
#app .lecteur-video[data-theme][data-vs="3"] .mo-terme.resultat, #app .lecteur-video[data-theme][data-vs="3"] .mo-badge.turq, #app .lecteur-video[data-theme][data-vs="3"] .mo-etape.turq > span { color: hsl(var(--v-hm) 58% 28%); }
#app .lecteur-video[data-theme][data-vs="4"] { --v-fond: hsl(calc(var(--v-h) + 150) 22% 17%); --v-carte: hsl(calc(var(--v-h) + 150) 18% 22%); --v-carte2: hsl(calc(var(--v-h) + 150) 18% 19.5%); --v-bord: hsl(calc(var(--v-h) + 150) 15% 31%);
  --v-bande: hsl(calc(var(--v-h) + 150) 22% 15%); --v-bande2: hsl(calc(var(--v-h) + 150) 22% 12%); --v-accent: hsl(var(--v-hm) 78% 66%); --v-sur-accent: #111; --v-titre: hsl(var(--v-hm) 85% 86%); }
#app .lecteur-video[data-theme][data-vs="5"] { --v-accent: hsl(var(--v-hm) 78% 38%); --v-titre: hsl(var(--v-h) 50% 12%); --v-note-bord: hsl(var(--v-hm) 78% 38%); }
/* Police des titres propre à la formation (polices déjà chargées par la page) */
#app .lecteur-video[data-theme][data-vp="0"] { --v-police: "Plus Jakarta Sans", var(--titre); }
#app .lecteur-video[data-theme][data-vp="1"] { --v-police: "Fraunces", Georgia, serif; --v-poids: 600; --v-casse: none; }
#app .lecteur-video[data-theme][data-vp="2"] { --v-police: "Montserrat", var(--titre); }
#app .lecteur-video[data-theme][data-vp="3"] { --v-police: "Inter", var(--titre); --v-espace: -.02em; }
/* Motifs : 8 dessins, teintés par la formation, qui changent d'un module à l'autre */
#app .lecteur-video[data-theme][data-vk="0"] { --v-motif: radial-gradient(circle at 2px 2px, hsl(var(--v-h) 70% 55% / .22) 1.6px, transparent 2.4px) 0 0 / 22px 22px; }
#app .lecteur-video[data-theme][data-vk="1"] { --v-motif: repeating-linear-gradient(-45deg, hsl(var(--v-h) 70% 55% / .09) 0 2px, transparent 2px 18px); }
#app .lecteur-video[data-theme][data-vk="2"] { --v-motif: repeating-radial-gradient(circle at 92% 108%, transparent 0 20px, hsl(var(--v-h) 70% 55% / .14) 20px 21px); }
#app .lecteur-video[data-theme][data-vk="3"] { --v-motif: linear-gradient(hsl(var(--v-h) 70% 55% / .08) 1px, transparent 1px) 0 0 / 100% 34px, linear-gradient(90deg, hsl(var(--v-h) 70% 55% / .08) 1px, transparent 1px) 0 0 / 34px 100%; }
#app .lecteur-video[data-theme][data-vk="4"] { --v-motif: radial-gradient(ellipse 60% 40% at 90% 10%, hsl(var(--v-hm) 75% 55% / .20), transparent 70%), radial-gradient(ellipse 50% 40% at 5% 95%, hsl(var(--v-h) 75% 55% / .18), transparent 70%); }
#app .lecteur-video[data-theme][data-vk="5"] { --v-motif: repeating-linear-gradient(60deg, hsl(var(--v-h) 70% 55% / .07) 0 2px, transparent 2px 26px), repeating-linear-gradient(-60deg, hsl(var(--v-h) 70% 55% / .07) 0 2px, transparent 2px 26px); }
#app .lecteur-video[data-theme][data-vk="6"] { --v-motif: repeating-linear-gradient(0deg, hsl(var(--v-h) 70% 55% / .06) 0 1px, transparent 1px 12px), linear-gradient(115deg, transparent 62%, hsl(var(--v-hm) 75% 55% / .12) 62% 63%, transparent 63%); }
#app .lecteur-video[data-theme][data-vk="7"] { --v-motif: radial-gradient(circle, hsl(var(--v-h) 70% 55% / .16) 2.5px, transparent 3.5px) 0 0 / 30px 30px, radial-gradient(circle, hsl(var(--v-hm) 70% 55% / .12) 2px, transparent 3px) 15px 15px / 30px 30px; }

/* ===== Le formateur animé (demande du propriétaire, 10 nov. 2026, « comme Duolingo ») : personnage à mi-corps, en bas à droite.
   La bouche (data-v : r repos, m fermée, e, a, o) suit les lettres du texte prononcé ; les bras changent de geste (data-g 0 à 4)
   avec les groupes de mots ; les yeux clignent (av-cligne) et regardent l'écran quand il montre ; sourcils levés sur les questions.
   Tout est piloté par avatarDemarrer() dans nexa.js. Masqué hors lecture, pendant les questions et dans l'application téléphone. ===== */
#app .lecteur-video .scene-avatar { position: absolute; right: 1.8cqw; bottom: 6.8cqw; width: 12cqw; height: 15cqw; z-index: 6; pointer-events: none; opacity: 0; transform: translateY(2cqw); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.2); }
#app .lecteur-video.en-lecture:not(.q-active) .scene-avatar { opacity: 1; transform: none; }
#app .lecteur-video .scene-avatar svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 .6cqw 1.2cqw rgba(0, 0, 0, .28)); }
#app .lecteur-video .av-tete { transform-origin: 60px 80px; animation: av-souffle 4s ease-in-out infinite; transition: rotate .4s; }
#app .lecteur-video .av-corps { transform-origin: 60px 150px; animation: av-souffle-corps 4s ease-in-out infinite; }
#app .lecteur-video .av-oeil { transition: transform .08s; }
#app .lecteur-video .av-cligne .av-oeil { transform: scaleY(.08); }
#app .lecteur-video .av-pupille { transition: transform .35s; }
#app .lecteur-video .av-sourcils { transition: transform .25s; }
#app .lecteur-video .av-question .av-sourcils { transform: translateY(-2.4px); }
#app .lecteur-video .av-b > * { display: none; }
#app .lecteur-video svg[data-v="r"] .b-r, #app .lecteur-video svg[data-v="m"] .b-m, #app .lecteur-video svg[data-v="e"] .b-e, #app .lecteur-video svg[data-v="a"] .b-a, #app .lecteur-video svg[data-v="o"] .b-o { display: inline; }
/* Bras : rotation à l'épaule, avant-bras au coude */
#app .lecteur-video .av-bras, #app .lecteur-video .av-avant { transition: transform .45s cubic-bezier(.3, .9, .3, 1.15); }
#app .lecteur-video .av-bras-g { transform: rotate(10deg); } #app .lecteur-video .av-bras-d { transform: rotate(-10deg); }
#app .lecteur-video svg[data-g="1"] .av-bras-d { transform: rotate(-55deg); } #app .lecteur-video svg[data-g="1"] .av-bras-d .av-avant { transform: rotate(-95deg); }
#app .lecteur-video svg[data-g="2"] .av-bras-g { transform: rotate(92deg); } #app .lecteur-video svg[data-g="2"] .av-bras-g .av-avant { transform: rotate(8deg); }
#app .lecteur-video svg[data-g="2"] .av-pupille { transform: translateX(-1.8px); } #app .lecteur-video svg[data-g="2"] .av-tete { rotate: -4deg; }
#app .lecteur-video svg[data-g="3"] .av-bras-g { transform: rotate(30deg); } #app .lecteur-video svg[data-g="3"] .av-bras-g .av-avant { transform: rotate(75deg); }
#app .lecteur-video svg[data-g="3"] .av-bras-d { transform: rotate(-30deg); } #app .lecteur-video svg[data-g="3"] .av-bras-d .av-avant { transform: rotate(-75deg); }
#app .lecteur-video svg[data-g="4"] .av-bras-d { transform: rotate(-22deg); } #app .lecteur-video svg[data-g="4"] .av-bras-d .av-avant { transform: rotate(-120deg); }
#app .lecteur-video svg[data-g="4"] .av-bras-g { transform: rotate(34deg); } #app .lecteur-video svg[data-g="4"] .av-bras-g .av-avant { transform: rotate(60deg); }
#app .lecteur-video svg[data-g="4"] .av-pupille { transform: translate(1px, -1.2px); }
/* Pendant la parole, la main en mouvement bat légèrement la mesure */
#app .lecteur-video.parle .av-main { animation: av-main .9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
#app .lecteur-video.parle .av-bras-g .av-main { animation-delay: -.45s; }
#app .lecteur-video.parle .av-tete { animation: av-hoche 2.8s ease-in-out infinite; }
@keyframes av-main { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
@keyframes av-souffle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes av-souffle-corps { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012, 1.02); } }
@keyframes av-hoche { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2.5deg) translateY(-.8px); } 65% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { #app .lecteur-video .av-tete, #app .lecteur-video .av-corps, #app .lecteur-video.parle .av-main { animation: none; } }
@media (max-width: 900px) { body.app-installee #app .lecteur-video .scene-avatar { display: none; } }

/* ===== La vidéo vit (demande du propriétaire, 10 nov. 2026 : « que ça bouge, que ça donne l'impression d'une vraie vidéo ») :
   1) le fond défile lentement ; 2) des formes flottent dans la couleur de la formation ; 3) la caméra glisse, avec un
   mouvement différent selon le module ; 4) une fois apparus, cartes, chiffres et icônes respirent, le résultat brille. ===== */
#app .lecteur-video[data-theme] .scene { background: var(--v-deco, none), var(--v-fond) !important; }
#app .lecteur-video .scene-vie { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
#app .lecteur-video .scene-vie::before { content: ""; position: absolute; inset: -12%; background: var(--v-motif, none); animation: vie-fond 46s linear infinite alternate; }
@keyframes vie-fond { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-6%, -4%) rotate(1.5deg); } }
#app .lecteur-video .scene-vie i { position: absolute; display: block; width: var(--t, 2.2cqw); height: var(--t, 2.2cqw); border-radius: 50%;
  background: hsl(var(--v-hm, 190) 75% 55% / .22); border: .25cqw solid hsl(var(--v-hm, 190) 75% 55% / .42); animation: vie-flotte var(--d, 22s) ease-in-out var(--r, 0s) infinite alternate; }
#app .lecteur-video .scene-vie i:nth-child(1) { left: 6%; top: 18%; --t: 1.6cqw; --d: 19s; }
#app .lecteur-video .scene-vie i:nth-child(2) { left: 22%; top: 78%; --t: 3.2cqw; --d: 27s; --r: -6s; }
#app .lecteur-video .scene-vie i:nth-child(3) { left: 44%; top: 10%; --t: 1.1cqw; --d: 17s; --r: -3s; }
#app .lecteur-video .scene-vie i:nth-child(4) { left: 63%; top: 86%; --t: 2.4cqw; --d: 24s; --r: -11s; }
#app .lecteur-video .scene-vie i:nth-child(5) { left: 80%; top: 22%; --t: 4cqw; --d: 31s; --r: -8s; background: none; }
#app .lecteur-video .scene-vie i:nth-child(6) { left: 91%; top: 62%; --t: 1.4cqw; --d: 21s; --r: -14s; }
#app .lecteur-video .scene-vie i:nth-child(7) { left: 35%; top: 52%; --t: .9cqw; --d: 15s; --r: -5s; }
#app .lecteur-video .scene-vie i:nth-child(8) { left: 12%; top: 50%; --t: 5.5cqw; --d: 36s; --r: -18s; background: none; border-width: .18cqw; }
#app .lecteur-video .scene-vie i:nth-child(9) { left: 72%; top: 48%; --t: 1.2cqw; --d: 18s; --r: -9s; }
#app .lecteur-video .scene-vie i:nth-child(10) { left: 52%; top: 70%; --t: 2cqw; --d: 26s; --r: -2s; }
/* La forme des particules suit la formation : ronds, carrés tournés, traits ou anneaux */
#app .lecteur-video[data-vp="1"] .scene-vie i { border-radius: .4cqw; rotate: 45deg; }
#app .lecteur-video[data-vp="2"] .scene-vie i { border-radius: 2cqw; height: calc(var(--t, 2cqw) * .35); width: calc(var(--t, 2cqw) * 2.2); }
#app .lecteur-video[data-vp="3"] .scene-vie i { background: none; border-width: .3cqw; }
@keyframes vie-flotte { 0% { transform: translate(0, 0); } 35% { transform: translate(2.5cqw, -3cqw); } 70% { transform: translate(-1.5cqw, -5cqw); } 100% { transform: translate(1cqw, -1.5cqw); } }
/* Caméra : un mouvement par module (data-vf), lent et continu */
#app .lecteur-video .scene-motion { animation: cam-a 16s ease-in-out infinite alternate; transform-origin: 50% 50%; }
#app .lecteur-video[data-vf="1"] .scene-motion { animation-name: cam-b; }
#app .lecteur-video[data-vf="2"] .scene-motion { animation-name: cam-c; }
#app .lecteur-video[data-vf="3"] .scene-motion { animation-name: cam-d; }
#app .lecteur-video[data-vf="4"] .scene-motion { animation-name: cam-b; animation-direction: alternate-reverse; }
#app .lecteur-video[data-vf="5"] .scene-motion { animation-name: cam-c; animation-direction: alternate-reverse; }
@keyframes cam-a { from { transform: translate(0, 0) scale(.985); } to { transform: translate(-.5cqw, -.3cqw) scale(1.005); } }
@keyframes cam-b { from { transform: translate(.5cqw, 0) scale(.985); } to { transform: translate(-.5cqw, .3cqw) scale(.985); } }
@keyframes cam-c { from { transform: scale(1.01) rotate(.3deg); } to { transform: scale(.98) rotate(0deg); } }
@keyframes cam-d { from { transform: translate(0, .5cqw) scale(.985); } to { transform: translate(0, -.5cqw) scale(1); } }
/* Ce qui est apparu continue de vivre */
#app .lecteur-video .mo-liste li.on, #app .lecteur-video .scene-motion .mo-carte.on, #app .lecteur-video .mo-terme.on, #app .lecteur-video .mo-noeud.on, #app .lecteur-video .mo-etape.on, #app .lecteur-video .mo-badge.on { animation: vie-respire 5s ease-in-out infinite; }
#app .lecteur-video .mo-liste li.on:nth-child(2n), #app .lecteur-video .scene-motion .mo-carte.on:nth-child(2n), #app .lecteur-video .mo-terme.on:nth-child(2n), #app .lecteur-video .mo-noeud.on:nth-child(2n) { animation-delay: -2.5s; }
#app .lecteur-video .mo-liste li.on:nth-child(3n), #app .lecteur-video .scene-motion .mo-carte.on:nth-child(3n), #app .lecteur-video .mo-terme.on:nth-child(3n), #app .lecteur-video .mo-noeud.on:nth-child(3n) { animation-delay: -1.2s; animation-duration: 6s; }
@keyframes vie-respire { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.45cqw); } }
#app .lecteur-video .mo-terme.resultat.on { animation: vie-respire 5s ease-in-out infinite, vie-brille 2.6s ease-in-out infinite; position: relative; overflow: hidden; }
@keyframes vie-brille { 0%, 100% { box-shadow: 0 0 0 0 hsl(var(--v-hm, 190) 80% 55% / 0); } 50% { box-shadow: 0 0 0 1.1cqw hsl(var(--v-hm, 190) 80% 55% / .22); } }
#app .lecteur-video .mo-terme.resultat.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); animation: vie-reflet 3.4s 1s ease-in-out infinite; }
@keyframes vie-reflet { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
#app .lecteur-video .mo-medaillon.on, #app .lecteur-video .mo-grand-ico { animation: vie-icone 6s ease-in-out infinite; }
@keyframes vie-icone { 0%, 100% { transform: rotate(0deg) translateY(0); } 30% { transform: rotate(-4deg) translateY(-.5cqw); } 65% { transform: rotate(3deg) translateY(.3cqw); } }
#app .lecteur-video .mo-grand-ico svg, #app .lecteur-video .mo-medaillon svg { animation: vie-pouls 3s ease-in-out infinite; }
@keyframes vie-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
#app .lecteur-video:not(.en-lecture) .scene-vie i, #app .lecteur-video:not(.en-lecture) .scene-motion { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { #app .lecteur-video .scene-vie::before, #app .lecteur-video .scene-vie i, #app .lecteur-video .scene-motion, #app .lecteur-video .mo-el.on, #app .lecteur-video .mo-terme.resultat.on::after, #app .lecteur-video .mo-grand-ico, #app .lecteur-video .mo-grand-ico svg, #app .lecteur-video .mo-medaillon svg { animation: none !important; } }

/* ===== Image fixe, éléments vivants (demande du propriétaire, 10 nov. 2026, 15 h 40 : « la page ne bouge pas, ce sont les écrits
   qui bougent », « trop d'espace dans la vidéo », « je veux voir le formateur, à gauche, à droite, au-dessus »).
   L'image (fond, cadre, caméra) reste immobile : plus de caméra qui glisse, de zoom de la scène, de fond qui défile, de formes
   qui flottent ni d'orbite. Les éléments posés dessus continuent de vivre (apparition, chiffres comptés, cartes qui respirent,
   résultat qui brille, icônes). Le contenu est agrandi et centré par motionCadrer() ; le formateur change de coin libre
   à chaque nouvelle scène seulement, en s'effaçant doucement puis en réapparaissant ailleurs (avatarPlacer() dans nexa.js), se tourne vers le contenu et le montre. ===== */
#app .lecteur-video .mo-cadre { position: absolute; inset: 0; transform-origin: 0 0; }
#app .lecteur-video .mo-mesure, #app .lecteur-video .mo-mesure * { transition: none !important; animation: none !important; }
#app .lecteur-video .scene-vie i { display: none !important; }
#app .lecteur-video .scene-vie::before, #app .lecteur-video .scene-motion, #app .lecteur-video[data-vf] .scene-motion { animation: none !important; }
#app .lecteur-video .scene-motion > .mo:not(.mo-sortie), #app .lecteur-video .mo { animation: mo-entree .7s ease both !important; }
#app .lecteur-video .scene-motion > .mo.mo-sortie { animation: mo-sortie .6s ease forwards !important; }
#app .lecteur-video .scene.motion::after { animation: none !important; }
/* Le formateur animé : visible partout (téléphone compris), il se déplace d'un coin libre à l'autre. */
#app .lecteur-video .scene-avatar { width: 14%; height: 31%; right: auto; bottom: auto; left: 84.5%; top: 67%;
  transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.2); }
#app .lecteur-video .scene-avatar svg { transition: transform .35s ease, opacity .45s ease, translate .45s ease; }
#app .lecteur-video .scene-avatar.av-passe svg { opacity: 0; translate: 0 1.2cqw; }
#app .lecteur-video .scene-avatar.a-gauche svg { transform: scaleX(-1); }
@media (max-width: 900px) { body.app-installee #app .lecteur-video .scene-avatar { display: block; } }
/* Le lecteur tient en entier dans la fenêtre, formateur compris. */
body.cine #app .lecteur-video { width: min(100%, calc((100vh - 100px) * 16 / 9)); align-self: center; margin-inline: auto; }
#app .lecteur-video .mo-note, #app .lecteur-video .mo-badges { right: 18cqw; }
/* Demande du propriétaire (10 nov. 2026, 16 h 15) : 1) mêmes polices que le site dans toutes les vidéos (titres : var(--titre),
   textes : var(--corps)), au lieu des polices propres à chaque formation ; 2) plus aucun trait décoratif devant les titres. */
#app .lecteur-video, #app .lecteur-video[data-theme], #app .lecteur-video[data-theme][data-vp] { --v-police: var(--titre) !important; }
#app .lecteur-video .mo, #app .lecteur-video .scene-ouverture, #app .lecteur-video .scene-fin { font-family: var(--titre) !important; }
#app .lecteur-video .mo small, #app .lecteur-video .mo p, #app .lecteur-video .mo-col-l span, #app .lecteur-video .mo-carte b, #app .lecteur-video .mo-note { font-family: var(--corps) !important; }
#app .lecteur-video .mo-tete i { display: none !important; }
#app .lecteur-video .mo-tete { gap: 0 !important; }

/* ===== La question en fenêtre au centre de l'image (demande du propriétaire, 10 nov. 2026, 16 h 35) : plus de page dédiée ni de
   bandes noires ; l'image garde sa forme et sa couleur (blanche reste blanche, verte reste verte), elle est floutée derrière la
   fenêtre ; la formatrice reste visible ; pas de cercle décoratif ; la ligne de progression va d'un bord à l'autre ; aucune barre
   de défilement. Sur petit téléphone (moins de 641 px), la question garde l'ancien affichage, plus lisible. ===== */
#app .lecteur-video .scene.motion::after { display: none !important; }
#app .lecteur-video, #app .lecteur-video:fullscreen, #app .lecteur-video.agrandie { overflow: hidden !important; }
#app .lecteur-video .controles-video, #app .lecteur-video .reglages-video { overflow: hidden; }
@media (min-width: 641px) {
  #app .lecteur-video .scene.en-question, body.app-immersif.lecon-app #app .lecteur-video .scene.en-question { aspect-ratio: 16 / 9 !important; height: auto !important; min-height: 0 !important; overflow: hidden !important; flex: none !important; }
  #app .lecteur-video:fullscreen .scene.en-question, #app .lecteur-video.agrandie .scene.en-question { aspect-ratio: auto !important; flex: 1 1 auto !important; }
  #app .lecteur-video:has(.scene.en-question), #app .lecteur-video.agrandie:has(.scene.en-question), #app .lecteur-video:fullscreen:has(.scene.en-question) { overflow: hidden !important; height: auto; }
  #app .lecteur-video .scene.motion.en-question .scene-motion { display: block !important; }
  #app .lecteur-video .scene.en-question::before, #app .lecteur-video[data-theme] .scene.en-question::before { content: "" !important; position: absolute !important; inset: 0 !important; z-index: 3 !important;
    background: rgba(255, 255, 255, .06) !important; -webkit-backdrop-filter: blur(8px) !important; backdrop-filter: blur(8px) !important; animation: none !important; }
  #app .lecteur-video .scene.en-question .scene-question { position: absolute !important; z-index: 4 !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important;
    width: min(66%, 860px) !important; max-height: 88% !important; overflow: auto !important; margin: 0 !important; border-radius: 16px !important; padding: 14px 18px !important;
    box-shadow: 0 24px 60px rgba(0, 20, 60, .28) !important; overscroll-behavior: contain; }
  #app .lecteur-video.q-active .scene-avatar { opacity: 1 !important; transform: none !important; z-index: 5; }
}
#app .lecteur-video .sq-voix { margin: 2px 0 8px; font-family: var(--corps); font-size: .9rem; font-style: italic; color: #3D5A8A; }
/* Ligne de progression d'un bord à l'autre */
body.cine #app .lecteur-video .controles-video .frise { position: absolute; left: 14px; right: 14px; top: 26px; margin: 0; }

/* ===== Fond vivant, sans treillis, et éléments qui bougent (demande du propriétaire, 11 nov. 2026, 13 h 34 : « enlève le
   treillis, ces lignes et lignes derrière, dans toutes les vidéos » ; « l'arrière-plan est trop statique, ça doit bouger pour
   faire vraiment effet vidéo » ; « fais bouger tous les éléments, pas les cadres »). Remplace la règle « image fixe » du 10 nov. :
   1) plus aucun motif de lignes, grille, hachures, pois ou rubans, dans aucune vidéo : le fond est uni, avec des halos doux ;
   2) ces halos dérivent lentement et des bulles flottent : le fond vit ;
   3) chaque élément apparu bouge à son rythme (flotte, respire, se balance) ; le lecteur et la mise en page ne bougent pas
      (pas de caméra, pas de zoom de la scène). ===== */
#app .lecteur-video, #app .lecteur-video[data-theme], #app .lecteur-video[data-theme][data-vk], #app .lecteur-video[data-theme][data-vs], #app .lecteur-video[data-vm] {
  --v-m0: none !important; --v-m1: none !important; --v-m2: none !important;
  --v-motif: radial-gradient(40% 50% at 20% 26%, hsl(var(--v-hm, 190) 80% 60% / .34), transparent 70%),
             radial-gradient(36% 46% at 82% 74%, hsl(calc(var(--v-h, 190) + 40) 80% 60% / .28), transparent 70%),
             radial-gradient(30% 38% at 62% 12%, hsl(var(--v-h, 190) 85% 65% / .2), transparent 70%) !important;
  --v-motif2: radial-gradient(32% 42% at 74% 30%, hsl(calc(var(--v-hm, 190) - 30) 80% 62% / .26), transparent 70%),
              radial-gradient(38% 48% at 28% 80%, hsl(var(--v-hm, 190) 75% 58% / .24), transparent 70%); }
#app .lecteur-video .scene, #app .lecteur-video[data-theme] .scene, #app .lecteur-video[data-theme] .scene-ouverture, #app .lecteur-video[data-theme] .scene-fin,
#app .lecteur-video[data-theme] .scene.en-question::before { background-image: var(--v-deco, none) !important; background-color: var(--v-fond, #0B1B33) !important; }
#app .lecteur-video .scene-fond, #app .lecteur-video .scene .scene-fond { display: none !important; }
/* Le fond vit : deux nappes de halos qui dérivent en sens opposés */
#app .lecteur-video .scene-vie::before, #app .lecteur-video .scene-vie::after { content: ""; position: absolute; inset: -30%; pointer-events: none; }
#app .lecteur-video .scene-vie::before { background: var(--v-motif) !important; animation: fond-derive-a 13s ease-in-out infinite alternate !important; }
#app .lecteur-video .scene-vie::after { background: var(--v-motif2); animation: fond-derive-b 17s ease-in-out infinite alternate; }
@keyframes fond-derive-a { 0% { transform: translate(0, 0) scale(1) rotate(0deg); } 50% { transform: translate(7%, -5%) scale(1.08) rotate(4deg); } 100% { transform: translate(-6%, 6%) scale(1.02) rotate(-3deg); } }
@keyframes fond-derive-b { 0% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-8%, 4%) scale(.96); } 100% { transform: translate(5%, -7%) scale(1.1); } }
/* Bulles qui flottent, dans la couleur de la formation */
#app .lecteur-video .scene-vie i { display: block !important; background: hsl(var(--v-hm, 190) 80% 62% / .2) !important; border: 0 !important; border-radius: 50% !important; rotate: 0deg !important;
  width: var(--t, 2.2cqw) !important; height: var(--t, 2.2cqw) !important; filter: blur(.08cqw); animation: bulle-monte var(--d, 16s) ease-in-out var(--r, 0s) infinite !important; }
#app .lecteur-video .scene-vie i:nth-child(3n) { background: hsl(calc(var(--v-h, 190) + 40) 80% 65% / .18) !important; }
#app .lecteur-video .scene-vie i:nth-child(5), #app .lecteur-video .scene-vie i:nth-child(8) { background: transparent !important; border: .2cqw solid hsl(var(--v-hm, 190) 80% 62% / .3) !important; }
@keyframes bulle-monte { 0% { transform: translate(0, 0) scale(.9); opacity: .35; } 25% { transform: translate(2.2cqw, -3.5cqw) scale(1.05); opacity: 1; }
  50% { transform: translate(-1.4cqw, -7cqw) scale(1.15); opacity: .85; } 75% { transform: translate(1.6cqw, -4cqw) scale(1); opacity: 1; } 100% { transform: translate(0, 0) scale(.9); opacity: .35; } }
/* Tous les éléments apparus bougent, chacun à son rythme */
#app .lecteur-video .mo-tete.on, #app .lecteur-video .mo-sur.on, #app .lecteur-video .mo-titre h3.on, #app .lecteur-video .mo-titre p.on, #app .lecteur-video .mo-puces li.on,
#app .lecteur-video .mo-liste li.on, #app .lecteur-video .mo-coches li.on, #app .lecteur-video .mo-niv.on, #app .lecteur-video .mo-rayon.on, #app .lecteur-video .mo-tache.on,
#app .lecteur-video .mo-noeud.on, #app .lecteur-video .scene-motion .mo-carte.on, #app .lecteur-video .mo-col.on, #app .lecteur-video .mo-etape.on, #app .lecteur-video .mo-badge.on,
#app .lecteur-video .mo-note.on, #app .lecteur-video .mo-loupe.on, #app .lecteur-video .mo-fleche.on, #app .lecteur-video .mo-barre.on {
  animation: el-flotte 4.6s ease-in-out infinite !important; }
#app .lecteur-video .mo-centre.on, #app .lecteur-video .mo-ecu.on, #app .lecteur-video .mo-feuille.on, #app .lecteur-video .mo-mois.on, #app .lecteur-video .mo-dossier.on, #app .lecteur-video .mo-tampon.on {
  animation: el-balance 6.5s ease-in-out infinite !important; }
#app .lecteur-video .mo-terme.on { animation: el-flotte 4.2s ease-in-out infinite !important; }
#app .lecteur-video .mo-terme.resultat.on { animation: el-flotte 4.2s ease-in-out infinite, vie-brille 2.6s ease-in-out infinite !important; }
#app .lecteur-video .mo-op.on { animation: el-pouls 2.4s ease-in-out infinite !important; display: inline-block; }
#app .lecteur-video .mo-jours span.marque.on { animation: el-pouls 2.2s ease-in-out infinite !important; }
#app .lecteur-video .mo-barre.on i { transform-origin: 50% 100%; animation: el-barre 3.2s ease-in-out infinite; }
#app .lecteur-video .mo-niv.on .mo-rang, #app .lecteur-video .mo-liste li.on .mo-pastille, #app .lecteur-video .mo-coches li.on > span, #app .lecteur-video .mo-noeud.on > span,
#app .lecteur-video .mo-rayon.on > span, #app .lecteur-video .mo-tache.on > span, #app .lecteur-video .mo-etape.on > span { animation: el-pouls 3s ease-in-out infinite; }
/* Décalages : deux voisins ne bougent jamais ensemble */
#app .lecteur-video .scene-motion .on:nth-child(2n) { animation-delay: -1.5s !important; animation-duration: 5.3s !important; }
#app .lecteur-video .scene-motion .on:nth-child(3n) { animation-delay: -2.8s !important; animation-duration: 5.9s !important; }
#app .lecteur-video .scene-motion .on:nth-child(5n) { animation-delay: -.7s !important; }
#app .lecteur-video .mo-terme.resultat.on, #app .lecteur-video .mo-alerte.on, #app .lecteur-video .mo-a-vous.on { animation-duration: 4.2s, 2.6s !important; }
#app .lecteur-video .mo-alerte.on, #app .lecteur-video .mo-a-vous.on { animation: el-pouls 2.4s ease-in-out infinite !important; }
@keyframes el-flotte { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 30% { transform: translate(.35cqw, -.75cqw) rotate(.35deg); } 65% { transform: translate(-.3cqw, -.35cqw) rotate(-.3deg); } }
@keyframes el-balance { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 35% { transform: translate(0, -.8cqw) rotate(-.8deg); } 70% { transform: translate(.3cqw, -.3cqw) rotate(.7deg); } }
@keyframes el-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes el-barre { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.965); } }
/* En pause, tout s'arrête ; et rien ne bouge pour qui a demandé moins d'animations */
#app .lecteur-video:not(.en-lecture) .scene-vie::before, #app .lecteur-video:not(.en-lecture) .scene-vie::after, #app .lecteur-video:not(.en-lecture) .scene-vie i,
#app .lecteur-video:not(.en-lecture) .scene-motion .on, #app .lecteur-video:not(.en-lecture) .scene-motion .on > span, #app .lecteur-video:not(.en-lecture) .scene-motion .on i { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { #app .lecteur-video .scene-vie::before, #app .lecteur-video .scene-vie::after, #app .lecteur-video .scene-vie i, #app .lecteur-video .scene-motion .on, #app .lecteur-video .scene-motion .on > span, #app .lecteur-video .scene-motion .on i { animation: none !important; } }

/* ===== Fond blanc (bleu nuit en mode sombre) dans toutes les vidéos (demande du propriétaire, 11 nov. 2026, 13 h 40 :
   « j'aime pas trop les vidéos sombres », « rouge, jaune… des couleurs qui font mal aux yeux », « la page est blanche, ou un
   peu bleu de nuit en mode sombre » ; « chaque module différent, qu'on ne trouve pas de similitudes d'une vidéo à l'autre »).
   Le fond ne change plus : blanc, ou bleu nuit si l'apprenant a choisi le mode sombre. Ce qui change d'un module à l'autre :
   la teinte d'accent (palette calme posée par styleVideo(), sans rouge, orange ni jaune), le décor (data-vf), la mise en page
   du titre (data-vl), la forme et le traitement des cartes (data-vc, data-vs), et la formatrice de chaque formation. ===== */
#app .lecteur-video, #app .lecteur-video[data-theme], #app .lecteur-video[data-theme][data-vs], #app .lecteur-video[data-theme][data-va], #app .lecteur-video[data-theme][data-vp] {
  --v-fond: #FFFFFF !important; --v-cadre: #FFFFFF !important; --v-encre: #14213D !important; --v-titre: #0B1B33 !important; --v-doux: #5B6B85 !important;
  --v-carte: #FFFFFF !important; --v-carte2: hsl(var(--v-hm, 205) 45% 97%) !important; --v-encre-carte: #14213D !important; --v-bord: hsl(var(--v-hm, 205) 30% 88%) !important;
  --v-accent: hsl(var(--v-hm, 205) 62% 40%) !important; --v-accent2: hsl(calc(var(--v-hm, 205) + 25) 55% 46%) !important; --v-sur-accent: #FFFFFF !important;
  --v-pastille: linear-gradient(140deg, hsl(calc(var(--v-hm, 205) + 20) 60% 50%), hsl(var(--v-hm, 205) 62% 40%)) !important; --v-sur-pastille: #FFFFFF !important;
  --v-halo: hsl(var(--v-hm, 205) 70% 55% / .12) !important; --v-ombre: 0 1cqw 3cqw rgba(16, 38, 79, .10) !important;
  --v-note: hsl(var(--v-hm, 205) 50% 96%) !important; --v-note-bord: hsl(var(--v-hm, 205) 45% 78%) !important; --v-note-encre: #14213D !important;
  --v-bande: #FFFFFF !important; --v-bande2: #F4F7FB !important; --v-casse: none !important; --v-espace: -.01em !important; --v-poids: 800 !important;
  --v-motif: radial-gradient(40% 50% at 20% 26%, hsl(var(--v-hm, 205) 75% 60% / .10), transparent 70%), radial-gradient(36% 46% at 82% 74%, hsl(calc(var(--v-hm, 205) + 30) 70% 60% / .08), transparent 70%) !important;
  --v-motif2: radial-gradient(32% 42% at 74% 30%, hsl(calc(var(--v-hm, 205) - 25) 70% 62% / .08), transparent 70%), radial-gradient(38% 48% at 28% 80%, hsl(var(--v-hm, 205) 70% 58% / .07), transparent 70%) !important; }
:root[data-theme="dark"] #app .lecteur-video, :root[data-theme="dark"] #app .lecteur-video[data-theme], :root[data-theme="dark"] #app .lecteur-video[data-theme][data-vs], :root[data-theme="dark"] #app .lecteur-video[data-theme][data-va], :root[data-theme="dark"] #app .lecteur-video[data-theme][data-vp] {
  --v-fond: #0F1B2D !important; --v-cadre: #0F1B2D !important; --v-encre: #E6EDF7 !important; --v-titre: #FFFFFF !important; --v-doux: #9FB1CC !important;
  --v-carte: #16253C !important; --v-carte2: #132136 !important; --v-encre-carte: #E6EDF7 !important; --v-bord: #263A5A !important;
  --v-accent: hsl(var(--v-hm, 205) 65% 64%) !important; --v-accent2: hsl(calc(var(--v-hm, 205) + 25) 60% 66%) !important; --v-sur-accent: #0B1626 !important;
  --v-pastille: linear-gradient(140deg, hsl(calc(var(--v-hm, 205) + 20) 60% 58%), hsl(var(--v-hm, 205) 62% 48%)) !important;
  --v-ombre: 0 1cqw 3cqw rgba(0, 0, 0, .35) !important; --v-note: #17283F !important; --v-note-bord: hsl(var(--v-hm, 205) 45% 45%) !important; --v-note-encre: #E6EDF7 !important;
  --v-bande: #0F1B2D !important; --v-bande2: #0C1626 !important;
  --v-motif: radial-gradient(40% 50% at 20% 26%, hsl(var(--v-hm, 205) 70% 55% / .16), transparent 70%), radial-gradient(36% 46% at 82% 74%, hsl(calc(var(--v-hm, 205) + 30) 70% 55% / .12), transparent 70%) !important;
  --v-motif2: radial-gradient(32% 42% at 74% 30%, hsl(calc(var(--v-hm, 205) - 25) 70% 60% / .12), transparent 70%), radial-gradient(38% 48% at 28% 80%, hsl(var(--v-hm, 205) 70% 55% / .10), transparent 70%) !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #app .lecteur-video, :root:not([data-theme="light"]) #app .lecteur-video[data-theme], :root:not([data-theme="light"]) #app .lecteur-video[data-theme][data-vs], :root:not([data-theme="light"]) #app .lecteur-video[data-theme][data-va], :root:not([data-theme="light"]) #app .lecteur-video[data-theme][data-vp] {
    --v-fond: #0F1B2D !important; --v-cadre: #0F1B2D !important; --v-encre: #E6EDF7 !important; --v-titre: #FFFFFF !important; --v-doux: #9FB1CC !important;
    --v-carte: #16253C !important; --v-carte2: #132136 !important; --v-encre-carte: #E6EDF7 !important; --v-bord: #263A5A !important;
    --v-accent: hsl(var(--v-hm, 205) 65% 64%) !important; --v-accent2: hsl(calc(var(--v-hm, 205) + 25) 60% 66%) !important; --v-sur-accent: #0B1626 !important;
    --v-pastille: linear-gradient(140deg, hsl(calc(var(--v-hm, 205) + 20) 60% 58%), hsl(var(--v-hm, 205) 62% 48%)) !important;
    --v-ombre: 0 1cqw 3cqw rgba(0, 0, 0, .35) !important; --v-note: #17283F !important; --v-note-bord: hsl(var(--v-hm, 205) 45% 45%) !important; --v-note-encre: #E6EDF7 !important;
    --v-bande: #0F1B2D !important; --v-bande2: #0C1626 !important;
    --v-motif: radial-gradient(40% 50% at 20% 26%, hsl(var(--v-hm, 205) 70% 55% / .16), transparent 70%), radial-gradient(36% 46% at 82% 74%, hsl(calc(var(--v-hm, 205) + 30) 70% 55% / .12), transparent 70%) !important;
    --v-motif2: radial-gradient(32% 42% at 74% 30%, hsl(calc(var(--v-hm, 205) - 25) 70% 60% / .12), transparent 70%), radial-gradient(38% 48% at 28% 80%, hsl(var(--v-hm, 205) 70% 55% / .10), transparent 70%) !important; } }
/* Les bulles et le décor restent doux sur fond blanc */
#app .lecteur-video .scene-vie i { background: hsl(var(--v-hm, 205) 70% 60% / .14) !important; }
#app .lecteur-video .scene-vie i:nth-child(3n) { background: hsl(calc(var(--v-hm, 205) + 30) 70% 62% / .12) !important; }
#app .lecteur-video .scene-vie i:nth-child(5), #app .lecteur-video .scene-vie i:nth-child(8) { background: transparent !important; border-color: hsl(var(--v-hm, 205) 70% 60% / .22) !important; }
/* Le traitement des cartes change d'un module à l'autre (data-vs) : le fond, lui, reste le même */
#app .lecteur-video[data-vs="0"] { --v-rayon: 1.6cqw !important; }
#app .lecteur-video[data-vs="1"] { --v-rayon: 2.6cqw !important; }
#app .lecteur-video[data-vs="2"] { --v-rayon: .6cqw !important; }
#app .lecteur-video[data-vs="4"] { --v-rayon: 1.1cqw !important; }
#app .lecteur-video[data-vs="5"] { --v-rayon: 0 !important; }
#app .lecteur-video[data-vs="0"] .mo-liste li, #app .lecteur-video[data-vs="0"] .mo-noeud, #app .lecteur-video[data-vs="0"] .mo-tache { border-left: .5cqw solid var(--v-accent) !important; }
#app .lecteur-video[data-vs="1"] .mo-liste li, #app .lecteur-video[data-vs="1"] .mo-noeud, #app .lecteur-video[data-vs="1"] .mo-tache, #app .lecteur-video[data-vs="1"] .mo-terme:not(.resultat), #app .lecteur-video[data-vs="1"] .mo-rayon { background: var(--v-carte) !important; box-shadow: var(--v-ombre) !important; border-color: transparent !important; }
#app .lecteur-video[data-vs="2"] .mo-liste li, #app .lecteur-video[data-vs="2"] .mo-noeud, #app .lecteur-video[data-vs="2"] .mo-tache, #app .lecteur-video[data-vs="2"] .mo-terme:not(.resultat), #app .lecteur-video[data-vs="2"] .mo-rayon { background: transparent !important; border: .2cqw solid color-mix(in srgb, var(--v-accent) 55%, transparent) !important; }
#app .lecteur-video[data-vs="4"] .mo-liste li, #app .lecteur-video[data-vs="4"] .mo-noeud, #app .lecteur-video[data-vs="4"] .mo-tache, #app .lecteur-video[data-vs="4"] .mo-terme:not(.resultat), #app .lecteur-video[data-vs="4"] .mo-rayon { background: color-mix(in srgb, var(--v-accent) 9%, var(--v-carte)) !important; border-color: transparent !important; }
#app .lecteur-video[data-vs="5"] .mo-liste li, #app .lecteur-video[data-vs="5"] .mo-noeud, #app .lecteur-video[data-vs="5"] .mo-tache, #app .lecteur-video[data-vs="5"] .mo-terme:not(.resultat), #app .lecteur-video[data-vs="5"] .mo-rayon { background: var(--v-carte) !important; border: 0 !important; border-bottom: .3cqw solid var(--v-accent) !important; }
/* Couleurs posées dans les scènes (cartes, barres) ramenées dans la palette calme du module */
#app .lecteur-video .scene-motion .mo-carte:nth-child(4n+1), #app .lecteur-video .mo-barre:nth-child(4n+1) { --c: hsl(var(--v-hm, 205) 60% 48%) !important; }
#app .lecteur-video .scene-motion .mo-carte:nth-child(4n+2), #app .lecteur-video .mo-barre:nth-child(4n+2) { --c: hsl(calc(var(--v-hm, 205) + 35) 55% 50%) !important; }
#app .lecteur-video .scene-motion .mo-carte:nth-child(4n+3), #app .lecteur-video .mo-barre:nth-child(4n+3) { --c: hsl(calc(var(--v-hm, 205) - 35) 55% 46%) !important; }
#app .lecteur-video .scene-motion .mo-carte:nth-child(4n+4), #app .lecteur-video .mo-barre:nth-child(4n+4) { --c: hsl(calc(var(--v-hm, 205) + 70) 45% 48%) !important; }
#app .lecteur-video .mo-alerte { background: hsl(32 85% 94%) !important; color: #7A4300 !important; border: 1px solid hsl(32 70% 78%) !important; }
#app .lecteur-video .mo-tampon { border-color: var(--v-accent) !important; color: var(--v-accent) !important; }
#app .lecteur-video .mo-dossier, #app .lecteur-video .mo-onglet { background: color-mix(in srgb, var(--v-accent) 14%, var(--v-carte)) !important; color: var(--v-encre) !important; }
#app .lecteur-video .mo-a-vous { background: var(--v-accent) !important; color: var(--v-sur-accent) !important; }
:root[data-theme="dark"] #app .lecteur-video .mo-alerte { background: #3A2A12 !important; color: #FFD9A0 !important; border-color: #6B4A1E !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #app .lecteur-video .mo-alerte { background: #3A2A12 !important; color: #FFD9A0 !important; border-color: #6B4A1E !important; } }


/* ===== Dessins des scènes (illustrations.js, 13 nov. 2026 ; demande du propriétaire : « des images faites en dessin… du même style
   que les formatrices… chaque vidéo différente ») : aplats doux, teinte du module (--v-hm), couleurs calmes seulement.
   Les dessins bougent comme le reste de la scène (respirent, flottent) ; rien n'est téléchargé : SVG écrit par le code. ===== */
#app .lecteur-video .mo-illus { --il-h: var(--v-hm, 205); --il-h2: calc(var(--v-hm, 205) + 38); }
#app .lecteur-video .mo-medaillon.mo-illus, #app .lecteur-video .mo-grand-ico.mo-illus { background: none !important; box-shadow: none !important; border-radius: 0; padding: 0; color: inherit; }
#app .lecteur-video .mo-medaillon.mo-illus { width: 36cqw; height: 25.5cqw; margin-top: -13cqw; right: 5cqw; rotate: 0deg; scale: .85; }
#app .lecteur-video .mo-medaillon.mo-illus.on { scale: 1; }
#app .lecteur-video .mo-grand-ico.mo-illus { width: 31cqw; height: 22cqw; margin-top: -11cqw; right: 3cqw; }
#app .lecteur-video .mo-grand-ico.gauche.mo-illus { right: auto; left: 3cqw; }
#app .lecteur-video .mo-dossier-dessin { display: block; width: 100%; height: 15cqw; margin: -.6cqw 0 .4cqw; }
#app .lecteur-video .mo-vignette { display: inline-block; width: 11cqw; height: 7.8cqw; margin: -2.4cqw .4cqw -2.4cqw -1cqw; flex: none; }
.mo-illus svg, .mo-vignette svg { width: 100%; height: 100%; display: block; overflow: visible; }
/* Couleurs (classes du dessin) : teinte du module et sa voisine ; neutres clairs ; vert d'argent ; violet pour les alertes. */
.mo-illus .il-fond { fill: hsl(var(--il-h) 70% 94%); } .mo-illus .il-bulle-deco { fill: hsl(var(--il-h2) 60% 82%); }
.mo-illus .il-sol { fill: hsl(var(--il-h) 30% 50% / .14); }
.mo-illus .il-p { fill: hsl(var(--il-h) 48% 44%); } .mo-illus .il-pc { fill: hsl(var(--il-h) 55% 78%); } .mo-illus .il-pf { fill: hsl(var(--il-h) 45% 28%); }
.mo-illus .il-s { fill: hsl(var(--il-h2) 52% 50%); } .mo-illus .il-sc { fill: hsl(var(--il-h2) 55% 80%); } .mo-illus .il-sf { fill: hsl(var(--il-h2) 45% 34%); }
.mo-illus .il-p-t { stroke: hsl(var(--il-h) 48% 44%); } .mo-illus .il-pf-t { stroke: hsl(var(--il-h) 45% 28%); } .mo-illus .il-s-t { stroke: hsl(var(--il-h2) 52% 50%); }
.mo-illus .il-pf-t, .mo-illus .il-p-t, .mo-illus .il-s-t, .mo-illus .il-n1-t, .mo-illus .il-n2-t, .mo-illus .il-n4-t, .mo-illus .il-v-t { fill: none; }
.mo-illus .il-p-t.il-bras-montre, .mo-illus .il-pf-t.il-bras-montre { fill: none; }
.mo-illus .il-n1 { fill: #FFFFFF; } .mo-illus .il-n2 { fill: #DCE3EE; } .mo-illus .il-n3 { fill: #AEB9CC; } .mo-illus .il-n4 { fill: #24324A; }
.mo-illus .il-n1-t { stroke: #FFFFFF; } .mo-illus .il-n2-t { stroke: #C5D0E0; } .mo-illus .il-n4-t { stroke: #24324A; }
.mo-illus .il-trait { stroke: hsl(var(--il-h) 25% 80%); stroke-width: 1.2; }
.mo-illus .il-v { fill: #2FA36B; } .mo-illus .il-vc { fill: #8FDDB4; } .mo-illus .il-v-t { stroke: #2FA36B; }
.mo-illus .il-ecran { fill: hsl(var(--il-h) 60% 90%); } .mo-illus .il-vitre { fill: hsl(var(--il-h2) 70% 88%); }
.mo-illus .il-carton { fill: #B8A58C; } .mo-illus .il-carton-f { fill: #A08C72; } .mo-illus .il-carton-b { fill: #E9DFCF; }
.mo-illus .il-table { fill: hsl(var(--il-h) 25% 86%); } .mo-illus .il-roche { fill: #8C8A9A; } .mo-illus .il-minerai { fill: #3FA9A0; }
.mo-illus .il-tronc { stroke: #7A6250; } .mo-illus .il-fleuve { stroke: hsl(var(--il-h2) 60% 70%); }
.mo-illus .il-verre { fill: hsl(var(--il-h2) 70% 90% / .7); } .mo-illus .il-contour, .mo-illus .il-contour-e { fill: none; stroke: hsl(var(--il-h) 45% 28%); stroke-width: 4; }
.mo-illus .il-alerte { fill: #7C5CD6; } .mo-illus .il-encre { stroke: hsl(var(--il-h) 45% 28%); }
.mo-illus .il-tampon-c { fill: none; stroke: #2FA36B; stroke-width: 2; } .mo-illus .il-tampon-t { stroke: #2FA36B; }
.mo-illus .il-courbe { stroke: hsl(var(--il-h2) 52% 50%); }
/* Tenue des personnes (traits du bras) : même teinte que le corps. */
.mo-illus .il-p-t, .mo-illus .il-pf-t { } .mo-illus path.il-p-t { stroke: hsl(var(--il-h) 48% 44%); } .mo-illus path.il-s-t { stroke: hsl(var(--il-h2) 52% 50%); } .mo-illus path.il-n4-t { stroke: #24324A; }
/* Mode sombre : fond du dessin plus profond, papier un peu moins blanc. */
:root[data-theme="dark"] #app .lecteur-video .mo-illus .il-fond { fill: hsl(var(--il-h) 40% 22%); }
:root[data-theme="dark"] #app .lecteur-video .mo-illus .il-sol { fill: hsl(var(--il-h) 40% 70% / .12); }
:root[data-theme="dark"] #app .lecteur-video .mo-illus .il-n1 { fill: #EEF3FA; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #app .lecteur-video .mo-illus .il-fond { fill: hsl(var(--il-h) 40% 22%); } :root:not([data-theme="light"]) #app .lecteur-video .mo-illus .il-n1 { fill: #EEF3FA; } }
/* Mouvement : chaque partie vit à son rythme (règle du 11 nov. : tous les éléments apparus bougent). */
.mo-illus .il-personne, .mo-illus .il-respire, .mo-illus .il-flotte, .mo-illus .il-flotte2, .mo-illus .il-balance, .mo-illus .il-tourne, .mo-illus .il-pulse, .mo-illus .il-cherche, .mo-illus .il-roule, .mo-illus .il-fumee, .mo-illus .il-ondes, .mo-illus .il-pompe, .mo-illus .il-bras-montre, .mo-illus .il-salue, .mo-illus .il-cligne, .mo-illus .il-barre { transform-box: fill-box; }
.mo-illus .il-respire { animation: il-respire 4.2s ease-in-out infinite; transform-origin: 50% 100%; }
.mo-illus .il-flotte { animation: il-flotte 3.6s ease-in-out infinite; } .mo-illus .il-flotte2 { animation: il-flotte 4.4s ease-in-out -1.2s infinite; }
.mo-illus .il-balance { animation: il-balance 5s ease-in-out infinite; transform-origin: 50% 0%; }
.mo-illus .il-tourne { animation: il-tourne 9s linear infinite; transform-origin: 50% 50%; }
.mo-illus .il-pulse { animation: il-pulse 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
.mo-illus .il-cherche { animation: il-cherche 5.5s ease-in-out infinite; }
.mo-illus .il-roule { animation: il-roule 6s ease-in-out infinite; }
.mo-illus .il-fumee { animation: il-fumee 3.2s ease-in-out infinite; transform-origin: 0% 100%; }
.mo-illus .il-ondes { animation: il-ondes 2.2s ease-in-out infinite; transform-origin: 50% 50%; }
.mo-illus .il-pompe { animation: il-balance 3s ease-in-out infinite; transform-origin: 40% 50%; }
.mo-illus .il-bras-montre { animation: il-montre 2.8s ease-in-out infinite; transform-origin: 0% 100%; }
.mo-illus .il-salue { animation: il-salue 2.2s ease-in-out infinite; transform-origin: 0% 100%; }
.mo-illus .il-cligne { animation: il-cligne 5.2s infinite; transform-origin: 50% 50%; }
.mo-illus .il-personne { animation: il-respire 4.6s ease-in-out infinite; transform-origin: 50% 100%; }
.mo-illus .il-personne:nth-of-type(2n) { animation-duration: 5.3s; animation-delay: -1.7s; }
.mo-illus .il-barre { animation: il-barre 1.1s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 50% 100%; }
.mo-illus .il-pop { animation: il-pop 3s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes il-respire { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.025); } }
@keyframes il-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes il-balance { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes il-tourne { to { transform: rotate(360deg); } }
@keyframes il-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes il-cherche { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(5px, -3px); } 66% { transform: translate(-3px, 3px); } }
@keyframes il-roule { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
@keyframes il-fumee { 0%, 100% { transform: translateY(0) scale(1); opacity: .9; } 50% { transform: translateY(-4px) scale(1.08); opacity: .6; } }
@keyframes il-ondes { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes il-montre { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-7deg); } }
@keyframes il-salue { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(8deg); } }
@keyframes il-cligne { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes il-barre { from { transform: scaleY(0); } }
@keyframes il-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .mo-illus * { animation: none !important; } }
@media (max-width: 640px) { #app .lecteur-video .mo-vignette { width: 13cqw; height: 9.2cqw; } }
/* Grand dessin à gauche de la scène (quand motionCadrer lui laisse la place) ; la vignette du titre disparaît alors. */
#app .lecteur-video .mo-dessin-cote { position: absolute; left: 3.5cqw; top: 50%; width: 28cqw; height: 19.8cqw; margin-top: -8cqw; z-index: 1; scale: .85; opacity: 0; transition: scale .7s cubic-bezier(.2, .9, .3, 1.2), opacity .5s; }
#app .lecteur-video .mo-dessin-cote.on { scale: 1; opacity: 1; }
#app .lecteur-video .mo.avec-cote .mo-vignette { display: none; }
#app .lecteur-video .mo.avec-cote .mo-tete i { display: inline-block; }
#app .lecteur-video .mo.avec-bas .mo-dessin-cote { top: auto; bottom: 1cqw; margin-top: 0; left: 5cqw; width: 28cqw; height: 19.8cqw; }
#app .lecteur-video .mo.avec-bas .mo-vignette { display: none; }
#app .lecteur-video .mo.avec-bas .mo-tete i { display: inline-block; }
#app .lecteur-video .mo.avec-haut .mo-dessin-cote { top: 1.6cqw; margin-top: 0; left: auto; right: 21cqw; width: 30cqw; height: 21.2cqw; }
#app .lecteur-video .mo.avec-haut .mo-vignette { display: none; }
#app .lecteur-video .mo.avec-haut .mo-tete i { display: inline-block; }

/* ===== Signature unique de chaque vidéo (17 nov. 2026, demande du propriétaire : « qu'aucun design ne se ressemble », 57
   formations × 6 modules). themeVideo() donne à chaque vidéo une combinaison qu'aucune autre n'a : data-xt (traitement du titre,
   6), data-xp (puces, 4), data-xy (lettres, 3), data-xr (formes, 3), data-xh (lumière, 4). Fond blanc / bleu nuit, palette calme
   et polices du site respectés ; aucun trait devant les petits titres. ===== */
/* Titre (data-xt) */
#app .lecteur-video[data-xt="1"] .mo-titre { background: color-mix(in srgb, var(--v-accent) 7%, transparent); border-radius: var(--v-rayon, 2cqw); margin: 5cqw 6cqw; padding: 4cqw 6cqw; }
#app .lecteur-video[data-xt="2"] .mo-titre .mo-sur { justify-self: start; background: var(--v-accent); color: var(--v-sur-accent, #FFFFFF); padding: .7cqw 1.8cqw; border-radius: 999px; letter-spacing: .08em; }
#app .lecteur-video[data-xt="2"][data-vl="1"] .mo-titre .mo-sur { justify-self: center; }
#app .lecteur-video[data-xt="2"][data-vl="2"] .mo-titre .mo-sur { justify-self: end; }
#app .lecteur-video[data-xt="3"] .mo-titre h3::after { content: ""; display: block; width: 9cqw; height: .8cqw; margin-top: 1.6cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--v-accent), var(--v-accent2, var(--v-accent))); }
#app .lecteur-video[data-xt="3"][data-vl="1"] .mo-titre h3::after { margin-inline: auto; }
#app .lecteur-video[data-xt="3"][data-vl="2"] .mo-titre h3::after { margin-left: auto; }
#app .lecteur-video[data-xt="4"] .mo-titre h3 span { background: linear-gradient(100deg, var(--v-titre) 10%, var(--v-accent) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
#app .lecteur-video[data-xt="5"] .mo-titre { border: .25cqw solid color-mix(in srgb, var(--v-accent) 30%, transparent); border-radius: var(--v-rayon, 2cqw); margin: 5cqw 6cqw; padding: 4cqw 6cqw; }
#app .lecteur-video[data-xt="5"] .mo-titre .mo-sur { color: var(--v-doux, inherit); }
/* Puces (data-xp) */
#app .lecteur-video[data-xp="1"] .mo-puces li span { border-radius: 26%; background: transparent; color: var(--v-accent); box-shadow: inset 0 0 0 .3cqw var(--v-accent); }
#app .lecteur-video[data-xp="2"] .mo-puces { gap: 1.4cqw; }
#app .lecteur-video[data-xp="2"] .mo-puces li { background: color-mix(in srgb, var(--v-accent) 9%, transparent); border-radius: var(--v-rayon, 1.6cqw); padding: 1cqw 1.6cqw; }
#app .lecteur-video[data-xp="2"] .mo-puces li span { background: var(--v-accent); color: var(--v-sur-accent, #FFFFFF); }
#app .lecteur-video[data-xp="3"] .mo-puces { grid-template-columns: repeat(auto-fit, minmax(16cqw, 1fr)); max-width: 66cqw; }
#app .lecteur-video[data-xp="3"] .mo-puces li { flex-direction: column; align-items: flex-start; gap: .8cqw; padding: 1.4cqw; border-radius: var(--v-rayon, 1.6cqw); background: var(--v-carte, #FFFFFF); box-shadow: 0 .6cqw 2cqw color-mix(in srgb, var(--v-titre, #0B1736) 10%, transparent); }
#app .lecteur-video[data-xp="3"] .mo-puces li span { width: auto; height: auto; background: none; color: var(--v-accent); font-size: max(12px, 2.6cqw); font-weight: 800; }
/* Lettres (data-xy) : mêmes polices, autre graisse, autre taille, autre espacement */
#app .lecteur-video[data-xy="1"] .mo-titre h3 { font-weight: 600; letter-spacing: -.02em; font-size: max(17px, 5cqw); }
#app .lecteur-video[data-xy="1"] .mo-sur { letter-spacing: .3em; font-weight: 700; }
#app .lecteur-video[data-xy="2"] .mo-titre h3 { font-weight: 800; letter-spacing: .01em; font-size: max(16px, 4.1cqw); line-height: 1.15; }
#app .lecteur-video[data-xy="2"] .mo-sur { text-transform: none; letter-spacing: .02em; font-size: max(11px, 2cqw); }
/* Formes (data-xr) : angles des cartes, des pastilles et du médaillon */
#app .lecteur-video[data-xr="0"] { --v-rayon: .6cqw; }
#app .lecteur-video[data-xr="1"] { --v-rayon: 2cqw; }
#app .lecteur-video[data-xr="2"] { --v-rayon: 4cqw; }
#app .lecteur-video[data-xr="0"] .mo-medaillon:not(.mo-illus) { border-radius: 12%; }
#app .lecteur-video[data-xr="2"] .mo-medaillon:not(.mo-illus) { border-radius: 50%; }
/* Lumière (data-xh) : place et couleur du halo du titre */
#app .lecteur-video[data-xh="1"] .mo-titre .mo-halo { left: auto; right: -14cqw; top: auto; bottom: -24cqw; }
#app .lecteur-video[data-xh="2"] .mo-titre .mo-halo { left: 20cqw; top: -30cqw; width: 80cqw; height: 80cqw; opacity: .7; }
#app .lecteur-video[data-xh="3"] .mo-titre .mo-halo { background: radial-gradient(circle, color-mix(in srgb, var(--v-accent2, var(--v-accent)) 26%, transparent), transparent 65%); left: -16cqw; top: auto; bottom: -26cqw; }
/* Titre centré (data-vl="1") avec dessin : le dessin garde une vraie taille au-dessus du titre (il était réduit à une vignette). */
#app .lecteur-video[data-vl="1"] .mo-titre .mo-medaillon.mo-illus { width: 26cqw; height: 18.5cqw; margin: 0 0 0 -13cqw; top: 3%; right: auto; left: 50%; }
#app .lecteur-video[data-vl="1"] .mo-titre:has(.mo-medaillon.mo-illus) { padding-top: 20cqw; }
#app .lecteur-video[data-vl="1"][data-xp="3"] .mo-titre .mo-puces { justify-self: center; width: 66cqw; }
#app .lecteur-video[data-vl="2"][data-xp="3"] .mo-titre .mo-puces { justify-self: end; }

/* ===== Bouton secondaire lisible sur la fin de vidéo (capture du propriétaire, 17 nov. 2026, 15 h 22 :
   « Revoir » blanc sur fond blanc dans l'application installée). Le fond est blanc (bleu nuit en mode sombre) : le texte prend la couleur
   du titre de la vidéo, qui suit le mode. */
body.app-style #app .lecteur-video .scene-fin .bouton.secondaire, #app .lecteur-video .scene-fin .bouton.secondaire {
  color: var(--v-titre, #002E7A) !important; background: transparent !important;
  border: 1.5px solid color-mix(in srgb, var(--v-titre, #002E7A) 40%, transparent) !important; }
