/* ============================================================
   ANIMATIONS - MOT-3 Stagger marque (cards en cascade)
   ============================================================ */

/* Reveal simple sur sections */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Stagger sur enfants d'une grille (jusqu'a 8 enfants) */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .04s; }
.stagger.in > *:nth-child(2) { transition-delay: .10s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .22s; }
.stagger.in > *:nth-child(5) { transition-delay: .28s; }
.stagger.in > *:nth-child(6) { transition-delay: .34s; }
.stagger.in > *:nth-child(7) { transition-delay: .40s; }
.stagger.in > *:nth-child(8) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Filet de securite : si JS desactive */
.no-js [data-reveal], .no-js .stagger > * {
  opacity: 1; transform: none;
}
