@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --azul: rgba(95, 194, 203, 1);
  --rosa: rgba(255, 141, 158, 1);
  --cinza: rgba(101, 101, 101, 1);
  --branco: rgba(255, 255, 255, 1);
  --branco-claro: rgba(255, 255, 255, 0.5);
  --cinza-claro: rgba(227, 227, 227, 1);
  --preto: rgba(2, 2, 2, 1);
  --azul-btn: #2575E8;
}

* {
  margin: 0;
  padding: 0;
}



body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  justify-content: flex-start;
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
}

div.titulo {
  height: 55px;
  border-radius: 30px;
  padding: 3px 25px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 5px;
}

div.titulo  h1 {
  margin-top: 7px;
  font-size: 18px;
  text-align: center;
  color: #292929;
  font-weight: 600;
  text-transform: uppercase;
}

div.titulo h2 {
  margin-top: 5px;
  font-size: 15px;
  max-width: 320px;
  text-align: center;
  font-weight: 400;
  color: #898888;
}

h3 {
  font-size: 12px;
  color: #A7A7A7;
  font-weight: 400;
}

h3 strong {
  font-size: 12px;
  color: #A7A7A7;
  font-weight: 700;
}


#map {
  position: absolute;
  top: 156px;
  bottom: 0;
  width: 100%;
  height: 650px;
  border-radius: 8px;
  z-index: 1;
}


.geocoder {
  z-index: 100;
  left: auto;
  top: 90px;
  width: 200px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapboxgl-ctrl-geocoder {
  min-width: 100%;
  left: auto !important;
}

.mapboxgl-ctrl-geocoder {
  min-width: 250px !important;
  left: 50px;
  top: 0px;
  border-radius: 50px !important;
}


.mapboxgl-ctrl-geocoder--icon {
  top: 11px !important;
}

.mapboxgl-ctrl-geocoder--input {
  padding: 21px 35px !important;
}

.mapboxgl-ctrl-geocoder--input:focus {
  color: #B0A590;
  outline: 0;
  box-shadow: none;
  outline: thin dotted;
}

.mapboxgl-ctrl-geocoder--input:focus {
  border-radius: 50px;
  color: #a5a5a5 !important;
  outline: thin solid !important;
}


.btns {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
  margin: 30px 0px 25px 0px;
}

.btns .btn-categoria {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  
}

.btns .circulo {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #8c9091;
}

.btns #compacto .circulo {
  background-color: #F8CB73;
}

.btns #economico .circulo {
  background-color: #A5D29C;
}

.btns #medio .circulo {
  background-color: #337eda;
}

.btns #luxo .circulo {
  background-color: #9235D0;
}

.btns .btn-categoria p {
  font-size: 12.5px;
  text-transform: uppercase;
  color: #6b6b6b;
  font-weight: 500;
}



/* .btns::before {
    content: "Veja imagens do conflito";
    position: absolute;
    top: -25px;
    font-size: 19px;
    color: #6b6b6b;
    text-transform: uppercase;
  } */

.btn {
  padding: 13px 22px;
  margin: 0 5px;
  font-size: 10.5px;
  background-color: #ccc;
  color: #fff;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}



.btn#sede {
  background-color: #000000;
}

.btn#fundadores {
  background-color: #102ACD;
}

.btn#lugares {
  background-color: #E9B600;
}

.btn#simbolos {
  background-color: #909090;
}


.btn#sede.active {
  background-color: #000000;
  font-weight: 600;
}

.btn#fundadores.active  {
  background-color: #102ACD;
  font-weight: 600;
}

.btn#lugares.active  {
  background-color: #E9B600;
  font-weight: 600;
}

.btn#simbolos.active  {
  background-color: #909090;
  font-weight: 600;
}


/* .btn#sede:hover {
  background-color: #909090;
}

.btn#fundadores:hover {
  background-color: #52958c;
}

.btn#lugares:hover {
  background-color: #b58f45;
}

.btn#simbolos:hover {
  background-color: #cb5a43;
} */




.btn:not(.active):hover {
  background-color: rgb(149, 149, 149);
}

