/* ========================================================================
ESTUDARONLINE.ORG — DESIGN SYSTEM "SOLARPUNK URBANO"
Diretrizes Visuais: Contraste absoluto, fuga do branco/preto puros. 
Vibração através da paleta Deep Purple, Amber, Off-White e Neon Green.
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* PALETA LIGHT (Modo Claro Vibrante e Quente) */
  --bg-base: #F4F1EA; /* Off-White cru, reduz a refração de luz */
  --card-bg: #FCFAF8; /* Quase branco, mas aquecido */
  --text-main: #2A0845; /* Deep Purple, substitui o preto com mais personalidade */
  --text-muted: #6A4B82; /* Deep Purple dessaturado */
  
  /* Cores de Ação */
  --accent-primary: #FFB300; /* Amber: Chamadas principais e botões */
  --accent-secondary: #0EA759; /* Neon Green adaptado para alto contraste no claro */
  --accent-tertiary: #4A1578; /* Deep Purple intermediário para tags */
  --accent-soft: #FFF2D1; /* Fundo suave do Amber */
  
  --border-light: rgba(42, 8, 69, 0.12);
  --shadow-glow: rgba(255, 179, 0, 0.25);
  
  /* Sistema Estrutural */
  --font-global: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius-card: 20px;
  --radius-pill: 100px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* PALETA DARK (Modo Escuro Imersivo e Focado) */
  --bg-base: #130321; /* Deep Purple quase abissal */
  --card-bg: #21093A; /* Elevação do Deep Purple para os cards */
  --text-main: #F4F1EA; /* Off-White claro e nítido */
  --text-muted: #A895BC; /* Lilás acinzentado suave */
  
  /* Cores de Ação (Inversão de hierarquia para brilho no escuro) */
  --accent-primary: #00FF66; /* Neon Green puro assumindo a liderança de clique */
  --accent-secondary: #FFC107; /* Amber auxiliando nos detalhes */
  --accent-tertiary: #FF007F; /* Um toque magenta cyber para tags especiais */
  --accent-soft: #301050; /* Base profunda roxa para caixas de ênfase */
  
  --border-light: rgba(244, 241, 234, 0.08);
  --shadow-glow: rgba(0, 255, 102, 0.15);
}

/* Reset Geral Avançado */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-global);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Linha de Progresso Global Superior */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--text-main), var(--accent-primary), var(--accent-secondary));
  z-index: 9999;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.hidden {
  display: none !important;
}

/* Acessibilidade de Teclado */
.skip-link {
  position: absolute;
  top: -200px;
  left: 32px;
  background: var(--text-main);
  color: var(--bg-base);
  padding: 14px 28px;
  z-index: 9999;
  border-radius: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px var(--shadow-glow);
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 32px;
  outline: 4px solid var(--accent-secondary);
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent-secondary);
  outline-offset: 4px;
}

/* Navegação Principal Glassmorphism */
.cabecalho-site {
  position: sticky;
  top: 24px;
  z-index: 1000;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 24px;
}

.nav-bar {
  background: rgba(252, 250, 248, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 35px rgba(42, 8, 69, 0.08);
  transition: var(--transition-smooth);
}

[data-theme="dark"] .nav-bar {
  background: rgba(33, 9, 58, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.logotipo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -1px;
}

.logotipo span {
  color: var(--accent-secondary);
  font-weight: 500;
}

.controles-a11y {
  display: flex;
  gap: 12px;
}

.btn-a11y {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-a11y:hover {
  transform: translateY(-2px);
  border-color: var(--text-main);
  background: var(--text-main);
  color: var(--bg-base);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 0 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.15) 0%, rgba(14, 167, 89, 0.05) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, rgba(255, 193, 7, 0.05) 40%, transparent 70%);
}

.hero-kicker {
  display: inline-block;
  background: var(--text-main);
  color: var(--bg-base);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 56px;
  font-weight: 500;
}

/* Painel de Métricas */
.hero-metricas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 72px;
}

