/* =========================================
   1. VARIÃVEIS E RESET GLOBAL
   ========================================= */
:root {
    --primary-green: #00A859;
    --dark-green: #004d29;
    --highlight-yellow: #FFD700;
    --primary-blue: #0066CC;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f9f9f9;

    /* Novas variÃ¡veis para melhorias premium */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Font-size responsivo - maior para melhor legibilidade */
    font-size: clamp(16px, 1.1vw, 20px);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--white);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    display: block;
}

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

/* =========================================
   2. HEADER & NAVEGAÃ‡ÃƒO
   ========================================= */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 120px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: var(--transition-base);
}

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

.nav-list a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width var(--transition-base);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* =========================================
   2.1 DROPDOWN MENU (POLÍTICAS)
   ========================================= */
.nav-list>li {
    position: relative;
}

.nav-list>li.has-dropdown>a.dropdown-toggle::after {
    content: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
    margin-top: 5px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: transparent;
}

.nav-list>li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-green);
}

.dropdown-menu li a.active {
    color: var(--primary-green);
    background: #f0fff5;
}

/* =========================================
   2.2 DROPDOWN MEGA (CERTIFICADO AFE)
   ========================================= */
.dropdown-menu.dropdown-mega {
    min-width: 650px;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}



.dropdown-columns {
    display: flex;
    flex-direction: row;
    /* Forçar direção horizontal */
    align-items: stretch;
    width: 100%;
}

.dropdown-col-links {
    width: 250px;
    /* Aumentei um pouco para caber os textos */
    background: var(--white);
    padding: 15px 0;
    flex-shrink: 0;
    border-right: 1px solid #eee;
}

.dropdown-col-afe {
    flex-grow: 1;
    background: linear-gradient(135deg, #e6f7ef 0%, #f0fff4 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Background decorativo (opcional, refinamento) */
.dropdown-col-afe::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../certificado/IMG_6749.JPG.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    /* Imagem de fundo bem suave */
    z-index: 0;
}

.afe-card {
    position: relative;
    z-index: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.afe-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.afe-badge {
    height: 50px;
    /* Ajuste conforme a imagem IMG_2316 */
    width: auto;
    object-fit: contain;
    transform: rotate(-3deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.afe-title {
    display: flex;
    flex-direction: column;
    color: var(--dark-green);
    line-height: 1.1;
}

.afe-title span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.afe-title strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-green);
}

.afe-body {
    text-align: center;
}

.afe-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-green);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

.afe-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.afe-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.afe-icon-item img {
    height: 35px;
    width: auto;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}

.afe-icon-item:hover img {
    transform: scale(1.1);
}

.afe-icon-item span {
    font-size: 9px;
    font-weight: 700;
    color: var(--dark-green);
    text-transform: uppercase;
}

/* =========================================
   3. HERO SECTION (SLIDER FADE)
   ========================================= */
.hero {
    position: relative;
    height: 650px;
    background: #000;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 1400px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: center;
}

.hero-left,
.hero-right {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    margin-bottom: 30px;
    display: inline-block;
    padding-left: 0;
}

.hero-badge .number {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: transparent;
    -webkit-text-stroke: 3px var(--white);
    letter-spacing: -2px;
}

.hero-badge .text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    margin-top: -10px;
}

.hero-left h1,
.hero-right h1 {
    font-size: 32px;
    line-height: 1.4;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* === CONTROLES DO HERO SLIDER (MINIMALISTA ATUALIZADO) === */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    /* Permite clicar no banner entre as setas */
}

.hero-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    width: 60px;
    height: 60px;
    font-size: 50px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: auto;
    /* Reativa o clique nos botÃµes */
}

