/* Sanctiago — système de mouvement de la refonte « motion design » (24/10/2026), d'après refonte_motion/concept.md.
   La vidéo réseaux déroulée au défilement : flash doré, frappe des titres, zoom traversant, éventail, procession.
   Règles :
   - l'état de BASE de chaque élément est son état FINAL (sans JavaScript, tout est visible et en place) ;
   - l'état de départ (caché) ne s'applique que sous html.mouvement (posé par js/mouvement.js) et tant que la scène
     [data-scene] n'a pas reçu .joue (une seule fois, à son entrée à l'écran) ;
   - les primitives bougent avec les propriétés translate / scale (indépendantes de transform) : elles s'ajoutent aux
     transformations propres des éléments sans les écraser ;
   - html.calme (« Réduire les animations » ou bouton pause) : tout va directement à l'état final, rien ne tourne ;
   - les boucles sans fin (.m-boucle) ne tournent que dans une zone visible ([data-boucle-css].visible). */
:root {
  --e-expo: cubic-bezier(.16, 1, .3, 1);     /* expo.out : frappes, zoom traversant */
  --e-quart: cubic-bezier(.25, 1, .5, 1);    /* power3.out : montées, éventail */
  --e-cubic: cubic-bezier(.33, 1, .68, 1);   /* power2.out */
  --e-quint: cubic-bezier(.22, 1, .36, 1);   /* power4.out : épées */
  --e-inout: cubic-bezier(.65, 0, .35, 1);   /* power2.inOut : retournement, reflet */
  --e-in: cubic-bezier(.32, 0, .67, 0);      /* power2.in : sorties */
  --e-sine: cubic-bezier(.37, 0, .63, 1);    /* sine.inOut : flotte, respire */
  --e-back: cubic-bezier(.34, 1.4, .64, 1);  /* back.out(1.4) : éclosions */
  --e-morph: cubic-bezier(.34, 1.56, .64, 1);/* app : Easing.out(Easing.back(1.6)) auréole -> anneau */
  --e-quad-out: cubic-bezier(.5, 1, .89, 1);
  --e-quad-inout: cubic-bezier(.45, 0, .55, 1);
  --pas: 80ms;
}

/* ------------------------------------------------------------------ primitives (une fois, à .joue) */
html.mouvement .m-monte, html.mouvement .m-frappe, html.mouvement .m-zoom, html.mouvement .m-filet, html.mouvement .m-eclosion {
  transition-property: opacity, translate, scale, filter;
  transition-delay: calc(var(--d, 0s) + (var(--i, 0) + var(--rang, 0)) * var(--pas));
}
html.mouvement .m-monte { transition-duration: .6s; transition-timing-function: var(--e-quart); }
html.mouvement .m-frappe { transition-duration: .7s; transition-timing-function: var(--e-expo); }
html.mouvement .m-zoom { transition-duration: .45s; transition-timing-function: var(--e-expo); }
html.mouvement .m-filet { transition-duration: .5s; transition-timing-function: var(--e-quart); }
html.mouvement .m-eclosion { transition-duration: .45s; transition-timing-function: var(--e-back); }
html.mouvement [data-scene]:not(.joue) .m-monte, html.mouvement .m-monte[data-scene]:not(.joue),
html.mouvement [data-apparait]:not(.joue) { opacity: 0; translate: 0 var(--dy, 28px); }
html.mouvement [data-apparait] { transition: opacity .6s var(--e-quart), translate .6s var(--e-quart); transition-delay: calc(var(--rang, 0) * var(--pas)); }
html.mouvement [data-scene]:not(.joue) .m-frappe { opacity: 0; scale: 1.06; translate: 0 14px; filter: blur(6px); }
html.mouvement [data-scene]:not(.joue) .m-zoom, html.mouvement .m-zoom[data-scene]:not(.joue) { opacity: 0; scale: .82; }
html.mouvement [data-scene]:not(.joue) .m-filet { scale: 0 1; }
html.mouvement [data-scene]:not(.joue) .m-eclosion { scale: 0; }
.filet-or { display: block; width: 84px; height: 2px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, rgba(246, 185, 26, 0), var(--or), rgba(246, 185, 26, 0)); }

/* flash doré : une lueur d'or s'allume puis s'éteint quand le titre entre (sections #comment, #saints, #gold, #nom) */
.m-flash { position: relative; isolation: isolate; }
.m-flash::before { content: ""; position: absolute; left: 50%; top: 40%; width: min(140vw, 1500px); height: 420px; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 212, 90, .55), rgba(255, 212, 90, .14) 55%, rgba(255, 212, 90, 0)); opacity: 0; pointer-events: none; }
html.mouvement .m-flash.joue::before { animation: m-flash .65s ease-out both; }
@keyframes m-flash { 0% { opacity: 0; } 23% { opacity: 1; } 100% { opacity: 0; } }

/* reflet : une bande de lumière passe une fois */
.m-reflet { position: relative; overflow: hidden; }
.m-reflet::after { content: ""; position: absolute; inset: 0; pointer-events: none; translate: -120% 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 199, .55) 50%, transparent 65%); }
html.mouvement .joue .m-reflet::after { animation: m-reflet .9s var(--e-inout) var(--dr, .9s) both; }
@keyframes m-reflet { from { translate: -120% 0; } to { translate: 120% 0; } }

/* boucles sans fin */
.m-flotte { animation: m-flotte 6s var(--e-sine) var(--retard, 0s) infinite alternate; }
@keyframes m-flotte { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-8px) rotate(1deg); } }
.m-flotte-p { display: block; animation: m-flotte-p 3.2s var(--e-sine) var(--retard, 0s) infinite alternate; }
@keyframes m-flotte-p { from { transform: translateY(2px); } to { transform: translateY(-4px); } }
.m-respire { animation: m-respire 1.8s var(--e-sine) infinite alternate; }
@keyframes m-respire { from { transform: scale(.94); opacity: .7; } to { transform: scale(1.07); opacity: 1; } }
@keyframes m-tourne { to { transform: rotate(360deg); } }
[data-boucle-css]:not(.visible) .m-boucle, [data-boucle-css]:not(.visible).m-boucle,
html.mouvement :is(section, .pied):not(.visible) .m-boucle { animation-play-state: paused; }
/* revue du 24/10 : ces boucles-là n'ont pas la classe .m-boucle et tournaient aussi hors de l'écran */
html.mouvement [data-boucle-css]:not(.visible) .pr-poussiere i, html.mouvement [data-boucle-css]:not(.visible) .marcheur,
html.mouvement section:not(.visible) .paillettes i, html.mouvement section:not(.visible) .medaillon .aureole::after { animation-play-state: paused; }
/* sans JavaScript (ou si js/mouvement.js n'a pas démarré) : l'image finale des deux scènes de site.css reste visible */
html:not(.mouvement) .celebration .cel-grande { opacity: 1; transform: none; }
html:not(.mouvement) .celebration .cel-texte { opacity: 1; }
html:not(.mouvement) .nom-scene .nom-logo { opacity: 1; transform: translate(-50%, -50%); }
html:not(.mouvement) .rejouer { display: none; } /* « Rejouer l'animation » ne ferait rien sans js/mouvement.js */

