/* ═══ Páginas legais ═══
   Folha compartilhada pelas quatro páginas (privacidade, termos, exclusão, cookies).
   Os tokens repetem os da landing page porque ela mantém o CSS embutido: são páginas
   de leitura longa, servidas raramente, e um arquivo só evita quatro cópias do mesmo
   bloco. Se a paleta da LP mudar, mude aqui também. */
:root {
  --navy:        #171D6F;
  --navy-deep:   #0E1557;
  --navy-abyss:  #090E3D;
  --gold:        #FBC119;
  --gold-hover:  #FFD34D;

  --ink:         #F4F6FF;
  --ink-soft:    #C3CAF0;
  --ink-muted:   #A9B2E8;
  --ink-faint:   #7C86C4;

  --line:        rgba(196, 206, 255, 0.14);
  --line-strong: rgba(251, 193, 25, 0.32);
  --surface:     rgba(255, 255, 255, 0.045);

  --font-display: "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;

  --leitura: 720px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--navy-abyss);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-hover); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.leitura { width: 100%; max-width: var(--leitura); margin: 0 auto; padding: 0 24px; }

/* ── Topo ── */
.topo {
  border-bottom: 1px solid var(--line);
  background: var(--navy-deep);
  padding: 16px 0;
}
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo__marca { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.topo__marca img { width: 36px; height: 36px; border-radius: 7px; }
.topo__marca span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.topo__voltar {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--line); background: var(--surface);
  padding: 9px 16px; border-radius: 7px;
  transition: border-color .2s ease, color .2s ease;
}
.topo__voltar:hover { border-color: var(--line-strong); color: var(--gold); }

/* ── Corpo do documento ── */
.doc { flex: 1 0 auto; padding: 52px 0 72px; }

.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.doc__data {
  font-size: 13px; color: var(--ink-faint);
  margin-top: 12px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.doc__abertura { margin-top: 26px; color: var(--ink-muted); }

.doc h2 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; line-height: 1.3;
  color: var(--gold);
  margin: 38px 0 12px;
}
.doc h3 {
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 20px; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--ink); font-weight: 600; }

/* Quadro de destaque para o que o leitor precisa reter */
.nota {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 9px;
  font-size: 15px;
}

/* Tabela de armazenamento — rola sozinha no celular em vez de esticar a página */
.tabela-wrap { overflow-x: auto; margin-top: 16px; }
.tabela { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.tabela th, .tabela td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabela th { font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.tabela td code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; color: var(--gold); }

/* ── Rodapé ── */
.rodape { border-top: 1px solid var(--line); background: var(--navy-deep); padding: 28px 0; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; }
.rodape__links a { color: var(--ink-muted); text-decoration: none; }
.rodape__links a:hover { color: var(--gold); }
.rodape__links a[aria-current="page"] { color: var(--gold); }
.rodape__selo { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 520px) {
  .leitura { padding: 0 18px; }
  .doc { padding: 36px 0 52px; }
  .topo__marca span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
