/* =========================================
   1. RESET E VARIÁVEIS
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --primary-red: #e30613;
    --dark-blue: #00408c;
    --white: #ffffff;
    --grey-light: #f4f4f4;
    --yellow: #ffcc00;
    --font-main: 'Anek Devanagari', sans-serif;
}

/* =========================================
   2. ESTILOS BASE
   ========================================= */
body { 
    font-family: 'Anek Devanagari', sans-serif; 
    line-height: 1.6; 
    color: #333; 
}

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

h1, h2, h3 { 
    font-weight: 900; 
}

/* =========================================
   3. CLASSES UTILITÁRIAS
   ========================================= */
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px; 
}

/* =========================================
   4. MENU TOPO
   ========================================= */
.logo img {
    max-width: 110px; 
    height: auto; 
    display: block;
}

.top-header {
    background-color: var(--primary-red);
    padding: 15px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.navbar-nova {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-centro {
    display: flex;
    gap: 30px;
}

.menu-centro a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-centro a:hover {
    color: var(--yellow);
}

.btn-whatsapp-header {
    background-color: #1b9c73;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-whatsapp-header i {
    font-size: 1.2rem;
}

.btn-whatsapp-header:hover {
    background-color: #147a5a;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    background: url('img/hero.png'); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 120px 0 100px; 
    min-height: 80vh; 
    display: flex;
    align-items: center; /* Removemos o justify-content daqui */
}

.hero-container {
    display: flex;
    justify-content: flex-start; /* Mantém o texto alinhado à esquerda DENTRO do container */
    width: 100%;
}

.hero-content {
    max-width: 550px; 
    width: 100%;
    margin: 0; 
    text-align: left;
}

.hero h1 { 
    font-size: 2.8rem; 
    line-height: 1.15; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    text-align: left; 
    letter-spacing: -0.5px;
}

.hero p { 
    font-size: 1.1rem; 
    line-height: 1.5;
    margin-bottom: 30px; 
    text-align: left; 
    max-width: 480px; 
}

.hero-content .btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* =========================================
   6. DIFERENCIAIS
   ========================================= */
.diferenciais { 
    background: var(--dark-blue); 
    color: var(--white); 
    padding: 20px 0; 
    text-align: center; 
    font-weight: bold; 
}

/* =========================================
   7. MARCAS / BRANDS
   ========================================= */
.brands {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid #EEEEEE; 
}

.brands-layout {
    display: flex;
    align-items: center;
    width: 100%;
}

.brands-title-container {
    flex-shrink: 0; 
    padding-right: 40px; 
    margin-right: 40px; 
    border-right: 2px solid #555555; 
}

.brands-title-container .section-title-small {
    text-align: left;
    margin-bottom: 0; 
    font-size: 22px;
    line-height: 1.2;
    color: var(--dark-blue); 
}

.carousel-marcas-wrapper {
    flex: 1; 
    min-width: 0; 
    overflow: hidden;
    max-width: 100vw;
}

.carousel-marcas-track {
    display: flex;
    width: max-content;
    animation: rolagem-infinita 50s linear infinite;
    will-change: transform; 
    transform: translateZ(0);
}

.carousel-marcas-track:hover {
    animation-play-state: paused;
}

.logos-grid {
    display: flex;
    align-items: center;
    gap: 0px; 
    padding-right: 60px; 
}

.logos-grid img {
    height: 80px; 
    width: auto;
    object-fit: contain;
}

@keyframes rolagem-infinita {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   8. SOBRE A FROTA
   ========================================= */
.sobre-frota { 
    padding: 100px 0; 
    background-color: var(--white); 
}

.sobre-frota .grid-2 {
    align-items: center; 
    gap: 50px; 
}

.texto-sobre {
    text-align: left; 
    max-width: 550px; 
}

.texto-sobre h2 { 
    color: var(--primary-red); 
    margin-bottom: 25px; 
    font-size: 2.3rem; 
    line-height: 1.1;  
    text-transform: uppercase;
    letter-spacing: -0.5px; 
}

.texto-sobre p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    max-width: 480px; 
}

.imagem-sobre img {
    width: 100%;
    max-width: 680px; 
    height: auto;
    display: block;
    margin: 0 auto; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); 
}

/* =========================================
   9. SERVIÇOS
   ========================================= */
.servicos-section { 
    background: linear-gradient(to bottom, var(--primary-red) 65%, var(--white) 65%);
    padding: 80px 0 60px; 
}

.servicos-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    color: var(--white);
}

.servicos-title {
    text-align: left; 
}

.servicos-title h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.servicos-desc {
    border-left: 2px solid var(--yellow); 
    padding-left: 30px;
}

.servicos-desc p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.servicos-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.servico-item {
    text-align: center;
}

.servico-img-box {
    background-color: var(--dark-blue);
    height: 320px; 
    width: 100%;
    margin-bottom: 15px;
}

.servico-item h4 {
    color: #000;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.servicos-cta {
    text-align: center;
}

