.quem-somos {
    width: 100%;
    color: #FFFFFF;
}

.quem-somos .topo {
    background-color: #0E294D;
    padding: 10% 0 2% 0;
    position: relative;
}

.quem-somos .topo::before {
    content: "";
    background-image: url('../images/quem-somos-topo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.quem-somos h1 {
    font-size: 48px;
    text-align: center;
    max-width: 1100px;
    text-transform: uppercase;
}

.quem-somos h2 {
    font-size: 50px;
}

.quem-somos h5 {
    font-size: 30px;
    text-align: center;
    max-width: 100%;
}

.quem-somos .btn {
    font-size: 20px;
    z-index: 1;
    margin: 0 !important;
}

.quem-somos .card {
    cursor: pointer;
}

.quem-somos .card .background {
    position: absolute;
    background: #CACACA;
    bottom: 0;
    right: 0;
    width: 99%;
    height: 80%;
    border-radius: 0px 50px 0px 50px;
    transition: .43s ease;
}

.quem-somos .card:hover .background {
    background: #2E496D;
}

.quem-somos .card:hover .texto {
    color: #FFFFFF;
}

.quem-somos .card .avatar {
    width: 55%;
    z-index: 1;
}

.quem-somos .card .avatar img {
    width: 100%;
}

.quem-somos .card .texto {
    width: 45%;
    height: 80%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    font-size: 20px;
    padding: 0 20px;
    line-height: 22px;
    justify-content: center;
    color: #0E294D;
}

.quem-somos .card {
    display: flex;
    flex-direction: row;
    max-height: 350px;
    height: 100%;
    background: none;
    border: none;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: center;
    width: 49%;
}

.quem-somos .nosso-jeito {
    max-width: 1400px;
    width: 100%;
    color: #0E294D;
    padding: 5% 0;
}

.quem-somos .nosso-jeito p {
    font-size: 25px;
    line-height: 50px;
}

.quem-somos .nosso-jeito .btn {
    background: #2E496D;
    color: #FFFFFF
}

.quem-somos .nosso-jeito .btn:hover {
    background: #A64B11;
}

.quem-somos .nossos-servicos {
    background: #0E294D;
    padding: 4% 0 2%;
    position: relative;
    color: #FFF;
}

.quem-somos .nossos-servicos::before {
    content: "";
    background-image: url('../images/porque-investir-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.quem-somos .nossos-servicos h2 {
    color: #FFF;
    z-index: 1;
}

.quem-somos .experiencias {
    max-width: 1400px;
    color: #0E294D;
    padding: 2%;
    font-size: 20px;
}

.quem-somos .experiencias .col-7 {
    padding: 0 20px 0 0;
}

.quem-somos .experiencias h2 {
    font-size: 50px;
}

.quem-somos .experiencias h5 {
    font-size: 32px;
    text-align: left;
}

.quem-somos .experiencias .btn {
    background: #2E496D;
    color: #FFFFFF;
    transition: .3s ease;
}

.quem-somos .experiencias .btn:hover {
    background: #A64B11;
}

.custom-carousel-container {
    display: flex;
}

#card-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #081437;
    color: #fff;
    padding: 20px 60px;
    border-radius: 0px 50px 0px 50px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 20px;
    z-index: 1000;
    max-width: 1300px;
    width: 100%;
    max-height: 90%;
    overflow: auto;
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
}

@media (max-width: 575.98px) {
    .quem-somos {
        width: 100%;
        color: #FFFFFF;
        overflow: hidden;
    }

    .quem-somos .topo {
        background-color: #0E294D;
        padding: 80px 0 5% 0;
        position: relative;
    }

    .quem-somos .topo::before {
        content: "";
        background-image: url('../images/quem-somos-topo.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.1;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
    }

    .quem-somos h1 {
        font-size: 26px;
        text-align: center;
        max-width: 1100px;
        padding: 5% 0 0;
        text-transform: uppercase;
    }

    .quem-somos h2 {
        font-size: 36px;
    }

    .quem-somos h5 {
        font-size: 18px;
        text-align: center;
        max-width: 100%;
        padding: 0 20px;
    }

    .quem-somos .btn {
        font-size: 20px;
        z-index: 1;
        margin: 0 !important;
    }

    .quem-somos .card {
        cursor: pointer;
    }

    .quem-somos .card .background {
        position: absolute;
        background: #CACACA;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0px 50px 0px 50px;
        transition: .43s ease;
    }

    .quem-somos .card:hover .background {
        background: #2E496D;
    }

    .quem-somos .card:hover .texto {
        color: #FFFFFF;
    }

    .quem-somos .card .avatar {
        width: 100%;
        z-index: 1;
    }

    .quem-somos .card .avatar img {
        width: 100%;
    }

    .quem-somos .card .texto {
        width: 100%;
        height: 80%;
        z-index: 1;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        font-size: 20px;
        padding: 20px 20px 0;
        line-height: 26px;
        justify-content: center;
        color: #0E294D;
    }

    .quem-somos .card {
        display: flex;
        flex-direction: column-reverse;
        max-height: max-content;
        height: 100%;
        background: none;
        border: none;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: center;
        width: 90%;
        overflow: hidden;
        border-radius: 0 0 0 50px;
    }

    .quem-somos .nosso-jeito {
        max-width: 1400px;
        width: 100%;
        color: #0E294D;
        padding: 5% 0;
    }

    .quem-somos .nosso-jeito p {
        font-size: 25px;
        line-height: 50px;
    }

    .quem-somos .nosso-jeito .btn {
        background: #2E496D;
        color: #FFFFFF
    }

    .quem-somos .nosso-jeito .btn:hover {
        background: #A64B11;
    }

    .quem-somos .nossos-servicos {
        background: #0E294D;
        padding: 4% 0 2%;
        position: relative;
        color: #FFF;
    }

    .quem-somos .nossos-servicos::before {
        content: "";
        background-image: url('../images/porque-investir-bg.jpg');
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.5;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
    }

    .quem-somos .nossos-servicos h2 {
        color: #FFF;
        z-index: 1;
    }

    .quem-somos .experiencias {
        max-width: 1400px;
        color: #0E294D;
        padding: 8% 0;
        font-size: 20px;
    }

    .quem-somos .experiencias .col-7 {
        padding: 0 20px 0 0;
    }

    .quem-somos .experiencias h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .quem-somos .experiencias h5 {
        font-size: 22px;
        width: 100%;
    }

    .quem-somos .experiencias p {
        font-size: 18px;
        line-height: 20px;
        width: 100%;
    }

    .quem-somos .experiencias ul li {
        font-size: 15px;
        line-height: 20px;
        width: 100%;
    }

    .quem-somos .experiencias .btn {
        background: #2E496D;
        color: #FFFFFF;
        transition: .3s ease;
        width: 100%;
        font-size: 22px;
        line-height: 26px;
        padding: 15px 20px;
        white-space: pre-line;
    }

    .quem-somos .experiencias .btn:hover {
        background: #A64B11;
    }

    .custom-carousel-container {
        display: flex;
    }

    #card-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #081437;
        color: #fff;
        padding: 20px 60px;
        border-radius: 0px 50px 0px 50px;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 20px;
        z-index: 1000;
        max-width: 1200px;
        width: 100%;
        font-size: 18px;
        line-height: 22px;
        font-weight: 300;
    }
}