/* ERASE Revisional — tema claro (padrão) + escuro via [data-theme="dark"] */
:root {
  --blue: #3FA9F5;
  --blue-ink: #0a6cb3;
  --on-blue: #04121f;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f0f4f8;
  --text: #0f1720;
  --muted: #55636f;
  --border: #e1e7ed;
  --ok: #0d9467;
  --bad: #c2410c;
  --shadow: 0 1px 2px rgba(15, 23, 32, .06), 0 8px 24px rgba(15, 23, 32, .06);
  --radius: 16px;
  --maxw: 1160px;
  color-scheme: light;
}
[data-theme="dark"] {
  --blue-ink: #6cc1ff;
  --bg: #05070a;
  --surface: #0c131b;
  --surface-2: #101a24;
  --text: #eef3f7;
  --muted: #9bacbb;
  --border: #1d2b39;
  --ok: #34d399;
  --bad: #fb923c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: var(--on-blue); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* Botões ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px 20px; cursor: pointer; text-decoration: none !important; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 6px 18px rgba(63, 169, 245, .35); }
.btn-primary:hover { background: #55b6fa; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn-wa { background: #25d366; color: #05210f; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header ------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; flex-shrink: 0; }
.logo-main { font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.logo-sep { width: 1.5px; height: 22px; background: var(--border); }
.logo-sub { font-weight: 600; font-size: .72rem; letter-spacing: .22em; color: var(--blue-ink); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > a, .dropdown-btn { color: var(--text); font: inherit; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.nav-links > a:hover, .dropdown-btn:hover, .nav-links > a[aria-current] { background: var(--surface-2); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; }
.dropdown.open .dropdown-menu, .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 500; text-decoration: none !important; }
.dropdown-menu a:hover, .dropdown-menu a[aria-current] { background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { border-color: var(--blue); }
[data-theme="dark"] .i-sun, :root:not([data-theme="dark"]) .i-moon { display: none; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero / seções ----------------------------------------------- */
.badge, .eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue-ink); margin-bottom: 16px; }
.hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 80% -10%, color-mix(in srgb, var(--blue) 22%, transparent), transparent), var(--bg); }
.hero-inner { max-width: 820px; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.hero .lead { margin: 0 auto 24px; }
.newsletter { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 8px; }
.newsletter input[type="email"] { flex: 1; min-width: 0; }
.form-msg { min-height: 1.5em; font-size: .92rem; margin: 0 0 12px; color: var(--muted); }
.form-msg.ok { color: var(--ok); } .form-msg.bad { color: var(--bad); }

input, select, textarea {
  font: inherit; width: 100%; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent); }

.featured-wrap { margin: 24px auto 48px; }
.featured { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 420px; color: #fff; text-decoration: none !important; box-shadow: var(--shadow); }
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.featured:hover img { transform: scale(1.03); }
.featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,8,14,.1) 20%, rgba(3,8,14,.88)); }
.featured-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px; max-width: 820px; }
.featured h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); color: #fff; }
.featured p { color: rgba(255,255,255,.88); margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.tag-on-img { background: var(--blue); color: var(--on-blue); padding: 4px 10px; border-radius: 6px; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-bottom: 56px; }
.sticky-col { position: sticky; top: 92px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.section-head h2 { margin: 0; }
.row-list { display: flex; flex-direction: column; gap: 16px; }
.row-card { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; transition: box-shadow .2s, border-color .2s; }
.row-card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 50%, var(--border)); }
.row-thumb { flex: 0 0 168px; border-radius: 12px; overflow: hidden; align-self: flex-start; }
.row-thumb img { width: 168px; height: 112px; object-fit: cover; }
.row-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.row-body h3 a { color: var(--text); }
.row-body p { color: var(--muted); font-size: .94rem; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-body time { font-size: .8rem; color: var(--muted); }
.more-btn { margin-top: 18px; }

.promo { background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 20%, var(--surface)), var(--surface)); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.promo h3 { font-size: 1.3rem; }
.promo p { color: var(--muted); }
.promo small { display: block; margin-top: 12px; color: var(--muted); font-size: .78rem; }

