/* =============================================
   GOIÁS AQUI — REDESIGN v3 (Estilo G1)
   Layout limpo, tipografia forte, sem caixas/sombras
   ============================================= */

/* --- CSS VARIABLES --- */
:root {
  --red: #C41E24;
  --red-dark: #9E181D;
  --white: #FFFFFF;
  --gray-100: #F9F9F9;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-800: #333333;
  --text: #222222;
  --text-light: #555555;
  --border: #E5E5E5;
  --font-title: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1240px;
  --header-h: 120px;
  --nav-h: 46px;

  /* Cores por Editoria */
  --cat-goias: #15803d;          /* Verde Goiás */
  --cat-cidades: #0d9488;        /* Verde Água / Teal */
  --cat-esportes: #16a34a;       /* Verde Esporte */
  --cat-politica: #dc2626;       /* Vermelho Política */
  --cat-economia: #ea580c;       /* Laranja Economia */
  --cat-mundo: #2563eb;          /* Azul Mundo */
  --cat-brasil: #009c3b;         /* Verde Brasil */
  --cat-entretenimento: #9333ea;  /* Roxo Entretenimento */
  --cat-cultura: #9333ea;        /* Roxo Cultura */
  --cat-divirta-se: #a855f7;     /* Lilás Divirta-se */
  --cat-televisao: #7c3aed;      /* Violeta TV & Cinema */
  --cat-cinema: #7c3aed;         /* Violeta TV & Cinema */
  --cat-pets: #06b6d4;           /* Ciano Pets */
  --cat-juridico: #9f1239;       /* Vinho Jurídico */
  --cat-educacao: #0284c7;       /* Azul Cobalto Educação */
  --cat-celebridades: #db2777;   /* Pink Celebridades */
  --cat-seguranca: #475569;      /* Grafite Segurança */
}

/* =============================================
   EDITORIAL COLOR SYSTEM (Cores Distintas por Seção)
   ============================================= */
[data-cat="goias"] { color: var(--cat-goias) !important; }
[data-cat="cidades"] { color: var(--cat-cidades) !important; }
[data-cat="esportes"] { color: var(--cat-esportes) !important; }
[data-cat="politica"] { color: var(--cat-politica) !important; }
[data-cat="economia"] { color: var(--cat-economia) !important; }
[data-cat="mundo"] { color: var(--cat-mundo) !important; }
[data-cat="brasil"] { color: var(--cat-brasil) !important; }
[data-cat="entretenimento"] { color: var(--cat-entretenimento) !important; }
[data-cat="cultura"] { color: var(--cat-cultura) !important; }
[data-cat="divirta-se"] { color: var(--cat-divirta-se) !important; }
[data-cat="televisao"] { color: var(--cat-televisao) !important; }
[data-cat="cinema"] { color: var(--cat-cinema) !important; }
[data-cat="pets"] { color: var(--cat-pets) !important; }
[data-cat="juridico"] { color: var(--cat-juridico) !important; }
[data-cat="educacao"] { color: var(--cat-educacao) !important; }
[data-cat="celebridades"] { color: var(--cat-celebridades) !important; }
[data-cat="seguranca"] { color: var(--cat-seguranca) !important; }

/* Bordas de destaque das seções da home */
.editorial-section[data-cat="goias"] { border-top-color: var(--cat-goias); }
.editorial-section[data-cat="cidades"] { border-top-color: var(--cat-cidades); }
.editorial-section[data-cat="esportes"] { border-top-color: var(--cat-esportes); }
.editorial-section[data-cat="politica"] { border-top-color: var(--cat-politica); }
.editorial-section[data-cat="economia"] { border-top-color: var(--cat-economia); }
.editorial-section[data-cat="mundo"] { border-top-color: var(--cat-mundo); }
.editorial-section[data-cat="brasil"] { border-top-color: var(--cat-brasil); }
.editorial-section[data-cat="entretenimento"] { border-top-color: var(--cat-entretenimento); }
.editorial-section[data-cat="cultura"] { border-top-color: var(--cat-cultura); }
.editorial-section[data-cat="divirta-se"] { border-top-color: var(--cat-divirta-se); }
.editorial-section[data-cat="televisao"] { border-top-color: var(--cat-televisao); }
.editorial-section[data-cat="pets"] { border-top-color: var(--cat-pets); }
.editorial-section[data-cat="juridico"] { border-top-color: var(--cat-juridico); }
.editorial-section[data-cat="educacao"] { border-top-color: var(--cat-educacao); }
.editorial-section[data-cat="celebridades"] { border-top-color: var(--cat-celebridades); }
.editorial-section[data-cat="seguranca"] { border-top-color: var(--cat-seguranca); }

