/* Importar fonte do Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Variáveis CSS para cores e sombras */
:root {
  --primary-color: #0056b3;
  --secondary-color: #007bff;
  --accent-color: #28a745;
  --text-color-dark: #212529;
  --text-color-light: #f8f9fa;
  --background-light: #f1f3f5;
  --background-white: #ffffff;
  --border-color: #dee2e6;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.12);

  /* Espaçamentos e Bordas */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 50px;
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

/* TOP BAR - Mobile */
.top-bar {
  background: #2c3e50; 
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.top-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-bar li {
  display: inline-block;
}

.top-bar a {
  color: white ;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.top-bar a:hover {
  opacity: 0.8;
}

.top-bar li a {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4); /* borda discreta */
  border-radius: 4px; /* deixa mais suave */
}

/* NAVBAR */

.main-nav {
background: #ffffff;
padding: 0px 0px;
border-bottom: 2px solid #1b4c7a;
box-shadow: none;
}


.main-nav .container {
display: flex;
align-items: center;
justify-content: space-between;
}


.logo-container img {
height: auto ;
width: auto ;
}

/* MENUS */
.main-nav .navbar-nav {
display: flex;
flex-wrap: wrap;
align-items: center;
}

.main-nav .navbar-nav .nav-item .nav-link {
color: #000 ;
font-weight: 600 ;
background: transparent ;
padding: 4px 10px ; 
margin: 0 ;
box-shadow: none ;
border-radius: 0 ;
transition: 0.2s ease-in-out;
white-space: nowrap;
}

.main-nav .navbar-nav .nav-item .nav-link:hover {
color: #1b4c7a ;
}

/* DROPDOWN */
.main-nav .navbar-nav .dropdown-menu {
border-radius: 0;
border: 1px solid #e9ecef;
padding: 0;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.main-nav .navbar-nav .dropdown-item {
padding: 10px 15px;
color: #333;
font-weight: 400;
}

.main-nav .navbar-nav .dropdown-item:hover {
background: #1b4c7a;
color: #fff;
}


/* RESPONSIVIDADE  */

@media (max-width: 991px) {


 .main-nav .container {
flex-direction: column;
align-items: flex-start;
 }

 .navbar-collapse {
 width: 100%;
 margin-top: 15px;
 }


.main-nav .navbar-nav {
flex-direction: column;
 align-items: flex-start;
gap: 0; 
 margin-left: 0;
 width: 100%; 
 }


.main-nav .navbar-nav .nav-item {
 width: 100%;
}

 .main-nav .navbar-nav .nav-item .nav-link {
padding: 10px 0; 
width: 100%;
border-bottom: 1px solid #eee; 
 }

}


/* Seções Gerais */
section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--dark-grey);
}

.navbar-toggler {
  background-color: #ffff;
  border: none;
  border-radius: 0.25rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/* Botões */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #0056b3;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #218838;
  text-decoration: none;
}

.btn-link {
  color: var(--primary-color);
  font-weight: bold;
}

.btn-link:hover {
  text-decoration: underline;
}

/* --- Seção de Galeria de Vídeos --- */
.video-gallery {
  padding: 60px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.video-gallery h2 {
  text-align: center;
  margin-bottom: 45px;
  font-size: 2.2rem;
  color: #343a40;
  position: relative;
  padding-bottom: 10px;
}

.video-gallery h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007bff;
  border-radius: 5px;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.main-video {
  flex: 2;
  min-width: 320px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding-bottom: 20px;
}

.main-video .embed-responsive {
  margin-bottom: 15px;
}

.main-video h3 {
  font-size: 1.8rem;
  color: #343a40;
  padding: 0 20px;
  margin-bottom: 10px;
}

.main-video p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  padding: 0 20px;
}

.side-videos {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #007bff #f1f1f1;
}

/* Estilo da barra de rolagem para navegadores Webkit */
.side-videos::-webkit-scrollbar {
  width: 8px;
}

.side-videos::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.side-videos::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.video-item {
  cursor: pointer;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.video-item.active {
  border: 2px solid #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
  transform: scale(1.01);
}

.video-item img {
  width: 120px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
  flex-shrink: 0;
}

.video-item .video-info {
  flex-grow: 1;
}

.video-item .video-info h4 {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 5px;
  line-height: 1.3;
}

.video-item .video-info p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0;
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Seção de Vereadores --- */
.councilors-section {
  padding: 20px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.councilors-section h2 {
  font-size: 2.2rem;
  color: #343a40;
  position: relative;
  padding-bottom: 10px;
}

.councilors-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #007bff;
  border-radius: 5px;
}

.councilors-carousel-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.councilors-carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.councilors-carousel-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.councilors-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0 10px;
}

.councilor-card-item {
  flex: 0 0 calc((100% - 9 * 10px) / 10);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.councilor-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.councilor-photo-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.councilor-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.councilor-card-item:hover .councilor-photo {
  transform: scale(1.05);
}

.councilor-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.councilor-card-item:hover .councilor-info-overlay {
  transform: translateY(0);
}

.councilor-name {
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.councilor-party {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0;
}

/* Mobile / tablet */
@media (max-width: 1200px) {
  .councilor-card-item {
    flex: 0 0 calc((100% - 5 * 10px) / 6);
  } 
}
@media (max-width: 992px) {
  .councilor-card-item {
    flex: 0 0 calc((100% - 3 * 10px) / 4);
  } 
}
@media (max-width: 768px) {
  .councilors-grid {
    flex-wrap: wrap; 
    justify-content: center;
  }
  .councilor-card-item {
    flex: 0 0 90%;
    margin-bottom: 15px;
  }
}

/* Footer */

footer .main-footer {
  padding: 20px 0;
  background: #252525;
}
footer ul {
  padding-left: 0;
  list-style: none;
}
.footer-copyright {
  background: #222;
  padding: 5px 0;
}
.footer-copyright .logo {
  display: inherit;
}
.footer-copyright nav {
  float: right;
  margin-top: 5px;
}
.footer-copyright nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-copyright nav ul li {
  border-left: 1px solid #505050;
  display: inline-block;
  line-height: 12px;
  margin: 0;
  padding: 0 8px;
}
.footer-copyright nav ul li a {
  color: #969696;
}
.footer-copyright nav ul li:first-child {
  border: medium none;
  padding-left: 0;
}
.footer-copyright p {
  color: #969696;
  margin: 2px 0 0;
}
.footer-top {
  background: #252525;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 3px solid #222;
}


footer.transparent .footer-top,
footer.transparent .main-footer {
  background: transparent;
}
footer.transparent .footer-copyright {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
}


footer.light .footer-top {
  background: #f9f9f9;
}
footer.light .main-footer {
  background: #f9f9f9;
}
footer.light .footer-copyright {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3);
}


.footer- .logo {
  display: inline-block;
}

.widget {
  padding: 20px;
  margin-bottom: 40px;
}

.widget.widget-last {
  margin-bottom: 0;
}

.widget.no-box {
  padding: 0;
  background-color: transparent;
  margin-bottom: 40px;
  box-shadow: none;
}

.widget.subscribe p {
  margin-bottom: 18px;
}


.widget li a {
  color: #ff8d1e;
  transition: color 0.3s;
}

.widget li a:hover {
  color: #4b92dc;
}

.widget-title {
  margin-bottom: 20px;
}

.widget-title span {
  display: block;
  width: 20%;
  height: 1px;
  background: #839fad;
  margin-top: 25px;
  position: relative;
}

.widget-title span::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 50%;
  height: 1px;
  background: #839fad;
}

.widget-title.text-center span,
.widget-title.text-center span::after {
  margin: 0 auto;
  left: 0;
  right: 0;
}


.widget .badge {
  float: right;
  background: #7f7f7f;
}


.typo-light h1,
.typo-light h2,
.typo-light h3,
.typo-light h4,
.typo-light h5,
.typo-light h6,
.typo-light p,
.typo-light div,
.typo-light span,
.typo-light small {
  color: #fff;
}

/* Redes Sociais */
ul.social-footer2 {
  padding: 0;
  margin: 0;
}

ul.social-footer2 li {
  display: inline-block;
}

ul.social-footer2 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  color: white;
  transition: color 0.3s;
}

