/* Guia Valores a Receber — estilos compartilhados. Sem build, sem dependências. */
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #15233a;
  --ink-2: #3c4a60;
  --ink-3: #5b687b;
  --paper: #fbf9f5;
  --surface: #ffffff;
  --sand: #f2eee5;
  --line: #ddd6c8;
  --line-soft: #e9e4d8;
  --accent: #0e5c58;
  --accent-ink: #0a4442;
  --accent-soft: #e0eeeb;
  --gold: #e9b44c;
  --warn: #7c4208;
  --warn-soft: #fbefd9;
  --danger: #8f2a2a;
  --danger-soft: #f8e5e2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 35, 58, .06), 0 8px 24px -12px rgba(21, 35, 58, .18);
  --gutter: clamp(20px, 5vw, 40px);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #1b6fd6; outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Faixa de rascunho: some sozinha quando os placeholders forem trocados em site.js */
.draft-strip { background: var(--warn-soft); color: var(--warn); border-bottom: 1px solid #ecd6a8; font-size: .8125rem; line-height: 1.4; padding: 8px 0; }
.draft-strip .wrap { display: flex; gap: 10px; align-items: baseline; }
.draft-strip strong { font-weight: 650; white-space: nowrap; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -.01em; line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 9px 12px; border-radius: 8px; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sand); }
.nav .nav-cta { margin-left: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.nav .nav-cta:hover { border-color: var(--ink-3); }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .9375rem var(--sans); padding: 9px 14px; border-radius: 8px; cursor: pointer; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1.2 var(--sans); text-decoration: none; padding: 15px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; min-height: 50px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* Tipografia de seção */
.eyebrow { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.section { padding: clamp(60px, 9vw, 112px) 0; }
.section-alt { background: var(--sand); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1875rem; color: var(--ink-2); margin: 0; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5.6vw, 3.9rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--ink-2); max-width: 36em; margin-bottom: 30px; }
.hero-note { margin: 22px 0 0; font-size: .9375rem; color: var(--ink-3); display: flex; gap: 10px; align-items: flex-start; max-width: 36em; }
.hero-note .icon { margin-top: .2em; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Ilustração própria em SVG/CSS: lista de verificação, sem dados fictícios */
.checklist-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); position: relative; }
.checklist-card::before { content: ""; position: absolute; inset: 14px -10px -10px 14px; border: 1px solid var(--line); border-radius: 18px; z-index: -1; background: var(--sand); }
.checklist-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.checklist-card .sub { font-size: .875rem; color: var(--ink-3); margin-bottom: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: .9875rem; line-height: 1.5; }
.checks .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.checks .tick .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--ink-3); font-size: .9rem; }
.checklist-foot { margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .8125rem; color: var(--ink-3); }

/* Comparativo */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.compare-col.is-main { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.compare-col h3 { font-size: 1.5rem; margin-bottom: 6px; }
.compare-col .tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; }
.compare-col .tag.alt { background: var(--sand); color: var(--ink-2); }
.compare dl { margin: 18px 0 0; display: grid; gap: 14px; }
.compare dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.compare dd { margin: 2px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 2.5rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.callout { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; color: var(--accent-ink); }
.callout .icon { margin-top: .2em; }
.callout p { margin: 0; }

/* Cuidados */
.flags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flag { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 3px solid var(--danger); }
.flag .label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--danger); margin-bottom: 10px; display: block; }
.flag blockquote { margin: 0 0 14px; font: italic 600 1.25rem/1.3 var(--serif); }
.flag p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .flags { grid-template-columns: 1fr; } }

