/* Accueil — animations au défilement (04/12/2026).
   Ajoutées PAR-DESSUS la page existante : aucun texte, aucune section ne change.
   Tout est préfixé .gsa- ou conditionné à html.gsa-on (posée par accueil-anim.js),
   donc sans JS ou avec « réduire les animations », la page reste exactement l'actuelle. */

/* 1 · Fil conducteur : fine ligne or à gauche, qui se remplit avec la progression */
.gsa-fil { display: none; }
.gsa-on .gsa-fil {
  display: block; position: fixed; left: 0; top: 0; bottom: 0; width: 2px; z-index: 60;
  background: rgba(212, 162, 76, .10); pointer-events: none;
}
.gsa-fil i {
  position: absolute; inset: 0; transform-origin: 0 0; transform: scaleY(0);
  background: linear-gradient(180deg, rgba(212,162,76,.15), #d4a24c 70%, #f3d58a);
}
@media (max-width: 767px) { .gsa-on .gsa-fil { display: none; } }

/* 2 · Vidéo : coins qui s'adoucissent pendant qu'elle grandit (taille pilotée en JS) */
.gsa-on .gs-video { position: relative; z-index: 2; }
.gsa-on .gs-video__frame { will-change: transform; }

/* 3 · Méthode : étapes qui s'allument une à une */
.gsa-on .mcard.gsa-step { transition: border-color .5s, background .5s, opacity .5s, box-shadow .5s; }
.gsa-on .mgrid.gsa-seq .mcard.gsa-step:not(.gsa-lit) { opacity: .45; }
.gsa-on .mcard.gsa-lit { border-color: var(--gold); background: var(--ink-3); box-shadow: 0 18px 40px -26px #000; }
.gsa-on .mcard.gsa-lit .mbar { transform: scaleX(1); }
.gsa-on .mcard.gsa-lit .mnum { color: var(--gold-light, #f3d58a); }

/* 4 · Preuve : le tracé suit le défilement au lieu de partir tout seul */
.gsa-on .ph-card .ph-line { animation: none !important; }
.gsa-on .ph-card .ph-dot  { animation: none !important; }



/* 5 · Citation : les mots s'éclairent au fil du défilement */
.gsa-on .quote .gsa-mot { opacity: .16; transition: none; }

/* Les colonnes d'#autonomie arrivent de côté : rien ne doit dépasser de la largeur de l'écran */
.gsa-on #autonomie { overflow-x: clip; }
