/* Páginas legais (/termos, /privacidade, /reembolso). Built on site.css: same paper, ink and type.
   One readable column (~68ch), a plain-language summary first, then the full text with anchors. */
.lg-top { border-bottom: 1px solid var(--s-line); background: var(--s-surface); }
.lg-top .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.lg-top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.lg-top nav a { color: var(--s-muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--r-full); }
.lg-top nav a:hover { color: var(--s-ink); background: var(--s-paper); }
.lg-top nav a[aria-current="page"] { color: var(--s-green); background: var(--s-green-soft); }

.lg { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }
.lg h1 { font-size: clamp(34px, 6vw, 48px); line-height: 1.05; }
.lg .lg-meta { color: var(--s-muted); margin-top: 10px; font-size: 15px; }
.lg h2 { font-size: 24px; line-height: 1.2; margin-top: 44px; scroll-margin-top: 24px; }
.lg h3 { font-size: 18px; line-height: 1.3; margin-top: 24px; letter-spacing: -0.01em; }
.lg p, .lg ul, .lg ol, .lg table { margin: 12px 0 0; }
.lg ul, .lg ol { padding-left: 22px; }
.lg li + li { margin-top: 6px; }
.lg a { color: var(--s-green); text-underline-offset: 3px; }
.lg strong { font-weight: 600; }

.lg-draft { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-md); background: var(--s-amber-soft); color: var(--s-ink); font-size: 15px; }
.lg-summary { margin-top: 28px; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--s-green-soft); }
.lg-summary h2 { margin-top: 0; font-size: 20px; }
.lg-summary ul { margin-top: 10px; }

.lg-toc { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--s-line); border-radius: var(--r-lg); background: var(--s-surface); }
.lg-toc b { display: block; font-size: 15px; }
.lg-toc ol { margin-top: 8px; columns: 2 220px; column-gap: 28px; font-size: 15px; }
.lg-toc li { break-inside: avoid; }

.lg table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.lg th, .lg td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--s-line); }
.lg th { font-weight: 600; background: var(--s-surface); }

/* Placeholder still to be filled (company data). Visible on purpose until the lawyer review. */
.lg mark.todo { background: var(--s-amber-soft); color: var(--s-amber-ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }

.lg-foot { border-top: 1px solid var(--s-line); padding: 24px 0 32px; color: var(--s-muted); font-size: 15px; }
.lg-foot .s-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lg-foot a { color: var(--s-muted); }

@media print {
  .lg-top, .lg-foot, .lg-toc { display: none; }
  .lg { padding: 0; max-width: none; }
}
