.depoimentos {
    background: #fafafa;
    padding: 48px 100px 100px;
}

.depoimentos__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.depoimentos__heading {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.depoimentos__eyebrow {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: #176848;
}

.depoimentos__title {
    margin: 0;
    font-size: 40px;
    line-height: 52px;
    font-weight: 600;
    color: #616161;
    max-width: 1028px;
}

.depoimentos__carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1240px;
}

.depoimentos__viewport {
    width: 100%;
    overflow: hidden;
}

.depoimentos__track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.depoimentos__slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 357px 1fr;
    align-items: center;
    gap: 40px;
}

.depoimentos__nav {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid #d1d1d1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depoimentos__nav img {
    width: 18px;
    height: 16px;
}

.depoimentos__photo {
    position: relative;
    width: 357px;
    height: 532px;
    border-radius: 60px 16px 60px 60px;
    overflow: hidden;
}

.depoimentos__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.depoimentos__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(23, 104, 72, 0.04);
}

.depoimentos__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.depoimentos__quote {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #242424;
}

.depoimentos__name {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #424242;
}

.depoimentos__role {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    color: #424242;
}

.depoimentos__logos {
    position: relative;
    background: #fafafa;
    padding: 30px;
    width: 100%;
    max-width: 1240px;
    overflow: hidden;
}

.depoimentos__logos-row {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease;
    will-change: transform;
}

.depoimentos__logo-tab {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 63px;
    position: relative;
    cursor: pointer;
    flex: 0 0 25%;
}

.depoimentos__logo-tab::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    border-radius: 999px;
    background: #757575;
}

.depoimentos__logo-tab--active::after {
    background: #147852;
}

.depoimentos__logo-tab img {
    max-width: calc(100% - 24px);
    max-height: 49px;
    filter: grayscale(0%);
}

.depoimentos__logo-tab:not(.depoimentos__logo-tab--active) img {
    filter: grayscale(100%);
}

.depoimentos__fade {
    position: absolute;
    inset: -8px 0 0 0;
    height: 155px;
    background-image: linear-gradient(
        90deg,
        rgb(250, 250, 250) 6.8582%,
        rgba(250, 250, 250, 0.4) 12.57%,
        rgba(250, 250, 250, 0) 46.635%,
        rgba(250, 250, 250, 0.4) 87.019%,
        rgb(250, 250, 250) 92.221%
    );
    pointer-events: none;
}

@media (max-width: 799px) {
    .depoimentos__heading {
        text-align: left;
        align-items: flex-start;
    }
    .depoimentos__title {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 1200px) {
    .depoimentos {
        padding: 48px 32px 80px;
    }

    .depoimentos__carousel {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .depoimentos__slide {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .depoimentos__nav {
        display: none;
    }
}
