/* ==================== RESET E CONFIGURAÇÕES GERAIS ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ABeeZee', sans-serif;
    color: #ffffff;
    background: radial-gradient(circle, #323232 0%, #000000 100%);
    overflow-x: hidden; /* <-- ADICIONE ESTA LINHA AQUI */
}

main {
    padding-top: 50px; /* Espaço para o menu fixo */
}

/* ==================== MENU SUPERIOR (Reutilizado) ==================== */
.topo {
    width: 100%;
    height: 50px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Alinha logo e menu nas pontas */
    padding: 0 20px;
    font-family: 'ABeeZee', sans-serif;
}

.logo-link .logo-img {
    height: 80px;
    width: 80px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 40px; /* Espaçamento reduzido */
    height: 100%;
    align-items: center;
    margin-right: 100px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.2s;
    opacity: 0.80;
}

.menu a:hover {
    color: #BD2109;
}

.dropdown {
    position: relative;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(66, 66, 66);
    display: none;
    flex-direction: column;
    min-width: 150px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.dropdown:hover .submenu {
    display: flex;
}

.submenu li a {
    padding: 15px;
    display: block;
}

.menu .separator {
    height: 30px;
    margin-bottom: 10px;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

/* ==================== SEÇÃO HERO ==================== */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px); /* Ocupa a altura da tela menos o menu */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    border: 3px solid #FFBD1B;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px; /* Limita a largura do conteúdo interno */
}

.hero-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 150px;
}

.hero-lutador {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 90%;
    max-height: 500px;
}

.hero-modalidades {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.hero-modalidades img {
    max-width: 20%;
    height: auto;
}

/* ==================== GRADE DE MODALIDADES ==================== */
.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 19%;
}

.modalidade-card {
    position: relative;
    text-align: center;
    overflow: hidden;
    color: white;
    padding-bottom: 3rem; /* Espaço para o botão ficar dentro */
}

.modalidade-bg {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.modalidade-titulo {
    max-width: 80%;
    margin-top: -160px; /* Puxa o título para cima da imagem de fundo */
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    margin-right: 240px;
}

.modalidade-descricao {
    background-color: #222222;
    border-radius: 10px;
    padding: 20px;
    font-family: "ABeeZee-Regular", Helvetica;
    font-size: 1.1rem;
    line-height: 1.5;
    min-height: 150px; /* Garante altura mínima para alinhamento */
}

.modalidade-botao {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffbd1b;
    border: 2px solid #ffbd1b;
    border-radius: 50px;
    padding: 10px 40px;
    font-size: 1.5rem;
    font-family: "ABeeZee-Regular", Helvetica;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0px 4px 4px 3px #00000040;
}

.modalidade-botao:hover {
    background-color: #ffbd1b;
    color: #000;
}

/* ==================== SEÇÃO DE CHAMADA (CTA) ==================== */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-titulo {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.cta-descricao {
    background-color: #222222;
    border-radius: 10px;
    padding: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ==================== RODAPÉ (Reutilizado) ==================== */
/* estilo do Rodape*/
.footer-container {
    background-color:#000000;
    color: #FFBD1B;
    padding: 40px 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: ABeeZee, sans-serif;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
    font-size: 20px;
    display: block;
    font-family: Alumni Sans SC, sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-column a:hover {
    color: #FFBD1B; /* Muda a cor para amarelo */
}
/* FIM CCS DA PAGINA --------


/* --- TABLETS E TELAS MENORES (ATÉ 992px) --- */
@media (max-width: 992px) {
    .capacete {
        display: none; /* Esconde o capacete para não atrapalhar */
    }

    .menu .separator {
        display: none; /* Esconde os separadores para ganhar espaço */
    }

    .menu {
        gap: 10px; /* Diminui ainda mais o espaçamento */
    }

    .menu a {
        font-size: 16px;
    }
}


/* --- CELULARES (ATÉ 768px) --- */
@media (max-width: 768px) {
    /* --- AJUSTES NO MENU --- */
    .menu {
        display: none; /* Esconde o menu desktop */
        position: absolute;
        top: 50px; /* Aparece abaixo do cabeçalho */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 0;
    }

    .menu.active {
        display: flex; /* Mostra o menu quando o JS adicionar a classe 'active' */
        background-color: #333;
    }

    .menu li {
        width: 100%;
        text-align: center;
        background-color: #333;
    }

    .menu a {
        padding: 15px 0;
        width: 100%;
        display: block; /* Garante que o link ocupe todo o espaço */
    }
    
    .submenu {
        position: static; /* Submenu vira parte do fluxo normal do menu mobile */
        width: 100%;
        background-color: #333;
        box-shadow: none;
    }
    
    .submenu li a {
        padding-left: 40px; /* Adiciona um recuo para indicar que é um sub-item */
    }

    .hamburger {
        display: flex; /* Mostra o botão hambúrguer */
    }

    /* --- AJUSTES NO CARRINHO DE COMPRAS --- */
    .cart-container {
        padding: 1rem; /* Diminui o padding em telas pequenas */
    }

    .cart-table-header {
        display: none; /* Esconde o cabeçalho da tabela, pois não funciona no mobile */
    }

    .cart-body {
        border: none;
    }

@media (max-width: 768px) {
    .hero-modalidades {
        display: none; /* Esconde as imagens pequenas no celular */
    }
    .hero-lutador {
        height: 60%;
    }
    .modalidades-grid {
        padding: 2rem 1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}}