/* ========================================
   Témoignages Section Styles
   ======================================== */

.temoignages_section {
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.temoignages_container {
    position: relative;
}

/* Étoile décorative en bas à droite */
.temoignages_star {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 320px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.temoignages_star img {
    width: 100%;
    height: auto;
}


/* Image gauche - Position absolute dans le container, du bas au haut */
.temoignages_visual_full {
    position: absolute;
    left: 0;
    top: -80px;        /* Compense le padding-top de la section */
    bottom: -80px;     /* Compense le padding-bottom de la section */
    width: 500px;
    z-index: 1;
}

.temoignages_visual_full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image jumelles positionnée à gauche */
.temoignages_jumelles {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 450px;
    z-index: 1;
}

.temoignages_jumelles img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenu témoignages à droite */
.temoignages_content {
    margin-left: 50%; /* Pousse le contenu à droite */
    padding-left: 70px; /* Espace entre l'image et le contenu */
    min-height: 400px;
    display: flex;
    align-items: center;
}

.temoignages_col_right {
    width: 100%;
    z-index: 2;
    position: relative;
}


/* ============================================
   COLONNE DROITE - Carousel
   ============================================ */

.testimonials_carousel {
    position: relative;
    padding: 40px 60px 60px 40px;
    user-select: none;
    width: 100%;
}

/* Container des slides - Hauteur fixe pour éviter les sauts */
.carousel_slides {
    position: relative;
    height: 300px !important;  /* Hauteur fixe et forcée pour tous les contenus */
    min-height: 300px !important;
    max-height: 300px !important;
}

/* Chaque slide - Tous TOUJOURS en position absolue */
.carousel_slide {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    visibility: visible !important;  /* Toujours visible, seule l'opacité change */
    pointer-events: none;
    transform: none !important;  /* Pas de transformation */
    z-index: 1;
}

.carousel_slide.active {
    position: absolute !important;  /* Force absolute même quand actif */
    opacity: 1;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;  /* Pas de transformation */
    z-index: 2;  /* Slide actif au-dessus */
}

/* Citation */
.testimonial_quote {
    font-size: 26px;
    line-height: 1.6;
    color: #514D40;
    font-style: italic;
    margin-bottom: 35px;
    quotes: none;
}

/* Auteur */
.testimonial_author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;  /* Espace avant les bullets */
}

.author_photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #E5E5E5;
}

.author_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo_placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D4A574 0%, #C4A962 100%);
}

.author_info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.author_name {
    font-size: 14px;
    font-weight: 600;
    color: #514D40;
    line-height: 1.3;
    white-space: nowrap;
}

/* Bullets navigation */
.carousel_bullets {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    height: 20px;  /* Hauteur fixe pour éviter le reflow */
}

.bullet {
    width: 16px;  /* Taille max (pour la bullet active) */
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: #3E3E3E;
    cursor: pointer;
    transition: transform 0.4s ease, background-color 0.4s ease;
    padding: 0;
    transform: scale(0.625);  /* 10/16 = 0.625 pour simuler 10px */
    flex-shrink: 0;
}

.bullet.active {
    background-color: #D4A574;
    transform: scale(1);  /* Taille normale (16px) */
}

.bullet:hover {
    opacity: 0.7;
}

/* Étoile décorative en arrière-plan (optionnelle) */
.temoignages_col_right::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 20%;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0L65 40L80 15L70 50L105 35L80 60L115 65L80 70L105 85L70 70L80 105L65 80L60 120L55 80L40 105L50 70L15 85L40 60L5 55L40 50L15 35L50 50L40 15L55 40L60 0Z' fill='%23F5EFE7' opacity='0.3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1199px) {
    .testimonial_quote {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .temoignages_jumelles {
        width: 350px;
    }
    
    .temoignages_content {
        margin-left: 45%;
        padding-left: 50px;
        min-height: 350px;
    }
    
    .temoignages_star {
        width: 200px;
        bottom: -60px;
        right: -30px;
    }
    
    .testimonials_carousel {
        padding: 30px 20px 50px;
    }
    
    .testimonial_quote {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .temoignages_section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .temoignages_jumelles {
        display: none; /* Masquer l'image sur mobile */
    }
    
    .temoignages_content {
        margin-left: 0;
        padding-left: 0;
        min-height: auto;
    }
    
    .temoignages_star {
        width: 150px;
        bottom: -40px;
        right: -20px;
        opacity: 0.4;
    }
    
    .testimonials_carousel {
        padding: 20px 15px 40px;
    }
    
    .carousel_slides {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
    
    .testimonial_quote {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .testimonial_author {
        margin-bottom: 15px;
    }
    
    .author_photo {
        width: 50px;
        height: 50px;
    }
    
    .author_name {
        font-size: 16px;
    }
    
    .carousel_bullets {
        justify-content: center;
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .testimonial_quote {
        font-size: 18px;
    }
    
    .bullet {
        width: 10px;
        height: 10px;
    }
}

/* Animations au chargement de la page */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials_carousel {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* ========================================
   EMPTY STATE - Pas d'avis encore
   ======================================== */

.reviews_empty_state {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out 0.4s both;
    margin-bottom: 80px;
}

.empty_state_icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty_state_icon svg {
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.empty_state_title {
    font-size: 24px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 12px;
    line-height: 1.3;
}

.empty_state_text {
    font-size: 16px;
    color: #7D7D7D;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Empty State */
@media (max-width: 767px) {
    .reviews_empty_state {
        padding: 40px 20px;
    }

    .empty_state_icon svg {
        width: 48px;
        height: 48px;
    }

    .empty_state_title {
        font-size: 20px;
    }

    .empty_state_text {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .empty_state_title {
        font-size: 18px;
    }

    .empty_state_text {
        font-size: 13px;
    }
}

