/* Estilos para a Área Pública do Site - Design Monocromático */

:root {
    --primary-color: #2c3377;
    --primary-light: #3b479a;
    --primary-dark: #1e2352;
    --secondary-color: #f8f9fa;
    --accent-color: #4169E1; /* Azul Royal como destaque */
    --text-color: #333;
    --text-light: #6c757d;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease-in-out;
}

.bg-primary-dark {
   background-color: var(--primary-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* --- Animações --- */
@keyframes pulse {
    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); }
}

/* --- Header & Navbar --- */
.navbar-custom {
    background-color: var(--white);
    box-shadow: var(--shadow-card);
    padding: 1rem 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom .navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-custom .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: 0.375rem;
}

.navbar-custom .nav-link:hover {
    color: var(--accent-color);
}

.navbar-custom .nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

#mobile-menu-button {
    padding: 0.5rem;
    border-radius: 0.375rem; /* Para combinar com outros botões/links */
    transition: var(--transition);
}

#mobile-menu-button:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
}

/* --- Banner Topo --- */
#hero-slider {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.slide-item {
    visibility: hidden; /* Padrão para slides dinâmicos controlados via GSAP */
}

.slide-item-static {
    visibility: visible; /* Garante que o slide estático seja visível */
}

/* --- Seção de Filtros --- */
.filtros-section {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
    margin-bottom: 5rem;
    border: 1px solid var(--light-gray);
}

/* --- Estilos de Seção Genéricos --- */
.section-title {
    margin-bottom: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 2.5rem;
    text-align: left; /* Padrão à esquerda */
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 5px;
}

.section-title.text-center {
    text-align: center;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Card de Imóvel --- */
.imovel-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.imovel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.imovel-card .w-full.h-56.object-cover {
    transition: transform 0.4s ease;
}

.imovel-card:hover .w-full.h-56.object-cover {
    transform: scale(1.05);
}

.imovel-card .imovel-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 1;
}

.imovel-card .features i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.imovel-card:hover .features i {
    color: var(--accent-color);
}

/* --- Botões --- */
.btn-accent {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: auto;
}

.btn-accent:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Botão do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* --- Footer --- */
.footer-custom {
    background-color: var(--primary-dark);
    color: var(--light-gray);
    padding: 4rem 0 0;
    margin-top: 5rem;
}

.footer-custom h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-custom .footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-custom .footer-links a:hover {
    color: var(--accent-color);
}

.footer-custom .social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.2s;
}

.footer-custom .social-icons a:hover {
    color: var(--accent-color);
}

.footer-custom .copyright {
    background-color: rgba(0,0,0,0.2);
    color: var(--light-gray);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Card de Serviço (Home) --- */
.service-card-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 3rem 1.5rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card-home:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-card-home i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card-home:hover i {
    color: var(--accent-color);
}


/* --- Seção de FAQ (Accordion) --- */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    padding: 0 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-question .icon-toggle::before {
    content: '\f067';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question .icon-toggle::before {
    content: '\f068';
    transform: rotate(180deg);
    color: var(--accent-color);
}