/* === ESTILO FINAL CRISTALINO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: none !important; /* Killer of the blue glow */
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg: #050505;
    --card: #121214;
    --gold: #c5a358;
    --gold-bright: #e5c17d;
    --text: #ffffff;
    --muted: #888888;
    --border: rgba(255, 255, 255, 0.08);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --wa: #25D366;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    background-color: var(--bg) !important;
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--gold); }
.logo-text { display: flex; flex-direction: column; text-align: left; }
.logo-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(197, 163, 88, 0.05); border-radius: 10px; border: 1px solid rgba(197, 163, 88, 0.2); }
.logo-icon svg { stroke: var(--gold); width: 22px; height: 22px; }
.logo-name { font-family: var(--font-serif); color: var(--gold); font-size: 22px; font-weight: 800; line-height: 1; }
.logo-role { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; font-weight: 500; }

.nav a { color: #fff; text-decoration: none; margin-left: 25px; font-size: 14px; font-weight: 500; transition: 0.3s; }
.nav a:hover { color: var(--gold); }
.nav a.cta-link { background: var(--gold); color: #000; padding: 10px 20px; border-radius: 6px; font-weight: 700; }

/* HERO */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--bg);
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-content {
    margin: auto;
}

.hero-badge {
    color: var(--gold);
    border: 1px solid rgba(197, 163, 88, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 10vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span { color: var(--gold); font-style: italic; }

.hero-subtitle { color: var(--muted); font-size: 18px; max-width: 700px; margin: 0 auto 50px; }

.hero-actions { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; }

.btn { padding: 16px 40px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px; transition: 0.3s; }
.btn-primary { background: var(--gold); color: #000; }
.btn-hero-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2) !important; }

.hero-stats { display: flex; gap: 50px; justify-content: center; flex-wrap: wrap; }
.stat-number { font-family: var(--font-serif); color: var(--gold); font-size: 36px; font-weight: 800; display: block; }
.stat-label { font-size: 11px; color: #555; text-transform: uppercase; letter-spacing: 2px; }

/* FILTROS */
.bairros-section { padding: 100px 0; background: #000; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; }
.section-title { font-family: var(--font-serif); font-size: 44px; margin: 15px 0; }

.bairros-grid { display: flex; gap: 12px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.bairro-card { 
    padding: 12px 30px; background: #111; color: #fff; border: 1px solid var(--border); 
    border-radius: 100px; cursor: pointer; font-size: 14px; font-weight: 600; transition: 0.3s;
}
.bairro-card:hover { border-color: var(--gold); }
.bairro-card.active { background: var(--gold); color: #000; border-color: var(--gold); }

/* GRADE DE IMÓVEIS (3 COLUNAS) */
.empreendimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1100px) { .empreendimentos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .empreendimentos-grid { grid-template-columns: 1fr; } }

/* IMÓVEL CARD */
.emp-card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.emp-card:hover { border-color: var(--gold); transform: translateY(-8px); }

/* GALERIA FUNCIONAL */
.emp-gallery { 
    height: 260px; width: 100%; position: relative; overflow: hidden; 
}
.gallery-slider { 
    width: 100%; height: 100%; position: relative; 
}
.slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    opacity: 0; transition: opacity 0.5s ease-in-out; 
}
.slide.active { opacity: 1; z-index: 10; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    font-size: 24px; z-index: 20; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.gallery-btn:hover { background: var(--gold); color: #000; }
.gallery-btn.prev { left: 15px; }
.gallery-btn.next { right: 15px; }

.gallery-dots {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 20;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3);
    cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--gold); width: 24px; border-radius: 10px; }

.emp-badge {
    position: absolute; top: 15px; right: 15px; z-index: 20;
    background: var(--gold); color: #000; padding: 4px 12px;
    border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase;
}

/* INFO DO IMÓVEL */
.emp-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.emp-name { font-family: var(--font-serif); font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.emp-location { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.emp-desc { color: var(--muted); font-size: 15px; margin-bottom: 25px; line-height: 1.6; }

.emp-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.feature { background: #1a1a1e; padding: 6px 14px; border-radius: 100px; font-size: 12px; color: #777; border: 1px solid var(--border); }

.btn-whatsapp { 
    background: var(--wa); 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
}

.btn-whatsapp-outline {
    display: block; text-align: center; padding: 15px; border: 2px solid var(--gold);
    color: var(--gold); border-radius: 10px; text-decoration: none; font-weight: 800;
    transition: 0.3s; margin-top: auto;
}
.btn-whatsapp-outline:hover { background: var(--gold); color: #000; }

/* SOBRE A CORRETORA */
.sobre-section { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--border); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.sobre-content { max-width: 550px; }
.sobre-text { color: var(--muted); font-size: 16px; margin-bottom: 20px; line-height: 1.8; }
.sobre-text strong { color: var(--gold); font-weight: 600; }
.sobre-stats { display: flex; gap: 30px; margin: 40px 0; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sobre-stat { display: flex; flex-direction: column; }
.ss-number { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; }
.ss-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-top: 6px; font-weight: 600; }

.btn-lg { padding: 18px 30px; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-radius: 12px; }
.btn-xl { padding: 20px 40px; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; border-radius: 12px; }

.sobre-visual { display: flex; flex-direction: column; gap: 20px; }
.visual-card { background: var(--card); padding: 30px; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; }
.visual-card:hover { border-color: var(--gold); transform: translateX(8px); }
.visual-card h4 { font-family: var(--font-serif); color: var(--gold); font-size: 20px; margin-top: 15px; margin-bottom: 10px; }
.visual-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.visual-icon { font-size: 24px; background: rgba(197, 163, 88, 0.05); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(197, 163, 88, 0.2); }

/* CTA FINAL */
.cta-section { padding: 120px 0; background: linear-gradient(0deg, #000 0%, var(--bg) 100%); text-align: center; border-top: 1px solid var(--border); }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title { font-family: var(--font-serif); font-size: 46px; font-weight: 800; margin-bottom: 20px; }
.cta-desc { color: var(--muted); font-size: 18px; margin-bottom: 40px; line-height: 1.6; }
.cta-phone { display: block; margin-top: 25px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 2px; }

/* GRADIENTE TEXT EFFECT */
.gradient-text { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: var(--wa); color: #fff; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); z-index: 1000; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }

/* FOOTER */
.footer { padding: 50px 0; background: #050505; border-top: 1px solid var(--border); text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer .logo-icon { margin-bottom: 15px; font-size: 24px; }
.footer-name { font-family: var(--font-serif); color: var(--gold); font-size: 22px; display: block; margin-bottom: 5px; font-weight: 700; }
.footer-role { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; display: block; }
.footer-copy { color: #555; font-size: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); width: 100%; max-width: 600px; }

/* MEDIA QUERIES (Responsivo Celular) */
@media (max-width: 900px) {
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-stats { flex-wrap: wrap; }
    .hero-title { font-size: 38px; }
    .cta-title { font-size: 32px; }
}

/* UTILS */
.hidden { display: none !important; }

.menu-toggle { display: none !important; }

.logo-name { display: flex; align-items: center; gap: 8px; }
.midas-logo { height: 1.2em; object-fit: contain; }

.header-inner { position: relative; }
.header-midas { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; z-index: 10; }
.header-midas img { height: 38px; object-fit: contain; }
@media(max-width: 900px) { .header-midas { display: none; } }

.header-midas img { height: 55px !important; }

.header-midas img { height: 75px !important; }

.header-midas img { height: 83px !important; }

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}
.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100000;
}
.lightbox-close:hover {
    color: var(--gold);
}
