/* ==========================================================================
   VYDA MULTIDIMENSIONAL INDIVIDUAL — ANIMAÇÕES & INTERAÇÕES AVANÇADAS
   Lenis + GSAP + ScrollTrigger + Microinterações
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyframes Astrais & Geometria Sagrada
   -------------------------------------------------------------------------- */
@keyframes orbitGlow {
  0% {
    opacity: 0.72;
    filter: drop-shadow(0 0 2px rgba(198, 165, 106, 0.08));
    transform: rotate(0deg);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(198, 165, 106, 0.28));
  }
  100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 2px rgba(198, 165, 106, 0.08));
    transform: rotate(360deg);
  }
}

@keyframes orbitReverse {
  0% {
    transform: translateY(35%) rotate(0deg);
  }
  100% {
    transform: translateY(35%) rotate(-360deg);
  }
}

@keyframes corePulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(198, 165, 106, 0.14), 0 0 25px rgba(247, 214, 146, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(198, 165, 106, 0.22), 0 0 38px rgba(247, 214, 146, 0.95);
    transform: scale(1.08);
  }
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.7;
    transform: rotate(45deg) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 0 32px 12px rgba(246, 208, 125, 0.55);
  }
}

/* Aplicação de animações nos elementos astrais */
.hero-symbol .orbit {
  animation: orbitGlow 22s linear infinite;
}

.hero-symbol .orbit.two {
  animation: orbitReverse 28s linear infinite;
}

.hero-symbol .core {
  animation: corePulse 4.5s ease-in-out infinite;
}

.hero-symbol .star {
  animation: starTwinkle 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   10.2 & 10.3 Elementos Preparados para Revelação GSAP
   -------------------------------------------------------------------------- */
.gsap-reveal {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.gsap-reveal-fade {
  opacity: 0;
  will-change: opacity;
}

.gsap-reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  will-change: opacity, transform;
}

/* --------------------------------------------------------------------------
   6. Cards de Perfil (good-fit-cards) — Efeitos de Imagem e Hover
   -------------------------------------------------------------------------- */
.fit-card {
  perspective: 1000px;
}

.fit-card-inner {
  transition: transform 0.4s ease;
}

.fit-card:hover .fit-card-inner {
  transform: translateY(-4px);
}

.fit-card-number {
  transition: transform 0.3s ease, color 0.3s ease;
}

.fit-card:hover .fit-card-number {
  transform: scale(1.06) translateX(3px);
  color: var(--gold-accent);
}

/* --------------------------------------------------------------------------
   Lenis Smooth Scrolling Requisitos
   -------------------------------------------------------------------------- */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Acessibilidade — prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-symbol .orbit,
  .hero-symbol .orbit.two,
  .hero-symbol .core,
  .hero-symbol .star {
    animation: none !important;
  }

  .gsap-reveal,
  .gsap-reveal-fade,
  .gsap-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
