.global-depoimentos,
.global-depoimentos * {
    box-sizing: border-box;
}

.global-depoimentos {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
    font-family: Montserrat, Arial, sans-serif;
    --gdep-hover-y: -4px;
    --gdep-hover-duration: 280ms;
    --gdep-hover-shadow: rgba(0,103,200,.36);
    --gdep-active-bg: #0d84de;
    --gdep-active-border: #0d84de;
    --gdep-active-text: #ffffff;
    --gdep-active-quote: #5ed3f6;
    --gdep-active-divider: rgba(255,255,255,.28);
    --gdep-active-shadow: rgba(0,103,200,.36);
}

.global-depoimentos__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.global-depoimentos__header {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.global-depoimentos__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    min-height: 42px;
    border: 1px solid #b8deff;
    border-radius: 24px;
    background: #f1f8fe;
    color: #0058a8;
    padding: 12px 28px;
    margin-bottom: 44px;
    line-height: 1;
}

.global-depoimentos__title {
    margin: 0 0 18px;
    padding: 0;
    color: #07142b;
    font-size: 42px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.global-depoimentos__title-highlight {
    color: #0067c8;
}

.global-depoimentos__description {
    margin: 0;
    padding: 0;
    color: #1d1d1d;
    font-size: 16px;
    line-height: 1.6;
}

.global-depoimentos__carousel-shell {
    position: relative;
    width: 100%;
}

.global-depoimentos__viewport {
    width: 100%;
    overflow: visible;
}

.global-depoimentos__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.global-depoimentos__card {
    min-width: 0;
    min-height: 386px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 22px 16px 24px;
    border: 1px solid #c9e8ff;
    border-radius: 18px;
    background: #f7fafc;
    color: #161616;
    overflow: hidden;
    transition:
        transform var(--gdep-hover-duration) cubic-bezier(.22,.61,.36,1),
        box-shadow var(--gdep-hover-duration) ease,
        border-color var(--gdep-hover-duration) ease,
        background-color var(--gdep-hover-duration) ease,
        color var(--gdep-hover-duration) ease;
}


@media (hover:hover) and (pointer:fine) {
    .global-depoimentos--hover .global-depoimentos__card:hover {
        transform: translate3d(0,var(--gdep-hover-y),0);
        background: var(--gdep-active-bg) !important;
        border-color: var(--gdep-active-border) !important;
        color: var(--gdep-active-text) !important;
        box-shadow: 0 18px 34px -14px var(--gdep-active-shadow) !important;
    }

    .global-depoimentos--hover .global-depoimentos__card:hover .global-depoimentos__quote-text,
    .global-depoimentos--hover .global-depoimentos__card:hover .global-depoimentos__client-name,
    .global-depoimentos--hover .global-depoimentos__card:hover .global-depoimentos__client-role {
    transition: color var(--gdep-hover-duration) ease, border-color var(--gdep-hover-duration) ease;
        color: var(--gdep-active-text) !important;
    }

    .global-depoimentos--hover .global-depoimentos__card:hover .global-depoimentos__quote-mark {
    transition: color var(--gdep-hover-duration) ease, border-color var(--gdep-hover-duration) ease;
        color: var(--gdep-active-quote) !important;
    }

    .global-depoimentos--hover .global-depoimentos__card:hover .global-depoimentos__client {
    transition: color var(--gdep-hover-duration) ease, border-color var(--gdep-hover-duration) ease;
        border-top-color: var(--gdep-active-divider) !important;
    }
}

.global-depoimentos--hover .global-depoimentos__card:focus-within {
    transform: translate3d(0,var(--gdep-hover-y),0);
    background: var(--gdep-active-bg) !important;
    border-color: var(--gdep-active-border) !important;
    color: var(--gdep-active-text) !important;
    box-shadow: 0 18px 34px -14px var(--gdep-active-shadow) !important;
}

.global-depoimentos--hover .global-depoimentos__card:focus-within .global-depoimentos__quote-text,
.global-depoimentos--hover .global-depoimentos__card:focus-within .global-depoimentos__client-name,
.global-depoimentos--hover .global-depoimentos__card:focus-within .global-depoimentos__client-role {
    color: var(--gdep-active-text) !important;
}

.global-depoimentos--hover .global-depoimentos__card:focus-within .global-depoimentos__quote-mark {
    color: var(--gdep-active-quote) !important;
}

.global-depoimentos--hover .global-depoimentos__card:focus-within .global-depoimentos__client {
    border-top-color: var(--gdep-active-divider) !important;
}

.global-depoimentos__card-main {
    min-width: 0;
    flex: 1 1 auto;
}

.global-depoimentos__quote-mark {
    display: block;
    width: max-content;
    margin: -8px 0 2px;
    color: #45c7f1;
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: .8;
    font-weight: 700;
    letter-spacing: -10px;
    transform: translateX(-3px);
}


.global-depoimentos__stars {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 10px 0 24px;
    color: #ffdb00;
    font-size: 20px;
    line-height: 1;
}

.global-depoimentos__quote {
    margin: 0;
    padding: 0;
    border: 0;
}

.global-depoimentos__quote-text {
    transition: color var(--gdep-hover-duration) ease, border-color var(--gdep-hover-duration) ease;
    margin: 0;
    color: #161616;
    font-size: 14px;
    line-height: 1.95;
    font-weight: 400;
    text-align: left;
}


.global-depoimentos__client {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 90px;
    min-height: 90px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #d4e8f6;
    font-style: normal;
}

/*
 * Alinhamento do rodapé dos depoimentos:
 * todos os cards reservam a mesma altura para nome/cargo. Assim a linha
 * divisória permanece no mesmo eixo, independentemente do tamanho do texto.
 */


.global-depoimentos__client-name {
    transition: color var(--gdep-hover-duration) ease, border-color var(--gdep-hover-duration) ease;
    display: block;
    color: #161616;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
}

.global-depoimentos__client-role {
    display: block;
    color: #161616;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}


.global-depoimentos__arrow,
.global-depoimentos__dots {
    display: none;
}

.global-depoimentos__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,103,200,.12);
    border-radius: 50%;
    background: #fff;
    color: #0067c8;
    font: 700 28px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 22px rgba(0,103,200,.12);
}