ul.social-footer2 li a:hover {
  color: #4b92dc;
}

/* Botão */
.btn {
  background-color: #05429c;
  color: #ffffff;
}

.btn:hover,
.btn:focus,
.btn.active {
  background-color: #81b7db;
  color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
  .main-nav .nav-links {
    display: none;
  }

  .main-nav .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav .search-bar {
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }

  .news-grid,
  .video-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .participation-section {
    flex-direction: column;
    text-align: center;
  }

  .building-info {
    margin-top: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    min-width: unset;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-banner h2 {
    font-size: 1.8em;
  }

  .hero-banner p {
    font-size: 1em;
  }

  .main-nav .logo h1 {
    font-size: 1.2em;
  }

  .daily-official,
  .participation-card,
  .building-info,
  .weather-card,
  .councilor-card {
    padding: 15px;
  }

  h2 {
    font-size: 1.6em;
  }
}

/* icons */
.bi {
  font-size: 1.2em;
}


.location-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #555;
  font-size: 1rem;
}

/* Estilo para o ícone de localização */
.location-info .bi-geo-fill {
  font-size: 1.2rem;
  color: #007bff;
}

/* Variáveis para cores (se ainda não as tiver) */
:root {
  --footer-bg-dark: #2c3e50;
  --footer-text-light: #ecf0f1;
  --footer-link-color: #3498db;
  --footer-link-hover: #ffffff;
}

