/* ferrandier — UN moment signature : la règle graduée des paliers se trace de gauche à droite, les trois prix se posent,
   puis le curseur glisse de 0 à la quantité préremplie (5 boîtes). Le titre et la commande montent doucement avant. Départ toujours visible. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: monter 560ms var(--ease-sortie) both; }
  .hero .chapo { animation: monter 560ms var(--ease-sortie) 100ms both; }
  .rapide { animation: monter 560ms var(--ease-sortie) 180ms both; }
  .regle-corps, .regle-nombres { animation: tracer 900ms var(--ease-sortie) 150ms backwards; }
  .regle-zones .pz { animation: monter 420ms var(--ease-sortie) both; }
  .regle-zones > div:nth-child(2) .pz { animation-delay: 500ms; }
  .regle-zones > div:nth-child(3) .pz { animation-delay: 620ms; }
  .regle-zones > div:nth-child(4) .pz { animation-delay: 740ms; }
  .curseur { animation: glisser 1000ms var(--ease-sortie) 350ms backwards; }
  @keyframes monter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes tracer { from { clip-path: inset(-40px 100% -10px 0); } to { clip-path: inset(-40px -10px -10px 0); } }
  @keyframes glisser { from { left: 0%; } }
  .ligne-neuve { animation: monter 260ms var(--ease-sortie); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}
