/* Páginas de texto (Termos de uso e Política de privacidade). Carrega DEPOIS do obrigado.css, de onde vêm
   as cores, a fonte, o fundo fluido e o selo do topo. Aqui só a caixa de leitura. */
.pagina--texto { max-width: 820px; }
.pagina--texto .topo { padding-top: clamp(24px, 5vh, 44px); }
.pagina--texto .topo__selo { width: clamp(96px, 12vw, 128px); }
.doc {
  margin-top: clamp(24px, 4vh, 40px); padding: clamp(24px, 5vw, 52px);
  background: rgba(20, 20, 20, 0.92); border: 1px solid var(--border-strong); border-radius: 16px;
}
.doc__rotulo { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-hover); }
.doc h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; }
.doc__data { margin: 0 0 28px; font-size: 14px; color: var(--text-muted); }
.doc__resumo {
  margin: 0 0 32px; padding: 16px 18px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  background: rgba(220, 88, 8, 0.08); font-size: 16px;
}
.doc h2 { margin: 34px 0 10px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--accent-hover); }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--accent-hover); }
.doc strong { font-weight: 500; }
.doc a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.doc a:hover { color: var(--accent-hover); }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border-subtle); }
.doc th { font-weight: 500; background: rgba(255, 255, 255, 0.04); }
@media (max-width: 620px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { margin-bottom: 10px; border: 1px solid var(--border-subtle); border-radius: 8px; }
  .doc td { border: 0; padding: 8px 12px; }
  .doc td::before { content: attr(data-rotulo); display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
}
/* página /grade (03/10/2026): lista numerada de aulas e botão para a oferta */
.doc ol { margin: 0 0 12px; padding-left: 24px; }
.doc ol li::marker { color: var(--accent-hover); font-weight: 500; }
.doc__aulas { margin: 16px 0 6px !important; font-size: 12px !important; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.doc__acao { margin: 18px 0 20px !important; }
.doc a.doc__botao {
  display: inline-block; padding: 14px 28px; border-radius: 8px; border: 1px solid var(--accent); background: rgba(220, 88, 8, 0.12);
  color: var(--accent-hover); text-decoration: none; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px;
}
.doc a.doc__botao:hover { background: rgba(220, 88, 8, 0.22); }
