/* ═══════════════════════════════════════════════════════════════════════
   SCRUM-339 — Sticky CTA WhatsApp (mobile only)

   Componente compartilhado pela LP do site (`comercial/site.html`).
   Quiz tem seu próprio `.cta-dock` — divergência intencional documentada
   no spec (`docs/superpowers/specs/2026-05-28-ab-cta-lp-quiz-flow-design.md`).

   Tokens consumidos: --wa, --mute (vêm de `/static/css/tokens.css`).
   ═══════════════════════════════════════════════════════════════════════ */

.wa-fixed-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 26px rgba(7, 29, 65, 0.16);
}
.wa-fixed-label {
  font-size: 12.5px;
  color: var(--mute);
  text-align: center;
  font-weight: 500;
}
.wa-fixed-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.2s ease-in-out infinite;
  transition: transform 0.12s;
}
.wa-fixed-btn:active { transform: scale(0.97); }
.wa-fixed-btn svg { flex-shrink: 0; }
.wa-arrows {
  display: inline-flex;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -3px;
}
.wa-arrows span {
  animation: waArrow 1.2s ease-in-out infinite;
  opacity: 0.35;
}
.wa-arrows span:nth-child(2) { animation-delay: 0.18s; }
.wa-arrows span:nth-child(3) { animation-delay: 0.36s; }

@keyframes waPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.015);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  }
}
@keyframes waArrow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fixed-btn, .wa-arrows span { animation: none; }
}