.metrica-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px 40px;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(42, 8, 69, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

[data-theme="dark"] .metrica-card {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.metrica-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-primary);
}

.metrica-card:nth-child(2)::before { background: var(--accent-secondary); }
.metrica-card:nth-child(3)::before { background: var(--text-main); }

.metrica-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 8px;
}

.metrica-card small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Container de Busca Central */
.busca-container {
  max-width: 800px;
  margin: 0 auto;
}

.busca-form {
  display: flex;
  background: var(--card-bg);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px;
  box-shadow: 0 12px 30px rgba(42, 8, 69, 0.04);
  transition: var(--transition-smooth);
}

.busca-form:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px var(--shadow-glow);
  transform: translateY(-3px);
}

.busca-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 32px;
  font-size: 1.3rem;
  color: var(--text-main);
  outline: none;
  font-weight: 500;
}

.busca-form input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.busca-acoes {
  display: flex;
}

.btn-busca {
  background: var(--text-main);
  border: none;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--bg-base);
  transition: var(--transition-smooth);
}

.btn-busca:hover {
  background: var(--accent-primary);
  color: var(--bg-base);
  box-shadow: 0 10px 25px var(--shadow-glow);
}

[data-theme="dark"] .btn-busca:hover {
  color: #000000;
}

/* Menu de Filtros */
.bento-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  transform: translateY(-3px);
}

.bento-card[aria-pressed="true"] {
  background: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-base);
}

.bento-card[aria-pressed="true"] strong {
  color: var(--accent-primary);
  opacity: 1;
}

[data-theme="dark"] .bento-card[aria-pressed="true"] strong {
  color: var(--bg-base);
}

/* Bloco de Monetização e Ads */
.area-adsense {
  background: var(--accent-soft);
  border: 2px dashed var(--border-light);
  text-align: center;
  border-radius: var(--radius-card);
  min-height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px 0;
}

.ads-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-display);
}

/* Painel de Curadoria */
.painel-curadoria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.painel-curadoria h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.painel-curadoria p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.criterios-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.criterio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius-card);
  border-left: 8px solid var(--accent-secondary);
  transition: var(--transition-smooth);
}

.criterio-card:hover {
  transform: translateX(6px);
  border-left-color: var(--accent-primary);
}

.criterio-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.criterio-card span {
  color: var(--text-muted);
  font-size: 1.05rem;
  display: block;
}

/* Status e Seções */
.status-resultados {
  text-align: center;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 48px;
  font-size: 1.2rem;
}

.sessao-categoria {
  margin-bottom: 96px;
}

.sessao-titulo {
  font-family: var(--font-display);
  font-size: 2.4rem;
  border-bottom: 3px solid var(--border-light);
  margin-bottom: 48px;
  padding-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

/* Card Principal de Plataformas */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(42, 8, 69, 0.03);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px rgba(42, 8, 69, 0.1);
}

[data-theme="dark"] .card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.card-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.card-emoji {
  font-size: 2rem;
  background: var(--bg-base);
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  border: 1px solid var(--border-light);
}

.card-tag {
  background: var(--accent-tertiary);
  color: var(--bg-base);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-display);
}