.btn.cidade,
.btn.diversidade,
.btn.personalidade {
  background-color: #b3b3b3;
  text-transform: uppercase;
  font-size: 12px;
}

/* .btn.diversidade {
    background-color: #5ADDC3;
  }

  .btn.personalidade {
    background-color: #C15ADD;
  } */


.container-popup {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.405);
  position: fixed;
  z-index: 10;
  display: none;
  justify-content: center;
    align-items: center;
  /* top: 200px; */
}

.container-popup #popup {
  margin-top: 100px;
  width: 620px;
  height: 645px;
  border-radius: 20px;
  background-color: #64B1A7;
  color: #FFFFFF;

  display: flex;
  flex-direction: column;
    align-items: center;
}

.container-popup #popup .imagem {
  width: 100%;
  height: 300px;
  margin-top: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.container-popup #popup .imagem p.credito {
  display: none;
  width: 66%;
  margin-left: 13px;
  font-size: 10px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.665);
  text-transform: uppercase;
}

.container-popup #popup .imagem p.credito.active {
  display: flex;
}

.container-popup #popup .imagem img {
  width: 100%; /* Ajusta a largura ao contêiner */
  height: 100%; /* Ajusta a altura ao contêiner */
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.container-popup #popup div.btn-close {
  width: 55px;
  height: 55px;
  background-color: #64B1A7;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: 100;
  cursor: pointer;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  left: 252px;
  top: 26px;
  /* filter: saturate(0.5); */
}

.container-popup #popup div.btn-close:hover {
  filter: saturate(0.65);
} 


.container-popup #popup .infos {
  margin-left: 15px;
  width: 65%;
  margin-top: 30px;
  max-height: 272px;
  overflow-y: auto;
  padding-right: 10px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 3px;
}



.container-popup #popup .infos {
  --sb-track-color: rgba(255, 255, 255, 0.231);
  --sb-thumb-color: #ffffff;
  --sb-size: 11px;
}

.container-popup #popup .infos::-webkit-scrollbar {
  width: var(--sb-size)
}

.container-popup #popup .infos::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 9px;
}

.container-popup #popup .infos::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 9px;
  
}

@supports not selector(::-webkit-scrollbar) {
  .container-popup #popup .infos {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

.container-popup #popup .infos p.categoria {
  font-size: 12.5px;
}

.container-popup #popup .infos p.personalidade {
  font-size: 30px;
  font-weight: bold;
  line-height: 37px;
}

.container-popup #popup .infos p.titulo {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 16.5px;
  font-style: italic;
  line-height: 17px;
  color: rgba(255, 255, 255, 0.655);
}

.container-popup #popup .infos p.texto {
  font-size: 14.2px;
  margin-top: 11px;
  margin-bottom: 20px;
}

.container-popup #popup .infos p.texto a {
  color: #ffffff;
}

.mapboxgl-popup-content {
  background: #fff;
  border-radius: 15px !important;
  padding: 0px !important;
  display: flex;
  flex-direction: column;
    align-items: center;
} 

.mapboxgl-popup-content > div.tooltip {
    padding: 8px 16px 15px 16px;
    line-height: 17px;
    text-align: center;
    font-weight: 400;
    font-size: 14.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 179px;
}

div.mapboxgl-popup-content .imagem-tooltip {
    width: 240px;
    height: 130px;
    
}

div.mapboxgl-popup-content .imagem-tooltip img{
  width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 15px 15px;
}



.btn.cidade.active {
  background-color: var(--azul);
  display: none;
  /* border: 2px solid #4899bc; */
  /* font-weight: 500; */
}

.btn.diversidade.active {
  background-color: var(--verde);
  /* border: 2px solid #46b8a1; */

}

.btn.personalidade.active {
  background-color: var(--roxo);
  /* border: 2px solid #923eaa; */
}



.marker {
  opacity: 0.8 !important;
  width: 55px;
  height: 55px;
  background-size: cover;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease; /* animação suave */
}

.marker:hover {
  transform: scale(2.1); /* aumenta suavemente */
}

/* .marker.desactive {
  opacity: 0 !important;
} */