/* Borda do topo da página de editoria */
.category-hero[data-cat="goias"] { border-bottom-color: var(--cat-goias); }
.category-hero[data-cat="cidades"] { border-bottom-color: var(--cat-cidades); }
.category-hero[data-cat="esportes"] { border-bottom-color: var(--cat-esportes); }
.category-hero[data-cat="politica"] { border-bottom-color: var(--cat-politica); }
.category-hero[data-cat="economia"] { border-bottom-color: var(--cat-economia); }
.category-hero[data-cat="mundo"] { border-bottom-color: var(--cat-mundo); }
.category-hero[data-cat="brasil"] { border-bottom-color: var(--cat-brasil); }
.category-hero[data-cat="entretenimento"] { border-bottom-color: var(--cat-entretenimento); }
.category-hero[data-cat="cultura"] { border-bottom-color: var(--cat-cultura); }
.category-hero[data-cat="divirta-se"] { border-bottom-color: var(--cat-divirta-se); }
.category-hero[data-cat="televisao"] { border-bottom-color: var(--cat-televisao); }
.category-hero[data-cat="pets"] { border-bottom-color: var(--cat-pets); }
.category-hero[data-cat="juridico"] { border-bottom-color: var(--cat-juridico); }
.category-hero[data-cat="educacao"] { border-bottom-color: var(--cat-educacao); }
.category-hero[data-cat="celebridades"] { border-bottom-color: var(--cat-celebridades); }
.category-hero[data-cat="seguranca"] { border-bottom-color: var(--cat-seguranca); }

.article-cat-badge {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: inline-block;
  color: var(--red);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* =============================================
   HEADER (Red Top Bar)
   ============================================= */
.site-header {
  background: var(--red);
  position: relative;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 10px 0;
}

/* Logo image (usado quando há imagem real) */
.header-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
}

/* Logo CNN Motion */
.logo-motion {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  position: relative;
}
.logo-motion-block {
  background: var(--white);
  padding: 6px 10px 6px 8px;
  display: flex;
  align-items: center;
  position: relative;
  animation: logoPulse 2.8s ease-in-out infinite;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}
