/* Estilos base */
.card-imovel {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0px 10px rgb(0 0 0 / 25%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 458.94px;
    background: #fefefe;
    position: relative;
    border-radius: 13px !important;
}

.card-imovel:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgb(0 0 0 / 25%);
}

h3.mt-5.mb-3.animated.fadeIn {
    text-align: center;
}

/* Topo do card */
.card-imovel__topo {
    position: relative;
}

.card-imovel__imagem-container {
    height: 220px;
    overflow: hidden;
}

span.card-imovel__tag-tipo-cod {
    border-radius: 10px;
    background: var(--cor-site-1);
    position: absolute;
    width: auto;
    max-width: 100px;
    display: inline-block;
    left: 10px;
    padding: 4px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cor-site-3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*ESTILIZAÇÃO PARA O BOTÃO DE FAVORITOS NO CARD*/
.card-imovel__tag-container {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: auto;
    z-index: 4;
    pointer-events: none; 
}

.card-imovel__favorito {
    color: #464646;
    box-shadow: 0 0 10px #00000054;
    transition: color 0.2s;
    width: 36px;
    height: 36px;
    font-size: 28px;
    position: absolute;
    left: 83.5%;
    top: 5px;
    z-index: 2;
    display: flex;
    background-color: var(--cor-site-3);
    justify-content: center;
    border-radius: 30px;
    align-items: center;
}

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

.card-imovel__favorito-icone {
    color: var(--cor-site-6); 
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.12));
    transition: color .2s;
}

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

.card-imovel__imagem-container {
    position: relative;
    overflow: hidden;
}

.card-imovel__imagem {
    width: 100%;
    display: block;
    transition: opacity 0.3s;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2em;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: background 0.2s, opacity 0.2s;
    padding: 0;
}

.carousel-btn.left { left: 16px; }
.carousel-btn.right { right: 16px; }

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

.carousel-btn svg {
    display: block;
}

.card-imovel__tag-container {
    position: absolute;
    top: 6px;
    left: 0px;
    z-index: 2;
}

