/* ===== RESET ===== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html, body { 
    height: 100%; 
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; 
}

/* ===== COMPENSAÇÃO PARA NAVBAR FIXA (OBRIGATÓRIO) ===== */
body {
    padding-top: 80px; /* ✅ ESPAÇO PARA NAVBAR NÃO COBRIR CONTEÚDO */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ✅ PARA ÂNCORAS FUNCIONAREM */
}

/* ===== NAVBAR FIXA (POSIÇÃO CORRETA) ===== */
.navbar {
    position: fixed; /* ✅ FIXED, NÃO STICKY */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Container da navbar */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO - ESQUERDA */
.navbar .logo {
    order: 1;
    margin-right: auto;
}

.navbar .logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
    transition: height 0.3s ease;
}

/* NAV CENTRO - Meio */
.nav-center {
    order: 2;
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.nav-center a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-center a:hover {
    color: #e63946;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
}

.nav-center a:hover::after {
    width: 100%;
}

/* NAV DIREITA - Ícones */
.nav-right {
    order: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Botões de ícone */
.icon-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Botão hamburguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff;
}

/* Menu Mobile */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgb(0, 0, 0);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #e63946;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Mostrar/Esconder menu mobile */
.mobile-menu[hidden] {
    display: none;
}

.mobile-menu:not([hidden]) {
    display: flex;
}

/* ===== EFEITO AO ROLAR (OPCIONAL) ===== */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    padding: 5px 0;
}

.navbar.scrolled .logo img {
    height: 40px;
}

.navbar.scrolled .nav-center a {
    font-size: 15px;
    padding: 6px 0;
}

/* ===== SEÇÃO HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 88vh;
    background: url("fotos/imgalternador.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 20px;
}

.hero-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background: #1ebe4b;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s;
}

.hero-btn:hover {
    background: #17a63f;
}

/* ===== FAIXA CONTATO ===== */
.faixa-contato {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 18px;
    font-weight: 600;
    flex-wrap: wrap;
    position: relative;
}

.faixa-contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgb(170, 0, 0);
}

.faixa-contato::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgb(184, 0, 0);
}

.faixa-contato a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.faixa-contato a:hover {
    opacity: 0.7;
}

/* ===== SEÇÃO SERVIÇOS ===== */
.servicos {
    padding: 80px 20px;
    background: url("fotos/serviço.png") center/cover no-repeat;
    color: #fff;
    text-align: center;
    position: relative;
}

.servicos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 0;
}

.servicos h2,
.servicos-sub,
.servicos-grid {
    position: relative;
    z-index: 1;
}

.servicos h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.servicos-sub {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.servicos-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.servico-item {
    background: rgba(0,0,0,0.4);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.25s;
}

.servico-item:hover {
    background: rgba(0,0,0,0.55);
    transform: translateY(-4px);
}

.servico-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.servico-item p {
    opacity: 0.85;
    font-size: 15px;
}

/* ===== SEÇÃO QUEM SOMOS ===== */
.quem-somos {
    width: 100%;
    padding: 80px 20px;
    background: #0b0b0b;
    color: #fff;
}

.qs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.qs-texto {
    flex: 1;
    min-width: 300px;
}

.qs-texto h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.qs-texto p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 15px;
}

.qs-imagem {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.qs-imagem img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    object-fit: cover;
}

/* ===== SEÇÃO CONTATO ===== */
.contato-section {
    position: relative;
    padding: 80px 40px;
    color: #fff;
    background: url("fotos/contato.png") center/cover no-repeat;
}

.contato-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
}

.contato-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: auto;
    gap: 50px;
}

.contato-left {
    flex: 1;
}

