/* ============================================================
   Cascavel Mais — estilos globais
   Cores da marca: #fcbe26 (amarelo), #000 (preto), #fff (branco)
   ============================================================ */

:root {
  --brand: #fcbe26;
  --black: #0a0a0a;
  --ink: #111111;
  --gray: #6b7280;
  --light: #f5f5f4;
  --border: #e7e5e4;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 10px;
  --font-sans: 'Lato', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Títulos em serifada — mesma família da arte social (PT Serif) */
h1, h2, h3,
.section-title,
.hero-card h2,
.news-card h3,
.article h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.btn--primary { background: var(--brand); color: #000; }
.btn--primary:hover { background: #e6a80f; }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #1f1f1f; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--black); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #b91c1c; }
.btn--sm { padding: 6px 12px; font-size: 13px; }

/* ---------- Formulários ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=datetime-local],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}
.field .hint { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ---------- Cards / tabelas ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); }
.table tr:hover td { background: #fafaf9; }

/* ---------- Badges de status ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.badge--draft { background: #e7e5e4; color: #44403c; }
.badge--published { background: #dcfce7; color: #15803d; }
.badge--scheduled { background: #dbeafe; color: #1d4ed8; }
.badge--archived { background: #f3f4f6; color: #6b7280; }
.badge--failed { background: #fee2e2; color: #b91c1c; }
.badge--pending { background: #fef3c7; color: #b45309; }

/* ---------- Alertas ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert--success { background: #dcfce7; color: #14532d; }
.alert--error { background: #fee2e2; color: #7f1d1d; }
.alert--warning { background: #fef3c7; color: #713f12; }

/* ---------- Header admin ---------- */
.admin-header {
  background: var(--black);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.admin-header .logo { font-weight: 900; font-size: 18px; letter-spacing: .5px; }
.admin-header .logo span { color: var(--brand); }
.logo-img { height: 40px; width: auto; display: block; }
.admin-nav { display: flex; gap: 6px; align-items: center; }
.admin-nav a {
  color: #d6d3d1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Grid dashboard ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.stat .num { font-size: 30px; font-weight: 900; }
.stat .lbl { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; }
.stat--accent { border-bottom: 4px solid var(--brand); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

/* ---------- Portal: cabeçalho ---------- */
.portal-header {
  background: var(--black);
  color: #fff;
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 50;
}
.portal-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

/* Marca: símbolo + nome (evita o "logo perdido" no canto) */
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { height: 46px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-name em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand);
}

.portal-nav { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.portal-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  color: #e5e7eb;
  font-weight: 700;
  transition: color .15s, background .15s;
}
.portal-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.portal-nav a.active { color: var(--brand); }
.portal-nav a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.portal-nav .nav-denuncia,
.portal-nav a.nav-denuncia:hover { background: var(--brand); color: #000; }
.portal-nav .nav-denuncia {
  margin-left: 6px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .6px;
  padding: 12px 20px;
  border-radius: 999px;
}
.portal-nav a.nav-denuncia:hover { background: #ffd25e; }
.portal-nav .nav-denuncia::after { display: none; }

main.container { padding-bottom: 20px; }

/* ---------- Portal: destaque ---------- */
.hero { margin: 28px 0 10px; }
.hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  color: #fff;
  min-height: 420px;
  display: block;
}
.hero-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-card:hover img { transform: scale(1.03); }
.hero-card .hero-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 28px 26px;
  /* Mesma lógica de escurecimento da arte social */
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.92) 100%);
}
.hero-card .cat {
  display: inline-block;
  background: var(--brand);
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 999px;
}
.hero-card h2 { margin: 12px 0 6px; font-size: 34px; line-height: 1.18; max-width: 800px; }
.hero-card .meta { font-size: 13px; color: #d1d5db; }

/* ---------- Portal: cartões ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; margin: 18px 0 8px; }
.news-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.10);
  border-color: #d6d3d1;
}
.news-card .news-card-thumb { overflow: hidden; background: #eee; }
.news-card img { height: 175px; object-fit: cover; width: 100%; transition: transform .4s ease; }
.news-card:hover img { transform: scale(1.05); }
.news-card .news-card-body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.news-card .cat {
  color: #a16207;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.news-card h3 { margin: 0; font-size: 17px; line-height: 1.32; }
.news-card .meta { font-size: 12.5px; color: var(--gray); margin-top: auto; }

/* ---------- Portal: títulos de seção ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  margin: 34px 0 16px;
  padding: 0;
  border: 0;
}
.section-title::before {
  content: '';
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: var(--brand);
  flex: none;
}

/* Artigo */
.article { max-width: 760px; margin: 0 auto; padding: 28px 20px 60px; }
.article .cat { color: #b45309; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.article h1 { font-size: 34px; line-height: 1.2; margin: 10px 0; }
.article .subtitle { font-size: 18px; color: #44403c; }
.article .meta { font-size: 13px; color: var(--gray); margin: 12px 0 24px; }
.article .article-image { border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.article .article-image img { width: 100%; }
.article .content { font-size: 17px; line-height: 1.7; }
.article .content p { margin: 0 0 16px; }
.article .content img { border-radius: 12px; margin: 16px 0; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  font-family: var(--font-serif);
}
.sidebar-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.sidebar-item:last-child { border-bottom: 0; }
.sidebar-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
.sidebar-content { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sidebar-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color .15s;
}
.sidebar-item:hover .sidebar-text { color: var(--brand); }
.sidebar-meta {
  font-size: 12px;
  color: var(--gray);
}

.pagination { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.pagination .active { background: var(--black); color: #fff; }

.footer { background: var(--black); color: #9ca3af; padding: 34px 0 0; margin-top: 40px; font-size: 14px; }
/* Quando vem logo após o banner escuro, os dois formam um bloco único
   (sem a faixa branca que separava as duas áreas pretas). */
.help-banner + .footer {
  margin-top: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { height: 52px; width: auto; }
.footer-brand strong { color: #fff; font-family: var(--font-serif); font-size: 17px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #d1d5db; font-weight: 700; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 20px 26px;
  font-size: 13px;
  color: #6b7280;
}

.empty { text-align: center; padding: 60px 20px; color: var(--gray); }

/* Checkbox "notícia de capa" no admin */
.cover-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: var(--radius);
  cursor: pointer;
}
.cover-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.cover-check strong { display: block; font-size: 14px; }
.cover-check small { display: block; color: var(--gray); font-size: 12px; margin-top: 3px; line-height: 1.45; }

/* Previa thumbnail no admin */
.preview-box { text-align: center; }
.preview-box img {
  max-width: 320px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* ==========================================================
   Canal de denúncias
   ========================================================== */
.portal-nav .nav-denuncia {
  background: var(--brand);
  color: #000;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .5px;
}
.portal-nav .nav-denuncia:hover { background: #e6a80f; color: #000; }

.report-page { max-width: 720px; margin: 0 auto; padding: 28px 0 20px; }
.report-intro { text-align: center; margin-bottom: 24px; }
.report-tag {
  display: inline-block;
  background: var(--brand);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.report-intro h1 { font-size: 32px; line-height: 1.2; margin: 14px 0 10px; }
.report-intro p { color: #44403c; font-size: 16px; line-height: 1.6; }

.report-emergency {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #713f12;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.report-emergency a { font-weight: 800; text-decoration: underline; color: #713f12; }

.report-form { padding: 26px; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.report-grid .field { margin-bottom: 14px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.report-anon {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 6px 0 18px;
}
.report-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.report-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.report-check strong { display: block; font-size: 15px; }
.report-check small { display: block; color: var(--gray); font-size: 13px; margin-top: 2px; }

.report-contact {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
}
.report-contact-title { font-weight: 700; font-size: 14px; margin: 0 0 12px; }

.report-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Página de confirmação */
.report-done { max-width: 560px; margin: 0 auto; text-align: center; padding: 50px 0; }
.report-done-icon {
  width: 68px; height: 68px; line-height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 34px;
  font-weight: 900;
}
.report-done h1 { font-size: 28px; margin-bottom: 10px; }
.report-done > p { color: #44403c; line-height: 1.6; margin-bottom: 22px; }
.report-protocol {
  background: var(--black);
  color: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
}
.report-protocol span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9ca3af; }
.report-protocol strong { display: block; font-size: 30px; font-weight: 900; color: var(--brand); margin: 8px 0; letter-spacing: 1px; }
.report-protocol small { color: #9ca3af; font-size: 13px; }

/* Banner "Precisa de ajuda?" no fim das páginas */
.help-banner { background: var(--black); color: #fff; margin-top: 50px; padding: 40px 0 24px; }
.help-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.help-banner-text h2 { font-size: 26px; margin: 0 0 8px; }
.help-banner-text h2::before { content: '🛡️ '; }
.help-banner-text p { color: #d1d5db; font-size: 15px; line-height: 1.6; margin: 0; max-width: 620px; }
.help-banner-cta { flex: none; font-size: 15px; padding: 14px 26px; }
.help-phones {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.help-phones a {
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: #d1d5db;
}
.help-phones a:hover { background: rgba(255,255,255,.14); color: #fff; }
.help-phones strong { color: var(--brand); font-weight: 900; margin-right: 6px; }

@media (max-width: 640px) {
  .help-banner-inner { flex-direction: column; gap: 16px; }
  .help-banner-cta { width: 100%; text-align: center; }
  .help-banner-text h2 { font-size: 22px; }
  .help-banner-text p { font-size: 14px; }
  .help-phones { gap: 8px; }
  .help-phones a { font-size: 12px; padding: 6px 12px; }
  .report-intro h1 { font-size: 24px; }
  .report-intro p { font-size: 14px; }
  .report-page { padding: 18px 0 16px; }
  .report-form { padding: 18px 14px; }
  .report-tag { font-size: 11px; padding: 4px 12px; }
  .report-emergency { font-size: 13px; padding: 12px 14px; }
  .report-grid { grid-template-columns: 1fr; }
  .report-protocol strong { font-size: 22px; }
  .report-done { padding: 30px 0; }
  .report-done h1 { font-size: 22px; }
  .report-done > p { font-size: 14px; }
  .report-registered { flex-direction: column; gap: 10px; }
  .report-contact-title { font-size: 15px; }
}

.nav-count {
  display: inline-block;
  background: var(--brand);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  text-align: center;
  margin-left: 4px;
}

/* Status das denúncias */
.badge--reviewing { background: #e0f2fe; color: #0369a1; }
.badge--forwarded { background: #ede9fe; color: #6d28d9; }
.badge--resolved { background: #dcfce7; color: #15803d; }

.status-quick {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  cursor: pointer;
}
.status-quick--pending { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.status-quick--reviewing { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.status-quick--forwarded { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.status-quick--resolved { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.status-quick--archived { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; }

/* Lista de denúncias */
.report-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fafaf9;
  flex: none;
}
.report-cell { display: flex; gap: 12px; align-items: center; }
.report-excerpt { color: var(--gray); font-size: 13px; line-height: 1.5; margin-top: 4px; max-width: 360px; }
tr.row--pending td { background: #fffbeb; }
tr.row--pending:hover td { background: #fef3c7; }

/* Indicador de passos (denúncia em 2 etapas) */
.report-steps {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.report-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  opacity: .55;
}
.report-steps li.active { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252,190,38,.18); }
.report-steps li.done { opacity: 1; border-color: #86efac; }
.report-steps .step-num {
  flex: none;
  width: 30px; height: 30px; line-height: 30px;
  border-radius: 50%;
  background: var(--light);
  color: var(--ink);
  text-align: center;
  font-weight: 900;
  font-size: 14px;
}
.report-steps li.active .step-num { background: var(--brand); color: #000; }
.report-steps li.done .step-num { background: #dcfce7; color: #15803d; }
.report-steps .step-label strong { display: block; font-size: 14px; line-height: 1.2; }
.report-steps .step-label small { display: block; color: var(--gray); font-size: 12px; }

/* Passo 2 — confirmação de que a denúncia já está salva */
.report-registered {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 22px;
}
.report-registered-check {
  flex: none;
  width: 28px; height: 28px; line-height: 28px;
  border-radius: 50%;
  background: #15803d;
  color: #fff;
  text-align: center;
  font-weight: 900;
}
.report-registered strong { display: block; color: #14532d; font-size: 15px; }
.report-registered p { margin: 4px 0 0; color: #166534; font-size: 14px; line-height: 1.5; }
.report-registered code {
  background: rgba(0,0,0,.08);
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 800;
  letter-spacing: .5px;
}

.report-privacy {
  background: var(--light);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: #44403c;
  line-height: 1.5;
  margin-bottom: 18px;
}

.report-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-done-mode { color: #44403c; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

@media (max-width: 560px) {
  .report-steps { flex-direction: column; gap: 8px; }
  .report-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Portal responsivo ---------- */
@media (max-width: 900px) {
  .portal-header > .container { min-height: 64px; gap: 12px; }
  .brand-mark { height: 40px; }
  .brand-name strong { font-size: 18px; }
  .brand-name em { font-size: 10px; letter-spacing: 2px; }
  .portal-nav { font-size: 14px; gap: 2px; }
  .portal-nav a { padding: 8px 10px; }
  .hero-card, .hero-card img { min-height: 320px; height: 320px; }
  .hero-card h2 { font-size: 26px; }
}

@media (max-width: 900px) {
  div[style*="grid-template-columns: 1fr 320px"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
  /* Faixa 1: marca + navegação numa linha só, compacta */
  .portal-header > .container {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 50px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .portal-header > .container > .brand { flex: none; }
  .brand { gap: 8px; }
  .brand-mark { height: 30px; }
  .brand-name strong { font-size: 15px; }
  .brand-name em { font-size: 8px; letter-spacing: 1.3px; }

  .portal-nav {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-end;
    font-size: 12.5px;
    gap: 0;
  }
  .portal-nav::-webkit-scrollbar { display: none; }
  .portal-nav a { white-space: nowrap; padding: 6px 8px; }
  .portal-nav .nav-search-ico { display: none; }
  .portal-nav .nav-denuncia { padding: 7px 12px; font-size: 10.5px; margin-left: 4px; }
  .portal-nav a.active::after { display: none; }
  .portal-nav a.active { color: var(--brand); }

  /* Faixa 2: editorias em uma linha rolável, pequena */
  .editorias-inner a { font-size: 12px; padding: 9px 10px; }

  .sidebar-box { padding: 12px; }
  .sidebar-title { font-size: 14px; }
  .sidebar-item { padding: 8px 0; }
  .sidebar-thumb { width: 60px; height: 60px; }
  .sidebar-text { font-size: 12px; }
  .sidebar-meta { font-size: 11px; }

  .hero-card, .hero-card img { min-height: 240px; height: 240px; }
  .hero-card .hero-body { padding: 16px 14px 14px; }
  .hero-card h2 { font-size: 20px; }
  .hero-card .meta { font-size: 12px; }
  .hero-card .cat { font-size: 10px; padding: 4px 10px; }

  .section-title { font-size: 19px; margin: 24px 0 12px; }

  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card img { height: 160px; }

  .footer-inner { flex-direction: column; gap: 18px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-bottom { font-size: 12px; }

  .article h1 { font-size: 24px; }
  .article .subtitle { font-size: 15px; }
  .article .content { font-size: 16px; }
  .article { padding: 20px 4px 40px; }
}

/* Chips de categoria (home) */
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  transition: border-color .15s, background .15s, transform .15s;
}
.category-chip:hover { border-color: var(--black); transform: translateY(-1px); }
.category-chip span {
  background: var(--light);
  color: var(--gray);
  font-size: 12px;
  font-weight: 900;
  padding: 1px 8px;
  border-radius: 999px;
}
.category-chip:hover span { background: var(--brand); color: #000; }

/* ==========================================================
   Admin responsivo
   ========================================================== */
@media (max-width: 768px) {
  .admin-header .container {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }
  .admin-header .logo { flex: 1; }
  .admin-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    padding-bottom: 2px;
  }
  .admin-nav a { white-space: nowrap; font-size: 13px; padding: 7px 10px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat .num { font-size: 24px; }
  .stat { padding: 14px; }

  .grid-2 { grid-template-columns: 1fr; }
}

/* Admin: tabelas com scroll horizontal em mobile */
@media (max-width: 640px) {
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px; }

  .card > .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .table-cards thead { display: none; }
  .table-cards,
  .table-cards tbody,
  .table-cards tr,
  .table-cards td { display: block; width: 100%; }
  .table-cards tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .table-cards tr:last-child { border-bottom: 0; }
  .table-cards td { padding: 4px 0; border: 0; }
  .table-cards td:before {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--gray);
    margin-right: 8px;
    min-width: 70px;
  }
  .table-cards td[data-label]:before { content: attr(data-label) " "; }
  .table-cards td:first-child { padding-bottom: 8px; }
  .table-cards td:last-child { padding-top: 8px; }

  .report-cell { margin-bottom: 4px; }
  .report-excerpt { max-width: none; }

  .admin-header .logo-img { height: 32px; }

  .card { padding: 14px; border-radius: 10px; }
  .btn--sm { padding: 5px 10px; font-size: 12px; }
}

/* ==========================================================
   Geral: extras mobile
   ========================================================== */
@media (max-width: 480px) {
  .search-form { flex-direction: column; }
  .search-form input { width: 100%; }
  .pagination { flex-wrap: wrap; }
  .pagination a, .pagination span { padding: 6px 10px; font-size: 13px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .brand-mark { height: 28px; }
  .brand-name strong { font-size: 14px; }
  .brand-name em { font-size: 7.5px; letter-spacing: 1.2px; }
  .portal-nav { font-size: 12px; }
  .portal-nav a { padding: 6px 6px; }
  .stat .num { font-size: 20px; }
  .stat .lbl { font-size: 11px; }
}

/* ==========================================================
   PORTAL DE NOTÍCIAS — ticker, editorias, destaques, sidebar
   ========================================================== */

/* ---------- Ticker / plantão ---------- */
.ticker {
  background: #161616;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 40px; overflow: hidden; }
.ticker-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 6px;
}
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: ticker-pulse 1.2s infinite;
}
@keyframes ticker-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-viewport { flex: 1; overflow: hidden; position: relative; }
.ticker-track {
  display: inline-flex;
  gap: 34px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { color: #d1d5db; font-weight: 700; }
.ticker-item::before { content: '•'; color: var(--brand); margin-right: 34px; }
.ticker-item:hover { color: var(--brand); }
.ticker-clock { flex: none; color: #9ca3af; font-size: 12px; }

/* ---------- Slogan sob a marca ---------- */
.brand-slogan {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #9ca3af;
  margin-top: 2px;
  text-transform: none;
}
.nav-search-ico { font-size: 12px; }

/* ---------- Barra de editorias (categorias) ---------- */
.editorias { background: #1c1c1c; border-top: 1px solid rgba(255,255,255,.06); }
.editorias-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.editorias-inner::-webkit-scrollbar { display: none; }
.editorias-inner a {
  flex: none;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 11px 14px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.editorias-inner a:hover { color: #fff; }
.editorias-inner a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- Destaque principal + secundárias ---------- */
.lead-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  margin: 26px 0 12px;
}
.lead-main.hero-card, .lead-main.hero-card img { min-height: 460px; height: 460px; }
.tag-live {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 11px;
  border-radius: 999px;
  margin-right: 8px;
}
.lead-main .lead-sub { color: #e5e7eb; font-size: 15px; line-height: 1.5; margin: 8px 0 4px; max-width: 640px; }

.lead-side { display: flex; flex-direction: column; gap: 14px; }
.lead-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.lead-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.09); border-color: #d6d3d1; }
.lead-item-thumb { overflow: hidden; background: #eee; }
.lead-item-thumb img { width: 104px; height: 100%; min-height: 92px; object-fit: cover; }
.lead-item-body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.lead-item-body .cat { color: #a16207; font-weight: 900; font-size: 10.5px; text-transform: uppercase; letter-spacing: .7px; }
.lead-item-body h3 { margin: 0; font-size: 15px; line-height: 1.28; }
.lead-item-body .meta { font-size: 11.5px; color: var(--gray); margin-top: auto; }

/* ---------- Corpo em colunas (conteúdo + rail direito) ---------- */
.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; margin-top: 24px; }
.home-main { min-width: 0; }
.home-aside { display: flex; flex-direction: column; gap: 20px; }
.home-aside > * { width: 100%; }

/* Faixa de manchetes secundárias (abaixo do destaque) */
.lead-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin: 16px 0 4px;
}

.editoria-block { margin-top: 8px; }
.editoria-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editoria-head .section-title { flex: 1; }
.see-all { font-size: 13px; font-weight: 800; color: #a16207; white-space: nowrap; }
.see-all:hover { color: var(--black); }

/* ---------- Ranking "Mais lidas" ---------- */
.rank-box .rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.rank-list li { border-bottom: 1px solid var(--border); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; }
.rank-num {
  flex: none;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  width: 26px;
  text-align: center;
}
.rank-text { display: flex; flex-direction: column; gap: 3px; }
.rank-title { font-size: 13.5px; font-weight: 700; line-height: 1.33; color: var(--ink); transition: color .15s; }
.rank-list a:hover .rank-title { color: #a16207; }
.rank-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); }

.denuncia-box p { font-size: 13.5px; color: #44403c; line-height: 1.5; margin: 0 0 12px; }

/* ---------- Botões de compartilhamento ---------- */
.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 6px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.share-label { font-size: 13px; font-weight: 800; color: var(--gray); margin-right: 4px; }
.share-btn {
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: opacity .15s, transform .15s;
}
.share-btn:hover { opacity: .9; transform: translateY(-1px); }
.share-wa { background: #25d366; color: #05330f; }
.share-fb { background: #1877f2; }
.share-tw { background: #111; }
.share-tg { background: #229ed9; }

/* ---------- Páginas institucionais (Sobre / Contato) ---------- */
.static-page { max-width: 820px; margin: 0 auto; padding: 28px 0 40px; }
.static-page > .cat { color: #b45309; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.static-page h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 12px; }
.static-page .lead { font-size: 18px; line-height: 1.6; color: #44403c; margin: 0 0 8px; }
.static-page .content { font-size: 16.5px; line-height: 1.75; }
.static-page .content h2 { font-size: 22px; margin: 28px 0 10px; }
.static-page .content ul { padding-left: 20px; }
.static-page .content li { margin-bottom: 8px; }
.page-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 34px;
}
.page-cta strong { font-size: 17px; }
.page-cta p { margin: 4px 0 0; color: var(--gray); font-size: 14px; }
.contact-form { margin-top: 22px; }

/* ---------- Newsletter + rodapé rico ---------- */
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.footer-col { min-width: 0; }
.footer-title { color: #fff; font-family: var(--font-serif); font-size: 15px; margin: 0 0 14px; }
.footer-links { flex-direction: column; gap: 10px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer-social a {
  font-size: 12.5px; font-weight: 800;
  color: #d1d5db;
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 13px;
  border-radius: 999px;
}
.footer-social a:hover { color: #000; background: var(--brand); border-color: var(--brand); }
.footer-news p { color: #9ca3af; font-size: 13.5px; line-height: 1.5; margin: 0 0 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input[type=email] {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input[type=email]::placeholder { color: #9ca3af; }
.newsletter-form input[type=email]:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.footer-news-ok { color: #86efac; font-weight: 700; }
.footer-news-err { color: #fca5a5; font-size: 12.5px; }

/* ---------- Widget de clima ---------- */
.weather-box {
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  transition: box-shadow .2s ease;
}
.weather-box:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.weather-box .sidebar-title {
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--brand);
}

/* Condição atual */
.weather-current {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px;
  background: #fafbfc;
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.weather-current-left { display: flex; align-items: center; gap: 12px; }
.weather-emoji { font-size: 38px; line-height: 1; }
.weather-temp {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700; line-height: 1;
  display: block; letter-spacing: -.5px;
}
.weather-desc { font-size: 13px; font-weight: 700; color: #44403c; display: block; margin-top: 3px; }
.weather-current-right {
  display: flex; flex-wrap: wrap; gap: 5px 12px;
  background: #fff;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 12.5px; color: #555;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.weather-current-right span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* Gráfico */
.weather-chart-wrapper { margin: 6px 0 2px; }
.weather-chart { width: 100%; height: auto; display: block; overflow: visible; }
.weather-chart .wc-max { fill: #92610a; font-size: 10px; font-weight: 800; }
.weather-chart .wc-min { fill: #9ca3af; font-size: 9.5px; font-weight: 700; }

/* Previsão por dia */
.weather-days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.weather-day {
  text-align: center;
  padding: 6px 2px;
  border-radius: 8px;
  transition: background .15s;
}
.weather-day:hover { background: var(--light); }
.wd-icon { font-size: 20px; display: block; margin-bottom: 2px; }
.wd-label { font-size: 11px; font-weight: 800; color: var(--ink); display: block; text-transform: capitalize; }
.wd-temp { font-size: 10.5px; font-weight: 700; color: #78716c; display: block; margin-top: 3px; white-space: nowrap; }
.wd-temp b { color: #92610a; font-weight: 800; }
.wd-pop {
  font-size: 9px; color: #2563eb; font-weight: 700;
  display: inline-block; background: #eff3fb;
  border-radius: 10px; padding: 0 5px; margin-top: 4px;
}
@media (max-width: 520px) {
  .weather-current { flex-direction: column; align-items: flex-start; }
  .weather-current-right { width: 100%; justify-content: space-between; }
  .weather-days { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .wd-icon { font-size: 22px; }
}

/* ---------- Comentários ---------- */
.comments { margin-top: 38px; }
.comments-count {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 900;
  background: var(--light);
  color: var(--gray);
  padding: 2px 10px;
  border-radius: 999px;
}
.comment-form { margin-bottom: 24px; }
.comment-list { display: flex; flex-direction: column; gap: 4px; }
.comment {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: 0; }
.comment-avatar {
  flex: none;
  width: 40px; height: 40px; line-height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #000;
  font-weight: 900;
  text-align: center;
  font-size: 17px;
}
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
.comment-head strong { font-size: 14.5px; }
.comment-head span { font-size: 12px; color: var(--gray); }
.comment-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #1c1917; white-space: pre-line; }

/* ---------- Responsivo do portal de notícias ---------- */
@media (max-width: 980px) {
  .home-columns { grid-template-columns: 1fr; }
  .home-aside { position: static; flex-direction: column; }
}
@media (max-width: 860px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-main.hero-card, .lead-main.hero-card img { min-height: 340px; height: 340px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ticker { font-size: 12px; }
  .ticker-clock { display: none; }
  .ticker-inner { gap: 10px; height: 34px; }
  .ticker-label { font-size: 10px; padding: 4px 9px; }
  .brand-slogan { display: none; }
  .lead-main.hero-card, .lead-main.hero-card img { min-height: 260px; height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .static-page h1 { font-size: 26px; }
  .static-page .lead { font-size: 16px; }
  .share-btn { font-size: 12px; padding: 7px 11px; }
  .page-cta { flex-direction: column; align-items: flex-start; }
}
