/* ==========================================================================
   Animações — scroll reveal, parallax, keyframes globais
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-premium),
    transform var(--duration-slow) var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes scroll-pulse {
  0% {
    top: -100%;
  }
  60%,
  100% {
    top: 100%;
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content > * {
  opacity: 0;
  animation: hero-fade-up 1100ms var(--ease-premium) forwards;
}

.hero__content > *:nth-child(1) {
  animation-delay: 200ms;
}
.hero__content > *:nth-child(2) {
  animation-delay: 350ms;
}
.hero__content > *:nth-child(3) {
  animation-delay: 500ms;
}
.hero__content > *:nth-child(4) {
  animation-delay: 650ms;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__content > * {
    opacity: 1;
    animation: none;
  }

  .hero__media {
    transform: none !important;
  }

  .scroll-indicator__line::after {
    animation: none;
  }
}
