/* Estilos base do card */
.card-imovel {
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 0 1px 1px #DDDDDD;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0rem;
}

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

/* Container da imagem */
.card-imovel__imagem-container {
    position: relative;
    overflow: hidden;
    width: 320px;
    height: 280px;
}

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

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

/* Overlay que aparece no hover */
.card-imovel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Características no overlay */
.card-imovel__caracteristicas-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.card-imovel__caracteristicas-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.card-imovel__caracteristica-overlay {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: .84rem;
    color: #666666;
    padding: 0px 7px;
}

.card-imovel__caracteristica-overlay i {
    font-weight: 600;
    font-style: normal;
}

/* Tags superiores */
.card-imovel__tags-superior {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.card-imovel__tag-tipo, 
.card-imovel__tag-codigo {
    font-size: 0.8rem;
    color: #666666;
}

.card-imovel__tag-codigo {
    background: rgba(0, 0, 0, 0.7);
}

/* Ações (favorito e compartilhar) */
.card-imovel__acoes {
    display: flex;
    gap: 10px;
    z-index: 2;
}

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

.card-imovel__favorito:hover, 
.card-imovel__compartilhar-botao:hover {
    background: white;
    transform: scale(1.1);
}

.card-imovel__favorito svg, 
.card-imovel__compartilhar-botao svg {
    stroke: #333;
}

/* Opções de compartilhar */
.card-imovel__compartilhar {
    position: relative;
    background: var(--cor-site-3);
    border-radius: 50%;
    padding: 5px;
    border: 1px solid var(--cor-site-1);
    color: var(--cor-site-1);
}
/* Opções de compartilhar hover */
.card-imovel__compartilhar:hover {
    position: relative;
    background: var(--cor-site-1);
    border-radius: 50%;
    padding: 5px;
    border: 1px solid var(--cor-site-1);
    color: var(--cor-site-3) !important;
}
.card-imovel__compartilhar:hover a{
    color: var(--cor-site-3) !important;
}
.card-imovel__opcoes-compartilhar {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    min-width: auto;
    z-index: 3;
}

.card-imovel__compartilhar:hover .card-imovel__opcoes-compartilhar {
    display: flex;
}

.card-imovel__opcoes-compartilhar a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.card-imovel__opcoes-compartilhar a:hover {
    background: #f5f5f5;
}

/* Corpo do card */
.card-imovel__corpo {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 230px;
    justify-content: space-between;
}

.card-imovel__titulo {
    font-size: 1.2rem;
    margin: 0px;
    font-weight: 600;
    padding-top: .3rem;
}

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

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

.card-imovel__localizacao {
    color: #666;
    margin: 0px;
    font-size: 0.87rem;
}

/* Rodapé */
.card-imovel__rodape {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .7rem 1rem;
    border-top: 1px solid #ddd;
}

.card-imovel__preco {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
}

.card-imovel__botao {
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.card-imovel__botao:hover {
    background: #3e8e41;
}

/* Estilo para a mensagem de link copiado */
.toast-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-message.show {
    opacity: 1;
}

.toast-message__icon {
    width: 20px;
    height: 20px;
}

.padding-card {
    padding: 12px 12px;
}

.card-imovel__caracteristica-imovel {
    display: flex;
    padding-top: 1rem;
}

.card-imovel__caracteristica-imovel div {
  position: relative;
}

.card-imovel__caracteristica-imovel div::before {
    position: absolute;
    content: "";
    right: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 2px;
    height: 100%;
    background-color: #99999959;
    opacity: 1;
}
.card-imovel__caracteristica-overlay:last-child::before {
  display: none;
}

.card-imovel__caracteristica-overlay:first-child {
    padding: 0px 7px 0px 0px;
}
.card-imovel__caracteristica-overlay:last-child {
    padding: 0px 0px 0px 7px;
}
.card-imovel__valores {
    display: flex;
    padding-top: 1rem;
}
.card-imovel__valor {
    display: flex;
    gap: 1.4rem;
}
.card-imovel__valor-label {
    display: flex;
    flex-direction: column;
}

.card-imovel__valor-tipo {
    font-weight: 600;
    font-size: 13px;
}
.card-imovel__valor-preco {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.card-imovel__valor-total {
    display: flex;
    flex-direction: column;
}
.card-imovel__etiqueta-mobiliado {
    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-imovel__etiqueta-semi {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 6px;
    font-size: 12px;
    background-color: #0c91ff26;
    width: fit-content;
    border-radius: 4px;
    color: #0c91ff;
    line-height: 15.08px;
    font-weight: 400;
}

.mx-12 {
    margin: 0px 12px;
}

@media (max-width: 768px) {
    .card-imovel__imagem-container {
        width: 100%;
    }
}

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

