/* Configurações básicas */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --gradient: linear-gradient(
        #0f0f0f 85%, 
        #922E47 100%
        
    );

    --gradient-2: linear-gradient(
        #922E47 50%,
        #ff2659 100%
    );

    --preto-fundo-genfit: rgb(15, 15, 15);
    --preto-fundo-genfit-opaco: rgb(15, 15, 15, 0.88);
    --rosa-genfit: rgb(226, 42, 88);
    --bege-genfit: rgb(237, 232, 229);
    --bege-genfit-opaco-1: rgba(237, 232, 229, 0.89);
    --bege-genfit-opaco-2: rgba(237, 232, 229, 0.2);
    --bege-genfit-opaco-3: rgba(237, 232, 229, 0.5);
    --cinza-genfit: rgb(45, 45, 45);
    --cinza-genfit-opaco: rgba(45, 45, 45, 0.95);
    --cinza-escrita-botao: rgb(30, 30, 30);
    --verde-escuro-genfit: rgb(19, 28, 15);
    --verde-escuro-genfit-opaco: rgba(19, 28, 15, 0.85);
}

body {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: var(--preto-fundo-genfit);
    font-size: 16px;
}

::-webkit-scrollbar {
    width: 12px;
    background: transparent; 
}

::-webkit-scrollbar-thumb {
    background: var(--rosa-genfit);
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;  
}

::-webkit-scrollbar-track {
    background: var(--cinza-genfit-opaco);
    border-radius: 6px;
}

strong {
    color: var(--rosa-genfit);
}

.separation {
    height: 15vh;
}



/* ================== Cabeçalho ================== */
#container-header {
    background-color: var(--preto-fundo-genfit);
    padding-top: 3.4375vh;
    height: 12.875vh;
    min-width: 720px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

#container-header.sticky {
    background-color: var(--cinza-genfit-opaco);
    padding-top: 0;
}

#container-header-elements {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.logo img {
    height: 6vh;
}

/* Nav Bar */
#navbar {
    min-width: 46.6vw;
    height: 6vh;
}

#navbar ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    background-color: var(--cinza-genfit-opaco);
    height: 100%;
    width: 100%;
    border-radius: 2rem;
}

#container-header.sticky #navbar ul {
    background-color: transparent;
}

#navbar ul li {
    margin: 0 0.5vw;
}

#navbar ul li a {
    color: var(--bege-genfit);
    text-decoration: none;
}

/* Auth buttons */
.auth-buttons {
    height: 6vh;
    min-height: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6vw;
}

.auth-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;    
    cursor: pointer;
    width: 10vw;
    min-width: 8vw;
    min-height: 3.75vh;
    border-radius: 32px;
    text-decoration: none;
}

.auth-buttons .login {
    background-color: transparent;
    color: var(--bege-genfit);
    border: 1px solid var(--bege-genfit);
}

.auth-buttons .signup {
    background-color: var(--rosa-genfit);
    color: var(--preto-fundo-genfit);
}

/* ================== Main ================== */

#container-hero {
    height: 85vh;
    background-image: url('../img/Banner_Section_Hero.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -10vw;
    display: flex;
    justify-content: center;
    padding-top: 20vh;
    margin-top: 2vh;
    text-align: center;
    color: var(--bege-genfit);
    background-color: var(--preto-fundo-genfit);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-container {
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.text-foreground {
    position: relative;
    font-style: oblique;
    color: var(--bege-genfit-opaco-1);
    font-size: 120px;
    z-index: 1;
    font-weight: 800;
}

.text-background {
    position: absolute;
    left: 0;
    top: 0;
    color: transparent;
    font-size: 120px;    
    font-weight: bold;
    font-style: oblique;
    -webkit-text-stroke: 0.5px var(--bege-genfit-opaco-2);
    transform: scale(1.25);
    z-index: 0;
}

.text-main {
    margin-top: 25px;
    font-size: 24px;
}

.cta {
    background-color: var(--bege-genfit);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;  
    cursor: pointer;
    height: 3.75vh;
    width: 9vw;
    min-width: 8vw;
    border-radius: 32px;
    margin-top: 3vh;
    color: var(--preto-fundo-genfit);
    text-decoration: none;
}

#separation-hero-plans {
    background-color: var(--preto-fundo-genfit);
}



/* ================== Features ================== */

#features {
    height: 110vh;
}

.container-features {
    padding: 10px 0 10px 0;
    background-color: var(--preto-fundo-genfit);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 50% 50%;
    gap: 60px;
    height: 70%;
    width: 70%;
    margin-right: auto;
    margin-left: auto;

}

.feature {
    background-color: var(--preto-fundo-genfit);
    border-radius: 36px;
    display: flex;
    justify-content: center; 
    flex-direction: column;
    justify-content: end;   
    filter: brightness(150%);
    border:none;
}

