/* =========================================================================
   Chat Helper — site institucional / landing
   Identidade herdada do dashboard 4.2 (verde WhatsApp + dark) e estendida.
   Tokens de design centralizados em :root → moldável sem refazer estrutura
   (⚖️ diretriz mestra do projeto). Troque cor/fonte/raio aqui e tudo segue.
   ========================================================================= */

:root {
  /* Cores — paleta enxuta */
  --ink:        #0b1b14;   /* "WhatsApp night": verde-quase-preto (painéis escuros) */
  --ink-2:      #102a1f;
  --ink-soft:   #1c3a2d;
  --paper:      #f5f8f4;   /* off-white com leve verde (fundo da página) */
  --surface:    #ffffff;   /* cards */
  --line:       #e2e9e1;   /* bordas claras */
  --line-dark:  #214034;   /* bordas em painel escuro */
  --text:       #14231c;   /* texto principal */
  --muted:      #5a6b62;   /* texto secundário */
  --muted-dark: #9bb3a7;   /* secundário sobre escuro */
  --green:      #25d366;   /* verde WhatsApp — cor de AÇÃO */
  --green-700:  #128c5e;   /* verde escuro (hover / texto sobre claro) */
  --green-900:  #0a3d2a;
  --amber:      #f0b429;   /* destaque pontual (oferta fundador) */

  /* Tipografia */
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  /* Escala / forma */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,27,20,.05), 0 2px 8px rgba(11,27,20,.04);
  --shadow:    0 10px 30px rgba(11,27,20,.08);
  --shadow-lg: 0 30px 70px rgba(11,27,20,.18);
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Utilitários ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,.18);
}
.eyebrow.on-dark { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #06281a; box-shadow: 0 8px 22px rgba(37,211,102,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.btn-ghost { color: var(--text); border: 1.5px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-700); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #eafff4; border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.btn-ghost.on-dark:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245,248,244,.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--green), var(--green-700));
  display: grid; place-items: center; color: #06281a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand .logo svg { width: 19px; height: 19px; }
.brand .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: -4px; align-self: flex-start; margin-top: 4px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow: 0 0 0 7px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37,211,102,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(18,140,94,.18), transparent 55%),
    var(--ink);
  color: #eafff4;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, transparent);
  opacity: .5;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
  position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(40px, 6.4vw, 70px); margin: 20px 0 22px; color: #ffffff; }
