:root {
    --primary: #fbbf24;
    --primary-dark: #f59e0b;
    --dark-bg: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #fff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    min-height: 100vh;
    color: var(--text-color);
    overflow-x: hidden;
    padding-bottom: 2rem;
}

/* --- Utilities --- */
.mb-4 { margin-bottom: 4rem; }
.text-muted { color: var(--text-muted); }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    backdrop-filter: blur(16px); background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: white; cursor: pointer; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* Menu Desktop */
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-link {
    padding: 0.5rem 1rem; border-radius: 20px; text-decoration: none;
    color: var(--text-muted); transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: white; background: rgba(255,255,255,0.1);
}

/* Botão Mobile (Hambúrguer) */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.mobile-menu-btn span {
    display: block; width: 25px; height: 3px; background-color: var(--primary);
    border-radius: 3px; transition: 0.3s;
}

/* --- Pages & Animations --- */
.page { display: none; padding-top: 80px; animation: fadeIn 0.5s ease-out; }
.page.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero --- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; padding: 2rem; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, #0f172a 0%, rgba(30, 58, 138, 0.8) 50%, #0f172a 100%); }
.hero-content { position: relative; z-index: 1; max-width: 1400px; width: 100%; margin: 0 auto; }
.hero-card {
    max-width: 700px; background: var(--glass-bg); backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-radius: 2rem; padding: 2.5rem;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; line-height: 1.1; }
.hero-slogan { color: var(--primary); font-size: 1.2rem; margin-bottom: 1.5rem; }

/* --- Buttons --- */
.btn-primary, .btn-submit, .btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1f2937; padding: 0.8rem 1.5rem; border-radius: 50px; border: none;
    font-weight: 600; cursor: pointer; transition: transform 0.2s;
    display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-primary:hover, .btn-submit:hover { transform: scale(1.05); }

/* --- Cards Grid --- */
.container { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.section-divider { width: 60px; height: 4px; background: var(--primary); margin: 0 auto 3rem; border-radius: 2px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.glass-card, .service-card, .value-card, .contact-card {
    background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 1.5rem; padding: 2rem;
    transition: transform 0.3s ease;
}

/* CSS Hover Animation (Substitui JS) */
.card-hover:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); }

/* Icons Colors */
.icon-yellow { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.icon-blue { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }
.icon-green { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.icon-purple { color: #c084fc; background: rgba(192, 132, 252, 0.1); }
.icon-pink { color: #fb7185; background: rgba(251, 113, 133, 0.1); }
.icon-cyan { color: #22d3ee; background: rgba(34, 211, 238, 0.1); }
.card-icon, .value-icon, .contact-icon {
    width: 60px; height: 60px; border-radius: 12px; display: flex; 
    align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1rem;
}

/* --- Forms --- */
.form-container { background: var(--glass-bg); padding: 2rem; border-radius: 1.5rem; border: 1px solid var(--glass-border); }
.form-group { margin-bottom: 1rem; }
.form-input, .form-textarea {
    width: 100%; padding: 0.8rem; border-radius: 0.5rem;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: white; font-family: inherit;
}
.success-message { display: none; text-align: center; padding: 2rem; }
.success-message.active { display: block; }

/* --- Footer & Map --- */
.map-container iframe { width: 100%; height: 400px; border: 0; border-radius: 1rem; margin-top: 2rem; }
.footer { text-align: center; padding: 2rem; border-top: 1px solid var(--glass-border); margin-top: 2rem; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; z-index: 1002; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; /* Escondido */
        width: 70%; height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; /* Visível */ }

    /* Contato Grid Mobile */
    .contact-grid { display: flex; flex-direction: column; }
}

/* --- Modal de Login --- */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 2000; /* Acima de tudo */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.9); /* Fundo escuro */
    backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
    animation: fadeIn 0.3s ease;
}

/* Quando tiver a classe .active, muda o display para flex */
.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover { color: var(--primary); }

.modal-header { margin-bottom: 2rem; }

