#quem-somos, 
#missao, 
#valores,
#visao{
    width: 100%;
}

#missao, 
#valores{
    display: flex;
    flex-flow: column-reverse;
}

#quem-somos, #visao{
    display: flex;
    flex-flow: column;
}

#quem-somos > div,
#missao > div,
#valores > div,
#visao > div{
    display: flex;
    flex-flow: column;
    justify-content: center;
}

#missao > img,
#valores > img,
#visao > img{
    width: 100%;
    height: auto;
}

#quem-somos > div:first-of-type,
#missao > div:first-of-type,
#valores > div:first-of-type,
#visao > div:first-of-type{
    width: 90%;
    margin: 2em auto;
}

#missao > div:first-of-type img,
#valores > div:first-of-type img,
#visao > div:first-of-type img{
    align-self: flex-start;
}

#quem-somos > div:last-of-type{
    background-image: url('../img/page-qs.png');
    background-size: cover;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 2em;
    padding-bottom: 4em;
    padding-top: 4em;
}

main h1{
    color: #126CFE;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1.5em;
}

main h3{
    color: #28323E;
    font-size: 28px;
    font-weight: 900;
    margin-top: .3em;
}

main p{
    color: #28323E;
    margin: .5em 0;
    font-size: 18px;
    padding-right: 0;
}

#quem-somos a{
    background-color: #1E242F;
    padding: 1em 2em;
    border-radius: 40px/40px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    text-transform: uppercase;
}

#quem-somos a::after{
    content: url('../img/ver-mais-after.png');
    position: absolute;
    left: calc(100% + .5em);
    top: .5em;
}

#quem-somos h2{
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .5em;
}

@media screen and (min-width: 993px){
    #quem-somos, 
    #missao, 
    #valores,
    #visao{
        width: 85%;
        margin: 0 0 0 15%;
    }

    #quem-somos, #missao, 
    #valores, #visao{
        display: flex;
        flex-flow: row wrap;
    }

    #visao{
        display: flex;
        flex-flow: row;
    }

    #visao{
        margin: 0 15% 0 0;
    }

    #visao > div{
        padding-left: 5em;
    }

    #quem-somos > div:first-of-type,
    #missao > div:first-of-type,
    #valores > div:first-of-type,
    #visao > div:first-of-type{
        width: 41%;
        margin: unset;
    }

    #quem-somos > div:last-of-type{
        min-height: calc(570px - 4em);
        padding-top: 0;
    }

    main p{
        padding-right: 5em;
    }

    main h1{
        margin-top: 0;
    }

    #quem-somos h2{
        position: absolute;
        bottom: 5em;
    }

    #missao > img,
    #valores > img,
    #visao > img{
        width: 58.7%;
        height: auto;
        flex-grow: 1;
    }
    
}