.secao-destaques-locacao {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.cabecalho-secao {
  margin-bottom: 40px;
}

.cabecalho-secao__titulo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cor-site-4);
  margin-bottom: 10px;
}
.card-imovel__badge--visualizado {
  background-color: var(
    --cor-site-1
  ); /* Use uma cor diferente, como a principal do seu site */
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.card-imovel__badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.card-imovel__favorito {
  color: #464646;
  transition: color 0.2s;
  width: auto;
  padding: 0px;
  height: 28px;
  font-size: 28px;
  display: flex;
  background-color: transparent;
  justify-content: center;
  align-items: center;
}
.card-imovel__favorito.active {
  color: var(--cor-site-2);
}

.card-imovel__favorito:hover {
  color: var(--cor-site-1);
}

.card-imovel__badge--visualizado i {
  font-size: 0.9rem;
}
.cabecalho-secao__titulo-sublinhado {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cor-site-2);
  position: relative;
  padding-bottom: 10px;
  margin-top: 5px;
}

.cabecalho-secao__titulo-sublinhado::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--cor-site-2);
  margin: 10px auto 0;
  border-radius: var(--radius);
}

.cabecalho-secao__descricao {
  font-size: 1rem;
  color: var(--cor-site-5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* DESIGN CLEAN DOS CARDS */
.card-imovel {
  margin: 0px;
  padding: 10px;
}

.card-imovel__container {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 493px;
  display: flex;
  flex-direction: column;
}

.card-imovel:hover .card-imovel__container {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-imovel__link-imagem {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-imovel__figura {
  margin: 0;
  height: 100%;
}

.card-imovel__imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-imovel__link-imagem:hover .card-imovel__imagem {
  transform: scale(1.05);
}

.card-imovel__badge {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--cor-site-1);
  color: white;
  padding: 7px 11px;
  border-radius: 0px 0px 20px 0px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  width: min-content;
  box-shadow: var(--ltn__box-shadow-3);
  text-transform: capitalize;
}

.card-imovel__conteudo {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-imovel__rodape {
  background-color: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.card-imovel__header {
  margin-bottom: 15px;
}

.card-imovel__titulo {
  font-size: 1.1rem;
  color: var(--cor-site-4);
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.3;
}

.card-imovel__localizacao {
  display: flex;
  align-items: center;
  color: var(--cor-site-5);
  font-size: 0.8rem;
  gap: 5px;
  justify-content: space-between;
}
.card-imovel__favorito {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.card-imovel__favorito-texto {
  position: absolute;
  left: -80px; /* ajuste a posição como preferir */
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.2s cubic-bezier(0.57, 1.47, 0.56, 0.86), opacity 0.2s;
  pointer-events: none;
}

/* Mostra no hover */
.card-imovel__favorito:hover .card-imovel__favorito-texto {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.favorito-top-tooltip {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cor-site-2);
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s;
}

.favorito-top-tooltip.show {
  opacity: 1;
  pointer-events: auto;
}
.card-imovel__favorito-svg {
  display: flex;
}
.card-imovel__localizacao i {
  color: var(--cor-site-3);
  font-size: 0.9rem;
}

.card-imovel__preco {
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.card-imovel__valor {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cor-site-2);
  display: block;
}

.card-imovel__adicional {
  font-size: 0.75rem;
  color: var(--cor-site-5);
  display: block;
  margin-top: 3px;
}

.card-imovel__caracteristicas {
  display: flex;
  gap: 10px;
  align-items: center;
}

.card-imovel__caracteristica {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--cor-site-4);
  position: relative;
}

.card-imovel__botao {
  background-color: var(--cor-site-3);
  color: white;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.card-imovel__botao:hover {
  background-color: var(--cor-site-2);
}

.card-imovel__botao i {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.card-imovel__botao:hover i {
  transform: translateX(3px);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .card-imovel {
    margin: 0 5px;
  }

  .card-imovel__caracteristicas {
    gap: 10px;
  }

  .card-imovel__caracteristica {
    font-size: 0.75rem;
  }
}
.area-imagens {
  position: relative;
  height: 240px;
  overflow: hidden;
  width: 100%;
}
.carrossel-imagens {
  display: flex;
  height: 240px;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slide-imagem {
  min-width: 100%;
  height: 240px;
}

.slide-imagem img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.controles-carrossel {
  position: absolute;
  bottom: 40%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 2;
}

.card-imovel:hover .controles-carrossel button {
  display: block;
}

.controles-carrossel button {
  background-color: var(--cor-site-2);
  color: white;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
  opacity: 0.8;
  display: none;
}

.controles-carrossel button:hover {
  background-color: var(--cor-site-1);
  opacity: 1;
  transform: scale(1.1);
}

/* Esconde controles se só tiver uma imagem */
.area-imagens:only-child .controles-carrossel {
  display: none;
}
/* Estilo para o overlay na última imagem */
.slide-imagem {
  position: relative;
}

.overlay-ultima-imagem {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-ultima-imagem.ativo {
  opacity: 1; /* Overlay sempre visível na última imagem */
}

.botao-ver-mais {
  background-color: var(--cor-site-1);
  color: white;
  padding: 7px 17px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
  transform: scale(0.9);
  opacity: 0;
  margin-bottom: 10px;
}
.botao-ver-mais:hover {
  background-color: var(--cor-site-2);
  color: white;
  padding: 7px 17px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
  transform: scale(0.9);
  opacity: 0;
}

.overlay-ultima-imagem.ativo .botao-ver-mais {
  transform: scale(1);
  opacity: 1;
}

/* Efeito hover para outras imagens (opcional) */
.slide-imagem:not(.ultima-imagem):hover .overlay-ultima-imagem {
  opacity: 1;
}

.slide-imagem:not(.ultima-imagem):hover .botao-ver-mais {
  transform: scale(1);
  opacity: 1;
}
.controles-carrossel button.desativado {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.controles-carrossel button.desativado:hover {
  background-color: var(--cor-site-3);
}
.card-imovel__favorito-svg svg {
  width: 24px;
  height: 24px;
  stroke: var(--cor-site-1);
}
.card-imovel__compartilhar {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* CARD DOS IMÓVEIS EM DESTAQUES */

.destaque-imoveis-quintoandar {
  margin-top: 80px;
  display: flex;
  overflow: hidden;
  max-height: 530px;
}

.cta-quintoandar {
  background: #c9dde1;
  flex: 1 1 48%;
  padding: 38px;
  display: flex;
  position: relative;
}

.cta-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-rodape {
  display: flex;
  align-items: flex-end;
}

.cta-ilustracao img {
  height: auto;
  max-height: 330px;
  width: 330px;
}

.cta-quintoandar h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 18px;
  color: #191919;
}

.cta-quintoandar p {
  color: #333;
  font-size: 1.18rem;
  line-height: 1.5;
}

.btn-cta-qa {
  background: #fff;
  color: var(--cor-site-2);
  padding: 16px 34px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1.08rem;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: background 0.2s;
  width: max-content;
}

.btn-cta-qa:hover {
  background: #a7bdc1;
}

.cta-link-qa {
  margin-top: 18px;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  font-size: 1.07rem;
}

.cta-ilustracao {
  display: flex;
  position: relative;
  width: max-content;
}

.carousel-quintoandar {
  background: #a7bdc1;
  display: flex;
  position: relative;
  height: 530px;
  width: 605px;
}

.carousel-quintoandar-inner {
  position: relative;
  width: 100%;
  height: 530px;
  display: flex;
  align-items: stretch;
}

.carousel-slide-qa {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: opacity 0.3s;
}

.detalhes-qa span:not(:first-child)::before {
  content: "•";
  color: #bbb;
  margin: 0 5px;
  font-size: 10px;
  vertical-align: middle;
}

.carousel-bg-qa {
  flex: 1 1 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.97);
  height: 100%;
}

.info-card-qa {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 0px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.09);
  max-width: 400px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card-qa h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #191919;
  margin-bottom: 0;
}

.info-card-qa p {
  font-size: 1.08rem;
  color: #444;
}

.info-card-qa .caract-qa {
  font-size: 0.99rem;
  color: #666;
  display: flex;
  gap: 14px;
}

.preco-qa {
  font-size: 1.22rem;
  color: var(--cor-site-2);
  font-weight: bold;
}

.btn-card-qa {
  background: #c9dde1;
  color: var(--cor-site-2);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-card-qa:hover {
  background: #a7bdc1;
}

.carousel-seta-qa {
  position: absolute;
  bottom: 38px;
  right: 92px;
  background: #fff;
  border: none;
  color: var(--cor-site-1);
  font-size: 2.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
  opacity: 0.97;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-seta-qa.prev {
  right: 152px;
}

.carousel-seta-qa.next {
  right: 92px;
}

.carousel-seta-qa:hover {
  background: #c9dde1;
}

@media (max-width: 980px) {
  .destaque-imoveis-quintoandar {
    flex-direction: column;
    min-height: 0;
  }

  .cta-quintoandar,
  .carousel-quintoandar {
    flex: 1 1 100%;
    min-height: 0;
  }

  .carousel-quintoandar-inner {
    height: 340px;
  }

  .info-card-qa {
    top: 14px;
    left: 14px;
    padding: 18px 12px;
    max-width: 94vw;
  }

  .carousel-seta-qa {
    bottom: 18px;
  }

  .carousel-seta-qa.prev {
    right: 76px;
  }

  .carousel-seta-qa.next {
    right: 22px;
  }
}

.carousel-indicator-qa {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  z-index: 10;
}

.carousel-indicator-dot {
  width: -webkit-fill-available;
  height: 5px;
  border: 0;
  background: #bbb;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
}

.carousel-indicator-dot.active {
  background: var(--cor-site-2);
}

.carousel-seta-qa.prev {
  right: 65px;
  bottom: 35px;
  top: auto;
  transform: none;
}

.carousel-seta-qa.next {
  right: 15px;
  bottom: 35px;
  top: auto;
  transform: none;
}

.carousel-seta-qa.next svg,
.carousel-seta-qa.prev svg {
  width: 22px;
  height: 22px;
}