.logo-motion-go {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  animation: logoGoSlide 2.8s ease-in-out infinite;
}
.logo-motion-rest {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: -1px;
  padding-left: 10px;
  display: inline-block;
  animation: logoRestFade 2.8s ease-in-out infinite;
}
.logo-motion-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  transform-origin: left;
  animation: logoLine 2.8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  40% { box-shadow: 4px 0 18px rgba(255,255,255,0.18); }
}
@keyframes logoGoSlide {
  0%, 100% { transform: translateX(0); opacity: 1; }
  10% { transform: translateX(-3px); opacity: 0.7; }
  20% { transform: translateX(0); opacity: 1; }
}
@keyframes logoRestFade {
  0%, 100% { opacity: 1; letter-spacing: -1px; }
  10% { opacity: 0.6; letter-spacing: -2px; }
  20% { opacity: 1; letter-spacing: -1px; }
}
@keyframes logoLine {
  0%, 100% { transform: scaleX(0); opacity: 0; }
  30% { transform: scaleX(1); opacity: 1; }
  80% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo-text.large { font-size: 2.6rem; }
.logo-go { color: var(--white); }
.logo-ias { color: var(--white); opacity: 0.9; }

/* Menu Toggle & Search */
.header-left, .header-right {
  display: flex;
  align-items: center;
  width: 60px;
}
.header-right { justify-content: flex-end; width: auto; gap: 16px; }

.menu-toggle, .search-toggle {
  color: var(--white);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  margin-bottom: 5px;
  transition: all 0.3s;
}
.menu-toggle span:last-child { margin-bottom: 0; }

.btn-anunciar {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.btn-anunciar:hover {
  background: var(--white);
  color: var(--red);
}

/* Search Bar (expandable) */
.search-bar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.search-bar.open { max-height: 70px; padding: 10px 0; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text);
}
.search-btn {
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
}

.search-btn:hover { background: var(--red-dark); }

/* =============================================
   SUB NAVIGATION (White Bar)
   ============================================= */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-bar .container {
  max-width: 100%;
  padding: 0 20px;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-link {
  display: block;
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-link:hover { color: var(--red); }
.nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* =============================================
   BREAKING NEWS
   ============================================= */
.breaking-bar {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.breaking-label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-ticker-wrap { overflow: hidden; flex: 1; }
.breaking-ticker {
  display: flex;
  gap: 32px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.breaking-ticker a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.breaking-ticker a:hover { color: var(--red); }
.breaking-ticker span { color: var(--gray-300); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
.main-content { padding: 32px 0 60px; }
.home-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.content-main { min-width: 0; }

/* =============================================
   HERO SECTION — Manchetão full-width + 3 lado a lado
   ============================================= */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

/* Manchetão (Destaque Principal) — full-width */
.hero-main {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.hero-main-img-wrap {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--gray-100);
}
.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-main:hover .hero-main-img { transform: scale(1.02); }
.hero-main-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.hero-main-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-main-resumo {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 760px;
}

/* 3 Destaques Secundários — lado a lado abaixo */
.hero-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero-secondary-item {
  display: flex;
  flex-direction: column;
}
.hero-sec-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--gray-100);
}
.hero-sec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.hero-secondary-item:hover .hero-sec-img { transform: scale(1.04); }
.hero-sec-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}
.hero-sec-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* =============================================
   NEWS GRID (Balaio)
   ============================================= */
.news-grid-section { margin-bottom: 40px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-item {
  display: flex;
  flex-direction: column;
}
.news-item-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--gray-100);
}
.news-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-item:hover .news-item-img { transform: scale(1.03); }
.news-item-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}
.news-item-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}
.news-item-resumo {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   EDITORIAL SECTIONS (Listas limpas)
   ============================================= */
.editorial-section {
  margin-bottom: 40px;
  border-top: 2px solid var(--red);
  padding-top: 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
/* Flat horizontal list items */
.list-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.list-item-img-wrap {
  width: 140px;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-100);
}
.list-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.list-item:hover .list-item-img { transform: scale(1.05); }
.list-item-body { flex: 1; }
.list-item-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
}
.list-item-time {
  font-size: 12px;
  color: var(--gray-600);
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sidebar-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* Mais Lidas (Estilo Limpo G1) */
.mais-lidas-list { padding: 0; counter-reset: mais-lidas; }
.mais-lidas-list li {
  counter-increment: mais-lidas;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.mais-lidas-list li:first-child { padding-top: 0; }
.mais-lidas-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ml-rank {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-300);
  line-height: 0.8;
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
  transition: color 0.3s;
}
.mais-lidas-item:hover .ml-rank { color: var(--red); }
.ml-content { flex: 1; min-width: 0; }
.ml-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.ml-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* =============================================
   AD CONTAINERS
   ============================================= */
.ad-placeholder {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 500;
}
.ad-placeholder.full-width {
  width: 100%;
  margin: 32px 0;
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}
.mobile-menu.open { left: 0; }
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.active { opacity: 1; pointer-events: all; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--red);
}
.mobile-menu-header .logo-text { font-size: 1.8rem; }
.menu-close {
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}
.mobile-nav-list { padding: 12px 0; flex: 1; }
.mobile-nav-list li a {
  display: block;
  padding: 14px 24px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-list li a:hover { color: var(--red); background: var(--gray-100); }

/* =============================================
   FOOTER (Simples e Limpo)
   ============================================= */
.site-footer {
  margin-top: 60px;
  border-top: 4px solid var(--red);
}
.footer-top {
  background: var(--gray-800);
  padding: 40px 0;
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
}
.footer-logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
}
.footer-logo .logo-go { color: var(--red); }
.footer-logo .logo-ias { color: var(--white); }
.footer-tagline {
  color: var(--gray-300);
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--gray-300);
  font-size: 14px;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  background: #222222;
  border-top: 1px solid var(--gray-800);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--gray-300);
  font-size: 13px;
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-page { padding: 32px 0 60px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--red); font-weight: 600; }
.article-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.article-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.article-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.article-date {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.article-share { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.share-btn:hover { opacity: 0.85; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.article-cover {
  width: 100%;
  margin-bottom: 32px;
}
.article-cover img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}
.article-cover-caption {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 8px;
}
.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 40px 0 16px;
}

/* =============================================
   CATEGORY PAGE
   ============================================= */
.category-page { padding: 32px 0 60px; }
.category-hero {
  border-bottom: 4px solid var(--red);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.category-hero-icon { font-size: 2.5rem; line-height: 1; margin-bottom: 12px; }
.category-hero-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: -1px;
}
.category-hero-count { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.category-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.category-featured {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.category-featured a { display: flex; flex-direction: column; }
.cat-featured-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: var(--gray-100); margin-bottom: 16px; }
.cat-featured-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.category-featured:hover .cat-featured-img { transform: scale(1.02); }
.cat-featured-cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.cat-featured-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}
.cat-featured-resumo {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.cat-featured-time { font-size: 12px; color: var(--gray-500); }

.category-list-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.category-list-item:last-child { border-bottom: none; }
.category-list-item a { display: flex; gap: 24px; align-items: start; }
.cli-img-wrap { width: 240px; aspect-ratio: 16/9; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: var(--gray-100); }
.cli-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.category-list-item:hover .cli-img { transform: scale(1.04); }
.cli-body { flex: 1; }
.cli-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.cli-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cli-resumo {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}
.cli-time { font-size: 12px; color: var(--gray-500); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--gray-100);
  transition: all 0.2s;
}
.page-btn:hover, .page-btn.active { background: var(--red); color: var(--white); }
.page-btn.prev, .page-btn.next { width: auto; padding: 0 16px; }

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-page { padding: 40px 0 60px; }
.search-header {
  margin-bottom: 40px;
  text-align: center;
}
.search-header h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}
.search-form-big {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-form-big:focus-within { border-color: var(--red); }
.search-input-big {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  outline: none;
}
.search-btn-big {
  background: var(--red);
  color: var(--white);
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
}
.search-btn-big:hover { background: var(--red-dark); }
.search-results-count { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }
.search-results-count strong { color: var(--text); font-weight: 700; }
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--gray-100);
  border-radius: 8px;
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h3 { font-family: var(--font-title); font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }

