 :root {
        --primary-color: #0d284f; /* Azul Marinho Profundo */
        --secondary-color: #A99371; /* Ouro/Bronze Suave */
        --accent-color: #A99371; /* Ouro/Bronze Suave para botões */
        --light-bg: #f5f5f5; /* Off-White / Areia Clara */
        --text-dark: #333333;
        --text-light: #6c757d;
        --hero-overlay: rgba(0, 0, 0, 0.4); /* Overlay mais escuro para destaque do texto */
    }
    /*
    ===================================================
    TIPOGRAFIA
    ===================================================
    */
    body {
        font-family: 'Poppins', sans-serif; /* Fonte limpa e moderna para o corpo */
        color: var(--text-dark);
        line-height: 1.7;
        background-color: white; /* Fundo branco puro para leveza */
    }
    #logo-site{
        width: 80px;
        height: auto;
        padding-right: 10px;
    }
    #nome-site{
        font-family: 'Cormorant Garamond', serif; /* Fonte clássica para o nome do empreendimento */
        color: var(--primary-color);
        font-size: 2.2rem; /* Aumentado para maior impacto */
        letter-spacing: 2px; /* Maior espaçamento para um toque premium */
        font-weight: 700;
        line-height: 1; /* Para não quebrar a linha */
    }
    .brand-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    /*
    ===================================================
    HEADER & NAVBAR
    ===================================================
    */
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05); /* Sombra mais sutil */
        position: sticky;
        top: 0;
        z-index: 1000;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .nav-link {
        color: var(--primary-color) !important;
        font-weight: 600;
        margin: 0 10px;
        transition: color 0.3s, border-bottom 0.3s;
        text-transform: uppercase; /* Toque de luxo */
        font-size: 0.95rem;
    }
    .nav-link:hover {
        color: var(--secondary-color) !important;
        border-bottom: 2px solid var(--secondary-color);
    }
    /*
    ===================================================
    HERO SECTION - IMPACTO ALTO NÍVEL
    ===================================================
    */
    .hero {
        position: relative;
        color: white;
        padding: 150px 0; /* Mais padding para mais impacto */
        text-align: center;
        overflow: hidden;
    }
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /* IMPORTANTE: A imagem de fundo deve ser de ALTA QUALIDADE (ex: praia, piscina de borda infinita) */
        background-image: url('imagens/img1.png');         
        background-size: cover;
        background-position: center 30%; /* Ajustado para focar no horizonte/praia */
        filter: brightness(0.4); /* Fundo mais escuro/saturado para dar profundidade e destaque ao texto */
        z-index: -1;
    }
    .hero .container {
        position: relative;
        z-index: 1;
    }
    .hero h1 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 4.5rem; /* Título maior */
        font-weight: 700;
        margin-bottom: 5px;
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        letter-spacing: 5px; /* Mais exclusivo */
        text-transform: uppercase;
    }
    .hero p {
        font-family: 'Poppins', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 40px;
        opacity: 0.95;
        font-weight: 300;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }
    .hero p:last-of-type {
        font-size: 1.1rem;
    }
    /*
    ===================================================
    BOTÃO PREMIUM (Ouro/Bronze)
    ===================================================
    */
    .btn-primary-custom {
        background: var(--accent-color);
        border: 2px solid var(--accent-color); /* Borda para realçar */
        color: var(--primary-color); /* Texto em azul marinho sobre o botão de ouro */
        padding: 14px 40px;
        font-weight: 700;
        border-radius: 8px; /* Cantos levemente arredondados */
        transition: all 0.3s;
        text-decoration: none;
        display: inline-block;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .btn-primary-custom:hover {
        background: var(--primary-color);
        border-color: var(--secondary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(169, 147, 113, 0.5); /* Sombra mais destacada */
    }
    /*
    ===================================================
    BOTÃO WHATSAPP
    ===================================================
    */
    #botao_wpp {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 65px; /* Um pouco maior */
        height: 65px;
        background-color: #25D366;
        color: #fff;
        font-size: 32px;
        border-radius: 50%;
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    #botao_wpp:hover {
        transform: scale(1.15) rotate(5deg);
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.8);
    }
    /*
    ===================================================
    SECTIONS E TÍTULOS
    ===================================================
    */
    section {
        padding: 80px 0; /* Mais espaço vertical */
    }
    .section-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.4rem; /* Títulos maiores */
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 25px;
        letter-spacing: 1.0px;
        text-transform: uppercase;
    }
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px; /* Mais largo */
        height: 3px;
        background: var(--secondary-color); /* Linha de destaque em Ouro/Bronze */
        border-radius: 1px;
    }
    /*
    ===================================================
    SOBRE SECTION
    ===================================================
    */
    .about {
        background: white; /* Fundo branco/off-white */
    }
    .about-content {
        display: flex;
        align-items: center;
        gap: 60px; /* Maior espaçamento */
    }
    .about-text {
        flex: 1;
    }
    .about-content > div:last-child {
        flex: 1;
    }
    .about-text h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
        font-weight: 600;
        border-left: 5px solid var(--secondary-color); /* Destaque lateral sutil */
        padding-left: 20px;
    }
    .about-text p {
        color: var(--text-dark);
        margin-bottom: 20px;
        font-size: 1.05rem;
    }
    .about-text ul {
        list-style: none;
        padding-left: 0;
    }
    .about-text ul li {
        margin-bottom: 10px;
        color: var(--text-dark);
        font-weight: 400;
        font-size: 1rem;
    }
    .about-text ul li::before {
        content: '\2713'; /* Checkmark elegante */
        color: var(--accent-color);
        font-weight: 700;
        display: inline-block;
        width: 1em;
        margin-left: -1em;
        margin-right: 0.5em;
    }
    .carousel-item img {
        border-radius: 12px; /* Cantos arredondados nas imagens */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transition: transform 0.5s ease;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    /*
    ===================================================
    VÍDEO RESPONSIVO - <CHANGE> Melhorado para responsividade
    ===================================================
    */
    .video-container {
        position: relative;
        width: 100%;
        padding-bottom: 96.68%;
         /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        background: #f5f5f5;
    }
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/
        display: block;
    }
