function FinalCTA({ whatsappLink, onWhatsApp }) {
  return (
    <>
      <section className="fcta">
        <div className="fcta__inner">
          <div className="fcta__card">
            <div className="fcta__text">
              <div className="section-eyebrow" style={{ color: 'var(--bac-blue)' }}>
                PRÓXIMO PASSO · DIAGNÓSTICO GRATUITO
              </div>
              <h2 className="fcta__h2">
                Bora arrumar o seu bastidor
                <br/>
                <span style={{ color: 'var(--bac-blue)' }}>antes do tráfego?</span>
              </h2>
              <p className="fcta__sub">
                Em uma conversa direta no WhatsApp, eu olho seu perfil, seu
                funil e seu atendimento. Te mostro exatamente onde tá vazando
                faturamento — e o que precisa pra fechar essa torneira.
              </p>
            </div>
            <div className="fcta__cta-col">
              <a href="#" className="fcta__btn" onClick={e => { e.preventDefault(); onWhatsApp(); }}>
                <i data-lucide="message-circle" style={{ width: 20, height: 20 }}></i>
                Falar no WhatsApp
              </a>
              <div className="fcta__trust">
                <span className="fcta__dot"></span>
                RESPOSTA RÁPIDA HUMANA
              </div>
            </div>
          </div>
        </div>
      </section>
      <Footer />
      <style>{`
        .fcta { background: #fff; border-top: 1px solid var(--line); }
        .fcta__inner { max-width: 1200px; margin: 0 auto; padding: 64px 20px 56px; }
        .fcta__card {
          background: var(--ink-1); color: #fff;
          border-radius: 20px;
          padding: 40px 28px;
          display: flex; flex-direction: column; gap: 32px;
        }
        .fcta__h2 {
          font-family: var(--font-display); font-weight: 900;
          font-size: clamp(30px, 7vw, 56px); line-height: 1.05;
          letter-spacing: -0.025em; color: #fff; margin: 0;
        }
        .fcta__sub {
          font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
          color: rgba(255,255,255,.74); margin-top: 16px;
        }
        .fcta__cta-col { display: flex; flex-direction: column; gap: 12px; }
        .fcta__btn {
          display: inline-flex; align-items: center; justify-content: center; gap: 10px;
          background: var(--bac-blue); color: #fff;
          font-family: var(--font-sans); font-weight: 600; font-size: 16px;
          padding: 18px 24px; border-radius: 12px; text-decoration: none;
          transition: background .14s var(--ease-out); white-space: nowrap;
        }
        .fcta__btn:hover { background: var(--bac-blue-700); }
        .fcta__trust {
          font-family: var(--font-mono); font-size: 11px; font-weight: 600;
          letter-spacing: 0.04em; color: rgba(255,255,255,.6);
          display: flex; align-items: center; gap: 8px;
        }
        .fcta__dot {
          width: 6px; height: 6px; border-radius: 50%;
          background: var(--success); flex-shrink: 0;
        }
        @media (min-width: 860px) {
          .fcta__inner { padding: 96px 24px 72px; }
          .fcta__card {
            flex-direction: row; align-items: center; gap: 48px;
            padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
          }
          .fcta__text { flex: 1.4; }
          .fcta__cta-col { flex: 1; align-items: flex-start; min-width: 220px; }
          .fcta__sub { font-size: 17px; }
          .fcta__trust { font-size: 12px; }
        }
      `}</style>
    </>
  );
}

function Footer() {
  return (
    <footer className="footer">
      <div className="footer__inner">
        <span className="footer__wm">
          <span style={{ color: 'var(--bac-blue)' }}>8</span>
          <span style={{ color: 'var(--bac-navy)' }}>BAC</span>
        </span>
        <span style={{ flex: 1 }}></span>
        <span className="footer__meta">© 2026 8BAC · Estrutura digital estratégica</span>
      </div>
      <style>{`
        .footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
        .footer__inner {
          max-width: 1200px; margin: 0 auto;
          padding: 32px 20px;
          display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
        }
        .footer__wm {
          font-family: var(--font-display); font-weight: 900;
          font-size: 20px; line-height: 1; letter-spacing: -0.04em;
        }
        .footer__meta {
          font-family: var(--font-mono); font-size: 11px; color: var(--ink-4);
        }
        @media (min-width: 860px) {
          .footer__inner { padding: 40px 24px; }
          .footer__wm { font-size: 22px; }
          .footer__meta { font-size: 12px; }
        }
      `}</style>
    </footer>
  );
}
