/* =====================================================================
   CMVPRO — Landing v2 (styles2.css)
   Arquivo isolado: NÃO sobrescreve o styles.css de produção.
   Tokens herdados do design system do app (DESIGN_SYSTEM.md).
   ===================================================================== */

:root {
  --brand-blue: #0098da;
  --cta-blue: #2563eb;
  --cta-blue-h: #1d4ed8;
  --success: #33cc66;
  --success-d: #047857;
  --dark: #121117;
  --ink: #282829;
  --muted: #5b616e;
  --line: rgba(18, 17, 23, 0.12);
  --surface: #ffffff;
  --soft-blue: #f0f9ff;
  --soft-green: #ecfdf3;
  --page: #f7f8fb;
  --danger: #dc2626;
  --amber-bg: #fff7ed;
  --amber-line: #fed7aa;
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.18);
  --shadow-md: 0 10px 30px rgba(18, 17, 23, 0.08);
  --shadow-lg: 0 22px 70px rgba(18, 17, 23, 0.12);
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: 8px;
  font-size: 14.5px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--cta-blue); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cta-blue-h); transform: translateY(-1px); }
.btn-success { color: #fff; background: var(--success); box-shadow: var(--shadow-sm); }
.btn-success:hover { background: #29b95a; transform: translateY(-1px); }
.btn-secondary { color: var(--dark); background: #fff; border-color: var(--line); }
.btn-secondary:hover { border-color: rgba(0,152,218,.45); background: var(--soft-blue); }
.btn-ghost { color: var(--dark); background: transparent; }
.btn-ghost:hover { background: rgba(18,17,23,.04); }
.btn-lg { min-height: 52px; padding: 15px 26px; font-size: 16px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--dark); }
.topbar-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr);
  gap: clamp(28px,5vw,64px); align-items: center;
  padding-block: clamp(46px,7vw,84px);
}
.eyebrow {
  margin: 0 0 14px; color: var(--brand-blue);
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 18px; font-size: clamp(34px,5.2vw,58px); line-height: 1.04; letter-spacing: -.01em; max-width: 16ch;
}
.hero h1 .hl { color: var(--brand-blue); }
.lead { max-width: 54ch; margin-bottom: 24px; color: var(--muted); font-size: clamp(16px,1.6vw,19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.risk-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 26px; color: #425466; font-size: 13.5px; font-weight: 600; }
.risk-line span { display: inline-flex; align-items: center; gap: 6px; }
.risk-line .check { color: var(--success); font-weight: 800; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chip {
  padding: 6px 12px; border: 1px solid rgba(0,152,218,.2); border-radius: 999px;
  background: #fff; color: #425466; font: inherit; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: .16s ease;
}
.trust-chip:hover,
.trust-chip.is-active {
  border-color: rgba(0,152,218,.5);
  background: var(--soft-blue);
  color: var(--brand-blue);
}

/* product panel (mock) */
.hero-panel {
  width: min(100%, 520px); justify-self: end; padding: 18px;
  border: 1px solid rgba(0,152,218,.22); border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg);
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: opacity .42s ease, transform .42s ease, box-shadow .42s ease;
}
.hero-panel.is-rotating-out {
  opacity: 0;
  transform: perspective(1200px) rotateY(-72deg) translateX(-22px) scale(.96);
  box-shadow: var(--shadow-md);
}
.hero-panel.is-rotating-in {
  opacity: 0;
  transform: perspective(1200px) rotateY(72deg) translateX(22px) scale(.96);
  box-shadow: var(--shadow-md);
}
.panel-header { display: flex; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 999px; }
.dot.green { background: var(--success); } .dot.blue { background: var(--brand-blue); } .dot.dark { background: var(--ink); }
.metric { margin: 16px 0; padding: 16px; border-radius: 8px; background: var(--amber-bg); border: 1px solid var(--amber-line); }
.metric span, .mock-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.metric strong { display: block; margin-bottom: 6px; font-size: 21px; }
.metric small { color: #9a3412; font-weight: 600; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.mock-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbff; }
.mock-grid strong { font-size: 21px; }
.mock-grid div:last-child strong { color: var(--success); }
.insight { margin-top: 14px; padding: 13px 14px; border-left: 4px solid var(--brand-blue); background: var(--soft-blue); border-radius: 6px; }
.insight strong { font-size: 13px; }
.insight p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- Logos / social proof bar ---------- */
.proof-bar { background: #fff; border-bottom: 1px solid var(--line); }
.proof-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-block: 20px; }
.proof-bar p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.proof-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.proof-logos span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 13px; font-weight: 700; background: #fbfbff;
}
.proof-logos img {
  width: 30px; height: 30px; border-radius: 999px; object-fit: cover;
  border: 1px solid rgba(0,152,218,.18);
}
.stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.half-star {
  position: relative;
  display: inline-block;
  color: #d1d5db;
}
.half-star::before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  color: #f59e0b;
  content: "★";
}
.stars + b { color: var(--dark); font-size: 13px; }

/* ---------- Stats band ---------- */
.stats { background: linear-gradient(180deg,#0b1220,#111827); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; padding-block: clamp(36px,5vw,56px); }
.stat strong { display: block; font-size: clamp(28px,3.4vw,40px); line-height: 1; color: #7dd3fc; }
.stat span { display: block; margin-top: 8px; color: #cbd5e1; font-size: 14px; line-height: 1.45; }

/* ---------- Generic section ---------- */
section.block { padding-block: clamp(54px,7vw,92px); }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title.center { margin-inline: auto; text-align: center; }
h2 { margin-bottom: 14px; font-size: clamp(27px,3.4vw,42px); line-height: 1.1; letter-spacing: -.01em; }
.section-title p { color: var(--muted); font-size: 17px; line-height: 1.6; }
h3 { margin-bottom: 9px; font-size: 18px; line-height: 1.3; }
.strong-dark { color: var(--ink); font-weight: 800; }

/* brand-word */
.brand-word { display: inline-flex; align-items: baseline; white-space: nowrap; }
.brand-word span:first-child { color: var(--ink); font-weight: 800; }
.brand-word span:last-child { color: var(--brand-blue); font-weight: 500; }
.brand-word.on-dark span:first-child { color: #fff; }

/* ---------- Pain ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.card .number { display: inline-flex; margin-bottom: 14px; color: var(--brand-blue); font-size: 13px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.58; margin: 0; }

/* ---------- Features ---------- */
.features { background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feat { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.feat .ico {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  margin-bottom: 14px; border-radius: 10px; background: var(--soft-blue); color: var(--brand-blue);
  font-size: 19px;
}
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  margin-bottom: 16px; border-radius: 999px; color: #fff; background: var(--brand-blue); font-weight: 700;
}
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Before / After ---------- */
.outcome { background: #f1f5f9; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.outcome-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.outcome-card .tag { display: inline-flex; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.outcome-card.good { border-color: rgba(51,204,102,.5); background: var(--soft-green); }
.outcome-card.good .tag { color: var(--success-d); }
.outcome-card ul { padding-left: 18px; margin: 12px 0 0; }
.outcome-card li { color: var(--muted); font-size: 15px; line-height: 1.55; }
.outcome-card.good li { color: #14532d; }
.outcome-card li + li { margin-top: 9px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.testi { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.testi .stars { margin-bottom: 12px; }
.testi blockquote { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: #1f2937; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 999px; flex: 0 0 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--soft-blue); color: var(--brand-blue); font-weight: 800; font-size: 15px;
}
.avatar-img {
  width: 46px; height: 46px; border-radius: 999px; flex: 0 0 46px;
  object-fit: cover; border: 2px solid var(--soft-blue);
}
.who b { display: block; font-size: 14px; } .who span { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- Plans ---------- */
.plans { background: #fff; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan.featured { border-color: rgba(37,99,235,.45); box-shadow: 0 18px 50px rgba(37,99,235,.14); }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14.5px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 6px; }
.price .cur { font-size: 16px; font-weight: 700; color: var(--ink); }
.price .val { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price .per { color: var(--muted); font-size: 13px; font-weight: 600; }
.price small { display: block; }
.plan ul { padding-left: 0; margin: 16px 0 22px; list-style: none; }
.plan li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 800; }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; color: #fff; background: var(--cta-blue); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.plans-note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { background: var(--page); }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: transparent; cursor: pointer; text-align: left; font: inherit; font-weight: 600; font-size: 16px; color: var(--dark); }
.faq-q .chev { transition: transform .2s ease; color: var(--brand-blue); font-size: 20px; flex: 0 0 auto; }
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta-band { background: linear-gradient(120deg, #0098da, #2563eb); color: #fff; }
.cta-band .wrap { text-align: center; padding-block: clamp(48px,6vw,76px); }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 56ch; margin: 0 auto 24px; }
.cta-band .btn-secondary { background: #fff; border-color: #fff; }

/* ---------- Contact ---------- */
.contact { background: #111827; color: #fff; }
.contact .wrap { display: grid; grid-template-columns: minmax(0,.95fr) minmax(360px,.72fr); gap: 34px; align-items: start; padding-block: clamp(54px,7vw,90px); }
.contact .eyebrow { color: #7dd3fc; }
.contact h2 { color: #fff; }
.contact p { color: #cbd5e1; font-size: 17px; line-height: 1.6; }
.contact-form { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.contact-form label, .lead-form label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-form label { color: #e5e7eb; }
.contact-form input, .lead-form input {
  display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 11px 13px;
  color: var(--dark); border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit;
}
.contact-form input { border-color: rgba(255,255,255,.18); }
.contact-form input:focus, .lead-form input:focus { outline: 3px solid rgba(0,152,218,.22); border-color: var(--brand-blue); }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-note { margin: 12px 0 0; color: #94a3b8; font-size: 12px; }

/* ---------- Footer ---------- */
.footer { background: #0b1220; color: #94a3b8; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: 13px; }
.footer a:hover { color: #fff; }
.footer .pay { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Lead modal ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 18px; }
.lead-modal.is-open { display: flex; }
.lead-modal__overlay { position: absolute; inset: 0; background: rgba(18,17,23,.68); backdrop-filter: blur(6px); }
.lead-modal__card { position: relative; width: min(100%,480px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 22px 70px rgba(18,17,23,.22); }
.lead-modal__close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; color: var(--muted); border: 0; border-radius: 999px; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.lead-modal__close:hover { color: var(--dark); background: var(--soft-blue); }
.lead-modal h2 { margin-right: 32px; font-size: 28px; }
.lead-modal__text { color: var(--muted); font-size: 15px; line-height: 1.55; }
.lead-modal__plan { margin: 0 0 18px; padding: 10px 12px; border: 1px solid rgba(0,152,218,.2); border-radius: 8px; color: #075985; background: var(--soft-blue); font-size: 13px; font-weight: 800; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.lead-modal__note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; width: 100%; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .feat-grid, .steps, .plans-grid, .outcome-grid, .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar-cta .btn { padding-inline: 14px; }
  .hero-actions .btn { width: 100%; }
  .mock-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-q .chev { transition: none; }
}
