/* ==========================================================================
   AGF Análise de Investimentos — folha de estilos
   ========================================================================== */

:root {
  --ink: #0E1A2B;
  --ink-2: #13233A;
  --ink-3: #1B2F4C;
  --paper: #F6F3EC;
  --surface: #FFFFFF;
  --line: #E4DED1;
  --line-soft: #EEE9DF;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #18212F;
  --muted: #5A6475;
  --muted-light: #A7B2C3;
  --brass: #C49A5A;
  --brass-600: #A98048;
  --brass-50: #FAF4EA;
  --green: #3E9B76;
  --risk: #C9705E;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1180px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 8px 24px rgba(14, 26, 43, .06);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .45);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .04em; text-transform: uppercase; }
.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: 16px; top: -60px; z-index: 200; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .6em 1.05em; font-size: .875rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: #D2AA6C; box-shadow: 0 6px 18px -6px rgba(196, 154, 90, .6); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost { background: transparent; color: var(--muted-light); }
.btn-ghost:hover { color: #fff; }
.btn-ghost-dark { color: var(--ink); border-color: rgba(14, 26, 43, .25); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .65; pointer-events: none; }

.text-link { color: var(--brass-600); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--ink); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-align: left; }
.link-button:hover { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1rem; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brass-600);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brass); }
.eyebrow .dot { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 26, 43, .96); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; color: #fff;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-accent { fill: var(--brass); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .02em; }
.brand-sub { margin-top: 4px; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; }
.site-nav ul a { font-size: .92rem; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.site-nav ul a:hover { color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); position: relative; }
.nav-toggle-bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .25s, top .25s; }
.nav-toggle-bar:nth-of-type(1) { top: 17px; }
.nav-toggle-bar:nth-of-type(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; pointer-events: none;
  background: radial-gradient(circle, rgba(196, 154, 90, .16), transparent 65%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
  padding-block: 96px 88px;
}
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; font-weight: 400; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-lead { margin-top: 24px; max-width: 54ch; font-size: 1.12rem; color: #C9D1DD; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--muted-light); }

/* Cartão de relatório ilustrativo */
.hero-visual { position: relative; }
.report-card {
  position: relative; background: #FBFAF6; color: var(--ink);
  border-radius: var(--radius-lg); padding: 26px 26px 20px; box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.report-card::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg);
}
.report-head { display: flex; justify-content: space-between; gap: 8px; }
.report-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--ink); color: #fff; }
.report-tag--muted { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.report-title { margin: 22px 0 14px; display: grid; gap: 6px; }
.report-title .mono { color: var(--brass-600); }
.report-title strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.report-chart { width: 100%; height: 120px; margin-bottom: 18px; }
.chart-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.chart-area { fill: rgba(62, 155, 118, .12); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s .3s ease-out forwards; }
.chart-base { fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 4 4; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.report-rows { margin: 0; display: grid; gap: 10px; }
.report-rows div { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; }
.report-rows dt { font-size: .8rem; color: var(--muted); }
.report-rows dd { margin: 0; height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.bar { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 3px; transform-origin: left; animation: grow 1.2s .6s ease-out both; }
.bar--risk { background: var(--risk); }
@keyframes grow { from { transform: scaleX(0); } }
.report-foot { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.report-foot span::before { content: "✓ "; color: var(--green); }

/* Faixa de confiança */
.trust-strip { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: var(--ink-2); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-inner > div { padding: 20px 24px; font-size: .88rem; color: #D5DCE6; border-left: 1px solid var(--line-dark); }
.trust-inner > div:first-child { border-left: 0; padding-left: 0; }
.trust-inner .mono { display: block; margin-bottom: 2px; color: var(--brass); font-size: .7rem; }

/* ---------- Seções ---------- */
.section { padding-block: 112px; }
.section--ink { background: var(--ink); color: #fff; }
.section--paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; }
.section-head p { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.section-head--light p { color: var(--muted-light); }

/* Serviços */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { position: relative; background: var(--surface); padding: 40px 40px 36px; transition: background-color .25s; }
.service-card:hover { background: var(--brass-50); }
.service-num { display: block; margin-bottom: 28px; color: var(--brass-600); }
.service-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 12px; }
.service-card p { color: var(--muted); max-width: 46ch; }
.service-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.service-card li { font-size: .8rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); background: var(--surface); }

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.audience-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.audience-item h3::before { content: "→ "; color: var(--brass-600); }
.audience-item p { color: var(--muted); font-size: .95rem; }

/* Método */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.step { position: relative; padding: 36px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--brass); border-radius: 50%; }
.step + .step::before { left: -4px; }
.step-num { display: block; font-size: .78rem; color: var(--brass); margin-bottom: 16px; }
.step-num::before { content: "Etapa 0"; }
.step h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted-light); font-size: .95rem; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.about-copy .text-link { display: inline-block; margin-top: 12px; }
.commitments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.commitment { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.commitment h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 10px; }
.commitment h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--brass); margin-bottom: 18px; }
.commitment p { color: var(--muted); font-size: .93rem; }

/* Faixa CTA */
.cta-band { background: var(--brass); color: var(--ink); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 56px; }
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 400; }
.cta-band p { margin-top: 8px; color: rgba(14, 26, 43, .75); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-primary:hover { background: var(--ink-3); box-shadow: none; }

/* Dúvidas */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0; font-weight: 500; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--brass-600); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-label { color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brass-600); }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: .88rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: .98rem; color: var(--text);
  background: #FDFCF9; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E1A2B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(196, 154, 90, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--risk); }
