/* ==========================================================
   Essencial Serviços e Assessoria: estilos da landing page
   Paleta obrigatória: #10243A, #FFFFFF, #FFC928, #F3F5F7
   (demais tons são variações de contraste derivadas da paleta)
   ========================================================== */

:root {
  --navy: #10243A;
  --navy-2: #1A3452;      /* variação clara do azul-escuro, para superfícies sobre fundo azul */
  --navy-3: #0B1A2B;      /* variação escura, para rodapé */
  --yellow: #FFC928;
  --yellow-hover: #FFD65C;
  --white: #FFFFFF;
  --gray: #F3F5F7;
  --line: #D8DFE6;
  --muted: #475A6E;       /* texto secundário sobre branco/cinza (contraste AA) */
  --muted-light: #B9C6D4; /* texto secundário sobre azul-escuro */
  --danger: #B3261E;

  --font-head: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --r-card: 10px;
  --r-btn: 8px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--yellow); color: var(--navy); padding: .6rem 1rem; border-radius: var(--r-btn); z-index: 100; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Foco visível em todos os elementos interativos */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section :focus-visible, .site-header :focus-visible, .form-card :focus-visible { outline-color: var(--navy); }
.bg-navy :focus-visible, .hero :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.form-card :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: var(--r-btn); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); text-decoration: underline; }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; margin-top: 2.5rem; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); height: var(--header-h); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; color: var(--navy); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { font-size: .62rem; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-top: .25rem; }
.brand-on-dark, .brand-on-dark .brand-mark { color: var(--white); --mark-ring: var(--navy-3); }
.brand-on-dark small { color: var(--muted-light); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; list-style: none; gap: 1.25rem; }
.main-nav ul a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a.active { border-bottom-color: var(--yellow); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy); content: ""; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
/* Treliça hexagonal discreta, referência à estrutura molecular */
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 2l26 15v30L28 62 2 47V17zM28 62v33M2 47L-24 62M54 47l26 15' fill='none' stroke='%231A3452' stroke-width='1.5'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 { color: var(--white); max-width: 20ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #DCE5EE; max-width: 58ch; }
.hero-copy .btn-row { margin: 1.75rem 0 1.5rem; }
.hero-note { color: var(--muted-light); font-size: .98rem; max-width: 58ch; border-left: 3px solid var(--yellow); padding-left: 1rem; }

