/* ==========================================================================
   HERO SECTION — PRIMEIRA DOBRA VÍVIDA (VÍDEO VIVO, LOGO TRATADA & GLAYCON)
   ========================================================================== */
.hero-section {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 670px;
  max-height: 920px;
  background-color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Alinhado mais para baixo */
}

/* 1. Layer Background: Vídeo Aéreo Lafaiete 100% VIVO E NÍTIDO */
.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-element, .hero-canvas-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(1.18) contrast(1.06) brightness(1.02);
  opacity: 1;
}

/* Máscara suave apenas na área de texto à direita para leitura perfeita */
.hero-bg-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.0) 0%, 
    rgba(255, 255, 255, 0.1) 35%, 
    rgba(255, 255, 255, 0.7) 60%, 
    rgba(255, 255, 255, 0.88) 80%, 
    rgba(255, 255, 255, 0.96) 100%
  );
  pointer-events: none;
}

/* 2. Layer Decoração: Faixa Verde, Amarela e Azul de PONTA A PONTA (100% largura) */
.hero-wave-decor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.95;
}

.hero-wave-decor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  transform: scaleX(-1); /* Faixa tricolor espelhada para acompanhar o candidato à direita */
}

/* 3. Container Grid: Textos/CTAs à Esquerda e Glaycon à Direita alinhados mais para baixo */
.hero-container-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  align-items: flex-end; /* Elementos da Hero alinhados mais para baixo */
  gap: 1.5rem;
}

/* Coluna da Direita: Candidato Glaycon Franco (Grande e colado na base) */
.hero-candidate-col {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  order: 2;
}

.hero-candidate-img {
  max-height: 98%;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 25px 40px rgba(0, 45, 122, 0.4));
  position: absolute;
  bottom: 0;
  right: -40px;
  left: auto;
  max-width: 620px;
}

/* Coluna da Esquerda: Logotipo Tratado, Subheadline, Apoio e CTAs (Sem nenhum quadrado) */
.hero-text-block {
  max-width: 620px;
  padding: 0 1rem 3.5rem 0; /* Alinhado mais para baixo */
  margin-right: auto;
  order: 1;
  position: relative;
  z-index: 6;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* Logo Gráfico 'Nossa gente tem voz.' tratado */
.hero-logo-grafico {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.9));
}

/* Subheadline */
.hero-subheadline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(6, 20, 45, 0.55);
}

.hero-subheadline mark {
  background: transparent;
  color: var(--color-yellow);
  font-weight: 900;
}

/* Números da trajetória */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
  margin-bottom: 1.9rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(6, 20, 45, 0.55);
}

.hero-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  max-width: 150px;
  margin-top: 0.35rem;
  text-shadow: 0 1px 6px rgba(6, 20, 45, 0.6);
}

/* Botões de Ação Hero */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(10, 25, 49, 0.3);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

/* ==========================================================================
   SEGUNDA DOBRA — 4 CARDS DE PILARES / COMPROMISSO
   ========================================================================== */
.section-valores-segunda-dobra {
  background: #061A40;
  padding: 3.5rem 0;
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--color-yellow);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.valor-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  color: var(--color-white);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.valor-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: var(--color-yellow);
}

.valor-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.valor-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
  color: var(--color-yellow);
}

.valor-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ==========================================================================
   SEÇÕES DA HOME
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--color-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* 1. Seção Sobre / Biografia Resumida */
.section-sobre {
  padding: 6rem 0;
  background: var(--color-white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.sobre-card-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-navy));
  box-shadow: var(--shadow-xl);
}

.sobre-card-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.sobre-badge-cha {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 25, 49, 0.9);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-yellow);
}

.sobre-badge-cha h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-yellow);
  margin-bottom: 0.2rem;
}

.sobre-badge-cha p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.sobre-text-content h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.sobre-text-content p {
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-item {
  background: var(--color-bg-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* 2. Seção Prestação de Contas / Emendas */
.section-emendas {
  padding: 6rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
}

.emendas-highlight-banner {
  background: linear-gradient(135deg, #0047BA 0%, #061A40 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.emendas-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-yellow);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.emendas-banner-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.emendas-banner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.banner-stat-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-stat-box .val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
}

.banner-stat-box .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Grid de Municípios */
.municipios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.municipio-card {
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.municipio-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.municipio-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.municipio-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-green);
}

/* 3. Seção Eixos / O Plano da Nossa Gente */
.section-propostas {
  padding: 6rem 0;
  background: var(--color-white);
}

.propostas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.proposta-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proposta-card:hover {
  background: var(--color-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.proposta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.proposta-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.proposta-card:nth-child(2) .proposta-icon {
  background: var(--color-green-light);
  color: var(--color-green);
}

.proposta-card:nth-child(3) .proposta-icon {
  background: #FEF9C3;
  color: #854D0E;
}

.proposta-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
}

.proposta-body p {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.proposta-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.proposta-link:hover {
  color: var(--color-navy);
}

/* 4. Seção Notícias / Artigos */
.section-noticias {
  padding: 6rem 0;
  background: var(--color-bg-light);
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.noticia-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.noticia-thumb {
  height: 200px;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.noticia-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.noticia-card:hover .noticia-thumb img {
  transform: scale(1.05);
}

.noticia-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.noticia-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.noticia-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.noticia-resumo {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.noticia-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1200px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .propostas-grid, .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: auto;
    max-height: none;
    padding-top: 3.5rem;
    padding-bottom: 0;
  }
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text-block {
    margin-left: 0;
    order: 1;
    padding: 0;
  }
  .hero-candidate-col {
    height: 480px;
    order: 2;
    justify-content: center;
  }
  .hero-candidate-img {
    position: relative;
    left: auto;
    max-height: 480px;
  }
  .sobre-grid, .emendas-highlight-banner {
    grid-template-columns: 1fr;
  }
  .propostas-grid, .noticias-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sobre-stats-grid, .emendas-banner-stats {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEÇÃO PORTAL MAGAZINE — TODAS AS CATEGORIAS (home)
   ========================================================================== */
.section-portal-magazine { padding: 4.5rem 0; background: #eef3fb; border-top: 1px solid #e2e8f0; }
.magazine-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 2.5rem; }
.magazine-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(30,80,162,.2); color: #1E50A2; font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: all .2s ease; }
.magazine-chip span { background: #e2e8f0; color: #1E50A2; font-size: 0.72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.magazine-chip:hover { background: #1E50A2; color: #fff; border-color: #1E50A2; }
.magazine-chip:hover span { background: #FFCC00; color: #111; }
.magazine-chip--all { background: #1E50A2; color: #fff; border-color: #1E50A2; }
.magazine-cat-row { margin-bottom: 2.75rem; }
.magazine-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 2px solid #FFCC00; flex-wrap: wrap; }
.magazine-cat-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--color-navy); margin: 0; }
.magazine-cat-title a { color: inherit; text-decoration: none; }
.magazine-cat-title a:hover { color: #1E50A2; }
.magazine-cat-all { font-size: .85rem; font-weight: 800; color: #1E50A2; text-decoration: none; white-space: nowrap; }
.magazine-cat-all:hover { text-decoration: underline; }
.magazine-cta-blog { text-align: center; margin-top: 1.5rem; }
