/* 


================================
   Empodera Bahia - CSS Documentado
   Fonte principal: Renade Bold
  
  
   ================================= */
@font-face {
  font-family: 'Renade';
  src: url('fonts/Renade-Bold.woff2') format('woff2'),
       url('fonts/Renade-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


/* === Estilo para * === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Renade', sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}


body {
  font-family: 'Renade', sans-serif;
  background-color: #fff;
  color: #fff;
  line-height: 1.6;
}



/* Cabeçalho e navegação */
/* === Estilo para header === */
header {
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
  z-index: 1;
}

nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #e90d0d;
}



/* Seções */
/* === Estilo para section === */

.section-padrao {
  padding: 60px 24px;
  max-width: 1450px;
  margin: 0 auto;
  width: 100%;
}

section:nth-child(even) {
  background-color: #fff;
}

h2 {
  color: #000;
  margin-bottom: 20px;
  font-size: 2rem;
  text-align: center;
}



/* Rodapé */
/* === Estilo para footer === */

.custom-footer {
  background-color: #7a3530; /* tom vinho da imagem */
  color: white;
  padding: 40px 24px;
  font-family: 'Renade', sans-serif;
}

.custom-footer .container-padrao {
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo img {
  height: 80px; /* menor que antes */
  width: auto;
  display: block;
}

.footer-links p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  color: white;
  text-align: left;
}


/* Logo com tamanho ajustável, sem alterar header */
/* === Estilo para .logo-navbar === */

.logo-navbar {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

/* === Base do carrossel === */
/* === Base do carrossel === */
.carrossel {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background-color: #fff;
  padding: 0;
  margin: 0 auto;
}

/* Imagem no tamanho natural, sem forçar altura/largura além do necessário */
.carrossel-banner1 .slides img {
  width: 100%;
  height: 500px; /* ou ajuste ideal entre 450px ~ 600px */
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* Controle de distância para cada carrossel */
.carrossel-banner1,
.carrossel-servicos,
.carrossel-pod,
.carrossel-quemsomos {
  max-width: 1450px;
  padding: 0;
  margin: 0 auto;
}

/* Slide ativo visível */
.slide.ativo {
  display: block;
}


.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.btn.prev {
  left: 20px;
}

.btn.next {
  right: 20px;
}



/* Mapa e controles */
/* === Estilo para .mapa-territorios === */

.mapa-territorios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.mapa-container {
  max-width: 600px;
  width: 100%;
  position: relative;
}

.mapa-interativo {
  position: relative;
  width: 100%;
  border: 4px transparent;
  border-radius: 12px;
  overflow: hidden;
}

.mapa-img {
  width: 100%;
  height: auto;
  display: block;
}

.select-personalizado {
  width: 100%;
  padding: 12px 36px 12px 16px;
  margin-bottom: 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background-color: #B21E1E;
  color: #111;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="black" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.select-personalizado.secundario {
  background-color: #392D91;
  color: #000;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
}
.ponto-img {
  position: absolute;
  display: none;
  pointer-events: auto;
  z-index: 3;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* === TAMANHOS INDIVIDUAIS PARA .ponto-img === */
.ponto-img[data-card="info-bacia-jacuipe"] { width: 320px; }
.ponto-img[data-card="info-bacia-paramirim"] { width: 300px; }
.ponto-img[data-card="info-chapada-diamantina"] { width: 360px; }
.ponto-img[data-card="info-irece"] { width: 340px; }
.ponto-img[data-card="info-itaparica"] { width: 400px; }
.ponto-img[data-card="info-litoral-norte"] { width: 360px; }
.ponto-img[data-card="info-litoral-sul"] { width: 380px; }
.ponto-img[data-card="info-litoral-sul-2"] { width: 700px; }
.ponto-img[data-card="info-medio-contas"] { width: 360px; }
.ponto-img[data-card="info-medio-sudoeste"] { width: 370px; }
.ponto-img[data-card="info-metropolitana"] { width: 420px; }
.ponto-img[data-card="info-nordeste"] { width: 400px; }
.ponto-img[data-card="info-norte-itapicuru"] { width: 360px; }
.ponto-img[data-card="info-piemonte-diamantina"] { width: 380px; }
.ponto-img[data-card="info-piemonte-paraguacu"] { width: 340px; }
.ponto-img[data-card="info-piemonte-norte-itapicuru"] { width: 360px; }
.ponto-img[data-card="info-portal-sertao"] { width: 400px; }
.ponto-img[data-card="info-reconcavo"] { width: 370px; }
.ponto-img[data-card="info-semiarido-nordeste"] { width: 300px; }
.ponto-img[data-card="info-sao-francisco"] { width: 348px; }
.ponto-img[data-card="info-sertao-produtivo"] { width: 400px; }
.ponto-img[data-card="info-sisal"] { width: 400px; }
.ponto-img[data-card="info-sudoeste"] { width: 410px; }
.ponto-img[data-card="info-extremo-sul"] { width: 320px; }
.ponto-img[data-card="info-velho-chico"] { width: 300px; }
.ponto-img[data-card="info-vale-jiquirica"] { width: 320px; }

.ponto-img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

/* Estilo refinado para container de controles */
/* === Estilo para .container-controles === */

.container-controles {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 30px;
  background: linear-gradient(to bottom, #fff, #fff);
  border-radius: 12px;
  color: #000;
}

.container-controles h1 {
  font-size: 2rem;
  text-transform: uppercase;
  color: #000;
  font-weight: bold;
  margin-bottom: 16px;
}

.container-controles p {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #000;
}



/* Pontos do mapa */
/* === Estilo para .ponto-img === */

.ponto-img {
  display: none;
  position: absolute;
  width: 250px;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  clip-path: circle(25% at center);
  z-index: 3;
}

.ponto-img:hover {
  transform: translate(-50%, -50%) scale(1.2);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.ponto-img[data-card="info-bacia-jacuipe"] {
  display: block;
}

@media (max-width: 768px) {
  .mapa-territorios {
    flex-direction: column;
    gap: 40px;
  }
  .logo-navbar {
    height: 140px;
  }
  nav a {
    font-size: 0.9rem;
  }
  .container-controles h1 {
    font-size: 1.5rem;
  }
}



/* Seções Biblioteca/Videoteca */
/* === Estilo para .midias-section === */
/* ============================
   SEÇÃO MIDIAS (Biblioteca + Videoteca)
   ============================ */
.midias-section {
  max-width: 1450px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;       /* cola com o banner acima */
  padding: 40px 0;
  box-sizing: border-box;
}

.capa-livro {
  width: 100px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #fff;
  border-radius: 4px;
}


/* Cada bloco lateral (Biblioteca / Videoteca) */
.bloco {
  flex: 1 1 50%;       /* Ocupa 50% do espaço lateralmente */
  padding: 40px;       /* 🔧 Espaçamento interno */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribui altura internamente */
  gap: 22px;

  /* 🔧 Controle de altura mínima do bloco */
  min-height: 100%;   /* Se estica para acompanhar a seção */
  box-sizing: border-box;
}

/* Específicos */
.bloco-biblioteca {
  background-color: #193c9c;
}

.bloco-videoteca {
  background-color: #8e2c2b;
}

.titulo-imagem {
  width: 220px;
  height: auto;
}

/* Elementos internos da biblioteca */
.item-biblioteca {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.item-biblioteca .retangulo {
  width: 100px;
  height: 180px;
  background-color: transparent;
  border: 1px solid #fff;
}

.item-biblioteca p {
  flex: 1;
  font-size: 0.95rem;
  color: #fff;
}

/* Carrossel de vídeos */
.carrossel-videos {
  display: flex;
  align-items: center;
  gap: 11px;
}

.video-card {
  flex: 1;
  height: 120px;              /* 🔧 Altura dos "vídeos" fake */
  border: 1px solid #fff;
  background-color: transparent;
}

.seta {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.em-cartaz {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 12px;
}



/* Banner comercial */
/* === Estilo para .parallax-container === */

.parallax-container {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  color: #fff;
}

.primary-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-modern {
  padding: 20px;
}

.button-comercial {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.button-comercial:hover {
  background-color: #e6b800;
}

.sessao-projetos {
  background: #0f111f;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.projetos-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: 0px;
}

.projeto-card {
  flex: 1;
  min-width: 260px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background-color: transparent;
  color: #ddd;
  text-align: left;
  transition: transform 0.3s ease;
}

.projeto-card h4 {
  font-weight: 600;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.projeto-card p {
  font-size: 0.9rem;
  color: #aaa;
}
.imagem-projeto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  margin-bottom: 12px;
  display: block;
}

.circulo-central {
  width: 80px;
  height: 80px;
  background-color: #ccc;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.projeto-card {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}



/* Quando ativado por JS */
/* === Estilo para .projeto-card.animar === */

.projeto-card.animar {
  opacity: 1;
  transform: translateY(0);
}



/* Hover com zoom e sombra */
/* === Estilo para .projeto-card:hover === */

.projeto-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}
.container-padrao {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.sessao-informativa {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.coluna-imagem {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.coluna-imagem img {
  width: 100%;
  border-radius: 12px;
}

.coluna-texto {
  flex: 1;
  min-width: 280px;
  color: #000;
}

.coluna-texto h2 {
  color: #000;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.coluna-texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}
.custom-footer {
  background-color: #993333; 

/* tom baseado na imagem */
/* === Estilo para color: white;
  padding: 40px 24px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.footer-logo img === */

  color: white;
  padding: 40px 24px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.footer-logo img {
  height: 140px;
  margin-bottom: 20px;
}

.footer-links p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}


header .container-padrao, footer .container-padrao {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}


header {
  padding: 5px 0;
}

header .container-padrao {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.logo-navbar {
  height: 180px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-navbar {
    height: 140px;
  }
}
nav {
  width: 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  padding: 0;
  margin: 0;
}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
  background-color: #fff;
}

header .container-padrao {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.logo-navbar {
  height: 240px;
  width: auto;
  margin-bottom: -45px;
}

nav {
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
}


@font-face {
  font-family: 'Renade';
  src: url('fonts/Renade-Bold.woff2') format('woff2'),
       url('fonts/Renade-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Wrapper geral com fundo roxo */

/* Corrige seletor global section para não afetar .noticias-wrapper */
section:not(.noticias-wrapper) {
  padding: 60px 24px;
  max-width: 1450px;
  margin: 0 auto;
}

/* Wrapper geral com fundo roxo */
 /* Reset básico e fontes */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        
        /* Container principal */

   .noticias-wrapper {
      padding: 60px 20px;
    }

    .noticias-section {
      display: flex;
      flex-wrap: wrap;
      max-width: 1450px;
      margin: 0 auto;
      padding: 0;
      gap: 40px;
      background-color: #351f94;
      border-radius: 8px;
      overflow: hidden;
    }

    .noticias-intro {
      color: white;
      background-color: #351f94;
      max-width: 360px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 40px;
      padding: 60px 40px;
    }

  .noticias-intro h2 {
  font-size: 3rem;
  font-weight: normal;
  line-height: 1.1;
  text-transform: uppercase;
  color: white; /* por exemplo, amarelo ouro */
}


    .noticias-icone {
      width: 250px;
      height: auto;
    }

    .noticias-intro p {
      font-size: 1rem;
      line-height: 1.5;
    }

    .noticias-box-branco {
      background-color: white;
      padding: 60px 40px;
      flex: 2;
      border: 4px solid #4a2e99;
      border-radius: 0;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .noticia-item img {
  width: 100%;
  height: 200px; /* ou outro valor fixo desejado */
  object-fit: cover;
  border-radius: 8px;
}

    .noticia-item img {
      width: 180px;
      height: 180px;
      object-fit: cover;
      border-radius: 4px;
    }

    .noticia-conteudo h3 {
      font-size: 1.3rem;
      color: #351f94;
      margin-bottom: 10px;
    }

    .noticia-conteudo p {
      font-size: 1rem;
      color: #333;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .noticias-section {
        flex-direction: column;
      }

      .noticia-item {
        flex-direction: column;
        align-items: center;
      }

      .noticia-item img {
        width: 100%;
        height: auto;
      }

      .noticias-box-branco {
        padding: 40px 24px;
      }

      .noticias-intro h2 {
        font-size: 2rem;
        text-align: center;
      }

      .noticias-intro p {
        text-align: center;
      }
    }
/* Notícia na home */
.slider-noticias {
  display: flex;
  overflow: hidden;
  position: relative;
}

.noticia-item {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ddd;
  background-color: white;
}

.noticia-item.ativo {
  display: flex;
}

.noticia-item img {
  max-width: 100%;
  height: auto;
}

.noticia-conteudo h3 {
  font-size: 1.2rem;
  margin: 0;
}

.noticia-conteudo p {
  font-size: 1rem;
}

.slider-controles {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.slider-controles button {
  background: #cc0000;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

.banner-agua {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0; /* 🔥 ESSENCIAL para remover espaço do inline-img */
}

.banner-agua img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
}

.guas-compras {
  background-color: #f2f2f2;
  padding: 60px 20px;
}

.container-guias {
  max-width: 1450px;
  margin: 0 auto;
}

.header-guias {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.header-guias h2 {
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.2;
  color: #000;
}

.icone-bandeira {
  width: 250px;
  height: auto;
}

.grid-guias {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.guia-card {
  background-color: #c3241d; /* vermelho base */
  width: 200px;
  text-align: center;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guia-icon {
  width: 80px;
  height: 80px;
  background-color: white;
  margin-bottom: 20px;
}

.guia-card h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: #000;
  background: none;
}

.guia-card p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 6px;
}
.politicas-publicas {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.politicas-publicas h2 {
  font-size: 2.2rem;
  font-weight: normal;
  margin-bottom: 40px;
  color: #000;
  line-height: 1.3;
  text-transform: uppercase;
}

.cards-politicas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.card-politica {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  text-align: left;
}

.card-politica img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}

.card-politica h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card-politica p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.botao-centro {
  text-align: center;
}

.botao-vermelho {
  display: inline-block;
  padding: 12px 20px;
  background-color: #a5191f;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.botao-vermelho span {
  margin-left: 8px;
  font-size: 1.2rem;
}

.botao-vermelho:hover {
  background-color: #800000;
}
.podempoderar {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.logo-pod {
  width: 160px;
  margin: 0 auto 20px;
  display: block;
}

.titulo-img-pod {
  width: 260px;
  margin: 0 auto 40px;
  display: block;
}

.episodios-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.episodio-card {
  flex: 1;
  max-width: 300px;
  min-width: 200px;
  background-color: #fff;
  border: none;
}

.episodio-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.episodio-card h3 {
  font-size: 0.95rem;
  color: #000;
  margin-top: 8px;
  text-align: left;
}

.botao-centro {
  text-align: center;
}

.botao-vermelho {
  display: inline-block;
  padding: 12px 24px;
  background-color: #a5191f;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.botao-vermelho:hover {
  background-color: #800000;
}

.botao-vermelho span {
  margin-left: 10px;
  font-size: 1.2rem;
}

.sessao-projetos {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.titulo-projetos {
  font-size: 2.2rem;
  font-weight: normal;
  color: #000;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.projetos-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}

.projeto-card {
  flex: 1;
  max-width: 260px;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  text-align: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.projeto-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.projeto-card p {
  font-size: 0.9rem;
  color: #777;
}

/* Destaque no card do meio */
.projeto-card.destaque {
  transform: translateY(-20px);
  z-index: 2;
  border: 2px solid #888;
}

/* Círculo central cinza */
.circulo-central {
  width: 60px;
  height: 60px;
  background-color: #ccc;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 0;
}
.sessao-sobre {
  padding: 80px 20px;
  background-color: #fff;
}

.container-sobre {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1450px;
  margin: 0 auto;
}

.texto-sobre {
  flex: 1;
  min-width: 280px;
}

.texto-sobre h2 {
  font-size: 2.5rem;
  font-weight: normal;
  color: #000;
  margin-bottom: 24px;
  text-align: left;
}

.texto-sobre p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.imagem-sobre {
  flex: 1;
  min-width: 280px;
}

.imagem-sobre img {
  width: 100%;
  border-radius: 0;
  display: block;
}

/* Estrutura de layout da página do município */
.pagina-municipio {
  padding: 60px 20px;
}

.municipio-layout {
  display: flex;
  gap: 60px;
  align-items: stretch; /* alinhar topo e manter altura igual */
  flex-wrap: nowrap; /* evita quebra de linha */

}

@media (max-width: 768px) {
  .municipio-layout {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}


/* Coluna esquerda */
.coluna-esquerda {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mapa-ilustrativo {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.legenda-mapa {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}

.legenda-mapa span {
  width: 40px;
  height: 14px;
  border-radius: 2px;
}

/* Coluna direita */
.coluna-direita {
  flex: 1 1 50%;
  min-height: 100%;
}


.coluna-direita h2,
.coluna-direita h3 {
  margin: 0;
}

.coluna-direita p {
  margin: 6px 0;
  line-height: 1.5;
}

.imagem-inferior {
  margin-top: 20px;
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* Label para o mapa */
.label-mapa {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #444;
}
.mapa-google-local {
  background-color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.mapa-google-local h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.mapa-embed iframe {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
body.dark-mode {
  background-color: #111;
  color: #eee;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #000;
  color: #eee;
}

body.dark-mode .container-controles,
body.dark-mode .coluna-direita,
body.dark-mode .card-politica,
body.dark-mode .noticias-box-branco {
  background-color: #1e1e1e;
  color: #eee;
  border-color: #333;
}

.botao-escurecer {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.botao-escurecer:hover {
  transform: scale(1.1);
}
body.dark-mode {
  background-color: #333;
  color: #fff;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #333;
  color: #fff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode a,
body.dark-mode li,
body.dark-mode label,
body.dark-mode select,
body.dark-mode option {
  color: #fff !important;
}

/* Se precisar inverter também fundo de elementos brancos */
body.dark-mode .container-controles,
body.dark-mode .coluna-direita,
body.dark-mode .card-politica,
body.dark-mode .noticias-box-branco,
body.dark-mode .select-personalizado,
body.dark-mode .select-personalizado.secundario {
  background-color: #1e1e1e !important;
  color: #fff !important;
  border-color: #444;
}

/* Botão de modo escuro */
.botao-escurecer {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  margin-left: auto;
  transition: transform 0.2s ease;
}

body.dark-mode .botao-escurecer {
  color: #fff;
}

.botao-escurecer:hover {
  transform: scale(1.1);
}
/* Botão hambúrguer */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000;
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 999;
}

/* Menu mobile oculto por padrão */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav#menu ul {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100px;
    right: 24px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 998;
  }

  nav#menu ul.active {
    display: flex;
  }

  nav ul li {
    width: 100%;
    text-align: right;
  }
}
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slider-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  user-select: none;
}

.slider-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.slider-seta:hover {
  background: rgba(0,0,0,0.6);
}

.slider-seta.left {
  left: 10px;
}

.slider-seta.right {
  right: 10px;
}

.slider-paginacao {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-paginacao span {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-paginacao span.ativo {
  background-color: #fff;
}

/* MOBILE RESPONSIVO */
@media (max-width: 768px) {
  .slider-seta {
    font-size: 1.5rem;
    padding: 8px;
  }

  .slider-paginacao span {
    width: 10px;
    height: 10px;
  }
}
/* SLIDER MODERNO REPLICADO */
.slider-wrapper-2 {
  position: relative;
  width: 100%;
  max-width: 1450px;
  margin: 60px auto;
  overflow: hidden;
  border-radius: 0;
}

.slider-container-2 {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.slider-container-2 img {
  width: 100%;
  height: 100%;
  max-height: 500px; /* ou o valor que você quiser para limitar */
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}


.slider-seta-2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.slider-seta-2:hover {
  background: rgba(0,0,0,0.6);
}

.slider-seta-2.left {
  left: 10px;
}

.slider-seta-2.right {
  right: 10px;
}

.slider-paginacao-2 {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-paginacao-2 span {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-paginacao-2 span.ativo {
  background-color: #fff;
}

@media (max-width: 768px) {
  .slider-seta-2 {
    font-size: 1.5rem;
    padding: 8px;
  }

  .slider-paginacao-2 span {
    width: 10px;
    height: 10px;
  }
}
.slider-seta-2.left-2 {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-seta-2.right-2 {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-seta-2 {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.slider-seta-2:hover {
  background: rgba(0, 0, 0, 0.6);
}


 
.banner-noticia img {
  display: block;
  max-width: 700px; /* 🔧 Reduzido para um tamanho mais controlado */
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.conteudo-noticia {
  padding: 60px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.titulo-noticia {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 10px;
}

.meta-noticia {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 30px;
}

.texto-noticia p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.botao-voltar {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #a5191f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.botao-voltar:hover {
  background-color: #800000;
}

   .texto-noticia {
      font-family: 'Renade', sans-serif;
      font-size: 1.1rem;
      line-height: 1.9;
      color: #333;
      max-width: 800px;
      margin: 0 auto;
      padding: 30px 20px;
    }

    .texto-noticia p {
      margin-bottom: 22px;
      text-align: justify;
    }

    .meta-noticia {
      text-align: center;
      font-size: 0.95rem;
      color: #777;
      margin-top: 10px;
      margin-bottom: 30px;
    }

    .titulo-noticia {
      text-align: center;
      font-size: 2.2rem;
      font-weight: bold;
      margin-top: 20px;
      margin-bottom: 10px;
    }
    .relacionadas-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-relacionadas {
  display: flex;
  transition: transform 0.4s ease;
  gap: 24px;
  overflow-x: auto; /* ← isso é fundamental */
  scroll-behavior: smooth; /* para efeito suave */
}


.noticia-relacionada {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
}

.noticia-relacionada img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.noticia-relacionada h4 {
  font-size: 1rem;
  color: #351f94;
  font-weight: bold;
}

.seta-relacionada {
  background: #351f94;
  color: white;
  border: none;
  font-size: 1.8rem;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}
.titulo-img-pod {
  font-size: 2.5rem;
  color: #351f94;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}
