/* ═══════════════════════════════════════════
   ANIMATIONS CALMES — Stand-Up Academy
   ───────────────────────────────────────────
   Revue du site du 13/11/2026 : « trop d'animations entre les pages,
   elles donnent envie de quitter le site ». Ce fichier, chargé en
   DERNIER sur les pages publiques, adoucit toutes les apparitions
   au défilement sans toucher aux fichiers de chaque page :
     - sections plein écran déjà visibles (plus de fondu de toute la page) ;
     - apparitions courtes (0,45 s), petit déplacement (14 px), sans zoom
       ni glissement latéral ;
     - plus de décalage en cascade (data-reveal-delay) ;
   Pour revenir en arrière : retirer la ligne <link … motion-calme.css>
   des pages (ou vider ce fichier).
   Le préfixe « html body » sert à passer devant les CSS de page, même
   quand la navigation sans rechargement (spa-navigation.js) les ajoute
   après ce fichier. Les règles « .is-revealed » gardent la priorité.
   ═══════════════════════════════════════════ */

/* 1. Les sections plein écran ne s'allument plus : elles sont là. */
html body section[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 2. Apparitions des blocs : courtes, discrètes, sans cascade. */
html body [data-reveal]:not(section),
html body .ecole-reveal,
html body .fm-reveal,
html body .en-reveal,
html body .cocon-reveal,
html body .tr-reveal,
html body .tg-page .tg-reveal,
html body .cn-page .cn-reveal,
html body .ce-page .fm-reveal,
html body .parcours-slide[data-reveal]:not(.is-revealed) .parcours-slide-content {
    transform: translateY(14px);
}
html body [data-reveal]:not(section),
html body .ecole-reveal,
html body .fm-reveal,
html body .en-reveal,
html body .cocon-reveal,
html body .tr-reveal,
html body .tg-page .tg-reveal,
html body .cn-page .cn-reveal,
html body .parcours-slide[data-reveal] .parcours-slide-content {
    transition: opacity 0.45s ease-out, transform 0.45s ease-out !important;
    transition-delay: 0s !important;
}

/* Fondu simple : pas de déplacement */
html body [data-reveal="fade"] { transform: none; }

/* 3. Les grandes lettres décoratives des slides : simple fondu. */
html body .parcours-slide[data-reveal] .parcours-slide-letter {
    transition: opacity 0.45s ease-out !important;
    transition-delay: 0s !important;
}

/* 4. Accessibilité : rien ne bouge si l'appareil demande moins d'animations. */
@media (prefers-reduced-motion: reduce) {
    html body [data-reveal],
    html body .ecole-reveal,
    html body .fm-reveal,
    html body .en-reveal,
    html body .cocon-reveal,
    html body .tr-reveal,
    html body .tg-page .tg-reveal,
    html body .cn-page .cn-reveal,
    html body .parcours-slide[data-reveal] .parcours-slide-content,
    html body .parcours-slide[data-reveal] .parcours-slide-letter {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
