/* Shared styles for the static pages (Termos, Privacidade, Sobre, 404, offline). */
@font-face{font-family:'Baloo 2'; font-style:normal; font-weight:600 800; font-display:swap;
  src:url(/assets/fonts/baloo2-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
:root{--teal:#0f766e; --teal-dark:#115e59; --abyss:#083344; --ink:#1e293b; --muted:#475569; --sand:#fdf6e8; --line:#eadfc8; --coral:#f97362; --sunset:#fb923c;
  --display:'Baloo 2', ui-rounded, ui-sans-serif, system-ui, sans-serif;}
*{box-sizing:border-box; margin:0; padding:0;}
body{font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif; color:var(--ink); background:#fffbf3; line-height:1.65; -webkit-font-smoothing:antialiased;}
a{color:var(--teal-dark);}
:focus-visible{outline:3px solid #c2410c; outline-offset:2px; border-radius:6px;}
.skip-link{position:absolute; left:12px; top:-60px; background:var(--abyss); color:#fff; padding:10px 16px; border-radius:10px; z-index:10;}
.skip-link:focus{top:12px;}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;}

/* Show only the block in the page's current language. */
.l10n{display:none;}
html[lang="pt"] .l10n[data-l="pt"], html[lang="en"] .l10n[data-l="en"], html[lang="kea"] .l10n[data-l="kea"]{display:block;}
html[lang="pt"] span.l10n[data-l="pt"], html[lang="en"] span.l10n[data-l="en"], html[lang="kea"] span.l10n[data-l="kea"]{display:inline;}

.topbar{position:sticky; top:0; z-index:5; background:rgba(255,251,243,.96); border-bottom:1px solid var(--line);}
.topbar .wrap{height:60px; display:flex; align-items:center; justify-content:space-between; gap:12px;}
.wrap{max-width:820px; margin:0 auto; padding:0 20px;}
.logo{display:flex; align-items:center; gap:8px; font-family:var(--display); font-weight:800; font-size:20px; color:var(--teal); text-decoration:none;}
.logo span span{color:var(--ink);}
.logo-mark{width:30px; height:30px; border-radius:9px; background:linear-gradient(135deg,var(--coral),var(--sunset)); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:19px;}
.lang-select{background:#f1f5f9; color:#334155; font:600 13px/1 inherit; padding:8px 10px; border-radius:8px; border:1px solid #e2e8f0;}

main{padding:36px 0 64px;}
h1{font-family:var(--display); font-size:34px; line-height:1.15; color:var(--abyss); margin-bottom:6px;}
h2{font-family:var(--display); font-size:22px; color:var(--abyss); margin:30px 0 8px;}
h3{font-size:16px; margin:18px 0 6px;}
p, ul, ol{margin-bottom:12px;}
ul, ol{padding-left:22px;}
li{margin-bottom:6px;}
.updated{color:var(--muted); font-size:14px; margin-bottom:20px;}
.draft{background:#fef3c7; border:1px solid #f59e0b; color:#78350f; border-radius:12px; padding:12px 16px; margin:16px 0 24px; font-size:14px;}
.placeholder{background:#fde68a; color:#78350f; padding:0 4px; border-radius:4px; font-weight:600;}
.card{background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px 20px; margin:12px 0;}
.btn{display:inline-block; background:var(--teal); color:#fff; padding:12px 20px; border-radius:12px; font-weight:600; text-decoration:none;}
.btn:hover{background:var(--teal-dark);}
.toc{font-size:14px;}

footer{background:var(--abyss); color:#cfe3e6; font-size:14px; padding:32px 0;}
footer a{color:#fff;}
footer ul{list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:8px 20px; margin-bottom:14px;}
footer p{margin:0; color:#a5c9cf;}