/* Composição visual: FDS + rótulo (ilustração conceitual) */
.hero-visual { position: relative; margin: 0; min-height: 440px; display: block; }
.sheet { position: absolute; left: 0; top: 0; width: 72%; background: var(--white); color: var(--navy); border-radius: 12px; padding: 1.25rem 1.25rem 1rem; box-shadow: 0 24px 48px rgba(0,0,0,.35); animation: rise .8s ease-out both; }
.sheet-head { display: flex; gap: .7rem; align-items: center; padding-bottom: .9rem; border-bottom: 2px solid var(--gray); margin-bottom: .8rem; }
.sheet-mark { width: 38px; height: 38px; color: var(--navy); flex: none; }
.sheet-head b { display: block; font-family: var(--font-head); font-size: .95rem; line-height: 1.2; }
.sheet-head span { font-size: .75rem; color: var(--muted); }
.sheet-sections { list-style: none; counter-reset: s; display: grid; gap: .1rem; }
.sheet-sections li { counter-increment: s; display: flex; gap: .6rem; font-size: .8rem; padding: .35rem .5rem; border-radius: 6px; }
.sheet-sections li::before { content: counter(s); font-weight: 700; width: 1.2rem; color: var(--muted); flex: none; }
.sheet-sections li:nth-child(2) { background: #FFF4CC; font-weight: 600; }
.sheet-sections li:nth-child(2)::before { color: var(--navy); }
.sheet-more { margin-top: .6rem; font-size: .72rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .6rem; }

.link-line { position: absolute; left: 58%; top: 118px; width: 3px; height: 150px; background: var(--yellow); border-radius: 3px; }
.link-line::before, .link-line::after { content: ""; position: absolute; left: -4px; width: 11px; height: 11px; background: var(--yellow); border-radius: 50%; }
.link-line::before { top: -4px; }
.link-line::after { bottom: -4px; }

.label-card { position: absolute; right: 0; bottom: 18px; width: 56%; background: var(--white); color: var(--navy); border-radius: 12px; padding: 1.1rem; box-shadow: 0 24px 48px rgba(0,0,0,.4); animation: rise .8s .15s ease-out both; }
.label-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.diamond { width: 56px; height: 56px; flex: none; position: relative; }
.diamond::before { content: ""; position: absolute; inset: 6px; border: 4px solid #C62828; transform: rotate(45deg); background: var(--white); }
.diamond span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.label-signal small { display: block; font-size: .68rem; color: var(--muted); }
.label-signal b { font-family: var(--font-head); font-size: 1.15rem; }
.bars { display: grid; gap: .4rem; margin-bottom: .9rem; }
.bars i { height: 7px; background: var(--gray); border-radius: 4px; display: block; }
.bars i.short { width: 60%; }
.label-foot { font-size: .72rem; font-weight: 600; background: var(--navy); color: var(--white); padding: .35rem .6rem; border-radius: 6px; display: inline-block; }
.hero-visual figcaption { position: absolute; left: 0; bottom: -4px; font-size: .75rem; color: var(--muted-light); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-navy .section-head p { color: #DCE5EE; }
.small-note { font-size: .9rem; color: var(--muted-light); }
.small-note.dark { color: var(--muted); }
.lead-dark { font-size: 1.15rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.split-tight { gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 2rem; height: 100%; }
.panel-brand { background: var(--navy); color: var(--white); border-color: var(--navy); }
.panel-brand p { color: #DCE5EE; }
.facts { margin: 0 0 1rem; display: grid; gap: 1.1rem; }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.facts dd { margin: .1rem 0 0; color: var(--muted); font-size: .98rem; }
.facts > div { border-left: 3px solid var(--yellow); padding-left: 1rem; }
.source { font-size: .85rem; color: var(--muted); margin: 0; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem; transition: border-color .2s, transform .2s; }
.bg-gray .card { border-color: transparent; }
.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card h3 { margin-bottom: .5rem; }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: 8px; background: var(--navy); fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.card-path { border-top: 4px solid var(--yellow); }
.card-path h3 { font-size: 1.3rem; }

/* Fluxo (sequência real, por isso numerado) */
.flow { margin-top: 3rem; background: var(--gray); border-radius: var(--r-card); padding: 2rem; }
.flow ol { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.flow li { counter-increment: f; position: relative; padding-top: 3rem; }
.flow li::before { content: counter(f); position: absolute; top: 0; left: 0; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--navy); color: var(--yellow); border-radius: 50%; font-weight: 700; font-family: var(--font-head); }
.flow li::after { content: ""; position: absolute; top: 1.05rem; left: 2.6rem; right: -1rem; height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow li b { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.flow li span { color: var(--muted); font-size: .96rem; }

/* Demonstração */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.demo-copy h2 { color: var(--white); }
.check-list, .ticks { list-style: none; display: grid; gap: .75rem; margin: 1.5rem 0; }
.check-list li, .ticks li { position: relative; padding-left: 2rem; }
.check-list li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%2310243A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.ticks-lg { font-size: 1.1rem; background: var(--gray); padding: 2rem; border-radius: var(--r-card); margin: 0; }

/* Formulários */
.form-card { background: var(--white); color: var(--navy); border-radius: 12px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.form-light { border: 1px solid var(--line); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--navy); background: var(--white); border: 1.5px solid #8A99A9; border-radius: var(--r-btn); }
textarea { resize: vertical; min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid var(--yellow); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; min-height: 0; }
.err:empty { display: none; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--navy); }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.form-status .msg { border-radius: var(--r-btn); padding: 1rem 1.1rem; font-size: .96rem; }
.msg-ok { background: #E7F5EC; border: 1px solid #2E7D4F; color: #14502D; }
.msg-warn { background: #FFF4CC; border: 1px solid #C79A00; color: #4A3900; }
.msg-err { background: #FDECEA; border: 1px solid var(--danger); color: #6B1410; }
.form-status .btn-row { margin-top: .75rem; }
.form-status .msg p { margin: 0 0 .4rem; }

/* Serviços */
.service h2 { max-width: 22ch; }
.service > p { color: var(--muted); }
.ticks li { color: var(--navy); }
.callout { background: var(--gray); border-left: 4px solid var(--yellow); padding: 1rem 1.2rem; margin: 1.5rem 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.service-alt { background: var(--gray); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.5rem); }

/* Diferenciais */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.chips li { background: var(--white); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; font-size: .94rem; font-weight: 500; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; background: var(--navy); color: var(--white); padding: 1.75rem 2rem; border-radius: var(--r-card); }
.cta-band h3 { margin: 0; font-size: 1.4rem; }

/* Legislação */
.article-card { display: flex; flex-direction: column; }
.article-card .meta { font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.article-card p { flex: 1; margin-bottom: 1.25rem; }
.article-card .btn { align-self: flex-start; }
.article-card.is-empty { background: transparent; border: 2px dashed var(--line); }
.article-card.is-empty:hover { transform: none; border-color: var(--line); }
.status-tag { display: inline-block; background: #FFF4CC; color: #4A3900; font-size: .78rem; font-weight: 600; padding: .15rem .5rem; border-radius: 4px; margin-bottom: .6rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 2rem; }

/* Chamada final */
.final-cta { background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.final-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { color: var(--white); max-width: 26ch; }
.final-cta p { color: #DCE5EE; margin: 0; }

/* Rodapé */
.site-footer { background: var(--navy-3); color: var(--white); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: .8rem; color: var(--yellow); }
.contact-list { list-style: none; display: grid; gap: .5rem; font-size: .96rem; }
.contact-list a, .link-btn { color: var(--white); text-decoration: none; }
.contact-list a:hover, .link-btn:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-note { color: var(--muted-light); font-size: .88rem; margin-top: 1rem; max-width: 36ch; }
.footer-base { border-top: 1px solid var(--navy-2); padding: 1.25rem 0; font-size: .85rem; color: var(--muted-light); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(16,36,58,.35); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; }

/* Modais */
.modal { border: 0; border-radius: 12px; padding: 0; width: min(760px, calc(100% - 2rem)); max-height: 88vh; color: var(--navy); }
.modal-sm { width: min(520px, calc(100% - 2rem)); }
.modal::backdrop { background: rgba(11,26,43,.7); }
.modal-inner { padding: clamp(1.4rem, 4vw, 2.5rem); position: relative; overflow-y: auto; max-height: 88vh; }
.modal-close { position: absolute; top: .6rem; right: .8rem; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--navy); }
.modal h2 { padding-right: 2.5rem; }
.modal h3 { margin-top: 1.5rem; }
.modal .meta { color: var(--muted); font-size: .88rem; }
.modal ul { padding-left: 1.2rem; }
.modal .src-list { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; }
fieldset { border: 0; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.check-box { border: 1px solid var(--line); border-radius: var(--r-btn); padding: .85rem 1rem; }
.check-box b { display: block; }

/* Banner de cookies */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 920px; margin-inline: auto; background: var(--white); color: var(--navy); border: 1px solid var(--navy); border-radius: 12px; padding: 1.1rem 1.25rem; box-shadow: 0 12px 36px rgba(16,36,58,.3); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; flex: 1 1 340px; }
.cookie-banner a { text-decoration: underline; }

/* Página de privacidade */
.doc { padding: 3rem 0 5rem; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--navy); }
.doc h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.doc ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.doc li { margin-bottom: .35rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.doc th { background: var(--gray); }
.validate { background: #FFF4CC; border: 1px solid #C79A00; border-radius: 4px; padding: .05rem .4rem; font-weight: 600; font-size: .85em; color: #4A3900; }
.doc-banner { background: #FFF4CC; border-left: 4px solid #C79A00; padding: 1rem 1.2rem; border-radius: 0 var(--r-btn) var(--r-btn) 0; margin: 1.5rem 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
  .main-nav ul { gap: .9rem; }
  .main-nav ul a { font-size: .88rem; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.5rem; display: none; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .85rem 0; font-size: 1rem; border-bottom: 1px solid var(--gray); }
  .hero-grid, .split, .demo-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow ol { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cards-3, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero-visual { min-height: 470px; }
  .sheet { width: 82%; }
  .label-card { width: 66%; }
  .link-line { left: 62%; }
  .cookie-banner .btn-row .btn { width: auto; flex: 1 1 auto; }
  .brand-text small { display: none; }
}

/* Preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Páginas internas */
.page-head { background: var(--navy); color: var(--white); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-head h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 24ch; }
.page-head p { color: rgba(255,255,255,.82); max-width: 60ch; margin-top: .75rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .cards-2 { grid-template-columns: 1fr; } }

.demo-copy h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin-bottom: 1rem; }
.form-title { font-size: 1.25rem; margin-bottom: 1rem; }

.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

/* Campos em coluna única dentro dos formulários, para o telefone e os textos caberem */
.form-card .field-row { grid-template-columns: 1fr; }
.form-card input:not([type="checkbox"]), .form-card select { min-width: 0; width: 100%; }
.form-card input[type="checkbox"] { width: 22px; min-width: 22px; height: 22px; flex: none; }