#feature-food-exercise-integration {
    background-image: url("../img/feature_integracao_dieta_treino.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#feature-ai {
    background-image: url("../img/feature_ia.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#feature-computer-vision {
    background-image: url("../img/feature_visao_computacional.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#feature-chatbot {
    background-image: url("../img/feature_chatbot.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.feature-description {
    margin-left: 5%;
    margin-bottom: 6%;
    font-weight: bold;
}

.feature-description ul {
    margin-left: 5%;
    padding-top: 2% ;
}

.feature-description ul li{
    margin-top: 2%;
    font-weight: 300;
}



/* ================== Planos ================== */

.section-title {
    background-image: url("../img/Logo_horizontal.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 8vh;
}

.genfit-plans {
    background-image: var(--gradient); 
    height: 100vh;   
}

.container-plans {
    height: 68%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8%;
    margin-top: 6vh;
}

.plan {
    height: 98%;
    width: 19%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: var(--cinza-genfit) 6px solid
}

.plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transition: filter 0.3s ease;
    pointer-events: none;
    filter: blur(0px);
    z-index: 0;
}

.plan.blurred::before {
    filter: blur(4px);
}

.plan a {
    display: inline-block;
    padding: 6px 20px;
    width: 70%;
    margin-bottom: 30%;
    background-color: var(--verde-escuro-genfit-opaco);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.plan a:hover {
    background-color: var(--rosa-genfit);
}

#personal-trainer {
    background-image: url("../img/personal_trainer.jpeg");
}

#combo {
    background-image: url('../img/Combo.jpeg');
}

#nutritionist {
    background-image: url('../img/Nutricionista.jpeg');
}

.studant-plan {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.studant-plan p {
    margin-top: 2%;
    font-size: 14px;
}

.studant-plan a {
    display: inline-block;
    width: 8%;
    margin-top: 0.2%;
    padding: 0.2% 0.2%;
    background-color: var(--bege-genfit-opaco);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid white;
    cursor: pointer;
    font-size: 14px;
}

.studant-plan a:hover {
    background-color: var(--verde-escuro-genfit);
    border: 1px solid transparent;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.material-symbols-outlined {
    display: inline-block;
    animation: bounce 2s infinite;
    text-align: center;
    margin-top: 0.8%;
}

#separation-plans-genfitnews {
    background-image: var(--gradient-2);
}



/* ================== GenFit News ================== */

#genfit-news-container {
    height: 60vh;
    max-height: 100vh;
    background-image: url("../img/fundo_genfit_news.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 30vw 45vw;
    box-sizing: border-box;
    overflow: auto; /* Garante que o conteúdo não saia do contêiner */
    position: relative;
    gap: 10px;
}

.text-background-genfitnews {
    position: absolute;
    left: 5%;
    top: 4%;
    color: transparent;
    font-size: 100px;
    font-weight: bolder;
    font-style: oblique;
    -webkit-text-stroke: 1px var(--bege-genfit-opaco-2);
    transform: scale(1.25);
    z-index: 0;
}

/*=== Atleta Genfit News ===*/

#imagem-atleta {
    margin-left: 5%;
    background-image: url("../img/atleta.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
    
}

/*=== Descrição Genfit News ===*/
.genfitnews-description {
    display: flex;
    margin-top: 15%;
    flex-direction: column;;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.text-foreground-genfitnews {
    position: relative;
    font-style: oblique;
    color: var(--bege-genfit-opaco-1);
    font-size: 56px;
    z-index: 1;
    font-weight: 800;
}

.genfitnews-description p {
    margin-top: 5%;
    font-size: 16px;
}

/*=== Forms Genfit News ===*/
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-container form {
    background-color: var(--preto-fundo-genfit-opaco);
    border-radius: 32px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 1.5rem;
    width: 95%;
    height: 85%
}

form .input-whole-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100%/6 + 10px);
    margin-bottom: 15px;
}

form .input-whole-row label,
.half-input label {
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="text"] {
    background-color: #fff;
    color: #000;
    padding: 10px;
    border: none;
    border-radius: 24px;
    width: 100%;
    font-size: 15px;
}

.input-half-row {
    display: flex;
    justify-content: space-between;
    min-height: calc(100%/6 + 10px);
    margin-bottom: 15px;
}

.half-input {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48%;
    height: 100%;
    justify-content: center;
}

input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

form button {
    background-color: #00b33c;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #009933;
}


#imagem-atleta,
.genfitnews-description,
.form-container {
    box-sizing: border-box;
    overflow: auto; /* Adiciona barras de rolagem se o conteúdo for muito grande */
    max-width: 100%;
}


#separation-genfitnews-footer {
    height: 5vh;
}

/* ================== Footer ================== */
footer {
    padding: 20px 0;
    text-align: center;
}

.item-footer-1 {
    display: flex;
    width: 70%;
    margin: 0 auto;
    justify-content: space-between;
}


/* === Redes sociais === */

.social-media-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 0 1%;
}

.social-media-container p {
    font-size: 16px;
}

footer span {
    color: var(--bege-genfit)
}

footer .social-media a {
    margin: 0 10px;
    color: var(--bege-genfit);
    text-decoration: none;
    font-size: 24px;
}

footer .social-media a:hover {
    color: var(--rosa-genfit);
}

/* === botões de contato === */

footer .buttons {
    display: flex;
    flex-direction: column;
}

footer .buttons a {
    text-decoration: none;
    color: var(--preto-fundo-genfit);
    background-color: var(--bege-genfit);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 16px;
    font-weight: 500;
}

footer .buttons a.secondary {
    background-color: #ff0066;
    color: #fff;
}

.footer-divider {
    margin-top: 20px;
    border: none;
    height: 1px;
    background: #ccc;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}



/* ============= Media Query =============== */
/* Media query para ajustar o layout quando o conteúdo excede o tamanho do grid */
@media (max-width: 768px) {
    #genfit-news-container {
        height: 100vh;
        background-image: url("../img/fundo_genfit_news.png");
        background-repeat: no-repeat;
        background-size: cover;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 45vw 45vw;
        box-sizing: border-box;
        overflow: auto; /* Garante que o conteúdo não saia do contêiner */
        position: relative;
        gap: 10px;

    }
}

