/* trecho pra  resolver o problema do rodapé que nao esta no fim da pagina em pagina curta */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
}

main {
  flex: 1;
}

/* trecho pra resolver o problema do rodapé que nao esta no fim da pagina em pagina curta */


/* Menu 
*****************************************************/
.f_menu {
  background: #35467A;
  background: -webkit-linear-gradient(180deg, rgba(53, 70, 122, 1) 0%, rgba(43, 113, 172, 1) 100%);
  background: -moz-linear-gradient(180deg, rgba(53, 70, 122, 1) 0%, rgba(43, 113, 172, 1) 100%);
  background: linear-gradient(180deg, rgba(53, 70, 122, 1) 0%, rgba(43, 113, 172, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#35467A",
      endColorstr="#2B71AC",
      GradientType=0);
}


.navbar a {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* esta regra envolve a div que abriga o menu e os icones...e funcionou  */
.d-flex .navbar a:hover {
  /*color: rgb(41, 41, 41) !important; */
  color: #cccccc !important;

}

.navbar :hover {
  /*color: #193C50 !important; */
  color: #cccccc;
}

.navbar ul li {
  padding-left: 10px;
}

.logo-img {
  margin: 10px 0;
  max-height: 100px;
}

.social-links {
  height: 50px;
}

/* mudar cor do menu sanduiche  estes 2 proximos abaixo */
.navbar-toggler {
  border: none;
  outline: none;

}

.animated-icon1 span {
  display: block;
  height: 3px;
  width: 30px;
  margin: 5px 0;
  background: #fff !important;

  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}


.navbar-toggler:focus {
  box-shadow: 0 0 0 0rem !important;
}

.animated-icon1 {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  z-index: 9999;
}

.animated-icon1 span {
  display: block;
  position: absolute;
  height: 2.5px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  background: #000;
}

.animated-icon1 span:nth-child(1) {
  top: 0px;
}

.animated-icon1 span:nth-child(2) {
  top: 10px;
}

.animated-icon1 span:nth-child(3) {
  top: 20px;
}

.animated-icon1.open span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.animated-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.animated-icon1.open span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.offcanvas-header {
  right: 50px;
}

.offcanvas-start {
  width: 350px;
}

/* Menu Trecho acrescentado dia 23 de setembro*/

/* transformar o menu sanduiche em x em vez de inserir o x  */

.animated-icon1 {
  /*width: 30px; */
  height: 20px;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.animated-icon1 span {
  position: absolute;
  height: 3px;
  /*  width: 100%; */
  background: #000;
  /* cor das barras */
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.animated-icon1 span:nth-child(1) {
  top: 0;
}

.animated-icon1 span:nth-child(2) {
  top: 8px;
}

.animated-icon1 span:nth-child(3) {
  top: 16px;
}

/* ===== Quando o menu está aberto ===== */
#offcanvasExample.show+.navbar-toggler .animated-icon1 span:nth-child(1),
body:has(#offcanvasExample.show) .animated-icon1 span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

#offcanvasExample.show+.navbar-toggler .animated-icon1 span:nth-child(2),
body:has(#offcanvasExample.show) .animated-icon1 span:nth-child(2) {
  opacity: 0;
}

#offcanvasExample.show+.navbar-toggler .animated-icon1 span:nth-child(3),
body:has(#offcanvasExample.show) .animated-icon1 span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

.fab {
  color: #fff !important;
}

.navbar .nav-link.celular {
  color: #35467A !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.navbar .nav-link.celular:hover {
  color: #2b71ac !important;

}

.btn.buscarPesquisa {

  background-color: #35467a !important;
  color: #fff !important;
  border-color: #35467a !important;
}

.btn.buscarPesquisa:hover {

  background-color: #091845 !important;

}


#comprar-tab.active,
#alugar-tab.active {
  background-color: #35467a !important;
  border-color: #35467a !important;
  color: #fff !important;
  /* deixa o texto branco */
}

.footer {
  width: 100%;
  position: sticky;
  top: 100%;
}

.footer-conteudo .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #35467a;
  color: #fff;

  margin: 0 !important;
  width: 100%;
  padding: 30px;
  padding-right: 7vw;
  padding-left: 7vw;
}

.footer-inner a {
  text-decoration: none;
  color: #fff;
}




/* Card */
.property-card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
}

.property-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-body {
  padding: 1rem;
}

.property-location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.property-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.property-price .badge {
  background-color: #009688;
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
}

.property-footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 0.5rem 1rem;
}

.property-footer .col {
  font-size: 0.9rem;
  color: #495057;
}

/*
RESPONSIVO
*/


@media all and (min-width: 992px) {
  .navbar .dropdown-menu-end {
    right: 0;
    left: auto;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    margin-top: 0;
  }

  .navbar .nav-item:hover .nav-link {
    color: #fff;
  }

  .navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .dropdown-menu.fade-up {
    top: 180%;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transition: .3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
  }

  .navbar-expand-lg .offcanvas {
    position: absolute !important;
    visibility: hidden !important;
  }
}

@media all and (max-width: 991px) {
  .text-h4 {
    font-size: calc(1.275rem + .1vw);
  }

  .text-h6 {
    font-size: 0.8rem;
  }

  .fa-ico {
    font-size: 50px;
  }

  .right-icons {
    flex-direction: row !important;
  }

  .social-links {
    align-items: center !important;
  }
}

@media all and (max-width: 1200px) {
  .logo-img {
    width: 200px;
  }
}

/*trecho 24 setembro alinhar icones com menu hamburguer */
@media (max-width: 913px) {
  .right-icons {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
  }

  .navbar-toggler {
    /* remove padding pra ver se alinha altura dos icones com  menu */
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
  }

  .top-custom-nav span {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
  }
}


@media all and (max-width: 767px) {
  .logo-img {
    width: 80px;
  }

  .social-links>i {
    margin-right: 10px !important;
  }

  .container-fluid {
    padding: 0 !important;
  }
}

@media all and (max-width: 452px) {
  .logo-img {
    width: 60px;
  }
}


/* Busca*/
.search-btn-fixed {
  position: sticky;
  bottom: 20px;
  width: 100%;
  z-index: 100;
  background: white;
  padding-top: 1rem;
}


/* Altura total alterei no carousel_home e acrescentei .home aqui tambem*/
.carousel-item.home {
  height: 92vh !important; 
  width: 100vw !important; 
 /* background-size: contain; */
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

/* Centralizar box no carrossel */
.carousel-caption {
  bottom: 20%;
}

/* Box de busca */
.search-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  width: 100%;
  color: black;
  
}


@media all and (max-width: 767px) {
  .search-box {
    padding: 5px;
  }
}

.nav-tabs .nav-link {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem 0.375rem 0 0;
  color: #495057;
}

.nav-tabs .nav-link.active {
  background-color: #0d6efd;
  /* cor de destaque */
  color: #fff;
  font-weight: 500;
}

.tab-content {
  border: 1px solid #dee2e6;
  border-top: none;
  padding: 1.5rem;
  border-radius: 0 0 .375rem .375rem;
  background: #fff;
}

/* tentando melhorar formulario de busca para dispositivos menores */

@media (max-width: 600px) {


  .search-box {
    margin-top: 35vh !important;
    margin: 0 auto !important;
    width: 95% !important;
    width: 95%;

    position: absolute;
    top: 50%;
    /* metade da altura */
    left: 50%;
    /* metade da largura */
    transform: translate(-50%, -50%);
    /* centraliza relativo ao próprio tamanho */
    width: 95%;
    /* largura máxima */
    text-align: center;

  }

  .carousel-caption {
    margin-top: 35vh;
    margin: 0 auto !important;
    width: 95% !important;
    width: 95%;

    position: absolute;
    top: 50%;
    /* metade da altura */
    left: 50%;
    /* metade da largura */
    transform: translate(-50%, -50%);
    /* centraliza relativo ao próprio tamanho */
    width: 95%;
    /* largura máxima */
    text-align: center;

  }


  .col-6.col-md-3 {
    min-width: 120px !important;
    max-width: 48% !important;
    padding: 3px !important;

  }

}


/* css da página Detalhes */
.titulo-imovel {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 15px;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  /* margin-top: 70px; */
  color: #35467a;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px black;
}


.secao-principal {
  margin-top: 20px;
  padding-left: 5vw;
  padding-right: 5vw;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
}

.fotoEDescricao {
  flex: 0 0 70%;
  
  
}

.bloco-fotos {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; 
  
}

/* trecho para resolver espaçamento excessivo causado pelo css especifico da pagina home acrescentei .detalhes na linha abaixo dia 14 outubro */
#carouselFotos .carousel-item.detalhes {
  height: auto !important;
  min-height: auto !important;
}



/*trecho adicionado dia 8 outubro pra tentar melhorar pagina detalhes */
.carousel-item.detalhes img.detalhes1 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* preenche sem distorcer */
  
}

