/* --- Variáveis Premium Real Estate --- */
:root {
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); /* Azul Vibrante */
    --hover-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --dark-navy: #0f172a;     /* Fundo Footer */
    --text-main: #1e293b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --shadow-premium: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

body { font-family: var(--font-body); color: var(--text-main); background-color: var(--bg-light); }
h1, h2, h3, h4, h5, .font-heading { font-family: var(--font-heading); color: var(--text-main); letter-spacing: -0.02em; }

/* --- Botões Premium (Gradiente) --- */
.btn-premium {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); /* Sombra azulada */
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    color: white;
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
}
.btn-outline-white:hover { background: white; color: var(--dark-navy); }

/* --- Navbar Glass (Transparente no topo) --- */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* --- Hero Section Imersiva --- */
.hero-premium {
    height: 650px; /* Altura imponente */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    margin-top: 70px; /* Compensa navbar fixa */
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    width: 100%;
}

/* --- Barra de Busca Flutuante (Glassmorphism) --- */
.search-bar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Sombra forte para destacar do fundo escuro */
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    gap: 10px;
}

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    border-right: 1px solid #e2e8f0;
    padding: 10px 20px;
}
.search-field:last-child { border: none; }

.field-label {
    display: block; font-size: 0.75rem; font-weight: 700; 
    color: #64748b; text-transform: uppercase; letter-spacing: 0.5px;
}
.field-input {
    width: 100%; border: none; background: transparent; 
    font-weight: 600; font-size: 1rem; color: var(--dark-navy); outline: none;
}

/* --- Cards de Imóveis (Premium) --- */
.property-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}
.card-image-wrapper { position: relative; height: 260px; overflow: hidden; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.property-card:hover img { transform: scale(1.08); }

.card-badge {
    position: absolute; top: 15px; left: 15px;
    background: rgba(15, 23, 42, 0.9); color: white;
    padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
}

/* --- Footer Premium (Dark) --- */
.footer-dark {
    background-color: var(--dark-navy);
    color: white;
    padding: 80px 0 30px;
    margin-top: 80px;
}
.footer-dark h5 { color: white; margin-bottom: 25px; }
.footer-dark a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer-dark a:hover { color: white; padding-left: 5px; }
.footer-dark .form-control { background: rgba(255,255,255,0.1); border: none; color: white; }
.footer-dark hr { border-color: rgba(255,255,255,0.1); }

/* --- Botão WhatsApp Flutuante --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25d366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe57; color: white;}
.pulse {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid #25d366; animation: pulse 2s infinite; opacity: 0;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Responsivo */
@media (max-width: 991px) {
    .hero-premium { height: auto; padding: 100px 0; }
    .search-bar-glass { flex-direction: column; border-radius: 16px; width: 95%; }
    .search-field { border-right: none; border-bottom: 1px solid #e2e8f0; padding: 15px; }
    .btn-premium { width: 100%; margin-top: 10px; }
}