/* ARNOLD® — vitesse d'affichage mobile (chantier 4 de l'audit SEO, lancé par Fabien le 30/11/2026).
   Le texte principal du premier écran attendait le JavaScript (GSAP, chargé en différé) pour apparaître : jusqu'à 4 s
   sur mobile (élément LCP). Les mêmes entrées sont jouées ici en CSS dès le premier affichage, sans attendre le script.
   Mêmes mouvements, mêmes durées, mêmes courbes ; rien ne bouge si le visiteur a demandé moins d'animations.
   Une animation CSS l'emporte sur les styles posés ensuite par le script : pas de double mouvement. */
@keyframes arn-intro{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes arn-ligne{from{transform:translateY(105%)}to{transform:none}}
@keyframes arn-fondu{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  /* accueil : mot ARNOLD, accroche, promesse, texte et boutons (délais --d déjà posés dans la page) */
  .hp-hero [data-intro]{animation:arn-intro 1.1s cubic-bezier(.16,1,.3,1) var(--d,0s) both}
  /* autres pages : lignes du titre qui montent depuis leur masque, puis textes du premier écran */
  .p-hero h1 .ln>span{animation:arn-ligne 1.25s cubic-bezier(.16,1,.3,1) .1s both}
  .p-hero h1 .ln:nth-child(2)>span{animation-delay:.2s}
  .p-hero h1 .ln:nth-child(3)>span{animation-delay:.3s}
  .p-hero h1 .ln:nth-child(4)>span{animation-delay:.4s}
  .p-hero [data-hero-fade]{animation:arn-fondu 1s cubic-bezier(.16,1,.3,1) .5s both}
}
