/* =========================================
   PALETA DE CORES E VARIÁVEIS
   ========================================= */
:root {
    --bege-claro: #fcfaf7;
    --bege-medio: #e5ddd3;
    --marrom-suave: #8c7e6d;
    --texto: #4a4a4a;
    --branco: #ffffff;
    --whatsapp: #25d366;
}

/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================= */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--texto);
    background-color: var(--branco);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 60px 20px; 
}

/* =========================================
   HEADER
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--branco);
    position: sticky; 
    top: 0; 
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { 
    font-weight: 600; 
    letter-spacing: 2px; 
    color: var(--marrom-suave); 
    font-size: 1.1rem; 
}

/* =========================================
   HERO / SLIDESHOW
   ========================================= */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
    text-align: center;
    padding: 20px;
    position: relative; /* Para as setas ficarem presas aqui */
}

.hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 12px;
    max-width: 750px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
}

.cta-top { 
    font-weight: 600; 
    color: var(--marrom-suave); 
    letter-spacing: 3px; 
    margin-bottom: 10px; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
}

.hero h1 { 
    font-size: 2rem; 
    margin-bottom: 25px; 
    font-weight: 300; 
    color: #333; 
}

/* Botões das Setas (Manual Slider) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    color: #333;
    border: none;
    padding: 25px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.prev { left: 0; border-radius: 0 8px 8px 0; }
.next { right: 0; border-radius: 8px 0 0 8px; }

/* Busca */
.search-box { display: inline-block; width: 100%; }
.filters select { 
    padding: 12px; 
    margin: 5px; 
    border-radius: 6px; 
    border: 1px solid var(--bege-medio); 
    min-width: 160px; 
}

#btn-buscar {
    padding: 12px 30px; 
    background-color: var(--marrom-suave);
    color: white; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer;
    font-weight: 600; 
    transition: 0.3s;
}

#btn-buscar:hover { background-color: #5e5449; }

/* =========================================
   GRID DE IMÓVEIS
   ========================================= */
.section-title { 
    text-align: center; 
    margin-bottom: 40px; 
    font-weight: 400; 
    color: var(--marrom-suave); 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.grid-imoveis { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: var(--branco); 
    border-radius: 10px; 
    overflow: hidden; 
    border: 1px solid #f0efed; 
    transition: 0.3s; 
}

.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 20px; }
.tag { 
    display: inline-block; 
    padding: 4px 10px; 
    background: var(--bege-claro); 
    font-size: 0.7rem; 
    border-radius: 4px; 
    color: var(--marrom-suave); 
    font-weight: 600; 
    margin-bottom: 10px; 
}

.btn-saiba-mais {
    display: block;
    text-align: center;
    background-color: transparent;
    color: var(--marrom-suave);
    border: 1px solid var(--marrom-suave);
    padding: 10px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-saiba-mais:hover {
    background-color: var(--marrom-suave);
    color: white;
}

/* =========================================
   SEÇÃO SOBRE (GABRIELE) - LADO A LADO
   ========================================= */
.sobre-corretora {
    background-color: var(--bege-claro);
    padding: 80px 0;
}

.flex-sobre {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 50px; 
    flex-wrap: nowrap; /* Garante o lado a lado */
}

.foto-corretora {
    flex: 0 0 280px; /* Tamanho fixo da foto reduzido */
    max-width: 280px;
}

.foto-corretora img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 10px 10px 0px var(--bege-medio);
    display: block;
}

.texto-corretora {
    flex: 1;
    max-width: 600px;
}

.texto-corretora h2 {
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--marrom-suave);
    font-size: 1.8rem;
}

.texto-corretora p {
    margin-bottom: 20px; /* Define o tamanho do espaço entre um parágrafo e outro */
    line-height: 1.8;    /* Melhora a leitura deixando as linhas mais afastadas */
    color: var(--texto);
    font-size: 1rem;
}

/* Remove o espaço extra após o último parágrafo */
.texto-corretora p:last-child {
    margin-bottom: 0;
}

