/* ==========================================================================
   Configurações Globais e Variáveis
   ========================================================================== */
:root {
    --primary-color: #52A2A6; /* Verde/Turquesa principal */
    --secondary-color: #235D60; /* Verde escuro */
    --dark-color: #133536;
    --light-color: #F4F7FE;
    --text-color: #404040;
    --font-family: 'Rubik', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.py-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
    transition: background-color 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.navbar-transparent {
    background-color: #00000047;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled .navbar-text {
    color: var(--text-color) !important;
}
.navbar-scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    color: #fff !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 700px;
    background: url('../images/loteamento_banner.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(19, 53, 54, 0.8) 0%, rgba(19, 53, 54, 0.4) 100%);
}

.hero-content { position: relative; z-index: 2; }

.search-form-container {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 90%;
    max-width: 1140px;
}
.search-form .form-select {
    border: none;
    font-weight: 500;
    color: #555;
    padding: 0.75rem 1.25rem;
    height: 100%;
}
.search-form .form-select:focus { box-shadow: none; }
.search-form .btn-search {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: none;
    font-size: 1.2rem;
}

/* ==========================================================================
   Loteamentos e Carrossel
   ========================================================================== */
#loteamentos { padding-top: 8rem !important; }

.lote-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 450px; color: #fff;
    display: block; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.lote-card-img {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.4s ease;
}
.lote-card:hover .lote-card-img { transform: scale(1.1); }

.lote-card-badge {
    position: absolute; top: 20px; left: 20px;
    padding: 0.3rem 1rem; border-radius: 50px;
    color: #fff; font-weight: 700; font-size: 0.9rem;
    text-transform: uppercase;
}
.lote-card-badge.life { background-color: #E9426E; }
.lote-card-badge.golden { background-color: #FBAF40; }

.lote-card-body {
    position: absolute; bottom: 0; left: 0;
    width: 100%; padding: 2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.lote-card-body h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.lote-card-body .location { font-size: 1rem; opacity: 0.8; }
.lote-card-body .features {
    display: flex; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 1rem; padding-top: 1rem; font-weight: 500;
}
.features i { color: var(--primary-color); }

.owl-nav {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.owl-nav button {
    background-color: rgba(255, 255, 255, 0.8) !important;
    width: 40px; height: 40px;
    border-radius: 50% !important;
    color: var(--text-color) !important;
}
.owl-nav .owl-prev { position: absolute; left: -50px; }
.owl-nav .owl-next { position: absolute; right: -50px; }
.owl-dots { margin-top: 20px; }
.owl-dot.active span { background-color: var(--primary-color) !important; }

/* ==========================================================================
   Seção de Infraestrutura
   ========================================================================== */
.feature-card {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.feature-card .icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.feature-card h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* ==========================================================================
   Seção Cidades
   ========================================================================== */
.city-card {
    position: relative; display: block; height: 300px;
    border-radius: 20px; overflow: hidden;
    background-size: cover; background-position: center;
    text-decoration: none;
}
.city-card-overlay {
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; color: #fff;
    transition: background 0.3s ease;
}
.city-card:hover .city-card-overlay { background: rgba(82, 162, 166, 0.8); }
.city-card-overlay h3 { font-size: 1.5rem; }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonial-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 2.5rem; border-radius: 20px;
    position: relative;
}
.testimonial-card::before {
    content: '\201C'; font-family: serif;
    position: absolute; top: 1rem; left: 1.5rem;
    font-size: 5rem; color: var(--primary-color); opacity: 0.2;
}
.testimonial-card p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.author { display: flex; align-items: center; }
.author img { border-radius: 50%; margin-right: 1rem; }
.author span { display: block; font-size: 0.9rem; color: #777; }

/* ==========================================================================
   Blog e Contato
   ========================================================================== */
.blog-card {
    border: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.blog-card .card-body a { color: var(--primary-color); font-weight: 700; text-decoration: none; }

#contato .form-control {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
}
#contato .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(82, 162, 166, 0.25);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.main-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}
.footer-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.main-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.main-footer a:hover { color: #fff; }
.main-footer .list-unstyled li { margin-bottom: 0.5rem; }

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* ==========================================================================
   Ajustes Finais (Setembro 2025)
   ========================================================================== */

/* Estilo para a Logo no Navbar */
.navbar-logo {
    max-height: 45px; /* Ajuste a altura conforme necessário */
    width: auto;
    transition: all 0.3s ease;
}

/* Estilo para o ícone da seção "Sobre Nós" */
.section-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem auto;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(82, 162, 166, 0.4);
}

/* Estilo para a assinatura no rodapé */
.developer-signature {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.developer-signature a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-decoration: none;
}

.developer-signature a:hover {
    color: #fff;
    text-decoration: underline;
}


/* Responsividade para ocultar a barra de busca em celulares */
@media (max-width: 991.98px) {
    .search-form-container {
        display: none;
    }
        #sobre .row {
        flex-direction: column-reverse;
    }
    #loteamentos {
        /* Ajuste para compensar a ausência da barra de busca no mobile */
        padding-top: 5rem !important;
    }
	    /* Quando a página é rolada (.navbar-scrolled)... */
    .navbar-scrolled .navbar-toggler-icon {
        /* ...troca a cor do ícone do menu para escuro. */
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2840, 40, 40, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Também garante que a borda do botão fique visível */
    .navbar-scrolled .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.15);
    }
}
/* ==========================================================================
   Estilos para a Nova Seção "Sobre Nós"
   ========================================================================== */

#sobre .sobre-nos-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
	text-align: justify;
}

#sobre .sobre-nos-image {
    /* Efeito de inclinação sutil na imagem para dar um toque de design */
    transform: rotate(2deg);
    transition: transform 0.3s ease-in-out;
}

#sobre .sobre-nos-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Oculta o botão em telas maiores (desktops) */
@media (min-width: 992px) {
    .whatsapp-float {
        display: none;
    }
}
