/**
 * Camada extra da hero: varredura de luz, orbs e anel — não remove efeitos do site.css (Ken Burns, mesh).
 */
#hero {
  isolation: isolate;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-fx-vignette {
  position: absolute;
  inset: -5%;
  background: radial-gradient(
    ellipse 75% 70% at 50% 40%,
    transparent 32%,
    rgba(5, 18, 12, 0.35) 100%
  );
  animation: hero-fx-pulse 9s ease-in-out infinite alternate;
}

.hero-fx-scan {
  position: absolute;
  inset: -15% -30%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.11) 49.5%,
    rgba(180, 230, 200, 0.08) 51%,
    transparent 62%
  );
  background-size: 220% 220%;
  animation: hero-fx-scan 14s linear infinite;
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

.hero-fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: hero-fx-orb-float 11s ease-in-out infinite alternate;
}
.hero-fx-orb--a {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  background: radial-gradient(circle, rgba(82, 183, 136, 0.55), transparent 68%);
  top: -10%;
  right: -6%;
  animation-delay: -2s;
}
.hero-fx-orb--b {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  background: radial-gradient(circle, rgba(201, 168, 76, 0.35), transparent 65%);
  bottom: 6%;
  left: -4%;
  animation-delay: -5s;
}

.hero-fx-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(82, 183, 136, 0.06) inset,
    0 0 80px rgba(82, 183, 136, 0.04);
  opacity: 0.55;
  pointer-events: none;
  animation: hero-fx-ring-breathe 14s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 4 !important;
}

.hero-scroll {
  position: absolute;
  z-index: 5 !important;
}

@keyframes hero-fx-scan {
  0% {
    transform: translate(-12%, -6%) rotate(0deg);
  }
  100% {
    transform: translate(12%, 8%) rotate(0.5deg);
  }
}

@keyframes hero-fx-pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0.92;
    transform: scale(1.06);
  }
}

@keyframes hero-fx-orb-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.42;
  }
  100% {
    transform: translate(-12px, 18px) scale(1.08);
    opacity: 0.58;
  }
}

@keyframes hero-fx-ring-breathe {
  0% {
    transform: scale(0.995);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.015);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fx-vignette,
  .hero-fx-scan,
  .hero-fx-orb,
  .hero-fx-ring {
    animation: none !important;
  }
}
