/* ══════════════════════════════════════════════
   NEWSBR1 — Style v3 — Reajuste Final
   ══════════════════════════════════════════════ */

/* ── Reset & Variáveis ────────────────────────────────────────────────────── */
:root {
  --red:    #dc2626;
  --blue:   #2563eb;
  --dark:   #0f172a;
  --card:   #1e293b;
  --border: #334155;
  --text:   #e2e8f0;
  --muted:  #94a3b8;
  --bg:     #f8fafc;
  --white:  #ffffff;
  --header: #111827;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
  --font:   'Segoe UI', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: #1a202c; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── Info Topbar (Clima + Cotações + Hora) ──────────────────────────────── */
.info-topbar { background: #0d1117; color: #b8c1cc; font-size: .78rem; border-bottom: 1px solid #1e2733; position: relative; z-index: 200; }
.info-topbar-inner { display: flex; align-items: center; gap: 0; height: 34px; overflow: hidden; }
.itb-weather { display: flex; align-items: center; gap: 6px; padding: 0 14px 0 0; white-space: nowrap; }
.itb-city-icon { color: #4a90d9; font-size: .7rem; }
.itb-city { font-weight: 600; color: #d0d8e4; }
.itb-temp { font-weight: 700; color: #fff; font-size: .82rem; }
.itb-weather-desc { color: #8896a5; font-size: .72rem; }
.itb-sep { width: 1px; height: 18px; background: #2a3340; margin: 0 12px; flex-shrink: 0; }
.itb-rates { display: flex; align-items: center; gap: 4px; flex: 1; overflow: hidden; }
.itb-rate { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 3px; white-space: nowrap; font-size: .75rem; }
.itb-rate-label { font-weight: 700; font-size: .7rem; opacity: .75; }
.itb-rate small { font-size: .65rem; }
.itb-dot { color: #2a3340; margin: 0 2px; }
.rate-up { color: #22c55e; }
.rate-dn { color: #ef4444; }
.rate-eq { color: #94a3b8; }
.itb-datetime { margin-left: auto; padding-left: 12px; color: #5c6b7a; white-space: nowrap; font-size: .72rem; }
.itb-spinner { color: #4a5568; font-size: .7rem; }

/* Modal de previsão do tempo */
.weather-modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 9999; display: flex; align-items: flex-start; justify-content: flex-start; padding: 40px 20px; }
.weather-modal-inner { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; min-width: 320px; max-width: 520px; width: 100%; position: relative; }
.weather-modal-inner h3 { font-size: 1rem; color: var(--text); margin: 0 0 16px; }
.weather-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.4rem; color: var(--text-muted); cursor: pointer; line-height: 1; }
.weather-modal-current { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-alt); border-radius: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.wm-big-icon { font-size: 2.5rem; }
.wm-temp-big { font-size: 2rem; font-weight: 800; color: var(--text); }
.wm-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.wm-meta span { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.weather-forecast-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wm-fc-day { background: var(--bg-alt); border-radius: 8px; padding: 10px 6px; text-align: center; }
.wm-fc-name { font-size: .72rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.wm-fc-icon { font-size: 1.4rem; margin-bottom: 4px; }
.wm-fc-max { font-weight: 700; color: var(--text); font-size: .85rem; }
.wm-fc-min { color: var(--text-muted); font-size: .78rem; }
.wm-fc-rain { font-size: .68rem; color: #4a90d9; margin-top: 3px; }

/* ── Breaking Bar ───────────────────────────────────────────────────────── */
.breaking-bar { background: var(--red); color: #fff; display: flex; align-items: center;
  overflow: hidden; height: 36px; }
.breaking-label { background: #991b1b; padding: 0 14px; font-weight: 700; font-size: .8rem;
  white-space: nowrap; height: 100%; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker { display: flex; gap: 40px; white-space: nowrap; animation: tickerScroll 40s linear infinite; }
.ticker-item a { color: #fff; font-size: .875rem; }
.ticker-item a:hover { text-decoration: underline; }
@keyframes tickerScroll { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { background: var(--header); position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { font-size: 1.5rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 2px; text-decoration: none; flex-shrink: 0; max-width: 190px; overflow: hidden; }
.logo-br { color: #fff; }
.logo-af { color: var(--red); }
.logo small { font-size: .65rem; color: var(--muted); margin-left: 4px; letter-spacing: 2px; }
.header-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-text-fallback { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.main-nav { display: flex; gap: 2px; overflow: hidden; }
.main-nav a { color: #cbd5e1; padding: 8px 10px; font-size: .85rem; border-radius: 6px; white-space: nowrap; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-form { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.search-form input { background: transparent; border: none; color: #fff; padding: 6px 12px; font-size: .85rem; outline: none; width: 160px; }
.search-form input::placeholder { color: #94a3b8; }
.search-form button { background: none; border: none; color: #94a3b8; padding: 6px 10px; cursor: pointer; }
.search-form button:hover { color: #fff; }
.dark-toggle, .hamburger { background: none; border: none; color: #94a3b8; font-size: 1.1rem; cursor: pointer; padding: 6px 8px; }
.dark-toggle:hover, .hamburger:hover { color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #94a3b8; border-radius: 2px; transition: .3s; }

/* ── Main Layout ─────────────────────────────────────────────────────────── */
.site-main { min-height: 70vh; }
.page-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 28px 0; }
@media (max-width: 1024px) { .page-wrap { grid-template-columns: 1fr; } }

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero { position: relative; height: 480px; border-radius: var(--radius); overflow: hidden; margin: 20px 0 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 40%, transparent 80%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 32px; color: #fff; }
.hero-content .cat-badge { display: inline-block; background: var(--red); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; letter-spacing: 1px; }
.hero-content h1 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero-content h1 a { color: #fff; }
.hero-content h1 a:hover { color: #fca5a5; }
.hero-meta { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: #cbd5e1; }
.hero-meta i { margin-right: 4px; }

/* ── Card de Notícia ─────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
@media (max-width: 900px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.news-card-img { position: relative; height: 180px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.cat-badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; background: var(--red); color: #fff; letter-spacing: .5px; }
.img-badge { position: absolute; top: 10px; left: 10px; }
.news-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h3 { font-size: .95rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.news-card-body h3 a:hover { color: var(--red); }
.news-card-body p { font-size: .82rem; color: #64748b; line-height: 1.5; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px;
  font-size: .75rem; color: #94a3b8; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.card-meta .views { margin-left: auto; }
.card-readmore {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: .78rem; font-weight: 600;
  color: var(--red); text-decoration: none; transition: gap .2s;
}
.card-readmore:hover { gap: 10px; color: #b91c1c; }
.card-readmore i { font-size: .7rem; }

/* ── Section header ─────────────────────────────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between;
  border-left: 4px solid var(--red); padding-left: 12px; margin-bottom: 20px; }
.section-header h2 { font-size: 1.25rem; font-weight: 800; }
.section-header a { font-size: .82rem; color: var(--red); }

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.widget h3 { font-size: .95rem; font-weight: 800; border-bottom: 2px solid var(--red);
  padding-bottom: 10px; margin-bottom: 14px; }
.trending-list { display: flex; flex-direction: column; gap: 14px; }
.trending-item { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.trending-num { font-size: 1.3rem; font-weight: 900; color: #e2e8f0; line-height: 1; }
.trending-item h4 { font-size: .83rem; font-weight: 600; line-height: 1.35; }
.trending-item h4 a:hover { color: var(--red); }
.trending-item .tmeta { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════
   FOOTER — Profissional
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0b1221;
  color: #64748b;
  margin-top: 56px;
  border-top: 3px solid #dc2626;
}

/* ── Área principal (4 colunas) ── */
.footer-main { padding: 40px 0 32px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-main-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Marca */
.footer-brand-wrap { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-link { display: inline-block; }
.footer-logo-img { max-height: 44px; max-width: 180px; width: auto; height: auto; object-fit: contain; display: block; }
.footer-brand-text {
  font-size: 1.4rem; font-weight: 900; color: #fff;
  letter-spacing: -.5px; text-decoration: none; display: inline-block;
}
.footer-brand-text span { color: #dc2626; }
.footer-brand-text em { color: #475569; font-style: normal; font-size: 1rem; }
.footer-tagline { font-size: .8rem; color: #334155; line-height: 1.5; max-width: 260px; }

/* Colunas nav */
.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: #64748b; margin-bottom: 4px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-nav-col a {
  font-size: .82rem; color: #475569; transition: color .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-nav-col a:hover { color: #e2e8f0; }

/* Social */
.footer-social-col { display: flex; flex-direction: column; gap: 10px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: #64748b; font-size: .9rem; transition: all .2s;
}
.footer-socials a:hover { background: #dc2626; border-color: #dc2626; color: #fff; }

/* Copyright bar */
.footer-copy-bar { padding: 14px 0; }
.footer-copy-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.footer-copy-bar p { font-size: .75rem; color: #1e293b; }
.footer-copy-bar strong { color: #334155; }
.footer-copy-right { color: #1e293b !important; }

/* Responsivo */
@media (max-width: 900px) {
  .footer-main-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand-wrap { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-main-inner { grid-template-columns: 1fr; }
  .footer-copy-inner { flex-direction: column; gap: 4px; text-align: center; }
}

/* ── Scroll-to-top ───────────────────────────────────────────────────────── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; background: var(--red); color: #fff;
  border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: .9rem; z-index: 999; opacity: 0; transition: opacity .3s, transform .3s; transform: translateY(20px); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: #b91c1c; }

/* ── Article Page ────────────────────────────────────────────────────────── */
.article-hero { border-radius: var(--radius); overflow: hidden; max-height: 480px; margin-bottom: 24px; }
.article-hero img { width: 100%; height: 480px; object-fit: cover; }
.article-title { font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: .82rem; color: var(--muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.article-meta i { margin-right: 4px; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: #1a202c; }
.article-body p { margin-bottom: 1em; }
.article-body h2, .article-body h3 { margin: 1.5em 0 .5em; font-weight: 700; }

/* ── Lead paragraph (resumo em destaque) ── */
.article-lead-text {
  font-size: 1.1rem; line-height: 1.7; color: #334155;
  border-left: 4px solid var(--red); padding-left: 16px;
  margin-bottom: 24px; font-style: italic;
}

/* ── Aviso de artigo incompleto ── */
.article-incomplete-notice {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6; border-radius: 8px;
  padding: 18px 20px; margin: 24px 0;
}
.notice-icon { font-size: 1.8rem; color: #3b82f6; flex-shrink: 0; }
.notice-body { flex: 1; min-width: 180px; }
.notice-body strong { display: block; font-size: .9rem; color: #0f172a; margin-bottom: 4px; }
.notice-body p { font-size: .82rem; color: #64748b; margin: 0; }
body.dark-mode .article-incomplete-notice { background: var(--card); border-color: var(--border); }
body.dark-mode .notice-body strong { color: var(--text); }
body.dark-mode .article-lead-text { color: var(--muted); border-left-color: var(--red); }

/* ── Share bar ───────────────────────────────────────────────────────────── */
.share-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.share-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 6px;
  font-size: .82rem; font-weight: 600; cursor: pointer; border: none; color: #fff; }
.share-btn.fb   { background: #1877f2; }
.share-btn.tw   { background: #000; }
.share-btn.wa   { background: #25d366; }
.share-btn.copy { background: #64748b; }
.share-btn:hover { opacity: .85; }

/* ── Comments ────────────────────────────────────────────────────────────── */
.comments-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.comment { border-left: 3px solid #e2e8f0; padding: 12px 16px; margin-bottom: 16px; }
.comment-author { font-weight: 700; font-size: .85rem; }
.comment-date   { font-size: .75rem; color: var(--muted); }
.comment-text   { margin-top: 6px; font-size: .9rem; line-height: 1.6; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: .9rem; margin-bottom: 12px; font-family: var(--font); }
.comment-form textarea { height: 100px; resize: vertical; }
.comment-form button { background: var(--red); color: #fff; border: none; padding: 10px 24px;
  border-radius: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; padding: 12px 0; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: #cbd5e1; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 24px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; font-size: .85rem;
  border: 1px solid #e2e8f0; background: var(--white); }
.pagination a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .active { background: var(--red); color: #fff; border-color: var(--red); }

/* ── Category hero ───────────────────────────────────────────────────────── */
.cat-hero { padding: 32px; border-radius: var(--radius); color: #fff; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--red), #7f1d1d); }
.cat-hero h1 { font-size: 2rem; font-weight: 800; }
.cat-hero p  { opacity: .85; margin-top: 6px; }

/* ── Search ──────────────────────────────────────────────────────────────── */
.search-hero { text-align: center; padding: 48px 0 32px; }
.search-hero h1 { font-size: 1.8rem; font-weight: 800; }
.search-hero p  { color: var(--muted); margin-top: 8px; }
.search-box { display: flex; max-width: 560px; margin: 24px auto 0; border-radius: 30px;
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e2e8f0; }
.search-box input { flex: 1; padding: 14px 20px; border: none; font-size: 1rem; outline: none; }
.search-box button { background: var(--red); color: #fff; border: none; padding: 14px 24px; cursor: pointer; font-size: .9rem; }

/* ── Tags ────────────────────────────────────────────────────────────────── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #f1f5f9; padding: 4px 12px; border-radius: 20px; font-size: .78rem; color: #64748b; }
.tag:hover { background: var(--red); color: #fff; }

/* ── Dark Mode ───────────────────────────────────────────────────────────── */
body.dark-mode { background: #0f172a; color: var(--text); }
body.dark-mode .news-card, body.dark-mode .widget { background: var(--card); }
body.dark-mode .news-card-body h3, body.dark-mode .article-title { color: var(--text); }
body.dark-mode .news-card-body p  { color: var(--muted); }
body.dark-mode .article-body      { color: var(--text); }
body.dark-mode .card-meta         { border-top-color: var(--border); }
body.dark-mode .comment           { border-left-color: var(--border); }
body.dark-mode .comment-form input, body.dark-mode .comment-form textarea {
  background: var(--card); border-color: var(--border); color: var(--text); }
body.dark-mode .pagination a, body.dark-mode .pagination span {
  background: var(--card); border-color: var(--border); color: var(--text); }
body.dark-mode .tag               { background: var(--card); color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  /* Nav dropdown — aparece exatamente abaixo do header sticky (60px) */
  .main-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--header); z-index: 850;
    padding: 8px 16px 20px; gap: 2px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .main-nav.open a { padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
  .hamburger { display: flex; }
  .hero { height: 320px; }
  .hero-content h1 { font-size: 1.4rem; }
  .article-title { font-size: 1.5rem; }
  .search-form input { width: 100px; }
  /* Esconder tv-live-strip no mobile — widget flutuante já cobre essa função */
  .tv-live-strip { display: none !important; }
  /* Nav "AO VIVO" no mobile — menos destaque para não duplicar com o float */
  .main-nav.open .nav-live { background: rgba(230,57,70,.15); color: #e63946 !important; }
}
@media (max-width: 480px) {
  .hero { height: 240px; }
  .hero-content { padding: 16px; }
  .hero-content h1 { font-size: 1.1rem; }
}

/* ── Anúncios ─────────────────────────────────────────────────── */
.ad-slot { display:flex; align-items:center; justify-content:center; overflow:hidden; }
.ad-slot a { display:block; width:100%; }
.ad-slot img { width:100%; height:auto; display:block; }
.ad-empty, .ad-placeholder { background:linear-gradient(135deg,#f0f0f0,#e0e0e0); border:2px dashed #ccc;
  border-radius:8px; color:#999; font-size:.85rem; text-align:center; padding:20px;
  display:flex; align-items:center; justify-content:center; gap:6px; width:100%; box-sizing:border-box; }
.header-ad-bar { width:100%; padding:4px 0; background:#f8f8f8; justify-content:center; }
.header-ad-bar .ad-empty { max-width:728px; height:90px; border-radius:0; }
.ad-sidebar .ad-empty { min-height:250px; }

/* ── Visitantes badge ─────────────────────────────────────────── */
.visitors-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(0,200,0,.12);
  color:#16a34a; border-radius:20px; padding:3px 10px; font-size:.8rem; font-weight:600; }
.pulse-dot { color:#16a34a; animation:pulseGreen 1.5s infinite; font-size:.6rem; }
@keyframes pulseGreen { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ── AO VIVO nav badge ────────────────────────────────────────── */
.nav-live { display:inline-flex; align-items:center; gap:5px; background:#e63946; color:#fff !important;
  border-radius:4px; padding:2px 10px; font-weight:700; font-size:.8rem; }
.nav-live .live-dot { color:#fff; animation:pulseGreen 1s infinite; font-size:.55rem; }

/* ── TV Page ──────────────────────────────────────────────────── */
.tv-page { padding:20px 0 40px; }
.tv-banner { display:flex; align-items:center; gap:12px; background:#111; color:#fff;
  padding:12px 20px; border-radius:8px 8px 0 0; flex-wrap:wrap; }
.tv-logo { height:40px; width:auto; border-radius:4px; }
.live-badge { background:#e63946; color:#fff; font-weight:700; font-size:.75rem;
  padding:3px 10px; border-radius:20px; display:inline-flex; align-items:center; gap:5px; }
.live-badge i { font-size:.55rem; animation:pulseGreen 1s infinite; }
.tv-banner-text { font-size:.9rem; opacity:.8; }
.tv-channel-name { font-size:1.1rem; font-weight:700; margin-left:auto; }
.tv-player-wrap { position:relative; background:#000; border-radius:0 0 8px 8px; overflow:hidden; min-height:480px; }
.tv-player { width:100%; max-height:70vh; background:#000; display:block; }
.tv-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.7); z-index:10; }
.tv-play-btn { display:flex; flex-direction:column; align-items:center; gap:12px; cursor:pointer;
  background:none; border:none; color:#fff; }
.tv-play-btn i { font-size:5rem; opacity:.9; }
.tv-play-btn span { font-size:1rem; opacity:.8; }
.tv-info { display:flex; align-items:center; gap:12px; padding:16px 0; flex-wrap:wrap; }
.tv-info p { margin:0; color:#666; font-size:.9rem; }

/* ── TV Live Strip (banner homepage) ─────────────────────────── */
.tv-live-strip { background:linear-gradient(90deg,#111827 0%,#1e293b 100%);
  border-bottom:2px solid #e63946; }
.tv-live-strip-inner { display:flex; align-items:center; gap:12px; padding:10px 20px;
  flex-wrap:wrap; min-height:48px; }
.tv-strip-badge { display:inline-flex; align-items:center; gap:6px; background:#e63946;
  color:#fff; font-size:.72rem; font-weight:800; padding:4px 10px; border-radius:4px;
  letter-spacing:.08em; flex-shrink:0; }
.tv-strip-badge i { font-size:.55rem; animation:pulseGreen 1s infinite; }
.tv-strip-logo { height:28px; width:auto; border-radius:3px; object-fit:contain;
  background:rgba(255,255,255,.08); padding:2px 4px; flex-shrink:0; }
.tv-strip-name { color:#e2e8f0; font-weight:600; font-size:.9rem; flex:1; min-width:0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tv-strip-btn { display:inline-flex; align-items:center; gap:7px; background:#e63946;
  color:#fff; padding:7px 16px; border-radius:6px; font-weight:700; font-size:.82rem;
  white-space:nowrap; flex-shrink:0; transition:background .2s; }
.tv-strip-btn:hover { background:#c72c39; color:#fff; }
@media(max-width:480px) {
  .tv-strip-name { display:none; }
  .tv-live-strip-inner { gap:8px; padding:8px 12px; }
}

/* ── Hero sub-grid ────────────────────────────────────────────── */
.hero-sub-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }
.hero-sm { height:220px; margin-top:0; }
.hero-sm .hero-content h2 { font-size:.95rem; margin-top:6px; }
.hero-sm .hero-content { padding:14px; }
@media(max-width:580px) {
  .hero-sub-grid { grid-template-columns:1fr; }
  .hero-sm { height:180px; }
}

/* ── Category section dot ─────────────────────────────────────── */
.cat-dot { display:inline-block; width:10px; height:10px; border-radius:50%;
  margin-right:7px; flex-shrink:0; vertical-align:middle; }
.section-header { display:flex; align-items:center; justify-content:space-between;
  margin-bottom:16px; border-bottom:2px solid #e2e8f0; padding-bottom:10px; }
.section-header h2 { font-size:1.1rem; font-weight:700; color:#0f172a;
  display:flex; align-items:center; }
.section-header a { font-size:.82rem; color:#e63946; font-weight:600; white-space:nowrap; }
.section-header a:hover { text-decoration:underline; }

/* ── Page layout main col ─────────────────────────────────────── */
.page-wrap { display:grid; grid-template-columns:1fr 320px; gap:28px; }
.main-col { min-width:0; }
@media(max-width:900px) {
  .page-wrap { grid-template-columns:1fr; }
  .sidebar { display:none; }
}

/* ── TV sidebar widget ────────────────────────────────────────── */
.widget-tv { background:linear-gradient(135deg,#0f172a,#1e293b); border:1px solid #334155;
  border-radius:10px; overflow:hidden; }
.widget-tv h3 { color:#e2e8f0; padding:12px 14px 4px; font-size:.9rem;
  display:flex; align-items:center; gap:7px; }
.tv-widget-btn { display:flex; align-items:center; gap:12px; padding:10px 14px 14px;
  text-decoration:none; transition:background .2s; }
.tv-widget-btn:hover { background:rgba(255,255,255,.05); }
.tv-widget-preview { width:64px; height:48px; background:#0f172a; border-radius:6px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  border:1px solid #334155; flex-shrink:0; }
.tv-widget-preview img { max-width:100%; max-height:100%; object-fit:contain; }
.tv-widget-preview i { font-size:1.6rem; color:#475569; }
.tv-widget-info { display:flex; flex-direction:column; gap:4px; min-width:0; }
.tv-widget-live { display:inline-flex; align-items:center; gap:5px; color:#e63946;
  font-size:.68rem; font-weight:700; letter-spacing:.05em; }
.tv-widget-live i { font-size:.5rem; animation:pulseGreen 1s infinite; }
.tv-widget-info span:last-child { color:#cbd5e1; font-size:.82rem; font-weight:600;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ── News grid & cards (reforço responsivo) ───────────────────── */
.news-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
@media(max-width:600px) {
  .news-grid { grid-template-columns:1fr; }
  .hero { height:280px; }
  .hero h1 { font-size:1.1rem; }
  .hero-content { padding:14px; }
  .site-header .header-inner { flex-wrap:wrap; gap:8px; }
  .main-nav { display:none; }
  .main-nav.open { display:flex; flex-direction:column; width:100%; background:#111;
    position:absolute; top:100%; left:0; z-index:200; padding:10px 0; }
  .main-nav.open a { padding:10px 20px; }
}
@media(max-width:768px) {
  .news-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
  .container { padding:0 12px; }
}

/* ── Dark mode tweaks ─────────────────────────────────────────── */
body.dark .tv-live-strip { border-color:#ef4444; }
body.dark .section-header { border-color:#334155; }
body.dark .section-header h2 { color:#e2e8f0; }

/* ══════════════════════════════════════════════════════════════════
   G1-STYLE HOMEPAGE LAYOUT
══════════════════════════════════════════════════════════════════ */
/* Layout wrap */
.g1-wrap { display:grid; grid-template-columns:1fr 300px; gap:32px; padding:28px 0 40px; }
.g1-main-col { min-width:0; }
.g1-sidebar  { display:flex; flex-direction:column; gap:20px; }

/* ── Editorial hero ── */
.g1-editorial { display:grid; grid-template-columns:1fr 280px; gap:20px; padding:20px 0 0; }
.g1-main-link { display:block; color:inherit; text-decoration:none; }
.g1-main-img  { position:relative; border-radius:6px; overflow:hidden; aspect-ratio:16/9; }
.g1-main-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.g1-main-link:hover .g1-main-img img { transform:scale(1.03); }
.g1-main-body { padding:14px 0 0; }
.g1-main-title { font-size:1.55rem; font-weight:800; line-height:1.25; color:#0f172a; margin-bottom:10px; }
.g1-main-title:hover { color:#dc2626; }
.g1-main-summary { font-size:.9rem; color:#475569; line-height:1.6; margin-bottom:10px; }
.g1-meta { display:flex; align-items:center; gap:14px; font-size:.75rem; color:#94a3b8; }
.g1-meta i { margin-right:3px; }

/* G1 category label */
.g1-cat-label { position:absolute; top:10px; left:10px; display:inline-block; padding:3px 9px;
  border-radius:3px; font-size:.68rem; font-weight:800; color:#fff; letter-spacing:.04em;
  text-transform:uppercase; z-index:2; }
.g1-cat-sm { font-size:.62rem; padding:2px 7px; }

/* G1 secondary stack */
.g1-secondary { display:flex; flex-direction:column; gap:14px; }
.g1-sec-card { display:grid; grid-template-columns:110px 1fr; gap:10px; text-decoration:none;
  color:inherit; background:#fff; border-radius:6px; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.07); transition:box-shadow .2s; }
.g1-sec-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.13); }
.g1-sec-img { position:relative; overflow:hidden; }
.g1-sec-img img { width:110px; height:80px; object-fit:cover; display:block;
  transition:transform .4s; }
.g1-sec-card:hover .g1-sec-img img { transform:scale(1.05); }
.g1-sec-body { padding:10px 10px 10px 0; display:flex; flex-direction:column; gap:4px; }
.g1-sec-body h3 { font-size:.82rem; font-weight:700; line-height:1.35; color:#0f172a; }
.g1-sec-card:hover .g1-sec-body h3 { color:#dc2626; }
.g1-sec-time { font-size:.7rem; color:#94a3b8; margin-top:auto; }

/* ── Últimas grid ── */
.g1-section-hdr { display:flex; align-items:center; justify-content:space-between;
  margin-bottom:18px; margin-top:4px; }
.g1-section-hdr h2 { font-size:1.1rem; font-weight:800; display:flex; align-items:center; gap:10px; color:#0f172a; }
.g1-hdr-bar { display:inline-block; width:4px; height:20px; background:#dc2626; border-radius:2px; flex-shrink:0; }
.g1-see-more { font-size:.78rem; font-weight:600; color:#dc2626; white-space:nowrap; }
.g1-see-more:hover { text-decoration:underline; }

.g1-news-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:8px; }

.g1-card { background:#fff; border-radius:6px; overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.08); transition:transform .2s, box-shadow .2s;
  display:flex; flex-direction:column; }
.g1-card:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.14); }
.g1-card-img-wrap { position:relative; display:block; overflow:hidden; height:160px; }
.g1-card-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.g1-card:hover .g1-card-img-wrap img { transform:scale(1.06); }
.g1-card-body { padding:12px 14px; flex:1; display:flex; flex-direction:column; }
.g1-card-body h3 { font-size:.88rem; font-weight:700; line-height:1.35; margin-bottom:6px; }
.g1-card-body h3 a:hover { color:#dc2626; }
.g1-card-excerpt { font-size:.78rem; color:#64748b; line-height:1.5; flex:1; }
.g1-card-foot { display:flex; align-items:center; gap:8px; margin-top:10px;
  padding-top:8px; border-top:1px solid #f1f5f9; font-size:.72rem; color:#94a3b8; }
.g1-time  { font-size:.72rem; color:#94a3b8; }
.g1-views { margin-left:auto; display:flex; align-items:center; gap:3px; }
.g1-readmore { font-size:.72rem; font-weight:700; color:#dc2626; text-decoration:none; white-space:nowrap; }
.g1-readmore:hover { text-decoration:underline; }

/* ── Category strip ── */
.g1-cat-strip { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:8px; }
.g1-cat-main { background:#fff; border-radius:6px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.07); }
.g1-cat-main a { display:block; text-decoration:none; color:inherit; }
.g1-cat-main-img { height:180px; overflow:hidden; }
.g1-cat-main-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.g1-cat-main a:hover .g1-cat-main-img img { transform:scale(1.04); }
.g1-cat-main h3 { font-size:.95rem; font-weight:700; line-height:1.3; padding:12px 14px 6px; }
.g1-cat-main p { font-size:.8rem; color:#64748b; padding:0 14px; line-height:1.5; }
.g1-cat-main .g1-time { display:block; padding:8px 14px 12px; }

.g1-cat-list { display:flex; flex-direction:column; gap:8px; }
.g1-cat-list-item a { display:grid; grid-template-columns:80px 1fr; gap:10px;
  text-decoration:none; color:inherit; background:#fff; border-radius:6px;
  overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.06); transition:box-shadow .2s; }
.g1-cat-list-item a:hover { box-shadow:0 4px 14px rgba(0,0,0,.12); }
.g1-cat-list-item img { width:80px; height:60px; object-fit:cover; display:block; }
.g1-cat-list-item div { padding:8px 10px 8px 0; display:flex; flex-direction:column; gap:4px; }
.g1-cat-list-item h4 { font-size:.8rem; font-weight:700; line-height:1.3; color:#0f172a; }
.g1-cat-list-item a:hover h4 { color:#dc2626; }

/* ── Sidebar widgets ── */
.g1-widget { background:#fff; border-radius:6px; box-shadow:0 2px 10px rgba(0,0,0,.07); overflow:hidden; }
.g1-widget-hdr { padding:12px 16px; border-bottom:3px solid #dc2626; }
.g1-widget-hdr h3 { font-size:.9rem; font-weight:800; color:#0f172a; display:flex; align-items:center; gap:6px; }
.g1-widget-tv { background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%); }
.g1-widget-tv .g1-widget-hdr { border-bottom-color:#e63946; }
.g1-widget-tv .g1-widget-hdr h3 { color:#e2e8f0; }
.g1-tv-widget-btn { display:flex; align-items:center; gap:12px; padding:14px 16px;
  text-decoration:none; transition:background .2s; }
.g1-tv-widget-btn:hover { background:rgba(255,255,255,.05); }
.g1-tv-preview { position:relative; width:72px; height:52px; background:#0a0a1a;
  border-radius:5px; display:flex; align-items:center; justify-content:center;
  overflow:hidden; border:1px solid #334155; flex-shrink:0; }
.g1-tv-preview img { max-width:100%; max-height:100%; object-fit:contain; }
.g1-tv-preview i { font-size:1.8rem; color:#475569; }
.g1-tv-live-badge { position:absolute; bottom:3px; left:50%; transform:translateX(-50%);
  background:#e63946; color:#fff; font-size:.55rem; font-weight:800; padding:2px 5px;
  border-radius:3px; white-space:nowrap; display:flex; align-items:center; gap:3px; }
.g1-tv-live-badge i { font-size:.45rem; animation:pulseGreen 1s infinite; }
.g1-tv-name { color:#cbd5e1; font-size:.85rem; font-weight:600; }

.g1-trending { padding:8px 0; }
.g1-trending-item {
  display:grid; grid-template-columns:28px 1fr; gap:8px; align-items:start;
  padding:10px 16px; text-decoration:none; color:inherit;
  border-bottom:1px solid #f1f5f9; transition:background .15s;
}
.g1-trending-item:last-child { border-bottom:none; }
.g1-trending-item:hover { background:#fef2f2; }
.g1-trending-num {
  font-size:1.1rem; font-weight:900; line-height:1.2;
  color:#dc2626; /* vermelho visível no claro */
}
.g1-trending-item h4 { font-size:.82rem; font-weight:600; line-height:1.35; color:#0f172a; }
.g1-trending-item .g1-time { font-size:.72rem; color:#94a3b8; display:block; margin-top:2px; }
.g1-trending-item:hover h4 { color:#dc2626; }

.g1-tags { padding:12px 16px; display:flex; flex-wrap:wrap; gap:7px; }
.g1-tag { background:#f8fafc; border:1px solid #e2e8f0; color:#475569; font-size:.75rem;
  padding:4px 10px; border-radius:20px; text-decoration:none; transition:all .2s; }
.g1-tag:hover { background:#dc2626; border-color:#dc2626; color:#fff; }

.g1-empty { grid-column:1/-1; text-align:center; padding:48px; color:#94a3b8; }
.g1-empty i { font-size:2.5rem; display:block; margin-bottom:12px; opacity:.3; }
.g1-empty a { color:#dc2626; }
.g1-empty-small { padding:12px 16px; font-size:.82rem; color:#94a3b8; }

/* ── Article source CTA ── */
.article-source-cta {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  background:#f8fafc; border:1px solid #e2e8f0; border-left:4px solid #dc2626;
  border-radius:6px; padding:16px 20px; margin:20px 0;
  flex-wrap:wrap;
}
.source-label { display:flex; align-items:center; gap:6px; font-size:.75rem;
  font-weight:700; color:#dc2626; text-transform:uppercase; letter-spacing:.05em;
  margin-bottom:4px; }
.article-source-cta p { font-size:.88rem; color:#475569; margin:0; }
.btn-read-full { display:inline-flex; align-items:center; gap:8px; background:#dc2626;
  color:#fff; padding:10px 18px; border-radius:6px; font-weight:700; font-size:.85rem;
  white-space:nowrap; transition:background .2s; text-decoration:none; flex-shrink:0; }
.btn-read-full:hover { background:#b91c1c; color:#fff; }

/* ── Responsive G1 ── */
@media (max-width:1100px) {
  .g1-news-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px) {
  .g1-wrap { grid-template-columns:1fr; }
  .g1-sidebar { flex-direction:row; flex-wrap:wrap; }
  .g1-sidebar > * { flex:1 1 260px; }
  .g1-editorial { grid-template-columns:1fr; }
  .g1-secondary { display:grid; grid-template-columns:1fr 1fr; }
  .g1-news-grid { grid-template-columns:repeat(2,1fr); }
  .g1-cat-strip { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .g1-main-title { font-size:1.1rem; }
  .g1-secondary { grid-template-columns:1fr; }
  .g1-news-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .g1-card-img-wrap { height:130px; }
  .g1-card-excerpt { display:none; }
  .article-source-cta { flex-direction:column; }
}
@media (max-width:400px) {
  .g1-news-grid { grid-template-columns:1fr; }
}

/* ── Dark mode G1 ── */
body.dark-mode .g1-main-title,
body.dark-mode .g1-card-body h3 a,
body.dark-mode .g1-cat-main h3,
body.dark-mode .g1-cat-list-item h4,
body.dark-mode .g1-trending-item h4,
body.dark-mode .g1-section-hdr h2 { color:var(--text); }
body.dark-mode .g1-card,
body.dark-mode .g1-sec-card,
body.dark-mode .g1-cat-main,
body.dark-mode .g1-cat-list-item a,
body.dark-mode .g1-widget { background:var(--card); }
body.dark-mode .g1-card-foot,
body.dark-mode .g1-widget-hdr { border-color:var(--border); }
body.dark-mode .g1-trending-item:hover { background:#1e2a3a; }
body.dark-mode .g1-tag { background:var(--card); border-color:var(--border); color:var(--muted); }
body.dark-mode .g1-widget-hdr h3 { color:var(--text); }
body.dark-mode .article-source-cta { background:var(--card); border-color:var(--border); }
body.dark-mode .article-source-cta p { color:var(--muted); }

/* ════════════════════════════════════════════════════════════
   TV FLUTUANTE — Widget fixo canto inferior direito
   ════════════════════════════════════════════════════════════ */
.tv-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  background: linear-gradient(145deg, #0f172a 0%, #1e2d45 100%);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 2px 8px rgba(230,57,70,.3);
  overflow: hidden;
  min-width: 210px;
  max-width: 240px;
  border: 1px solid rgba(255,255,255,.08);
  animation: tvFloatIn .4s cubic-bezier(.22,1,.36,1);
}
@keyframes tvFloatIn {
  from { opacity:0; transform:translateY(20px) scale(.95); }
  to   { opacity:1; transform:translateY(0)   scale(1); }
}
.tv-float-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.tv-float-bar:hover { background: rgba(255,255,255,.04); }
.tv-float-badge {
  background: #e63946;
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.tv-float-badge i { font-size: .45rem; animation: pulseLive 1.2s ease-in-out infinite; }
@keyframes pulseLive {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.85); }
}
.tv-float-name {
  color: #cbd5e1;
  font-size: .8rem;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-float-close {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  font-size: .75rem;
  padding: 3px 5px;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color .2s, background .2s;
}
.tv-float-close:hover { color: #f1f5f9; background: rgba(255,255,255,.1); }
.tv-float-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all .3s;
}
.tv-float.collapsed .tv-float-body { display: none; }
.tv-float-preview {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #334155;
  position: relative;
}
.tv-float-preview i { font-size: 2.2rem; color: #334155; }
.tv-float-preview img { max-width: 80%; max-height: 80%; object-fit: contain; }
.tv-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e63946;
  color: #fff !important;
  padding: 9px 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  width: 100%;
}
.tv-float-btn:hover {
  background: #c0232e;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .tv-float { bottom: 12px; right: 12px; min-width: 180px; max-width: 200px; }
  .tv-float-body { padding: 10px; gap: 8px; }
}

/* TV strip — definido acima (sem duplicata) */

/* ── Scroll-to-top button spacing (so float doesn't overlap) ── */
.scroll-top { bottom: 80px; }
@media (max-width:480px) { .scroll-top { bottom: 70px; } }

/* ══════════════════════════════════════════════════════════════════
   REAJUSTE FINAL v3 — Polish geral
   ══════════════════════════════════════════════════════════════════ */

/* Scrollbar estilizada */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Header — gradiente sutil para profundidade */
.site-header {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border-bottom: 2px solid #dc2626;
}

/* Breaking bar — mais impactante */
.breaking-bar { height: 40px; }
.breaking-label {
  padding: 0 18px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  gap: 8px;
}

/* Nav links — mais limpos */
.main-nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 5px;
  transition: background .15s, color .15s;
}

/* Cards G1 — transições mais suaves e sombra mais presente */
.g1-card {
  border-radius: 8px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.g1-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.16);
}
.g1-card-img-wrap { border-radius: 8px 8px 0 0; }

/* Card footer — mais compacto e limpo */
.g1-card-foot {
  font-size: .73rem;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid #f0f4f8;
}
.g1-card-body h3 { font-size: .9rem; line-height: 1.38; }

/* Leitura de artigo — tipografia confortável */
.article-body {
  font-size: 1.06rem;
  line-height: 1.88;
  color: #1e293b;
  letter-spacing: .012em;
}
.article-body p { margin-bottom: 1.25em; }
.article-body p:first-of-type {
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 450;
}
.article-title { font-size: 1.9rem; line-height: 1.22; letter-spacing: -.02em; }

/* Trending — top 3 com cores diferenciadas */
.g1-trending-item:nth-child(1) .g1-trending-num { color: #dc2626; font-size: 1.25rem; }
.g1-trending-item:nth-child(2) .g1-trending-num { color: #ea580c; }
.g1-trending-item:nth-child(3) .g1-trending-num { color: #ca8a04; }
.g1-trending-item:nth-child(4) .g1-trending-num,
.g1-trending-item:nth-child(5) .g1-trending-num,
.g1-trending-item:nth-child(6) .g1-trending-num { color: #94a3b8; font-size: 1rem; }

/* Section headers — mais marcantes */
.g1-section-hdr {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.g1-hdr-bar { width: 5px; height: 22px; border-radius: 3px; flex-shrink: 0; }
.g1-section-hdr h2 { font-size: 1.12rem; letter-spacing: -.01em; }

/* Widget headers */
.g1-widget { border-radius: 8px; }
.g1-widget-hdr { padding: 13px 16px 12px; }
.g1-widget-hdr h3 { font-size: .92rem; letter-spacing: .01em; }

/* Secondary cards — mais polidos */
.g1-sec-card {
  border-radius: 7px;
  transition: box-shadow .2s, transform .2s;
}
.g1-sec-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.g1-sec-body h3 { font-size: .84rem; line-height: 1.38; }

/* Main editorial hero */
.g1-main-title { font-size: 1.52rem; letter-spacing: -.02em; line-height: 1.22; }
.g1-main-img { border-radius: 8px; }

/* Cat badge — mais legível */
.g1-cat-label { font-size: .65rem; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; }

/* Category strip cards */
.g1-cat-main { border-radius: 8px; }
.g1-cat-main-img { border-radius: 8px 8px 0 0; }
.g1-cat-main h3 { font-size: .97rem; line-height: 1.35; }

/* Tags — mais arredondadas */
.g1-tag { border-radius: 20px; font-size: .72rem; padding: 4px 12px; transition: all .15s; }

/* Pagination — mais clean */
.pagination a, .pagination span {
  border-radius: 8px;
  font-weight: 500;
  font-size: .82rem;
  transition: all .15s;
  min-width: 36px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb { font-size: .78rem; }

/* Article hero image */
.article-hero { border-radius: 10px; margin-bottom: 28px; }
.article-hero img { border-radius: 10px; }

/* Source CTA — mais suave */
.article-source-cta {
  border-radius: 10px;
  padding: 18px 22px;
}

/* Footer copy bar text — mais visível */
.footer-copy-bar p { font-size: .76rem; color: #475569; }
.footer-copy-bar strong { color: #64748b; }
.footer-nav-col a { font-size: .83rem; }

/* Dark mode refinements */
body.dark-mode .g1-card-foot { border-top-color: #1e293b; }
body.dark-mode .g1-section-hdr { border-bottom-color: #1e293b; }
body.dark-mode .article-body { color: #cbd5e1; }
body.dark-mode .article-body p:first-of-type { color: #e2e8f0; }
body.dark-mode .article-title { color: #f1f5f9; }
body.dark-mode ::-webkit-scrollbar-track { background: #0f172a; }
body.dark-mode ::-webkit-scrollbar-thumb { background: #334155; }

/* Mobile final polish */
@media (max-width: 640px) {
  .article-title { font-size: 1.45rem; }
  .article-body { font-size: 1rem; line-height: 1.78; }
  .g1-main-title { font-size: 1.2rem; }
  .g1-news-grid { gap: 14px; }
}

