/* distri-pro — UN moment signature : la grille se trace (traits 1 px), le titre monte mot à mot derrière un rideau, la photo s'ouvre en volet,
   le bon de commande se remplit ligne à ligne puis le surligneur balaie le total. Départ toujours visible. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .mot > span { animation: rideau 720ms var(--ease-sortie) both; animation-delay: calc(100ms + var(--m, 0) * 70ms); }
  .hero .chapo { animation: monter 600ms var(--ease-sortie) 420ms both; }
  .hero-actions { animation: monter 600ms var(--ease-sortie) 520ms both; }
  .hero-visuel img { animation: volet 900ms var(--ease-sortie) 120ms both; }
  .grille-traits i { animation: tracer 700ms var(--ease-sortie) both; animation-delay: calc(var(--k, 0) * 90ms); }
  .bon { animation: monter 560ms var(--ease-sortie) 500ms both; }
  .bon tbody tr { animation: ligne 380ms var(--ease-sortie) both; animation-delay: calc(900ms + var(--i, 0) * 130ms); }
  .bon-total { animation: monter 400ms var(--ease-sortie) 1450ms both; }
  .bon-total .somme { animation: surligner 520ms var(--ease-sortie) 1700ms both; }
  @keyframes rideau { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes monter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes volet { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes tracer { from { transform: scaleX(0); } to { transform: none; } }
  @keyframes ligne { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
  @keyframes surligner { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
  @supports (animation-timeline: view()) {
    .planche li:first-child img { animation: glisser linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes glisser { from { transform: translateY(14px) scale(1.03); } to { transform: none; } }
  }
}
.faq-liste details div { animation: ouvrir 200ms var(--ease-sortie); }
@keyframes ouvrir { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}