.marker.active {
  filter: drop-shadow(2px 1px 14px rgba(16, 131, 255, 0.3));
  animation: pulse-up 1s infinite;
  top: 0;
  position: relative;
}

@keyframes pulse-up {
  0% {
    top: 0;
  }

  50% {
    top: -5px;
  }

  100% {
    top: 0;
  }
}


.marker.cidade {
  background-image: url("./imagens/pin-cidade.svg");
  /* pointer-events: none; */
}

.marker.diversidade {
  background-image: url("./imagens/pin-map.svg");
}

.marker.personalidade {
  background-image: url("./imagens/pin-map.svg");
}

.btns-maps {
  display: none;
}



.btns-maps>div {
  max-width: 45px;
  height: 45px;
  position: fixed;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 10;
  border-radius: 99px;
  top: 260px;
  transition: background-color 0.3s;
  /* background-color: rgba(255, 255, 255, 0.55); */
  background-color: #005d92;
  cursor: pointer;

  /* remover piscado azulado que aparece ao clicar no botão */
  -webkit-tap-highlight-color: transparent;
}

.btns-maps>div:hover {
  background-color: #0b7db1;
}

.btns-maps>div img {
  width: 25px;
  height: 25px;
  /* filter: brightness(1%); */
}

.btns-maps>div.proximo {
  right: 45px;
}

.btns-maps>div.proximo.animation-pulse {
  animation: pulse 2s infinite;
}

.btns-maps>div.anterior {
  left: 45px;
}

ul.suggestions {
  z-index: 15 !important;
}


.btn-sem-filtro {
  display: none;
  height: 15px;
  position: fixed;
  top: 200px;
  z-index: 10;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 25px;
  transition: background-color 0.3s;
  cursor: pointer;
  box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
  -webkit-box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
  -moz-box-shadow: 1px 0px 16px 0px rgba(0,0,0,0.24);
}

.btn-sem-filtro:hover {
  background-color: #ebebeb;
}


.mapboxgl-ctrl-top-right {
  right: 50px !important;
  top: 30px !important;
}

/* criando animação de pulse */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 #f9f9f9ec;
  }
  
  70% {
    transform: scale(1.10);
    box-shadow: 0 0 0 10px rgba(229, 231, 231, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 246, 245, 0);
  }
}

.container-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 120px;
  align-content: center;
  position: fixed;
  bottom: 80px;
  width: 100% !important;
}

#popup > div.infos-mural > div.bloco-2 > div.container-texto > p.texto-mural {
  background-color: #005d92;
  border-radius: 20px;
  padding: 5px 20px;
  text-transform: uppercase;
  font-size: 14.9px;
}

p.texto-descricao {
  font-size: 14.2px !important;
}



.container-popup #popup div.imagem.galeria {
  width: 100%;
    height: 300px;
    margin-top: -37px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background-color: #ffffff45; */
}


div.imagem.galeria img {
  display: none;
  flex: 0 0 100%; /* Largura fixa de 90% para a coluna central */
}

div.imagem.galeria img.slide.active {
  display: flex;
}

