/* Fontes hospedadas no próprio domínio (sem requisições a terceiros) */
@font-face {
  font-family: "Source Serif";
  src: url("/fontes/source-serif.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/fontes/source-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fontes/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #000c1b;
  --blue: #0e1d32;
  --gold: #b98a43;
  --gold-light: #d7b272;
  --gold-dark: #8d6429;
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #17202d;
  --muted: #5d6676;
  --line: #e5e1d8;
  --line-strong: #d8d2c7;
  --serif: "Source Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 24px 60px rgba(0, 12, 27, .10);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.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: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; background: #fff; color: #000; border-radius: 4px; font-weight: 600; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Marcador de dado pendente: aparece destacado para não ser publicado por engano */
.pendente { padding: 0 .35em; border: 1px dashed #e05a47; border-radius: 3px; background: rgba(224, 90, 71, .14); color: inherit; }

/* Tipografia */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); color: #fff; margin-bottom: 26px; }
h1 em { color: var(--gold-light); font-style: italic; font-weight: 400; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); margin-bottom: 20px; color: var(--navy); }
h3 { font-size: 1.4rem; color: var(--navy); }
p { text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--gold-dark); font-size: .88rem; font-weight: 600; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: 0 0 auto; }
.eyebrow-light { color: var(--gold-light); }
.lead { max-width: 640px; font-size: 1.125rem; color: #cdd5df; }

/* Botões e links */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--gold); background: var(--gold); color: var(--navy); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: background .2s, border-color .2s; }
.button:hover { background: #d1a75f; border-color: #d1a75f; }
.button-compact { min-height: 42px; padding-inline: 18px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; color: #fff; font-size: .9rem; font-weight: 600; }
.text-link span { color: var(--gold-light); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* Cabeçalho */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled, .inner-header { background: rgba(0, 12, 27, .96); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.nav-shell { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.wordmark img { width: 34px; height: 44px; object-fit: contain; }
.wordmark span { display: grid; line-height: 1; }
.wordmark strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.wordmark small { margin-top: 7px; color: var(--gold-light); font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.main-menu { display: flex; align-items: center; gap: 28px; font-size: .84rem; font-weight: 500; }
.main-menu > a:not(.button) { color: #e7ecf1; position: relative; padding: 8px 0; }
.main-menu > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .25s; }
.main-menu > a:not(.button):hover::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.inner-menu-button { flex: 0 0 auto; }
.menu-button i { display: block; height: 1.5px; margin: 6px 0; background: #fff; transition: .25s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 96px; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .75fr; align-items: center; gap: 80px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 34px 0 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; color: #aab5c2; font-size: .85rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta strong { color: #fff; font-weight: 600; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--gold-light); }
.portrait { position: relative; margin: 0; padding: 20px 0 0 20px; }
.portrait-backdrop { position: absolute; inset: 0 24px 30px 0; border: 1px solid rgba(185,138,67,.5); }
.portrait picture, .portrait img { position: relative; display: block; width: 100%; }
.portrait img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.portrait figcaption { position: absolute; left: -24px; bottom: 40px; display: grid; gap: 2px; min-width: 260px; padding: 16px 22px; background: var(--paper); box-shadow: var(--shadow); }
.portrait figcaption > span { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; line-height: 1.2; }
.portrait figcaption small { color: var(--muted); font-size: .78rem; }

/* Seções */
section { padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 72px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); }
.section-disclaimer { margin: 24px 0 0; color: var(--muted); font-size: .82rem; }

/* Áreas de atuação */
.practice { background: var(--paper); }
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.need-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 32px 34px 30px; background: #fff; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.need-card::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 2px; background: var(--gold); }
.need-index { display: block; margin-bottom: 28px; color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.need-card h3 { margin: 0 0 12px; font-size: 1.55rem; }
.need-card > p { max-width: 520px; margin: 0 0 28px; color: var(--muted); }
.need-links { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.need-links li { border-bottom: 1px solid var(--line); }
.need-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; color: var(--ink); font-size: .84rem; font-weight: 500; transition: color .2s, padding .2s; }
.need-links a span { color: var(--gold-dark); font-size: 1rem; transition: transform .2s; }
.need-links a:hover { color: var(--gold-dark); }
.need-links a:hover span { transform: translateX(4px); }
.topic-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0 0 44px; padding: 0; list-style: none; }
.topic-links li { margin: 0; }
.topic-links a { display: block; padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.topic-links a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 640px) {
  .topic-links { grid-template-columns: 1fr; }
}

/* Como funciona */
.process { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 34px 36px 8px 0; counter-increment: step; }
.steps li + li { padding-left: 36px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 22px; color: var(--gold-dark); font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }
.process-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 56px; padding: 30px 34px; background: var(--paper); border-left: 3px solid var(--gold); }
.process-cta p { margin: 0; max-width: 640px; color: var(--ink); }

/* Sobre */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; }
.about-heading blockquote { margin: 44px 0 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--gold); color: #4c5563; font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.5; }
.about-body .intro { color: var(--navy); font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; }
.about-body > p:not(.intro) { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 24px; }
.facts dt { color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-size: .95rem; }

/* Conteúdos */
.recent { background: #fff; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 32px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.article-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.article-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.article-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.article-meta span { color: var(--gold-dark); font-weight: 700; }
.article-featured .article-meta { color: #9aa6b4; }
.article-featured .article-meta span { color: var(--gold-light); }
.article-card h3 { margin: 44px 0 16px; font-size: 1.7rem; }
.article-featured h3 { color: #fff; }
.article-card > p:not(.article-meta) { color: var(--muted); font-size: .95rem; }
.article-featured > p:not(.article-meta) { color: #bcc5d0; }
.article-card a { margin-top: auto; padding-top: 24px; color: var(--gold-dark); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-card a::after { content: ""; position: absolute; inset: 0; }
.article-featured a { color: var(--gold-light); }
.content-guides { margin-top: 28px; border-top: 1px solid var(--line); }
.content-guide { scroll-margin-top: calc(var(--header-h) + 24px); border-bottom: 1px solid var(--line); background: #fff; }
.content-guide summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 4px; cursor: pointer; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; list-style: none; }
.content-guide summary::-webkit-details-marker { display: none; }
.content-guide summary small { display: block; margin-bottom: 6px; color: var(--gold-dark); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.content-guide summary b { color: var(--gold-dark); font-family: var(--sans); font-size: 1.4rem; font-weight: 300; transition: transform .2s; }
.content-guide[open] summary b { transform: rotate(45deg); }
.guide-body { max-width: 820px; padding: 0 4px 34px; color: #475467; }
.guide-body h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.guide-body ul { padding-left: 20px; }
.guide-body li + li { margin-top: 6px; }
.guide-note { padding: 16px 18px; border-left: 2px solid var(--gold); background: var(--paper); font-size: .9rem; }
.guide-source { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-dark); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

.official-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.official-inline p { margin: 0; color: var(--ink); }
.official-inline ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.official-inline a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.official-inline a::after { content: " ↗"; font-weight: 400; }

/* Dúvidas */
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 96px; }
.faq-layout > div:first-child > p:last-child { color: var(--muted); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; cursor: pointer; padding: 22px 48px 22px 0; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 18px; right: 4px; color: var(--gold-dark); font-family: var(--sans); font-size: 1.5rem; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 680px; padding-right: 30px; color: var(--muted); }

/* Contato */
.contact { padding: 0; background: #fff; }
.contact-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 80px 72px; background: var(--blue); color: #fff; transform: translateY(45px); }
.contact h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { color: #bcc5d0; }
.contact-place { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; color: #aab5c2; font-size: .88rem; }
.contact-place .icon { color: var(--gold-light); }
.contact-links { border-top: 1px solid rgba(255,255,255,.16); }
.contact-links a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-links a:hover strong { color: var(--gold-light); }
.contact-symbol { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(216,178,112,.55); border-radius: 50%; color: var(--gold-light); }
.contact-links a.is-primary .contact-symbol { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.contact-links span:nth-child(2) { display: grid; }
.contact-links small { color: #9aa6b4; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-links strong { font-size: .98rem; font-weight: 600; transition: color .2s; overflow-wrap: anywhere; }
.contact-links b { color: var(--gold-light); font-weight: 400; }
.contact-note { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #a3aebb; font-size: .85rem; }



.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span:last-child { color: var(--ink); }

/* Presença local */
.local-presence { padding: 108px 0; background: #f2efe8; }
.local-presence-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.local-presence-copy { max-width: 680px; color: var(--muted); font-size: 1.03rem; }
.local-presence-copy p { margin-bottom: 18px; }
.local-note { padding-top: 18px; border-top: 1px solid var(--line-strong); color: var(--ink); font-size: .92rem; }
.inline-link { color: var(--gold-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .local-presence { padding: 76px 0; }
  .local-presence-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Rodapé */
footer { padding: 120px 0 32px; background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .55fr .55fr; gap: 80px; padding-bottom: 52px; }
.wordmark-light img { width: 40px; height: 52px; }
.wordmark-light strong { font-size: 1.15rem; }
.footer-brand p { margin: 22px 0 0; color: #9aa6b4; font-size: .88rem; }
.footer-grid nav { display: grid; align-content: start; gap: 6px; }
.footer-grid nav strong { margin-bottom: 8px; color: var(--gold-light); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.footer-grid nav a { padding: 4px 0; color: #b3bcc7; font-size: .88rem; }
.footer-grid nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #8b97a6; font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b3bcc7; text-decoration: underline; text-underline-offset: 3px; }

/* Botão flutuante de WhatsApp (aparece após o topo da página) */
.wa-float { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--navy); color: #fff; border: 1px solid rgba(215,178,114,.6); box-shadow: 0 12px 30px rgba(0,12,27,.28); font-size: .88rem; font-weight: 600; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.wa-float .icon { width: 20px; height: 20px; color: var(--gold-light); }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--blue); }
.no-js .wa-float { opacity: 1; visibility: visible; transform: none; }

/* Páginas internas */
.inner-main { padding: calc(var(--header-h) + 64px) 0 96px; background: #fff; }
.article-wrap { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.article-header { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.article-header h1 { color: var(--navy); font-size: clamp(2.4rem, 5vw, 3.75rem); }
.article-header .lead { color: var(--muted); }
.article-date { margin: 0; color: var(--muted); font-size: .85rem; }
.article-body { padding-top: 44px; }
.article-body h2 { margin: 48px 0 14px; font-size: 1.6rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: #475467; }
.article-body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--navy); }
.table-wrap { margin: 20px 0 24px; overflow-x: auto; border: 1px solid var(--line); }
.table-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
.article-body th, .article-body td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #475467; }
.article-body thead th { background: var(--paper); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-body tbody th { color: var(--navy); font-weight: 700; min-width: 9rem; }
.article-body tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 600px) {
  .article-body table { font-size: .88rem; }
  .article-body th, .article-body td { padding: 12px; }
  .article-body tbody th { min-width: 7rem; }
}
@media print {
  .table-wrap { overflow: visible; border: 0; }
  .article-body th, .article-body td { border: 1px solid #999; }
  .article-body tr { break-inside: avoid; }
}
.inner-footer { padding: 32px 0; }
.inner-footer .footer-bottom { padding-bottom: 0; border-top: 0; padding-top: 0; }
body:has(> .inner-main) { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
body:has(> .inner-main) > .inner-main { flex: 1 0 auto; }
.error-page { min-height: 70vh; display: grid; align-items: center; }
.error-page h1 { color: var(--navy); font-size: clamp(2.4rem, 5vw, 3.5rem); }
.error-page p:not(.eyebrow) { color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 32px; }
.error-actions .text-link { color: var(--navy); }

/* Animação de entrada: só oculta quando o JavaScript está ativo */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-menu { gap: 22px; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .container { width: min(100% - 40px, 760px); }
  .menu-button { display: block; position: relative; z-index: 60; }
  .menu-button[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-menu { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: var(--navy); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; font-size: 1.2rem; }
  .main-menu.is-open { visibility: visible; opacity: 1; }
  .main-menu .button { margin-top: 12px; font-size: .9rem; }
  .hero { padding: calc(var(--header-h) + 48px) 0 80px; }
  .hero-grid, .about-grid, .section-heading, .faq-layout, .contact-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .portrait { width: min(460px, 100%); margin-inline: auto; }
  .about-grid, .faq-layout { gap: 48px; }
  .section-heading { gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 28px 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 0; }
  .contact-shell { gap: 44px; padding: 64px 44px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; gap: 35px; }
}

@media (max-width: 640px) {
  .container, .article-wrap { width: calc(100% - 32px); }
  body { font-size: 1rem; }
  h1 { font-size: clamp(2.15rem, 10vw, 2.8rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .lead { font-size: 1.05rem; }
  section { padding: 76px 0; }
  .hero { padding: calc(var(--header-h) + 36px) 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; margin: 28px 0 32px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-meta { flex-direction: column; }
  .portrait { padding-left: 12px; }
  .portrait figcaption { left: 0; bottom: 20px; min-width: 0; max-width: calc(100% - 24px); padding: 12px 16px; }
  .portrait figcaption > span { font-size: 1.15rem; }
  .facts, .need-grid { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div:nth-child(even) { padding-left: 0; }
  .need-card { min-height: 0; padding: 26px 22px 24px; }
  .need-card h3 { font-size: 1.35rem; }
  .need-index { margin-bottom: 20px; }
  .process-cta { padding: 24px; }
  .process-cta .button { width: 100%; }
  .article-card { padding: 26px; }
  .article-card h3 { margin-top: 28px; font-size: 1.5rem; }
  .content-guide summary { font-size: 1.15rem; gap: 16px; }
  .contact-shell { width: 100%; padding: 56px 20px; transform: none; }
  .contact-links a { grid-template-columns: 40px 1fr auto; gap: 12px; }
  footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 72px; }
  .wa-float { right: 16px; bottom: 16px; padding: 0 18px 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- Formulário de contato (integração com o sistema) ---- */
.contact-form { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-form h3 { margin: 0 0 8px; color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.form-legenda { margin: 0 0 20px; color: #bcc5d0; font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.form-campo { display: grid; gap: 6px; align-content: start; }
.form-campo label, .form-grupo legend { color: #e7ecf1; font-size: .88rem; font-weight: 600; }
.form-campo input, .form-campo select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9d0d9; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.form-campo input:focus-visible, .form-campo select:focus-visible, .form-consentimento input:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.form-campo [aria-invalid="true"] { border: 2px solid #ffb4a8; }
.campo-erro { margin: 0; color: #ffc9c0; font-size: .85rem; font-weight: 600; }
.form-grupo { margin: 28px 0 0; padding: 0; border: 0; }
.form-grupo legend { margin-bottom: 14px; padding: 0; font-size: .95rem; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consentimento { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 28px 0 20px; color: #d5dce4; font-size: .9rem; }
.form-consentimento input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--gold); }
.form-consentimento a { color: var(--gold-light); text-decoration: underline; }
.form-consentimento .campo-erro { grid-column: 2; }
.form-turnstile { min-height: 65px; margin-bottom: 16px; }
.contact-form .button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 24px; padding: 20px 22px; border-radius: 4px; background: rgba(255,255,255,.08); color: #fff; }
.form-status:focus { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.form-status p { margin: 0 0 12px; }
.form-status--sucesso { border-left: 4px solid #7fd1a3; }
.form-status--erro { border-left: 4px solid #ffb4a8; }
.form-status__codigo strong { font-size: 1.25rem; letter-spacing: .08em; color: var(--gold-light); }
.form-status .button { margin-top: 4px; }

/* ---- Aviso de cookies (Aceitar e Recusar com o mesmo peso) ---- */
.cookie-banner { position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; max-width: 1040px; margin-inline: auto; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); box-shadow: var(--shadow); font-size: .9rem; }
.cookie-banner h2 { margin: 0 0 6px; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.cookie-banner p { margin: 0 0 6px; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner__nota { color: var(--muted); font-size: .84rem; }
.cookie-banner__acoes { display: flex; gap: 12px; }
.cookie-banner__botao { min-width: 128px; min-height: 48px; padding: 0 20px; border: 2px solid var(--navy); border-radius: 4px; background: var(--navy); color: #fff; font-weight: 600; cursor: pointer; }
.cookie-banner__botao:hover { background: var(--blue); }
.link-preferencias { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; cursor: pointer; }
.turnstile-whatsapp { position: fixed; z-index: 950; right: 16px; bottom: 96px; }
[aria-busy="true"] { cursor: progress; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-banner__acoes { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner__botao { min-width: 0; }
}
