/* --- TEMA NETO JUNIOR: PURE BLUE LUXURY (Final Version) --- */
:root {
    --bg-dark: #0e1a2b; --bg-card: #132238; --bg-alt: #0a121e;        
    --electric-blue: #00a8ff; --accent-silver: #808285; --highlight: #ffffff;     
    --navy-glass: rgba(14, 26, 43, 0.9); 
    --text-main: #ffffff; --text-muted: #b0b3b8;    
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Curva de Animação Apple-like (Suave) */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BARRA DE ROLAGEM CUSTOMIZADA --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1c2e4a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--electric-blue); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-main); background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6;
    background-image: radial-gradient(circle at top center, rgba(0, 168, 255, 0.08), transparent 50%); overflow-x: hidden;
}

/* --- NAVBAR GLASS --- */
.navbar {
    position: fixed; top: 0; width: 100%; background: var(--navy-glass);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 4%; display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.logo-img { height: 38px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.menu { list-style: none; display: flex; gap: 25px; }
.menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; font-weight: 500; }
.menu a:hover { color: var(--electric-blue); text-shadow: 0 0 15px rgba(0, 168, 255, 0.8); }

/* --- HERO SECTION --- */
.hero {
    background-image: url('https://res.cloudinary.com/dslkn4i7d/image/upload/v1764715111/Gemini_Generated_Image_5bazro5bazro5baz_ibuzdp.png');
    background-size: cover; background-position: center; width: 100%; min-height: 600px; height: 100vh;
    display: flex; align-items: center; justify-content: center; position: relative; padding-top: 60px;
}
@keyframes floatUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content.glass-panel {
    background: rgba(14, 26, 43, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); text-align: center; max-width: 700px; width: 90%;
    animation: floatUp 1.2s var(--ease-out-expo) forwards;
}

/* Texto menor e mais clean */
.hero h1 { 
    font-size: 1.8rem; font-weight: 300; letter-spacing: 0.5px; margin-bottom: 5px; color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); text-transform: uppercase;
}
.hero p { font-size: 1rem; color: #e2e8f0; margin-bottom: 25px; letter-spacing: 0.5px; opacity: 0.9; font-weight: 300; }

@keyframes breathe { 0% { border-color: var(--glass-border); box-shadow: 0 0 0 rgba(0,0,0,0); } 50% { border-color: rgba(0, 168, 255, 0.3); box-shadow: 0 0 15px rgba(0, 168, 255, 0.1); } 100% { border-color: var(--glass-border); box-shadow: 0 0 0 rgba(0,0,0,0); } }
.search-bar {
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 50px; padding: 4px; display: flex; align-items: center; justify-content: space-between; transition: 0.3s;
    animation: breathe 4s infinite ease-in-out;
}
.search-bar:focus-within { border-color: var(--electric-blue); box-shadow: 0 0 20px rgba(0, 168, 255, 0.3); animation: none; background: rgba(14, 26, 43, 0.8); }
.search-input { display: flex; align-items: center; flex-grow: 1; padding-left: 15px; gap: 10px; color: white; }
.search-input i { color: var(--electric-blue); opacity: 0.9; }
.search-input input { background: transparent; border: none; color: white; outline: none; width: 100%; font-size: 0.95rem; }
.search-input input::placeholder { color: rgba(255,255,255,0.5); }
.btn-search {
    background: linear-gradient(135deg, var(--electric-blue), #0056b3); border: none; color: white; font-weight: 600; 
    padding: 10px 30px; border-radius: 30px; cursor: pointer; transition: 0.3s; letter-spacing: 1px; font-size: 0.85rem;
}
.btn-search:hover { box-shadow: 0 0 25px rgba(0, 168, 255, 0.7); transform: scale(1.05); }

/* --- SEÇÕES GERAIS --- */
section { padding: 60px 4%; }
.bg-alt { background-color: var(--bg-alt); }
.container { max-width: 1350px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.section-header h2 { font-size: 2rem; font-weight: 300; color: white; border-left: 3px solid var(--electric-blue); padding-left: 15px; }
.section-header.center-text { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-header.center-text h2 { border-left: none; padding-left: 0; position: relative; margin-bottom: 20px; }
.section-header.center-text h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--electric-blue); margin: 10px auto 0; border-radius: 2px; box-shadow: 0 0 10px rgba(0, 168, 255, 0.5); }
.section-header p { color: var(--text-muted); margin-top: 5px; max-width: 600px; font-size: 0.9rem; }
.label-section { color: var(--electric-blue); font-weight: bold; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.loading-text { color: var(--text-muted); font-style: italic; }
.mt-20 { margin-top: 20px; }

/* --- GRID IMÓVEIS --- */
.filter-tabs button {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-muted); padding: 6px 25px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 0.85rem;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--electric-blue); color: white; border-color: var(--electric-blue); font-weight: 600; box-shadow: 0 0 20px rgba(0, 168, 255, 0.5); }
.grid-imoveis { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .grid-imoveis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-imoveis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-imoveis { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); transition: 0.3s ease; position: relative; font-size: 0.9rem; }
.card:hover { transform: translateY(-7px); box-shadow: 0 15px 40px rgba(0, 168, 255, 0.2); border-color: var(--electric-blue); }
.card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.tag { position: absolute; top: 10px; right: 10px; background: rgba(14, 26, 43, 0.9); color: var(--electric-blue); border: 1px solid var(--electric-blue); padding: 4px 10px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 168, 255, 0.3); }
.card-content { padding: 15px; }
.card-content h3 { font-size: 1rem; margin-bottom: 5px; font-weight: 500; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 15px; display: flex; align-items: center; gap: 5px; }
.location i { color: var(--electric-blue); }
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-border); padding-top: 10px; }
.price { font-size: 1.1rem; color: white; font-weight: 600; }
.btn-icon { background: transparent; border: 1px solid var(--text-muted); color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-icon:hover { background: var(--electric-blue); border-color: var(--electric-blue); color: white; box-shadow: 0 0 15px rgba(0, 168, 255, 0.6); }

/* --- BOTÃO VER MAIS OPÇÕES --- */
/* Margem reduzida para 20px para ficar mais justo */
.view-more-box { text-align: center; margin-top: 20px; }
.btn-view-all {
    background: transparent; border: 1px solid var(--electric-blue); color: var(--electric-blue);
    padding: 12px 35px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; 
    cursor: pointer; transition: 0.3s; letter-spacing: 1px; text-transform: uppercase;
}
.btn-view-all i { margin-left: 8px; }
.btn-view-all:hover {
    background: var(--electric-blue); color: white; box-shadow: 0 0 20px rgba(0, 168, 255, 0.6);
}

/* --- SOBRE NÓS --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 2.2rem; margin-bottom: 15px; line-height: 1.2; }
.about-text p { color: var(--text-muted); margin-bottom: 15px; text-align: justify; font-size: 0.95rem; }
.about-image { aspect-ratio: 1 / 1; width: 100%; max-width: 400px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--glass-border); background-image: url('https://res.cloudinary.com/dslkn4i7d/image/upload/v1764706356/unnamed_1_s111a1.jpg'); background-size: cover; background-repeat: no-repeat; background-position: center center; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.stats { display: flex; gap: 40px; margin-top: 20px; border-top: 1px solid var(--glass-border); padding-top: 20px; }
.stat-item h3 { color: white; font-size: 2rem; margin-bottom: 0px; font-weight: 300; }
.stat-item span { color: var(--electric-blue); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; text-shadow: 0 0 10px rgba(0, 168, 255, 0.5); }

/* --- ADMINISTRAÇÃO --- */
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.adm-card { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--glass-border); transition: 0.3s; }
.adm-card:hover { transform: translateY(-5px); border-color: var(--electric-blue); background: rgba(19, 34, 56, 0.9); box-shadow: 0 10px 40px rgba(0, 168, 255, 0.2); }
.icon-box { width: 50px; height: 50px; background: rgba(0, 168, 255, 0.1); color: var(--electric-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; border: 1px solid var(--glass-border); box-shadow: 0 0 15px rgba(0, 168, 255, 0.2); }
.adm-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: white; }
.adm-list { list-style: none; }
.adm-list li { margin-bottom: 10px; color: var(--text-muted); font-size: 0.9rem; display: flex; gap: 8px; }
.adm-list li strong { color: white; }
.adm-list li::before { content: "•"; color: var(--electric-blue); font-weight: bold; }