/* ------------------------------------------------------------------ en-tête : filet de progression, bouton pause */
.entete .progression { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--progression, 0));
  background: linear-gradient(90deg, #C86B00, var(--or), var(--or-clair)); opacity: 0; transition: opacity .3s; pointer-events: none; }
html.mouvement:not(.calme) .entete.defile .progression { opacity: .9; }
.bouton-anim { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; margin-left: auto;
  background: rgba(2, 11, 50, .6); border: 1px solid rgba(246, 185, 26, .6); color: var(--or-clair); }
.bouton-anim[hidden] { display: none; }
.bouton-anim svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.bouton-anim .ic-lire, .bouton-anim[aria-pressed="true"] .ic-pause { display: none; }
.bouton-anim[aria-pressed="true"] .ic-lire { display: block; }
.bouton-anim + .bouton-menu { margin-left: 10px; }
@media (min-width: 900px) { .bouton-anim { order: 3; margin-left: 18px; } }
.lien-anim { background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--texte); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lien-anim:hover { color: var(--or-clair); }
.lien-anim[hidden] { display: none; }

/* ------------------------------------------------------------------ hero : textes en cascade (2,7 s de l'intro), téléphones du grand écran */
html.mouvement .hero-texte > * { opacity: 0; translate: 0 14px; transition: opacity .7s var(--e-quart), translate .7s var(--e-quart), scale .7s var(--e-expo), filter .7s var(--e-expo); }
html.mouvement .hero-texte > .accroche { scale: 1.06; filter: blur(6px); }
html.mouvement .hero.texte-visible .hero-texte > * { opacity: 1; translate: none; scale: none; filter: none; }
html.mouvement .hero.texte-visible .hero-texte > :nth-child(2) { transition-delay: .15s; }
html.mouvement .hero.texte-visible .hero-texte > :nth-child(3) { transition-delay: .3s; }
html.mouvement .hero.texte-visible .hero-texte > :nth-child(4) { transition-delay: .45s; }
html.mouvement .hero.texte-visible .hero-texte > :nth-child(5) { transition-delay: .6s; } /* bouton « Voir la vidéo », puis les pastilles */
.badges-store.b-hero { flex-direction: row; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
@media (max-width: 339px) { .badges-store.b-hero { flex-direction: column; align-items: center; } }
.hero-tels { display: none; }
@media (min-width: 1280px) {
  .hero-tels { display: block; position: absolute; inset: 0; pointer-events: none; }
  .hero-tel { position: absolute; top: max(96px, 11vh); width: 210px; margin: 0; }
  .hero-tel .telephone { width: 210px; border-radius: 34px; padding: 7px; }
  .hero-tel .telephone .ecran { border-radius: 28px; }
  .hero-tel .telephone .ilot { top: 11px; height: 17px; }
  .hero-tel.g { left: calc(50% - 610px); rotate: -6deg; }
  .hero-tel.d { right: calc(50% - 610px); rotate: 6deg; }
  html.mouvement .hero-tel { transition: opacity .6s var(--e-expo) .2s, translate .6s var(--e-expo) .2s, scale .6s var(--e-expo) .2s; }
  html.mouvement .hero:not(.intro-finie) .hero-tel { opacity: 0; scale: .82; }
  html.mouvement .hero:not(.intro-finie) .hero-tel.g { translate: -60px 0; }
  html.mouvement .hero:not(.intro-finie) .hero-tel.d { translate: 60px 0; }
}

/* ------------------------------------------------------------------ procession : trois saints 3D montent sous le hero */
.hero { --chevauche: 150px; padding-bottom: calc(5vh + var(--chevauche) + env(safe-area-inset-bottom)); }
.hero-suite { bottom: calc(var(--chevauche) + 4px + env(safe-area-inset-bottom)); }
@media (max-width: 899px) { .hero-suite { display: none; } } /* sur téléphone, les têtes des saints invitent à descendre */
@media (min-width: 900px) { .hero { --chevauche: 120px; padding-bottom: calc(7vh + var(--chevauche)); } }
.procession { --chevauche: 150px; --k: 1; position: relative; z-index: 1; height: 300px; margin-top: calc(-1 * var(--chevauche)); overflow: hidden; pointer-events: none;
  background: radial-gradient(85% 55% at 50% 100%, #0B2E95 0%, rgba(3, 21, 83, .85) 55%, rgba(2, 11, 50, 0) 100%),
    linear-gradient(180deg, rgba(2, 11, 50, 0) 0, #020B32 var(--chevauche)); contain: layout paint; }
@media (min-width: 900px) { .procession { --chevauche: 120px; --k: 1.3; height: 440px; } }
/* revue du 24/10 : sur un écran peu haut (iPhone dans Safari, iPhone SE, portable 1366 x 657…), la place gardée en bas pour les
   têtes des saints rétrécit, sinon le texte remonte sous le logo de l'intro (« Deviens saint à ton tour » le chevauchait) */
.hero, .procession { --chevauche: clamp(64px, calc(100vh - 694px), 150px); }
@supports (height: 100svh) { .hero, .procession { --chevauche: clamp(64px, calc(100svh - 694px), 150px); } }
@media (min-width: 900px) {
  .hero, .procession { --chevauche: clamp(40px, calc(100vh - 650px), 120px); }
  @supports (height: 100svh) { .hero, .procession { --chevauche: clamp(40px, calc(100svh - 650px), 120px); } }
}
@media (min-width: 900px) and (max-height: 760px) { .hero h1 { font-size: clamp(32px, 6.4vh, 52px); } }
/* de 340 à 389 px de large : les deux badges restent sur une ligne (sinon le bloc de texte gagne 95 px et monte sous le logo) */
@media (min-width: 340px) and (max-width: 389px) { .badges-store.b-hero { --hb: 40px; gap: 4px 10px; flex-wrap: nowrap; } }
/* pastilles « Bientôt sur … » (24/10, soir) : elles passent sur deux lignes si la largeur manque (jamais de débordement) */
.badges-store.b-hero.que-pastilles { gap: 6px 8px; flex-wrap: wrap; align-items: center; }
.pr-sol { position: absolute; left: 50%; bottom: -60px; width: min(900px, 150%); height: 260px; translate: -50% 0; opacity: calc(.4 + .5 * var(--p, 0)); }
.pr-sol > span { position: absolute; inset: 0; background: url(/img/intro/halo_dore-512.webp) center / 100% 100% no-repeat; }
.pr-poussiere i { position: absolute; left: var(--x); bottom: 0; width: 10px; height: 10px; background: url(/img/intro/paillette-42.webp) center/contain no-repeat; opacity: 0;
  animation: pr-grain var(--t) linear var(--r) infinite; }
@keyframes pr-grain { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: .9; } 80% { opacity: .6; } 100% { opacity: 0; transform: translateY(-230px) scale(1.1); } }
.pr-saint { position: absolute; bottom: 10px; left: var(--x); height: calc(var(--hm) * 137px * var(--k)); translate: -50% 0; z-index: 2; }
.pr-saint.pr-milieu { z-index: 3; }
.pr-saint.pr-loin { display: none; }
@media (min-width: 900px) { .pr-saint.pr-loin { display: block; z-index: 1; filter: brightness(.82); } }
.pr-saint picture, .pr-saint img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
html.mouvement .pr-saint { transition: translate .6s var(--e-quart) var(--d); }
html.mouvement .procession:not(.joue) .pr-saint { translate: -50% 100%; }
html.mouvement:not(.calme) .pr-saint picture { display: block; transform: translateY(calc((1 - var(--p, 0)) * 20%)); }
html.mouvement:not(.calme) .pr-saint.pr-cote picture { transform: translateY(calc((1 - var(--p, 0)) * 24%)); }

/* ------------------------------------------------------------------ piliers et chiffres */
.medaillon .aureole { animation: none; }
.medaillon .aureole::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 14px 3px rgba(255, 212, 90, .9); opacity: .25;
  animation: m-lueur 2s var(--e-sine) infinite alternate; }
@keyframes m-lueur { to { opacity: 1; } }
html.mouvement .pilier .aureole { transition: translate .5s var(--e-quart), opacity .5s var(--e-quart); transition-delay: calc(.1s + var(--rang, 0) * var(--pas)); }
html.mouvement .pilier:not(.joue) .aureole { translate: 0 -24px; opacity: 0; }
.chiffres { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin: 36px auto 0; padding: 0; }
@media (min-width: 700px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffres li { text-align: center; background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 18px; padding: 14px 8px 12px; box-shadow: var(--lueur-douce); }
.chiffres b { display: block; min-width: 2ch; font: 900 clamp(36px, 10vw, 50px)/1.05 var(--titre); color: var(--or-clair); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(246, 185, 26, .5); }
.chiffres span { display: block; margin-top: 4px; font: 600 15px/1.3 var(--corps); color: var(--texte-doux); }
.sur-titre b { font-weight: 900; color: var(--or-clair); }

/* ------------------------------------------------------------------ « Comment ça marche » : numéros et blocs */
html.mouvement .bloc .numero { display: inline-block; transition: opacity .35s var(--e-back), scale .35s var(--e-back); }
html.mouvement .bloc:not(.joue) .numero { opacity: 0; scale: 1.3; }
.telephone .ecran { container-type: inline-size; }
.telephone.mini { width: 150px; border-radius: 26px; padding: 6px; }
.telephone.mini .ecran { border-radius: 21px; }
.telephone.mini .ilot { top: 9px; height: 12px; }
.telephone .ecran > picture img { width: 100%; height: 100%; object-fit: cover; }

/* bloc 1 : menu du bas de l'app (sans bandeau, les boutons flottent sur la carte ; positions de BarreMenuSanctiago, écran de 440 pt) */
.cv-menu { position: absolute; left: 0; right: 0; bottom: 0; height: 36cqw; z-index: 3; pointer-events: none; }
.cvm { position: absolute; bottom: 17cqw; translate: -50% 50%; display: block; filter: drop-shadow(0 1px 1.5px rgba(2, 11, 50, .6)); }
.cvm img { width: 100%; height: auto; }
.cvm-epees { left: 6.8cqw; width: 9.3cqw; }
.cvm-coll { left: 22cqw; width: 14.1cqw; }
.cvm-pelerin { left: 78cqw; width: 10cqw; translate: -50% 38%; filter: none; }
.cvm-note { left: 93.2cqw; width: 7.3cqw; }
.cv-fiche { position: absolute; left: 3cqw; right: 3cqw; bottom: 31cqw; z-index: 4; display: flex; align-items: center; gap: 2.6cqw; padding: 2.2cqw 2.6cqw;
  border-radius: 4.4cqw; background: rgba(2, 11, 50, .84); border: 1px solid rgba(246, 185, 26, .55); box-shadow: 0 0 8px rgba(246, 185, 26, .25);
  opacity: 0; translate: 0 110%; transition: opacity .3s var(--e-in), translate .3s var(--e-in); }
.carte-vivante.cv-proche .cv-fiche { opacity: 1; translate: none; transition: opacity .35s var(--e-quart), translate .35s var(--e-quart); }
.cv-fiche-portrait { position: relative; flex: none; width: 10.5cqw; height: 10.5cqw; border-radius: 50%; box-shadow: 0 0 0 .6cqw #f6c64a; background: #fff6c7; overflow: hidden; }
.cv-fiche-portrait .portrait-parlant { position: absolute; inset: 0; }
.cv-fiche-texte { min-width: 0; flex: 1; line-height: 1.15; }
.cv-fiche-texte strong { display: block; font: 700 4.1cqw/1.15 var(--titre); color: var(--or-clair); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-fiche-texte small { display: block; margin-top: .6cqw; font: 600 3.4cqw var(--corps); color: var(--texte-doux); }
.cv-fiche-ar { flex: none; display: inline-flex; align-items: center; gap: 1cqw; padding: 1.4cqw 2.8cqw; border-radius: 99px; font: 700 3.6cqw/1 var(--corps); color: var(--bleu-profond);
  background: linear-gradient(180deg, #FFE99A, #F6B91A 60%, #E0950C); }
.cv-fiche-ar svg { width: 3.8cqw; height: 3.8cqw; }

/* le composant « auréole -> anneau d'or » : BoutonAureole + BoutonAnneauCapture de l'app, mêmes valeurs (unité --u = 1 pt de l'app) */
.am { --u: calc(19.5cqw / 86); position: absolute; left: 50%; bottom: 17cqw; width: calc(86 * var(--u)); height: calc(86 * var(--u)); translate: -50% 50%; z-index: 2; }
.am > *, .am-aureole > *, .am-capture > *, .am-pulse > * { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: block; max-width: none; }
.am-aureole, .am-capture, .am-pulse { width: 100%; height: 100%; }
.am-lueur { width: calc(97.6 * var(--u)); height: auto; animation: m-respire 1.8s var(--e-sine) infinite alternate; }
.am-cour { width: calc(87.8 * var(--u)); height: calc(87.8 * var(--u)); transform: scaleY(.348); }   /* on aplatit dehors... */
.am-cour img { position: static; translate: none; width: 100%; height: 100%; }
.am-large img { opacity: .9; animation: m-tourne 30.6s linear infinite reverse; }           /* ... et on tourne dedans */
.am-fine img { animation: m-tourne 18s linear infinite; }
.am-anneau, .am-vif { width: calc(73.2 * var(--u)); height: auto; }
.am-vif { opacity: 0; animation: am-vif 1.8s var(--e-sine) infinite alternate; }
@keyframes am-vif { to { opacity: .45; } }
.am-eclat { width: calc(60 * var(--u)); height: auto; opacity: 0; }
.am-capture { opacity: 0; transform: scale(.77, .26); }
.am-cercle { width: 100%; height: 100%; border-radius: 50%; border: calc(4 * var(--u)) solid var(--or); box-shadow: 0 0 calc(10 * var(--u)) rgba(246, 185, 26, .9), inset 0 0 calc(6 * var(--u)) rgba(246, 185, 26, .5); }
.am-cercle i { position: absolute; left: 50%; top: 50%; width: calc(8 * var(--u)); height: calc(8 * var(--u)); translate: -50% -50%; border-radius: 50%; background: var(--or); box-shadow: 0 0 calc(6 * var(--u)) rgba(246, 185, 26, .9); }
.am-remplir { width: calc(110 * var(--u)); height: calc(110 * var(--u)); transform: rotate(-90deg); overflow: visible; }
.am-remplir circle { fill: none; stroke: var(--or); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.am.appui .am-remplir circle { stroke-dashoffset: 0; transition: stroke-dashoffset .3s linear; }
/* repos -> à portée : l'auréole s'efface en grandissant (1 -> 1,12), l'anneau se redresse (0,65 s, petit rebond), un éclat */
.am-aureole { transition: opacity .3s var(--e-quad-inout), scale .45s var(--e-quad-inout); }
.am-capture { transition: transform .45s var(--e-quad-inout), opacity .2s linear; }
.am[data-etat="pret"] .am-aureole { opacity: 0; scale: 1.12; transition: opacity .32s linear, scale .65s var(--e-morph); }
.am[data-etat="pret"] .am-capture { opacity: 1; transform: none; transition: transform .65s var(--e-morph), opacity .23s linear .1s; }
.am[data-etat="pret"] .am-pulse { animation: am-pulse .55s ease-in-out .65s infinite alternate; }
.am[data-etat="pret"] .am-eclat { animation: am-eclat .65s linear both; }
@keyframes am-pulse { to { scale: 1.14; } }
@keyframes am-eclat { 0%, 35% { opacity: 0; scale: .3; } 60% { opacity: 1; scale: .95; } 95% { opacity: 0; scale: 1.7; } 100% { opacity: 0; scale: 1.8; } }

/* bloc 2 : sur la vidéo de la rencontre, l'anneau d'or pulse, se remplit, flash doré, puis la vraie rencontre commence */
.rencontre-anneau { position: absolute; inset: 0; z-index: 4; display: none; place-items: center; background: rgba(2, 11, 50, .32); transition: opacity .3s; }
html.mouvement:not(.calme) .rencontre-anneau { display: grid; }
.rencontre-anneau .am { --u: calc(40cqw / 86); left: 50%; top: 50%; bottom: auto; translate: -50% -50%; }
.rencontre-anneau.fini { opacity: 0; pointer-events: none; }
.ra-flash { position: absolute; inset: -20%; background: url(/img/intro/flash_dore-512.webp) center / contain no-repeat; opacity: 0; pointer-events: none; }
.rencontre-anneau.flash .ra-flash { animation: ra-flash .4s ease-out both; }
@keyframes ra-flash { 0% { opacity: 0; } 38% { opacity: .85; } 100% { opacity: 0; } }
/* bloc 4 : le liseré doré du bouton « Revoir son histoire » apparaît puis respire doucement (comme un appel à toucher) */
html.mouvement .rh-appui { opacity: 0; }
html.mouvement .joue .rh-appui { animation: rh-appui 1.2s var(--e-sine) .75s infinite alternate both; }
@keyframes rh-appui { from { opacity: .3; scale: 1; } to { opacity: 1; scale: 1.035; } }
html.mouvement .ages { position: relative; translate: 0 calc(var(--p, 0) * -1 * var(--amp, 24px)); }
.ages-filet { position: absolute; left: 12%; right: 12%; bottom: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(246, 185, 26, 0), var(--or), rgba(246, 185, 26, 0)); z-index: -1; }
html.mouvement .ages figcaption { transition: opacity .4s var(--e-quart) .7s; }
html.mouvement .ages:not(.joue) figcaption { opacity: 0; }

/* bloc 3 : dos de cartes -> la carte se retourne -> l'éventail de la collection s'ouvre */
.collection-visuel { display: flex; flex-direction: column; align-items: center; gap: 22px; }
@media (min-width: 900px) { .collection-visuel { flex-direction: row; align-items: center; gap: 18px; } }
.cg-colonne { flex: none; }
.carte-gagnee { width: min(320px, 86vw); aspect-ratio: 1 / 1.12; contain: layout paint; }
.cg-groupe { position: absolute; left: 50%; top: 37%; width: 40%; aspect-ratio: 2 / 3; translate: -50% -50%; }
.cg-c { position: absolute; inset: 0; border-radius: 6%; }
.cg-c picture, .cg-c img { width: 100%; height: 100%; object-fit: cover; border-radius: 6%; }
.cg-ev { transform: translateX(var(--x)) rotate(var(--a)) scale(.74); transform-origin: 50% 85%; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.cg-dos { opacity: 0; box-shadow: 0 0 18px rgba(255, 212, 90, .45); }
.cg-dos.g { transform: rotate(-14deg); transform-origin: 50% 90%; }
.cg-dos.d { transform: rotate(14deg); transform-origin: 50% 90%; }
.cg-centre { perspective: 900px; z-index: 2; }
.cg-centre .faces { position: absolute; inset: 0; transform-style: preserve-3d; transform: none; }
.cg-centre .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6%; overflow: hidden; box-shadow: 0 0 24px rgba(255, 212, 90, .7); }
.cg-centre .verso { transform: rotateY(180deg); }
.carte-gagnee .cg-rayons { opacity: .6; animation: m-tourne 60s linear infinite; }
.carte-gagnee .cg-halo { opacity: .75; }
.carte-gagnee .cg-texte, .carte-gagnee .cg-bouton { opacity: 1; }
.carte-gagnee .cg-texte { bottom: 56px; font-size: 15px; }
/* départ (avant .joue) */
html.mouvement .carte-gagnee:not(.joue) .cg-groupe { scale: .35; translate: -50% -10%; }
html.mouvement .carte-gagnee:not(.joue) .cg-dos { opacity: 1; }
html.mouvement .carte-gagnee:not(.joue) .cg-centre .faces { transform: rotateY(180deg); }
html.mouvement .carte-gagnee:not(.joue) .cg-ev { opacity: 0; transform: translateX(0) rotate(0) scale(.6); }
html.mouvement .carte-gagnee:not(.joue) :is(.cg-rayons, .cg-halo, .cg-texte, .cg-bouton) { opacity: 0; }
/* le film */
html.mouvement .carte-gagnee.joue .cg-groupe { animation: cg-monte .5s var(--e-expo) both; }
html.mouvement .carte-gagnee.joue .cg-dos { animation: cg-dos .4s var(--e-in) .55s both; }
html.mouvement .carte-gagnee.joue .cg-centre .faces { animation: cg-retourne .45s var(--e-inout) .55s both; }
html.mouvement .carte-gagnee.joue .cg-rayons { animation: cg-rayons-in .6s ease-out 1s both, m-tourne 60s linear 1s infinite; }
html.mouvement .carte-gagnee.joue .cg-halo { animation: cg-halo-in .9s var(--e-quart) 1s both; }
html.mouvement .carte-gagnee.joue .cg-centre .m-reflet::after { --dr: 1s; }
html.mouvement .carte-gagnee.joue .cg-ev { animation: cg-eventail .5s var(--e-quart) calc(1.6s + var(--i) * 80ms) both; }
html.mouvement .carte-gagnee.joue .cg-texte { animation: cg-pop .35s var(--e-back) 2s both; }
html.mouvement .carte-gagnee.joue .cg-bouton { animation: cg-pop-b .35s var(--e-back) 2.15s both; }
@keyframes cg-monte { from { scale: .35; translate: -50% -10%; } to { scale: 1; translate: -50% -50%; } }
@keyframes cg-dos { from { opacity: 1; } to { opacity: 0; transform: rotate(0deg) scale(.92); } }
@keyframes cg-retourne { from { transform: rotateY(180deg); } to { transform: rotateY(0deg); } }
@keyframes cg-rayons-in { from { opacity: 0; } to { opacity: .6; } }
@keyframes cg-halo-in { from { opacity: 0; scale: .6; } 60% { opacity: 1; } to { opacity: .75; scale: 1.4; } }
@keyframes cg-eventail { from { opacity: 0; transform: translateX(0) rotate(0) scale(.6); } to { opacity: 1; transform: translateX(var(--x)) rotate(var(--a)) scale(.74); } }
@keyframes cg-pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes cg-pop-b { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
.carte-gagnee.joue .confettis i { animation-delay: var(--d, 1s); }
.tel-app { margin: 0; text-align: center; }

/* bloc 4 : le logo du quiz frappe */
.logo-quiz { width: 220px; max-width: 70vw; }
html.mouvement .logo-quiz { transition: opacity .28s var(--e-expo), scale .28s var(--e-expo); transform-origin: 0 50%; }
html.mouvement .bloc:not(.joue) .logo-quiz { opacity: 0; scale: 1.12; }

/* bloc 5 : la note qui atterrit dans la playlist (geste NoteQuiAtterrit de l'app) */
.pl-scene { position: relative; --w: min(300px, 78vw); }
.pl-scene .telephone { width: var(--w); }
.pl-carte { position: absolute; right: calc(-0.1 * var(--w)); top: 6%; width: calc(.3 * var(--w)); z-index: 6; rotate: 8deg; border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 0 16px rgba(255, 212, 90, .45); }
@media (min-width: 900px) { .pl-carte { right: auto; left: calc(-0.16 * var(--w)); top: 12%; rotate: -8deg; } }
/* revue du 24/10 : sur grand écran, la carte ne cache plus « THÈ » de l'onglet « Thèmes de Sanctiago » */
@media (min-width: 1000px) { .pl-carte { left: calc(-0.28 * var(--w)); } }
.pl-voile { position: absolute; left: 3%; right: 3%; top: 43.2%; height: 6.6%; border-radius: 10px; background: rgba(255, 212, 90, .45); opacity: 0; pointer-events: none; z-index: 2; }
.pl-note-x { position: absolute; left: 6%; top: 43.6%; width: 9%; z-index: 7; opacity: 0; }
.pl-note-y { display: block; }
.pl-note-y svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 4px rgba(255, 212, 90, .9)); }
html.mouvement .bloc.joue .pl-note-x { animation: pl-x .9s linear .6s both, pl-fin .3s ease 1.5s forwards; }
html.mouvement .bloc.joue .pl-note-y { animation: pl-y .9s var(--e-cubic) .6s both; }
html.mouvement .bloc.joue .pl-voile { animation: pl-voile .6s ease 1.42s both; }
@keyframes pl-x { from { opacity: 1; transform: translateX(calc(var(--w) * .82)); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { @keyframes pl-x { from { opacity: 1; transform: translateX(calc(var(--w) * -.12)); } to { opacity: 1; transform: none; } } }
@keyframes pl-y { from { transform: translateY(calc(var(--w) * -.62)); } to { transform: none; } }
@keyframes pl-fin { from { opacity: 1; } to { opacity: 0; } }
@keyframes pl-voile { 0% { opacity: 0; } 40% { opacity: .45; } 100% { opacity: 0; } }
.bouton-chanson svg { width: 18px; height: 18px; margin-right: 8px; }

/* bloc 6 : DUEL — le logo, les épées qui se croisent, l'éclat, puis 10 médaillons qui éclosent */
.duel-logo picture { opacity: 1; transform: none; }
.duel-epee { opacity: 1; transform: none; }
.duel-lueur { position: absolute; z-index: 1; left: 50%; top: 42%; width: 80%; aspect-ratio: 1.6; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 212, 90, .55), rgba(255, 212, 90, 0)); opacity: .2; animation: m-lueur 1.6s var(--e-sine) infinite alternate; }
html.mouvement .bloc:not(.joue) .duel-logo picture { opacity: 0; scale: .85; }
html.mouvement .bloc:not(.joue) .duel-epee.g { opacity: 0; translate: -60% 0; rotate: -20deg; }
html.mouvement .bloc:not(.joue) .duel-epee.d { opacity: 0; translate: 60% 0; rotate: 20deg; }
html.mouvement .duel-logo picture { transition: opacity .3s var(--e-expo), scale .3s var(--e-expo); }
html.mouvement .duel-epee { transition: opacity .22s var(--e-quint) .12s, translate .22s var(--e-quint) .12s, rotate .22s var(--e-quint) .12s; }
html.mouvement .joue .duel-eclat { animation: duel-eclat .3s ease-out .17s both; }
.bloc.joue .duel-logo picture { animation: none; }
.jeux { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 6px; --pas: 50ms; }
.bloc-texte .jeux li { padding: 0; margin: 0; text-align: center; color: var(--texte); }
.bloc-texte .jeux li::before { display: none; }
html.mouvement .jeux .m-eclosion { transition-delay: calc(.5s + var(--i, 0) * 50ms); }
.jeu-disque { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1a56d6 0%, #0a2a8f 55%, #031553 100%); box-shadow: 0 0 0 2px #f6c64a, 0 0 0 3.5px #c86b00, 0 0 12px rgba(255, 212, 90, .45); }
.jeu-disque svg { width: 30px; height: 30px; fill: url(#or3d); filter: drop-shadow(0 1px 1px rgba(80, 30, 0, .6)); }
.jeu-nom { display: block; font: 600 12.5px/1.25 var(--corps); color: var(--texte-doux); hyphens: auto; }
@media (min-width: 900px) { .jeu-disque { width: 60px; height: 60px; } .jeu-nom { font-size: 13px; } }
.legende-jeux { font-size: 16px; }

/* ------------------------------------------------------------------ les saints : procession qui marche, cartes qui se retournent, deux rangs 3D */
.frise { --k: .22px; --vitesse: 17s; position: relative; height: 150px; margin: -34px calc(-1 * var(--gouttiere)) 26px; overflow: hidden; contain: layout paint; pointer-events: none; }
@media (min-width: 700px) { .frise { --k: .27px; --vitesse: 26s; height: 185px; } }
@media (min-width: 1100px) { .frise { --k: .3px; --vitesse: 34s; height: 200px; } }
.frise::before { content: ""; position: absolute; left: 0; right: 0; top: 78%; height: 4px; background: radial-gradient(circle, rgba(246, 185, 26, .85) 1.4px, transparent 1.9px) 0 50% / 10px 4px repeat-x; }
.marcheur { position: absolute; left: 0; bottom: 22%; height: calc(var(--ha) * var(--k)); aspect-ratio: var(--la) / var(--ha); translate: -160px 0;
  animation: marche-traverse var(--vitesse) linear calc(var(--vitesse) * (var(--o) / 6 - 1)) infinite; }
.marcheur-img { display: block; width: 100%; height: 100%; background-image: var(--png); background-size: 1600% 100%; background-repeat: no-repeat;
  animation: marche-images calc(16s / var(--fps)) steps(16) infinite; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
@keyframes marche-traverse { from { translate: -160px 0; } to { translate: calc(100vw + 20px) 0; } }
@keyframes marche-images { to { background-position-x: 106.6667%; } }
html.calme .marcheur { animation: none; left: var(--pos); translate: -50% 0; }
/* la galerie : chaque carte commence de dos et se retourne à son entrée (décalage par colonne) */
.saint .carte { position: relative; }
.carte-dos { position: absolute; inset: 0; background: var(--dos, #0a2a8f) center / cover no-repeat; border-radius: inherit; opacity: 0; pointer-events: none; }
html.mouvement .saint .carte-recto, html.mouvement .carte-dos { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html.mouvement .saint .carte-recto { transition: transform .3s var(--e-cubic) calc(.3s + var(--rang, 0) * 60ms); }
html.mouvement .saint .carte-dos { transition: transform .3s var(--e-in) calc(var(--rang, 0) * 60ms), opacity 0s linear calc(.3s + var(--rang, 0) * 60ms); }
html.mouvement .saint:not(.joue) .carte-recto { transform: perspective(700px) rotateY(90deg); }
html.mouvement .saint:not(.joue) .carte-dos { opacity: 1; }
html.mouvement .saint.joue .carte-dos { transform: perspective(700px) rotateY(-90deg); }
html.mouvement .saint .bulle { transition: scale .35s var(--e-back) calc(.6s + var(--rang, 0) * 60ms), opacity .2s linear calc(.6s + var(--rang, 0) * 60ms); }
html.mouvement .saint:not(.joue) .bulle { scale: .6; opacity: 0; }
html.mouvement .saint figcaption { transition: opacity .5s var(--e-quart) calc(.45s + var(--rang, 0) * 60ms), translate .5s var(--e-quart) calc(.45s + var(--rang, 0) * 60ms); }
html.mouvement .saint:not(.joue) figcaption { opacity: 0; translate: 0 12px; }
/* deux rangs : derrière (7 saints, plus petits, plus haut), devant (8 saints) */
.rangs-3d { --kpx: min(.5px, calc((100vw - 2 * var(--gouttiere)) / 1600)); position: relative; max-width: 1000px; margin: 44px auto 0; padding-bottom: 40px; }
.rang { display: flex; justify-content: center; align-items: flex-end; }
.rang picture { flex: none; margin: 0 -.6%; }
.rang .r3d { height: calc(var(--h) * var(--kpx)); width: auto; max-width: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.rang.derriere { --kpx2: calc(var(--kpx) * .8); }
.rang.derriere .r3d { height: calc(var(--h) * var(--kpx2)); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)) brightness(.86); }
.rang.devant { position: relative; z-index: 1; margin-top: calc(-330 * var(--kpx)); }
html.mouvement .rang.derriere { translate: 0 calc(var(--p, 0) * -20px); }
html.mouvement .rang.devant { translate: 0 calc(var(--p, 0) * -36px); }
html.mouvement .rangs-3d picture.m-monte { --dy: 40%; }
.rang.derriere picture:nth-child(1), .rang.derriere picture:nth-child(7) { --i: 3; } .rang.derriere picture:nth-child(2), .rang.derriere picture:nth-child(6) { --i: 2; }
.rang.derriere picture:nth-child(3), .rang.derriere picture:nth-child(5) { --i: 1; } .rang.derriere picture:nth-child(4) { --i: 0; }
.rang.devant picture:nth-child(1), .rang.devant picture:nth-child(8) { --i: 4; } .rang.devant picture:nth-child(2), .rang.devant picture:nth-child(7) { --i: 3; }
.rang.devant picture:nth-child(3), .rang.devant picture:nth-child(6) { --i: 2; } .rang.devant picture:nth-child(4), .rang.devant picture:nth-child(5) { --i: 1; }
.rangs-3d { --pas: 60ms; }

/* ------------------------------------------------------------------ cartes Gold : Jésus monte le premier, Marie et Joseph suivent */
.gold { overflow: hidden; }
.gold-rayons { position: absolute; left: 50%; top: 360px; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; opacity: .35; pointer-events: none;
  background: url(/img/intro/rayons_dores-600.webp) center / contain no-repeat; animation: m-tourne 60s linear infinite; }
.gold .section-int { position: relative; }
.trio { align-items: end; }
.trio .t-jesus { order: 2; z-index: 2; }
.trio .t-marie { order: 1; }
.trio .t-joseph { order: 3; }
.trio .t-marie .t-monte { transform: translateX(calc(var(--p, 0) * -20px)); }
.trio .t-joseph .t-monte { transform: translateX(calc(var(--p, 0) * 20px)); }
.trio .t-marie .carte, .trio .t-joseph .carte { animation-duration: 6.6s; }
.trio .t-marie .t-monte > .carte { rotate: -8deg; scale: .86; }
.trio .t-joseph .t-monte > .carte { rotate: 8deg; scale: .86; }
.trio .t-jesus .t-monte { transform: translateY(calc(var(--p, 0) * -30px)); }
.trio .t-jesus .carte { box-shadow: 0 0 30px rgba(255, 212, 90, .7), var(--profondeur); }
html.mouvement .trio figure { transition: opacity .5s var(--e-expo), translate .5s var(--e-expo); }
html.mouvement .trio .t-marie { transition-delay: .15s; }
html.mouvement .trio .t-joseph { transition-delay: .22s; }
html.mouvement .trio:not(.joue) figure { opacity: 0; translate: 0 120px; }
.gold-grille { display: grid; gap: 30px; align-items: center; margin-top: 30px; }
@media (min-width: 900px) { .gold-grille { grid-template-columns: 1fr 300px; gap: 48px; } }
.gold-grille .pelerinages { margin: 0; }
@media (min-width: 900px) { .gold-grille .pelerinages { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .gold-grille .pelerinages { grid-template-columns: repeat(3, 1fr); } }
.chemin-intro { display: block; font-size: 14px; color: var(--texte-faible); margin: 0 0 6px; }
.chemin { list-style: none; margin: 6px 0 0; padding: 0 0 0 22px; position: relative; }
.chemin::before { content: ""; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--or-clair), var(--or), #C86B00); transform-origin: 50% 0; }
html.mouvement .chemin::before { transition: transform .9s var(--e-inout) .1s; }
html.mouvement .pelerinages:not(.joue) .chemin::before { transform: scaleY(0); }
.chemin li { position: relative; padding: 2px 0; font-size: 16px; color: var(--texte-doux); }
.chemin li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 6px rgba(255, 212, 90, .9); }
.pelerinages .chemin .m-monte { --dy: 8px; transition-delay: calc(.2s + var(--i, 0) * 80ms); }
/* pèlerinage marial : les 6 lieux requis, puis « et d'autres lieux en bonus » (pointillés : facultatifs) */
.chemin-bonus { display: block; position: relative; margin: 2px 0 0; padding: 2px 0 0 22px; font-size: 14px; font-style: italic; color: var(--or-clair); }
.chemin-bonus::before { content: ""; position: absolute; left: 6px; top: -2px; height: 14px; border-left: 2px dotted rgba(255, 233, 154, .75); }
.pelerinages .chemin-bonus.m-monte { --dy: 8px; transition-delay: calc(.2s + var(--i, 0) * 80ms); }
.gold-tel { margin: 0; display: flex; flex-direction: column; align-items: center; }
.gold-tel .telephone { width: min(260px, 70vw); }
.chapelle-note { margin-top: 40px; }
.celebration .cel-petite, .celebration .cel-grande { transition: none; }
html.mouvement .celebration.joue .cel-petite { animation-timing-function: var(--e-quart); }

/* ------------------------------------------------------------------ patrimoine : les bulles des lieux de foi éclosent */
.bulles-lieux { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin: 0 0 18px; height: 78px; }
.bulles-lieux .bl { display: block; }
.bulles-lieux .bl:nth-child(1), .bulles-lieux .bl:nth-child(4) { margin-bottom: 0; }
.bulles-lieux .bl:nth-child(2), .bulles-lieux .bl:nth-child(3) { margin-bottom: 20px; }
.bulles-lieux img { width: 52px; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.bulles-lieux .bl:nth-child(3) img { width: 34px; }

/* ------------------------------------------------------------------ famille : le disque sort, le trait barre */
html.mouvement .atout .picto { transition: scale .4s var(--e-back) calc(var(--rang, 0) * 120ms), opacity .25s linear calc(var(--rang, 0) * 120ms); }
html.mouvement .atout:not(.joue) .picto { scale: .6; opacity: 0; }
.atout .barre { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.mouvement .atout .barre { transition: stroke-dashoffset .4s var(--e-quart) calc(.25s + var(--rang, 0) * 120ms); }
html.mouvement .atout:not(.joue) .barre { stroke-dashoffset: 1; }
.atout { --pas: 120ms; }

/* ------------------------------------------------------------------ nom : SANCT, IA, GO frappent, se rejoignent, flash, le logo frappe */
.nom-onde { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; opacity: 0; pointer-events: none; background: url(/img/intro/onde-512.webp) center / contain no-repeat; }

/* ------------------------------------------------------------------ créateur : la photo s'ouvre en cercle */
html.mouvement .createur .photo img { transition: clip-path .8s var(--e-quart) .05s; clip-path: circle(50% at 50% 50%); }
html.mouvement .createur:not(.joue) .photo img { clip-path: circle(0% at 50% 50%); }
html.mouvement .createur .photo { transition: scale .8s var(--e-quart), opacity .5s; }
html.mouvement .createur:not(.joue) .photo { scale: .9; opacity: .4; }

/* ------------------------------------------------------------------ boutique : une figurine monte à droite (grand écran) */
.section-boutique { overflow: hidden; }
.bandeau-boutique { position: relative; }
.bandeau-figurine { display: none; }
@media (min-width: 1100px) {
  .bandeau-boutique { padding-right: 150px; }
  .bandeau-figurine { display: block; position: absolute; right: 16px; bottom: -6px; width: 118px; translate: 0 calc(var(--p, 0) * -30px); }
  .bandeau-figurine img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
}

/* ------------------------------------------------------------------ pied de page : la finale (scène 8) */
.pied-embleme { position: relative; display: inline-block; isolation: isolate; }
.pied-embleme .embleme { position: relative; z-index: 1; }
.pied-rayons { display: none; }
.accueil .pied-rayons { display: block; position: absolute; left: 50%; top: 42%; width: 160px; height: 160px; margin: -80px 0 0 -80px; z-index: 0; opacity: .5;
  background: url(/img/intro/rayons_dores-600.webp) center / contain no-repeat; animation: m-tourne 60s linear infinite; }
html.mouvement .pied-embleme .embleme { transition: scale .32s var(--e-expo), opacity .32s var(--e-expo); }
html.mouvement .pied-finale:not(.joue) .embleme { scale: 1.18; opacity: 0; }

/* ------------------------------------------------------------------ vidéos des téléphones : bouton lecture / pause (44 x 44) */
/* revue du 24/10 : le bouton est posé sur le coin du cadre du téléphone (hors de l'écran), il ne cache plus le sous-titre
   de la Vierge Marie, le score de l'adversaire des duels ni le bouton « Passer » de la rencontre ; pointer-events : le
   téléphone du hero est dans .hero-tels, qui ignore les clics */
.video-bouton { position: absolute; right: -10px; bottom: -10px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(2, 11, 50, .9); border: 1px solid rgba(246, 185, 26, .8); color: var(--or-clair); padding: 0; pointer-events: auto; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.video-bouton svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.video-bouton .ic-lire, .video-bouton.en-pause .ic-pause { display: none; }
.video-bouton.en-pause .ic-lire { display: block; }
.telephone.petit .video-bouton, .hero-tel .video-bouton { width: 40px; height: 40px; }

/* ------------------------------------------------------------------ calme : « Réduire les animations » ou pause — tout à l'état final, rien ne tourne */
html.calme *, html.calme *::before, html.calme *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: .001s !important; transition-delay: 0s !important; }
html.calme .m-flash::before, html.calme .pr-poussiere, html.calme .duel-eclat, html.calme .am-eclat, html.calme .ra-flash { display: none; }
html.calme .pr-saint picture { transform: none; }
html.calme .m-flotte, html.calme .m-flotte-p, html.calme .m-respire { animation: none; }
html.calme .carte-gagnee .cg-rayons, html.calme .gold-rayons, html.calme .pied-rayons, html.calme .cel-rayons { animation: none; }
html.calme .marcheur-img { animation: none; background-position: 0 0; }
html.calme .am-pulse, html.calme .am-large img, html.calme .am-fine img, html.calme .am-lueur, html.calme .am-vif { animation: none; }
html.calme .pl-note-x { animation: none; opacity: 1; }
html.calme .pl-note-y, html.calme .pl-voile { animation: none; }
html.calme .medaillon .aureole::after, html.calme .duel-lueur { animation: none; opacity: .6; }
html.calme .rh-appui { animation: none; opacity: 1; scale: 1; }
@media (prefers-reduced-motion: reduce) {
  .m-flotte, .m-flotte-p, .m-respire, .marcheur, .marcheur-img, .gold-rayons, .pied-rayons, .pr-poussiere i { animation: none !important; }
  .rh-appui { animation: none !important; opacity: 1 !important; }
  .marcheur { left: var(--pos); translate: -50% 0; }
}

/* pluie de la démo : chargée seulement quand la démo approche (js/site.js pose .cv-prete) */
.carte-vivante .cv-pluie { background-image: none; }
.carte-vivante.cv-prete .cv-pluie { background-image: url(/img/carte/pluie_proche-256.webp), url(/img/carte/pluie_loin-256.webp); }
/* « Pourquoi Sanctiago ? » sur téléphone : les trois syllabes et leurs légendes tiennent dans la largeur */
@media (max-width: 599px) {
  .syllabes { gap: 6px; }
  .syl b { font-size: clamp(30px, 10vw, 44px); }
  .syl small { max-width: 7.6em; font-size: 13px; }
}