/* Deixa o carousel ocupar toda a largura e controla a altura */

.carousel-inner.detalhes {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 500px; 
  overflow: hidden;
} 

/* Posiciona os botões sobre a imagem */
.carousel-control-prev.detalhes2,
.carousel-control-next.detalhes2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;   
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  
}

.carousel-control-next-icon.detalhes2,
.carousel-control-prev-icon.detalhes2 {
  filter: drop-shadow(0 0 1px #999); /* cria um contorno fino */
}



/*trecho pagina detalhes */


.mini-slides.mt-2.detalhes3 {
    max-width: 56vw !important;	
	
}	

/* Carousel grande acrescentei .detalhes na linha abaixo*/
.carousel-item.detalhes img {
  max-width: 700px;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  object-fit: contain;
  margin: 0 auto !important;
}



.mini-slides {
  display: flex;
  gap: 6px;
 /* overflow-x: hidden; */
 overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 5px 0;
  
  justify-content: center;

}

/* codigo pra tentar esconder ou disfarçar a barra de rolagem horizontal */

.mini-slides::-webkit-scrollbar {
  height: 1px;
}

.mini-slides::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.mini-slides::-webkit-scrollbar-track {
  background-color: transparent;
}



/* ate aqui */

.mini-slides {
    justify-content: flex-start;	
}	

.mini-slides img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.mini-slides img.active {
  border-color: #0d6efd;
}

.descricao-imovel {
  margin-top: 10px;
}

.detalhamento {
  flex: 0 0 25%;
}

.tabela-detalhes {
  max-height: 50%;
  overflow: auto;
}

.formulario-contato label {
  font-weight: 500;
}

#zoomModal .modal-dialog {
  max-width: 900px;
  max-height: 900px
}

