* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    /* COLOQUE ELA AQUI */
    width: 100%;
    min-height: 100vh;
}

.topoc {
    height: 80vh;
    width: 100%;
    position: relative;
    background-image: url('imagens/fundo\ mobile\ first\ topoc\ \(1\).png');
    background-position: center bottom;
    background-size: cover;
   
}

a{
    text-decoration: none;
    color: white;
}

.nav-pc{
    display: none;
}

.btn-pc{
    display: none;
}

.p-pc{
    display: none;
}


#bloco {
    position: absolute;
    top: 25%;
    left: 3%;
   
}

.titulo-principal>h1 {
    color: #155DFC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.2rem;
    padding-bottom: 10px;
}

.btn-di {
    margin-top: 5%;
}

.btn-di> a > .btn-mobile-t {
    padding: 10px 25px;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #3877ff;
    color: rgb(255, 255, 255);
    transition: ease-in-out .3s;
    border: none;
}

.btn-di> a> .btn-mobile-t:hover {
    transform: scale(1.1);
    background-color: #234898;
}


/* 2. Configura o Container Pai (Onde as peças flutuam) */
#mobile-wrapper {
    display: flex;
    position: fixed;
    top: 20px;
    left: 2%;
    width: 96%;
    height: 80px;
    z-index: 2000;
    gap: 10px;
    /* Espaço entre a Barra e o Botão do Menu */
    align-items: center;
    /* Alinha verticalmente */
    justify-content: space-between;
    /* Espalha as peças */
    pointer-events: none;
    /* Deixa clicar no site através dos espaços vazios */
}

/* 3. PEÇA 1: A CÁPSULA (Logo + Contato) */
.mobile-capsule {
    /* Ocupa a maior parte do espaço */
    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;
    /* Padding interno */

    pointer-events: auto;
    /* Habilita cliques */
}

.m-logo img {
    width: 120px;
    height: 120px;
    margin-top: 20px;
    margin-left: 10px;
}

/* Botão de Contato (Limpo) */
.btn-m-contato {
    background-color: #155DFC;
    color: white;
    text-decoration: none;
    padding: 23px 25px;
    border-radius: 50px;
    /* Redondinho */
    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. PEÇA 2: O BOTÃO HAMBÚRGUER (SOLTO) */
#btn-lateral-solto {
    width: 80px;
    /* Quadrado/Redondo */
    height: 80px;

    background-color: rgba(0, 0, 0, 0.55);
    /* Mesma cor da barra */
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 50%;
    /* Quadrado arredondado (estilo iOS/Moderno) */

    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);
}

/* O ícone (risquinho) */
.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;
}

/* Animação ao Abrir */
#mobile-wrapper.ativa #btn-lateral-solto {
    background-color: #155DFC;
    /* Muda de cor quando ativo! */
}

#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. O MENU CARD (FLUTUANTE) */
.menu-card-float {
    position: absolute;
    top: 90px;
    /* Abaixo das barras */
    right: 0;
    /* Alinhado com o botão hambúrguer */
    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);
    /* Efeito pulinho */

    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;
}


.s2{
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
}

.blocos2{
    width: 92%;
    height: 90%;
    border-radius: 20px;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.15);
    padding: 6%;
    padding-top: 8%;
    background-color: rgba(255, 255, 255, 0.8);
}
.content>h1{
    color: #254b9c;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    font-size: 1.7rem;
    line-height: 2.2rem;
    margin-bottom: 20px;
}
.content > .mobile{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 100;
    line-height: 1.55rem;
    text-align: justify;
    text-indent: 10px;
    margin-bottom: 20px;
}

.btn-s2{
    background-color: #6092ff;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    padding: 10px 17px;
    font-size: 1rem;
    border-radius: 20px;
    color: rgba(255, 255, 255, 1);
    transition: ease-in-out .2s;
   box-shadow: 0px 0px 6px 1px rgba(9, 21, 255, 0.2);
}
.btn-s2:hover{
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0px 0px 6px 1px rgba(9, 21, 255, 0.5);
}

.s3{
    height: 1600px;
    width: 100%;
}
.titulos3 > h1{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #103991;
}
.cont-s3{
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.25);
    margin: auto;
    margin-bottom: 40px;
    height: 460px;
    width: 94%;
    max-width: 480px;
    border-radius: 20px;
    transition: ease-in-out .3s;
}



.img-s3{
    background-color: black;
    width: 100%;
    height: 53%;
    border-radius: 20px 20px 0px 0px;
}

#img-s3-1{
    background-image: url('/imagens/s3/frotas\ mobile.png');
    background-size: cover;
    
}

#img-s3-2{
    background-image: url('/imagens/s3/IMG\ -\ S3\ -\ CARGAS-MOBILE\ .png');
    background-size: cover;

}

#img-s3-3{
    background-image: url('/imagens/s3/IMG\ -\ S3\ -\ PONTOS\ -MOBILE\ .png');
    background-size: cover;
}

.content-s3{
    padding: 15px;
}

.content-s3 > h2{
    font-size: 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    margin-bottom: 5px;
    color: #155DFC;
}

.content-s3 > .mobile{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 100;
    text-indent: 10px;
    text-align: justify;
    line-height: 1.5rem;
}

.btn-s3{
    margin-top: 15px;
    margin-left: 75%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    color: black;
    color: #155DFC;
    transition: ease-in-out .3s;
}

.btn-s3:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.205);
}

