*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html, body {
    width: 100%; /* Use % e não vw para evitar conflito com scrollbar vertical */
    max-width: 100%; /* Garante que não passe do limite */
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-x: hidden; /* Oculta a barra lateral do navegador */
    position: relative; /* Ajuda a conter elementos absolutos */
}


#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 */
    background-image: url('imagens-sobre/frotas\ \ \(4\).png');
    background-position: top center;
}

.desktop{
    display: none;
}

/* --- 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: 80px;
    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; }
/* Abas */

.s1{
    position: absolute;
    top: 160px;
    width: 100%;
}

.s1, h1{
    font-weight: 100;
    font-size: 2.5rem;
    font-family: sans-serif;
    color: #ffffff;
    width: 100%;
    text-align: center;
}

.titulo-sec{
    width: 100%;
    padding-bottom: 50px;
}

.titulo-sec > h1{
    text-align: center;
}

.s2{
    position: absolute;
    width: 100%;
    height: 650px;
    top: 230px;
    display: flex;
    align-items: start;
    justify-content: center;
    
}

.logo-sobre{
    
    width: 30%;
    text-align: center;
    height: 90px;
    padding-top: 30px;
    transform: scale(0.5);
}

.text{
    width: 92%;
    height: 85%;
    border-radius: 30px;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.247);
    background-color: #ffffffde;
    padding: 10px;
   
}

.text > .texto-principal >  p{
    font-size: 1.1rem;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5rem;
    text-indent: 20px;
    text-align: justify;    
    padding: 5px 10px;
}


@keyframes navEntrada {
    0% {
        opacity: 0;
        transform: scale(1.15) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* --- CLASSE BASE --- */
.hero-anim {
    opacity: 0; /* Começa invisível */
    animation-duration: 1.5s; /* Duração cinematográfica */
    animation-fill-mode: forwards; /* Fica visível no final */
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); /* Movimento suave */
}

/* --- MOVIMENTO 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); }
}

/* --- MOVIMENTO 2: SOBE SUAVE (Para a Caixa de Texto) --- */
.sobe-suave {
    animation-name: fadeInUp;
    transform: translateY(60px); /* Começa 60px abaixo */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- DELAYS (A Ordem de Entrada) --- */
.delay-1 { animation-delay: 0.2s; } /* Título entra primeiro */
.delay-2 { animation-delay: 0.5s; } /* Texto espera quase 1s e entra depois */