/* =============================================
   RESPONSIVE (Additions)
   ============================================= */
@media (max-width: 768px) {
  .category-layout { grid-template-columns: 1fr; }
  .category-list-item a { flex-direction: column; gap: 12px; }
  .cli-img-wrap { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-img, .skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #fafafa 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-img { width: 100%; height: 200px; }
.skeleton-line { height: 16px; margin-bottom: 12px; border-radius: 2px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .home-layout, .article-layout { grid-template-columns: 1fr; }
  /* Hero já é coluna única no mobile — sem overrides necessários */
  .hero-secondary { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .logo-img, .footer-logo-img { height: 60px; }
  .logo-motion-go, .logo-motion-rest { font-size: 2.4rem; }
  .logo-text { font-size: 1.8rem; }
  .nav-bar { display: none; }
  .hero-main-title { font-size: 2rem; }
  .hero-main-resumo { font-size: 1rem; }
  .hero-secondary { grid-template-columns: 1fr; gap: 20px; }
  .hero-secondary-item { flex-direction: row; gap: 16px; }
  .hero-sec-img-wrap { width: 110px; aspect-ratio: 4/3; flex-shrink: 0; margin-bottom: 0; }
  .news-grid, .editorial-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.9rem; }
  .article-meta { flex-wrap: wrap; gap: 12px; }
  .article-share { margin-left: 0; width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  /* Ajusta sticky do sidebar no mobile */
  .sidebar { top: 16px; }
}

/* Celulares muito pequenos (< 480px) */
@media (max-width: 480px) {
  :root { --header-h: 80px; }
  .header-inner { min-height: 80px; }
  .logo-img, .footer-logo-img { height: 48px; }
  .logo-motion-go, .logo-motion-rest { font-size: 2rem; }
  .hero-main-img-wrap { aspect-ratio: 16/9; }
  .hero-main-title { font-size: 1.7rem; }
  .hero-main-resumo { display: none; }
  .hero-sec-img-wrap { width: 90px; }
  .article-title { font-size: 1.6rem; }
  .article-subtitle { font-size: 1rem; }
  .article-body { font-size: 1rem; line-height: 1.7; }
  .share-btn span { display: none; }
  .share-btn { padding: 8px 10px; border-radius: 50%; }
  .article-meta { gap: 10px; }
  .news-grid { gap: 20px; }
  .section-title { font-size: 1.5rem; }
  .list-item-img-wrap { width: 100px; height: 70px; }
  .container { padding: 0 12px; }
  .main-content { padding: 20px 0 40px; }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 600px;
  background-color: #ffffff;
  color: #181818;
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 12px;
  border: 1px solid #eaeaea;
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.cookie-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
.cookie-content a {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-btn {
  background-color: var(--red);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.cookie-btn:hover {
  background-color: var(--red-dark);
}
@media (min-width: 600px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: space-between;
  }
  .cookie-btn {
    width: auto;
    white-space: nowrap;
  }
}
