body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #F5F7FA;
}

/* Barra do menu */
.menu-bar {
  background-color: #F5F7FA;
  color: #506A85;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.6em, 0.8vw, 0.9em); /* escala melhor em telas diversas */
  padding: 10px 5%; /* substitui valor fixo por percentual */
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto; /* centraliza o bloco */
  box-sizing: border-box;
  width: 100%;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #002337;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: color 0.3s ease;
  font-family: sans-serif;
}

nav ul li a:hover {
  color: #ADD8E6;
}

/* Ícones sociais */
.social-icons img {
  height: 20px;
  margin-left: 10px;
}

.header-wrapper {
  width: 100%;
  background-color: #002337;
}
/* principal*/
.header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* espaço entre texto e logo */
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: 'Tw Cen MT Condensed', sans-serif;
  font-weight: bold;
}

.title-text {
  font-size: clamp(3rem, 8vw, 6rem);
  color: white;
  white-space: nowrap;
}

.logo {
  height: 60px;
  width: auto;
  display: inline-block;
}

/* Itens do menu */
.menu-item {
  color: white;
  background-color: #002337;
  padding: 15px 25px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'Tw Cen MT Condensed', sans-serif;
  font-size: 1.2em;
}

.menu-item:hover {
  background-color: #ADD8E6;
  color: #002337;
}

/* Área principal */
.main {
  background-color: #f0f0f0;
  padding: 30px;
  margin-top: 0px;
}

/* Imagem */
.imagem-principal {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 0px;
}

/* Mapa */
.map-responsive {
  width: 100%;
  height: auto;
}

.map-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
}

.map-item {
  flex: 1 1 45%;
  max-width: 400px;
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 6px;
}

/* Slides */
.slideshow-container {
  position: relative !important;
  max-width: 1200px; /* expande para ultrawide */
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px 0; /* espaçamento vertical para respiro */
}

.slide {
  background-color: #f0f0f0;
  width: 100% !important;
 /* aspect-ratio: 16/9 !important; /* mantém proporção visual estável */
 /* display: none; */
  transition: opacity 0.8s ease-in-out;  
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px; /* ou 60vh */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Texto fixo do slide */
.texto-fixo {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  color: #002337;  
  background-color: #f0f0f0;
  
}

.texto-fixo h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
  background-color: #f0f0f0;
  font-family: 'Tw Cen MT Condensed', sans-serif;
}

.texto-fixo p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  background-color: #f0f0f0;
  font-family: 'Tw Cen MT Condensed', sans-serif;
}

/* Imagem slide */
.slide-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9 !important; 
}

#btnTopo {
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 9999;
  background-color: #0078D4;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
}

#btnTopo:hover {
  background-color: #005fa3;
}

.footer {
  text-align: center;
  padding: 20px 0;
  color: #ffffff;
  font-size: 0.9em;
  background-color: #002337;
}

.main section {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  text-align: center;
}

.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

/* RESPONSIVO 📱 */
@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
    padding: 10px 20px;
    font-size: 0.9em;
    align-items: flex-start !important;
  }
  .header-title {
    flex-direction: column !important;
    font-size: 2em;
    text-align: center;
  }
}


  .header-title {
    flex-direction: column;
    padding: 30px 20px;
    font-size: 2em;
    text-align: center;
  }

  .menu-item {
    display: block;
    padding: 10px 15px;
    font-size: 1em;
    text-align: center;
  }

  .main {
    padding: 15px;
  }

  .map-grid {
    flex-direction: column;
    gap: 15px;
  }

  .map-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .texto-fixo h2 {
    font-size: 20px;
  }

  .texto-fixo p {
    font-size: 14px;
  }

.ges_banners {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}