/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1b4d3e; /* Verde escuro sofisticado (natureza/imóveis) */
    --accent-color: #25d366;  /* Cor do WhatsApp */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f4f4;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, .brand-name {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Container com ajuste de alinhamento */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20 20px;
    display: flex;
    justify-content: space-between; /* Empurra logo para esquerda e menu para direita */
    align-items: center; /* Alinha verticalmente no centro */
    height: 100%; /* Garante que o flex ocupe a altura do header */
}

/* Ajuste do agrupamento da Logo */
.logo-wrapper {
    display: flex;
    flex-direction: column; /* Nome em cima, local embaixo */
    justify-content: center;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-weight: 400;
}

.brand-name strong {
    font-weight: 800;
}

.location-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

/* Ajuste da Navegação */
.nav-menu {
    display: flex;
    align-items: center; /* Alinha links e botão na mesma linha horizontal */
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s;
}

/* Responsividade: Garante que o alinhamento não quebre em telas pequenas */
@media (max-width: 768px) {
    .container {
        padding: 15px 15px;
    }
    
    .nav-link {
        display: none; /* Mantém apenas o botão de CTA no mobile para não amontoar */
    }

    .brand-name {
        font-size: 1.1rem;
    }
}

/* Botão de Ação no Menu */
.btn-cta-small {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-cta-small:hover {
    background-color: #143a2f;
    transform: translateY(-2px);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .nav-link {
        display: none; /* Esconde links auxiliares no mobile para focar no botão */
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 85vh; /* Ocupa 85% da altura da tela */
    min-height: 500px;
    background-image: url('../img/banner.jpg'); /* Insira o link da foto do terreno */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
}

.badge {
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 strong {
    color: var(--accent-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Botões da Hero */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

.icon-ws {
    width: 20px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.btn-gallery {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-gallery:hover {
    background-color: #fff;
    color: var(--text-dark);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-section {
        height: auto;
        padding: 100px 0;
        text-align: center;
    }

    .hero-overlay {
        background: rgba(0,0,0,0.6);
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
    }
}

/* --- ESTILIZAÇÃO DA SEÇÃO REFEITA --- */
.prop-features {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
}

.prop-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho centralizado */
.prop-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.prop-subtitle {
    color: #25d366; /* Cor de destaque */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.prop-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #1b4d3e;
    margin: 0;
}

/* Grid de cards usando Flexbox para maior controle */
.prop-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap; /* Importante para o mobile */
    gap: 25px;
}

/* Cada Card Individual com Contorno Profissional */
.prop-card {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative; /* Necessário para o detalhe da borda superior */
    overflow: hidden;
    
    /* Contorno Profissional: Borda fina e sombra leve */
    border: 1px solid rgba(27, 77, 62, 0.1); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Linha de destaque no topo de cada card */
.prop-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.7;
    transition: opacity 0.3s;
}

/* Efeito de Elevação e Destaque no Hover */
.prop-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(27, 77, 62, 0.12);
}

.prop-card:hover::before {
    opacity: 1;
}

/* Ajuste no ícone para combinar com o novo contorno */
.prop-icon {
    width: 70px;
    height: 70px;
    background: #f8fcfb; /* Fundo quase branco */
    border: 1px solid rgba(27, 77, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.prop-card:hover .prop-icon {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg); /* Um charme extra na animação */
}

.prop-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Ícones */
.prop-icon {
    width: 60px;
    height: 60px;
    background: rgba(27, 77, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1b4d3e;
}

.prop-icon svg {
    width: 30px;
    height: 30px;
}

.prop-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.prop-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .prop-grid {
        flex-direction: column; /* No celular, um embaixo do outro */
        align-items: center;
    }

    .prop-card {
        width: 100%;
        max-width: 400px; /* Não deixa o card largo demais no celular */
    }

    .prop-title {
        font-size: 26px;
    }
}

/* --- SEÇÃO GALERIA PREVIEW (ATUALIZADA) --- */
.gallery-preview {
    padding: 120px 0; /* Aumentei um pouco o padding para dar mais respiro */
    position: relative; /* Necessário para o posicionamento do Overlay */
    overflow: hidden;

    /* Configuração da Imagem de Fundo Premium */
    background-image: url('img/fundo-premium.jpg'); /* Substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax suave no scroll (Premium) */
}

/* Camada de Overlay para Tom sobre Tom e Legibilidade */
.gallery-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente sutil: Escuro na esquerda (para o texto) e claro na direita (para as fotos) */
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(27, 77, 62, 0.7) 100%);
    z-index: 1;
}

/* Garante que o conteúdo fique acima do Overlay */
.gallery-preview .prop-container {
    position: relative;
    z-index: 2;
}

.gallery-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.gallery-text {
    flex: 1;
    max-width: 500px;
}

/* Ajuste de cores para contraste no fundo escuro */
.gallery-text .prop-subtitle {
    color: var(--accent-color); /* Mantém o verde claro como destaque */
}

.gallery-text h2 {
    font-size: 2.8rem; /* Aumentei um pouco o título para mais impacto */
    color: #ffffff; /* Texto branco para alto contraste */
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.gallery-text p {
    color: rgba(255, 255, 255, 0.9); /* Branco suave para leitura confortável */
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Botão com Efeito Pulse Glow (Ajuste de Cor para contraste) */
.btn-pulse {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--accent-color); /* Usei a cor de destaque (verde claro) */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); /* Sombra da cor do botão */
    animation: pulse-animation-premium 2s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse-animation-premium {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-pulse:hover {
    transform: scale(1.05) translateY(-3px);
    background-color: #ffffff;
    color: var(--primary-color);
}

/* O restante do CSS da pilha de fotos (.gallery-stack, .stack-card, etc.) permanece igual */

/* --- AJUSTE RESPONSIVO MANTENDO O PREMIUM --- */
@media (max-width: 992px) {
    .gallery-preview {
        padding: 80px 0;
        background-attachment: scroll; /* Desativa parallax no mobile para melhor performance */
    }

    .gallery-preview::before {
        background: rgba(27, 77, 62, 0.9); /* Overlay mais uniforme no mobile */
    }

    .gallery-text h2 {
        font-size: 2.2rem;
    }
}

/* Botão com Pulsação em Branco (Máximo Contraste no Fundo Verde) */
.btn-pulse {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--accent-color); /* Verde do WhatsApp */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    
    /* Sombra inicial branca bem sutil */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); 
    
    /* Nova animação de pulsação branca */
    animation: pulse-white 2s infinite; 
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }
    70% {
        /* Aumenta o raio da pulsação e esmaece */
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-pulse:hover {
    transform: scale(1.05) translateY(-3px);
    background-color: #ffffff; /* Inverte: botão fica branco no hover */
    color: var(--primary-color); /* Texto fica verde escuro no hover */
    animation: none; /* Para de pulsar quando o mouse está em cima */
}

/* Carrossel de Sobreposição (Stack Cards) */
.gallery-stack {
    flex: 1;
    position: relative;
    height: 400px;
    max-width: 500px;
}

.stack-card {
    position: absolute;
    width: 320px;
    height: 240px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 5px solid #fff;
    transition: all 0.5s ease;
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Posicionamento dos Cards Empilhados */
.card-1 { z-index: 3; top: 0; right: 0; transform: rotate(3deg); }
.card-2 { z-index: 2; top: 40px; right: 40px; transform: rotate(-5deg); }
.card-3 { z-index: 1; top: 80px; right: 80px; transform: rotate(2deg); opacity: 0.6; }

/* Efeito Hover no Stack */
.gallery-stack:hover .card-1 { transform: translate(-20px, -10px) rotate(0deg); }
.gallery-stack:hover .card-2 { transform: translate(10px, 10px) rotate(0deg); }
.gallery-stack:hover .card-3 { transform: translate(40px, 30px) rotate(0deg); opacity: 1; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .gallery-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .gallery-text {
        max-width: 100%;
    }

    .gallery-stack {
        height: 350px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;		
    }

    .stack-card {
        width: 280px;
        height: 200px;
        right: auto; /* Reseta o alinhamento para centralizar */
    }
    
    .card-1 { position: relative; z-index: 3; }
    .card-2 { position: absolute; margin-left: 30px; margin-top: 30px; }
    .card-3 { position: absolute; margin-left: 60px; margin-top: 60px; }
}

/* --- SEÇÃO AUTORIDADE --- */
.authority-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.authority-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Lado da Imagem com Moldura Premium */
.authority-image {
    flex: 1;
    position: relative;
}

.image-frame {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.image-frame img {
    width: 100%;
    border-radius: 20px;
    filter: grayscale(20%); /* Um tom levemente sóbrio */
    box-shadow: 20px 20px 0px var(--primary-color); /* Moldura sólida atrás */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.experience-badge small {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Conteúdo de Texto */
.authority-content {
    flex: 1.2;
}

.authority-lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 15px 0 25px;
    line-height: 1.4;
}

.authority-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Estatísticas Rápidas */
.authority-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-item span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
}

/* Botão Simples e Elegante */
.btn-whatsapp-simple {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-whatsapp-simple:hover {
    background-color: var(--accent-color);
    transform: translateX(10px);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .authority-flex {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .image-frame img {
        box-shadow: 0px 15px 0px var(--primary-color);
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }

    .authority-stats {
        justify-content: center;
    }
}

/* --- FOOTER --- */
.main-footer {
    background-color: #1a1a1a; /* Cinza quase preto para alto contraste */
    color: #ffffff;
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    flex: 1;
}

.brand-name-footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
    display: block;
    margin-bottom: 20px;
}

.brand-name-footer strong {
    color: var(--accent-color); /* Destaque no RW */
}

.footer-desc {
    color: #999;
    line-height: 1.6;
    max-width: 300px;
}

.footer-column h4 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #999;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

/* Área de Créditos Final */
.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.8rem;
}

.credits strong {
    color: #aaa;
    font-weight: 600;
}

/* Responsividade do Rodapé */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}