/* ==========================================================================
   Malvcon Contabilidade — Folha de estilos
   ========================================================================== */

:root {
  --ink: #0b1b2e;
  --navy: #0f2a47;
  --navy-2: #163a5f;
  --green: #0e7c66;
  --green-d: #0a5f4e;
  --mint: #e7f4f0;
  --amber: #f2a93b;
  --amber-d: #dd9023;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #1c2b3d;
  --muted: #5a6879;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 46, .06), 0 2px 8px rgba(11, 27, 46, .04);
  --shadow: 0 10px 30px rgba(11, 27, 46, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 46, .22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.55rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(242, 169, 59, .38); }
.btn--primary:hover { background: var(--amber-d); color: var(--ink); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(14, 124, 102, .30); }
.btn--green:hover { background: var(--green-d); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { padding: 12px 20px; font-size: .95rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c9d4e2; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar a { color: #e9eef5; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; opacity: .8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:not(.btn):hover { background: var(--mint); color: var(--green-d); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14,124,102,.55), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(242,169,59,.16), transparent 60%),
    linear-gradient(160deg, #0b1b2e 0%, #0f2a47 60%, #12385b 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 84px 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { font-size: 1.2rem; color: #cfdae8; max-width: 580px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #bfe9de; background: rgba(14,124,102,.28); border: 1px solid rgba(94,214,185,.35);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5ed6b9; box-shadow: 0 0 0 4px rgba(94,214,185,.25); }
.trust { display: flex; gap: 12px 26px; flex-wrap: wrap; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 9px; color: #dbe5f1; font-size: .95rem; font-weight: 500; }
.trust svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

/* ---------- Cartão do formulário ---------- */
.lead-card {
  background: #fff; color: var(--text); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--amber);
}
.lead-card h2 { font-size: 1.55rem; margin-bottom: 6px; }
.lead-card__sub { color: var(--muted); font-size: .98rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #cfd8e3; border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14,124,102,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 16px; line-height: 1.5; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.form-status { font-size: .92rem; font-weight: 600; color: var(--green-d); margin-top: 10px; min-height: 1.2em; }
.form-actions { display: grid; gap: 10px; }
.link-btn { background: none; border: none; font: inherit; color: var(--green-d); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }

/* ---------- Seções ---------- */
.section { padding-block: 96px; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--ink); color: #cfdae8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--amber); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section--dark .section-head p { color: #aebdd0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3dd; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--mint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 28px; height: 28px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.card__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* Para quem */
.audience { display: flex; flex-wrap: wrap; gap: 14px; }
.audience li {
  list-style: none; display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  padding: 16px 22px; border-radius: 999px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}
.audience svg { width: 22px; height: 22px; color: var(--green); }

/* Processo */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--amber);
  display: block; line-height: 1; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: #aebdd0; margin: 0; font-size: .96rem; }

/* Diferenciais */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits { display: grid; gap: 22px; list-style: none; }
.benefits li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.benefits .icon { width: 48px; height: 48px; margin: 0; border-radius: 12px; }
.benefits .icon svg { width: 24px; height: 24px; }
.benefits h3 { font-size: 1.1rem; margin-bottom: 4px; }
.benefits p { margin: 0; color: var(--muted); font-size: .97rem; }

.panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe5f1; border-radius: 24px; padding: 40px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.panel::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(circle, rgba(242,169,59,.35), transparent 70%); }
.panel h3 { color: #fff; font-size: 1.4rem; margin-bottom: 20px; position: relative; z-index: 1; }
.data-list { list-style: none; display: grid; gap: 16px; position: relative; z-index: 1; }
.data-list li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.data-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.data-list span { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #8fa6c0; font-weight: 700; }
.data-list strong { color: #fff; font-weight: 600; font-size: 1rem; }
.data-list a { color: #fff; }
.data-list a:hover { color: var(--amber); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--green); font-weight: 400; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: #bfe1d8; }
.faq .answer { padding: 0 26px 24px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-d), var(--green) 55%, #139a80);
  color: #fff; padding-block: 72px; position: relative; overflow: hidden;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #d6f1e9; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; margin: 32px 0; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.contact-list .icon { width: 52px; height: 52px; margin: 0; }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--green); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Rodapé */
.site-footer { background: var(--ink); color: #aebdd0; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand__tag { color: #8fa6c0; }
.site-footer p { margin: 18px 0 0; max-width: 340px; }
.site-footer h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #aebdd0; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer button.link-btn { color: #aebdd0; padding: 0; font-weight: 400; text-decoration: none; }
.site-footer button.link-btn:hover { color: var(--amber); }
.site-footer--slim { padding-top: 0; }
.site-footer--slim .footer-bottom a { color: #cfdae8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8fa6c0; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Páginas legais ---------- */
.page-hero { background: linear-gradient(160deg, #0b1b2e, #12385b); color: #fff; padding-block: 64px 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 10px; }
.page-hero p { color: #b9c8da; margin: 0; max-width: 680px; }
.crumbs { font-size: .88rem; color: #8fa6c0; margin-bottom: 18px; }
.crumbs a { color: #cfdae8; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.legal-wrap { display: grid; grid-template-columns: 270px 1fr; gap: 56px; padding-block: 64px 96px; align-items: start; }
.toc { position: sticky; top: 100px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; font-size: .92rem; }
.toc h2 { font-family: var(--font); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.legal { max-width: 780px; }
.legal .updated { display: inline-block; background: var(--mint); color: var(--green-d); font-size: .85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.legal h2 { font-size: 1.55rem; margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 1em; border-top: 0; padding-top: 0; }
.legal h3 { font-family: var(--font); font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.legal li { margin-bottom: .5em; }
.legal p, .legal li { color: #2e3e52; }
.legal .callout { background: var(--bg); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 1.4em 0; }
.legal .callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal tr:last-child td { border-bottom: 0; }
.legal code { background: var(--bg); padding: 2px 7px; border-radius: 6px; font-size: .88em; border: 1px solid var(--line); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--green); margin: 0; }

/* ---------- Cookies ---------- */
.cc-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(440px, calc(100% - 40px)); background: #fff; color: var(--text);
  border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 24px; animation: rise .35s ease;
}
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.cc-banner h2 { font-family: var(--font); font-size: 1.05rem; margin-bottom: 8px; }
.cc-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; line-height: 1.55; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { padding: 12px 18px; font-size: .9rem; flex: 1 1 auto; }
.cc-modal { position: fixed; inset: 0; z-index: 400; background: rgba(11,27,46,.6); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.cc-modal[hidden], .cc-banner[hidden] { display: none; }
.cc-dialog { background: #fff; border-radius: 20px; width: min(580px, 100%); padding: 32px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 40px); overflow-y: auto; }
.cc-dialog h2 { font-size: 1.5rem; }
.cc-dialog > p { color: var(--muted); font-size: .95rem; }
.cc-cat { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.cc-cat h3 { font-family: var(--font); font-size: 1rem; margin-bottom: 4px; }
.cc-cat p { margin: 0; font-size: .87rem; color: var(--muted); }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; margin: 0; }
.switch span { position: absolute; inset: 0; background: #c3cedb; border-radius: 999px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%; left: 3px; top: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.cc-dialog .cc-actions { margin-top: 20px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 60px 72px; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 14px 20px 22px; display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px; }
  .nav .btn { margin: 10px 0 0; }
  .topbar__group:last-child { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 68px; }
  .grid--3, .grid--2, .grid--4, .steps, .row-2 { grid-template-columns: 1fr; }
  .lead-card, .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; }
  .cta-band__actions { width: 100%; }
  .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .wa-float, .cc-banner, .cc-modal, .toc, .site-footer { display: none !important; }
  .legal-wrap { display: block; padding: 0; }
}