.contato-titulo {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.cont-item {
    font-size: 20px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon {
    font-size: 22px;
}

.btn-rota {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 26px;
    border: 2px solid #ff0000;
    border-radius: 40px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-rota:hover {
    background: #ff2424;
}

.contato-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-contato {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border: 1px solid #888;
    background: rgba(255,255,255,0.07);
    color: #fff;
    border-radius: 4px;
}

.input-contato::placeholder {
    color: #ccc;
}

.btn-whatsapp {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    padding: 16px;
    background: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #e9e9e9;
}

/* ===== MAPA ===== */
.map-section {
    background: #1d1f23;
    padding: 40px 20px;
    text-align: center;
}

.map-section h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-simple {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-simple:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-simple img {
    width: 30px !important; /* ✅ CORRIGIDO: tamanho correto */
    height: 30px;
    object-fit: contain;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .nav-center {
        gap: 20px;
    }
    
    .navbar .logo img {
        height: 45px;
        max-width: 160px;
    }
    
    body {
        padding-top: 75px;
    }
    
    html {
        scroll-padding-top: 75px;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .icon-btn:first-child {
        display: none;
    }
    
    .navbar .container {
        padding: 10px 15px;
    }
    
    body {
        padding-top: 70px;
    }
    
    html {
        scroll-padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content h3 {
        font-size: 18px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-container {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-simple {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-simple img {
        width: 28px !important;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .navbar .logo img {
        height: 40px;
        max-width: 140px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .icon-btn, .menu-toggle {
        padding: 6px;
    }
    
    body {
        padding-top: 65px;
    }
    
    html {
        scroll-padding-top: 65px;
    }
}   
   
    /* ===== WHATSAPP FLUTUANTE - MAIOR ===== */
.whatsapp-simple {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;  /* AUMENTADO: era 60px */
    height: 60px; /* AUMENTADO: era 60px */
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-simple:hover {
    background: #128C7E;
    transform: scale(1.15); /* Efeito maior no hover */
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-simple img {
    width: 100px !important;  /* AUMENTADO: era 30px */
    height: 100px;             /* AUMENTADO: era 30px */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.whatsapp-simple:hover img {
    transform: scale(1.1); /* Ícone aumenta no hover */
}

/* Animação de pulsação */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ESTILOS ESPECÍFICOS DA PÁGINA FAQ ===== */

/* Seção principal */
.faq-section {
    padding: 120px 20px 80px;
    background: #0f0f0f;
    color: white;
    min-height: 100vh;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Títulos */
.faq-title {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
    background: linear-gradient(90deg, #89000c, #ff0000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-subtitle {
    text-align: center;
    font-size: 18px;
    color: #aaa;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Lista de FAQs */
.faq-lista {
    margin-bottom: 50px;
}

/* Item individual */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #ff0015;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Pergunta */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.faq-question span {
    color: #ff0015;
    margin-right: 10px;
    font-size: 22px;
    font-weight: 800;
}

/* Botão toggle */
.faq-toggle {
    background: rgba(230, 57, 70, 0.2);
    border: 2px solid #ff0015;
    color: #ff0015;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle:hover {
    background: #ff0015;
    color: white;
    transform: rotate(90deg);
}

.faq-toggle.open {
    background: #ff0015;
    color: white;
    transform: rotate(45deg);
}

/* Resposta */
.faq-answer {
    color: #ccc;
    line-height: 1.7;
    font-size: 16px;
    padding-left: 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.faq-answer.show {
    max-height: 500px;
    opacity: 1;
    padding-top: 15px;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Seção de contato */
.faq-contato {
    background: rgba(230, 57, 70, 0.1);
    border: 2px solid #ff0015;
    border-radius: 15px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
}

.faq-contato h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-contato p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botão WhatsApp específico do FAQ */
.btn-whatsapp-faq {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-faq:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Botão voltar */
.btn-voltar {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: #ff0015;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ff0015;
    text-align: center;
    font-size: 16px;
}

.btn-voltar:hover {
    background: #ff0015;
    color: white;
    transform: translateY(-3px);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .faq-section {
        padding: 100px 15px 60px;
    }
    
    .faq-title {
        font-size: 32px;
    }
    
    .faq-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .faq-question {
        font-size: 18px;
        flex-wrap: wrap;
    }
    
    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .faq-answer {
        padding-left: 20px;
        font-size: 15px;
    }
    
    .faq-contato {
        padding: 25px 15px;
    }
    
    .faq-contato h3 {
        font-size: 24px;
    }
    
    .btn-whatsapp-faq {
        padding: 14px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 28px;
    }
    
    .faq-question span {
        display: block;
        margin-bottom: 5px;
    }
    
    .faq-item {
        padding: 20px 15px;
    }
    
    .btn-voltar {
        width: 100%;
        padding: 12px;
    }
}

/* ===== CARROSSEL DE MARCAS COM CORES ORIGINAIS ===== */

.marcas-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.marcas-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #ff6b6b);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Container do carrossel */
.carrossel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    overflow: hidden;
}

/* Faixa que se move */
.carrossel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 20px;
    padding: 20px 0;
}

/* Pausar no hover */
.carrossel-container:hover .carrossel-track {
    animation-play-state: paused;
}

/* Item da marca - CORRIGIDO */
.marca-item {
    flex: 0 0 auto;
    width: 140px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.marca-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #e63946;
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.2);
}

/* IMAGEM - REMOVA O FILTRO BRANCO! */
.marca-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    /* REMOVA ESTA LINHA: filter: brightness(0) invert(1); */
    transition: all 0.3s ease;
}

/* Hover na imagem - APENAS escurece levemente */
.marca-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1); /* Melhora cores no hover */
}

/* Nome da marca */
.marca-nome {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-top: 10px;
}

/* Controles */
.carrossel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.carrossel-btn {
    background: rgba(230, 57, 70, 0.2);
    border: 2px solid #e63946;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carrossel-btn:hover {
    background: #e63946;
    transform: scale(1.1);
}

/* Animação */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140px * 8 - 20px * 8)); /* 8 itens */
    }
}

/* Categorias */
.categorias-marcas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.categoria {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #e63946;
}

.categoria h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categoria p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .marca-item {
        width: 120px;
        padding: 20px 10px;
    }
    
    .marca-item img {
        width: 60px;
        height: 60px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .marca-item {
        width: 100px;
    }
    
    .marca-item img {
        width: 50px;
        height: 50px;
    }
    
    .marca-nome {
        font-size: 14px;
    }
}

/* ===== CARROSSEL CLEAN - APENAS LOGOS ===== */

.marcas-clean-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.marcas-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.marcas-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.marcas-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* Container do carrossel */
.carrossel-clean {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
}

/* Faixa do carrossel */
.carrossel-track-clean {
    display: flex;
    gap: 50px;
    padding: 20px 0;
    animation: scrollClean 40s linear infinite;
}

/* Pausar no hover */
.carrossel-clean:hover .carrossel-track-clean {
    animation-play-state: paused;
}

/* Item da logo - SUPER CLEAN */
.logo-item {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 25px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Efeito sutil no hover */
.logo-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(230, 57, 70, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-item:hover::before {
    opacity: 1;
}

.logo-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(230, 57, 70, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(230, 57, 70, 0.2);
    background: #ffffff;
}

/* Itens destacados (caminhões) */
.logo-item.destaque {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 
        0 4px 25px rgba(42, 157, 143, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.logo-item.destaque:hover {
    box-shadow: 
        0 20px 50px rgba(42, 157, 143, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(42, 157, 143, 0.4);
}

/* Imagem da logo */
.logo-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.logo-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

/* Badge de especialização */
.especializacao-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2a9d8f 0%, #264653 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    margin: 40px auto 0;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.3);
    position: relative;
    overflow: hidden;
}

.especializacao-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.especializacao-badge:hover::before {
    left: 100%;
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    position: relative;
    z-index: 1;
}

/* Animação do carrossel */
@keyframes scrollClean {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-170px * 12)); /* 12 itens * (120px + 50px gap) */
    }
}

/* Linha gradiente decorativa */
.marcas-clean-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 20%, 
        rgba(0, 0, 0, 0.1) 80%, 
        transparent 100%);
}

/* Responsividade */
@media (max-width: 1200px) {
    .logo-item {
        width: 110px;
        height: 110px;
        padding: 22px;
    }
    
    .logo-item img {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 992px) {
    .carrossel-track-clean {
        gap: 40px;
    }
    
    .logo-item {
        width: 100px;
        height: 100px;
        padding: 20px;
        border-radius: 18px;
    }
    
    .logo-item img {
        width: 60px;
        height: 60px;
    }
    
    .marcas-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .marcas-clean-section {
        padding: 60px 20px;
    }
    
    .carrossel-track-clean {
        gap: 30px;
        animation: scrollClean 30s linear infinite;
    }
    
    .logo-item {
        width: 90px;
        height: 90px;
        padding: 18px;
        border-radius: 16px;
    }
    
    .logo-item img {
        width: 55px;
        height: 55px;
    }
    
    .marcas-title {
        font-size: 28px;
    }
    
    .marcas-subtitle {
        font-size: 16px;
    }
    
    .especializacao-badge {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .carrossel-track-clean {
        gap: 25px;
    }
    
    .logo-item {
        width: 80px;
        height: 80px;
        padding: 16px;
        border-radius: 14px;
    }
    
    .logo-item img {
        width: 50px;
        height: 50px;
    }
    
    @keyframes scrollClean {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-105px * 12)); /* Ajustado para mobile */
        }
    }
}

/* Modo escuro opcional */
@media (prefers-color-scheme: dark) {
    .marcas-clean-section {
        background: #111;
    }
    
    .marcas-title {
        color: #fff;
    }
    
    .marcas-subtitle {
        color: #aaa;
    }
    
    .logo-item {
        background: #1a1a1a;
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    
    .logo-item:hover {
        background: #222;
        border-color: rgba(230, 57, 70, 0.3);
    }
    
    .marcas-clean-section::after {
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.1) 20%, 
            rgba(255, 255, 255, 0.1) 80%, 
            transparent 100%);
    }
}

/* ===== CARROSSEL FUNCIONAL 100% ===== */

.carrossel-ativo {
    padding: 60px 20px;
    background: #000000; /* Fundo preto */
    overflow: hidden; /* ESSENCIAL para carrossel */
    position: relative;
    width: 100%;
}

/* CONTAINER QUE VAI SE MOVER */
.carrossel-track-ativo {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    
    /* ANIMAÇÃO QUE FAZ MOVER - ESSENCIAL */
    animation: moverCarrossel 30s linear infinite;
    
    /* Importante para performance */
    will-change: transform;
}

/* Pausar no hover */
.carrossel-ativo:hover .carrossel-track-ativo {
    animation-play-state: paused;
}

/* Logo individual */
.logo-ativa {
    flex: 0 0 auto; /* Não deixa crescer/encolher */
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Imagem da logo */
.logo-ativa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
    
    /* Cores originais - sem filtro branco */
    filter: brightness(1.1) saturate(1.1);
}

/* Hover */
.logo-ativa:hover {
    transform: scale(1.05);
}

.logo-ativa:hover img {
    opacity: 1;
    filter: brightness(1.3) saturate(1.3);
}

/* Caminhões destacados */
.logo-ativa.destaque img {
    opacity: 0.9;
    filter: brightness(1.2) saturate(1.2) drop-shadow(0 0 5px rgba(0, 150, 255, 0.3));
}

.logo-ativa.destaque:hover img {
    filter: brightness(1.4) saturate(1.4) drop-shadow(0 0 10px rgba(0, 150, 255, 0.5));
}

/* ===== ANIMAÇÃO QUE FAZ MOVER ===== */
@keyframes moverCarrossel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 40px)); /* 100% + gap */
    }
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 1200px) {
    .logo-ativa {
        width: 90px;
        height: 90px;
    }
    
    .carrossel-track-ativo {
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .carrossel-ativo {
        padding: 40px 15px;
    }
    
    .logo-ativa {
        width: 80px;
        height: 80px;
    }
    
    .carrossel-track-ativo {
        gap: 30px;
    }
    
    @keyframes moverCarrossel {
        100% {
            transform: translateX(calc(-100% - 30px));
        }
    }
}

@media (max-width: 768px) {
    .carrossel-ativo {
        padding: 30px 10px;
    }
    
    .logo-ativa {
        width: 70px;
        height: 70px;
    }
    
    .carrossel-track-ativo {
        gap: 25px;
        animation-duration: 25s; /* Mais rápido no mobile */
    }
}

@media (max-width: 576px) {
    .carrossel-ativo {
        padding: 20px 10px;
    }
    
    .logo-ativa {
        width: 60px;
        height: 60px;
    }
    
    .carrossel-track-ativo {
        gap: 20px;
        animation-duration: 20s;
    }
}

/* ===== RODAPÉ (FOOTER) ===== */
.rodape {
    background: #111;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: 'Inter', sans-serif;
    border-top: 3px solid #e63946;
}

.rodape-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Colunas do rodapé */
.rodape-coluna h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.rodape-coluna h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #e63946;
}

.rodape-coluna p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

/* Links do rodapé */
.rodape-links {
    list-style: none;
    padding: 0;
}

.rodape-links li {
    margin-bottom: 12px;
}

.rodape-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.rodape-links a:hover {
    color: #e63946;
    transform: translateX(5px);
}

.rodape-links a i {
    width: 20px;
    text-align: center;
}

/* Informações de contato */
.rodape-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.5;
}

.info-item i {
    color: #e63946;
    font-size: 18px;
    margin-top: 3px;
}

/* Redes sociais */
.rodape-redes {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.rede-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.rede-social:hover {
    background: #e63946;
    transform: translateY(-3px);
}

.rede-social.facebook:hover {
    background: #1877f2;
}

.rede-social.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.rede-social.whatsapp:hover {
    background: #25d366;
}

/* Linha inferior do rodapé */
.rodape-inferior {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rodape-copyright {
    color: #aaa;
    font-size: 14px;
}

.rodape-copyright a {
    color: #e63946;
    text-decoration: none;
}

.rodape-copyright a:hover {
    text-decoration: underline;
}

.rodape-pagamentos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagamento-icon {
    width: 40px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* Botão "Voltar ao topo" */
.voltar-topo {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.voltar-topo.mostrar {
    opacity: 1;
    visibility: visible;
}

.voltar-topo:hover {
    background: #d32f2f;
    transform: translateY(-5px);
}

/* Responsividade do rodapé */
@media (max-width: 992px) {
    .rodape-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .rodape-inferior {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .rodape {
        padding: 40px 15px 15px;
    }
    
    .rodape-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rodape-coluna {
        text-align: center;
    }
    
    .rodape-coluna h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .rodape-links a {
        justify-content: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .rodape-redes {
        justify-content: center;
    }
    
    .voltar-topo {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .rodape {
        padding: 30px 10px 10px;
    }
    
    .rodape-coluna h3 {
        font-size: 18px;
    }
    
    .voltar-topo {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}