/* Styles pour la section des avis clients */
.testimonials {
    padding: 4rem 10%;
    background-color: var(--color-light);
    position: relative;
    border-top: 1px solid var(--color-secondary);
}

.testimonials::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' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='%23f0e4d8' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8a7 7 0 1 0 14 0a7 7 0 1 0-14 0'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
    background-position: 95% 5%;
    background-repeat: no-repeat;
    background-size: 70px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    line-height: 1.4;
}

.testimonials-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--color-secondary);
}

.testimonials-title p {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-accent);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 196, 183, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -20px;
    font-size: 3.5rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: 'Cormorant Garamond', serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(182, 159, 137, 0.2);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    border: 2px solid var(--color-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 500;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--color-primary);
    margin-right: 0.2rem;
    font-size: 0.9rem;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: var(--color-secondary);
    text-decoration-thickness: 2px;
    position: relative;
}

.fancy-text {
    font-family: 'Dancing Script', cursive;
    font-size: 2.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-block;
    transform: rotate(-2deg);
    position: relative;
    top: 3px;
    margin-left: 3px;
    margin-right: 3px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 5%;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .testimonials-title h2 {
        font-size: 2.2rem;
    }
}