/* --- RODAPÉ --- */
.footer { background: #050a12; border-top: 1px solid var(--glass-border); padding: 50px 5% 30px; font-size: 0.85rem; }
.footer-flex { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding-bottom: 40px; }
.footer-logo { height: 45px; margin-bottom: 15px; opacity: 1; filter: brightness(0) invert(1); }
.footer h3 { color: white; margin-bottom: 15px; font-size: 1rem; }
.footer p { color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer p i { color: var(--electric-blue); font-size: 1.1rem; }
.social-link { color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.social-link:hover { color: var(--electric-blue); text-shadow: 0 0 10px rgba(0, 168, 255, 0.8); }
.footer-credits { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; }
.footer-credits p { justify-content: center; font-size: 0.75rem; color: #555; }
.footer-credits a { color: #666; text-decoration: none; transition: 0.3s; }
.footer-credits a:hover { color: var(--electric-blue); }

/* --- WHATSAPP --- */
.btn-whatsapp {
    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; box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 2000; font-size: 2rem; text-decoration: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-whatsapp:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 0 30px rgba(37, 211, 102, 0.6); }

/* Responsivo */
@media (max-width: 992px) { .about-grid { grid-template-columns: 1fr; } .about-image { order: -1; margin-bottom: 30px; max-width: 100%; } }
@media (max-width: 768px) { .menu { display: none; } .hero { background-position: center; } .hero-content.glass-panel { padding: 2rem; width: 95%; } .hero h1 { font-size: 1.5rem; } }

/* Container dos botões */
.view-more-box { 
    text-align: center; margin-top: 30px; 
    display: flex; gap: 15px; justify-content: center; /* Botões lado a lado */
}

/* Botão Principal (Ver Mais) */
.btn-view-all {
    background: transparent; border: 1px solid var(--electric-blue); color: var(--electric-blue);
    padding: 12px 35px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; 
    cursor: pointer; transition: 0.3s; letter-spacing: 1px; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-view-all:hover {
    background: var(--electric-blue); color: white; box-shadow: 0 0 20px rgba(0, 168, 255, 0.6);
}

/* Botão Secundário (Recolher) - Mais discreto */
.btn-view-less {
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--text-muted); color: var(--text-muted);
    padding: 12px 25px; border-radius: 50px; font-size: 0.9rem; font-weight: 500; 
    cursor: pointer; transition: 0.3s; letter-spacing: 1px; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-view-less:hover {
    background: rgba(255, 255, 255, 0.1); border-color: white; color: white;
}

/* --- CORREÇÃO PARA CELULAR (MOBILE) --- */
@media (max-width: 600px) {
    
    /* 1. Muda a direção para coluna: caixa em cima, botão embaixo */
    .search-bar {
        flex-direction: column !important;
        align-items: stretch !important; /* Estica os itens para largura total */
        height: auto !important;         /* Remove altura fixa se houver */
    }

    /* 2. Garante que a caixa de input ocupe toda a largura disponível */
    .search-input {
        width: 100% !important;
        margin-bottom: 10px; /* Dá um espacinho entre a caixa e o botão */
    }

    /* 3. O botão também fica com largura total para ficar bonito */
    .btn-search {
        width: 100% !important;
    }
}