.btn-mobile {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    position: relative;
    transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--color-text);
    left: 0;
    transition: 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.btn-mobile.ativo .hamburger { background: transparent; }
.btn-mobile.ativo .hamburger::before { top: 0; transform: rotate(45deg); }
.btn-mobile.ativo .hamburger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {

    .cabecalho-principal {
        padding: 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo img {
        height: 40px; 
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .btn-mobile {
        display: flex;
        align-items: center;
        z-index: 1001; 
        order: 3;
    }

    .acoes-usuario {
        order: 2; 
        margin-left: auto; 
        margin-right: 10px;
    }
    
    .acoes-usuario .btn-entrar {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .navegacao-principal {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        height: 0; 
        background-color: var(--color-header-bg);
        overflow: hidden; 
        transition: height 0.4s ease; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--color-border);
    }

    .navegacao-principal.ativa {
        height: 320px;
    }

    .navegacao-principal ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .navegacao-principal a {
        font-size: 1.1rem;
        padding: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .layout-eventos-bilhete {
        flex-direction: column;
        padding: 0.5rem;
    }

    .conteudo-eventos-principal {
        min-width: 100%;
    }

    .barra-bilhete {
        width: 100%;
        position: static;
        margin-top: 1rem;
    }
    
    .banner {
        padding: 1.5rem 1rem;
    }
    
    .banner h2 {
        font-size: 1.3rem;
    }
    
    .grid-categorias {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha */
        gap: 0.5rem;
    }
    
    .card-categoria {
        height: 100px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    
    .logo h1 {
        display: none; 
    }
    
    .grid-categorias {
        grid-template-columns: 1fr; 
    }
    
    .card-jogo {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    
    .team-presentation {
        justify-content: center;
    }
    
    .mercado-cotacoes {
        justify-content: center;
        margin-top: 10px;
    }
}