/* Páginas estáticas de SEO (gerados por tools/build_seo.py). Usam os tokens de app.css. */
body.doc { min-height: 100vh; display: flex; flex-direction: column; background-image: linear-gradient(180deg, rgba(7, 15, 31, .55), var(--bg) 420px), url(/branding/background-padrao.webp); background-repeat: no-repeat, repeat-x; background-size: auto, 528px auto; }
.doc-nav { overflow-x: auto; scrollbar-width: none; }
.doc-main { width: min(1100px, 100%); margin: 0 auto; padding: 22px 20px 40px; flex: 1; display: grid; gap: 14px; align-content: start; }
.crumbs { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.doc-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 24px; border-radius: 20px; border: 1px solid var(--line-2);
  background: radial-gradient(500px 280px at 10% 40%, color-mix(in srgb, var(--c, #0A84FF) 30%, transparent), transparent 70%), linear-gradient(120deg, #10254a, #0B1A33);
}
.doc-hero:not(:has(.doc-hero-art)) { grid-template-columns: 1fr; }
.doc-hero h1 { font: 700 clamp(1.9rem, 4vw, 2.9rem)/1.05 var(--display); margin: 8px 0 10px; }
.doc-hero .lead { color: var(--ink-2); max-width: 70ch; line-height: 1.55; margin-top: 10px; }
.doc-hero-art .spr.xl { width: 140px; height: 140px; object-fit: contain; image-rendering: pixelated; }
.doc-hero.item .doc-hero-art .spr { width: 96px; height: 96px; }
.doc-cta { margin-top: 16px; }
.doc-cta .btn { text-decoration: none; display: inline-flex; }
.doc-sec { padding: 18px; }
.doc-sec h2, .panel.doc-sec > h2 { font: 700 1.35rem/1.15 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 12px; }
.doc-sec h2 small { font: 500 .8rem var(--sans); color: var(--muted); margin-left: 6px; }
.doc-sec p { color: var(--ink-2); line-height: 1.55; margin-bottom: 10px; }
.doc-sec code { font: .8rem var(--mono); color: var(--ink); }
.doc-sec td a { color: var(--ink); }
.doc-sec .with-sprites td:first-child { display: flex; align-items: center; gap: 8px; }
.doc-sec td .spr, .doc-chips .spr, .doc-evo .spr, .doc-list .spr { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; vertical-align: middle; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.facts div { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.facts dt { font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
.doc-evo { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.doc-evo li { display: grid; justify-items: center; gap: 2px; padding: 10px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 110px; }
.doc-evo li[aria-current] { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.doc-evo small { font: .7rem var(--mono); color: var(--muted); }
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-chips li { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
.doc-sec details { border-top: 1px solid var(--line); padding: 10px 0; }
.doc-sec details summary { cursor: pointer; font-weight: 650; }
.doc-sec details p { margin: 8px 0 0; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.doc-list a { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); }
.doc-list a:hover { border-color: var(--accent); color: var(--ink); }
.doc-list span { flex: 1; }
.doc-list small { font: .7rem var(--mono); color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.doc-card { display: grid; gap: 4px; padding: 18px; text-decoration: none; color: var(--ink); }
.doc-card strong { font: 700 1.2rem var(--display); }
.doc-card small { color: var(--muted); }
.doc-card:hover { border-color: var(--accent); }
.doc-steps { display: grid; gap: 14px; padding-left: 20px; }
.doc-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.doc-steps img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-2); margin-top: 8px; }
.bullets { list-style: disc; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.doc-foot { border-top: 1px solid var(--line); padding: 20px; text-align: center; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.doc-foot a { color: var(--ink-2); }
@media (max-width: 700px) {
  .doc-hero { grid-template-columns: 1fr; padding: 18px; }
  .doc-hero-art .spr.xl { width: 96px; height: 96px; }
  .doc-main { padding: 14px 12px 30px; }
  .topbar .doc-nav { display: flex; }
}