/* Estilos do Footer */

#footer {
  background-color: var(--footer-bg-dark);
  color: var(--footer-text-light);
  font-size: 0.95rem;
}

#footer a {
  color: var(--footer-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--footer-link-hover);
}

.main-footer {
  padding: 30px 0;
}

.widget-title {
  color: var(--footer-text-light);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

/* Underline sutil para os títulos dos widgets */
.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--footer-link-color);
}

/* Estilo para o parágrafo de localização */
.location-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--footer-text-light);
  line-height: 1.5;
}

.location-info .bi-geo-fill {
  font-size: 1.4rem;
  color: var(--footer-link-color);
  flex-shrink: 0;
}

/* Estilo para o e-mail de contato */
.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-text-light);
}

.contact-email .bi-envelope-fill {
  font-size: 1.2rem;
  color: var(--footer-link-color);
}

.contact-email a {
  color: var(--footer-text-light);
}
.contact-email a:hover {
  color: var(--footer-link-hover);
}

/* Estilo do botão "Assine Agora" */
.widget .btn {
  background-color: transparent;
  border: 1px solid var(--footer-link-color);
  color: var(--footer-link-color);
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.widget .btn:hover {
  background-color: var(--footer-link-color);
  color: var(--footer-text-light);
  border-color: var(--footer-link-color);
}

/* Ícones Sociais (Bootstrap Icons) */
.social-footer2 .footer-social-icon {
  font-size: 1.8rem;
  color: var(--footer-text-light);
  transition: color 0.3s ease;
}

.social-footer2 .footer-social-icon:hover {
  color: var(--footer-link-color);
}

/* Estilo para as imagens dos ícones sociais (se você decidir mantê-las) */
.social-footer2 .footer-social-img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-footer2 .footer-social-img:hover {
  transform: scale(1.1);
}

/* Numero Copiado */
.copyable-phone {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

@keyframes flashText {
  0% {
    color: inherit;
  }
  50% {
    color: #007bff;
  }
  100% {
    color: inherit;
  }
}

.copyable-phone.flash {
  animation: flashText 0.3s ease-in-out;
}

.copy-feedback-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(40, 167, 69, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.copy-feedback-message.show {
  opacity: 1;
  visibility: visible;
}
/* --- ESTILOS GERAIS (CSS) --- */
:root {
  --cor-primaria: #005a9c; /* Azul institucional */
  --cor-texto: #333;
  --cor-fundo: #f4f7f6;
  --cor-branco: #ffffff;
  --sombra-card: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Lato", sans-serif;
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  margin-top: 0;
}

.container-perfil {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
  background-color: var(--cor-branco);
  border-radius: 10px;
  box-shadow: var(--sombra-card);
  overflow: hidden;
}

/* --- CABEÇALHO --- */
.cabecalho-perfil {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background-color: gainsboro;
}

.cabecalho-perfil img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--cor-primaria);
  object-fit: cover;
}

.info-principal h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  color: var(--cor-primaria);
  margin: 0;
}