.card-imovel__tag-tipo {
    display: inline-block;
    padding: 4px 6px;
    background: #ff2c2c;
    border-radius: 0px 7px 7px 0px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cor-site-3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Corpo do card */
.card-imovel__corpo {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    height: 100%;
}

.card-imovel__info-principal {
    margin-bottom: 3px;
}

.card-imovel__titulo {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    padding-top: 4px;
}

.card-imovel__titulo a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

.card-imovel__localizacao {
    display: flex;
    gap: 5px;
    font-size: 0.8rem;
    color: #666;
    padding-top: 6px;
}

.card-imovel__localizacao i {
    color: var(--cor-site-1);
    font-size: 0.9rem;
}

/* Características */

.card-imovel__caracteristicas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.caracteristica-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.caracteristica-numeros {
    display: flex;
    gap: 32px;
}

.caracteristica-numeros li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.property-feature__icon {
    width: 32px; /* ajuste conforme necessário */
    height: 32px;
    fill: #1a355e;
    margin-bottom: 2px;
}

.caracteristica__valor {
    font-size: 1em;
    color: #1a355e;
    margin-top: 2px;
}

.card-imovel__caracteristica {
    display: flex;
    align-items: center;
    gap: 6px;
}

.caracteristica__valor strong {
    font-weight: 500;
}

.property-feature__icon {
    width: 22px !important;
    height: 22px !important;
    fill: #313131;
    vertical-align: middle;
}

.card-imovel__caracteristica i {
    color: var(--cor-site-1);
    width: 16px;
    text-align: center;
}

.card-imovel__caracteristica > span {
    font-size: 1.1em;
    font-weight: 500;
    color: #323232;
    margin-left: auto;
}

/* Valor */
.card-imovel__valor-container {
    margin: 8px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-imovel__valor {
    display: flex;
    flex-direction: column;
}

.card-imovel__valor-tipo {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.card-imovel__valor-preco {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--cor-site-5);
}

.card-imovel__botao {
    padding: 8px 16px;
    background: var(--cor-site-1);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

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

/* Rodapé */
.card-imovel__rodape {
    padding: 12px 12px;
    background: #eeeeee;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
}

.card-imovel__codigo {
    font-size: 0.8rem;
    color: #666;
}

.card-imovel__acoes {
    display: flex;
    gap: 10px;
    align-items: center;
    position: absolute;
    right: 5%;
    transform: translateY(203px);
    z-index: 2;
}

@media (max-width: 768px) {
    .card-imovel__acoes {
    transform: translateY(184px);
}
}

.card-imovel__acao {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-site-1);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.card-imovel__acao:hover {
    background: var(--cor-site-1);
    color: white;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .card-imovel__imagem-container {
        height: 200px;
    }
    
    .card-imovel__corpo {
        padding: 15px;
    }
    
}
.padding-card {
    padding: 12px 12px;
}
/* Horizontal Card Styles */
.card-empreendimento {
    display: flex;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 0 1px 1px #DDDDDD;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background: #fff;
}

.card-empreendimento:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-empreendimento__imagem-container {
    position: relative;
    flex: 0 0 60%;
    max-width: 60%;
    min-height: 300px;
    overflow: hidden;
}

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

.card-empreendimento:hover .card-empreendimento__imagem {
    transform: scale(1.05);
}

.card-empreendimento__tag-exclusivo {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--cor-site-1);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-empreendimento__conteudo {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.card-empreendimento__cabecalho {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-empreendimento__tag-tipo {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 6px;
    font-size: 12px;
    background-color: #272a8626;
    width: fit-content;
    border-radius: 4px;
    color: var(--cor-site-1);
    line-height: 15.08px;
    font-weight: 400;
}

.card-empreendimento__codigo {
    font-size: 0.9rem;
    color: #666;
}

.card-empreendimento__titulo {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.card-empreendimento__titulo a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

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

.card-empreendimento__localizacao {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-empreendimento__caracteristicas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.card-empreendimento__caracteristica {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    color: #666;
}

.card-empreendimento__caracteristica svg {
    width: 20px;
    height: 20px;
    color: var(--cor-site-1);
}

.card-empreendimento__rodape {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.card-empreendimento__valor {
    display: flex;
    flex-direction: column;
}

.card-empreendimento__valor-label {
    font-size: 0.9rem;
    color: #666;
}

.card-empreendimento__valor-preco {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cor-site-1);
}

.card-empreendimento__acoes {
    display: flex;
    gap: 10px;
}

.card-empreendimento__compartilhar {
    background: var(--cor-site-3);
    border-radius: 50%;
    padding: 5px;
    border: 1px solid var(--cor-site-1);
    color: var(--cor-site-1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.3s;
}

.card-empreendimento__compartilhar:hover {
    background: var(--cor-site-1);
    color: var(--cor-site-3);
}

.card-empreendimento__compartilhar svg {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-empreendimento {
        flex-direction: column;
    }
    
    .card-empreendimento__imagem-container {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 200px;
    }
}

/* Estilos do Carrossel */
.area-imagens {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carrossel-imagens {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide-imagem {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    height: 100%;
}

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

.controles-carrossel {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.controle-anterior,
.controle-proximo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.controle-anterior:hover,
.controle-proximo:hover {
    background: white;
    transform: scale(1.1);
}

.controle-anterior.desativado,
.controle-proximo.desativado {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.ultima-imagem:hover .overlay-ultima-imagem {
    opacity: 1;
}

.card-empreendimento__descricao-titulo {
    font-size: 19px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-empreendimento__descricao {
    font-size: 14px;
    font-weight: 400;
    color: #777;
}
.card-empreendimento__valores {
    display: flex;
    align-items: center;
    gap: calc(50px / 2);
}
.card-empreendimento__barra-valores {
    width: 1px;
    height: 40px;
    background-color: var(--cor-site-4);
}

/*ESTILIZAÇÃO PARA O SITE DA ORA IMPREENDIMENTOS*/

h3.card-imovel__descricao.conteudo-descricao {
    color: var(--cor-site-9) !important;
    font-size: 1em !important;
    font-weight: 400 !important;
    margin-bottom: 15px !important;
    margin-top: 10px !important;
}

.card-imovel__descricao.conteudo-descricao p {
    color: var(--cor-site-9) !important; 
    font-size: 1em !important;
    font-weight: 500 !important;
}

.cor-9 {
    color: #464646 !important;
}

.fs-6 {
    font-size: 1em !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.color-red {
    color: var(--cor-site-1) !important;
}

.fa-location-dot:before, .fa-map-marker-alt:before {
    content: "\f3c5";
    font-size: 1rem;
    align-items: center;
    vertical-align: middle;
    margin-bottom: 4px;
}

.card-imovel__localizacao-container {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.card-imovel__localizacao span {
    word-break: break-word;
    white-space: normal;
    line-height: 1.1;
}

.card-imovel__titulo > i {
    font-size: 1rem;
    align-items: center;
    vertical-align: middle;
    margin-bottom: 4px;
    color: var(--cor-site-1);
}

/*CORREÇÃO DA LARGURA DO BOTÃO DE WHATSAPP NOS CARDS*/
.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 600;
}

.favorito-top-tooltip {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cor-site-1);
  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-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);
}

.card-imovel__favorito-svg {
  display: flex;
  transform: translate3D(-0.3px, 1px, 0);
}

.card-imovel__favorito-svg svg {
  width: 24px;
  height: 24px;
  stroke: var(--cor-site-9);
}