:root {
    --primary: #0b4dbd;
    --primary-dark: #083c95;
    --primary-20: rgba(11, 77, 189, 0.2);
    --text-dark: #1f2a37;
}

/* ================================ BASE & AJUSTE DE TELA ================================ */
html, body {
    overflow-x: hidden; /* Impede que o site escape para os lados */
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    color: var(--text-dark);
    scroll-behavior: smooth;
    padding-top: 70px; /* Compensa a navbar fixa */
}

a { text-decoration: none; }

img {
    max-width: 100%;
    height: auto;
}

/* ================================ NAVBAR ================================ */
#mainNav {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    height: 70px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: auto;
    max-height: 200px; /* Sua logo grande original */
    object-fit: contain;
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ================================ HERO (SLIDESHOW) ================================ */
#hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--primary);
}

.hero-bg-slider, .hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-slider .slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideShow 18s infinite;
}

.hero-bg-slider .slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slider .slide:nth-child(3) { animation-delay: 12s; }

@keyframes slideShow {
    0%, 40%, 100% { opacity: 0; }
    10%, 30% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

#hero .container {
    z-index: 2;
    position: relative;
}

.hero-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* ================================ SEÇÕES ================================ */
#sobre {
    background: linear-gradient(180deg, #ffffff, #083c95);
    padding: 80px 0;
}

.service-card .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--primary-20);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 16px;
}

.stat-value {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
}

/* ================================ FOOTER ================================ */
.footer-tech {
    background: linear-gradient(180deg, #0a0f1f, #05070e);
    padding: 80px 0 30px;
    color: white;
}

.footer-tech .logo-symbol {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0b4dbd, #0a3a8f);
    color: white;
    border-radius: 12px;
    font-weight: bold;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(11,77,189,0.5);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* ================================ BOTÕES ================================ */
.botao-saiba-mais {
    background: #0d6efd;
    color: #fff;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    margin-top: 20px;
}

.botao-saiba-mais:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

/* ================================ RESPONSIVIDADE (LIMPA) ================================ */

@media (max-width: 992px) {
    #mainNav { height: auto; padding: 10px 0; }
    
    .navbar-brand img { max-height: 80px; } /* Ajuste de volume da logo */

    #navContent.collapse.show {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    #hero {
        height: auto;
        padding: 120px 0 60px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar-brand img { max-height: 55px; }
    
    .stat-card, .service-card, .testimonial {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-tech { text-align: center; }
    .footer-social { justify-content: center; }
}