.btn-red-pill {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 50px; 
    display: inline-block;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-red-pill:hover {
    background-color: #c0000e; 
}

/* =========================================
   10. NOSSA SEDE
   ========================================= */
.secao-nossa-sede-completa {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    width: 100%;
    min-height: 500px; 
}

.coluna-imagem-sede-fundo {
    background-color: var(--primary-red); 
    background-image: url('img/foto-sede.png'); 
    background-size: cover;
    background-position: center bottom; 
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.coluna-texto-sede-fundo {
    background-color: var(--dark-blue);
    color: #ffffff;
    display: flex;
    align-items: center; 
    justify-content: center; 
    padding: 60px 40px;
}

.conteudo-texto-sede {
    max-width: 600px;
    width: 100%;
}

.conteudo-texto-sede h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.lista-contatos-sede {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.lista-contatos-sede li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.lista-contatos-sede i {
    color: var(--yellow);
    font-size: 1.3rem;
    margin-top: 4px;
}

.botao-amarelo-sede {
    background-color: var(--yellow);
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.botao-amarelo-sede:hover {
    background-color: #e6b800;
}

/* =========================================
   11. MONTADORAS
   ========================================= */
.manufacturers {
    background-color: #F4F4F4; 
    padding: 60px 0;
}

.manufacturers-layout {
    display: flex;
    align-items: center;
    width: 100%;
}

.manufacturers-title-container {
    flex-shrink: 0;
    padding-right: 40px; 
    margin-right: 40px; 
    border-right: 2px solid #333333; 
}

.manufacturers-title-container .section-title-small {
    text-align: left;
    margin-bottom: 0; 
    font-size: 26px; 
    line-height: 1.2;
    color: var(--primary-red); 
}

.manufacturers-logos-container {
    flex: 1; 
}

.logos-grid-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px 40px; 
    align-items: center; 
    justify-items: center; 
}

.logos-grid-static img {
    max-height: 45px; 
    width: auto;
    object-fit: contain;
}

/* =========================================
   12. NOSSA ESTRUTURA
   ========================================= */
.estrutura-section {
    padding: 80px 0;
    background-color: var(--white); 
}

.estrutura-header {
    text-align: center;
    margin-bottom: 50px;
}

.estrutura-header h2 {
    color: var(--primary-red);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.estrutura-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
}

.foto-item {
    width: 100%;
    height: 250px; 
    overflow: hidden;
    border-radius: 4px; 
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.foto-item:hover img {
    transform: scale(1.05);
}

/* =========================================
   13. DEPOIMENTOS
   ========================================= */
.testimonials {
    background-color: var(--primary-red);
    padding:  40px 0;
}

.testimonials-title {
    color: var(--white);
    margin-bottom: 50px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    align-items: stretch; 
}

.testimonial-card {
    flex: 1;
    background-color: #F4F4F4; 
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-header h3 {
    font-size: 18px;
    margin: 0;
    color: var(--color-black);
    font-weight: 800;
}

.testimonial-header svg {
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 15px;
    color: #333333;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1; 
}

/* =========================================
   14. FINAL CTA E RODAPÉ
   ========================================= */
.final-cta {
    background-color: var(--dark-blue); 
    padding: 80px 0;
    text-align: center;
}

.final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-cta p {
    color: var(--white); 
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 800px; 
    margin: 0 auto 30px auto;
}

.btn-whatsapp-cta {
    background-color: #128C7E; 
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp-cta:hover {
    background-color: #075E54; 
}

.footer {
    background-color: #E2E8F0; 
    padding: 25px 0;
    text-align: center;
}

.footer p {
    color: #64748B; 
    font-size: 14px;
    margin: 0;
}

/* =========================================
   15. BOTÃO WHATSAPP FLUTUANTE
   ========================================= */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000; 
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-whatsapp 2s infinite; 
}

.btn-whatsapp-flutuante:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

.btn-whatsapp-flutuante i {
    color: #ffffff;
}

@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); }
}

/* =========================================
   16. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================= */

/* Tablets e Telas Médias */
@media (max-width: 992px) {
    .navbar-nova {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .menu-centro {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .servicos-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .secao-nossa-sede-completa {
        grid-template-columns: 1fr; 
    }
    .coluna-imagem-sede-fundo {
        min-height: 350px; 
    }
}

/* Celulares e Telas Pequenas */
@media (max-width: 768px) {
    .grid-2, 
    .grid-3, 
    .galeria-grid, 
    .depoimentos-grid { 
        grid-template-columns: 1fr; 
    }
    
    .hero h1 { 
        font-size: 1.8rem; 
    }
    
    .sobre-frota {
        padding: 60px 0;
    }
    
    .sobre-frota .grid-2 {
        gap: 30px;
    }

    .texto-sobre {
        text-align: center; 
        margin-bottom: 40px;
    }

    .texto-sobre h2 {
        font-size: 1.9rem;
    }

    .texto-sobre p {
        text-align: center;
        margin: 0 auto; 
    }
    
    .servicos-section {
        background: var(--primary-red); 
    }
    
    .servicos-top-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .servicos-title {
        text-align: center;
    }
    
    .servicos-desc {
        border-left: none;
        border-top: 2px solid var(--yellow);
        padding-left: 0;
        padding-top: 20px;
    }
    
    .servicos-desc p {
        text-align: center;
    }

    .servicos-cards-grid {
        grid-template-columns: 1fr; 
    }

    .servico-item h4 {
        color: var(--white); 
        margin-bottom: 20px;
    }

    .btn-whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}