/* BUSINESS INTELLIGENCE - ESTILO COMPLETO 
   Clean, Modern & Professional
*/

:root {
    --primary: #2563eb;    /* Azul Corporativo Moderno */
    --secondary: #64748b;  /* Cinza Elegante */
    --bg-light: #f8fafc;   /* Fundo Suave */
    --white: #ffffff;
    --text-dark: #1e293b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* HEADER */
#header {
    height: 90px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LOGO HEADER */
.logo img,
.logo-img {
    height: 90px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    transition: 0.3s ease;
}

/* LOGO FOOTER */
.footer-logo {
    margin-bottom: 18px;
}
.footer-logo img {
    height: 90px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
}

/* BOTÃO MOBILE */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 26px;
    cursor: pointer;
    z-index: 1100; /* Aumentado para ficar acima de tudo */
}

#nav-menu ul { display: flex; list-style: none; gap: 40px; align-items: center; }
#nav-menu a { text-decoration: none; color: var(--secondary); font-weight: 500; transition: 0.3s; }
#nav-menu a:hover, #nav-menu li.active a { color: var(--primary); }

.btn-contato {
    background: var(--primary);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-contato:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2); }

/* HERO SECTION */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text { max-width: 650px; }
.tagline { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; display: block; margin-bottom: 10px; }

h1 {
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.1;
    margin: 20px 0;
    color: #0f172a;
    letter-spacing: -2px;
}

.hero-text p { font-size: 19px; color: var(--secondary); margin-bottom: 40px; }

/* AJUSTE: CENTRALIZAÇÃO DOS CABEÇALHOS */
.section-header-clean {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-clean .tagline {
    margin: 0 auto 10px auto;
}

/* FLOATING CARDS ANIMATION */
.hero-visual { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.abstract-shape {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%; position: absolute; filter: blur(30px);
}

.floating-card {
    background: var(--white); padding: 20px; border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex; align-items: center; gap: 15px; position: absolute; z-index: 2;
}

.stats { top: 10%; right: 0; animation: float 5s ease-in-out infinite; }
.insight { bottom: 15%; left: 0; animation: float 6s ease-in-out infinite reverse; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* CARDS GERAIS */
.grid-services { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; margin-top: 40px; 
}

.s-card {
    background: var(--white); border-radius: 24px;
    box-shadow: var(--shadow); transition: 0.4s ease;
    display: flex; flex-direction: column; height: 100%;
}

.s-card:not(.news-card-adjust) { padding: 50px; }
.s-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08); }

/* NOTÍCIAS */
.news-card-adjust { overflow: hidden; }
.news-thumb { width: 100%; height: 220px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.s-card:hover .news-thumb img { transform: scale(1.1); }
.news-info { padding: 30px; flex-grow: 1; }

/* FOOTER */
.main-footer {
    background-color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 100px;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.2fr; gap: 60px; }
.footer-col h4 { color: var(--text-dark); font-size: 18px; font-weight: 700; margin-bottom: 25px; }
.footer-col p { color: var(--secondary); line-height: 1.6; font-size: 15px; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px; background: var(--bg-light);
    color: var(--primary); display: flex; align-items: center;
    justify-content: center; border-radius: 50%; transition: 0.3s;
}
.social-links a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.contact-item { display: flex; gap: 12px; margin-bottom: 15px; color: var(--secondary); font-size: 14px; align-items: flex-start; }
.contact-item i { color: var(--primary); margin-top: 4px; }

/* RESPONSIVIDADE (MOBILE FIX) */
@media (max-width: 991px) {
    .mobile-menu-btn { 
        display: block !important; /* Garantir que o botão apareça */
    }

    .logo img,
    .logo-img {
        height: 55px;
        max-width: 180px;
    }

    .footer-logo img {
        height: 55px;
        max-width: 180px;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 100px;
        z-index: 1050; /* Ajustado para ficar abaixo do botão */
    }

    #nav-menu.active { 
        right: 0 !important; /* Mostrar menu com prioridade */
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
        padding: 0 30px;
        align-items: flex-start;
    }

    #nav-menu a { font-size: 18px; width: 100%; display: block; padding: 10px 0; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { height: 320px; margin-top: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}