/* Styles ultra-modernes pour la section témoignages */
.testimonial-style-one-area {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

/* Arrière-plan et effets */
.testimonial-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(25, 55, 109, 0.4) 0%, rgba(25, 25, 50, 0.2) 100%);
    z-index: 2;
}

.floating-shapes span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.floating-shapes .shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    animation: float 8s ease-in-out infinite;
}

.floating-shapes .shape-2 {
    top: 60%;
    left: 15%;
    width: 80px;
    height: 80px;
    animation: float 9s ease-in-out infinite 1s;
}

.floating-shapes .shape-3 {
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    animation: float 7s ease-in-out infinite 2s;
}

.floating-shapes .shape-4 {
    bottom: 15%;
    right: 20%;
    width: 60px;
    height: 60px;
    animation: float 10s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(8px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(2deg); }
}

/* Titre élégant */
.testimonial-heading {
    position: relative;
    z-index: 10;
}

.testimonial-heading .sub-title {
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.testimonial-heading .title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback pour les navigateurs qui ne supportent pas background-clip: text */
}

.heading-divider {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 3px;
}

.heading-divider span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    top: 0;
    left: 0;
    border-radius: 10px;
}

/* Showcase de témoignages */
.testimonials-showcase {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Carrousel principal */
.testimonial-carousel {
    position: relative;
    min-height: 300px;
    margin-bottom: 40px;
}

/* Style des témoignages */
.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Guillemets */
.quote-mark {
    margin-bottom: 20px;
    color: var(--color-primary);
    opacity: 0.7;
}

/* Corps du témoignage */
.testimonial-body {
    margin-bottom: 30px;
}

.testimonial-body p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-style: italic;
}

/* Pied du témoignage */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.client-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.client-rating {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.rating-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.rating-dot.active {
    background-color: var(--color-primary);
}

/* Contrôles de navigation */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.control-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-button:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Barre de progression */
.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.progress-fill {
    position: absolute;
    height: 100%;
    width: 33.33%;
    background: var(--color-primary);
    left: 0;
    top: 0;
    transition: transform 0.6s ease;
    transform-origin: left;
}

/* Compteur de témoignages */
.testimonial-counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-counter .current {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.testimonial-counter .separator {
    margin: 0 5px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-heading .title {
        font-size: 32px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-body p {
        font-size: 16px;
    }
    
    .progress-bar {
        width: 100px;
    }
}
