/* Estilo das páginas de Termos de Uso e Política de Privacidade (mesmas cores da landing) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #0f172a; background: #f8fafc; line-height: 1.7; }
a { color: #059669; }

.topo { background: #0f172a; border-bottom: 1px solid #1e293b; }
.topo-conteudo { max-width: 820px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.marca { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: #f8fafc; text-decoration: none; letter-spacing: -0.5px; }
.marca span { color: #10b981; font-size: 12px; background: rgba(16, 185, 129, 0.12); padding: 2px 6px; border-radius: 4px; }
.voltar { color: #cbd5e1; font-size: 14px; font-weight: 600; text-decoration: none; }
.voltar:hover { color: #10b981; }

.documento { max-width: 820px; margin: 32px auto; padding: 40px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; }
.documento h1 { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.2; }
.atualizacao { color: #64748b; font-size: 13px; margin: 6px 0 24px; }
.documento h2 { font-size: 20px; font-weight: 800; margin: 36px 0 10px; padding-top: 8px; scroll-margin-top: 16px; }
.documento h3 { font-size: 15px; font-weight: 800; margin: 18px 0 6px; color: #334155; }
.documento p { margin-bottom: 12px; color: #334155; }
.documento ul { margin: 0 0 12px 22px; color: #334155; }
.documento li { margin-bottom: 6px; }

.indice { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 16px; }
.indice a { font-size: 14px; text-decoration: none; color: #065f46; font-weight: 600; }
.indice a:hover { text-decoration: underline; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
th { background: #f1f5f9; font-weight: 800; color: #0f172a; }
td:last-child { width: 38%; color: #475569; }


.rodape { text-align: center; color: #64748b; font-size: 13px; padding: 24px 20px 40px; }
.rodape p { margin-bottom: 6px; }

@media (max-width: 640px) {
    .documento { margin: 0; padding: 24px 18px; border-radius: 0; border-left: none; border-right: none; }
    .documento h1 { font-size: 26px; }
    table, thead, tbody, tr, th, td { display: block; }
    thead { display: none; }
    tr { border-bottom: 1px solid #e2e8f0; padding: 8px 0; }
    td { border: none; padding: 2px 0; }
    td:last-child { width: auto; font-size: 13px; font-weight: 600; color: #059669; }
}
