/* Termo de uso e privacidade (#598): termo_aceite.php e termo.php */
body.termo-pagina{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--expert-navy);padding:20px}
.termo-box{width:100%;max-width:820px;background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;max-height:calc(100vh - 40px)}
.termo-topo{padding:24px 24px 12px}
.termo-titulo{font-family:var(--font-display);font-size:19px;font-weight:800;color:var(--expert-navy)}
.termo-sub{font-size:13px;color:var(--gray-500);margin-top:4px}
.termo-texto{flex:1;overflow-y:auto;margin:0 24px;padding:18px 22px;border:1px solid var(--gray-200);border-radius:var(--radius-lg);background:var(--gray-50,#f8fafc);font-size:13.5px;line-height:1.6;color:var(--gray-700,#334155)}
.termo-texto h1{font-family:var(--font-display);font-size:18px;font-weight:800;color:var(--expert-navy);margin:0 0 4px}
.termo-texto .termo-versao{font-size:12px;color:var(--gray-500);margin:0 0 14px}
.termo-texto h2{font-family:var(--font-display);font-size:14px;font-weight:700;color:var(--expert-navy);margin:18px 0 6px}
.termo-texto p{margin:0 0 8px}
.termo-texto ul{margin:0 0 8px;padding-left:20px}
.termo-texto li{margin-bottom:5px}
.termo-acoes{padding:14px 24px 22px}
.termo-check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--expert-navy);cursor:pointer;margin-bottom:14px}
.termo-check input{margin-top:3px;width:17px;height:17px;flex:none}
.termo-botoes{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
body.termo-leitura .termo-box{max-height:none}
body.termo-leitura .termo-texto{overflow:visible;border:none;background:none;margin:0;padding:28px 32px}
@media (max-width:700px){
    body.termo-pagina{padding:0;align-items:stretch}
    .termo-box{border-radius:0;max-height:none;min-height:100vh}
    .termo-texto{margin:0 16px;padding:14px}
    body.termo-leitura .termo-texto{padding:20px 16px}
    .termo-topo,.termo-acoes{padding-left:16px;padding-right:16px}
    .termo-botoes .btn{flex:1;justify-content:center}
}
@media print{
    body.termo-pagina{background:#fff;padding:0;display:block}
    .termo-box{box-shadow:none;max-width:none}
    .termo-nao-imprime{display:none}
}
