:root { --bg:#f1f5f9; --surface:#fff; --navy:#0b162c; --navy2:#152647; --cyan:#0ea5e9; --orange:#f97316; --text:#0f172a; --muted:#475569; --border:#e2e8f0; --r:16px; }
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:system-ui,-apple-system,sans-serif; background:var(--bg); color:var(--text); line-height:1.5; }
.container { max-width:1200px; margin:0 auto; padding:0 16px; }
.topbar { background:linear-gradient(135deg,var(--navy),var(--navy2)); color:#fff; padding:14px 0; border-bottom:3px solid var(--orange); position:sticky; top:0; z-index:40; }
.topbar-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; }
.brand-logo { width:56px; height:56px; object-fit:cover; border-radius:14px; border:2px solid var(--cyan); }
.brand-text h1 { font-size:1.3rem; font-weight:800; }
.brand-text span { font-size:0.78rem; color:#cbd5e1; display:block; }
.header-controls { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
#campo-busca { padding:7px 14px; border-radius:999px; border:1px solid rgba(255,255,255,0.25); background:rgba(255,255,255,0.1); color:#fff; }
.filtros { display:flex; gap:6px; }
.filtro-btn { background:rgba(255,255,255,0.12); color:#e2e8f0; border:none; padding:7px 13px; border-radius:999px; cursor:pointer; font-weight:600; font-size:0.82rem; }
.filtro-btn.ativo, .filtro-btn:hover { background:var(--orange); color:#fff; }
.section-head { display:flex; justify-content:space-between; align-items:center; margin:22px 0 12px; }
.section-head h2 { font-size:1.1rem; color:var(--navy); font-weight:800; }
.badge-live { background:#e0f2fe; color:#0369a1; font-size:0.76rem; font-weight:700; padding:4px 10px; border-radius:999px; }
.meta-time { font-size:0.8rem; color:var(--muted); }
.stories-track { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,215px); gap:12px; overflow-x:auto; padding-bottom:8px; }
.story-card { position:relative; height:275px; border-radius:var(--r); overflow:hidden; cursor:pointer; background:var(--navy); border:2px solid transparent; transition:0.2s; }
.story-card:hover { transform:translateY(-3px); border-color:var(--orange); }
.story-card img { width:100%; height:100%; object-fit:cover; opacity:0.8; animation:kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from{transform:scale(1);} to{transform:scale(1.12);} }
.story-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(11,22,44,0.96) 15%,transparent 70%); padding:14px; display:flex; flex-direction:column; justify-content:space-between; color:#fff; }
.story-bar { height:3px; background:rgba(255,255,255,0.3); border-radius:4px; }
.story-bar span { display:block; height:100%; width:65%; background:var(--orange); }
.story-fonte { font-size:0.7rem; font-weight:700; text-transform:uppercase; color:#38bdf8; display:block; margin-bottom:4px; }
.story-overlay h3 { font-size:0.9rem; line-height:1.3; }
.portal-layout { display:grid; grid-template-columns:1fr 330px; gap:22px; align-items:start; }
@media(max-width:900px){ .portal-layout{grid-template-columns:1fr;} }
.bento-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.news-card { background:var(--surface); border-radius:var(--r); overflow:hidden; border:1px solid var(--border); display:flex; flex-direction:column; box-shadow:0 4px 12px rgba(15,23,42,0.05); }
.news-thumb { width:100%; height:170px; object-fit:cover; background:var(--navy); }
.news-body { padding:15px; display:flex; flex-direction:column; flex:1; gap:9px; }
.news-meta { display:flex; justify-content:space-between; font-size:0.75rem; color:var(--muted); }
.badge-cat { background:#fff7ed; color:#c2410c; border:1px solid #fed7aa; padding:2px 8px; border-radius:999px; font-weight:700; font-size:0.72rem; }
.news-body h3 { font-size:1.02rem; color:var(--navy); }
.news-body p { font-size:0.88rem; color:var(--muted); flex:1; }
.news-footer { display:flex; justify-content:space-between; align-items:center; padding-top:10px; border-top:1px solid var(--border); font-size:0.78rem; }
.selo-ombudsman { color:#059669; font-weight:700; }
.btn-fonte { text-decoration:none; background:var(--navy); color:#fff; padding:6px 11px; border-radius:8px; font-weight:600; font-size:0.78rem; }
.btn-fonte:hover { background:var(--orange); }
.sidebar { display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.liberdade-box { background:linear-gradient(180deg,var(--navy),#132240); color:#fff; border-radius:var(--r); padding:18px; border-top:4px solid var(--orange); }
.liberdade-tag { font-size:0.72rem; text-transform:uppercase; color:#38bdf8; font-weight:700; }
.liberdade-box h3 { font-size:1.15rem; margin:4px 0; }
.liberdade-sub { font-size:0.82rem; color:#cbd5e1; margin-bottom:12px; }
.citacao-item { background:rgba(255,255,255,0.08); border-left:3px solid var(--orange); padding:11px; border-radius:10px; margin-bottom:10px; }
.citacao-item blockquote { font-style:italic; font-size:0.86rem; margin-bottom:6px; }
.citacao-item .reflexao { font-size:0.78rem; color:#cbd5e1; margin-bottom:6px; }
.citacao-autor { display:flex; justify-content:space-between; font-size:0.76rem; color:#38bdf8; font-weight:700; }
.citacao-autor a { color:#fb923c; text-decoration:none; }
.ombudsman-box { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:15px; }
.ombudsman-box h4 { color:var(--navy); margin-bottom:5px; font-size:0.92rem; }
.ombudsman-box p { font-size:0.82rem; color:var(--muted); }
.modal { position:fixed; inset:0; background:rgba(11,22,44,0.82); display:flex; align-items:center; justify-content:center; padding:16px; z-index:60; }
.modal.hidden { display:none; }
.modal-card { background:var(--surface); max-width:430px; width:100%; border-radius:var(--r); overflow:hidden; position:relative; }
.btn-fechar { position:absolute; top:10px; right:10px; background:rgba(11,22,44,0.85); color:#fff; border:none; width:30px; height:30px; border-radius:50%; cursor:pointer; }
.modal-card img { width:100%; height:210px; object-fit:cover; background:var(--navy); }
.modal-body { padding:18px; display:flex; flex-direction:column; gap:9px; }
.rodape { background:var(--navy); color:#cbd5e1; margin-top:44px; padding:24px 0; border-top:3px solid var(--cyan); }
.rodape-inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; }
.rodape-brand { display:flex; align-items:center; gap:12px; }
.rodape-brand img { width:40px; height:40px; border-radius:10px; border:1px solid var(--cyan); }
.rodape-brand strong { color:#fff; display:block; font-size:0.92rem; }
.rodape-brand p { font-size:0.8rem; }