/*
 * ===================================================
 * FEATURES - DIFERENCIAIS
 * ===================================================
 */

/* 1. GARANTE QUE OS CARDS FIQUEM NA MESMA ALTURA */
.features .row {
    display: flex;
    flex-wrap: wrap; /* Garante que as colunas quebrem em telas menores */
    align-items: stretch; /* Estica todos os itens (colunas) para a altura da coluna mais alta */
}

/* 2. Aplica o Flexbox dentro da coluna para garantir que o texto ocupe todo o espaço */
.features .col-lg-3,
.features .col-md-6 {
    display: flex;
}

.feature-card {
    /* Esta linha é crucial: faz o card esticar e ocupar todo o espaço da coluna */
    flex-grow: 1; 
    
    background: var(--light-bg); /* Fundo claro para contraste */
    padding: 40px 20px;
    border-radius: 12px;
    transition: all 0.4s;
    border-top: none;
    border-bottom: 4px solid var(--secondary-color); /* Destaque na parte inferior */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    
    /* Novo: Aplica flexbox para que o parágrafo puxe o conteúdo para baixo, se necessário */
    display: flex;
    flex-direction: column;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color); /* Ícone em azul marinho */
    margin-bottom: 20px;
}
.feature-card h5 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    /* Faz o parágrafo (o conteúdo variável) ocupar o espaço restante */
    flex-grow: 1; 
}
    /*
 * ===================================================
 * UNIDADES - MAIS ENFÂSE NO LUXO
 * ===================================================
 */