#zoomModal .modal-content {
  background: transparent !important;
  box-shadow: none;
}

#zoomImg {
  display: block;
  max-width: 100%;
  height: auto;
}

.botaoInformacao {
  background-color: #35467a;
}

.botaoInformacao:hover {
  background-color: #091845;
}


@media (max-width: 900px) {
  .secao-principal {
    flex-direction: column;
    align-items: center;
    padding-left: 1vw;
    padding-right: 1vw;
  }



  .fotoEDescricao,
  .detalhamento {
    width: 95% !important;
    margin-bottom: 20px;
  }
  
  .mini-slides.mt-2.detalhes3 {
    max-width: 88vw !important;	
}	


  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
  
  .carousel-item.detalhes.active {
	   height: 500px;              /* altura padrão */
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  overflow: hidden; 
	  margin: 0 !important;
  }	  

.d-block.detalhes1 {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto; /* centraliza horizontalmente */
    object-fit: contain; /* mantém proporção sem cortar */
  
}	

/*acrescentei .detalhes dia 14 out  */
  .carousel-item.detalhes img {
    width: 100%;

  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
  }

  #zoomImg {
    width: 100% !important;
    height: auto;
    object-fit: cover;
  }

}

/* css da página Detalhes até aqui */

/* css página busca.php */
.container.conteudoBusca {
  margin-top: 70px;
}

