/* Scroll confortável até o CPF (header fixo) */
#HomeCPF,
#HomeEmail,
.hero__vitrine-box[data-vitrine-panel="login"] {
  scroll-margin-top: calc(var(--hero-stack-h) + 1.25rem);
  scroll-margin-bottom: 1.5rem;
}

@keyframes cpf-neon-pulse {
  0%, 100% {
    border-color: rgba(255, 97, 242, 0.45);
    box-shadow:
      0 0 0 0 rgba(255, 97, 242, 0),
      0 0 10px rgba(255, 97, 242, 0.28);
  }
  50% {
    border-color: rgba(255, 97, 242, 0.9);
    box-shadow:
      0 0 0 2px rgba(255, 97, 242, 0.35),
      0 0 18px rgba(255, 97, 242, 0.55),
      0 0 28px rgba(255, 97, 242, 0.28);
  }
}

#HomeCPF.cpf-neon-pulse {
  animation: cpf-neon-pulse 1.75s ease-in-out infinite;
}

#HomeCPF.cpf-neon-pulse:focus {
  animation: cpf-neon-pulse 1.75s ease-in-out infinite;
  outline: none;
}

/* Header CTA segue padrão SumUp (sem pisca) */
.site-nav a.nav-cta {
  animation: none;
  box-shadow: none;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  animation: none;
  box-shadow: none;
}

/* CTA do formulário de CPF na home */
.hero__cpf-cta {
  animation: none;
  box-shadow: none;
}

.hero__cpf-cta:hover,
.hero__cpf-cta:focus-visible {
  animation: none;
  box-shadow: none;
}

@keyframes nav-cta-blink {
  0%,
  49.999% {
    background: var(--btn-yellow-bg);
    box-shadow: none;
  }
  50%,
  100% {
    background: var(--btn-yellow-bg-hover);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a.nav-cta,
  .hero__cpf-cta {
    animation: none;
  }
}
