/*
 * Estuda Plus - Carrossel reutilizável de depoimentos
 * Compatível com Bootstrap 3 e Owl Carousel 2
 */

.ep-carousel-depoimentos {
    padding: 70px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(61,94,183,.07),
            transparent 28%
        ),
        #f5f7fb;
    color: #263238;
    font-family: 'Ubuntu', sans-serif;
}

.ep-carousel-depoimentos-cabecalho {
    max-width: 760px;
    margin: 0 auto 38px;
}

.ep-carousel-depoimentos-selo {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 30px;
    background: #e9eefc;
    color: #2f4f9d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ep-carousel-depoimentos-cabecalho h2 {
    margin: 0 0 13px;
    color: #1d2f63;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.ep-carousel-depoimentos-cabecalho p {
    margin: 0;
    color: #6a7484;
    font-size: 17px;
    line-height: 1.65;
}

.ep-depoimentos-carousel .owl-stage {
    display: flex;
}

.ep-depoimentos-carousel .owl-item {
    display: flex;
}

.ep-carousel-depoimento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 410px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #e5eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35,53,92,.09);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ep-carousel-depoimento-card:before {
    content: "“";
    position: absolute;
    top: -5px;
    right: 18px;
    color: rgba(48,78,159,.065);
    font-family: Georgia, serif;
    font-size: 94px;
    line-height: 1;
    pointer-events: none;
}

.ep-carousel-depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(35,53,92,.14);
}

.ep-carousel-depoimento-estrelas {
    position: relative;
    z-index: 2;
    margin-bottom: 17px;
    font-size: 19px;
    letter-spacing: 2px;
}

.ep-carousel-depoimento-estrelas span {
    color: #d9dde6;
}

.ep-carousel-depoimento-estrelas span.ativa {
    color: #f4b740;
}

.ep-carousel-depoimento-card blockquote {
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
    color: #4c5665;
    font-size: 16px;
    line-height: 1.75;
}

.ep-carousel-depoimento-pessoa {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.ep-carousel-depoimento-foto,
.ep-carousel-depoimento-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    margin-right: 14px;
    border-radius: 50%;
}

.ep-carousel-depoimento-foto {
    object-fit: cover;
    border: 3px solid #edf1fb;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.ep-carousel-depoimento-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf0ff;
    color: #3553a4;
    font-size: 23px;
    font-weight: 700;
}

.ep-carousel-depoimento-identificacao {
    min-width: 0;
}

.ep-carousel-depoimento-identificacao strong {
    display: block;
    margin-bottom: 4px;
    color: #21366f;
    font-size: 17px;
    font-weight: 700;
}

.ep-carousel-depoimento-identificacao span {
    display: block;
    color: #7a8391;
    font-size: 13px;
    line-height: 1.4;
}

.ep-carousel-depoimento-escola {
    display: flex;
    align-items: flex-start;
    padding-top: 17px;
    border-top: 1px solid #edf0f5;
    color: #314b8f;
}

.ep-carousel-depoimento-escola > .glyphicon {
    margin-top: 2px;
    margin-right: 9px;
}

.ep-carousel-depoimento-escola strong {
    display: block;
    color: #314b8f;
    font-size: 14px;
    line-height: 1.4;
}

.ep-carousel-depoimento-escola span {
    display: block;
    margin-top: 3px;
    color: #7a8494;
    font-size: 12px;
}

.ep-depoimentos-carousel.owl-theme .owl-nav {
    margin-top: 26px;
}

.ep-depoimentos-carousel.owl-theme .owl-nav [class*="owl-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 5px;
    border-radius: 50%;
    background: #fff;
    color: #2f4f9d;
    box-shadow: 0 7px 20px rgba(35,53,92,.11);
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.ep-depoimentos-carousel.owl-theme .owl-nav [class*="owl-"]:hover {
    background: #304e9f;
    color: #fff;
    transform: translateY(-2px);
}

.ep-depoimentos-carousel.owl-theme .owl-dots {
    margin-top: 17px;
}

.ep-depoimentos-carousel.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px;
    background: #c8d1e4;
    transition:
        width .2s ease,
        background .2s ease;
}

.ep-depoimentos-carousel.owl-theme .owl-dots .owl-dot.active span {
    width: 24px;
    border-radius: 10px;
    background: #304e9f;
}

.ep-carousel-depoimentos-acao {
    margin-top: 28px;
}

.ep-carousel-depoimentos-botao {
    padding: 12px 24px;
    border: 1px solid #304e9f;
    border-radius: 8px;
    background: transparent;
    color: #304e9f;
    font-weight: 700;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.ep-carousel-depoimentos-botao:hover,
.ep-carousel-depoimentos-botao:focus {
    background: #304e9f;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .ep-carousel-depoimentos {
        padding: 58px 0;
    }

    .ep-carousel-depoimentos-cabecalho h2 {
        font-size: 29px;
    }
}

@media (max-width: 767px) {
    .ep-carousel-depoimentos {
        padding: 48px 0;
    }

    .ep-carousel-depoimentos-cabecalho {
        margin-bottom: 30px;
    }

    .ep-carousel-depoimentos-cabecalho h2 {
        font-size: 26px;
    }

    .ep-carousel-depoimentos-cabecalho p {
        font-size: 15px;
    }

    .ep-carousel-depoimento-card {
        min-height: 0;
        padding: 24px;
    }
}