.unidades {
    background: var(--light-bg);
}
.unit-card {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.unit-header {
    background: var(--primary-color);
    color: white;
    padding: 30px 20px; /* Mais padding */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.unit-card[style*="transform: scale(1.05)"] .unit-header {
    background: var(--accent-color) !important; /* Destaque premium em ouro */
    color: var(--primary-color) !important;
}
.unit-header h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; /* Título maior */
    margin-bottom: 5px;
    font-weight: 700;
}
.unit-header p {
    font-weight: 300;
    font-size: 1rem;
}
.unit-content {
    padding: 30px;
}
/* * ALTERAÇÃO APLICADA AQUI: 
 * Mudado de repeat(2, 1fr) para repeat(3, 1fr) 
 */
.unit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* <<-- AQUI ESTÁ A MUDANÇA */
    gap: 15px;
    margin-bottom: 20px;
}
.detail-item {
    background: white; /* Detalhes em branco, mais limpo */
    border: 1px solid #eee;
    transition: background 0.3s;
    padding: 15px 10px; /* Ajuste para caber melhor 3 colunas */
    border-radius: 8px;
    text-align: center;
}
.detail-item:hover {
    background: #fcfcfc;
}
.detail-item i {
    color: var(--primary-color); /* Ícones em azul marinho */
    font-size: 1.5rem; /* Ajuste no tamanho do ícone para caber */
    margin-bottom: 3px;
    display: block; /* Garante que o ícone fique acima do texto */
}
.detail-item p {
    font-size: 0.8rem; /* Fonte menor para textos longos */
    margin: 0;
    line-height: 1.2;
}
.unit-content > p {
    font-size: 1.2rem !important;
    padding-top: 10px;
}
    /*
    ===================================================
    LOCALIZAÇÃO E CONTATO
    ===================================================
    */
    .location {
        background: white;
    }
    .location-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    .info-box {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }
    .info-box i {
        color: var(--accent-color); /* Ícones em Ouro/Bronze */
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .info-box h5 {
        font-family: 'Cormorant Garamond', serif;
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 10px;
        font-weight: 600;
    }
    .info-box p {
        color: var(--text-light);
        font-size: 0.95rem;
        margin: 0;
    }
    .map-container {
        border: 5px solid var(--light-bg); /* Borda sutil */
        margin-top: 50px;
        border-radius: 12px;
        overflow: hidden;
        width: 100%;
        position: relative;
        padding-bottom: 56.25%; /* <CHANGE> 16:9 aspect ratio para mapa responsivo */
        height: 0;
    }
    .map-container iframe {
        position: absolute; /* <CHANGE> Posicionamento absoluto para iframe */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    .contact {
        background: var(--light-bg);
    }
    .contact-form {
        padding: 50px;
        border-radius: 15px;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .form-control {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 12px 18px;
        width: 100%;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(169, 147, 113, 0.25);
        outline: none;
    }
    /*
    ===================================================
    FOOTER
    ===================================================
    */
    footer {
        background: var(--primary-color);
        color: #f5f5f5;
        padding: 50px 0 25px;
    }
    footer a {
        color: var(--secondary-color); /* Links em Ouro/Bronze */
        text-decoration: none;
        transition: color 0.3s;
    }
    footer a:hover {
        color: white;
    }
    .footer-content {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 30px;
    }
    .footer-section {
        flex: 1;
    }
    .footer-section h6 {
        font-family: 'Cormorant Garamond', serif;
        font-weight: 700;
        color: var(--secondary-color);
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-section ul li {
        margin-bottom: 8px;
    }
    .social-icons {
        margin: 30px 0;
    }
    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin: 0 8px;
        font-size: 1.3rem;
        transition: all 0.3s;
    }
    .social-icons a:hover {
        background: var(--secondary-color);
        color: var(--primary-color);
        transform: translateY(-3px);
    }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 20px;
        margin-top: 20px;
    }
    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
        opacity: 0.8;
    }
    /*
    ===================================================
    ANIMAÇÕES
    ===================================================
    */
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in-up {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    /*
    ===================================================
    MEDIA QUERIES - RESPONSIVIDADE COMPLETA
    ===================================================
    */
    /* Tablets e telas médias (até 992px) */
    @media (max-width: 992px) {
        .hero h1 {
            font-size: 3.5rem;
            letter-spacing: 3px;
        }
        .hero p {
            font-size: 1.3rem;
        }
        .section-title {
            font-size: 2.5rem;
        }
        .about-content {
            flex-direction: column;
            gap: 40px;
        }
        .about-text h3 {
            font-size: 2.2rem;
        }
        .feature-card {
            margin-bottom: 20px;
        }
        .unit-card {
            margin-bottom: 30px;
        }
        .contact-form {
            padding: 40px 30px;
        }
        .footer-content {
            flex-direction: column;
            gap: 30px;
        }
        .footer-section {
            text-align: center;
        }
    }
    /* Mobile e telas pequenas (até 768px) */
    @media (max-width: 768px) {
        #nome-site {
            font-size: 1.5rem;
            letter-spacing: 1px;
        }
        #logo-site {
            width: 50px;
        }
        .navbar {
            padding-top: 10px;
            padding-bottom: 10px;
        }
        .nav-link {
            margin: 5px 0;
            font-size: 0.9rem;
        }
        .hero {
            padding: 100px 0;
        }
        .hero h1 {
            font-size: 2.5rem;
            letter-spacing: 2px;
        }
        .hero p {
            font-size: 1.1rem;
            margin-bottom: 25px;
        }
        .hero p:last-of-type {
            font-size: 1rem;
        }
        .btn-primary-custom {
            padding: 12px 30px;
            font-size: 0.9rem;
        }
        section {
            padding: 50px 0;
        }
        .section-title {
            font-size: 2rem;
            letter-spacing: 1px;
        }
        .section-title::after {
            width: 60px;
        }
        .about-content {
            flex-direction: column;
            gap: 30px;
        }
        .about-text h3 {
            font-size: 1.8rem;
            padding-left: 15px;
        }
        .about-text p {
            font-size: 1rem;
        }
        .about-text ul li {
            font-size: 0.95rem;
        }
        .carousel-item img {
            border-radius: 8px;
        }
        .feature-icon {
            font-size: 2.5rem;
        }
        .feature-card {
            padding: 30px 15px;
            margin-bottom: 20px;
        }
        .feature-card h5 {
            font-size: 1.3rem;
        }
        .unit-card {
            margin-bottom: 25px;
        }
        .unit-card[style*="transform: scale(1.05)"] {
            transform: scale(1) !important;
        }
        .unit-header {
            padding: 25px 15px;
        }
        .unit-header h5 {
            font-size: 1.6rem;
        }
        .unit-content {
            padding: 20px;
        }
        .detail-item i {
            font-size: 1.5rem;
        }
        .unit-details {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .detail-item {
            padding: 15px;
        }
        .location-info {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .info-box {
            padding: 25px;
        }
        .map-container {
            padding-bottom: 56.25%;
        }
        .contact-form {
            padding: 30px 20px;
        }
        .form-control {
            padding: 10px 15px;
            font-size: 0.95rem;
        }
        #botao_wpp {
            width: 55px;
            height: 55px;
            font-size: 28px;
            bottom: 20px;
            right: 20px;
        }
        footer {
            padding: 40px 0 20px;
        }
        .footer-section h6 {
            font-size: 1.3rem;
        }
        .footer-section p,
        .footer-section ul li {
            font-size: 0.9rem;
        }
    }
    /* Mobile extra pequeno (até 480px) */
    @media (max-width: 480px) {
        #nome-site {
            font-size: 1.2rem;
        }
        #logo-site {
            width: 40px;
        }
        .hero {
            padding: 80px 0;
        }
        .hero h1 {
            font-size: 2rem;
            letter-spacing: 1px;
        }
        .hero p {
            font-size: 1rem;
        }
        .hero p:last-of-type {
            font-size: 0.9rem;
        }
        .btn-primary-custom {
            padding: 10px 25px;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
        }
        .section-title {
            font-size: 1.6rem;
        }
        .about-text h3 {
            font-size: 1.5rem;
        }
        .feature-card {
            padding: 25px 15px;
        }
        .feature-icon {
            font-size: 2rem;
        }
        .feature-card h5 {
            font-size: 1.2rem;
        }
        .feature-card p {
            font-size: 0.85rem;
        }
        .unit-header h5 {
            font-size: 1.4rem;
        }
        .unit-header p {
            font-size: 0.9rem;
        }
        .detail-item {
            padding: 15px 10px;
        }
        .detail-item p {
            font-size: 0.9rem;
        }
        .contact-form {
            padding: 25px 15px;
        }
        .contact-form p {
            font-size: 1rem !important;
        }
        #botao_wpp {
            width: 50px;
            height: 50px;
            font-size: 24px;
            bottom: 15px;
            right: 15px;
        }
    }