.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, #0b2a44, #0a6cb3 60%, #3FA9F5); margin-bottom: 40px; }
.cta-banner h2 { color: #fff; margin-bottom: 6px; } .cta-banner p { margin: 0; color: rgba(255,255,255,.88); max-width: 620px; }
.cta-banner .btn { flex-shrink: 0; background: #fff; color: #0b2a44; box-shadow: none; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.trust-item { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.trust-item svg { color: var(--blue-ink); flex-shrink: 0; margin-top: 2px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 4px; } .trust-item p { margin: 0; color: var(--muted); font-size: .92rem; }

.page-head { padding: 48px 0 24px; } .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }

/* Artigo ------------------------------------------------------- */
.article { max-width: 820px; padding-top: 32px; padding-bottom: 32px; }
.article h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.meta { color: var(--muted); font-size: .9rem; }
.article-cover { width: 100%; border-radius: 18px; margin: 20px 0 28px; aspect-ratio: 2/1; object-fit: cover; }
.article-body { font-size: 1.07rem; } .article-body h2 { margin-top: 1.6em; } .article-body ul, .article-body ol { padding-left: 1.3em; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: color-mix(in srgb, var(--blue) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--blue) 40%, var(--border)); border-radius: 16px; padding: 18px 20px; margin: 28px 0; }
.inline-cta span { flex: 1 1 240px; color: var(--muted); }
.source { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 32px; color: var(--muted); font-size: .92rem; }
.disclaimer { font-size: .82rem; color: var(--muted); }
.legal-doc h2 { margin-top: 1.6em; font-size: 1.25rem; }

/* Calculadora -------------------------------------------------- */
.calc-hero { padding: 56px 0 24px; }
.eyebrow { margin-bottom: 14px; }
.grad { background: linear-gradient(90deg, #be185d, #7e22ce 50%, #3FA9F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .grad { background-image: linear-gradient(90deg, #f472b6, #c084fc 50%, #6cc1ff); }
.small-note { color: var(--muted); font-size: .92rem; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; margin-bottom: 48px; }
.calc-card, .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.panel { position: sticky; top: 92px; }
.calc-bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; margin-bottom: 8px; } .calc-bar-top span { color: var(--muted); }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 22px; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, #be185d, #7e22ce, #3FA9F5); transition: width .35s ease; }
.field { margin-bottom: 16px; }
.field label, .vtype legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.req { color: var(--bad); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.money { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.money:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent); }
.money span { display: grid; place-items: center; padding: 0 12px; color: var(--muted); background: var(--surface-2); font-size: .9rem; }
.money input { border: 0; border-radius: 0; box-shadow: none !important; }
.money.suffix span { border-left: 1px solid var(--border); }
.err { display: none; color: var(--bad); font-size: .82rem; margin-top: 4px; } .field.invalid .err { display: block; } .field.invalid .money, .field.invalid > input, .field.invalid > select { border-color: var(--bad); }
.vtype { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vtype legend { grid-column: 1 / -1; }
.vtype label { cursor: pointer; } .vtype input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vtype label span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--border); border-radius: 12px; font-weight: 600; background: var(--surface); }
.vtype input:checked + span { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 16%, var(--surface)); color: var(--blue-ink); }
.vtype input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.status { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.panel[data-state="pronto"] .status { background: color-mix(in srgb, var(--blue) 20%, transparent); color: var(--blue-ink); }
.panel[data-state="resultado"] .status { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.panel-title { font-size: 1.35rem; } .panel p { color: var(--muted); }
.steps-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.steps-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.steps-list i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: .25s; }
.steps-list li.done { color: var(--text); } .steps-list li.done i { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 3px var(--surface); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.kv div { background: var(--surface-2); border-radius: 12px; padding: 12px; } .kv small { display: block; color: var(--muted); font-size: .78rem; } .kv b { font-size: 1.15rem; }
.rate-big { font-size: clamp(2.3rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cmp { margin: 18px 0 8px; } .cmp-track { position: relative; height: 14px; border-radius: 99px; background: var(--surface-2); }
.cmp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--ok); transition: width .8s cubic-bezier(.2,.8,.2,1); } .cmp.over .cmp-fill { background: var(--bad); }
.cmp-mark { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--text); border-radius: 2px; }
.cmp-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.verdict { display: inline-block; font-weight: 700; padding: 6px 12px; border-radius: 10px; margin: 6px 0 10px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); } .verdict.over { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.saving { border: 1.5px dashed color-mix(in srgb, var(--bad) 55%, var(--border)); border-radius: 14px; padding: 14px; margin: 12px 0; } .saving b { font-size: 1.4rem; display: block; color: var(--text); } .saving p { margin: 4px 0 0; font-size: .85rem; }
.msg-bad { color: var(--bad); font-weight: 600; }
#lead-box { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

.prose-block { max-width: 860px; margin-bottom: 40px; }
.notice { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 20px; color: var(--muted); }
.notice strong { color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; } .card-list ul { margin: 0; padding-left: 1.2em; } .card-list li { margin-bottom: 8px; }
.card-list.yes h3 { color: var(--ok); } .card-list.no h3 { color: var(--bad); }
.how { list-style: none; padding: 0; display: grid; gap: 14px; } .how li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.how li > span { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--blue); color: var(--on-blue); } .how h3 { margin-bottom: 2px; } .how p { margin: 0; color: var(--muted); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::after { content: "+"; font-size: 1.3rem; color: var(--blue-ink); } .faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; } .faq details p { color: var(--muted); }