/* =========================================
   SEÇÃO EQUIPE
   ========================================= */
.equipe { text-align: center; padding: 80px 0; }
.cta-equipe, .cta-equipe-final { 
    color: var(--marrom-suave); 
    font-weight: 600; 
    letter-spacing: 2px; 
    font-size: 0.8rem; 
    margin: 15px 0;
}

.equipe-banner img { 
    width: 150%; 
    max-width: 750px; 
    border-radius: 12px; 
    margin: 20px 0; 
}

.grid-equipe { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px; 
    margin: 30px 0; 
}

.membro { 
    padding: 15px; 
    background: var(--bege-claro); 
    border-radius: 8px; 
    border: 1px solid #eee;
}

.membro strong { display: block; color: #333; }
.membro span { font-size: 0.8rem; color: #888; }

/* =========================================
   ESTILIZAÇÃO DO RODAPÉ (FOOTER)
   ========================================= */
.contato {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 30px 0; /* Espaço extra no fundo */
}

.footer-logo img {
    height: 200px; /* Ajuste o tamanho da logo branca */
    width: auto;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px auto 20px auto;
    max-width: 80%;
}

.footer-bottom {
    font-size: 0.8rem;
    color: #bbb;
    line-height: 1.5;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.btn-contato { 
    text-decoration: none; 
    padding: 15px 35px; 
    border-radius: 50px; 
    margin: 10px; 
    display: inline-block; 
    font-weight: 600; 
    transition: 0.3s;
}

.whatsapp { background-color: var(--whatsapp); color: white; }
.email { border: 1px solid white; color: white; }
.btn-contato:hover { transform: scale(1.05); }

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empilha os elementos */
        gap: 15px;
    }

    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        margin: 0 auto; /* Garante a centralização da imagem */
    }
    
    /* Ajusta o link voltar para não ficar estranho no mobile */
    .voltar-link {
        margin-top: 10px;
    }
}

    .foto-corretora {
        margin-bottom: 25px;
    }

    .hero h1 { font-size: 1.6rem; }
    
    .slider-btn { padding: 15px 10px; font-size: 18px; }


.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

/* Estiliza apenas a caixa de seleção */
.goog-te-gadget .goog-te-combo {
    background-color: transparent;
    border: 1px solid var(--bege-medio);
    color: var(--marrom-suave);
    padding: 5px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px !important;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}

.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Esconde o tooltip (balãozinho) que aparece ao passar o mouse */
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important; box-shadow: none !important;
}

/* Slider na Página de Detalhes - Versão Ajustada */
.slider-detalhes-container {
    position: relative;
    width: 100%;
    max-height: 500px; /* Reduzi um pouco a altura máxima */
    background-color: #f0f0f0; /* Fundo cinza caso a foto seja menor que o espaço */
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-det-full {
    width: 100%;
    height: 500px;
    object-fit: cover; 
    transition: opacity 0.4s ease-in-out;
}

/* Caixa de Informações */
.info-box-detalhes {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
    background: var(--bege-claro); 
    padding: 30px; 
    border-radius: 12px;
    border: 1px solid var(--bege-medio);
    margin-bottom: 60px;
}

.info-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

.info-item strong {
    font-size: 1rem;
    color: var(--marrom-suave);
}

.descricao-longa h3 {
    color: var(--marrom-suave);
    margin-bottom: 15px;
}


.voltar-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none; /* Remove qualquer sublinhado */
    color: var(--marrom-suave); /* Usa o marrom da sua identidade visual */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Estiliza a seta que já vem do HTML */
.voltar-link:hover {
    color: var(--marrom-suave);
    opacity: 0.7;
    transform: translateX(-3px); /* Move o link inteiro levemente */
}

/* Ajuste no Header para Mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 15px;
    }

    #google_translate_element {
        margin-bottom: 10px;
    }

    .voltar-link {
        justify-content: center;
        width: 100%;
    }
}

/* Centralização da logo no celular */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    .logo img {
        margin: 0 auto;
    }
}