/*
 * MATDroid — páginas legais.
 * Complementa style.css somente em privacidade.html e termos-de-uso.html.
 * As variantes escuras dependem de data-theme="dark" aplicado por theme.js.
 */
.legal-page{background:#e9ece8;color:var(--ink)}
.legal-nav{position:relative;background:#e9ece8;border-bottom:1px solid var(--line)}
.legal-nav .nav-container{height:82px}
.legal-back{font-size:13px;font-weight:600;border-bottom:1px solid #9ca69f;padding-bottom:4px}
.legal-hero{padding:90px 0 65px;border-bottom:1px solid var(--line)}
.legal-kicker{font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--green-dark);margin-bottom:20px}
.legal-hero h1{font-size:clamp(44px,7vw,82px);max-width:880px}
.legal-hero>div>p:last-child{max-width:680px;color:var(--muted);font-size:16px;margin-top:25px}
.legal-layout{display:grid;grid-template-columns:250px minmax(0,700px);gap:90px;padding-top:75px;padding-bottom:110px;align-items:start}
.legal-index{position:sticky;top:30px;border-top:1px solid var(--ink);padding-top:18px}
.legal-index strong{display:block;font-size:10px;letter-spacing:.16em;margin-bottom:15px}
.legal-index a{display:block;color:var(--muted);font-size:12px;padding:7px 0;transition:.2s}
.legal-index a:hover{color:var(--green-dark);transform:translateX(4px)}
.legal-content{counter-reset:legal}
.legal-section{padding:0 0 45px;margin-bottom:45px;border-bottom:1px solid var(--line);scroll-margin-top:35px}
.legal-section:last-child{border-bottom:0}
.legal-section h2{font-size:28px;margin-bottom:18px;display:flex;gap:18px}
.legal-section h2:before{counter-increment:legal;content:counter(legal,decimal-leading-zero);font:500 10px var(--font);letter-spacing:.1em;color:var(--green-dark);padding-top:10px}
.legal-section h3{font-size:17px;margin:25px 0 10px}
.legal-section p,.legal-section li{color:#525c55;font-size:14px;line-height:1.75}
.legal-section p+p{margin-top:14px}
.legal-section ul{padding-left:19px;margin-top:13px}
.legal-section li{padding:4px 0}
.legal-notice{background:#dfe5df;border-left:3px solid var(--green-dark);padding:20px 22px;margin:22px 0;font-size:13px;color:#3d4740}
.legal-contact{display:inline-flex;margin-top:18px;background:var(--ink);color:#fff;padding:13px 18px;border-radius:6px;font-size:13px;font-weight:600}
.legal-footer .footer-top{padding-bottom:25px}
@media(max-width:800px){.legal-layout{grid-template-columns:1fr;gap:45px}.legal-index{position:relative;top:auto;columns:2}.legal-hero{padding-top:65px}.legal-nav .logo{font-size:15px}}
@media(max-width:520px){.legal-layout{padding-top:50px}.legal-index{columns:1}.legal-hero h1{font-size:44px}.legal-section h2{font-size:24px}.legal-back{font-size:11px}}

html[data-theme="dark"] .legal-page{background:#111512;color:#e8ece9}
html[data-theme="dark"] .legal-nav{background:#111512;border-color:#2f3932}
html[data-theme="dark"] .legal-back{border-color:#59665d;color:#d7ded9}
html[data-theme="dark"] .legal-hero,html[data-theme="dark"] .legal-section{border-color:#303a33}
html[data-theme="dark"] .legal-index{border-color:#89968d}
html[data-theme="dark"] .legal-index a,html[data-theme="dark"] .legal-section p,html[data-theme="dark"] .legal-section li{color:#a4afa7}
html[data-theme="dark"] .legal-notice{background:#1b261f;color:#bac4bd;border-color:var(--green)}
html[data-theme="dark"] .legal-contact{background:var(--green);color:#0b0e0c}

html[data-theme="dark"] .legal-page,html[data-theme="dark"] .legal-nav{background:#070a08}
html[data-theme="dark"] .legal-nav{border-color:#202722}
html[data-theme="dark"] .legal-hero,html[data-theme="dark"] .legal-section{border-color:#242d27}
html[data-theme="dark"] .legal-index{border-color:#536058}
html[data-theme="dark"] .legal-notice{background:#0e1812;border-color:var(--green);color:#b9c4bc}