.h1-s4 > h1 {
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-bottom: 40px;
}
.s4 {
    position: relative;
    overflow: hidden;
    height: 550px; /* Altura fixa para o slider */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 200px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- ESTILO DOS CARDS NO MOBILE (Slide Simples) --- */
.bloco-s4 {
    position: absolute; /* Um em cima do outro */
    width: 90%;
    max-width: 350px;
    height: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
   transition: all 0.8s ease-in-out;
    
    /* Estado padrão (Escondido) */
    opacity: 0; 
    transform: translateX(50px); /* Leve movimento pra direita */
    z-index: 1;
    pointer-events: none; /* Não clica se não tiver visível */
}

/* Quando está ATIVO (Visível) */
.bloco-s4.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 5;
    pointer-events: auto;
}

/* Quando é o ANTERIOR (Sai pra esquerda) */
.bloco-s4.prev {
    opacity: 0;
    transform: translateX(-100px);
}

/* Quando é o PRÓXIMO (Fica na direita esperando) */
.bloco-s4.next {
    opacity: 0;
    transform: translateX(100px);
}

/* --- ESCONDE BOTÕES NO MOBILE --- */
.nav-btn {
    display: none;
}

.img-s4{
    width: 100%;
    height: 300px;
    background-color: black;
    border-radius: 20px 20px 0px 0px;
}

.content-s4{
    text-align: center;
}

.content-s4 > h2{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #222222;
    margin-top: 30px;
    margin-bottom: 30px;
}

.but-s4{
    text-align: center;
}

.btn-s4{
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.201);
    border: none;
    background-color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 1.3rem;
    color: black;
    color: #155DFC;
    transition: ease-in-out .3s;
    margin-bottom: 15px;
}

.btn-s4:hover{
    transform: scale(1.1);
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.201);
}

/* --- ESTILO DOS INDICADORES (MOBILE) --- */
.indicadores {
    
    position: absolute;
    bottom: 20px;
    top: 540px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20; /* Garante que fica por cima */
}

.indicador {
    width: 10px;
    height: 10px;
    background-color: #ccc; /* Cor inativa (cinzento) */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Estado Ativo (Bolinha selecionada) */
.indicador.ativo {
    background-color: #155DFC; /* Azul da tua marca */
    width: 25px; /* Estica um pouco para dar estilo (pílula) */
    border-radius: 10px;
}

.pc-g{
    display: none;
}

#img-s4-1{
    background-image: url('/imagens/S4/sul\ s4.png');
}

#img-s4-2{
    background-image: url('/imagens/S4/Sudeste\ s4.png');
}

#img-s4-3{
    background-image: url('imagens/S4/Nordeste\ s4.png');
}

.titulo-s4 > h1{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    margin-bottom: 10px;
}

#s3-2 {
    display: flex;
    flex-direction: column-reverse; 
}




/* =========================================
   1. CORREÇÃO DE ORDEM (BLOCO 2 - S3)
   ========================================= */
/* No seu HTML, o Bloco 2 tem o texto antes da imagem. 
   Para ficar igual aos outros (Imagem na Esquerda), usamos row-reverse. */
@media screen and (min-width: 768px) {
    #s3-2 {
        flex-direction: row-reverse; 
    }
}

/* =========================================
   SISTEMA DE ANIMAÇÃO (CORREÇÃO FINAL DE ORDEM)
   ========================================= */

/* A animação começa pausada e o JS dá o 'play' */
.animar {
    opacity: 0;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-play-state: paused; /* Aguarda o Scroll */
}

/* Quando o JS ativa, a animação roda */
.animar.ativo-reveal {
    animation-play-state: running;
}

/* --- DEFINIÇÃO DOS MOVIMENTOS (Keyframes) --- */

/* Esquerda */
.vem-da-esquerda { animation-name: entradaEsquerda; }
@keyframes entradaEsquerda {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Direita */
.vem-da-direita { animation-name: entradaDireita; }
@keyframes entradaDireita {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Baixo */
.vem-de-baixo { animation-name: entradaBaixo; }
@keyframes entradaBaixo {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- DELAYS (Cascata) --- */
#s3-2 { animation-delay: 0.2s; }
#s3-3 { animation-delay: 0.4s; }

/* =========================================
   HOVER RÁPIDO (Sem conflito)
   ========================================= */
#s3-1:hover, #s3-2:hover, #s3-3:hover {
    transform: scale(1.03); 
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

/* =========================================
   HERO E NAV (Mantidos)
   ========================================= */
.hero-anim {
    opacity: 0;
    animation: entradaBaixo 1s forwards 0.2s;
}

.vem-da-esq { animation-name: entradaEsquerda; } /* Reutiliza a animação */
.sobe-suave { animation-name: entradaBaixo; }

.titulo-principal h1.destaque {
    color: white;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.3);
}

.titulo-principal h1 { display: block; margin-bottom: 5px; }

/* Nav Zoom Out (PC) */
@media screen and (min-width: 1024px) {
    .nav-pc {
        animation: navEntrada 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        transform-origin: center top; 
    }
}

@keyframes navEntrada {
    0% { opacity: 0; transform: scale(1.15) translateY(-20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

footer{
    width: 100%;
    background-color: #2222222d;
    
}

.content-footer{
    margin: auto;
    height: 100px;
    width: 60%;
    display: flex;
    flex-wrap: wrap-reverse;
    align-content: flex-end;
    justify-content: space-around;
     backdrop-filter: saturate(180%) blur(20px);
     padding-top: 10px;
}

.content-footer > h2{
    padding-top: 20px;
    height: 74px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 1rem;
    color: #123e9c;
}

.line{
    width: 100%;
    height: 1px;
    background-color: #22222242;
}
