* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* 1. CONFIGURAÇÃO DO FUNDO DESFOCADO */
html,
body {
    background: rgba(51, 51, 51, 0.58);
    /* Importante para ver a div de fundo */
    min-height: 100vh;
}

#bg-desfocado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Fica atrás de tudo */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(12px);
    /* Nível do desfoque */
    transform: scale(1.05);
    /* Aumenta um pouco para evitar bordas brancas */

    transition: background-image 0.5s ease-in-out;
    /* Transição suave */
}

/* 2. BARRA DE NAVEGAÇÃO */
.s-nav {
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    height: 100px;
}

/* --- Atualize a sua nav atual --- */
/* --- 1. CONFIGURAÇÕES GERAIS DE NAV --- */
.nav-pc {
    display: none;
    /* Esconde a nav de PC no celular */
}

/* --- 2. WRAPPER MOBILE (Pai) --- */
#mobile-wrapper {
    display: flex;
    position: fixed;
    top: 20px;
    left: 2%;
    width: 96%;
    height: 60px;
    z-index: 2000;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    /* Permite clicar através dos espaços vazios */
}

/* --- 3. CÁPSULA (Logo + Contato) --- */
.mobile-capsule {
    width: 75%;
    max-width: 370px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 80px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 20px;
    pointer-events: auto;
}

.m-logo img {
    width: 120px;
    height: 120px;
    margin-top: 20px;
    margin-left: 10px;
}

.btn-m-contato {
    background-color: #155DFC;
    color: white;
    text-decoration: none;
    padding: 23px 25px;
    border-radius: 50px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    border: none;
    outline: none;
    display: block;
    transition: ease-in-out .3s;
}

.btn-m-contato:hover {
    transform: scale(1.07);
}

/* --- 4. BOTÃO HAMBÚRGUER --- */
#btn-lateral-solto {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 50%;
    border: none;
    outline: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: ease-in-out .3s;
}

#btn-lateral-solto:hover {
    transform: scale(1.07);
}

/* Ícone Risco e Animação */
.risco {
    width: 25px;
    height: 2px;
    background: white;
    position: relative;
    display: block;
    transition: 0.3s;
}

.risco::before,
.risco::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.risco::before {
    top: -8px;
}

.risco::after {
    top: 8px;
}

/* Estado Ativo (Aberto) */
#mobile-wrapper.ativa #btn-lateral-solto {
    background-color: #155DFC;
}

#mobile-wrapper.ativa .risco {
    background: transparent;
}

#mobile-wrapper.ativa .risco::before {
    transform: rotate(45deg);
    top: 0;
}

#mobile-wrapper.ativa .risco::after {
    transform: rotate(-45deg);
    top: 0;
}

/* --- 5. MENU FLOAT (Lista de Links) --- */
.menu-card-float {
    position: absolute;
    top: 90px;
    right: 0;
    width: 250px;
    background: rgba(18, 18, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
}

#mobile-wrapper.ativa .menu-card-float {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.m-link {
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.m-link:last-child {
    border-bottom: none;
}

/* 3. TÍTULOS E SEÇÕES */
.titulo-sec {
    width: 50%;
    padding-bottom: 20px;
}

.titulo-sec>h1 {
    text-align: center;
    font-weight: 100;
    font-size: 2.5rem;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

.s2 {
    height: 520px;
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
    /* Necessário para os botões absolute funcionarem */
    touch-action: pan-y;
}

.bloco-s2 {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.055);
    width: 94%;
    max-width: 610px;
    height: 480px;
    border-radius: 30px;
    display: none;
    /* Escondido por padrão */
    animation: fadeEffect 0.8s;
    background-color: white;
    /* Fundo branco para o card */
}

/* Quando ativo, aparece */
.bloco-s2.ativo {
    display: block;
}

.img-content {
    height: 50%;
    min-height: 240px;
    background-color: black;
    border-radius: 30px 30px 0px 0px;
    background-size: cover;
    background-position: center;
}

.text-content {
    border: 1px solid rgba(0, 0, 0, 0.205);
    z-index: 1;
    border-top: none;
    height: 50%;
    border-radius: 0px 0px 30px 30px;
}

.text-content>h2 {
    padding: 15px 30px 10px 30px;
    color: #155DFC;
    font-size: 1.6rem;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
}

.text-content>p {
    padding: 30px;
    padding-top: 0px;
    font-size: 0.9rem;
    line-height: 1.3rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    display: block;
    text-align: justify;
}

/* Imagens individuais de cada bloco */
#bloco-1 .img-content {
    background-image: url('imagens-frota/vuc\ Padrao.png');
    background-size: cover;
}

#bloco-1{
    order: 1;
}

#bloco-1{
    order: 2;
}
#bloco-3{
    order: 5;
}
#bloco-4{
    order: 3;
}
#bloco-5{
    order: 4;
}
#bloco-2 .img-content {
    background-image: url('imagens-frota/tres\ quartos\ Padrao.png');
    background-size: cover;
    
}

#bloco-3 .img-content {
    background-image: url('imagens-frota/carreta\ Padrao.png');
    background-size: cover;
}

#bloco-4 .img-content {
    background-image: url('imagens-frota/toco\ Padrao\ \(2\).png');
    background-size: cover;
}

#bloco-5 .img-content {
    background-image: url('imagens-frota/Truck\ Padrao.png');
    background-size: cover;
}

/* 4. BOTÕES E INDICADORES */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Centraliza verticalmente exato */
    background-color: rgba(151, 151, 151, 0.2);
    color: #155DFC;
    font-size: 35px;
    padding: 5px 16px;
    cursor: pointer;
    border-radius: 100%;
    border: 2px solid rgba(0, 0, 0, 0.06);
    user-select: none;
    /* Impede de selecionar o texto da seta */
    z-index: 10;
    transition: 0.3s;
    text-decoration: none;
}

.nav-btn:hover {
    color: #0e3b9b;
}

.prev {
    left: 15%;
    display: none;
}

.next {
    right: 15%;
    display: none;
}

.indicadores {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 10px;
}

.dot:hover {
    background-color: #155DFC;
    width: 30px;
}

.dot.ativo {
    background-color: #155DFC;
    width: 50px;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.bloco-s2 {
    display: none;
    /* JS vai alterar para 'flex' apenas o ativo */
    /* Animação suave opcional */
    animation: fadeEffect 1.5s;
}

/* Animação necessária se usar a propriedade acima */
@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* --- 2. ANIMAÇÕES DE INTRODUÇÃO --- */

.hero-anim {
    opacity: 0; /* Começa invisível */
    animation-duration: 1.5s;
    animation-fill-mode: forwards; /* Mantém visível no final */
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Vem da Esquerda (Para o Título) */
.vem-da-esq {
    animation-name: slideInLeft;
    transform: translateX(-50px);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Sobe Suave (Para o Slider) */
.sobe-suave {
    animation-name: fadeInUp;
    transform: translateY(60px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DELAYS --- */
.delay-1 { animation-delay: 0.2s; } /* Título */
.delay-2 { animation-delay: 0.5s; } /* Slider */