/* Páginas legais: a mesma identidade do site (Nanquim no escuro, Papel no claro; Geist). Em arquivo porque a CSP não aceita script, e o estilo fica num só lugar. */
@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url(/legal/Geist_400Regular.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url(/legal/Geist_500Medium.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url(/legal/Geist_600SemiBold.woff2) format("woff2"); }
:root { color-scheme: dark; --bg: #0d1015; --surface: #151a21; --surface2: #1c222b; --line: #2e3742; --fg: #ece6dc; --muted: #adA69b; --link: #b8c7d6; --accent: #ece6dc; --accent-ink: #0d1015; --shade: rgba(13, 16, 21, 0.55); }
:root.light { color-scheme: light; --bg: #f2eadf; --surface: #faf6f0; --surface2: #ede5d9; --line: #ddd2c2; --fg: #221d1c; --muted: #5a514c; --link: #44505d; --accent: #221d1c; --accent-ink: #f2eadf; --shade: rgba(242, 234, 223, 0.6); }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.7 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
.top { position: absolute; z-index: 2; left: 0; right: 0; top: 0; }
.bar { max-width: 1160px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.3px; }
.brand img { width: 38px; height: 38px; display: block; }
.links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.links a { color: var(--fg); text-decoration: none; opacity: 0.82; }
.links a:hover, .links a[aria-current] { opacity: 1; }
.links a.cta { opacity: 1; background: var(--accent); color: var(--accent-ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.hero { position: relative; overflow: hidden; background: var(--bg) url(/legal/hero-noite.webp) center 30% / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--shade) 0%, var(--bg) 100%); }
.hero-in { position: relative; max-width: 1160px; margin: 0 auto; padding: 150px 28px 56px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
h1 { font-weight: 500; font-size: 56px; line-height: 1.04; letter-spacing: -2.2px; margin: 0 0 18px; }
.meta { display: inline-block; margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13.5px; }
.shadow { width: 190px; height: 190px; flex: none; background: url(/legal/simbolo.webp) center / contain no-repeat; opacity: 0.95; }
main { max-width: 1160px; margin: 0 auto; padding: 40px 28px 72px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: 24px; font-size: 14px; }
.toc p { margin: 0 0 10px; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--fg); border-color: var(--fg); }
article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 40px 44px 44px; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.5); min-width: 0; }
article > p:first-child { font-size: 18px; line-height: 1.65; }
h2 { font-weight: 500; font-size: 24px; letter-spacing: -0.6px; line-height: 1.25; margin: 42px 0 10px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
h3 { font-weight: 600; font-size: 16px; margin: 22px 0 4px; }
p, li { color: var(--fg); }
li { margin: 4px 0; }
table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 14px 0; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--surface2); font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--line); }
.foot { max-width: 1160px; margin: 0 auto; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }
@media (max-width: 900px) {
  main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { display: none; }
  .shadow { display: none; }
  h1 { font-size: 40px; letter-spacing: -1.6px; }
  .hero-in { padding-top: 120px; }
}
@media (max-width: 560px) {
  .bar, .hero-in, main, .foot { padding-left: 16px; padding-right: 16px; }
  article { padding: 26px 20px 30px; border-radius: 16px; }
  h1 { font-size: 34px; }
  .links a:not(.cta) { display: none; }
}
