/* ── Páginas de Termos (RNF-017) ── */

.termos-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-page);
}


.termos-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.termos-meta { display: flex; flex-direction: column; gap: 8px; }
.termos-meta h1 { font-size: 28px; font-weight: 800; }
.termos-versao { font-size: 13px; color: var(--text-muted); }

.termos-body {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px 36px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
}

.termos-body h2 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.termos-body h2:first-child { margin-top: 0; }
.termos-body p { margin-bottom: 12px; }
.termos-body ul { padding-left: 20px; margin-bottom: 12px; }
.termos-body li { margin-bottom: 6px; }
.termos-body strong { font-weight: 700; }

.termos-footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.termos-footer-links a { color: var(--primary); text-decoration: none; }
.termos-footer-links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .termos-content { padding: 24px 16px 60px; }
    .termos-body { padding: 20px 18px; }
    .termos-meta h1 { font-size: 22px; }
}