[data-theme="dark"] .card-tag { color: var(--text-main); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.card-desc {
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.card-editorial {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.btn-card-abrir {
  background: transparent;
  border: 2px solid var(--border-light);
  padding: 14px 26px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.btn-card-abrir:hover {
  background: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-base);
}

.link-card-oficial {
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.link-card-oficial:hover {
  letter-spacing: 1px;
  color: var(--accent-secondary);
}

/* Sistema Modal Imersivo */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 8, 69, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

[data-theme="dark"] .modal-overlay { background: rgba(19, 3, 33, 0.9); }

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 720px;
  border-radius: 32px;
  padding: 48px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.btn-fechar {
  position: absolute;
  top: 28px;
  right: 28px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-fechar:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-base);
}

.modal-header-compacto {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 32px;
}

.emoji-medio {
  font-size: 3.2rem;
  background: var(--bg-base);
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

#artigo-titulo {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.dor-box {
  background: var(--accent-soft);
  padding: 28px;
  border-radius: 20px;
  border-left: 8px solid var(--accent-primary);
  margin: 36px 0;
}

.dor-box strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dor-box p {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
}

.artigo-corpo {
  margin-bottom: 48px;
}

#artigo-descricao {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 36px;
  line-height: 1.7;
}

.detalhes-editoriais {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detalhes-editoriais div {
  background: var(--bg-base);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.detalhes-editoriais dt {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detalhes-editoriais dd {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.acoes-ferramenta {
  background: var(--bg-base);
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
}

.btn-primario {
  display: block;
  text-align: center;
  background: var(--text-main);
  color: var(--bg-base);
  padding: 22px;
  border-radius: 16px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 10px 30px var(--shadow-glow);
  transition: var(--transition-smooth);
}

.btn-primario:hover {
  transform: translateY(-3px);
  background: var(--accent-primary);
  color: var(--bg-base);
}

[data-theme="dark"] .btn-primario:hover {
  color: #000000;
}

.share-buttons {
  margin-top: 36px;
  text-align: center;
  border-top: 1px dashed var(--border-light);
  padding-top: 32px;
}

.share-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-share {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border-light);
  padding: 18px;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  width: 100%;
  transition: var(--transition-smooth);
}

.btn-share:hover {
  border-color: var(--text-main);
  background: var(--text-main);
  color: var(--bg-base);
}

/* =========================================
   RODAPÉ INSTITUCIONAL PROFISSIONAL
========================================= */
.rodape-site {
  background: var(--card-bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
  margin-top: 120px;
}

.sobre-portal-rodape {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px dashed var(--border-light);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sobre-portal-rodape h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.sobre-portal-rodape p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.projetos-parceiros {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px dashed var(--border-light);
  text-align: center;
}

.projetos-parceiros h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-size: 1.3rem;
  margin-bottom: 32px;
}

.grid-parceiros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.card-parceiro {
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.card-parceiro:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(42, 8, 69, 0.05);
}

[data-theme="dark"] .card-parceiro:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-em-breve {
  opacity: 0.6;
  cursor: default;
  border-style: dashed;
}
.card-em-breve:hover {
  transform: none;
  border-color: var(--border-light);
  box-shadow: none;
}

.parceiro-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.card-parceiro strong {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.card-parceiro small {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.rodape-main {
  text-align: center;
}

.rodape-main p {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 12px;
}

.rodape-main .aviso-legal {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.links-rodape {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
}

.links-rodape a {
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-display);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.links-rodape a:hover {
  color: var(--accent-primary);
}

/* Responsividade Aprimorada */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.4rem; }
  .painel-curadoria { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 2.6rem; letter-spacing: -1px; }
  .hero-subtitle { font-size: 1.2rem; }
  .cabecalho-site { top: 0; margin: 0; padding: 0; }
  .nav-bar { border-radius: 0 0 24px 24px; flex-direction: column; gap: 16px; padding: 20px 24px; border-x: none; border-top: none; }
  .busca-form { flex-direction: column; border-radius: 24px; padding: 12px; gap: 12px; }
  .busca-form input { padding: 16px; text-align: center; font-size: 1.15rem; }
  .btn-busca { width: 100%; padding: 20px; }
  .grid-cards { grid-template-columns: 1fr; gap: 24px; }
  .detalhes-editoriais { grid-template-columns: 1fr; }
  .modal-content { padding: 32px 24px; }
  .modal-header-compacto { flex-direction: column; text-align: center; }
  .sobre-portal-rodape { text-align: center; }
  .links-rodape { gap: 16px; flex-direction: column; }
}