.info-principal p {
  font-size: 1.1rem;
  margin: 5px 0 0;
  color: #6c757d;
}

.cabecalho-perfil p {
  color: black;
}
/* --- ABAS DE NAVEGAÇÃO --- */
.navegacao-abas {
  display: flex;
  border-bottom: 1px solid #dee2e6;
}

.aba-botao {
  font-family: "Montserrat", sans-serif;
  padding: 15px 25px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: #6c757d;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}

.aba-botao:hover {
  color: var(--cor-primaria);
}

.aba-botao.active {
  color: var(--cor-primaria);
  border-bottom-color: var(--cor-primaria);
}

/* --- CONTEÚDO DAS ABAS --- */
.conteudo-perfil {
  padding: 30px;
}

.conteudo-aba {
  display: none;
}

.conteudo-aba.active {
  display: block;
}

.conteudo-aba h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--cor-primaria);
  font-size: 1.5rem;
  margin-top: 0;
  border-bottom: 2px solid var(--cor-fundo);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.dados-gerais {
  list-style: none;
  padding: 0;
}
.dados-gerais li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.dados-gerais li strong {
  display: inline-block;
  width: 180px;
  color: #555;
}

/* --- AJUSTES PARA CELULAR (Responsividade) --- */
@media (max-width: 768px) {
  .cabecalho-perfil {
    flex-direction: column;
    text-align: center;
  }

  .cabecalho-perfil img {
    width: 120px;
    height: 120px;
  }

  .info-principal h1 {
    font-size: 1.8rem;
  }

  .navegacao-abas {
    justify-content: center;
  }
  .aba-botao {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Atividades legislativas perfil*/
/* --- NOVO ESTILO PARA ATIVIDADE LEGISLATIVA --- */
.atividade-lista {
  list-style: none;
  padding: 0;
}

.atividade-lista li {
  margin-bottom: 15px;
}

.atividade-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-decoration: none;
  color: #333;
  padding: 15px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.atividade-item:hover {
  background-color: #f9f9f9;
}

.atividade-icone {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.atividade-icone.azul {
  background-color: #4285f4;
}

.atividade-icone.verde {
  background-color: #34a853;
}

.atividade-icone.roxo {
  background-color: #9c27b0;
}

.atividade-icone.amarelo {
  background-color: #fbc02d;
}

.atividade-info {
  display: flex;
  flex-direction: column;
}

.atividade-titulo {
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.atividade-descricao {
  font-size: 0.9rem;
  color: #777;
}

/* --- SEÇÃO LOGO  --- */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Estilos Gerais --- */
body {
  overflow-x: hidden;
}

.news-section {
  margin-top: -40px;
}

.ecretariats-section-container {
  padding: 60px 0;
}

.card {
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-warning {
  background-color: #2e4a83;
  border-color: #2e4a83;
  color: white;
  border-radius: 20px;
}

.btn-warning:hover {
  background-color: #3b5998;
  border-color: #3b5998;
}

/* --- NOTICIAS --- */

.news-card-highlight .card-img-top {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    object-position: center 15%;
}

.news-card-highlight .card-title {
  font-size: 1.35rem; 
  font-weight: 600;
}

.news-card-highlight .card-text {
  font-size: 0.95rem;
  line-height: 1.45;
}


.card-destaque {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 5px;
}

.card-destaque:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- Estilos para as Notícias Secundárias (carrossel) --- */
#secondaryNewsCarousel {
  position: relative;
  padding: 0 0%;
}

.carousel-inner {
  overflow: hidden;
}

.carousel-item {
  padding: 0;
  transition: transform 0.6s ease-in-out;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
  transform: translateX(-100%);
}

.carousel-item-start,
.carousel-item-end {
  transform: translateX(0);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  z-index: 10;
  position: absolute;
  cursor: pointer;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}


.news-secondary-card {
  border-top: 5px solid #2512d3;
}


.news-secondary-card-img {
  height: 250px;
  object-fit: contain;
  background-color: #f2f2f2;
}

.news-secondary-card .card-body {
  padding: 1.5rem;
}

.news-secondary-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.news-secondary-card .news-date-category {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.news-secondary-card .card-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444;
}

.news-secondary-card .btn-leia-mais {
  font-size: 0.9rem;
  border-radius: 20px;
  background-color: #2e4a83;
  border-color: #2e4a83;
  color: #fff;
}

/* Efeito ao passar o mouse (hover) */
.news-secondary-card .btn-leia-mais:hover {
  background-color: #3b5998;
  border-color: #3b5998;
  color: #fff;
}

/* --- FIM NOTICIAS --- */



/* --- GALERIA DE FOTOS --- */
.SlideImg {
  width: 100%;
  height: 400px;
  object-fit: fill;
}

.view-more-photos {
  color: white;
  text-decoration: none;
}

.view-more-photos:hover {
  color: white;
  text-decoration: none;
}

.GalleryImage {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.GalleryImage:hover {
  position: relative;
  top: -4px;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
}

.GalleryImage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 86, 179, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nameGallery {
  width: 20%;
  height: 10%;
  position: absolute;
  z-index: 1;
  background-color: #0056b3;
  align-items: center;
  justify-content: center;
  border-radius: 0px 50px 0px 0px;
  text-align: center;
  margin-top: -5%;
}

@media (max-width: 700px) {
  .nameGallery {
    display: none;
  }
}

.nameGallery h2 {
  color: white;
  text-align: center;
  font-size: 20px;
  padding: 22px;
}

.breadcrumb-wrapper {
  max-width: 100%;
  overflow-x: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  white-space: nowrap;
}

.breadcrumb-item {
  flex-shrink: 0;
}

.new-ouvidoria {
  width: 100%;
  height: 100%;
  margin-bottom: 50px;
}

.ouvidoria-chamado {
  width: 100%;
  height: auto;
  padding-top: 200px;
}

.denuncia {
  background-color: brown;
}

.reclamacao {
  background-color: #ffc903;
}

.solicitacao {
  background-color: #09ab0e;
}

.elogio {
  background-color: #0095ff;
}

.social-bar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}

.social-bar li {
  position: relative;
  list-style: none;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-bar li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--i), var(--j));
  opacity: 0;
  transition: all 0.4s ease;
}

.social-bar li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--i), var(--j));
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
}