/* Contato ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-bottom: 56px; align-items: start; }
.card-form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }

/* Rodapé ------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-desc { color: var(--muted); max-width: 380px; margin-top: 14px; }
.site-footer h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .site-footer ul a { color: var(--text); }
.socials { display: flex; gap: 10px; } .social { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; color: var(--text); } .social:hover { border-color: var(--blue); color: var(--blue-ink); }
.legal { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 22px; color: var(--muted); font-size: .8rem; } .legal p { margin: 0 0 10px; } .legal a { color: var(--text); }

/* Pop-up ------------------------------------------------------- */
.popup-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(3, 8, 14, .62); backdrop-filter: blur(3px); animation: fade .25s ease; }
.popup { position: relative; width: 100%; max-width: 440px; max-height: 94vh; overflow: auto; background: var(--surface); color: var(--text); border-radius: 22px; padding: 28px 24px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.4); animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.popup-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.popup-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: var(--on-blue); margin-bottom: 14px; }
.popup h2 { font-size: 1.4rem; } .popup p { color: var(--muted); font-size: .94rem; } .popup .field { margin-bottom: 12px; }
@keyframes fade { from { opacity: 0 } } @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97) } }

/* Responsivo --------------------------------------------------- */
@media (max-width: 960px) {
  .home-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
  .sticky-col, .panel { position: static; }
  .trust { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 20px 16px; margin: 0; }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; background: transparent; }
  .dropdown-btn svg { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .newsletter { flex-direction: column; }
  .row-card { flex-direction: column; } .row-thumb, .row-thumb img { width: 100%; flex-basis: auto; } .row-thumb img { height: auto; aspect-ratio: 3/2; }
  .featured { min-height: 360px; } .featured-text { padding: 20px; }
  .field-row, .two-col, .footer-grid, .kv { grid-template-columns: 1fr; }
  .nav { gap: 10px; } .nav-actions { gap: 6px; } .nav-actions .btn-sm { padding: 8px 10px; font-size: .82rem; }
  .logo-sub { display: none; } .logo-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Formulário único da calculadora (contato + LGPD) */
.contact-block { margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.contact-block h3 { font-size: 1.02rem; margin-bottom: 12px; }
.opt { font-weight: 500; color: var(--muted); font-size: .85em; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--muted); cursor: pointer; }
.field.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); }
.field.check.invalid label { color: var(--bad); }
#result-actions { margin-top: 18px; display: grid; gap: 10px; }
.send-status { font-size: .85rem; color: var(--muted); margin: 0; }

/* Selo "ANÁLISE DO CONTRATO 100% GRATUITA" */
.free-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0; padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-align: center; color: var(--on-blue); background: var(--blue); box-shadow: 0 6px 18px rgba(63, 169, 245, .3); }
.free-badge::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--on-blue); color: var(--blue); font-size: .8rem; flex-shrink: 0; }
.popup .free-badge { color: var(--on-blue); margin: 0 0 14px; padding-right: 44px; justify-content: flex-start; font-size: .72rem; box-shadow: none; text-align: left; }
.free-strip { background: var(--blue); color: var(--on-blue); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-align: center; padding: 9px 0; }
.free-strip span { font-weight: 600; letter-spacing: 0; }
@media (max-width: 600px) { .free-strip span { display: none; } .free-badge { font-size: .74rem; } }

/* Perguntas de múltipla escolha: botões grandes, fáceis de tocar */
.form-section { margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--border); }
.form-section h3 { font-size: 1.02rem; margin-bottom: 14px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choices.short .choice-grid { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.field .choice { display: block; margin: 0; font-weight: 600; cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); font-size: .95rem; line-height: 1.25; transition: border-color .15s, background .15s; }
.choice:hover span { border-color: color-mix(in srgb, var(--blue) 60%, var(--border)); }
.choice input:checked + span { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 18%, var(--surface)); color: var(--blue-ink); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field.invalid .choice span { border-color: var(--bad); }
.field-row.tight { gap: 10px; }
.cidade-row { grid-template-columns: 2fr 1fr; align-items: end; }
@media (max-width: 600px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choices.short .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .choices.short.two .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row.cidade-row, .field-row.tight { grid-template-columns: 2fr 1fr; }
  .field-row.tight { grid-template-columns: 1fr 1fr; }
  .choice span { min-height: 56px; }
}
