/* —— Depoimentos (lista lateral) —— */
.depoimentos {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-top: 1px solid var(--slate-200);
    overflow-x: clip;
    overflow-y: visible;
}

.depoimentos__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(4rem, 10vw, 6rem) 0 clamp(3rem, 8vw, 4rem);
}

.depoimentos__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding-inline: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.depoimentos__eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.depoimentos__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 20ch;
}

.depoimentos__lead {
    font-size: clamp(1rem, 2vw, 1.0625rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 42ch;
}

/* Área full-width com fade nos cantos */
.depoimentos__viewport {
    position: relative;
    width: 100%;
    padding-block: 0.5rem 1.75rem;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 93%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 93%,
        transparent 100%
    );
}

.depoimentos__scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: 0.5rem;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.depoimentos__scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.depoimentos__scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.depoimentos__scroll:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.depoimentos__list {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    padding: 0.75rem clamp(1.5rem, 4vw, 3rem) 1.25rem;
}

.depoimentos__list > li {
    display: flex;
    flex: 0 0 auto;
    padding-block: 0.25rem;
}

.depoimento-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(20rem, 78vw);
    height: 100%;
    min-height: 14.5rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: left;
    margin-block: 0.25rem;
}

.depoimento-card.glass {
    overflow: visible;
}

.depoimento-card__top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.depoimento-card__foto {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--slate-100);
}

.depoimento-card__meta {
    flex: 1;
    min-width: 0;
}

.depoimento-card__nome {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.depoimento-card__servico {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

.depoimento-card__estrelas {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #f59e0b;
}

.depoimento-card__estrela-vazia {
    color: var(--slate-200);
}

.depoimento-card__texto {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--slate-700);
    font-style: normal;
    margin: 0;
}

.depoimentos__hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-inline: 1.5rem;
}

@media (min-width: 769px) {
    .depoimentos__hint {
        display: none;
    }
}

@media (max-width: 768px) {
    .depoimentos__title {
        max-width: none;
    }

    .depoimentos__viewport {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 4%,
            #000 96%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 4%,
            #000 96%,
            transparent 100%
        );
    }
}