.social-bar li:hover {
  width: 140px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.95),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.social-bar li:hover::before {
  opacity: 0.1;
}

.social-bar li:hover::after {
  opacity: 0.05;
}

.social-bar a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  padding: 0 16px;
  gap: 12px;
}

.social-bar li .icon {
  width: 20px;
  height: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
  flex-shrink: 0;
}

.social-bar li .icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
}

/* Cores específicas para cada ícone */
.social-bar li .icon path {
  transition: all 0.4s ease;
}

.social-bar li:hover .icon {
  transform: scale(1.1);
  filter: none;
}

.social-bar li:hover .icon path {
  fill: currentColor;
}

.social-bar .title {
  color: #2c3e50;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  position: relative;
}

.social-bar li:hover .title {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.1s;
}

/* Cores profissionais para cada rede social */
.instagram {
  --i: #e4405f;
  --j: #405de6;
}

.instagram .icon path {
  fill: #e4405f;
}

.instagram:hover .title {
  color: #e4405f;
}

.whatsapp {
  --i: #25d366;
  --j: #128c7e;
}

.whatsapp .icon path {
  fill: #25d366;
}

.whatsapp:hover .title {
  color: #25d366;
}

.facebook {
  --i: #1877f2;
  --j: #0a5bc4;
}

.facebook .icon path {
  fill: #1877f2;
}

.facebook:hover .title {
  color: #1877f2;
}

.twitter {
  --i: #1da1f2;
  --j: #0c8bd6;
}

.twitter .icon path {
  fill: #1da1f2;
}

.twitter:hover .title {
  color: #1da1f2;
}

.youtube {
  --i: #ff0000;
  --j: #cc0000;
}

.youtube .icon path {
  fill: #ff0000;
}

