#depoimentos {
    margin: 67px 0 85px 0;
}

#depoimentos .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#depoimentos .container h1 {
    font-size: 45px;
    font-weight: 500;
    line-height: 54px;
    letter-spacing: calc(0.12 * 45px);
    color: #163D66;
}

#depoimentos .container>p {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: calc(0.05 * 18px);
    color: #484848;
    text-align: center;
}

#depoimentos .container .row {
    width: 100%;
}

#depoimentos .container .row:nth-child(3) {
    margin: 0 0 28px 0;
}

#depoimentos .container .row:nth-child(3) .col-sm-12 {
    display: flex;
    justify-content: center;
    gap: 9px;
}

#depoimentos .container .row:nth-child(3) .col-sm-12 button {
    padding: 4px 2px;
    background-color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #484848;
    box-sizing: border-box;
    transition: .3s ease-out;
    /*para usar quando filtro estiver funcionando*/
}

#depoimentos .container .row:nth-child(3) .col-sm-12 button:first-child {
    font-weight: 600;
    border-bottom: 2px solid #484848;
    transition: .3s ease-in;
    /*para usar quando filtro estiver funcionando*/
}

#depoimentos .container .row:nth-child(4) .col-destaque {
    height: 443px;
    overflow: hidden;
    margin-bottom: 56px;
}

#depoimentos .container .row:nth-child(4) .col-destaque img,
#depoimentos .container .row:nth-child(4) .col-md-4 img {
    width: 100%;
    height: 443px;
    object-fit: cover;
}

#depoimentos .container .row:nth-child(4) .content-depoimento {
    position: absolute !important;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: 443px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    margin: 0 12px;
}

#depoimentos .container .row:nth-child(4) .col-sm-12 {
    position: relative;
}

#depoimentos .container .row:nth-child(4) .depoimento-destaque {
    width: 96.6%;
}

#depoimentos .container .row:nth-child(4) .depoimento-menor {
    width: 94.6%;
}

#depoimentos .container .row:nth-child(4) .content-depoimento {
    position: absolute !important;
    z-index: 8;
    top: 0;
    left: 0;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px 32px 20px 32px;
}

#depoimentos .container .row:nth-child(4) .content-depoimento h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 12px;
    color: #fff;
}

#depoimentos .container .row:nth-child(4) .content-depoimento p {
    font-size: 16px;
    margin-bottom: 0px;
    color: #fff;
}

#depoimentos .container .row:nth-child(4) .content-depoimento a.btn-depoimento {
    width: 59px;
    height: 59px;
    background-color: #163D66;
    text-decoration: none;
    border-radius: 5px;
    border-radius: 0;
    padding: 0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#depoimentos .container .row:nth-child(4) .content-depoimento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: -1;
}

#depoimentos-carrossel {
    background-color: #F1F1F1;
    padding: 68px 0 73px 0;
}

#depoimentos-carrossel .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#depoimentos-carrossel .container h2 {
    color: #163D66;
    font-size: 45px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: calc(0.12 * 45px);
    width: 530px;
    text-align: center;
    margin-bottom: 59px;
}

#depoimentos-carrossel .container .owl-depoimentos {
    padding: 0 12px;
}

#depoimentos-carrossel .container .owl-depoimentos .item {
    background-color: #fff;
    padding: 39px 33px;
    border-radius: 5px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil {
    display: flex;
    margin-bottom: 29px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil .foto-perfil {
    width: 95px;
    height: 81px;
    overflow: hidden;
    border-radius: 3px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil .foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil .text-perfil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil .text-perfil h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: #163D66;
    margin-bottom: 7px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .perfil .text-perfil h4 {
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: #484848;
    margin-bottom: 7px;
}

#depoimentos-carrossel .container .owl-depoimentos .item .depoimento-cliente p {
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
    color: #484848;
}

.owl-dots {
    display: flex !important;
    justify-content: center;
    margin-top: 40px !important;
}

.owl-dot span {
    background: #D9D9D9 !important;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s;
    margin: 5px !important;
}

.owl-dot.active span {
    background: #163D66 !important;
}

/* MOBILE */
@media all and (max-width: 767px) {

    #depoimentos .container h1 {
        font-size: 28px;
        font-weight: 500;
        line-height: 36px;
        letter-spacing: calc(0.12* 28px);
        text-align: center;
        white-space: nowrap;
    }

    #depoimentos .container>p {
        width: 100% !important;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: calc(0.05 * 16px);
    }

    #depoimentos .container .row:nth-child(3) .col-sm-12 {
        flex-wrap: wrap;
        margin-bottom: 30px;
        justify-content: center;
    }

    #depoimentos .container .row:nth-child(4) .col-destaque {
        padding: 0;
    }

    #depoimentos .container .row:nth-child(4) .col-destaque,
    #depoimentos .container .row:nth-child(4) .col-md-4 {
        display: flex;
        justify-content: center;
        margin: 0 0 50px 0;
    }

    #depoimentos .container .row:nth-child(4) .col-destaque img,
    #depoimentos .container .row:nth-child(4) .col-md-4 img {
        /* width: 380px !important; */
        height: 443px !important;
    }

    #depoimentos .container .row:nth-child(4) .col-md-4:nth-child(4),
    #depoimentos .container .row:nth-child(4) .col-md-4:nth-child(5) {
        display: none !important;
    }

    #depoimentos .container .row:nth-child(4) .content-depoimento {
        width: 100% !important;
        height: 443px !important;
        margin: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #depoimentos .container .row:nth-child(4) .content-depoimento::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
        pointer-events: none;
        z-index: -1;
    }

    /* #depoimentos .container .row:nth-child(4) .mask-destaque,
    #depoimentos .container .row:nth-child(4) .mask {
        width: 88.7%;
        left: 24px;
    } */

    #depoimentos-carrossel {
        padding: 58px 0 68px 0;
    }

    #depoimentos-carrossel .container h2 {
        width: 380px;
        font-size: 28px;
        letter-spacing: calc(0.12 * 28px);
        line-height: 40px;
        margin-bottom: 44px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) {
        display: block;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .col-sm-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
        margin-bottom: 45px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .col-sm-12:last-child {
        margin-bottom: 0;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .col-sm-12 .card-depoimento {
        background-color: #fff;
        border-radius: 5px;
        padding: 39px 33px;
        width: 380px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil {
        display: flex;
        margin-bottom: 29px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil .foto-perfil {
        width: 95px;
        height: 81px;
        overflow: hidden;
        border-radius: 3px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil .foto-perfil img {
        width: 95px;
        height: 81px;
        object-fit: cover;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil .text-perfil {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 12px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil .text-perfil h3 {
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
        color: #163D66;
        margin-bottom: 7px;
    }

    #depoimentos-carrossel .container .row:nth-child(3) .perfil .text-perfil h4 {
        font-size: 13px;
        font-weight: 400;
        line-height: 16px;
        color: #484848;
        margin-bottom: 7px;
    }
}
