/* Configurações Globais */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Efeito de Texto Vazado (Outline) */
.text-outline {
    font-family: 'Impact', sans-serif !important;
    font-weight: normal !important;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    z-index: 0;
    letter-spacing: 0.05em;
}

/* Ocultar barra de rolagem no slider, mas manter funcionalidade */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- Lógica da Navbar Retrátil (IDÊNTICA À HOME) --- */

/* Por padrão, esconde os itens que não são pais da seção ativa quando a nav não está com hover */
nav:not(:hover) .nav-item:not(.active-section-parent) {
    max-width: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Quando passa o mouse na nav, mostra tudo */
nav:hover .nav-item {
    max-width: 200px; /* Valor suficiente para caber o texto */
    opacity: 1;
}

/* Transições suaves para abrir/fechar */
.nav-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

/* Estilo do link ativo */
.nav-link.active-section {
    font-weight: 900;
    color: #ffffff;
}

/* Hover simples no link */
.nav-link:hover {
    color: #ffffff;
    font-weight: 700;
}

/* --- Animações de Scroll (Direcionais) --- */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out; 
    will-change: transform, opacity;
}

.from-left { transform: translateX(-50px); }
.from-right { transform: translateX(50px); }
.from-bottom { transform: translateY(50px); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- ESTILOS DO SLIDER TRAPEZOIDAL (MIGRADOS DA HOMEPAGE) --- */

.frota-skew-item {
    transform: skewX(-12deg);
    transform-origin: center;
    overflow: hidden;
    margin-right: 4px; 
    border-radius: 0; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    isolation: isolate;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background-color: #000; 
}

/* O Conteúdo Interno */
.frota-skew-inner {
    transform: skewX(12deg);
    transform-origin: center;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    position: relative;
    overflow: hidden; 
}

/* A Imagem com ESCALA (ZOOM) */
.frota-skew-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.5); 
    transform-origin: center;
    transition: transform 0.5s ease;
}

/* Efeito Hover na Frota */
.frota-skew-item:hover {
    transform: skewX(-12deg) translateY(-10px) scale(1.02);
    z-index: 50;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border-color: #22c55e;
}

/* Hover na imagem interna */
.frota-skew-item:hover .frota-skew-inner img {
    transform: scale(1.65);
}

/* Ajuste Mobile (Sem skew) */
@media (max-width: 768px) {
    .frota-skew-item {
        transform: none !important;
        margin-right: 15px; 
        border-radius: 0;
        min-width: 280px;
    }
    
    .frota-skew-inner {
        transform: none !important;
    }
    
    .frota-skew-inner img {
        transform: scale(1); 
    }
    
    .frota-skew-item:hover .frota-skew-inner img {
        transform: scale(1.1);
    }
}