/* Impacto Contábil: mobile first, pouco texto, blocos escaneáveis. Marinho e dourado em faixas alternadas. */
:root {
  --navy: #0A1F44;
  --navy-2: #0F2A5C;
  --navy-3: #163A78;
  --gold: #C9A84C;
  --gold-2: #E2C675;

  --bg: #FFFFFF;
  --soft: #F3F6FB;
  --surface: #FFFFFF;
  --fg: #0A1F44;
  --muted: #4F5C78;
  --line: #E1E6F0;
  --accent: #8A6A12;

  --ok: #1F7A4D;
  --warn: #B07A10;
  --bad: #B3402F;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(10, 31, 68, .05), 0 8px 24px rgba(10, 31, 68, .06);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
section { padding-block: 56px; }
.soft { background: var(--soft); }
.band-navy { background: var(--navy); color: #EEF1F8; --fg: #fff; --muted: #B5C0D9; --line: #22407A; --accent: var(--gold); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 6.4vw, 40px); }
.lead { font-size: 17px; font-weight: 300; color: var(--muted); margin-top: 12px; max-width: 52ch; }
.head { margin-bottom: 32px; }
.head.center { text-align: center; }
.head.center .lead { margin-inline: auto; }
.note { font-size: 13.5px; color: var(--muted); }
.center-note { text-align: center; margin-top: 14px; }
.tiny { font-size: 13px; color: var(--muted); }
.sub-h { font-size: 18px; margin: 40px 0 16px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font); text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-xl { padding: 20px 36px; font-size: 20px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.band-navy .btn-navy { background: var(--gold); color: var(--navy); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.cta-row { margin-top: 32px; }
.cta-row.center { text-align: center; }

/* Topo */
.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 31, 68, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mark { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.brand b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; white-space: nowrap; }
.top nav a:not(.btn) { color: #C9D2E8; text-decoration: none; }
.top nav a:not(.btn):hover { color: #fff; }
@media (max-width: 900px) { .top nav .hide-sm { display: none; } }

/* Hero */
.hero { padding-block: 40px 56px; background: radial-gradient(900px 500px at 85% -10%, rgba(201, 168, 76, .14), transparent 60%), var(--navy); }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(34px, 9.5vw, 60px); line-height: 1.06; font-weight: 700; color: #fff; }
.hero h1 span { color: var(--gold); }
.hero .sub { margin-top: 16px; font-size: 18px; font-weight: 300; color: #C9D2E8; max-width: 44ch; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.actions .btn { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .08); color: #E5EAF5; border: 1px solid rgba(255, 255, 255, .12); }
.chips .ic { width: 16px; height: 16px; color: var(--gold); }
.chips.light li { background: #fff; color: var(--fg); border-color: var(--line); }
.chips.light .ic { color: var(--accent); }
.hero-art { display: none; }
@media (min-width: 900px) {
  .hero { padding-block: 72px 88px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .actions { flex-direction: row; }
  .actions .btn { width: auto; }
  .hero-art { display: block; }
  .hero-art img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); }
}

/* Cards */
.cards4 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.card h3 { font-size: 16px; line-height: 1.25; }
.card p { font-size: 14px; color: var(--muted); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 4px; flex: none; }
.path { transition: transform .2s, border-color .2s; }
.path:hover { transform: translateY(-3px); border-color: var(--gold); }
.go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.go .ic { width: 16px; height: 16px; }
.paths-sec { padding-block: 48px 56px; }

/* Diagnóstico */
.diag-sec { background: radial-gradient(700px 400px at 10% 110%, rgba(201, 168, 76, .12), transparent 60%), var(--navy-2); }
.diag { max-width: 680px; margin: 0 auto; background: #fff; color: var(--navy); --fg: var(--navy); --muted: #4F5C78; --line: #E1E6F0; border-radius: 22px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.diag-bar { height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 22px; }
.diag-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.diag .q-n { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.diag h3 { font-size: 21px; margin: 6px 0 16px; }
.diag .opts { display: grid; gap: 10px; }
.diag .opt { text-align: left; font: 500 16px/1.3 var(--font); color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.diag .opt:hover, .diag .opt:focus-visible { border-color: var(--gold); background: #FBF7EA; outline: none; }
.diag .back { margin-top: 14px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 0; }
.diag .res h3 { margin-top: 0; }
.diag .res p { color: var(--muted); margin-bottom: 12px; }
.diag .res ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); list-style: disc; }
.diag .res .acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.diag .btn-navy { background: var(--navy); color: #fff; }

/* MEI */
.zones3 { display: grid; gap: 12px; }
@media (min-width: 760px) { .zones3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.zone { border-radius: var(--radius); padding: 20px; border: 1.5px solid var(--line); background: #fff; border-top-width: 6px; box-shadow: var(--shadow); }
.zone small { display: block; font-size: 13px; color: var(--muted); }
.zone b { display: block; font-size: 28px; font-weight: 700; line-height: 1.15; margin: 2px 0 6px; }
.zone p { font-size: 14.5px; color: var(--muted); }
.zone.ok { border-top-color: var(--ok); } .zone.ok b { color: var(--ok); }
.zone.warn { border-top-color: var(--warn); } .zone.warn b { color: var(--warn); }
.zone.bad { border-top-color: var(--bad); } .zone.bad b { color: var(--bad); }

.steps4 { display: grid; gap: 10px; counter-reset: s; }
@media (min-width: 760px) { .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.steps4 li { counter-increment: s; position: relative; background: var(--soft); border-radius: 14px; padding: 16px 16px 16px 62px; display: grid; gap: 2px; }
.steps4 li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; display: grid; place-items: center; }
.steps4 b { font-size: 15.5px; }
.steps4 span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 760px) { .steps4 li { padding: 64px 16px 18px; } .steps4 li::before { left: 16px; top: 16px; transform: none; } }

.dl-card { margin-top: 32px; display: grid; gap: 16px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; }
.dl-card h3 { font-size: 18px; }
.dl-card p { font-size: 14.5px; color: #B5C0D9; margin-top: 2px; }
.dl-card .btn-navy { background: var(--gold); color: var(--navy); }
.dl-card .ico { background: rgba(255, 255, 255, .1); }
@media (min-width: 760px) { .dl-card { grid-template-columns: auto 1fr auto; padding: 24px 28px; } .dl-card .ico { margin: 0; } }

/* Detalhes (acordeões) */
.more { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.more summary, .acc summary, .faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.more summary::-webkit-details-marker, .acc summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary::after, .acc summary::after, .faq summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.more p { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
.more.tall { margin-top: 0; align-self: start; }

/* Reforma */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; } }
.ticks { display: grid; gap: 14px; margin: 24px 0 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks .ic { color: var(--accent); margin-top: 2px; }

/* Como funciona */
.how { padding-block: 56px; }
.how3 { display: grid; gap: 14px; counter-reset: h; }
@media (min-width: 760px) { .how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.how3 li { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.how3 .num { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; display: grid; place-items: center; margin-bottom: 8px; }
.how3 b { font-size: 18px; color: #fff; }
.how3 span:not(.num) { color: #B5C0D9; font-size: 15px; }

/* Dados e dores */
.stats3 { display: grid; gap: 12px; }
@media (min-width: 760px) { .stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.stat { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.stat .n { font-size: 48px; font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.stat .n small { font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.stat p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { padding: 18px 4px; font-size: 16px; }
.acc details p { padding: 0 4px 12px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.acc .im { padding-bottom: 18px; color: var(--fg); }
.acc .im b { color: var(--accent); }
@media (min-width: 900px) { .acc { columns: 2; column-gap: 40px; } .acc details { break-inside: avoid; } }

/* Sobre */
.about { display: grid; gap: 28px; align-items: center; }
.portrait img { border-radius: 24px; width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about .chips { margin: 20px 0 8px; }
.motto { font-style: italic; color: var(--accent); margin: 14px 0 24px; }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 64px; } .portrait img { margin: 0; } }

/* Depoimentos */
.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 82%; max-width: 380px; scroll-snap-align: center; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote.main { background: var(--navy); border-color: var(--navy); color: #fff; }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.quote.main figcaption span { color: #B5C0D9; }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; }
.quote figcaption b { font-size: 15px; }
.quote figcaption span { color: var(--muted); }
.swipe-hint { text-align: center; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
@media (min-width: 900px) {
  .carousel { overflow: visible; flex-wrap: wrap; justify-content: center; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
  .quote { flex: 1 1 calc(50% - 14px); max-width: none; }
  .swipe-hint { display: none; }
}

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 4px; font-size: 16px; }
.faq details p { padding: 0 4px 20px; color: var(--muted); max-width: 70ch; }

/* Contato */
.contact { padding-block: 64px; }
.contact-main { text-align: center; display: grid; justify-items: center; gap: 12px; }
.contact-main .btn { width: 100%; max-width: 420px; }
.contact-list { max-width: 560px; margin: 32px auto 0; display: grid; gap: 10px; }
.citem { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #22407A; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.citem .ic { color: var(--gold); }
.citem span { flex: 1; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.legal { margin-top: 40px; display: grid; gap: 4px; font-size: 12.5px; color: #8FA0C4; text-align: center; }

/* Fontes e rodapé */
.sources { padding-block: 28px; background: var(--soft); }
.sources summary { cursor: pointer; font-weight: 500; font-size: 14px; color: var(--muted); }
.sources ul { margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); list-style: disc; padding-left: 20px; }
.sources .note { margin-top: 14px; }
footer { background: var(--navy); color: #8FA0C4; font-size: 13px; padding-block: 22px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: inherit; text-underline-offset: 3px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: #1FA855; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); transition: transform .2s, opacity .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 700px) { .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float .ic { width: 26px; height: 26px; } }

/* Desktop */
@media (min-width: 900px) {
  body { font-size: 17px; }
  section { padding-block: 96px; }
  .head { margin-bottom: 44px; }
  .lead { font-size: 19px; }
  .card { padding: 26px 22px; }
  .card h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Página de política (privacidade.html) */
.pol { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.pol h1 { font-size: 32px; margin-bottom: 8px; }
.pol h2 { font-size: 19px; margin: 32px 0 8px; }
.pol p, .pol li { color: var(--muted); margin-bottom: 10px; }
.pol ul { padding-left: 20px; list-style: disc; }

/* Janela de captação (download do PDF) */
.lead { border: 0; padding: 0; background: transparent; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; color: var(--fg); }
.lead::backdrop { background: rgba(6, 16, 36, .72); backdrop-filter: blur(3px); }
.lead-box { position: relative; background: #fff; border-radius: 22px; padding: 28px 22px 24px; max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 5px solid var(--gold); }
.lead-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.lead-x:hover { background: var(--soft); }
.lead-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: #F8F1DC; padding: 5px 12px; border-radius: 999px; }
.lead h3 { font-size: 22px; margin-top: 12px; padding-right: 28px; }
.lead-sub { color: var(--muted); font-size: 15px; margin: 6px 0 18px; }
.lead form { display: grid; gap: 14px; }
.lead .f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.lead input[type=text], .lead input[type=email], .lead input[type=tel], .lead select { width: 100%; font: 400 16px var(--font); color: var(--fg); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 14px; min-height: 50px; appearance: none; -webkit-appearance: none; }
.lead select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.lead input:focus, .lead select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, .3); background-color: #fff; }
.lead .bad { border-color: var(--bad); }
.lead .chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 400; color: var(--muted); cursor: pointer; }
.lead .chk input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.lead .chk a { color: var(--accent); }
.lead .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lead-err { color: var(--bad); font-size: 14px; font-weight: 600; }
.lead-go { width: 100%; margin-top: 4px; }
.lead-go[disabled] { opacity: .7; cursor: wait; }
#leadDone { text-align: center; padding: 8px 0; }
#leadDone h3 { padding: 0; margin-top: 10px; }
#leadDone .btn { width: 100%; }
#leadDone .btn-line { color: var(--navy); border-color: var(--navy); margin-top: 4px; }
.lead-ok { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #E7F4EC; color: var(--ok); }
.lead-ok .ic { width: 28px; height: 28px; }
@media (max-width: 520px) { .lead { width: 100vw; max-height: 100dvh; margin: auto 0 0; } .lead-box { border-radius: 22px 22px 0 0; max-height: 94dvh; } }
