/* ==========================================================================
   COLÉGIO PRÍNCIPE DA PAZ — IMPECCABLE MOTION & CHOREOGRAPHY
   ========================================================================== */

/* Smooth Tab & Filter Content Transition (From already-visible default) */
.fade-switch {
  animation: fadeSlideUp 0.36s var(--ease-out-expo) both;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Orchestration */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out-expo),
              transform 0.55s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect User Accessibility Preference for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
