/* ==========================================================================
   1. RESET E PADRÕES GERAIS
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; 
}

body { 
    color: #222; 
    overflow-x: hidden; 
    background-color: #fff; 
    line-height: 1.6;
}

/* ==========================================================================
   2. HEADER E MENU
   ========================================================================== */
.header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: #111; 
    z-index: 1000; 
    height: 70px; 
}

.container { 
    max-width: 1200px; 
    margin: auto; 
    padding: 0 20px; 
    height: 100%; 
}

.header-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 100%; 
}

.logo img { 
    height: 50px; 
    display: block; 
}

.nav ul { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
}

.nav a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 15px;
    transition: 0.3s;
}

.nav a:hover { color: #e60000; }

.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 1001;
}

.hamburger span { 
    width: 25px; 
    height: 3px; 
    background: #fff; 
}

/* ==========================================================================
   3. BANNER E CARROSSEL
   ========================================================================== */
.banner { margin-top: 70px; background: #000; }
.carousel { width: 100%; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.6s ease-in-out; }
.carousel-item { min-width: 100%; }

.desktop-banner .carousel-item img { width: 100%; height: auto; display: block; }

@media (min-width: 1300px) {
    .desktop-banner .carousel-item img {
        height: 70vh !important;
        object-fit: cover;
        min-height: 400px;
    }
}

.mobile-banner { display: none; }
.desktop-banner { display: block; }

/* ==========================================================================
   4. SEÇÕES E CARDS (SEO OPTIMIZED)
   ========================================================================== */
.section { padding: 60px 20px; text-align: center; max-width: 1200px; margin: auto; }
.section h2 { color: #e60000; margin-bottom: 5px; font-size: 2.2rem; }
.section p { font-size: 1.1rem; color: #444; margin-bottom: 30px; }

.light { background: #f4f4f4; max-width: 100%; }

.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
}

.card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    text-align: left;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.card h3 { color: #e60000; margin-bottom: 10px; font-size: 1.3rem; }
.card p { font-size: 0.95rem; line-height: 1.5; margin-bottom: 0; }

/* Bloco de localização SEO */
.seo-location-box {
    margin-top: 50px;
    padding: 30px;
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 12px;
}

.seo-location-box p { margin-bottom: 0; font-style: italic; }

/* ==========================================================================
   5. CTA WHATSAPP
   ========================================================================== */
.cta-whatsapp { 
    background: linear-gradient(135deg, #e60000, #b00000); 
    padding: 50px 20px; 
    text-align: center; 
    color: #fff; 
}

.cta-content h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.cta-btn { 
    background: #25D366; 
    color: #fff; 
    padding: 16px 32px; 
    border-radius: 35px; 
    text-decoration: none; 
    font-weight: bold; 
    display: inline-block; 
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 1.1rem;
}

/* ==========================================================================
   6. CONTATO E FOOTER
   ========================================================================== */
.contato-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.contato-card { background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; }
.contato-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contato-card.full { grid-column: 1 / -1; }

footer { background: #111; color: #fff; padding: 40px 20px; text-align: center; }

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: #111; padding: 20px; }
    .nav.active { display: block !important; }
    .nav ul { flex-direction: column; text-align: center; }
    .hamburger { display: flex; }
    .mobile-banner { display: block; }
    .desktop-banner { display: none; }
    .section h2 { font-size: 1.8rem; }
}

.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.whatsapp-float img { width: 32px; }/* ==========================================================================
   1. RESET E PADRÕES GERAIS
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Arial, sans-serif; 
}

body { 
    color: #222; 
    overflow-x: hidden; 
    background-color: #fff; 
}

/* ==========================================================================
   2. HEADER E MENU (Ajustado para funcionar o Hamburger)
   ========================================================================== */
.header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: #111; 
    z-index: 1000; 
    height: 70px; 
}

.container { 
    max-width: 1200px; 
    margin: auto; 
    padding: 0 20px; 
    height: 100%; 
}

.header-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 100%; 
}

.logo img { 
    height: 50px; 
    display: block; 
}

.nav ul { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
}

.nav a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 15px; 
}

.hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    z-index: 1001; /* Fica acima do menu aberto */
}

.hamburger span { 
    width: 25px; 
    height: 3px; 
    background: #fff; 
}

/* ==========================================================================
   3. BANNER
   ========================================================================== */
.banner { 
    margin-top: 70px; 
    width: 100%; 
    background: #000; 
}

.carousel { 
    width: 100%; 
    overflow: hidden; 
}

.carousel-track { 
    display: flex; 
    transition: transform 0.6s ease-in-out; 
}

.carousel-item { 
    min-width: 100%; 
}

.desktop-banner .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 1320px) {
    .desktop-banner .carousel-item img {
        height: 70vh !important;
        width: 100% !important;
        object-fit: fill !important;
        min-height: 400px;
    }
}

.mobile-banner .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}


