/* =====================================================
   AVANTHY — DEPOIMENTOS EM CARDS AZUIS
   ===================================================== */

.avt-testimonials-section,
.avt-testimonials-section * {
    box-sizing: border-box;
}

.avt-testimonials-section {
    position: relative;
    overflow: hidden;
    padding: 94px 0;
    background:
        radial-gradient(
            circle at 93% 10%,
            rgba(0, 101, 163, 0.10),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8fbfe 0%,
            #eef5fb 100%
        );
}

.avt-testimonials-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.avt-testimonials-header {
    width: min(760px, 100%);
    margin: 0 auto 43px;
    text-align: center;
}

.avt-testimonials-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #0065a3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.avt-testimonials-kicker::before {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6600, #ff934d);
}

.avt-testimonials-header h2 {
    margin: 0 0 17px;
    color: #00234d;
    font-family: Poppins, Arial, sans-serif;
    font-size: clamp(32px, 4vw, 47px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.avt-testimonials-header p {
    max-width: 680px;
    margin: 0 auto;
    color: #617084;
    font-size: 16px;
    line-height: 1.75;
}

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

.avt-testimonial-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 355px;
    flex-direction: column;
    overflow: hidden;
    padding: 31px 29px 27px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 23px;
    background:
        linear-gradient(
            145deg,
            #00234d 0%,
            #004f7e 58%,
            #0065a3 100%
        );
    box-shadow:
        0 21px 48px rgba(0, 35, 77, 0.20);
    color: #ffffff;
    isolation: isolate;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.avt-testimonial-card:nth-child(2) {
    background:
        linear-gradient(
            145deg,
            #002a57 0%,
            #00598a 60%,
            #0878ae 100%
        );
}

.avt-testimonial-card:nth-child(3) {
    background:
        linear-gradient(
            145deg,
            #001d40 0%,
            #003e69 58%,
            #006091 100%
        );
}

.avt-testimonial-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -75px;
    right: -65px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.16),
            transparent 68%
        );
}

.avt-testimonial-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 25px;
    bottom: 24px;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    transform: rotate(15deg);
}

.avt-testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.avt-quote {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            #ff5a00,
            #ff8a35
        );
    box-shadow:
        0 12px 26px rgba(255, 102, 0, 0.30);
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.avt-card-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
}

.avt-card-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avt-testimonial-text {
    flex: 1;
    margin: 0 0 27px;
    color: rgba(255, 255, 255, 0.91);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

.avt-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.avt-avatar {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.avt-author {
    min-width: 0;
}

.avt-author strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.avt-author span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
}

@media (hover: hover) {
    .avt-testimonial-card:hover {
        transform: translateY(-7px);
        box-shadow:
            0 29px 62px rgba(0, 35, 77, 0.27);
    }
}

@media (max-width: 900px) {
    .avt-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }

    .avt-testimonial-card {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .avt-testimonials-section {
        padding: 68px 0 72px;
    }

    .avt-testimonials-shell {
        width: calc(100% - 32px);
    }

    .avt-testimonials-header {
        margin-bottom: 31px;
        text-align: left;
    }

    .avt-testimonials-kicker {
        margin-bottom: 14px;
        font-size: 10px;
    }

    .avt-testimonials-header h2 {
        margin-bottom: 14px;
        font-size: 31px;
        line-height: 1.16;
    }

    .avt-testimonials-header p {
        font-size: 14px;
        line-height: 1.7;
    }

    .avt-testimonials-grid {
        gap: 16px;
    }

    .avt-testimonial-card {
        min-height: 0;
        padding: 25px 22px 23px;
        border-radius: 20px;
    }

    .avt-testimonial-top {
        margin-bottom: 23px;
    }

    .avt-quote {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 39px;
    }

    .avt-card-icon {
        width: 41px;
        height: 41px;
        border-radius: 13px;
    }

    .avt-testimonial-text {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.72;
    }

    .avt-testimonial-footer {
        padding-top: 18px;
    }
}

/* AVANTHY ICONE MENSAGEM BRANCO START */
.avt-card-icon svg,
.avt-card-icon svg path,
.avt-card-icon svg line,
.avt-card-icon svg polyline {
    fill: none !important;
    stroke: #ffffff !important;
    stroke-opacity: 1 !important;
    opacity: 1 !important;
}
/* AVANTHY ICONE MENSAGEM BRANCO END */

/* AVANTHY AVATAR BRANCO START */
.avt-testimonial-card .avt-avatar {
    background: #ffffff !important;
    color: #0065a3 !important;
    border: 1px solid rgba(255, 255, 255, 0.90) !important;

    box-shadow:
        0 8px 20px rgba(0, 35, 77, 0.22),
        inset 0 0 0 1px rgba(0, 101, 163, 0.06) !important;

    font-weight: 800 !important;
}
/* AVANTHY AVATAR BRANCO END */
