/* Layout compartilhado de todas as LPs.
   Cada LP define só as cores no <style>:root do próprio index.html:
   --brand, --brand-dark, --ink, --bg-alt */

:root {
  --brand: #4fc3e8;
  --brand-dark: #1e9fcb;
  --ink: #2f2f33;
  --text: #4a5160;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f3f8fb;
  --radius: 16px;
  --max: 1120px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font-body); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 9vw, 96px) 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font: 700 .8rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font: 700 1rem/1 var(--font-display); text-decoration: none; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand-dark); transition: transform .15s, background .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn img { width: 20px; height: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .actions, .actions.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #e8edf2; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo { height: 36px; width: auto; }
.site-header .btn { padding: 11px 20px; font-size: .9rem; }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 88px); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.hero .container { display: grid; gap: 48px; align-items: center; grid-template-columns: 1.1fr .9fr; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.hero-media.placeholder { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 1.2rem var(--font-display); }
.trust { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* Grades de cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid #e6ebf0; border-radius: var(--radius); padding: 26px; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--brand-dark); font-size: 1.4rem; margin-bottom: 16px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.pain .card { border-left: 4px solid #ef6b6b; }

/* Passos */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 40px; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 26px; padding-top: 70px; background: #fff; border-radius: var(--radius); border: 1px solid #e6ebf0; }
.steps li::before { content: counter(step); position: absolute; top: 22px; left: 26px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 1rem var(--font-display); }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Lista de benefícios com check */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .8rem/22px var(--font-body); text-align: center; }
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr 1fr; }

/* FAQ (details nativo) */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { background: #fff; border: 1px solid #e6ebf0; border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font: 700 1.02rem var(--font-display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* CTA final */
.cta-final { background: var(--ink); color: #e8e8ea; }
.cta-final h2 { color: #fff; }
.cta-final .lead { color: #c9ccd2; }

/* Rodapé */
.site-footer { background: #1d1d20; color: #9a9ca3; font-size: .9rem; padding: 32px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer .logo { height: 28px; width: auto; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37,211,102,.6); }
.wa-float img { width: 32px; height: 32px; filter: brightness(0) invert(1); }


/* Componentes de conversão */
.micro { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #e6ebf0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.video { position: relative; width: min(100%, 340px); aspect-ratio: 9/16; margin-inline: auto; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow { display: grid; gap: clamp(40px, 7vw, 80px); margin-top: 48px; }
.split.reverse > :first-child { order: 2; }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 40px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #e6ebf0; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare thead th.us { background: var(--brand); }
.compare td.us { font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--brand) 8%, #fff); }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.offer { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.sticky-cta { display: none; }

/* Formulário de captação (card branco, funciona sobre fundo claro ou escuro) */
.lead-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); scroll-margin-top: 96px; }
.lead-form h2 { font-size: 1.4rem; margin-bottom: 16px; }
.form-row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 46px; padding: 10px 12px; font: 16px var(--font-body); color: var(--ink); background: #fff; border: 1px solid #b8bfcc; border-radius: 10px; }
.field select { appearance: none; padding-right: 36px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input::placeholder { color: #8a8f9c; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b42318; }
.err, .form-status { color: #b42318; font-size: .8rem; margin: 0; }
.err:not(:empty), .form-status:not(:empty) { margin-top: 4px; }
.field.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; flex-wrap: wrap; }
.field.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--brand-dark); }
.field.check label { flex: 1; font-weight: 400; font-size: .85rem; line-height: 1.45; }
.field.check .err { flex-basis: 100%; }
.lead-form button { width: 100%; justify-content: center; min-height: 52px; border: 0; cursor: pointer; }
.lead-form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* Banner de cookies (LGPD) */
.cookie-bar { position: fixed; z-index: 40; inset: auto 12px 12px; max-width: 680px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; color: var(--text); border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.3); font-size: .875rem; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar div { display: flex; gap: 8px; }
.cookie-bar .btn { min-height: 44px; padding: 10px 18px; border: 0; cursor: pointer; font-size: .9rem; }

@media (max-width: 860px) {
  .split.reverse > :first-child { order: 0; }
  .sticky-cta { display: flex; position: fixed; inset: auto 0 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  body:has(.sticky-cta) { padding-bottom: 76px; }
  body:has(.sticky-cta) .wa-float { display: none; }
}

@media (max-width: 860px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .site-header .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
