/* ESTILOS BASE - CLEAN E MODERNO */
.padding-card {
    padding: 8px;
}

.card-imovel {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #00000020 !important;
}

.card-imovel:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.075);
    border-color: rgba(0, 0, 0, 0.2);
}

/* CONTAINER DA IMAGEM */
.card-imovel__imagem-container {
    position: relative;
    overflow: hidden;
    padding-top: 290px;
}

.card-imovel__imagem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

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

/* ETIQUETAS E TAGS */
.card-imovel__tags-superior {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    align-items: flex-start;
}

.card-imovel__tag-tipo {
    color: var(--cor-site-2);
    font-size: 14px;
    font-weight: 600;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
}

/* ETIQUETA MOBILIADO - VERSÃO MELHORADA */
.card-imovel__etiqueta-mobiliado {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    padding: 7px;
    gap: 6px;
    font-size: 12px;
    background-color: var(--cor-site-1);
    color: white;
    border-radius: 20px;
    line-height: 1;
    font-weight: 500;
    z-index: 0;
    transition: all 0.4s ease;
    max-width: 30px;
    height: 30px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-imovel__etiqueta-mobiliado i {
    min-width: 16px;
    text-align: center;
    font-size: 14px;
    position: relative;
    left: -0.8px;
}

.card-imovel__etiqueta-mobiliado span {
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
    white-space: nowrap;
}

.feature-separator {
    width: 1px;
    height: 20px;
    background-color: #888;
    opacity: 0.7;
}

.card-imovel__etiqueta-mobiliado:hover {
    max-width: 200px;
    background-color: var(--cor-site-1);
}

.card-imovel__etiqueta-mobiliado:hover span {
    opacity: 1;
}

/* CORPO DO CARD */
.card-imovel__corpo {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-imovel__titulo {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--cor-site-5);
    line-height: 1.3;
}

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

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

.card-imovel__localizacao {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--cor-site-6);
    line-height: 1.4;
}

/* CARACTERÍSTICAS */
.card-imovel__caracteristica-imovel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    transform: translateY(7px);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cor-site-8);
}

.card-imovel__caracteristica-overlay {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: var(--cor-site-7);
}

.card-imovel__caracteristica-overlay i {
    font-weight: 600;
    font-style: normal;
    color: var(--cor-site-5);
}

.property-feature__icon {
    width: 24px;
    height: 24px;
    fill: #515151;
}

/* VALORES */
.card-imovel__valores {
    margin-top: auto;
    margin-bottom: auto;
}

.card-imovel__valor-label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.card-imovel__valor-tipo {
    font-size: 13px;
    font-weight: 600;
    color: var(--cor-site-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-imovel__valor-preco {
    font-size: 18px;
    font-weight: 700;
    color: #303030;
}

.card-imovel__valor-tipo-total {
    font-size: 13px;
    color: var(--cor-site-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-imovel__valor-preco-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--cor-site-1);
}

.card-imovel__valor-total {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.card-imovel__valor {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* RODAPÉ */
.card-imovel__rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--white-2);
    border-top: 1px solid var(--cor-site-8);
}

.card-imovel__codigo-value {
    font-size: 13px;
    color: var(--cor-site-6);
    letter-spacing: 0.3px;
}

/* AÇÕES */
.card-imovel__acoes {
    display: flex;
    gap: 12px;
}

.card-imovel__compartilhar a {
    display: flex;
    color: var(--cor-site-6);
    transition: all 0.3s ease;
}

.card-imovel__compartilhar a:hover {
    color: var(--cor-site-1);
    transform: translateY(-2px);
}

.icon {
    width: 30px;
    height: 30px;
}

/* EFEITOS DE HOVER NOS ÍCONES */
.card-imovel__compartilhar .icon-tabler-link:hover {
    stroke: var(--cor-site-1);
    animation: pulse 1.5s infinite;
}

.card-imovel__compartilhar .icon-tabler-brand-whatsapp:hover {
    stroke: #25D366;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* OVERLAY DE CARACTERÍSTICAS (OPCIONAL) */
.card-imovel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(4, 17, 19, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.card-imovel:hover .card-imovel__overlay {
    opacity: 1;
}

.card-imovel__caracteristicas-overlay {
    color: white;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.card-imovel:hover .card-imovel__caracteristicas-overlay {
    transform: translateY(0);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .padding-card {
        padding: 8px;
    }
    
    .card-imovel__corpo {
        padding: 14px;
    }
    
    .card-imovel__rodape {
        padding: 10px 14px;
    }
    
    .card-imovel__etiqueta-mobiliado {
        max-width: none;
        padding: 5px 12px;
    }
    
    .card-imovel__etiqueta-mobiliado span {
        opacity: 1;
    }
}

/* 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;
}

.feature-invisible {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

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

.card-imovel__acoes-imagem {
    position: absolute;
    bottom: 9px;
    right: 9px;
    display: flex;
    gap: 7px;
    z-index: 2;
}

i.far.fa-heart, i.fas.fa-heart {
    font-size: 22px !important;
    position: relative;
    top: 1px;
}

.btn-whatsapp {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px #0001;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .2s, background .2s, color .2s;
    cursor: pointer;
    font-size: 25px;
    color: var(--cor-site-5);
    padding: 0;
    position: relative;
}

.btn-whatsapp:hover {
    color: var(--cor-site-1);
    background: #fff;
}

/*ESTILIZAÇÃO DO BOTÃO DE FAVORITO */

.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-2);
}

.card-imovel__favorito {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--cor-site-5);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.card-imovel__favorito:hover {
    background-color: rgba(255, 255, 255, 1);
    color: var(--cor-site-2);
}

.card-imovel__favorito.active {
    background-color: var(--cor-site-4);
    color:var(--cor-site-2);
}

/*ADICIONADO RESPONSIVO PARA OS CARDS NAS PÁGINAS DOS IMÓVEIS*/

@media (max-width: 991px) {
.card-imovel__imagem-container,.card-imovel__imagem {
    height: 390px;
}
}

@media (max-width: 630px) {
.card-imovel__imagem-container,.card-imovel__imagem {
    height: 300px;
}
}

/*ADICIONADO HOVER COM BOTÕES NOS CARDS*/

.card-imovel__acoes-imagem {
  transition: opacity .26s ease, transform .26s ease;
  will-change: opacity, transform;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1300px) {
  .card-imovel__imagem-container .card-imovel__acoes-imagem {
    opacity: 0;
    transform: translateY(12px); 
    pointer-events: none;       
  }

  .card-imovel__imagem-container:hover .card-imovel__acoes-imagem {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-imovel__acoes-imagem {
    transition: none;
  }
}