.field-error { font-size: .8rem; color: #A3473A; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.consent a { color: var(--ink); }
.consent.has-error span { color: #A3473A; }
.form-footnote { font-size: .8rem; color: var(--muted); text-align: center; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: .92rem; }
.form-status.is-sucesso { background: #E8F4EE; color: #1E5E45; border: 1px solid #BFE0D0; }
.form-status.is-erro { background: #FBECE9; color: #8A3A2F; border: 1px solid #F0C9C1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: 80px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: .82rem; color: #fff; }
.footer-badge span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--brass); }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { line-height: 1.5; }
.footer-social { display: flex !important; gap: 16px !important; margin-top: 20px; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 32px 40px; display: grid; gap: 16px; font-size: .8rem; }
.footer-disclaimer { max-width: 110ch; color: #8D99AB; }
.footer-disclaimer a { color: var(--muted-light); }
.footer-ids { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: #C7CFDA; }
.footer-ids a { text-decoration: none; }
.footer-copy { color: #6F7C90; }

/* ---------- Páginas legais ---------- */
.page-hero { background: var(--ink); color: #fff; padding-block: 64px 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 100%; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .82rem; color: var(--muted-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted-light); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .5; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; }
.page-hero-lead { margin-top: 16px; max-width: 64ch; color: #C9D1DD; font-size: 1.08rem; }
.page-hero-meta { margin-top: 24px; color: var(--brass); }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 72px; padding-block: 72px 112px; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 36px; max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; }
.toc-title { color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--brass); font-weight: 500; }
.legal-docs ul { list-style: none; display: grid; gap: 8px; }
.legal-docs a { font-size: .88rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.legal-docs a:hover { border-color: var(--brass); }

.prose { max-width: 760px; min-width: 0; font-size: 1.02rem; }
.prose h2 { font-size: 1.65rem; margin: 56px 0 18px; padding-top: 8px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin: 32px 0 12px; }
.prose p, .prose li { color: #333C4A; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--brass-600); }
.prose a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose a:hover { color: var(--brass-600); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.prose th { text-align: left; font-weight: 600; background: var(--paper); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: #333C4A; }
.prose tr:last-child td { border-bottom: 0; }
.data-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 8px 24px; }
.data-card dl { margin: 0; }
.data-card dl div { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.data-card dl div:last-child { border-bottom: 0; }
.data-card dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.data-card dd { margin: 0; font-weight: 500; }
.prose-contact { margin-top: 64px; padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.prose-contact h2 { margin: 0 0 10px; padding: 0; font-size: 1.4rem; }
.prose-contact p { color: #C9D1DD; }
.prose-contact a { color: var(--brass); }

/* Página 404 */
.notfound { padding-block: 140px; text-align: center; }
.notfound .mono { color: var(--brass-600); }
.notfound h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 16px 0; font-weight: 400; }
.notfound p { color: var(--muted); }
.notfound .btn { margin-top: 24px; }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 980px; margin-inline: auto;
  background: var(--ink); color: #D5DCE6; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5);
  animation: slideUp .4s ease-out;
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } }
.cookie-banner-inner { display: flex; align-items: center; gap: 24px; padding: 20px 24px; }
.cookie-banner p { font-size: .88rem; margin: 0; }
.cookie-banner a { color: #fff; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.cookie-banner .btn-outline:hover { border-color: #fff; }

.cookie-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 24, .6); backdrop-filter: blur(2px); }
.cookie-modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.cookie-modal-box h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cookie-modal-box > p { color: var(--muted); font-size: .92rem; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.cookie-option h3 { font-size: .98rem; font-weight: 600; margin-bottom: 4px; }
.cookie-option p { font-size: .86rem; color: var(--muted); margin: 0; }
.cookie-always { flex: none; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.cookie-modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }

.switch { position: relative; flex: none; display: inline-flex; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-track { width: 44px; height: 24px; background: #CBD2DC; border-radius: 24px; position: relative; transition: background-color .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + .switch-track { background: var(--ink); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-block: 72px 64px; }
  .hero-visual { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 24px; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .legal-aside { position: static; max-height: none; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px; background: var(--ink); border-top: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .site-nav .btn { padding-block: 1em; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-inner > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .trust-inner > div:nth-child(-n+2) { border-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; gap: 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .section { padding-block: 80px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-actions .btn { width: 100%; }
  .report-card { transform: none; padding: 20px; }
  .report-tag { font-size: .6rem; white-space: nowrap; }
  .report-tag--muted { display: none; }
  .report-card::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-dark); margin-top: 16px; }
  .step + .step::before { left: 0; }
  .commitments { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }
  .contact-form-wrap { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal-aside { grid-template-columns: 1fr; }
  .data-card { padding: 4px 18px; }
  .data-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .prose-contact { padding: 24px; }
}