.btn.btn-outline-primary.botaoDetalhes {
  color: #35467a !important;
  border-color: #35467a !important;
}

.btn.btn-outline-primary.botaoDetalhes:hover {
  color: #fff !important;
  background-color: #35467a !important;
  border-color: #35467a !important;
}


.btn.btn-primary.w-100.botaoBuscar {
  background-color: #35467a !important;
}

.btn.btn-primary.w-100.botaoBuscar:hover {
  background-color: #091845 !important;
}

.btn.btn-primary.w-100.d-sm-none.mb-2.buscaAvancada {
  background-color: #35467a !important;
}

.btn.btn-primary.w-100.d-sm-none.mb-2.buscaAvancada:hover {

  opacity: 0.5;
}

/* trecho que ja tava no inicio da pagina busca */

body {
  padding-top: 70px;
}

.sticky-sidebar {
  position: sticky;
  top: 80px;
  /* Debaixo da navbar */
}

.search-btn-fixed {
  position: sticky;
  bottom: 20px;
  width: 100%;
  z-index: 100;
  background: white;
  padding-top: 1rem;
}

/* css página busca.php até aqui */

/* css da pagina cards.php */

.conteudoCards {

  margin-top: 20px;
}

.btn-purple {
  background-color: #35467a;
  color: #fff;
}

.btn-purple:hover {
  background-color: #091845;
  color: #fff;
}



.mini-carousel .carousel-control-prev-icon .cards,
.mini-carousel .carousel-control-next-icon .cards {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.mini-carousel .carousel-control-prev .cards,
.mini-carousel .carousel-control-next .cards {
  width: 20%;
}

/* comentei este trecho dia 14 de outubro pagina cards...nao está utilizando... esta atrapalhando outras
#carouselCards .carousel-item {
  height: auto !important;
  min-height: auto !important;

} */

/* css da pagina cards.php até aqui*/

/* css da home parte destaque*/	

a.linkDestaque  {
  text-decoration: none !important;	
}

.property-body.Destaque {
   min-height: 162px !important;
    
 }	
	
.badge.text-white.precoDestaque {
  background-color: #35467a;
  color: #fff;
}

.badge.text-white.precoDestaque:hover {
  background-color: #091845;
  color: #fff;
}	

.fw-semibold.mb-1.descricaoDestaque {
	 min-height: 38.4px !important;
}	

/* css da home parte destaque até aqui e abaixo cadastro*/	

.btn.btn-primary.px-5.botaoCadastro {
   background-color: #35467a;
   color: #fff;
}	

.btn.btn-primary.px-5.botaoCadastro:hover {
  background-color: #091845;
  color: #fff;
}	

/* css da home parte cadastro até aqui*/	

/* css imoveis   e busca*/	
.card-body.imoveisBusca h6 {
  min-height: 57.6px !important; /* altura mínima para o título */
  
}

.sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa{
  position: fixed;
  top: 150px;
  left: 5vw; 
  width: 300px; 
  z-index: 10; 
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem; 
  box-sizing: border-box;
   max-height: calc(100vh - 160px);
  overflow: auto; 
    
}





@media (min-width: 539px) and (max-width: 1025px) {
  .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa {
    left: 1vw;
    padding: 2px !important; 
    max-width: 350px !important;
	 left: 15vw; 
  }
  
  .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa input.form-control,
 .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa select.form-select,
 .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa button,
 .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa .form-check-label {
   padding: 0.3rem 0.5rem !important;  
    font-size: 0.9rem; 
	
	
  }
  
  #filtrosCollapse {
	  max-width: 350px !important;
  }	  
}

@media (max-width: 600px) {
   .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa{
  
	  top: 130px;
		 
   }
}

@media (max-width: 538px) {
   .sticky-sidebar.bg-white.p-4.border.rounded.buscaFixa{
  
	  top: 130px;
	  left: 8vw;
		 
   }
}

  
  

/* css imoveis/busca até aqui*/	