/* Base Mobile-First */
body {
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* GRID DE IMÓVEIS */
#lista-imoveis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD DE IMÓVEL ESTILO PORTAL */
.card-imovel {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-imagem {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.card-imovel:hover .card-imagem img {
    transform: scale(1.1);
}

/* BADGES SOBRE A IMAGEM */
.badge-tipo, .badge-local {
    position: absolute;
    left: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.badge-tipo {
    top: 15px;
    background: #c62828; /* Vermelho */
}

.badge-local {
    top: 50px;
    background: #ef6c00; /* Laranja */
}

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

.card-imovel-body .titulo {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-imovel-body .descricao {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ÍCONES E INFOS */
.info-icons {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}

.info-extra {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

/* PREÇO E BOTÃO */
.preco {
    margin-bottom: 15px;
}

.preco strong {
    font-size: 1.4rem;
    color: #c62828;
    font-weight: 900;
}

.btn-detalhar {
    display: block;
    width: 100%;
    text-align: center;
    background: #c62828;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.btn-detalhar:hover {
    background: #b71c1c;
    transform: scale(1.02);
}

/* Utilitários Extras */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}