/* ============================================================
   Revenue — tema dark premium (topo de funil)
   Tokens mantêm os nomes antigos (--verde etc. = acento azul)
   porque privacidade.html/termos.html dependem deles.
   ============================================================ */
:root {
  --preto: #0a0e14;
  --preto-2: #0d121b;
  --surface: #111826;
  --surface-2: #151d2b;
  --borda: #212b3b;
  --texto: #e8edf4;
  --muted: #96a3b6;
  --verde: #2563eb;      /* acento primário (botões) */
  --verde-2: #1d4ed8;    /* hover */
  --destaque: #7fa7ff;   /* acento de texto sobre fundo escuro */
  --sucesso: #4ade80;
  --raio: 14px;
  --container: 1140px;
  --fonte-display: 'Sora', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--preto);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-estreito { max-width: 780px; }
.centro { text-align: center; }

:focus-visible { outline: 2px solid var(--destaque); outline-offset: 2px; border-radius: 4px; }

/* ===== Ícones ===== */
.ic {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-16 { width: 16px; height: 16px; stroke-width: 2.25; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--verde); color: #ffffff; }
.btn-primary:hover { background: var(--verde-2); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3); }
.btn-ghost { background: transparent; border-color: var(--borda); color: var(--texto); }
.btn-ghost:hover { border-color: #35435c; background: rgba(255, 255, 255, 0.03); transform: translateY(-1px); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 18px; }
.logo { font-family: var(--fonte-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo-ponto { color: var(--destaque); }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--texto); }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--destaque); margin-bottom: 16px;
}

/* ===== Hero ===== */
.hero { position: relative; padding: 92px 0 84px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 640px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14), transparent 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-family: var(--fonte-display);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-sub { font-size: clamp(16px, 2vw, 18.5px); color: var(--muted); max-width: 54ch; margin-bottom: 28px; }
.hero-sub strong { color: var(--texto); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-list { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust-list li { display: inline-flex; align-items: center; gap: 7px; }
.trust-list .ic { color: var(--destaque); }

/* ===== Mockup de produto (hero) ===== */
.hero-mock { min-width: 0; }
.mock {
  background: var(--surface);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 16px;
  max-width: 430px;
  margin-left: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--borda); }
.mock-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #1b2536; color: var(--destaque);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.mock-id { min-width: 0; }
.mock-id b { display: block; font-size: 14px; line-height: 1.3; }
.mock-id span { font-size: 12px; color: var(--muted); }
.mock-tag {
  margin-left: auto; flex-shrink: 0;
  font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
  color: #f0b45c; background: rgba(240, 180, 92, 0.1); border: 1px solid rgba(240, 180, 92, 0.28);
}
.mock-chat { display: grid; gap: 8px; padding: 14px 0; }
.balao { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.balao.cliente {
  justify-self: start; border-bottom-left-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--borda); color: var(--texto);
}
.balao.nossa {
  justify-self: end; border-bottom-right-radius: 4px;
  background: rgba(37, 99, 235, 0.16); border: 1px solid rgba(37, 99, 235, 0.35); color: #dce7ff;
}
.mock-resultado {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.26);
}
.mock-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(74, 222, 128, 0.14); color: var(--sucesso);
  display: grid; place-items: center;
}
.mock-resultado b { display: block; font-size: 13.5px; line-height: 1.3; }
.mock-resultado span { font-size: 12.5px; color: var(--muted); }
.mock-legenda { max-width: 430px; margin: 10px 0 0 auto; text-align: center; font-size: 12px; color: #5c6b7f; }

/* ===== Faixa do segredo ===== */
.manifesto { padding: 76px 0; background: var(--preto-2); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.manifesto-frase {
  font-family: var(--fonte-display);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 600; line-height: 1.32; letter-spacing: -0.015em;
  color: var(--texto); margin-bottom: 18px;
}
.manifesto-apoio { color: var(--muted); font-size: 16.5px; max-width: 58ch; margin: 0 auto; }

/* ===== Blocos ===== */
.bloco { padding: 88px 0; }
.bloco-alt { background: var(--preto-2); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.secao-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.015em;
  text-align: center; margin-bottom: 14px;
}
.secao-sub { color: var(--muted); font-size: 17px; max-width: 64ch; margin: 0 auto; }

/* ===== Cards (problema / canais) ===== */
.card-ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(37, 99, 235, 0.12); color: var(--destaque);
  display: grid; place-items: center; margin-bottom: 16px;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card-dor, .canal-card {
  background: var(--surface); border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 28px 26px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.card-dor:hover, .canal-card:hover { transform: translateY(-3px); border-color: rgba(127, 167, 255, 0.35); }
.card-dor h3, .canal-card h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.card-dor p, .canal-card p { color: var(--muted); font-size: 15px; }
.canais-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }

/* ===== Passos ===== */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.passo { background: var(--surface); border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px 22px; }
.passo-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(37, 99, 235, 0.12); color: var(--destaque);
  display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.passo h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 7px; }
.passo p { color: var(--muted); font-size: 14.5px; }

/* ===== Oferta ===== */
.oferta-box {
  background: var(--surface); border: 1px solid var(--borda); border-radius: 18px;
  padding: 52px 48px; text-align: center; max-width: 860px; margin: 0 auto;
}
.oferta-box h2 {
  font-family: var(--fonte-display);
  font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 14px;
}
.oferta-box > p { color: var(--muted); font-size: 16.5px; max-width: 58ch; margin: 0 auto 30px; }
.oferta-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
  text-align: left; max-width: 600px; margin: 0 auto 34px; font-weight: 500; font-size: 15px;
}
.oferta-grid > div { display: flex; align-items: center; gap: 9px; }
.oferta-grid .ic { color: var(--destaque); }

