*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    position: relative;
}
html{
    background-color: rgba(255, 255, 255, 0.788);
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
}
/* --- Atualize a sua nav atual --- */
/* --- 1. CONFIGURAÇÕES GERAIS DE NAV --- */
.nav-pc {
    display: none; /* Esconde a nav de PC no celular */
}

.s-nav{
    background-color: transparent;
}

/* --- 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; }

.s1{
    display: block;
    top: 120px;
    right:25%;
    height: 160px;
}

.s1, h1{
    font-weight: 100;
    font-size: 2.2rem;
    font-family: sans-serif;
    color: #155DFC;
    text-align: center;
}


.s2 {
    padding-top: 40px;
    position: relative;
    width: 100%;
    /* Removido o display flex fixo anterior para permitir o controle via JS, 
       mas o conteúdo interno usará flex */
    display: block; 
    overflow: hidden; /* Importante para o swipe não quebrar a tela */
    height: 600px;
   
}



.logo-sobre{
    
    width: 100%;
    text-align: center;
    height: 55%;
}


.text{
    margin-left: auto;
    margin-right: auto;
    width: 94%;
    height: 500px;
    border-radius: 30px;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.4);
    background-color: rgba(255,255,255,0.8);
}


.text > .texto-principal >  p{
    font-size: 0.9rem;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4rem;
    text-indent: 10px;
    text-align: justify;    
    padding: 10px 20px;
}

h2{
    color: #155DFC;
    font-size: 1.8rem;
    font-weight: 100;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 20px;
    margin-top: 15px ;

}

#Sudeste{
    background-image: url('rotas-imagens/sudeste\ \(720\ x\ 275\ px\).png');
    background-position: top right;
    border-radius: 30px 30px 0px 0px;
}

#sul{
    background-image: url('rotas-imagens/sul\ \(720\ x\ 275\ px\).png');
    border-radius: 30px 30px 0px 0px;
    background-position: center center;
}

#nordeste{
    background-image: url('rotas-imagens/Nordeste\ \ \(720\ x\ 275\ px\).png');
    border-radius: 30px 30px 0px 0px;
    background-position: center center;
}

.slide-item {
    display: none;
    width: 100%;
    height: 100%;
    /* Mantém o layout interno que você já tinha */
    display: flex; 
    align-items: start;
    justify-content: space-evenly;
    /* Animação */
    animation-name: fade;
    animation-duration: 1.5s;
}

/* Animação de transição suave */
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* --- BOTÕES DE NAVEGAÇÃO (Setas) --- */
/* 4. Estilo das Setas de Navegação */
.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;
    display: none;
}

.next {
    right: 0;
    border-radius: 100%;
}

.prev {
    left: 0;
    border-radius: 100%;
}

.nav-btn:hover {
    background-color: #155DFC;
    color: white;
}

.dots-container {
    position: absolute;
    bottom: 20px; /* Distância do fundo */
    width: 100%;
    text-align: center;
    z-index: 101;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb; /* Cor inativa */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3); /* Sombra para ver no fundo claro */
}

.dot.active, .dot:hover {
    background-color: #155DFC; /* Cor ativa (Azul do seu tema) */
    transform: scale(1.1);
}


/* --- 2. TÍTULO (Vem da Esquerda) --- */
.hero-anim {
    opacity: 0;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vem-da-esq {
    animation-name: slideInLeft;
    transform: translateX(-50px);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- 3. O NOVO EFEITO: FOCUS IN (Zoom + Blur) --- */
/* Aplica um zoom suave vindo de trás e focando a imagem */
.focus-effect {
    animation-name: focusIn;
    /* Começa um pouco menor e desfocado */
    transform: scale(0.92); 
    filter: blur(8px);
}

@keyframes focusIn {
    0% {
        opacity: 0;
        transform: scale(0.92);
        filter: blur(8px); /* Começa embaçado */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Tamanho normal */
        filter: blur(0px); /* Fica nítido */
    }
}

/* --- DELAYS --- */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.5s; }