/* --- ESTILOS GERAIS (Clean CSS) --- */
:root {
    --primary-color: #5636d1;
    --secondary-color: #007bff;
    --text-color: #333;
    --bg-dark: #1a1a1a;
    --font-main: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
}

a { text-decoration: none; }

/* Botões */
.btn-custom {
    background-color: #32373c;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background-color: var(--secondary-color);
    color: #f5f5f5;
    transform: translateY(-2px);
}

header {
    background-color: transparent !important; /* Começa transparente */
    padding: 15px 0;
    transition: all 0.4s ease;
}

/* Quando rolar OU quando estiver em páginas internas (JS adiciona essa classe) */
header.scrolled {
    background-color: #102A43 !important; /* AZUL ESCURO SÓLIDO */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
}

/* Links do Menu */
.nav-link-menu { 
    color: #F5F5F5 !important; /* Texto sempre Branco/Cinza claro */
    font-weight: 600; 
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link-menu:hover { 
    color: var(--secondary-color) !important; 
}

/* Ajuste da Logo */
.navbar-brand img { max-height: 50px; }

.hero-section,
#beneficios,
#servicos,
#contato{
    padding: 150px 0; /* Ajuste o espaçamento conforme necessário */
    
    /* Caminho da imagem */
    background-image: url('../img/6020105.jpg');
    
    /* O SEGREDO ESTÁ AQUI: Fixa a imagem na tela */
    background-attachment: fixed; 
    
    /* Garante que a imagem cubra tudo */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* Cor de fundo de segurança */
    background-color: #102A43;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #f5f5f5, #007bff);
    background: -webkit-linear-gradient(45deg, #f5f5f5, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefits / Icons */
.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: transform 0.3s;
    height: 100%;
}
.feature-box:hover { transform: translateY(-5px); }
.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Dark Section (Stats) */
.dark-section {
    background-color: #111;
    color: #fff;
    padding: 80px 0;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Services Slider */
.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}
.service-img {
    height: 200px;
    background-color: #ddd; /* Placeholder color */
    background-size: cover;
    background-position: center;
}
.service-content { padding: 20px; }

/* Footer */
footer {
    background-color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}
.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #333;
    transition: 0.3s;
}
.social-icons a:hover { background: var(--primary-color); color: #fff; }

/* Swiper Fixes */
.swiper-container { width: 100%; padding-bottom: 40px; }
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    max-width: 150px;
}
.client-logo:hover { filter: grayscale(0); opacity: 1; }

#beneficios h2, 
#beneficios p, 
#beneficios .feature-box p, /* Cuidado: se o box for branco, o texto deve ser escuro */
#servicos h2,
#servicos p,
#contato h2,
#contato h6,
#contato span,
#contato p  {
    color: #f5f5f5;
}

@media (max-width: 768px) {
    .hero-section,
    #beneficios,
    #servicos,
    #contato {
        background-attachment: scroll; /* Volta ao normal no celular */
    }
}