.global-depoimentos__arrow--prev { left: 4px; }
.global-depoimentos__arrow--next { right: 4px; }
.global-depoimentos__arrow:disabled { opacity: .35; cursor: default; }

.global-depoimentos__dots {
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.global-depoimentos__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9e8ff;
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.global-depoimentos__dot.is-active {
    width: 24px;
    border-radius: 8px;
    background: #0067c8;
}

@media (max-width: 1024px) {
    .global-depoimentos__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .global-depoimentos {
        overflow: hidden;
    }

    .global-depoimentos__container {
        max-width: 100%;
    }

    .global-depoimentos__header {
        max-width: 100%;
    }

    .global-depoimentos__badge {
        min-width: 150px;
        margin-bottom: 28px;
    }

    .global-depoimentos__title {
        font-size: 30px;
        letter-spacing: -0.015em;
    }

    .global-depoimentos__track {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .global-depoimentos__card {
        min-height: 360px;
    }

    .global-depoimentos.is-carousel-active .global-depoimentos__viewport {
        overflow: hidden;
        touch-action: pan-y;
        cursor: grab;
    }

    .global-depoimentos.is-carousel-active .global-depoimentos__viewport.is-dragging {
        cursor: grabbing;
    }

    .global-depoimentos.is-carousel-active .global-depoimentos__track {
        display: flex;
        align-items: stretch;
        grid-template-columns: none;
        will-change: transform;
    }

    .global-depoimentos.is-carousel-active .global-depoimentos__card {
        flex: 0 0 auto;
    }

    .global-depoimentos.is-carousel-active[data-gdep-arrows="yes"] .global-depoimentos__arrow {
        display: inline-flex;
    }

    .global-depoimentos.is-carousel-active[data-gdep-dots="yes"] .global-depoimentos__dots {
        display: flex;
    }

    .global-depoimentos--no-mobile-animation .gdep-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .global-depoimentos .gdep-animate,
    .global-depoimentos__card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}