/* ===== Para quem ===== */
.verticais { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.vertical {
  background: var(--surface); border: 1px solid var(--borda); border-radius: 9px;
  padding: 10px 16px; font-size: 14.5px; font-weight: 500; color: var(--texto);
  transition: border-color 0.2s;
}
.vertical:hover { border-color: rgba(127, 167, 255, 0.4); }

/* ===== Raio-X (copy + form) ===== */
.raiox-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.raiox-copy h2 {
  font-family: var(--fonte-display);
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 14px;
}
.raiox-copy > p { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.raiox-bullets { list-style: none; display: grid; gap: 10px; }
.raiox-bullets li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; }
.raiox-bullets .ic { color: var(--destaque); }
.raiox-form {
  background: var(--surface); border: 1px solid var(--borda); border-radius: 16px; padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.raiox-form h3 { font-family: var(--fonte-display); font-size: 19px; font-weight: 600; margin-bottom: 18px; }
.raiox-form label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 13px; }
.raiox-form input, .raiox-form select {
  width: 100%; margin-top: 6px; padding: 12px 13px; font-size: 15px; font-family: inherit;
  background: #0c1119; border: 1px solid var(--borda); border-radius: 9px; color: var(--texto);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.raiox-form input:focus, .raiox-form select:focus {
  outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.form-nota { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-nota a { color: var(--destaque); }
.form-ok {
  margin-top: 14px; padding: 13px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 14.5px;
  background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #86efac;
}
.form-erro {
  margin-top: 12px; padding: 12px; border-radius: 10px; text-align: center; font-size: 14.5px;
  background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #fca5a5;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; margin-top: 40px; }
.faq details {
  background: var(--surface); border: 1px solid var(--borda); border-radius: 12px; padding: 2px 20px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(127, 167, 255, 0.35); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--destaque); font-size: 22px; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15px; padding-bottom: 18px; }

/* ===== CTA final ===== */
.cta-final {
  padding: 96px 0;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1), transparent 62%), var(--preto-2);
  border-top: 1px solid var(--borda);
}
.cta-final h2 {
  font-family: var(--fonte-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 14px;
}
.cta-final p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* ===== Rodapé ===== */
.rodape { border-top: 1px solid var(--borda); padding: 48px 0; background: var(--preto); }
.rodape-inner { text-align: center; }
.rodape-inner .logo { margin-bottom: 10px; display: inline-block; }
.rodape-tag { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.rodape-mini { color: #5c6b7f; font-size: 13px; }
.rodape-mini a:hover { color: var(--texto); }

/* ===== Scroll-reveal (progressivo: só esconde com JS ativo) ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.visivel { opacity: 1; transform: none; }

/* ===== Entrada do hero (cascata na carga) ===== */
@keyframes subirEntrada {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.js .hero-copy > * { animation: subirEntrada 0.6s ease both; }
.js .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.js .hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.js .hero-copy > *:nth-child(5) { animation-delay: 0.52s; }
.js .hero-mock { animation: subirEntrada 0.7s ease 0.45s both; }

/* ===== Mockup: a conversa acontece e a venda fecha ===== */
@keyframes chegarBalao {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.js .mock-chat .balao:nth-child(1) { animation: chegarBalao 0.4s ease 1.1s both; }
.js .mock-chat .balao:nth-child(2) { animation: chegarBalao 0.4s ease 2s both; }
.js .mock-chat .balao:nth-child(3) { animation: chegarBalao 0.4s ease 2.9s both; }
@keyframes fecharVenda {
  0% { opacity: 0; transform: scale(0.92); }
  60% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes pulsoVerde {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.32); }
  100% { box-shadow: 0 0 0 16px rgba(74, 222, 128, 0); }
}
.js .mock-resultado {
  animation:
    fecharVenda 0.5s cubic-bezier(0.22, 1.2, 0.36, 1) 3.6s both,
    pulsoVerde 1.6s ease-out 4.1s 2;
}

/* ===== Pulso de atenção nos CTAs principais ===== */
@keyframes pulsoCta {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  100% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
}
.js .btn-pulso { animation: pulsoCta 2.6s ease-out infinite; }

/* ===== Destaque marca-texto nos pontos-chave ===== */
.marca {
  background-image: linear-gradient(120deg, rgba(37, 99, 235, 0.34), rgba(127, 167, 255, 0.22));
  background-repeat: no-repeat;
  background-size: 100% 44%;
  background-position: 0 88%;
  border-radius: 3px;
  padding: 0 2px;
}
.js .marca { background-size: 0% 44%; transition: background-size 0.9s cubic-bezier(0.25, 0.8, 0.3, 1) 0.4s; }
.js .marca.visivel, .js .reveal.visivel .marca { background-size: 100% 44%; }
.js .hero-sub .marca:nth-of-type(2) { transition-delay: 1.1s; }

/* ===== Cascata (stagger) dentro de seções reveladas ===== */
.js .stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.visivel .stagger > * { opacity: 1; transform: none; }
.js .reveal.visivel .stagger > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal.visivel .stagger > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.visivel .stagger > *:nth-child(4) { transition-delay: 0.24s; }
.js .reveal.visivel .stagger > *:nth-child(5) { transition-delay: 0.32s; }
.js .reveal.visivel .stagger > *:nth-child(6) { transition-delay: 0.4s; }
.js .reveal.visivel .stagger > *:nth-child(7) { transition-delay: 0.48s; }
.js .reveal.visivel .stagger > *:nth-child(8) { transition-delay: 0.56s; }

/* ===== Brilho que varre a caixa da oferta ao aparecer ===== */
.oferta-box { position: relative; overflow: hidden; }
.oferta-box::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(127, 167, 255, 0.1), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
@keyframes varrerBrilho { to { left: 130%; } }
.js .reveal.visivel .oferta-box::after { animation: varrerBrilho 1.3s ease 0.5s forwards; }

/* ===== FAQ: resposta surge suave ===== */
@keyframes abrirFaq { from { opacity: 0; transform: translateY(-4px); } }
.faq details[open] p { animation: abrirFaq 0.3s ease; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .js .hero-copy > *,
  .js .hero-mock,
  .js .mock-chat .balao,
  .js .mock-resultado,
  .js .btn-pulso,
  .js .reveal.visivel .oferta-box::after,
  .faq details[open] p { animation: none; }
  .js .stagger > * { opacity: 1; transform: none; transition: none; }
  .js .marca { background-size: 100% 44%; transition: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .trust-list { justify-content: center; }
  .mock, .mock-legenda { margin: 0 auto; }
  .mock-legenda { margin-top: 10px; }
  .passos { grid-template-columns: 1fr 1fr; }
  .raiox-wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .cards-3, .canais-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .bloco { padding: 64px 0; }
  .manifesto { padding: 60px 0; }
  .passos, .oferta-grid { grid-template-columns: 1fr; }
  .oferta-box { padding: 36px 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-final { padding: 72px 0; }
}
