/* Les mouvements de l'Audit, du rendez-vous, de la notice, de la feuille de suivi et de la lettre (22/11/2026, Fabien :
   « ça fait vraiment tout plat ») : ceux du héros du quiz, en CSS, sans bibliothèque. Un écran qui s'affiche (au chargement,
   ou quand un script le montre) fait arriver ses éléments en cascade, et les mots des titres (.m) montent de leur masque.
   Plus bas dans la page, data-monte, data-lignes et data-revele attendent d'entrer à l'écran (mouvement.js pose .attend).
   Sous l'or du passage (transition.js), tout attend que l'or s'ouvre. Mouvement réduit : rien ne bouge. */
.m { display: inline-block; overflow: clip; padding-block: .1em; margin-block: -.1em; vertical-align: top; } /* le masque garde les accents des capitales */
.m > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  :is(:has(> h1), .step, .success) > *, [data-monte], .cal, .cal-ok, .cal-h.neuf { animation: apparait 1s cubic-bezier(.16, 1, .3, 1) both; }
  :is(:has(> h1), .step, .success) > :has(.m) { animation: none; } /* le titre ne bouge pas : ses mots montent */
  :is(:has(> h1), .step, .success) > :nth-child(2) { animation-delay: .07s; }
  :is(:has(> h1), .step, .success) > :nth-child(3) { animation-delay: .14s; }
  :is(:has(> h1), .step, .success) > :nth-child(4) { animation-delay: .21s; }
  :is(:has(> h1), .step, .success) > :nth-child(5) { animation-delay: .28s; }
  :is(:has(> h1), .step, .success) > :nth-child(6) { animation-delay: .35s; }
  :is(:has(> h1), .step, .success) > :nth-child(7) { animation-delay: .42s; }
  :is(:has(> h1), .step, .success) > :nth-child(n+8) { animation-delay: .49s; }
  .m > span { animation: masque 1.1s cubic-bezier(.16, 1, .3, 1) both; }
  .m:nth-of-type(2) > span { animation-delay: .06s; }
  .m:nth-of-type(3) > span { animation-delay: .12s; }
  .m:nth-of-type(4) > span { animation-delay: .18s; }
  .m:nth-of-type(5) > span { animation-delay: .24s; }
  .m:nth-of-type(6) > span { animation-delay: .30s; }
  .m:nth-of-type(7) > span { animation-delay: .36s; }
  .m:nth-of-type(8) > span { animation-delay: .42s; }
  .m:nth-of-type(n+9) > span { animation-delay: .48s; }
  [data-revele] { animation: revele 1.4s cubic-bezier(.16, 1, .3, 1) .15s both; }
  .success .mot { animation: allume .45s linear both; }
  .success .mot:nth-of-type(1) { animation-delay: .3s; }
  .success .mot:nth-of-type(2) { animation-delay: .55s; }
  .success .mot:nth-of-type(3) { animation-delay: .8s; }
  .attend, .attend .m > span { animation: none; }
  .attend[data-monte] { opacity: 0; }
  .attend[data-revele] { clip-path: inset(100% 0 0 0); }
  .attend .m > span { translate: 0 110%; }
  .arrivee:not(.revele) :not(.passage, .passage *) { animation-play-state: paused !important; }
  /* La photo du héros avance un peu en quittant l'écran, là où le navigateur lie une animation au défilement. */
  @supports (animation-timeline: view()) {
    .avance { animation: avance linear both; animation-timeline: view(); animation-range: exit; }
  }
}
@keyframes apparait { from { opacity: 0; translate: 0 28px; } }
@keyframes masque { from { translate: 0 110%; } }
@keyframes revele { from { clip-path: inset(100% 0 0 0); } }
@keyframes allume { from { opacity: .15; } }
@keyframes avance { to { scale: 1.04; } }
