/* Topo */

:root {
    --primary-red: #cc0000;
    --overlay-black: rgba(0, 0, 0, 0.4);
}

body {
    margin: 0;
    padding-top: 70px;
    font-family: 'Arial', sans-serif;
}

.hero-imoveis {
    position: relative;
    height: 400px;
    background: url('../assets/pontejtk.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Camada escura para dar contraste ao texto */
.hero-imoveis::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--overlay-black);
}

.container {
    position: relative; /* Mantém o texto acima do overlay */
    z-index: 2;
}

.subtitle {
    color: var(--primary-red);
    font-weight: bold;
    text-transform: lowercase;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

h1 {
    font-size: 3rem;
    margin: 0 0 30px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.search-box {
    background: rgba(128, 128, 128, 0.7); /* Fundo cinza translúcido */
    padding: 20px;
    border-radius: 8px;
    display: inline-flex;
    gap: 15px;
    backdrop-filter: blur(5px); /* Efeito de vidro opcional */
}

.btn {
    background: white;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    min-width: 120px;
}

.btn:hover {
    background: #f0f0f0;
    color: #000;
}

@media (max-width: 768px) {
    .hero-imoveis {
        min-height: calc(100vh - 70px);
        padding-top: 100px;
        align-items: flex-start;
    }

    .hero-imoveis h1 {
        font-size: 2.2rem;
    }

    .search-box {
        width: min(100%, 420px);
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        z-index: 3;
    }

    .btn {
        width: 100%;
        padding: 14px 18px;
        min-width: unset;
    }
}

/* Fim do topo */


/* --- Seção de Aluguel Tabakal --- */

/* 1. Container para os espaçamentos laterais */
.secao-aluguel-container {
    max-width: 1200px; /* Limita a largura em telas grandes */
    margin: 0 auto;    /* Centraliza na tela */
    padding: 0 20px;   /* Cria o recuo nas laterais */
}

.titulo-sessao {
    font-size: 24px;
    font-weight: bold;
    margin: 40px 0 20px 0; /* Removido o margin-left fixo para alinhar com o container */
    color: #333;
}

.cards-container-tabakal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    /* padding lateral removido daqui e colocado no container pai */
}

/* --- Estilo do Card --- */
.card-imovel-tabakal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
}

.img-container {
    height: 200px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corpo-card {
    padding: 20px;
}

.titulo-anuncio {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    min-height: 40px; /* Garante alinhamento mesmo com títulos curtos */
}

.valores-condo {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.preco-principal {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
}

/* Grid de badges (Área, Quartos, Vagas) */
.badges-info {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

.badge-item {
    text-align: center;
    flex: 1;
}

.badge-valor {
    display: block;
    font-weight: bold;
    font-size: 14px;
}

.badge-label {
    font-size: 11px;
    color: #777;
}

/* Localização Corrigida */
.localizacao-texto {
    font-size: 13px;
    font-weight: bold;
    color: #555;
    margin: 10px 0;
    display: block;
}

.btn-mais-detalhes {
    width: 100%;
    background-color: #94b2f8; 
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-mais-detalhes:hover {
    background-color: #7a9ded;
}

/* --- Botão Inferior (+ IMÓVEIS ALUGUEL) --- */
.container-botao-footer {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.btn-ver-mais-aluguel {
    background: white;
    border: 1px solid #333;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

.btn-ver-mais-aluguel:hover {
    background: #333;
    color: white;
}


/* Fim da seção de Venda Tabakal */

:root {
    --google-gold: #FBBC05;
    --dark-bg: #0F172A; /* Azul marinho muito escuro para contraste profissional */
    --card-bg: #1E293B;
    --text-light: #F1F5F9;
    --text-dim: #94A3B8;
}

.tabakal-mural {
    padding: 100px 20px;
    background-color: var(--dark-bg);
    font-family: 'Inter', Roboto, sans-serif;
    color: var(--text-light);
}

.mural-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Cabeçalho */
.mural-header {
    text-align: center;
    margin-bottom: 70px;
}

.google-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.google-brand img { width: 18px; }

.nota-gigante {
    font-size: 8rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(180deg, #fff 30%, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Estrelas Gigantes e Animação */
.stars-gigantes {
    font-size: 4rem;
    color: rgba(255,255,255,0.1); /* Cor da estrela vazia */
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.star-gold.animate {
    color: var(--google-gold);
    animation: starPulse 0.6s ease-out forwards;
    opacity: 0; /* Começa invisível para o JS ativar */
}

@keyframes starPulse {
    0% { transform: scale(0.5); opacity: 0; filter: blur(5px); }
    70% { transform: scale(1.2); opacity: 1; filter: blur(0px); }
    100% { transform: scale(1); opacity: 1; }
}

.mural-subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* Cards de Comentários */
.comments-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.comment-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.user-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.card-stars {
    color: var(--google-gold);
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: 0;
}

.comment-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}