.desktop-banner { display: block; }
.mobile-banner { display: none; }

/* ==========================================================================
   RESPONSIVIDADE MENU (AQUI ESTAVA O PROBLEMA)
   ========================================================================== */
@media (max-width: 768px) {
    .header { height: 60px; }
    .banner { margin-top: 60px; }
    .desktop-banner { display: none; }
    .mobile-banner { display: block; }
    
    .hamburger { display: flex; }

    .nav { 
        display: none; /* Escondido */
        position: absolute; 
        top: 60px; 
        left: 0; 
        width: 100%; 
        background: #111; 
        padding: 20px; 
        z-index: 1000;
    }

    /* Classe ativada pelo JS */
    .nav.active { 
        display: block !important; 
    }

    .nav ul { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center;
    }
}
/* ===============================
   CONTROLE DE BANNERS POR TELA
   =============================== */

/* Padrão */
.desktop-large-banner {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {

    .desktop-banner,
    .desktop-large-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }
}

/* Desktop normal */
@media (min-width: 600px) and (max-width: 1919px) {

    .desktop-large-banner,
    .mobile-banner {
        display: none;
    }

    .desktop-banner {
        display: block;
    }
}

/* Telas grandes */
@media (min-width: 1920px) {

    .desktop-banner,
    .mobile-banner {
        display: none;
    }

    .desktop-large-banner {
        display: block;
    }

    .desktop-large-banner img {
        width: 100%;
        min-height: 600px;
        object-fit: fill !important;
        display: block;
    }
}

/* ==========================================================================
   4. SEÇÕES GERAIS
   ========================================================================== */
.section { 
    padding: 60px 20px; 
    text-align: center; 
    max-width: 1200px; 
    margin: auto; 
}

.section h2 { 
    color: #e60000; 
    margin-bottom: 5px; 
    font-size: 2rem; 
    line-height: 1.2;
}

.light { 
    background: #f4f4f4; 
    max-width: 100%; 
}

.cta-whatsapp { 
    background: linear-gradient(135deg, #e60000, #b00000); 
    padding: 50px 20px; 
    text-align: center; 
    color: #fff; 
}

.cta-content h2 { 
    font-size: 1.8rem; 
    margin-bottom: 10px; 
    line-height: 1.1;
}

.cta-btn { 
    background: #25D366; 
    color: #fff; 
    padding: 14px 28px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold; 
    display: inline-block; 
    margin-top: 15px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    font-weight: bold; 
}

.sobre-content { 
    max-width: 900px; 
    margin: auto; 
    text-align: left; 
    line-height: 1.7; 
}

.sobre-content h3 { 
    color: #e60000; 
    margin: 25px 0 10px; 
}

/* ==========================================================================
   CLIENTES (Com Cores e Carrossel)
   ========================================================================== */
.clients-carousel { 
    overflow: hidden; 
    max-width: 1100px; 
    margin: 15px auto; 
    position: relative;
}

.clients-track { 
    display: flex; 
    transition: transform 0.5s ease-in-out; 
}

.client-logo { 
    flex: 0 0 33.333%; /* 3 por vez no desktop */
    padding: 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo img { 
    width: 100%; 
    max-width: 180px; 
    height: auto;
    max-height: 130px; 
    object-fit: contain; 
    transition: 0.3s;
}

.client-logo img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .client-logo { 
        flex: 0 0 100%; /* 1 por vez no mobile */
    }
}

/* ==========================================================================
   CONTATO (Estilo Moderno)
   ========================================================================== */
.contato {
    background-color: #f9f9f9; 
}

.contato-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    margin-top: 30px;
}

.contato-card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

.contato-card:hover {
    transform: translateY(-5px);
}

.contato-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.contato-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.contato-card.full { 
    grid-column: 1 / -1; 
}

/* ==========================================================================
   EXTRAS
   ========================================================================== */
.whatsapp-float { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 60px; 
    height: 60px; 
    background: #25D366; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float img { width: 32px; }

section { scroll-margin-top: 80px; }

footer { 
    background: #111; 
    color: #fff; 
    padding: 30px; 
    text-align: center; 
}
/* ==========================================================================
   AJUSTES DE SEO - ADICIONAR AO FINAL DO SEU CSS ORIGINAL
   ========================================================================== */

/* Ajusta o espaçamento da nova estrutura de texto nos cards */
.card h3 {
    color: #e60000;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card p {
    font-weight: normal; /* Para o texto de descrição não ficar negrito igual ao título */
    font-size: 0.95rem;
    line-height: 1.4;
    color: #444;
}

/* Estilo para o novo bloco de localização (SEO Local) */
.seo-location-box {
    margin-top: 40px;
    text-align: center;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px dashed #ccc;
}

.seo-location-box p {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

/* Pequeno ajuste no Sobre Nós para não encavalar os textos */
.sobre-content p {
    margin-bottom: 15px;
}