div.imagem.galeria .btns-slide {
  position: relative;
  transform: translateY(-350%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}


div.imagem.galeria .nav-button {
  width: 50px;
  height: 50px;
  font-family: inherit;
  line-height: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 40px;
  font-size: 30px;
}

div.imagem.galeria .nav-button:hover{
  background-color: rgba(0, 0, 0, 0.70);
}

div.imagem.galeria .nav-button.prev {
  left: 10px;
  bottom: 150px;
  margin-left: 30px;
}

div.imagem.galeria .nav-button.next {
  right: 10px;
  bottom: 150px;
  margin-right: 30px;
}


p.fonte {
    z-index: 100;
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 650px;
    font-size: 13.5px;
    color: #3c3c3c;
}




@media (max-width: 650px) {


  .mapboxgl-ctrl-top-right {
    right: 0px !important;
    top: 20px !important;
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  #map {
      top: 188px;
      height: 550px;
  }

  /* .geocoder {
    margin-top: 24px;
  } */

  div.titulo h1 {
    font-size: 17px;
  }

  p.texto-descricao {
    font-size: 13.5px !important;
  }

  .btns {
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0px 25px 0px;
  }

  .btns .btn {
    margin: 0px 0px ;
    /* color: #005d92 !important; */
  }
  .btns .btn-categoria p {
    font-size: 11px;
  }

  .btns .circulo {
    width: 13px;
    height: 13px;
  }

  div.titulo {
    height: 105px;
  }

  div.titulo h2 {
    font-size: 14px;

  }

  .mapboxgl-ctrl-geocoder--input::placeholder {
    font-size: 14px;
  }

  p.fonte {
    z-index: 100;
    position: absolute;
    bottom: 35px;
    left: 20px;
    width: 90%;
    font-size: 13.5px;
    color: #3c3c3c;
}

}







.mapboxgl-ctrl-attrib-inner {
  display: none !important;
}


.marker-label {
  display: none;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  /* background-color: black; */
  padding: 5px 10px;
  position: relative;
  background-color: #000000a3;
  border-radius: 8px;
  top: -50px;
  /* text-shadow: rgb(14, 14, 14) 2px 0px 0px, rgb(14, 14, 14) 2.83487px 0.981584px 0px, rgb(14, 14, 14) 2.35766px 1.85511px 0px, rgb(14, 14, 14) 1.62091px 2.52441px 0px, rgb(14, 14, 14) 0.705713px 2.91581px 0px, rgb(14, 14, 14) -0.287171px 2.98622px 0px, rgb(14, 14, 14) -1.24844px 2.72789px 0px, rgb(14, 14, 14) -2.07227px 2.16926px 0px, rgb(14, 14, 14) -2.66798px 1.37182px 0px, rgb(14, 14, 14) -2.96998px 0.42336px 0px, rgb(14, 14, 14) -2.94502px -0.571704px 0px, rgb(14, 14, 14) -2.59586px -1.50383px 0px, rgb(14, 14, 14) -1.96093px -2.27041px 0px, rgb(14, 14, 14) -1.11013px -2.78704px 0px, rgb(14, 14, 14) -0.137119px -2.99686px 0px, rgb(14, 14, 14) 0.850987px -2.87677px 0px, rgb(14, 14, 14) 1.74541px -2.43999px 0px, rgb(14, 14, 14) 2.44769px -1.73459px 0px, rgb(14, 14, 14) 2.88051px -0.838247px 0px; */
}


/* bnt busca */

.mapboxgl-ctrl-geocoder {
    background-color: rgba(0, 0, 0, 0.0) !important;
}

.mapboxgl-ctrl-geocoder--icon-search {
    top: 20px !important;
    left: 10px !important;
}

.mapboxgl-ctrl-geocoder--input {
    padding: 30px 35px !important;
    border-radius: 50px;
    background-color: var(--azul-btn) !important;
    color: #ffffff !important;
    /* animation: pulse 2s infinite; */
}

.mapboxgl-ctrl-geocoder--input:focus {
    border-radius: 50px;
    color: #ffffff !important;
    outline: thin solid !important;
}

.mapboxgl-ctrl-geocoder--icon {
    fill: #ffffff !important;
    top: 15px;
}

/* --- AJUSTES SOLICITADOS --- */

/* Estiliza o placeholder do campo de busca para ficar branco e em caixa alta */
.mapboxgl-ctrl-geocoder--input::placeholder {
    color: #ffffff;
    text-transform: uppercase;
}

/* Ajusta a posição do botão de limpar (X), que aparece ao digitar */
.mapboxgl-ctrl-geocoder--button {
    /* Centraliza verticalmente o botão 'X' dentro do campo */
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 12px !important;
}

/* Garante a cor do ícone 'X' (já que o ícone de busca já é branco) */
.mapboxgl-ctrl-geocoder--button .mapboxgl-ctrl-geocoder--icon {
    fill: #ffffff !important;
}


.mapboxgl-ctrl-geocoder--button {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    background: var(--azul-btn) !important;
    line-height: 1;
}

p.padrao {
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 11.5px;
}

p.nome-empreendimento {
  font-weight: bold;
  text-transform: uppercase;

}

p.endereco {
  margin-top: 10px;
   font-size: 13px;
   color: #6b6b6b;

}

