/* =========================================
   1. VARIÁVEIS E RESET (A Base do Design)
   ========================================= */
:root {
    /* Cores inspiradas na identidade visual Netlux */
    --primary-color: #008CBA;   /* Azul Profundo */
    --accent-color: #00bcd4;    /* Ciano Brilhante */
    --dark-text: #333333;       /* Cinza Escuro para texto */
    --light-text: #ffffff;      /* Branco */
    --bg-light: #f9f9f9;        /* Fundo claro para seções */
    --border-color: #cccccc;    /* Bordas suaves */
    --success-color: #25d366;   /* Verde do WhatsApp */
    --hover-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra suave */
    
    /* Fontes */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #f4f6f8;
    background-image: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. CABEÇALHO (Header)
   ========================================= */
header {
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a { display: block; }
.logo img { max-height: 60px; width: auto; display: block; }

nav a {
    text-decoration: none;
    color: var(--dark-text);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent-color); }

.btn-destaque {
    background-color: var(--primary-color);
    color: var(--light-text) !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.btn-whatsapp-header {
    border: 2px solid var(--success-color);
    color: var(--success-color) !important;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background-color: var(--success-color);
    color: white !important;
    transform: translateY(-2px);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -12px;
    text-decoration: none; /* puxa levemente para a esquerda */
}

.logo img {
    max-height: 55px; /* ligeiramente menor para equilibrar com o texto */
}

.logo-text {
    font-weight: 700;
    font-size: 22px;          /* aumentei o tamanho */
    color: #1b75bb;           /* azul institucional */
    letter-spacing: 0.8px;
    white-space: nowrap;

    text-decoration: none;    /* remove sublinhado */
    border-bottom: none;
}


/* =========================================
   3. SUPER CONTAINER (Hero + Quem Somos)
   ========================================= */

/* Esta div envolve o Hero e o Quem Somos para compartilhar o fundo */
.main-wrapper-bg {
    background: linear-gradient(rgba(0, 32, 96, 0.9), rgba(0, 140, 186, 0.85)), 
                url('assets/hero-bg.jpg');
    background-size: cover;     

    /* ALTERAÇÃO AQUI: Mudamos de 'center top' para 'center center' */
    /* Isso centraliza a imagem verticalmente, mostrando mais das placas */
    background-position: center center; 
    
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efeito Parallax */
    width: 100%;
    
    /* Curva no final para conectar com o branco */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding-bottom: 60px; 
}

/* HERO (Agora transparente) */
.hero {
    background: transparent !important; /* Remove fundo antigo */
    color: var(--light-text);
    padding: 100px 0 40px 0; /* Reduzi padding inferior para colar no Quem somos */
    text-align: center;
    position: relative;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background-color: var(--light-text);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* QUEM SOMOS (Agora transparente e adaptado) */
.about {
    padding: 40px 0 0 0; /* Cola na Hero */
    background-color: transparent !important;
}

.about-text h3 {
    color: #ffffff !important; /* Título Branco para ler no fundo azul */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Estrutura Lado a Lado */
.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Cards do Quem Somos (Fundo branco para destaque) */
.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95); /* Branco quase sólido */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
    margin-bottom: 15px; /* Espaço entre os cards */
}

.highlight-item:hover { transform: translateX(5px); }
.highlight-item i { font-size: 2rem; color: var(--primary-color); }
.highlight-item h4 { margin: 0 0 5px 0; font-size: 1.1rem; color: var(--dark-text); font-weight: 600; }
.highlight-item p { margin: 0; font-size: 0.95rem; color: #555; }

/* Container do Vídeo */
.video-container {
    flex: 1;
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3); /* Sombra mais forte */
    background-color: #000;
    aspect-ratio: 16 / 9; /* Mantém formato YouTube */
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* =========================================
   4. CARROSSEL INFINITO (Slider)
   ========================================= */
.clients-section {
    padding: 80px 0;
    background-color: #ffffff; /* Fundo branco puro aqui */
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.clients-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.clients-section .subtitle { margin-bottom: 50px; color: #666; }

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 150px;
    z-index: 2;
}

.slider::before { left: 0; top: 0; }
.slider::after { right: 0; top: 0; transform: rotateZ(180deg); }

.slide-track {
    display: flex;
    width: calc(250px * 18);
    animation: scroll 30s linear infinite;
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.slide img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    cursor: pointer;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 9)); }
}

/* =========================================
   5. COMO TRABALHAMOS (Passos)
   ========================================= */
.how-it-works {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: #ffffff !important;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px auto;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* =========================================
   6. BENEFÍCIOS (Grid)
   ========================================= */
.benefits {
    padding: 80px 0;
    background-color: #e0f7fa; /* Fundo Azulado leve */
    text-align: center;
}

.benefits h3 {
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff !important;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 140, 186, 0.15);
    transition: transform 0.3s;
    height: 100%;
}

.card:hover { transform: translateY(-5px); }

.card:hover .icon-box i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.icon-box i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

/* =========================================
   7. FORMULÁRIO (Estilo Robusto)
   ========================================= */
.form-section {
    padding: 80px 0;
    background-color: white;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff !important;
    padding: 40px; /* Mais espaço interno */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1.5rem;
}

/* Botões de Rádio Customizados */
.form-group-radio {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.form-group-radio input[type="radio"] { display: none; }

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
}

.radio-option:hover {
    border-color: var(--secondary-color);
    background-color: #f0fbfc;
}

.form-group-radio input[type="radio"]:checked + .radio-option {
    background-color: #e0f7fa;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 194, 203, 0.2);
}

/* Inputs Gerais */
.form-group { margin-bottom: 15px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

input:focus, select:focus { border-color: var(--accent-color); }

.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--success-color);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

/* =========================================
   8. FAQ (Acordeão Moderno)
   ========================================= */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
}

