/* MOT-2 Slide directionnel (alterne gauche/droite par index) */
[data-reveal] {
  opacity: 0;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
  transform: translateX(-28px);
  will-change: opacity, transform;
}
[data-reveal]:nth-child(even) {
  transform: translateX(28px);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Stagger pour grilles enfants */
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in > *:nth-child(2) { transition-delay: 90ms; }
.stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.stagger.in > *:nth-child(4) { transition-delay: 270ms; }
.stagger.in > *:nth-child(5) { transition-delay: 360ms; }
.stagger.in > *:nth-child(6) { transition-delay: 450ms; }
.stagger.in > *:nth-child(7) { transition-delay: 540ms; }
.stagger.in > *:nth-child(8) { transition-delay: 630ms; }

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