/* ==========================================================================
   AURORA CLINIC - ANIMAÇÕES E TRANSIÇÕES DE LUXO
   ========================================================================== */

/* --------------------------------------------------------------------------
   KEYFRAMES DE ENTRADA HERO
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes goldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(197, 160, 89, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
  }
}

/* Animações sequenciais do Hero */
.hero__tagline {
  animation: fadeInUp 0.7s var(--ease-luxury) forwards;
}

.hero__title {
  animation: fadeInUp 0.8s var(--ease-luxury) 0.15s backwards;
}

.hero__lead {
  animation: fadeInUp 0.8s var(--ease-luxury) 0.3s backwards;
}

.hero__cta-group {
  animation: fadeInUp 0.8s var(--ease-luxury) 0.45s backwards;
}

.hero__badges {
  animation: fadeIn 1s ease 0.6s backwards;
}

.hero__media {
  animation: fadeIn 1.2s var(--ease-luxury) 0.25s backwards;
}

/* --------------------------------------------------------------------------
   REVEAL ON SCROLL (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 150ms;
}

.reveal-delay-2 {
  transition-delay: 300ms;
}

.reveal-delay-3 {
  transition-delay: 450ms;
}

/* Efeito suave no botão de WhatsApp */
.whatsapp-fab {
  animation: subtleFloat 4s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   ACESSIBILIDADE: REDUÇÃO DE MOVIMENTO (PREFERS-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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .whatsapp-fab {
    animation: none !important;
  }
}