.faq-wrapper { max-width: 800px; margin: 0 auto; }

details {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

details[open] { box-shadow: var(--hover-shadow); border-color: var(--accent-color); }

summary {
    font-weight: 600;
    color: var(--dark-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

details[open] summary::after { content: '-'; }

details p {
    margin-top: 15px;
    color: #555;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* =========================================
   9. RODAPÉ E BOTÃO FLUTUANTE
   ========================================= */
.main-footer {
    background-color: #aaa; /* Ajuste para o Navy/Cinza desejado */
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col { flex: 1; min-width: 250px; }

.logo-col img.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

.info-col p { margin-bottom: 5px; opacity: 0.9; }
.info-col .cnpj { margin-top: 10px; font-size: 0.85rem; opacity: 0.7; }

.contact-col { text-align: right; }
.contact-item { margin-bottom: 8px; font-weight: 500; }

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; }


/* =========================================
   10. BLOCO MESTRE DE RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 900px) {
    /* 1. Header */
    header .container { flex-direction: column; gap: 15px; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
    nav a[href^="#"] { display: none; }
    nav .btn-destaque, nav .btn-whatsapp-header { display: inline-flex !important; font-size: 0.85rem; }
    .logo img { margin: 0 auto; }

    /* 2. Super Container / Hero */
    .main-wrapper-bg {
        padding-bottom: 40px;
        background-attachment: scroll; /* Scroll normal no celular */
    }
    
    .hero { padding: 60px 0 20px 0; }
    .hero h2 { font-size: 1.8rem; line-height: 1.2; }
    .hero p { font-size: 1rem; padding: 0 20px; }

    /* 3. Quem Somos (Colunas empilhadas) */
    .about-content { flex-direction: column; gap: 30px; }
    .about-text { width: 100%; align-items: center; } /* Centraliza no mobile */
    .about-text h3 { text-align: center; }
    .video-container { width: 100%; margin-top: 20px; }

    /* 4. Formulário e Footer */
    .form-row, .footer-content { flex-direction: column; gap: 30px; }
    .form-wrapper { width: 100%; padding: 20px; }
    .main-footer { padding-bottom: 100px; text-align: center; }
    .contact-col { text-align: center; }
    .logo-col img.footer-logo-img { margin: 0 auto; }
}