@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gabarito', sans-serif;
}

nav {
    height: 250px;
    background: #415b86;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav h1 {
    text-align: center;
    font-size: 3em;
    color: white;
}

.section_cards {
    background: #415b86;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    & .img_card {
        border-radius: 20px;
        width: 100%;
    }

    & .container_cards {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.7em;
        flex-wrap: wrap;
    }

    & .container_cards img {
        height: auto;
        width: 270px;
    }
}

.section_beneficios {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    & .container_beneficios {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.3em;
    }

    & .beneficio_div {
        height: 200px;
        width: 250px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    & .beneficio_icone {
        height: 50px;
        width: 50px;
        background: #7da2dd;
        border-radius: 50%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid black;
    }

    & .beneficio_icone img {
        height: 20px;
        width: 20px;
    }

    & .beneficio_div h2 {
        margin-top: 20px;
        color: #415b86;
    }

    & #cartao_txt {
        width: 180px;
    }
}

.section_faq {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;

    & .faq_titulo {
        height: 100%;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        color: #415b86;
    }

    & .faq_titulo h4 {
        font-size: 1.3em;
    }

    & .faq_titulo h1 {
        margin-top: 10px;
        font-size: 3.3em;
    }

    & .faq_titulo span {
        color: #7da2dd;
    }

    & .faq_txt {
        height: 100%;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    & .faq_container {
        width: 600px;
    }

    & .faq {
        cursor: pointer;
        margin-top: 10px;
    }

    & .faq_pergunta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: #415b86;
        border: 1px solid rgba(128, 128, 128, 0.699);
        border-radius: 5px;
        color: white;
    }

    & .faq_pergunta:hover {
        background: #5580c7;
    }

    & .faq_pergunta h1 {
        font-size: 1.3em;
    }

    & .faq_pergunta img {
        height: 15px;
        width: 15px;
    }

    & .faq_resposta {
        display: none;
        padding: 10px;
        background: #FAFAFA;
        line-height: 1.5em;
        font-size: 1.3em;
        color: #6C7165;
        border: 1px solid rgba(128, 128, 128, 0.699);
    }

    & .faq_resposta p {
        font-weight: 300;
    }
}

footer {
    display: flex;
    flex-direction: column;

    & a:hover {
        text-decoration: underline;
    }

    & .footer_ref {
        height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 30px;
    }

    & .ref_cientificas {
        margin: auto;
        height: auto;
        flex-grow: 1;
        width: 100%;
        max-width: 900px;
        display: flex;
        flex-direction: column;
        padding-top: 20px;
    }

    & .ref_cientificas h4 {
        font-size: .8em;
    }

    & .ref_cientificas h1 {
        text-align: center;
        color: rgb(109, 109, 109);
        margin-bottom: 40px;
    }

    & .ref_txt {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-grow: 1;
        gap: 1.3em;
    }

    & .ref_txt span {
        line-height: 1.5em;
        font-size: .8em;
        font-weight: 500;
        color: rgb(109, 109, 109);
    }

    & .ref_txt_left {
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    & .ref_txt_right {
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    & a {
        text-decoration: none;
        color: gray;
    }

    & .footer_titulo {
        background: #F2F2F2;      
        height: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        color: gray;
        gap: 15px;
    }

    & .footer_txt {
        background: #F2F2F2;  
        color: gray;
        height: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    & .footer_txt span {
        margin-top: 10px;
        color: gray;
        width: 1100px;
        font-size: .9em;
    }
}

@media(max-width: 1100px){
    footer {
        & .footer_txt span {
            margin-top: 20px;
            width: 900px;
        }
    }
}

@media(max-width: 900px){
    footer {
        & .footer_txt span {
            margin-top: 20px;
            width: 750px;
        }
    }

    .ref_txt {
        width: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-grow: 1;
        gap: 1.3em;
        padding: 10px;
    }

    .ref_txt_left {
        height: 50% !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }

    .ref_txt_right {
        height: 50% !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 1.3em;
    }
}

@media(max-width: 750px){
    footer {
        & .footer_txt {
            padding: 30px 10px;
        }

        & .footer_titulo {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap !important;
        }

        & .footer_txt span {
            margin-top: 20px;
            width: 100%;
        }
    }
}

@media(max-width: 905px){
    nav h1 {
        text-align: center;
        font-size: 2em;
    }

    .section_faq {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 40px;

        & .faq_titulo {
            height: 50%;
            width: 100%;
        }

        & .faq_titulo h4 {
            text-align: center;
        }

        & .faq_txt {
            height: 50%;
            width: 100%;
            margin-top: 10px;
        }
    }
}

@media(max-width: 760px){
    .section_faq {
        padding: 20px;

        & .faq_titulo h1 {
            text-align: center;
            font-size: 2.5em;
        }
    }
}