.hero-btn:hover {
    background: transparent;
    transform: scale(1.2);
    color: #ffffff;
    box-shadow: none;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

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


/* =========================================
   4. SOLUÃ‡Ã•ES (MODELO SOBREPOSTO 2D)
   ========================================= */
.solucoes-overlap {
    position: relative;
    z-index: 50;
    margin-top: -100px;
    margin-bottom: 50px;
}

.solucoes-overlap .container {
    max-width: 1600px;
}

.solucoes-box {
    background: linear-gradient(135deg, #004d29 0%, #003820 100%);
    padding: 30px 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.solucoes-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.solucoes-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    /* Altura da linha, ajuste se quiser mais fina ou grossa */

    /* O Gradiente cria as divisÃµes de cores */
    background: linear-gradient(90deg,
            var(--highlight-yellow) 0%,
            var(--highlight-yellow) 35%,
            /* Lado Esquerdo Amarelo */
            var(--white) 35%,
            var(--white) 65%,
            /* Centro Branco */
            var(--highlight-yellow) 65%,
            var(--highlight-yellow) 100%
            /* Lado Direito Amarelo */
        );

    z-index: 20;
    /* Garante que fique acima de qualquer fundo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Sombra leve para dar destaque */
}

.box-header {
    text-align: center;
    margin-bottom: 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin: 0 auto 15px auto;
    padding-bottom: 8px;
}

.box-header h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Wrapper do Slider */
.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 60px;
    overflow: hidden;
}

/* Trilho de rolagem */
.slider-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 200px;
    padding: 5px 0;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* Item Individual */
.solucao-item {
    min-width: calc(33.33% - 27px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    min-height: 280px;
    position: relative;
    border-radius: 12px;
    padding: 10px 5px;
}

.solucao-item:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* REGRA GERAL DAS IMAGENS DOS CAMINHÃ•ES */

/* 2. Imagem Geral: Removemos margens verticais grandes */
.solucao-item img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 10px auto;
    display: block;
    max-width: 100%;

    /* AQUI ESTÃ O SEGREDO: */
    /* Ele aplica a posiÃ§Ã£o Y e o Scale definidos nas variÃ¡veis acima */
    transform: translateY(var(--pos-y, 0px)) scale(var(--scale, 1));
}

.truck-sider {
    height: 130px;
    --pos-y: 23px;
    --scale: 1;
}

.truck-tanque {
    height: 130px;
    --pos-y: 24px;
    --scale: 1;
    /* Tanque precisa ser maior */
}

.truck-gr {
    height: 130px;
    --pos-y: 19px;
    --scale: 1;
}

.truck-cacamba {
    height: 130px;
    --pos-y: 22px;
    --scale: 1;
}

.truck-camara {
    height: 130px;
    --pos-y: 23px;
    --scale: 1;
}

/* ========================================= */

.item-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-bottom: 20px;
}

.item-info .icon-svg {
    height: 25px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.item-info .icon {
    font-size: 20px;
    color: var(--highlight-yellow);
    display: inline-block;
}

.item-info .truck-icon {
    font-size: 22px;
}

.item-info .warning-icon {
    font-size: 24px;
}

.item-info h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* BotÃµes de NavegaÃ§Ã£o (SoluÃ§Ãµes) */
.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 10;
}

.prev-sol {
    left: 8px;
    background-color: var(--white);
    color: var(--dark-green);
}

.prev-sol:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.15) translateX(-3px);
    box-shadow: var(--shadow-xl);
}

