/* Conexão Franca — GEO e conteúdo de apoio: bloco "Resumo em uma frase" (gb-), guias e /sobre/ (gd-), página 404 (nf-).
   Só usa os tokens de base.css. Sem animação própria; funciona sem JavaScript. */

/* ---------- Bloco GEO: resumo, definições, comparação, dado original, autoria ---------- */
.gb { padding-block: clamp(28px, 4.5vw, 56px); }
.gb__in { display: grid; }
.gb__card {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(22px, 3.6vw, 40px); display: grid; gap: 18px; min-width: 0;
}
.gb__rot { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.gb__q { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; max-width: 34ch; }
.gb__r { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ink); max-width: 68ch; text-wrap: pretty; }
.gb__defs { display: grid; gap: 10px; margin: 0; max-width: 72ch; }
.gb__defs > div { display: block; padding: 12px 16px; background: var(--accent-soft); border-radius: var(--r-sm); }
.gb__defs dt { display: inline; font-weight: 800; color: var(--accent-ink); }
.gb__defs dt::after { content: " "; }
.gb__defs dd { display: inline; margin: 0; color: var(--ink-2); }
.gb__h3 { font-size: 17px; line-height: 1.3; font-weight: 800; margin-top: 6px; }
.gb__tab { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); -webkit-overflow-scrolling: touch; }
.gb__tab:focus-visible { outline-offset: 2px; }
.gb__tab table, .gd table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 15px; line-height: 1.45; }
.gb__tab th, .gb__tab td, .gd th, .gd td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gb__tab thead th, .gd thead th { background: var(--dark); color: var(--on-dark); font-weight: 700; font-size: 14px; }
.gb__tab thead th a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.gb__tab thead th a:hover { text-decoration-color: var(--warm); }
.gb__tab tbody th, .gd tbody th { font-weight: 800; color: var(--ink); background: var(--bg); white-space: nowrap; }
.gb__tab tbody tr:last-child > *, .gd tbody tr:last-child > * { border-bottom: 0; }
.gb__dado { padding: 14px 16px; border-radius: var(--r-sm); background: var(--warm-soft); color: #5b3a00; max-width: 72ch; font-size: 16px; }
.gb__dado a, .gb__autor a, .gb__rel a, .gd-sec a:not(.btn), .gd-resumo a, .gd-faq a, .gd-rel a, .gd-nota a, .gd-meta a { color: var(--accent-ink); font-weight: 700; text-underline-offset: 3px; }
.gb__autor, .gd-meta { font-size: 14.5px; color: var(--muted); }
.gb__rel { border-top: 1px solid var(--line); padding-top: 14px; }
.gb__rel-t { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gb__rel ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.gb__rel a { display: inline-block; padding-block: 6px; }

/* ---------- Guias e Sobre ---------- */
.gd-hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(18px, 3vw, 32px); background: var(--surface); border-bottom: 1px solid var(--line); }
.gd-wrap { width: min(100% - 2 * var(--gutter), 800px); margin-inline: auto; }
.gd-crumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--ink-2); }
.gd-crumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.gd-crumb a { text-decoration: none; }
.gd-crumb a:hover { text-decoration: underline; }
.gd-crumb [aria-current] { color: var(--ink); font-weight: 600; }
.gd-h1 { margin-top: 18px; font-size: clamp(30px, 5vw, 50px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.gd-lead { margin-top: 16px; font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2); text-wrap: pretty; }
.gd-hero .gd-meta { margin-top: 18px; }
.gd-corpo { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 80px); display: grid; gap: clamp(28px, 4vw, 44px); }
.gd-resumo { padding: clamp(18px, 3vw, 26px); border-radius: var(--r-md); background: var(--warm-soft); border-left: 5px solid var(--warm); }
.gd-resumo__rot { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a5400; margin-bottom: 8px; }
.gd-resumo p:last-child { font-size: clamp(17px, 1.7vw, 19.5px); color: var(--ink); text-wrap: pretty; }
.gd-toc { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.gd-toc__t { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gd-toc ol { list-style: decimal; padding-left: 22px; display: grid; gap: 2px; }
.gd-toc li::marker { color: var(--accent-ink); font-weight: 800; }
.gd-toc a { display: inline-block; padding-block: 5px; text-decoration: none; font-weight: 600; }
.gd-toc a:hover { text-decoration: underline; }
.gd-sec { display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.gd-sec h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.gd-sec h3 { font-size: 19px; line-height: 1.3; font-weight: 800; margin-top: 6px; }
.gd-sec p { color: var(--ink-2); text-wrap: pretty; }
.gd-sec p strong, .gd-sec li strong { color: var(--ink); }
.gd-sec ul { display: grid; gap: 8px; padding-left: 0; }
.gd-sec ul > li { position: relative; padding-left: 26px; color: var(--ink-2); }
.gd-sec ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.gd-sec ol { list-style: decimal; padding-left: 24px; display: grid; gap: 12px; }
.gd-sec ol > li { padding-left: 4px; color: var(--ink-2); }
.gd-sec ol > li::marker { color: var(--accent-ink); font-weight: 800; }
.gd-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.gd-tab:focus-visible { outline-offset: 2px; }
.gd-nota { padding: 14px 16px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); font-size: 16px; }
.gd-nota p { color: inherit; }
.gd-fontes { font-size: 14.5px; color: var(--muted); }
.gd-fontes li { color: var(--muted); }
.gd-faq { display: grid; gap: 10px; }
.gd-faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.gd-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 52px; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--accent-ink); }
.gd-faq details[open] summary::after { content: "−"; }
.gd-faq details > p { padding: 0 18px 18px; color: var(--ink-2); }
.gd-cta { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark); display: grid; gap: 14px; justify-items: start; }
.gd-cta h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: #fff; text-wrap: balance; }
.gd-cta p { color: var(--on-dark-muted); max-width: 60ch; }
.gd-cta .gd-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.gd-cta .btn--ghost { border-color: var(--dark-line); color: var(--on-dark); }
.gd-cta .btn--ghost:hover { background: #fff; color: var(--dark); }
.gd .gd-cta a.btn--primary { color: #fff; font-weight: 700; text-decoration: none; }
.gd-rel { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.gd-rel__t { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gd-rel ul { display: grid; gap: 2px; }
.gd-rel a { display: inline-block; padding-block: 6px; }
.gd-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.gd-card { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gd-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.gd-card h2, .gd-card h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.gd-card p { color: var(--ink-2); font-size: 16px; }
.gd-card__mais { color: var(--accent-ink); font-weight: 800; font-size: 15px; }
.gd-fatos { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.gd-fatos > div { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gd-fatos > div:last-child { border-bottom: 0; }
.gd-fatos dt { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gd-fatos dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (min-width: 720px) {
  .gd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-fatos > div { grid-template-columns: 200px minmax(0, 1fr); align-items: baseline; gap: 16px; }
}

/* ---------- 404 ---------- */
.nf { padding-top: calc(var(--header-h) + clamp(36px, 7vw, 88px)); padding-bottom: clamp(48px, 8vw, 96px); }
.nf__in { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; display: grid; gap: 20px; }
.nf__cod { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.nf h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.nf__lead { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.nf__busca { display: grid; gap: 6px; }
.nf__busca label { font-weight: 700; font-size: 15px; }
.nf__busca input { min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 16px; width: 100%; }
.nf__busca input:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.nf__lista { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.nf__lista a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; font-weight: 600; min-height: 48px; }
.nf__lista a:hover { border-color: var(--accent); color: var(--accent-ink); }
.nf__lista a small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.nf__vazio { color: var(--muted); }
@media (min-width: 640px) { .nf__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ dentro do cartão GEO (gb--faq) e dentro de páginas de guia */
.gd-corpo .gb { padding-block: 0; }
.gb--faq .gd-faq { margin-top: 4px; }
.gb--faq .gb__q { max-width: none; }