/* Guia */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.guide-cover { background: var(--ink); color: #f3efe6; border-radius: 6px 14px 14px 6px; padding: clamp(28px, 4vw, 44px); min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: -10px 0 0 -2px #0d1828 inset, var(--shadow); position: relative; overflow: hidden; }
.guide-cover::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(233, 180, 76, .18); }
.guide-cover .kind { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.guide-cover h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: #fff; margin: 14px 0 12px; position: relative; z-index: 1; }
.guide-cover p { color: #c9d0dc; margin: 0; max-width: 22em; position: relative; z-index: 1; }
.guide-cover .meta { font-size: .8125rem; color: #aab4c4; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; margin-top: 28px; }
.guide-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.guide-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.guide-list .icon { color: var(--accent); margin-top: .2em; }
.status-box { background: var(--warn-soft); border: 1px solid #ecd6a8; color: var(--warn); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; font-size: .9875rem; }
.status-box strong { display: block; margin-bottom: 4px; }
.status-box p { margin: 0; }
.fine { font-size: .875rem; color: var(--ink-3); }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } .guide-cover { min-height: 300px; } }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font: 600 1.1875rem/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.75rem/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-ink); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA final */
.cta-band { background: var(--ink); color: #f3efe6; border-radius: 20px; padding: clamp(34px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { color: #c9d0dc; margin: 0; }
.cta-band .btn-primary { background: var(--gold); color: #1b2638; }
.cta-band .btn-primary:hover { background: #f1c56d; color: #1b2638; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer { background: #101c30; color: #c9d0dc; padding: clamp(48px, 7vw, 80px) 0 32px; margin-top: clamp(60px, 9vw, 112px); font-size: .9375rem; }
.site-footer.flush { margin-top: 0; }
.site-footer a { color: #e7ebf2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-grid h2 { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-about { color: #aeb8c8; max-width: 26em; margin: 0 0 12px; }
.footer-company { font-style: normal; line-height: 1.6; }
.footer-company strong { color: #fff; font-weight: 600; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; font-size: .8125rem; color: #9ba7ba; }
.footer-legal p { margin: 0; max-width: 62em; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Diálogo */
dialog { border: 0; border-radius: 18px; padding: 0; max-width: min(520px, calc(100vw - 32px)); width: 100%; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(10, 20, 40, .5); }
dialog::backdrop { background: rgba(16, 28, 48, .58); backdrop-filter: blur(3px); }
.dialog-body { padding: clamp(26px, 4vw, 38px); }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dialog-close:hover { border-color: var(--ink-3); }
dialog h2 { font-size: 1.75rem; margin: 6px 40px 14px 0; }
dialog p { color: var(--ink-2); }
dialog .btn-row { margin-top: 20px; }
dialog .fine { margin: 18px 0 0; }
html.dialog-open { overflow: hidden; }

/* Páginas legais */
.page-hero { padding: clamp(44px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: 1.1875rem; max-width: 40em; margin-bottom: 10px; }
.page-hero .updated { font-size: .875rem; color: var(--ink-3); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: clamp(36px, 6vw, 64px) 0 0; }
.legal-nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; }
.legal-nav p { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.legal-nav a { color: var(--ink-2); text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: .9375rem; border-left: 2px solid transparent; }
.legal-nav a:hover { background: var(--sand); }
.legal-nav a[aria-current="page"] { border-left-color: var(--accent); background: var(--sand); color: var(--ink); font-weight: 600; }
.document { max-width: 46em; }
.document section { margin-bottom: 40px; }
.document h2 { font-size: 1.5rem; margin-bottom: 14px; }
.document h3 { font-size: 1.125rem; margin: 22px 0 8px; }
.document p, .document li { color: var(--ink-2); }
.document ul { padding-left: 1.2em; margin: 0 0 1em; }
.document li { margin-bottom: .5em; }
.data-list { display: grid; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.data-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.data-list div:last-child { border-bottom: 0; }
.data-list dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.data-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.notice { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; color: var(--accent-ink); margin-bottom: 36px; }
.notice p { margin: 0; color: inherit; }
.refs { font-size: .875rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }
.contact-action { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border: 1px solid var(--accent); border-radius: var(--radius); text-decoration: none; background: var(--surface); margin: 18px 0 8px; color: var(--ink); overflow-wrap: anywhere; }
.contact-action:hover { background: var(--accent-soft); color: var(--ink); }
.contact-action small { display: block; color: var(--ink-3); }
.contact-action .icon { width: 28px; height: 28px; color: var(--accent); }
.contact-action strong { font-size: 1.125rem; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 28px; } .legal-nav { position: static; grid-auto-flow: column; overflow-x: auto; padding-bottom: 6px; } .legal-nav p { display: none; } .legal-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; } .legal-nav a[aria-current="page"] { border-bottom-color: var(--accent); } .data-list div { grid-template-columns: 1fr; gap: 2px; } }

/* /acesso/ */
.access-main { min-height: 70vh; display: grid; align-content: start; justify-items: center; gap: 28px; padding: clamp(40px, 8vw, 96px) var(--gutter) 24px; }
.access-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(30px, 6vw, 56px); max-width: 640px; width: 100%; text-align: center; }
.access-card .eyebrow { justify-content: center; }
.access-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.access-card h1 em { color: var(--accent); }
.access-card .intro { color: var(--ink-2); font-size: 1.125rem; margin-bottom: 26px; }
.access-card .btn { min-width: 220px; }
.free-note { display: flex; justify-content: center; gap: 8px; align-items: center; margin: 16px 0 26px; font-size: .9375rem; color: var(--ink-3); }
.free-note .icon { color: var(--accent); width: 1.1em; height: 1.1em; }
.destination-note { display: flex; gap: 12px; text-align: left; background: var(--sand); border-radius: var(--radius); padding: 16px 18px; font-size: .9375rem; color: var(--ink-2); }
.destination-note .icon { margin-top: .15em; color: var(--accent); }
.destination-note p { margin: 0; }
.access-more { max-width: 640px; width: 100%; }
.access-more details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.access-more summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.access-more summary::-webkit-details-marker { display: none; }
.access-more summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.access-more details[open] summary::after { content: "−"; }
.access-more .more-body { padding: 0 22px 22px; color: var(--ink-2); }
.access-more h2 { font-size: 1.375rem; margin-bottom: 10px; }
.independence { text-align: center; color: var(--ink-3); font-size: .875rem; max-width: 34em; margin: 0; }

/* /como-funciona/ (orientação guiada) */
.guide-bar { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.guide-bar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.guide-bar h1 { font: 600 1.25rem/1.2 var(--serif); }
.guide-bar p { margin: 2px 0 0; font-size: .875rem; color: var(--ink-3); }
.guide-bar .tag { margin-left: auto; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 640px) { .guide-bar .tag { display: none; } }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.avatar .icon { width: 22px; height: 22px; }
.conversation { width: min(100% - 2 * var(--gutter), 720px); margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0 24px; }
.conv-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.reset-chat { background: none; border: 0; color: var(--accent); font: 600 .875rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; padding: 8px; }
.chat-panel { display: grid; gap: 14px; }
.chat-panel[hidden] { display: none; }
.chat-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.msg-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.msg-avatar .icon { width: 18px; height: 18px; }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 16px 20px; max-width: 36em; }
.bubble p:last-child { margin-bottom: 0; }
.bubble h2 { font-size: 1.375rem; margin-bottom: 10px; }
.bubble.highlight { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.user-row { display: flex; justify-content: flex-end; }
.user-msg { background: var(--ink); color: #fff; margin: 0; padding: 12px 18px; border-radius: 16px 4px 16px 16px; max-width: 80%; }
.chat-actions, .answer-actions { margin-left: 48px; display: grid; gap: 12px; justify-items: start; }
.caption { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink-3); margin: 0; }
.topic-options { margin-left: 48px; display: grid; gap: 10px; }
.topic { display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; text-align: left; width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.topic:hover { border-color: var(--accent); background: var(--accent-soft); }
.topic .sym { width: 40px; height: 40px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; color: var(--accent); }
.topic strong { display: block; font-weight: 600; line-height: 1.3; }
.topic small { color: var(--ink-3); font-size: .875rem; }
.destination-label { font-size: .875rem; color: var(--ink-3); margin: 0; }
.answer-secondary { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--accent); font: 600 .9375rem var(--sans); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.reference-link { display: inline-flex; gap: 6px; align-items: center; font-size: .875rem; margin-top: 4px; }
.reference-link[hidden], .answer-secondary [hidden] { display: none; }
.privacy-caption { margin-top: 36px; font-size: .875rem; color: var(--ink-3); text-align: center; }
.no-js-guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.no-js-guide h2 { font-size: 1.375rem; margin-bottom: 10px; }
@media (max-width: 520px) { .chat-actions, .answer-actions, .topic-options { margin-left: 0; } }

/* Botão discreto "Início" no canto superior esquerdo da raiz */
.btn-sm { font-size: .875rem; padding: 8px 14px; min-height: 44px; border-radius: 8px; gap: 6px; }
.btn-sm .icon { width: 16px; height: 16px; }
.home-link { flex: none; }
.home-link + .brand { margin-right: auto; }
@media (max-width: 400px) { .home-link + .brand span small { display: none; } .header-inner { gap: 10px; } }

/* Orientação simples: três mensagens e um único destino. */
.conversation-page .conversation { width: min(calc(100% - 48px), 820px); padding: 32px 0 44px; }
.conversation-page .conv-meta { margin-left: 52px; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.conversation-page .chat-row { display: flex; align-items: flex-end; gap: 12px; }
.conversation-page .msg-avatar { flex: 0 0 40px; width: 40px; height: 40px; margin-bottom: 3px; background: var(--accent-soft); color: var(--accent); border: 1px solid #c8ded9; }
.conversation-page .bubble { width: fit-content; min-width: 0; max-width: 100%; padding: 21px 24px; border-radius: 20px 20px 20px 5px; background: #fff; box-shadow: 0 3px 10px #15233a04; }
.conversation-page .bubble p { color: var(--ink-2); font-size: 19px; line-height: 1.6; letter-spacing: -.15px; }
.conversation-page .bubble strong { color: var(--ink); font-weight: 650; }
.conversation-page .bubble.greeting { padding: 16px 23px; }
.conversation-page .bubble.greeting p { color: var(--ink); font-size: 22px; font-weight: 600; }
.conversation-page .bubble.highlight { border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.conversation-page .chat-actions { margin: 7px 0 0 52px; width: calc(100% - 52px); gap: 11px; justify-items: stretch; }
.conversation-page .chat-actions .btn { justify-content: space-between; min-height: 60px; width: 100%; padding: 12px 15px 12px 24px; border-radius: 12px; font-size: 17px; line-height: 1.35; }
.conversation-page .action-arrow { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; background: var(--gold); color: var(--ink); border-radius: 50%; }
.conversation-page .action-arrow .icon { width: 18px; height: 18px; }
.conversation-page .caption { font-size: 11px; line-height: 1.5; justify-content: center; text-align: center; }
.conversation-page .caption .icon { flex: 0 0 14px; width: 14px; height: 14px; }
.conversation-page .privacy-caption { margin: 26px 0 0 52px; font-size: 12px; line-height: 1.65; }
@media (min-width:1500px) { .conversation-page .conversation { max-width: 880px; width: calc(100% - 48px); } }
@media (max-width:700px) {
  .conversation-page .conversation { width: calc(100% - 32px); padding: 24px 0 32px; }
  .conversation-page .guide-bar .wrap { gap: 11px; }
  .conversation-page .guide-bar h1 { font-size: 18px; }
  .conversation-page .guide-bar p { font-size: 11px; }
  .conversation-page .conv-meta { margin-left: 36px; font-size: 10px; }
  .conversation-page .chat-row { gap: 8px; }
  .conversation-page .msg-avatar { flex-basis: 28px; width: 28px; height: 28px; }
  .conversation-page .msg-avatar .icon { width: 16px; height: 16px; }
  .conversation-page .bubble { padding: 17px; border-radius: 17px 17px 17px 4px; }
  .conversation-page .bubble p { font-size: 16px; letter-spacing: 0; }
  .conversation-page .bubble.greeting { padding: 14px 17px; }
  .conversation-page .bubble.greeting p { font-size: 18px; }
  .conversation-page .chat-actions { margin-left: 36px; width: calc(100% - 36px); }
  .conversation-page .chat-actions .btn { min-height: 56px; padding: 12px 12px 12px 17px; font-size: 15px; border-radius: 10px; gap: 10px; }
  .conversation-page .action-arrow { flex-basis: 30px; width: 30px; height: 30px; }
  .conversation-page .caption { font-size: 10px; }
  .conversation-page .privacy-caption { margin-left: 36px; margin-top: 22px; font-size: 11px; }
}
