/* --- Reset Básico e Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* --- Estilos da Seção Hero --- */
.hero {
    position: relative;
    height: 100vh; /* Ocupa 100% da altura da tela */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #fff;
    /* IMPORTANTE: Substitua 'background-hero.jpg' pelo nome da sua imagem */
    background: url('background-hero.jpg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Camada escura */
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px; /* Largura máxima do conteúdo */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas de tamanho igual */
    align-items: center;
    gap: 3rem; /* Espaçamento entre as colunas */
}

/* --- Coluna da Esquerda (Vídeo e Texto) --- */
.hero-left {
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 para o vídeo ser responsivo */
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden; /* Garante que o iframe não ultrapasse a borda arredondada */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    font-weight: 400;
}

/* --- Coluna da Direita (Formulário) --- */
.form-card {
    background-color: #ffffff;
    color: #333;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-card p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #28a745; /* Cor verde chamativa */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838; /* Tom mais escuro ao passar o mouse */
}

/* --- Estilos do Popup --- */
.popup-wrapper {
    position: fixed; /* Fica fixo na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Garante que fique na frente de tudo */
    opacity: 0; /* Começa invisível */
    visibility: hidden; /* Começa inacessível */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Classe para mostrar o popup */
.popup-wrapper:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background-color: #fff;
    color: #333;
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.95); /* Efeito de zoom ao aparecer */
    transition: transform 0.3s ease;
}

.popup-wrapper:not(.hidden) .popup-card {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
}

.popup-card h2 {
    font-size: 2rem;
    color: #28a745; /* Verde para combinar com o tema */
    margin-bottom: 1rem;
}

.popup-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.popup-card .popup-cta {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.whatsapp-btn img {
    margin-right: 10px;
}

/* Classe para esconder o popup */
.hidden {
    display: none;
}

/* style.css */

/* --- Estilos da Seção de Detalhes --- */
.details-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Um cinza bem claro para diferenciar do fundo branco */
}

.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.details-content {
    display: flex;
    gap: 40px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* Coluna da Esquerda (Navegação) */
.details-nav {
    flex-basis: 35%; /* Ocupa 35% da largura */
    flex-shrink: 0;
}

.details-nav ul {
    list-style: none;
}

.details-tab {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    color: #555;
    border-left: 4px solid transparent;
}

.details-tab i {
    margin-right: 15px;
    color: #007bff;
    width: 20px; /* Alinha os textos */
}

.details-tab:hover {
    background-color: #e9ecef;
}

.details-tab.active {
    background-color: #e7f1ff;
    color: #0056b3;
    border-left: 4px solid #007bff;
}

/* Coluna da Direita (Painéis de Conteúdo) */
.details-panels {
    flex-grow: 1;
}

.panel {
    display: none; /* Todos os painéis começam escondidos */
    animation: fadeIn 0.6s;
}

.panel.active {
    display: block; /* Apenas o painel ativo é exibido */
}

.panel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.panel-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.panel-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}
/* style.css */

/* --- Estilos da Seção de Portfólio de Lotes --- */
.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas */
    gap: 30px;
    margin-top: 4rem;
}

.lot-card {
    height: 450px; /* Altura fixa para simular um "story" */
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.card-info {
    color: white;
}
.card-info h3 { font-size: 1.5rem; }
.card-info p { font-size: 1rem; opacity: 0.9; }

/* --- Estilos do Popup (Modal) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #333;
}

.modal-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.info-details, .info-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.info-details span, .info-actions a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.info-actions a { color: #007bff; }
.info-details i, .info-actions i { margin-right: 8px; }

/* style.css */

/* --- Estilos da Seção do Mapa --- */
.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-container {
    position: relative; /* Essencial para o posicionamento dos hotspots */
    max-width: 1200px; /* Defina a largura máxima do seu mapa */
    margin: 0 auto;
}

.map-container img {
    width: 100%; /* Torna a imagem base responsiva */
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* style.css */

/* Estilo do Hotspot (agora como um Pin) */
.hotspot {
    position: absolute;
    /* Removemos o fundo e a borda do botão */
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;


    /* Ajuste fino de posicionamento: o 'top' e 'left' agora apontam para o centro do ícone */
    transform: translate(-50%, -100%); 
}

/* Estilo do ÍCONE dentro do hotspot */
.hotspot i {
    font-size: 2.5rem; /* Tamanho do ícone */
    color: #007bff; /* Azul primário */
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, color 0.3s ease;
}

.hotspot:hover i {
    transform: scale(1.2); /* Aumenta o ícone ao passar o mouse */
    color: #0056b3; /* Azul mais escuro */
}

/* O tooltip continua funcionando da mesma forma */
.hotspot-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%; 
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* Garante que o tooltip não interfira no clique */
}

.hotspot:hover .hotspot-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Animação de pulso para chamar atenção (agora otimizada para o ícone) */
.hotspot.available i {
    color: #4e32e9; /* Verde para lotes "disponíveis" */
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* --- RODAPÉ --- */
.rodape {
    background-color: #0d2137;
    color: white;
    padding: 50px 0;
}
.rodape-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.rodape-coluna {
    flex: 1;
    min-width: 250px;
}
.logo-rodape {
    max-height: 50px;
    margin-bottom: 15px;
}
.rodape h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}
.rodape ul {
    list-style: none;
}
.rodape ul li a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}
.redes-sociais-rodape a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}
/* --- Responsividade para Dispositivos Móveis --- */
/* Responsividade */
@media (max-width: 992px) {
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .modal-info-bar { flex-direction: column; gap: 1rem; }
}
@media (max-width: 576px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}

/* Animação de Fade In */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividade para celulares */
@media (max-width: 768px) {
    .details-content {
        flex-direction: column;
    }
    .info-details{
        font-size: 0.7rem;
    }
}


@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr; /* Coluna única em telas menores */
        text-align: center;
    }

    .hero-right {
        margin-top: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto; /* Altura automática para caber o conteúdo */
        padding: 4rem 1rem;
    }
}