.youtube:hover .title {
  color: #ff0000;
}

.linkedin {
  --i: #0a66c2;
  --j: #004182;
}

.linkedin .icon path {
  fill: #0a66c2;
}

.linkedin:hover .title {
  color: #0a66c2;
}

.social-bar li:hover {
  background: rgba(255, 255, 255, 0.98);
}


.social-bar li:hover::after {
  animation: gentleGlow 2s ease-in-out infinite alternate;
}

@keyframes gentleGlow {
  0% {
    opacity: 0.03;
  }
  100% {
    opacity: 0.08;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .social-bar {
    left: 12px;
  }

  .social-bar li {
    width: 44px;
    height: 44px;
  }

  .social-bar li:hover {
    width: 120px;
  }

  .social-bar .title {
    font-size: 0.7em;
  }
}

@media (max-width: 480px) {
  .social-bar {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
  }

  .social-bar li {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
  }

  .social-bar li:hover {
    width: 44px;
    transform: none;
  }

  .social-bar .title {
    display: none;
  }

  .social-bar a {
    padding: 0;
    justify-content: center;
  }
}

/* Melhoria de acessibilidade */
.social-bar li:focus-within {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

/* Loading state sutil */
.social-bar li.loading {
  opacity: 0.7;
  pointer-events: none;
}

.social-bar li.loading::before {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
}
/* ===== Transparência e Links Úteis ===== */
.transparency-section,
.links-section {
  background-color: #f8f9fa;
  margin-bottom: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.transparency-section h2,
.links-section h2 {
  position: relative;
  font-size: 2.2em;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 2.5rem;
  text-align: center;
}

.transparency-section h2::after,
.links-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #007bff;
  border-radius: 2px;
}

/* Cards */
.transparency-card,
.links-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.transparency-card:hover,
.links-card:hover {
  border-color: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.transparency-card .icon-wrapper,
.links-card .icon-wrapper {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.transparency-card .icon-wrapper i,
.links-card .icon-wrapper i {
  color: #1f4a7a;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.transparency-card:hover .icon-wrapper i,
.links-card:hover .icon-wrapper i {
  transform: scale(1.2);
}

.transparency-card h5,
.links-card p {
  color: #333;
  font-weight: 600;
}

.transparency-card p {
  font-size: 0.85rem;
  color: #555;
}

.map-responsive {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* O iframe do Google Maps */
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- banner meio da tela --- */
.carousel-banner {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* -- Parlamentares css especifico --*/
.councilor-card-item {
  transition: transform 0.3s ease;
}

.councilor-card-item:hover {
  transform: translateY(-5px);
}

.councilor-photo-wrapper {
  max-width: 140px;
  border-radius: 12px;
  overflow: hidden;
}

.photo-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.councilor-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.councilor-card-item:hover .councilor-photo {
  transform: scale(1.05);
}

.overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  border-radius: 12px;
}

.councilor-info {
  bottom: 12px;
  left: 0;
  padding: 0 8px;
  z-index: 2;
}

.councilor-name {
  font-size: 0.85rem;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.councilor-party {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Responsividade */
@media (max-width: 576px) {
  .councilor-photo-wrapper {
    max-width: 120px;
  }

  .councilor-photo {
    height: 140px;
  }

  .councilor-name {
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  .councilor-photo-wrapper {
    max-width: 150px;
  }

  .councilor-photo {
    height: 170px;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators button {
  transition: opacity 0.3s ease;
}

.carousel-indicators button:not(.active) {
  opacity: 0.5;
}

/* -- Fim parlamentares --*/


/* Botões de compartilhamento noticias */
.compartilhar-section .share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
    border: none;
    transition: transform .15s ease, opacity .15s ease;
}

.share-btn i {
    font-size: 1.2rem;
}

/* Facebook */
.share-btn.facebook {
    background: #1877F2;
}
.share-btn.facebook:hover {
    opacity: .85;
    transform: translateY(-2px);
}

/* WhatsApp */
.share-btn.whatsapp {
    background: #25D366;
}
.share-btn.whatsapp:hover {
    opacity: .85;
    transform: translateY(-2px);
}
/* Fim botões de compartilhamento */