
/* CONFIGURAÇÕES GERAIS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #101214;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
}

/* CABEÇALHO */

header {
    width: 100%;
    padding: 22px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #101214;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: #65E66A;
    margin-left: 5px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #65E66A;
}

/* BOTÃO DO CABEÇALHO */

.botao-header {
    padding: 12px 22px;
    background-color: #65E66A;
    color: #101214;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
}

.botao-header:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
}

/* SEÇÃO INICIAL */

.inicio {
    min-height: 650px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(16,18,20,0.95),
            rgba(16,18,20,0.35)
        ),
        url("image/academia-banner.webp") center/cover no-repeat;
}

.conteudo-inicio {
    max-width: 650px;
}

.subtitulo {
    color: #65E66A;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.inicio h1 {
    font-size: 76px;
    line-height: 1.05;
    margin: 25px 0;
    font-weight: 900;
}

.inicio h1 span {
    color: #65E66A;
}

.inicio p {
    color: #C2C5C7;
    font-size: 17px;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 35px;
}

/* BOTÃO PRINCIPAL */

.botao-principal {
    display: inline-block;
    padding: 16px 28px;
    background-color: #65E66A;
    color: #101214;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.botao-principal:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
}

/* TÍTULOS DAS SEÇÕES */

.titulo-secao {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.titulo-secao span {
    color: #65E66A;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.titulo-secao h2 {
    font-size: 38px;
    margin: 18px 0;
}

.titulo-secao h2 strong {
    color: #65E66A;
}

.titulo-secao p {
    color: #AEB3B5;
    font-size: 16px;
    line-height: 1.7;
}

/* SEÇÕES */

.sobre,
.modalidades,
.estrutura,
.planos,
.contato {
    padding: 100px 8%;
}

.sobre {
    background-color: #171A1D;
}

.modalidades {
    background-color: #101214;
}

.estrutura {
    background-color: #171A1D;
}

.planos {
    background-color: #101214;
}

.contato {
    background-color: #171A1D;
    text-align: center;
}

/* CARDS DE MODALIDADES */


/* CARDS DE MODALIDADES */

.grade-modalidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-modalidade {
    background-color: #202427;
    border: 1px solid #303638;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s ease;
}

.card-modalidade:hover {
    border-color: #65E66A;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(101,230,106,0.15);
}

.imagem-modalidade {
    height: 240px;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}

.card-modalidade:hover .imagem-modalidade {
    transform: scale(1.06);
}

.musculacao {
    background-image: url("image/musculacao.webp");
}

.funcional {
    background-image: url("image/funcional.webp");
}

.cardio {
    background-image: url("image/cardio.webp");
}

.conteudo-modalidade {
    padding: 28px;
}

.conteudo-modalidade h3 {
    color: #65E66A;
    font-size: 22px;
    margin-bottom: 12px;
}

.conteudo-modalidade p {
    color: #B9BFC1;
    line-height: 1.7;
}

/* RODAPÉ */

footer {
    padding: 35px 8%;
    background-color: #0A0C0D;
    text-align: center;
}

footer p {
    color: #92999C;
    font-size: 13px;
    margin-top: 15px;
}

/* SEÇÃO SOBRE */

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-conteudo > span {
    color: #65E66A;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.sobre-conteudo h2 {
    font-size: 42px;
    margin: 20px 0;
    line-height: 1.2;
}

.sobre-conteudo h2 strong {
    color: #65E66A;
}

.sobre-conteudo p {
    color: #AEB3B5;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.sobre-conteudo .botao-principal {
    margin-top: 15px;
}

.sobre-imagem {
    min-height: 420px;
    background:
        linear-gradient(
            0deg,
            rgba(16,18,20,0.15),
            rgba(16,18,20,0.05)
        ),
        url("image/sobre.webp") center/cover no-repeat;
    border-radius: 12px;
    border: 1px solid #303638;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* SEÇÃO ESTRUTURA */

.estrutura-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.estrutura-imagem {
    min-height: 430px;
    background:
        linear-gradient(
            0deg,
            rgba(16,18,20,0.15),
            rgba(16,18,20,0.05)
        ),
        url("image/sobre.webp") center/cover no-repeat;
    border-radius: 12px;
    border: 1px solid #303638;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: 0.4s ease;
}

.estrutura-imagem:hover {
    border-color: #65E66A;
    transform: scale(1.02);
}

.estrutura .titulo-secao h2 strong {
    color: #65E66A;
}

.estrutura-conteudo {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.item-estrutura {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.item-estrutura > span {
    color: #65E66A;
    font-size: 25px;
    font-weight: bold;
}

.item-estrutura h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.item-estrutura p {
    color: #AEB3B5;
    line-height: 1.7;
}

/* PLANOS */

.grade-planos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 25px;
    max-width: 1150px;
    margin: 0 auto;
}

.card-plano {
    position: relative;
    padding: 40px 30px;
    background-color: #202427;
    border: 1px solid #303638;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s ease;
}

.card-plano:hover {
    transform: translateY(-8px);
    border-color: #65E66A;
    box-shadow: 0 15px 35px rgba(101,230,106,0.12);
}

.destaque-plano {
    border: 2px solid #65E66A;
    padding-top: 55px;
    padding-bottom: 55px;
    box-shadow: 0 0 30px rgba(101,230,106,0.08);
}

.selo-plano {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background-color: #65E66A;
    color: #101214;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 20px;
    white-space: nowrap;
}

.card-plano h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.descricao-plano {
    color: #AEB3B5;
    font-size: 14px;
    margin-bottom: 25px;
}

.preco-plano {
    color: #65E66A;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
}

.preco-plano span {
    font-size: 20px;
    vertical-align: top;
}

.preco-plano small {
    color: #AEB3B5;
    font-size: 13px;
    font-weight: normal;
}

.card-plano ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.card-plano li {
    color: #C2C5C7;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #303638;
}

.card-plano li::first-letter {
    color: #65E66A;
}

.botao-plano {
    display: block;
    padding: 15px;
    background-color: #65E66A;
    color: #101214;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: 0.3s ease;
}

.botao-plano:hover {
    background-color: #FFFFFF;
}

/* CONTATO */

.contato {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(101,230,106,0.10),
            transparent 65%
        ),
        #171A1D;
}

.contato-conteudo {
    max-width: 750px;
    margin: 0 auto;
}

.contato-conteudo > span {
    color: #65E66A;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.contato-conteudo h2 {
    font-size: 46px;
    line-height: 1.2;
    margin: 22px 0;
}

.contato-conteudo p {
    color: #AEB3B5;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.botao-whatsapp {
    display: inline-block;
    padding: 18px 30px;
    background-color: #65E66A;
    color: #101214;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.botao-whatsapp:hover {
    background-color: #FFFFFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(101,230,106,0.20);
}

/* MENU MOBILE */

.menu-mobile {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-mobile span {
    display: block;
    width: 27px;
    height: 3px;
    margin: 6px 0;
    background-color: #65E66A;
    border-radius: 3px;
    transition: 0.3s ease;
}

.menu-mobile.menu-ativo span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-mobile.menu-ativo span:nth-child(2) {
    opacity: 0;
}

.menu-mobile.menu-ativo span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* RESPONSIVIDADE DO MENU */

@media (max-width: 900px) {

    header {
        position: relative;
        padding: 20px 6%;
    }

    .menu-mobile {
        display: block;
        order: 3;
    }

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background-color: #101214;
        border-top: 1px solid #303638;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        z-index: 1000;
    }

    header nav.menu-aberto {
        max-height: 450px;
        padding: 15px 0;
    }

    header nav a {
        width: 100%;
        padding: 14px;
        text-align: center;
    }

    .botao-header {
        display: none;
    }

}

/* AJUSTES RESPONSIVOS - TABLETS */

@media (max-width: 900px) {

    .inicio {
        min-height: 550px;
        padding: 80px 6%;
        background-position: 60% center;
    }

    .inicio h1 {
        font-size: 58px;
    }

    .sobre,
    .modalidades,
    .estrutura,
    .planos,
    .contato {
        padding: 75px 6%;
    }

    .sobre-container,
    .estrutura-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sobre-imagem,
    .estrutura-imagem {
        min-height: 350px;
    }

    .grade-modalidades,
    .grade-planos {
        grid-template-columns: repeat(2, 1fr);
    }

    .destaque-plano {
        padding-top: 55px;
        padding-bottom: 40px;
    }

}

/* AJUSTES RESPONSIVOS - CELULARES */

@media (max-width: 600px) {

    header {
        padding: 18px 5%;
    }

    .logo {
        font-size: 19px;
    }

    .inicio {
        min-height: 560px;
        padding: 70px 7%;
        background-position: 65% center;
    }

    .inicio h1 {
        font-size: 43px;
    }

    .inicio p {
        font-size: 15px;
    }

    .sobre,
    .modalidades,
    .estrutura,
    .planos,
    .contato {
        padding: 65px 6%;
    }

    .titulo-secao h2,
    .sobre-conteudo h2,
    .contato-conteudo h2 {
        font-size: 30px;
    }

    .grade-modalidades,
    .grade-planos {
        grid-template-columns: 1fr;
    }

    .imagem-modalidade {
        height: 220px;
    }

    .sobre-imagem,
    .estrutura-imagem {
        min-height: 280px;
    }

    .sobre-conteudo p,
    .estrutura-conteudo p,
    .contato-conteudo p {
        font-size: 15px;
    }

    .contato-conteudo > span {
        font-size: 10px;
        letter-spacing: 2px;
    }

    footer {
        padding: 30px 6%;
    }

}

/* REFINAMENTO RESPONSIVO */

@media (max-width: 600px) {

    .sobre-container,
    .estrutura-container {
        gap: 30px;
    }

    .sobre-conteudo .botao-principal {
        font-size: 11px;
        padding: 14px 18px;
    }

    .item-estrutura {
        gap: 15px;
    }

    .item-estrutura > span {
        font-size: 21px;
    }

    .item-estrutura h3 {
        font-size: 17px;
    }

    .card-plano {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .botao-whatsapp {
        width: 100%;
        max-width: 340px;
        font-size: 11px;
        padding: 17px 12px;
    }

    .contato-conteudo {
        width: 100%;
    }

    footer p {
        line-height: 1.6;
    }

}

@media (max-width: 380px) {

    .logo {
        font-size: 16px;
    }

    .inicio h1 {
        font-size: 36px;
    }

    .titulo-secao h2,
    .sobre-conteudo h2,
    .contato-conteudo h2 {
        font-size: 26px;
    }

    .botao-principal {
        font-size: 10px;
        padding: 14px 16px;
    }

}

/* ANIMAÇÕES DE ENTRADA */

/* Estado inicial dos elementos */

body.animacoes-ativas .revelar {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* Elemento visível */

body.animacoes-ativas .revelar.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* Entrada do conteúdo principal */

.conteudo-inicio {
    animation: entradaInicio 1s ease both;
}

@keyframes entradaInicio {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Movimento suave nos botões */

.botao-principal,
.botao-header,
.botao-plano,
.botao-whatsapp {
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Respeitar preferência por movimento reduzido */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* EFEITOS PREMIUM */

.card-modalidade,
.card-plano {
    position: relative;
    overflow: hidden;
}

.card-modalidade::before,
.card-plano::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #65E66A,
        transparent
    );
    transition: left 0.6s ease;
}

.card-modalidade:hover::before,
.card-plano:hover::before {
    left: 100%;
}

.card-modalidade,
.card-plano,
.sobre-imagem,
.estrutura-imagem {
    will-change: transform;
}

/* Brilho nos botões */

.botao-principal:hover,
.botao-header:hover,
.botao-plano:hover,
.botao-whatsapp:hover {
    box-shadow: 0 0 22px rgba(101,230,106,0.25);
}

/* Destaque nos links do menu */

nav a {
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #65E66A;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}
