.home-testimonials {
    padding: clamp(3.5rem, 7vw, 7rem) 0;
    background: #eef7fa;
}

.home-testimonials__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.home-testimonials__heading .title_wrapper {
    max-width: 48rem;
    margin: 0;
    text-align: left;
}

.home-testimonials__intro {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: #466477;
}

.home-testimonials__controls {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
    padding-bottom: .25rem;
}

.home-testimonials__arrow {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid #00528a;
    border-radius: 50%;
    color: #00528a;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

.home-testimonials__arrow:hover:not(:disabled),
.home-testimonials__arrow:focus-visible {
    color: #fff;
    background: #00528a;
}

.home-testimonials__arrow:focus-visible,
.home-testimonials__pagination button:focus-visible {
    outline: 3px solid #70c9df;
    outline-offset: 3px;
}

.home-testimonials__arrow:disabled {
    opacity: .4;
    cursor: default;
}

.home-testimonials__count {
    min-width: 3.5rem;
    color: #466477;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.home-testimonials__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: .25rem .15rem 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-testimonials__track::-webkit-scrollbar {
    display: none;
}

.home-testimonials__card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 2.5rem) / 3);
    flex-direction: column;
    min-height: 20rem;
    padding: clamp(1.5rem, 2.4vw, 2.25rem);
    border: 1px solid #d8e8ee;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(6, 22, 36, .06);
    scroll-snap-align: start;
}

.home-testimonials__quote-mark {
    display: block;
    height: 2.5rem;
    color: #00528a;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
}

.home-testimonials__card blockquote {
    flex: 1;
    margin: 1rem 0 1.75rem;
    color: #203b4d;
    font-size: 1rem;
    line-height: 1.7;
}

.home-testimonials__author {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding-top: 1rem;
    border-top: 1px solid #dcebf0;
    color: #587182;
    font-size: .88rem;
    line-height: 1.45;
}

.home-testimonials__author strong {
    color: #061624;
    font-size: 1rem;
}

.home-testimonials__company {
    color: #00528a;
    font-weight: 700;
}

.home-testimonials__pagination {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: 1rem;
}

.home-testimonials__pagination button {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b8cbd4;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.home-testimonials__pagination button[aria-pressed="true"] {
    width: 1.7rem;
    background: #00528a;
}

@media (max-width: 991px) {
    .home-testimonials__card {
        flex-basis: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 767px) {
    .home-testimonials__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .home-testimonials__heading .title_wrapper {
        width: 100%;
    }

    .home-testimonials__card {
        flex-basis: 100%;
        min-height: 17rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonials__track {
        scroll-behavior: auto;
    }

    .home-testimonials__arrow,
    .home-testimonials__pagination button {
        transition: none;
    }
}

/* Composição dos testemunhos adaptada à identidade visual Chrescer. */
.home-testimonials { padding: clamp(4.5rem, 8vw, 7rem) 0; background: #F4FAFC; color: #061624; font-family: Figtree, Montserrat, sans-serif; }
.home-testimonials__heading { display: flex; align-items: center; justify-content: flex-start; gap: 2rem; margin: 0 0 3rem; text-align: left; }
.home-testimonials__heading-copy { flex: 0 1 30rem; width: auto; max-width: 30rem; }
.home-testimonials__heading .section_title { margin: 0; color: #00528A; font-family: Figtree, Montserrat, sans-serif; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.15; }
.home-testimonials__intro { color: #061624; }
.home-testimonials__slider { display: block; width: 100% !important; max-width: none !important; margin: 0 !important; overflow: hidden; }
.home-testimonials .testimonials2_track.splide__track { display: block; width: 100%; overflow-x: auto !important; overflow-y: hidden !important; padding: 0; scrollbar-width: none; }
.home-testimonials .testimonials2_track.splide__track::-webkit-scrollbar { display: none; }
.home-testimonials__list { display: flex; width: max-content; gap: 1.5rem; }
.home-testimonials__card { position: relative; box-sizing: border-box; display: flex; flex: 0 0 25rem !important; flex-direction: column; width: 25rem !important; max-width: 25rem !important; min-width: 0; min-height: 21.5rem; padding: 1.5rem; border: 1px solid #DCEBF0; border-radius: 1rem; background: #fff; box-shadow: 0 12px 32px rgba(6, 22, 36, .06); }
.home-testimonials__quote-mark { display: block; flex: 0 0 auto; height: 3rem; margin: 0 0 .4rem; color: #00528A; font-family: Figtree, sans-serif; font-size: 4.8rem; font-weight: 700; line-height: .85; }
.home-testimonials__quote { display: block; flex: 1; width: 100%; min-width: 0; margin: 0 0 1.25rem; border: 0; padding: 0; color: #061624; font-family: Figtree, Montserrat, sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.5; white-space: normal !important; overflow-wrap: anywhere; }
.home-testimonials__author { display: flex; flex-direction: row !important; gap: 1rem; align-items: center; justify-content: flex-start; min-height: 3.75rem; margin: auto 0 0; padding: 0; border: 0; color: #061624; }
.home-testimonials__author .testimonials2_profile_picture { flex: none; width: 3.75rem; height: 3.75rem; border-radius: 50%; object-fit: cover; }
.home-testimonials__author .testimonials2_profile_content { display: flex; min-width: 0; flex-direction: column; gap: .3rem; align-items: flex-start; }
.home-testimonials__author .testimonial_name { color: #061624; font-family: Figtree, Montserrat, sans-serif; font-size: 1rem; font-weight: 700; }
.home-testimonials__author .testimonial_job { color: #00528A; font-family: Figtree, Montserrat, sans-serif; font-size: .9rem; font-weight: 400; line-height: 1.35; white-space: normal; }
@media (max-width: 767px) { .home-testimonials { padding: 3.5rem 0; } .home-testimonials__heading { align-items: flex-start; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; } .home-testimonials__heading-copy { flex-basis: auto; max-width: 100%; } .home-testimonials__card { flex-basis: min(25rem, calc(100vw - 3rem)) !important; width: min(25rem, calc(100vw - 3rem)) !important; max-width: min(25rem, calc(100vw - 3rem)) !important; } }

/* Centralização do cabeçalho da secção de testemunhos. */
.home-testimonials__heading { justify-content: center; text-align: center; }
.home-testimonials__heading-copy { width: 100%; max-width: 48rem; margin-inline: auto; }
.home-testimonials__heading .section_title { width: 100%; text-align: center; }
.home-testimonials__intro { margin-inline: auto; text-align: center; }
@media (max-width: 767px) { .home-testimonials__heading { align-items: center; } }
