/* =============================================
   cta.css — Seção CTA final
   S4-1 · S4-2
   Mobile-first: 375px base → 768px → 1024px+
   ============================================= */

#cta {
  background: var(--color-surface);
  text-align: center;
  padding: 5rem var(--section-pad-h) 6rem;
  position: relative;
  overflow: hidden;
}

/* Brilho decorativo de fundo */
#cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 153, 255, .12) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Inner container ─── */
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta__inner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.cta__inner p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 500px;
}

/* Botão WhatsApp — largura total no mobile */
.cta__inner .btn--whatsapp {
  width: 100%;
  max-width: 360px;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Microcopy abaixo do botão */
.cta__note {
  font-size: .875rem;
  color: var(--color-text-muted);
  margin-top: -.25rem;
}

/* ─── ≥768px ─── */
@media (min-width: 768px) {
  #cta {
    padding: 6rem var(--section-pad-h);
  }

  .cta__inner p {
    font-size: 1.125rem;
  }

  .cta__inner .btn--whatsapp {
    width: auto;
  }
}

/* ─── ≥1024px ─── */
@media (min-width: 1024px) {
  #cta {
    padding: 7rem var(--section-pad-h);
  }

  .cta__inner h2 {
    font-size: clamp(2.25rem, 3vw, 3rem);
  }
}