.hero h1 .hl { color: var(--green); }
.hero .lead { color: var(--muted-dark); font-size: clamp(17px, 2.1vw, 20px); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 22px; }
.hero-proof { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-dark); }
.hero-proof svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* Phone / chat mockup — a ASSINATURA da página */
.phone {
  position: relative; width: min(330px, 82vw); margin: 0 auto;
  background: #0a1712; border-radius: 38px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0a1712; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen { background: #0c1f17; border-radius: 28px; overflow: hidden; }
.chat-top {
  display: flex; align-items: center; gap: 10px;
  background: #11261d; padding: 16px 16px 12px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.chat-top .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(150deg,var(--green),var(--green-700)); display: grid; place-items: center; color:#06281a; font-weight:800; font-family:var(--font-display); }
.chat-top .who { line-height: 1.25; }
.chat-top .who b { font-size: 14.5px; color: #eafff4; font-family: var(--font-body); font-weight: 600; }
.chat-top .who span { font-size: 12px; color: var(--green); display: flex; align-items: center; gap: 5px; }
.chat-top .who span::before { content:""; width:6px;height:6px;border-radius:50%;background:var(--green); }
.chat-body {
  background:
    linear-gradient(rgba(8,20,15,.92), rgba(8,20,15,.92));
  padding: 18px 14px; min-height: 360px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
}
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; position: relative; opacity: 0; transform: translateY(8px); animation: rise .4s ease forwards; }
.msg.in { background: #1f2c33; color: #e9eef1; align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.out { background: #075e54; color: #f3fff9; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg.out.bot { background: linear-gradient(160deg,#128c5e,#0d6e4a); }
.msg .t { display: block; font-family: var(--font-mono); font-size: 10px; opacity: .65; margin-top: 4px; text-align: right; }
.msg .t .check { color: #53bdeb; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.typing { align-self: flex-end; background: linear-gradient(160deg,#128c5e,#0d6e4a); padding: 12px 16px; border-radius: 14px; border-bottom-right-radius: 5px; display: inline-flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); animation: blink 1.4s infinite both; }
.typing span:nth-child(2){ animation-delay:.2s; } .typing span:nth-child(3){ animation-delay:.4s; }
@keyframes blink { 0%,80%,100%{ opacity:.25; transform: translateY(0);} 40%{ opacity:1; transform: translateY(-3px);} }
.phone-badge {
  position: absolute; right: -14px; top: 28%;
  background: var(--surface); color: var(--text); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.phone-badge .big { font-family: var(--font-display); font-size: 20px; color: var(--green-700); }
@media (max-width: 480px){ .phone-badge{ right: -6px; } }

/* Faixa de nichos */
.niche-bar { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(0,0,0,.18); position: relative; z-index: 2; }
.niche-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-block: 22px; }
.niche-bar .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.niche-bar .items { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.niche-bar .items span { display: flex; align-items: center; gap: 9px; color: #d7ffe9; font-weight: 600; font-size: 15px; }
.niche-bar .items svg { width: 18px; height: 18px; color: var(--green); }

/* =========================================================================
   PROBLEMA
   ========================================================================= */
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.problem .cost-list { display: grid; gap: 14px; }
.cost-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.cost-card .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: #fdeceb; color: #d9433a; display: grid; place-items: center; }
.cost-card .ic svg { width: 20px; height: 20px; }
.cost-card b { display: block; font-family: var(--font-display); font-size: 16.5px; margin-bottom: 2px; }
.cost-card p { font-size: 14.5px; color: var(--muted); }

/* =========================================================================
   COMO FUNCIONA — thread sequencial (numeração JUSTIFICADA: é um processo)
   ========================================================================= */
.how { background: var(--ink); color: #eafff4; }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: var(--muted-dark); }
.steps { display: grid; gap: 0; position: relative; max-width: 760px; }
.steps::before { content:""; position:absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--green), var(--line-dark)); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 16px 0; position: relative; }
.step .num {
  width: 48px; height: 48px; border-radius: 14px; background: var(--ink-soft); border: 1px solid var(--line-dark);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; color: var(--green); z-index: 2; font-size: 15px;
}
.step.done .num { background: var(--green); color: #06281a; border-color: var(--green); }
.step h3 { font-size: 20px; color: #fff; margin-bottom: 5px; }
.step p { color: var(--muted-dark); font-size: 15.5px; max-width: 520px; }

/* =========================================================================
   RECURSOS
   ========================================================================= */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; background: #e9faf0; color: var(--green-700); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 23px; height: 23px; }
.feature h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature p { font-size: 14.8px; color: var(--muted); }

/* =========================================================================
   DIFERENCIAL TÉCNICO (modelo de 2 números + cresce com você)
   ========================================================================= */
.edge { background: linear-gradient(180deg, #eef5ee, var(--paper)); }
.edge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.two-numbers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tn-row { display: grid; grid-template-columns: 1fr 1fr; }
.tn-cell { padding: 22px 22px; }
.tn-cell + .tn-cell { border-left: 1px solid var(--line); }
.tn-head { background: var(--ink); color: #eafff4; }
.tn-head.demo { background: var(--ink-soft); }
.tn-row.body .tn-cell { border-top: 1px solid var(--line); }
.tn-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.tn-cell h4 { font-family: var(--font-display); font-size: 18px; margin-top: 6px; color: #fff; }
.tn-head.demo h4 { color: #fff; }
.tn-cell .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.tn-cell .val { font-size: 15px; margin-top: 2px; }
.edge-points { display: grid; gap: 18px; }
.edge-points li { display: flex; gap: 13px; }
.edge-points .ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--green); display: grid; place-items: center; }
.edge-points .ic svg { width: 19px; height: 19px; }
.edge-points b { font-family: var(--font-display); font-size: 16.5px; display: block; margin-bottom: 2px; }
.edge-points p { font-size: 14.5px; color: var(--muted); }

/* =========================================================================
   PARA QUEM É
   ========================================================================= */
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.who-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.who-card .top { padding: 24px 24px 18px; background: linear-gradient(160deg, var(--ink-soft), var(--ink)); color: #eafff4; }
.who-card .top .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(37,211,102,.16); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.who-card .top .ic svg { width: 23px; height: 23px; }
.who-card .top h3 { font-size: 20px; color: #fff; }
.who-card .body { padding: 20px 24px 26px; }
.who-card .body li { display: flex; gap: 10px; font-size: 14.6px; color: var(--text); padding: 7px 0; }
.who-card .body li svg { width: 18px; height: 18px; color: var(--green-700); flex-shrink: 0; margin-top: 3px; }

/* =========================================================================
   PREÇOS
   ========================================================================= */
.pricing { background: linear-gradient(180deg, var(--paper), #eef5ee); }
.founder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; justify-content: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px 24px; margin-bottom: 36px; box-shadow: var(--shadow); }
.founder .star { color: var(--amber); }
.founder b { color: var(--amber); font-family: var(--font-display); }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.anchor { border: 2px solid var(--green); box-shadow: var(--shadow); position: relative; transform: translateY(-6px); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #06281a; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: var(--radius-pill); font-family: var(--font-mono); letter-spacing: .04em; }
.plan .pname { font-family: var(--font-display); font-size: 21px; font-weight: 800; }
.plan .pdesc { font-size: 13.5px; color: var(--muted); margin: 4px 0 18px; min-height: 38px; }
.plan .price { display: flex; align-items: flex-end; gap: 4px; }
.plan .price .cur { font-size: 18px; font-weight: 700; color: var(--muted); }
.plan .price .amt { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan .price .per { font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.plan .setup { font-size: 13.5px; color: var(--muted); margin: 8px 0 20px; }
.plan .setup b { color: var(--text); }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 20px; }
.plan .plist { display: grid; gap: 11px; }
.plan .plist li { display: flex; gap: 10px; font-size: 14.3px; }
.plan .plist svg { width: 17px; height: 17px; color: var(--green-700); flex-shrink: 0; margin-top: 3px; }
.price-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 26px; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text); }
.faq-q .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #e9faf0; color: var(--green-700); display: grid; place-items: center; transition: transform .25s ease; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final { background: radial-gradient(700px 380px at 50% -20%, rgba(37,211,102,.2), transparent 60%), var(--ink); color: #fff; text-align: center; }
.cta-final h2 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 18px; }
.cta-final p { color: var(--muted-dark); font-size: 19px; max-width: 560px; margin: 0 auto 32px; }
.cta-final .hero-cta { justify-content: center; }
.cta-final .micro { font-size: 13px; color: var(--muted-dark); margin-top: 22px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink-2); color: var(--muted-dark); padding-block: 56px 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer .about { max-width: 340px; font-size: 14px; margin-top: 14px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h5 { color: #fff; font-family: var(--font-display); font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; }
.footer-cols a { display: block; font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer-cols a:hover { color: var(--green); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.footer-bottom .disc { max-width: 620px; }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .problem .wrap, .edge-grid { grid-template-columns: 1fr; }
  .features-grid, .who-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.anchor { transform: none; }
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); padding: 18px var(--gutter); gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open .nav-links a { padding: 10px 0; font-size: 16px; }
}
@media (max-width: 760px) {
  .features-grid, .who-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
