/* ========================================
   ESTILOS PARA SEÇÃO DE DEPOIMENTOS
   ======================================== */

/* ===== SEÇÃO PRINCIPAL ===== */
.testimonial-reimagined {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(120deg, #fafafa 0%, #f3f3f3 100%);
    overflow: hidden;
    z-index: 1;
}

/* ===== ELEMENTOS DE BACKGROUND ===== */
.testimonial-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c0bd30' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.testimonial-blob {
    position: absolute;
    top: -100px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 86% 14% 81% 19% / 32% 73% 27% 68%;
    background: linear-gradient(135deg, rgba(192, 189, 48, 0.05) 0%, rgba(192, 189, 48, 0.1) 100%);
    animation: blob-float 15s infinite alternate ease-in-out;
    z-index: -1;
}

/* ===== CABEÇALHO DA SEÇÃO ===== */
.section-header-modern {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
}

.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(192, 189, 48, 0.1);
    color: #C0BD30;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    border-radius: 30px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    animation: badge-shine 3s infinite;
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
}

.highlight-text {
    position: relative;
    color: #C0BD30;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(192, 189, 48, 0.2);
    z-index: -1;
    transform: skewX(-12deg);
}

.heading-underline {
    position: relative;
    display: inline-flex;
    width: 80px;
    height: 3px;
    background-color: #E7E7E7;
    margin: 0 auto;
}

.heading-underline span {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background-color: #C0BD30;
    animation: underline-move 3s ease-in-out infinite;
}

/* ===== SLIDER E CONTROLES ===== */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
    background-color: none;
}

#testimonialSlider {
    display: flex;
    flex-wrap: nowrap; 
    gap: 30px;
    transition: transform 0.5s ease;
    width: 100%;
    padding-left: calc(50% - 275px);
    padding-right: calc(50% - 275px);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 20px;
}

.control-prev,
.control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(192, 189, 48, 0.2);
    background-color: transparent;
    color: #C0BD30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-prev:hover,
.control-next:hover {
    background-color: #C0BD30;
    color: white;
    transform: scale(1.05);
}

.testimonial-pagination {
    display: flex;
    gap: 8px;
}

.pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(192, 189, 48, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-bullet.active {
    background-color: #C0BD30;
    transform: scale(1.2);
}

/* ===== CARDS DE DEPOIMENTO ===== */
.testimonial-card {
    flex: 0 0 auto;
    width: calc(50% - 15px);
    max-width: 550px;
    min-width: 275px;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease, filter 0.4s ease;
    transform-origin: center center;
    opacity: 0.7;
    transform: scale(0.95);
    filter: blur(2px);
    overflow: hidden;
}

.testimonial-card.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #C0BD30 0%, #d8d534 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease 0.3s;
}

.testimonial-card.active::before {
    transform: scaleX(1);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    opacity: 0.1;
    background-image: url("../assets/images/icons/citacao2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0;
}

.testimonial-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
}

.star {
    position: relative;
    width: 20px;
    height: 20px;
    opacity: 0.3;
}

.star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C0BD30'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.star.active {
    opacity: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    position: relative;
    width: 60px;
    height: 60px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.author-details p {
    margin: 0;
    font-size: 14px;
    color: #888;
}

/* ===== EFEITOS HOVER E ANIMAÇÕES ===== */
.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    opacity: 0.9;
}

.testimonial-card:hover:not(.active) {
    filter: blur(1px);
}

.testimonial-card.active:hover {
    transform: translateY(-5px) scale(1.05);
    filter: blur(0);
    opacity: 1;
}

.testimonial-card.active .testimonial-text,
.testimonial-card.active .testimonial-rating,
.testimonial-card.active .author-details {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

.testimonial-card.active .testimonial-text {
    animation-name: fadeInUp;
    animation-delay: 0.1s;
}

.testimonial-card.active .testimonial-rating {
    animation-name: fadeInUp;
    animation-delay: 0.2s;
}

.testimonial-card.active .author-details {
    animation-name: fadeInUp;
    animation-delay: 0.4s;
}

/* ===== KEYFRAMES ===== */
@keyframes blob-float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 86% 14% 81% 19% / 32% 73% 27% 68%;
    }
    50% {
        transform: translate(-20px, 20px) rotate(5deg) scale(1.05);
        border-radius: 76% 24% 71% 29% / 42% 63% 37% 58%;
    }
    100% {
        transform: translate(-10px, -10px) rotate(-5deg) scale(0.95);
        border-radius: 66% 34% 61% 39% / 52% 53% 47% 48%;
    }
}

@keyframes badge-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes underline-move {
    0% { left: 0; }
    50% { left: calc(100% - 30px); }
    100% { left: 0; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .testimonial-reimagined {
        padding: 100px 0;
    }
    
    .section-heading {
        font-size: 36px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .testimonial-reimagined {
        padding: 80px 0;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 15px);
        max-width: calc(100% - 15px);
    }
}

@media (max-width: 767px) {
    .testimonial-reimagined {
        padding: 60px 0;
    }
    
    .section-header-modern {
        margin-bottom: 40px;
    }
    
    .section-heading {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-controls {
        margin-top: 20px;
    }
    
    .control-prev,
    .control-next {
        width: 40px;
        height: 40px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .testimonial-reimagined {
        padding: 50px 0;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .quote-icon {
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .star {
        width: 16px;
        height: 16px;
    }
    
    .author-image {
        width: 40px;
        height: 40px;
    }
    
    .author-details h4 {
        font-size: 16px;
    }
    
    .author-details p {
        font-size: 12px;
    }
}
