/* ============================================================
   wa-cta.css — CTA WhatsApp temporizado pos-VSL
   DS: verde WhatsApp mantido (funcional), sem pulse glow
   ============================================================ */

/* Container do CTA */
.btn.btn-wa.cta-reveal{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 32px;
  padding: 18px 36px;
  background: var(--wa-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-btn);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 500ms var(--ease),
              transform 500ms var(--ease);
}

.btn.btn-wa.cta-reveal:hover{
  background: #22c55e;
}

.btn.btn-wa.cta-reveal .btn-label{
  display: inline-block;
  line-height: 1;
}

/* Revelado */
.btn.btn-wa.cta-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dots de espera */
.cta-wait{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  margin: 0 auto 32px;
  width: 100%;
  max-width: 360px;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}

.cta-wait.is-active{
  opacity: 1;
}

.cta-wait[hidden]{
  display: none !important;
}

.cta-wait .dot-pulse{
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--gold);
  opacity: 0.4;
  animation: waitDotPulse 1.4s ease-in-out infinite;
}
.cta-wait .dot-pulse:nth-child(2){ animation-delay: 0.2s; }
.cta-wait .dot-pulse:nth-child(3){ animation-delay: 0.4s; }

@keyframes waitDotPulse{
  0%, 80%, 100%{
    transform: scale(0.85);
    opacity: 0.3;
  }
  40%{
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .btn.btn-wa.cta-reveal{
    transition: opacity 200ms linear, transform 200ms linear;
  }
  .cta-wait .dot-pulse{
    animation: none;
    opacity: 0.5;
  }
}

/* Mobile */
@media (max-width: 480px){
  .btn.btn-wa.cta-reveal{
    max-width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }
  .cta-wait{
    max-width: 100%;
  }
}

/* ============================================================
   CTA SECUNDARIO — link sutil
   ============================================================ */
.btn.btn-wa.cta-reveal.cta-reveal--secondary{
  background: transparent !important;
  color: var(--sand) !important;
  box-shadow: none !important;
  border: none;
  padding: 12px 20px;
  margin: 0 auto 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-transform: none;
  text-decoration: underline;
  text-decoration-color: rgba(245, 240, 236, 0.35);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
  gap: 0;
}

.btn.btn-wa.cta-reveal.cta-reveal--secondary svg{
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.btn.btn-wa.cta-reveal.cta-reveal--secondary.is-visible{
  animation: none;
  box-shadow: none !important;
}

.btn.btn-wa.cta-reveal.cta-reveal--secondary:hover{
  color: #fff !important;
  filter: none;
  text-decoration-color: var(--gold);
}

@media (max-width: 480px){
  .btn.btn-wa.cta-reveal.cta-reveal--secondary{
    padding: 10px 16px;
    font-size: 14px;
  }
}