.next-sol {
    right: 8px;
    background: linear-gradient(135deg, var(--highlight-yellow) 0%, #f0c000 100%);
    color: var(--dark-green);
}

.next-sol:hover {
    background: linear-gradient(135deg, #f0c000 0%, #d4a500 100%);
    transform: translateY(-50%) scale(1.15) translateX(3px);
    box-shadow: var(--shadow-xl);
}


/* =========================================
   5. SEÃ‡ÃƒO CONFIANÃ‡A (LAYOUT COLAGEM)
   ========================================= */
.confianca {
    padding: 80px 0;
    background: var(--white);
}

/* NOVO ESTILO: Container do Toggle/Tabs */
.tabs-container-wrapper {
    display: flex;
    justify-content: flex-start;
    /* Alinhado Ã  esquerda como no original */
    margin-bottom: 50px;
}

.tabs-header-left {
    background-color: #f2f2f2;
    padding: 5px;
    border-radius: 50px;
    display: inline-flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    position: relative;
    /* NecessÃ¡rio para posicionar o glider */
}

/* O Glider (CÃ¡psula Branca que se move) */
.tab-glider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background: #fff;
    border-radius: 40px;
    z-index: 1;
    /* Fica atrÃ¡s do texto */
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 0;
    /* JS vai definir a largura */
}

.tabs-header-left .tab-btn {
    background: transparent;
    /* Fundo transparente para ver o glider */
    border: none;
    padding: 14px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    position: relative;
    border-radius: 40px;
    transition: color 0.4s ease;
    z-index: 2;
    /* Fica NA FRENTE do glider */
}

.tabs-header-left .tab-btn:hover {
    color: var(--text-dark);
}

/* Estado Ativo: Apenas muda a cor do texto, o fundo Ã© o glider */
.tabs-header-left .tab-btn.active {
    background-color: transparent;
    color: var(--primary-green);
    box-shadow: none;
    transform: scale(1);
}

/* AnimaÃ§Ã£o do ConteÃºdo */
.tab-content {
    display: none;
    /* Inicia oculto */
}

/* Ao ativar, aplica a animaÃ§Ã£o Keyframe */
.tab-content.active {
    display: block;
    animation: modernTabEntrance 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes modernTabEntrance {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.confianca-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-side h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--dark-green);
    font-weight: 400;
}

.text-side .green-text {
    font-weight: 800;
    color: var(--primary-green);
}

.text-side .highlight-bg {
    background-color: var(--highlight-yellow);
    color: var(--text-dark);
    padding: 2px 10px;
    font-weight: 800;
    display: inline-block;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.benefits-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.check-icon {
    color: var(--highlight-yellow);
    font-weight: 900;
    font-size: 18px;
    margin-top: 2px;
}

.benefits-grid p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

.benefits-grid strong {
    color: var(--text-dark);
    font-weight: 700;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--highlight-yellow) 0%, #f0c000 100%);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #f0c000 0%, #d4a500 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Colagem de Imagens */
.collage-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 500px;
}

.collage-col-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.collage-col-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.collage-col-2 img {
    width: 100%;
    height: calc(50% - 10px);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* =========================================
   6. OPERAÃ‡ÃƒO (MAPA E ESTATÃSTICAS)
   ========================================= */
.operacao {
    padding: 100px 0;
    background: var(--white);
    overflow: visible;
}

.operacao-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.green-title {
    color: var(--primary-green);
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.green-title strong {
    font-weight: 800;
    color: var(--dark-green);
}

.intro-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.stats-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-wrap {
    width: 40px;
    display: flex;
    justify-content: center;
}

.icon-wrap img {
    height: 35px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(21%) sepia(87%) saturate(2335%) hue-rotate(139deg) brightness(93%) contrast(102%);
}

.stat-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-text strong {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.stat-text span {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Mapa */
.map-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.main-map {
    width: 100%;
    max-width: 650px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.map-popup {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.popup-label-matriz {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 15px;
    text-transform: capitalize;
    margin-right: 36%;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.popup-label-posto {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 15px;
    text-transform: capitalize;
    margin-left: 40%;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Imagens Customizadas (Bico/Ponteiro) */
.img-custom-shape {
    width: 320px;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-custom-shape img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.operacao:hover .img-custom-shape img {
    transform: scale(1.05);
}

/* Posicionamento dos Popups */
.popup-matriz {
    bottom: 35%;
    left: 32%;
}

.popup-posto {
    bottom: 28%;
    right: 32%;
}


/* =========================================
   7. NOTÃCIAS (ATUALIZADO)
   ========================================= */
.noticias {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* Fundo levemente cinza como na ref */
    overflow: hidden;
}

/* CabeÃ§alho com Flexbox */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.news-header h2 {
    font-size: 36px;
    color: #000;
}

.news-header h2 strong {
    font-weight: 800;
    /* "NotÃ­cias" bem grosso */
}

.news-header .light-text {
    font-weight: 300;
    /* "em destaque" bem fino */
    color: #333;
}

/* BotÃµes de NavegaÃ§Ã£o (Bolinhas) */
.news-nav {
    display: flex;
    gap: 15px;
}

.news-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.prev-news {
    background-color: var(--white);
    color: #333;
}

.prev-news:hover {
    background-color: #f5f5f5;
    transform: scale(1.1) translateX(-2px);
    box-shadow: var(--shadow-md);
}

.next-news {
    background: linear-gradient(135deg, var(--highlight-yellow) 0%, #f0c000 100%);
    color: #000;
}

.next-news:hover {
    background: linear-gradient(135deg, #f0c000 0%, #d4a500 100%);
    transform: scale(1.1) translateX(2px);
    box-shadow: var(--shadow-md);
}

/* Container do Slider */
.news-slider-wrapper {
    position: relative;
    /* MÃ¡scara para o efeito de fade nas laterais */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.news-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 20px 40px 20px;
    /* EspaÃ§o extra embaixo */
    scrollbar-width: none;
}

.news-track::-webkit-scrollbar {
    display: none;
}

.news-item {
    min-width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.news-card-content {
    background: transparent;
    transition: all var(--transition-base);
    cursor: pointer;
}

.news-item:hover .news-card-content {
    transform: translateY(-8px);
}

.news-img {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
}

.news-item:hover .news-img {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

/* Texto */
.news-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
    display: inline-block;
}

.arrow-icon {
    color: var(--highlight-yellow);
    font-weight: bold;
    margin-left: 5px;
    display: inline-block;
    transition: 0.3s;
}

.news-item:hover .arrow-icon {
    transform: translateX(5px);
}

.news-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Responsivo */
@media (max-width: 768px) {
    .news-header {
        flex-direction: row;
        /* MantÃ©m na mesma linha no mobile */
        align-items: center;
    }

    .news-header h2 {
        font-size: 24px;
    }

    .news-item {
        min-width: 300px;
    }

    /* Card menor no mobile */
    .news-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* =========================================
   8. CLIENTES (AnimaÃ§Ã£o Infinita)
   ========================================= */
.clientes {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
    overflow: hidden;
}

.center-text h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.center-text p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.clients-carousel .track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll 55s linear infinite;
}

.clients-carousel img {
    height: 70px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-base);
    cursor: pointer;
}

.clients-carousel img:hover {
    opacity: 1;
    filter: grayscale(0) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform: scale(1.15);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    /* Imagem de fundo do rodapé */
    background-color: #0b1e13;
    /* Fallback se imagem não carregar */
    background-image: url('assets/images/backgrounds/rodape.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

/* Grid de 4 Colunas */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Estilos Gerais das Colunas */
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--highlight-yellow);
    padding-left: 5px;
}

.brand-col .footer-logo {
    height: 70px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.address-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Coluna 4: Social */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    transition: 0.3s;
}

.social-icons img {
    width: 55px;
    height: 55px;
    filter: brightness(0) invert(1);
    /* Ãcones brancos */
}

.social-icons a:hover {
    transform: translateY(-5px);
}

/* Barra Inferior (Copyright) */
.bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.bottom-bar p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Responsivo do Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 colunas em tablets */
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* 1 coluna em celulares */
        gap: 40px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .brand-col .footer-logo {
        margin: 0 auto 20px auto;
    }
}


/* =========================================
   10. PÃGINA DE SERVIÃ‡OS (ESTILOS ESPECÃFICOS)
   ========================================= */
.page-header {
    background-color: #0a0a0a;
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-header p {
    font-size: 16px;
    color: #ccc;
    font-weight: 400;
}

.services-list {
    background-color: var(--primary-green);
    padding: 80px 0;
    color: var(--white);
}

.services-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

.service-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-img {
    margin-bottom: 20px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service-content h3 strong {
    font-weight: 800;
}

.service-content h3 .icon {
    color: var(--highlight-yellow);
    font-size: 24px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    margin: 0 auto;
}

.stats-box-dark {
    background-color: #004d29;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    width: 100%;
    justify-content: center;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-mini img {
    height: 30px;
    width: auto;
}

.stat-mini strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.stat-mini span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.stats-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--highlight-yellow);
    font-weight: 500;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 250px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* =========================================
   11. RESPONSIVO (MEDIA QUERIES GERAIS)
   ========================================= */
@media (max-width: 992px) {
    .confianca-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .collage-side {
        height: 400px;
    }

    .operacao-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .map-side {
        margin-top: 30px;
    }

    .img-custom-shape {
        width: 160px;
    }

    .popup-matriz {
        left: 10%;
        bottom: 35% !important;
    }

    .popup-posto {
        right: 10%;
        bottom: 20% !important;
    }
}

@media (max-width: 768px) {

    /* --- HEADER & NAV --- */
    .header {
        height: 80px;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding-top: 100px;
        transition: 0.3s;
        box-shadow: none;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-list a {
        font-size: 18px;
    }

    /* --- HERO SECTION --- */
    .hero {
        height: 280px;
        min-height: 280px;
    }

    .hero-slider {
        height: 100%;
    }

    .slide {
        height: 100%;
    }

    .slide-bg {
        height: 100%;
        background-size: cover;
        background-position: center 60%;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        align-items: center;
    }

    .hero-left h1,
    .hero-right h1 {
        font-size: 24px;
        text-align: center;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-badge .number {
        font-size: 80px;
    }

    .hero-badge .text {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .hero-controls {
        padding: 0 10px;
        justify-content: space-between;
    }

    .hero-btn {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    /* --- SOLUÇÕES (LAYOUT MOBILE) --- */
    .solucoes-overlap {
        margin-top: -50px;
    }

    .solucoes-box {
        padding: 25px 0;
        overflow: hidden;
    }

    .box-header h2 {
        font-size: 18px;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    /* Carrossel horizontal com snap scroll */
    .slider-wrapper {
        padding: 0;
        overflow: hidden;
        position: relative;
    }

    .slider-track {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px 5vw;
    }

    .slider-track::-webkit-scrollbar {
        display: none;
    }

    .solucao-item {
        min-width: 90vw;
        width: 90vw;
        flex-shrink: 0;
        scroll-snap-align: center;
        min-height: 150px;
        height: auto;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 15px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .solucao-item img {
        transform: none !important;
        height: auto !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 70px !important;
        margin-bottom: 10px;
        object-fit: contain !important;
        object-position: center !important;
    }

    .item-info {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding-bottom: 0;
    }

    .item-info h3 {
        font-size: 13px;
        text-align: center;
        margin: 0;
    }

    .item-info .icon {
        height: 22px !important;
        width: 22px !important;
        margin: 0 !important;
    }

    /* Botões de navegação visíveis mas menores */
    .nav-btn {
        display: flex;
        width: 32px;
        height: 32px;
        font-size: 14px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        opacity: 0.9;
    }

    .prev-sol {
        left: 3px;
    }

    .next-sol {
        right: 3px;
    }

    /* --- CONFIANÃ‡A --- */
    .confianca {
        padding: 50px 0;
    }

    .tabs-header-left {
        /* No mobile, ajustamos a "Pill" para ocupar 100% ou ser stackada */
        display: flex;
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }

    .tab-glider {
        /* Oculta o glider no mobile se estiverem empilhados, ou ajusta */
        display: none;
    }

    .tabs-header-left .tab-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
        background: #f2f2f2;
        color: #666;
    }

    .tabs-header-left .tab-btn.active {
        background: var(--primary-green);
        color: var(--white);
        box-shadow: var(--shadow-md);
    }

    .confianca-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-side h2 {
        font-size: 28px;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .text-side {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .collage-side {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .collage-col-1,
    .collage-col-2 {
        width: 100%;
        height: 250px;
    }

    .collage-col-2 {
        flex-direction: row;
        gap: 10px;
    }

    /* --- OPERAÃ‡ÃƒO --- */
    .operacao {
        padding: 50px 0;
    }

    .operacao-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-side {
        text-align: center;
    }

    .green-title {
        font-size: 32px;
    }

    .stats-list-vertical {
        align-items: center;
    }

    .stat-row {
        justify-content: center;
    }

    .map-side {
        margin-top: 20px;
        padding: 20px 0;
        flex-direction: column;
        gap: 20px;
    }

    .img-custom-shape {
        width: 120px;
        max-width: 200px;
    }

    .popup-label-matriz,
    .popup-label-posto {
        font-size: 12px;
        margin: 0;
    }

    .map-popup {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
    }

    .main-map {
        order: 1;
    }

    .popup-matriz {
        order: 2;
    }

    .popup-posto {
        order: 3;
    }

    /* --- NOTÃCIAS --- */
    .noticias {
        padding: 50px 0;
    }

    .news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .news-header h2 {
        font-size: 24px;
    }

    .news-track {
        gap: 20px;
        padding: 10px;
    }

    .news-item {
        min-width: 280px;
    }

    .news-img {
        height: 180px;
    }

    /* --- CLIENTES --- */
    .clientes {
        padding: 40px 0;
    }

    .center-text h2 {
        font-size: 24px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .brand-col .footer-logo {
        margin: 0 auto 20px auto;
    }

    .social-icons {
        justify-content: center;
    }

    /* --- SERVIÃ‡OS PAGE --- */
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .services-list {
        padding: 40px 0;
    }

    .services-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .gallery-strip {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
        min-height: 350px;
    }

    .hero-badge .number {
        font-size: 50px;
    }

    .hero-badge .text {
        font-size: 14px;
    }

    .box-header h2 {
        font-size: 16px;
    }

    /* Carrossel mantém comportamento horizontal */
    .solucao-item {
        min-width: 90%;
        padding: 15px 10px;
    }

    .solucao-item img {
        height: 70px !important;
    }

    .item-info h3 {
        font-size: 12px;
    }

    .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   UTILITY CLASSES E ANIMAÃ‡Ã•ES
   ========================================= */

/* AnimaÃ§Ãµes de entrada ao scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
}

/* Hover glow effect */
.glow-on-hover {
    transition: all var(--transition-base);
}

.glow-on-hover:hover {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.solucao-item .item-info img.icon {
    width: auto !important;
    height: 30px !important;
    margin: 0 10px 0 0 !important;
    display: inline-block;
    vertical-align: middle;
}

/* =========================================
   ANIMAÃ‡ÃƒO DE VELOCIDADE (MOTION BLUR)
   ========================================= */

@keyframes truckSpeed {
    0% {
        transform: translateX(0) skewX(0deg);
        filter: blur(0px);
    }

    20% {
        transform: translateX(20px) skewX(-6deg);
        filter: blur(2px);
    }

    60% {
        transform: translateX(-5px) skewX(2deg);
        filter: blur(0px);
    }

    100% {
        transform: translateX(0) skewX(0deg);
    }
}

/* Classe ativada pelo Javascript */
.driving-animation {
    animation: truckSpeed 0.6s ease-out;
    will-change: transform, filter;
}

/* =========================================
   ANIMAÃ‡Ã•ES DE VELOCIDADE (DIREITA E ESQUERDA)
   ========================================= */

/* AnimaÃ§Ã£o Normal (BotÃ£o Direito -> Vai pra Esquerda/Frente) */
@keyframes truckSpeed {
    0% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(0) skewX(0deg);
        filter: blur(0px);
    }

    20% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(20px) skewX(-6deg);
        filter: blur(2px);
    }

    60% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(-5px) skewX(2deg);
        filter: blur(0px);
    }

    100% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(0) skewX(0deg);
    }
}

/* Indo para trÃ¡s (Reverse) */
@keyframes truckSpeedReverse {
    0% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(0) skewX(0deg);
        filter: blur(0px);
    }

    20% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(-20px) skewX(6deg);
        filter: blur(2px);
    }

    60% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(5px) skewX(-2deg);
        filter: blur(0px);
    }

    100% {
        transform: translateY(var(--pos-y)) scale(var(--scale)) translateX(0) skewX(0deg);
    }
}

/* Classes ativadas pelo JS */
.driving-forward {
    animation: truckSpeed 1.2s ease-out;
    will-change: transform, filter;
}

.driving-reverse {
    animation: truckSpeedReverse 1.2s ease-out;
    will-change: transform, filter;
}

/* Regra para permitir que a altura seja controlada individualmente */
.service-img img {
    width: auto !important;
    max-width: none !important;
}

/* Sider */
.svc-sider,
.svc-gr,
.svc-camara {
    height: 90px !important;
    transform: scale(1.2);
}

/* 2. Ajuste do TANQUE (CaminhÃ£o Comprido) */
.svc-tanque {
    height: 70px !important;
    transform: scale(1.6) translateY(5px);
    margin-bottom: 10px;
}

/* 3. Ajuste da CAÃ‡AMBA (CaminhÃ£o Alto) */
.svc-cacamba {
    height: 70px !important;
    transform: scale(1.55) translateY(5px);
    margin-bottom: 10px;
}

/* =========================================
   SEÃ‡ÃƒO DE CONTATO
   ========================================= */
.contato-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* FormulÃ¡rio de Contato */
.contato-form-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.contato-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, #008f4a 100%);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #008f4a 0%, #007a3d 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* InformaÃ§Ãµes de LocalizaÃ§Ã£o */
.contato-info-wrapper {
    background: linear-gradient(135deg, var(--dark-green) 0%, #003820 100%);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contato-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight-yellow) 0%, var(--white) 50%, var(--highlight-yellow) 100%);
}

.contato-info-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.info-section {
    margin-bottom: 35px;
}

.info-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--highlight-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.social-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--highlight-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-section .social-icons {
    display: flex;
    gap: 15px;
}

.social-section .social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-section .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-section .social-icons img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

/* =========================================
   RESPONSIVO - SEÃ‡ÃƒO DE CONTATO
   ========================================= */
@media (max-width: 992px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-info-wrapper {
        order: 2;
    }

    .contato-form-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contato-section {
        padding: 60px 0;
    }

    .contato-form-wrapper h2 {
        font-size: 28px;
    }

    .contato-subtitle {
        font-size: 14px;
    }

    .contato-info-wrapper h3 {
        font-size: 24px;
    }

    .info-section h4,
    .social-section h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contato-form-wrapper h2 {
        font-size: 24px;
    }

    .submit-btn {
        width: 100%;
        align-self: stretch;
        text-align: center;
    }
}

/* Estilo para o Mapa do Google Maps na seÃ§Ã£o de contato */
.map-container {
    width: 100%;
    height: 250px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   NOVO RODAPÃ‰ (MODERN DARK)
   ========================================= */

/* 1. CTA Flutuante (Barra Amarela/Verde acima) */
.footer-cta-wrapper {
    position: relative;
    z-index: 10;
    margin-bottom: -30px;
    pointer-events: none;
}

.footer-cta-box {
    background: linear-gradient(135deg, #FFD700 0%, #f0c000 100%);
    border-radius: 16px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    position: relative;
}

.cta-text h3 {
    font-size: 24px;
    color: #004d29;
    font-weight: 800;
    margin-bottom: 5px;
}

.cta-text p {
    color: #333;
    font-weight: 500;
    margin: 0;
}

.cta-button-footer {
    background: #004d29;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 77, 41, 0.3);
}

/* 2. Footer Principal */
.modern-footer {
    background-color: #004d29;
    background-image: url('assets/images/backgrounds/rodape.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding-top: 40px;
    padding-bottom: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Títulos */
.f-col h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.f-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #FFD700;
    margin-top: 8px;
    border-radius: 2px;
}

/* Descrição e Logo */
.f-logo {
    height: 50px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.f-desc {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 280px;
}

/* Links */
.f-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-col ul li {
    margin-bottom: 8px;
}

.f-col ul li a {
    color: #aebab5;
    font-size: 12px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.f-col ul li a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

/* Contato */
.contact-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px !important;
    align-items: flex-start;
}

.contact-list .icon {
    font-size: 18px;
    color: #FFD700;
}

/* Redes Sociais */
.f-socials {
    display: flex;
    gap: 15px;
}

.f-socials a img {
    width: 24px;
    height: 24px;
    filter: invert(77%) sepia(11%) saturate(166%) hue-rotate(106deg) brightness(91%) contrast(86%);
    transition: 0.3s;
}

.f-socials a:hover img {
    filter: invert(86%) sepia(28%) saturate(1074%) hue-rotate(359deg) brightness(102%) contrast(106%);
    transform: translateY(-3px);
}

/* Redes Sociais Grandes */
.f-socials-large {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.f-socials-large a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.f-socials-large a img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.f-socials-large a:hover {
    transform: translateY(-3px);
}

.f-socials-large a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(255, 255, 255, 0.4));
}

/* Endereço no Footer */
.f-address {
    margin-top: 15px;
}

.f-address p {
    font-size: 12px;
    color: #aebab5;
    margin: 0;
    line-height: 1.6;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.legal-links a {
    color: #aebab5;
    margin: 0 10px;
    text-decoration: none;
}

.legal-links a:hover {
    color: white;
}

/* Responsivo */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }

    /* Dropdown menu responsivo */
    .nav-list>li.has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        background: transparent;
        display: none;
    }

    .nav-list>li.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 30px;
        font-size: 12px;
    }

    .dropdown-menu li a:hover {
        padding-left: 35px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   AJUSTE ESPECÃFICO - PÃGINA DE SERVIÃ‡OS
   ========================================= */
.cta-servicos {
    margin-top: -30px;

    margin-bottom: -110px;
}

.cta-servicos+.modern-footer {
    padding-top: 180px;
}

/* =========================================
   CORREï¿½ï¿½ES DE RESPONSIVIDADE MOBILE
   ========================================= */

/* Corrige imagens dos caminhï¿½es saindo da tela no mobile */
@media (max-width: 768px) {
    .service-img {
        overflow: hidden !important;
        max-width: 100%;
        padding: 0 10px;
    }

    .service-img img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        object-fit: contain !important;
    }

    /* Remove transformaï¿½ï¿½es especï¿½ficas dos caminhï¿½es no mobile */
    .svc-sider,
    .svc-gr,
    .svc-camara,
    .svc-tanque,
    .svc-cacamba {
        transform: scale(1) !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }

    /* Corrige espaï¿½amento do mapa com Matriz e Posto */
    .map-side {
        margin-top: 30px !important;
        padding: 30px 0 !important;
        gap: 35px !important;
        align-items: center !important;
    }

    .img-custom-shape {
        width: 150px !important;
        max-width: 180px !important;
    }

    .popup-label-matriz,
    .popup-label-posto {
        font-size: 14px !important;
        margin: 12px 0 !important;
        font-weight: 600 !important;
    }

    .map-popup {
        margin: 25px 0 !important;
        text-align: center !important;
    }

    .main-map {
        margin-bottom: 25px !important;
    }

    .popup-matriz {
        margin-bottom: 20px !important;
    }
}

/* Ajustes extras para telas muito pequenas */
@media (max-width: 480px) {
    .service-img {
        height: auto !important;
        min-height: 120px;
    }

    .map-side {
        gap: 40px !important;
    }

    .img-custom-shape {
        width: 130px !important;
    }
}

/* Botão Base - Adicionamos transição suave */
.submit-btn {
    /* ... mantenha suas configurações de cor, fonte, padding ... */
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    /* A mágica da suavidade */
}

/* Estado Carregando: Cinza, levemente transparente e cursor de espera */
.submit-btn.loading {
    background-color: #6c757d;
    color: transparent;
    /* Esconde o texto original suavemente */
    pointer-events: none;
    cursor: wait;
}

/* Spinner Minimalista Centralizado */
.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    /* Metade da altura para centralizar */
    margin-left: -10px;
    /* Metade da largura para centralizar */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

/* Estado Sucesso: Verde e leve aumento de escala */
.submit-btn.success {
    background-color: #28a745 !important;
    color: #fff !important;
    transform: scale(1.02);
    /* Um leve "pop" para dar satisfação */
}

/* Classe para suavizar a limpeza dos inputs */
.contato-form input,
.contato-form textarea {
    transition: opacity 0.5s ease, background-color 0.5s ease;
}

.inputs-fading {
    opacity: 0.4;
    /* Os inputs ficam meio transparentes enquanto envia */
    background-color: #f9f9f9;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   MEDIA QUERIES PARA TELAS GRANDES
   ========================================= */

/* Telas Full HD e maiores (1920px+) */
@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1600px;
    }

    .hero {
        min-height: 85vh;
    }
}

/* Telas 2K e Ultrawide (2560px+) */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }

    .container {
        max-width: 2000px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Telas 4K (3840px+) */
@media (min-width: 3840px) {
    html {
        font-size: 24px;
    }

    .container {
        max-width: 2800px;
    }
}