/* =====================================================================
   DJ VITOR CAPOIA — ANIMAÇÕES
   Keyframes e estados iniciais. Os movimentos de rolagem ficam em
   js/animations.js (GSAP + ScrollTrigger).
   A classe .motion só é aplicada quando o visitante NÃO pediu
   "reduzir movimento" no sistema — sem ela, tudo aparece estático.
   ===================================================================== */

@keyframes scrollcue {
  0% { top: -40%; }
  100% { top: 100%; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 74, 92, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 74, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 74, 92, 0); }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(227, 18, 43, 0.55); }
  70% { box-shadow: 0 0 0 26px rgba(227, 18, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 18, 43, 0); }
}
@keyframes beam-sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.motion .hero__beam { transform-origin: 50% -10%; animation: beam-sway 9s ease-in-out infinite; }

/* Estados iniciais (só com JS + movimento permitido) */
.motion .ln > span { transform: translateY(105%); }
.motion [data-fade] { opacity: 0; transform: translateY(28px); }
.motion .reveal-img { clip-path: inset(100% 0 0 0); }
.motion .reveal-img img { transform: scale(1.25); }
.motion .rcard, .motion .event, .motion .pass { opacity: 0; transform: translateY(50px); }

/* Hero antes da intro */
.motion.is-intro .hero__chars { transform: translateY(100%); }
.motion.is-intro .hero__cut { opacity: 0; transform: translateX(-50%) translateY(6%) scale(1.04); }
.motion.is-intro .hero__dj,
.motion.is-intro .hero__tag,
.motion.is-intro .hero__meta,
.motion.is-intro .hero__scroll { opacity: 0; }
.motion.is-intro .nav { opacity: 0; }

/* Movimento reduzido: sem preloader longo, sem animações contínuas */
@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;
  }
  .words .w { opacity: 1 !important; }
}
