.section_conteudo {
  display: grid;
  gap: 40px;
  grid-template-columns: 5fr 2fr;
}

@media only screen and (max-width: 768px) {
  .section_conteudo {
    grid-template-columns: 1fr;
  }
}

.section_conteudo aside div {
  position: sticky;
  top: 80px;
}

.botao-cotar {
  display: block;
  padding: 12px 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  background-color: #F8B93D;
  color: var(--color-secundary);
  text-decoration: none;
  border-radius: 5px;
  width: 100%;
}

aside h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 8px 12px;
  display: block;
  font-size: 15px;
  background-color: var(--color-secundary);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
aside nav ul{
  margin: 0px;
}
.cotar-cidade {
  all: unset;
  /* Remove todas as propriedades herdadas e resetadas */
  display: unset;
  padding: unset;
  font-weight: unset;
  text-transform: unset;
  font-size: unset;
  background-color: unset;
  color: unset;
  text-decoration: unset;
  border-radius: unset;
  margin: unset;
  transition: unset;
  cursor: pointer;
  transition: 0.4s;
  
}

.cotar-cidade:hover {
  all: unset;
  /* Remove todas as propriedades herdadas e resetadas */
  display: unset;
  padding: unset;
  font-weight: unset;
  text-transform: unset;
  font-size: unset;
  background-color: unset;
  color: unset;
  text-decoration: unset;
  border-radius: unset;
  margin: unset;
  transition: unset;
  cursor: pointer;
  color: var(--color-secundary);
  transition: 0.4s;
}
.cotar-cidade span:hover{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}

.tooltip {
  position: relative !important;
  display: inline-block !important;
}

/* Estilo do texto do tooltip */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Seta do tooltip */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Mostra o tooltip quando passa o mouse sobre o elemento */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.section_listpages {
  margin-top: 40px;
  width: 100%;
  padding: 24px;
  background-color: #f1f1f1;
}

.section_listpages h2 {
  color: var(--color-secundary);
  margin-top: 0px;
}

.section_listpages ul {
  margin: 0px;
  width: 100%;
  display: grid;
  gap: 4px 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.section_listpages li a{
  color: var(--color-secundary);
}
.section_listpages li a:hover{
  color: var(--color-tertiary);
}


.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 80%;
}



/* galeria */
.gallery-container {
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
}

.gallery-title,.regioes-title {
  font-size: 1.5em;
  margin: 0.83em 0;
  color: var(--color-secundary);
  margin-top: 0px;
}

.gallery-slider {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  cursor: grab;
  position: relative;
  padding-bottom: 24px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}
.regioes-title{
  margin-top: 0px;
}
.section_regioes{
  min-height: auto;
  margin-top: 40px;
}
.section_gallery{
  min-height: auto;
  margin-top: 40px;
}
/* Esconder scrollbar no Chrome/Safari/Opera */
.gallery-slider::-webkit-scrollbar {
  display: none;
}

.gallery-slider.dragging {
  cursor: grabbing;
}

.gallery-track {
  display: inline-flex;
  padding: 0 5px;
}

.gallery-item {
  flex: 0 0 calc(30% - 20px);
  width: calc(30% - 20px);
  margin: 0 10px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.502), rgba(255, 255, 255, 0));
  color: white;
  text-align: left;
  opacity: 0;
  display: flex;
  align-items: end;
  transition: opacity 0.3s ease;
}

.gallery-item-caption p {
  margin: 12px !important;

}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

.progress-container {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--color-secundary);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.vermais_regioes{
  display: none;
}
@media (max-width: 768px) {
  .botao-mobile-none{
    display: none;
  }
  .gallery-item {
    flex: 0 0 calc(75%) !important;
    width: calc(75%) !important;
  }
  .section_listpages ul{
    grid-template-columns: repeat(2, 1fr);
  }
  
  aside .botao-cotar{
    display: none;
  }

  .nav::-webkit-scrollbar {
    height: 4px;
  }
  .list-wrap, .list-wrap ul{
    max-height: 300px;
    overflow: hidden;
  }
  .vermais_regioes{
    width: 100%;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: end;
  }
  .vermais_regioes p{
    padding: 8px 16px;
    background-color: #eee;
    margin: 0px;
    color: #555;
  }
  .vermais_regioes:hover p{
    color: var(--color-secundary);
  }
}

h2, h3{
  font-weight: 600;
}
