/* =========================================================
   LVHP Témoignages – CSS clean
   ========================================================= */

/* --------- Wrapper global --------- */
.lvhp-testimonials-wrapper {
    width: 100%;
    max-width: 1242px;      /* largeur de ton contenu */
    margin: 0 auto;
    padding: 0 24px;        /* même padding que le reste du site */
    font-family: inherit;
    color: inherit;
}

/* Wrapper interne (sert de référence aux boutons nav) */
.lvhp-testimonials-inner {
    position: relative;
}

/* Le slider principal : on masque les côtés pour ne voir que 1 ou 2 cartes */
.lvhp-testimonials-carousel {
    position: relative;
    overflow: hidden;
}

/* --------- Carte témoignage --------- */
.lvhp-testimonial-card {
    height: auto;
}

.lvhp-testimonial-inner {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --------- Header (avatar + nom + titre + étoiles) --------- */
.lvhp-testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lvhp-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lvhp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lvhp-testimonial-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: inherit;
}

.lvhp-testimonial-name {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 600;
}

.lvhp-testimonial-title {
    font-size: 16px;
    margin-top: 4px;
}

/* --------- Rating étoiles --------- */
.lvhp-testimonial-rating {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.lvhp-stars {
    position: relative;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.lvhp-stars-base,
.lvhp-stars-fill {
    font-family: inherit;
}

.lvhp-stars-base {
    color: #d0d0d0;
}

.lvhp-stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #f6b300; /* couleur étoiles remplies */
    width: 0;
    transition: width .5s ease;
}

/* --------- Galerie 3 images paysage 3:2 --------- */
.lvhp-testimonial-gallery {
    width: 100%;
}

.lvhp-testimonial-gallery .swiper-wrapper {
    cursor: grab;
}

.lvhp-testimonial-gallery .swiper-wrapper:active {
    cursor: grabbing;
}

/* Ratio fixe 3:2 pour chaque vignette */
.lvhp-testimonial-gallery-item {
    aspect-ratio: 3 / 2;
    width: 100%;
}

.lvhp-testimonial-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* --------- Texte du témoignage --------- */
.lvhp-testimonial-content {
    font-size: 15px;
    line-height: 1.7;
    font-family: inherit;
}

/* --------- Boutons de navigation --------- */
/* Style demandé */
.lvhp-testimonials-inner .swiper-button-prev,
.lvhp-testimonials-inner .swiper-button-next {
    background: #845864;
    border: 1px solid black;
    border-radius: 50%;
    height: 50px;
    width: 50px;

    color: white;
    font-size: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;

    opacity: 0.75;
    transition: opacity .3s ease-in-out;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: none;
}

/* Effet hover */
.lvhp-testimonials-inner .swiper-button-prev:hover,
.lvhp-testimonials-inner .swiper-button-next:hover {
    opacity: 1;
}

/* Décalage horizontal (en dehors des cartes) */
.lvhp-testimonials-inner .swiper-button-prev {
    left: -40px;   /* ajuste si besoin */
}

.lvhp-testimonials-inner .swiper-button-next {
    right: -40px;
}

/* Icônes Swiper par défaut, mais adaptées à ton style */
.lvhp-testimonials-inner .swiper-button-prev::after,
.lvhp-testimonials-inner .swiper-button-next::after {
    font-size: 20px;
    color: inherit;   /* blanc comme le bouton */
}

/* --------- Responsive --------- */
@media (max-width: 767px) {
    .lvhp-testimonial-inner {
        padding: 18px;
    }

    .lvhp-testimonial-header {
        align-items: flex-start;
    }

    .lvhp-testimonial-rating {
        margin-left: 0;
    }

    /* on rapproche un peu les boutons nav sur mobile */
    .lvhp-testimonials-inner .swiper-button-prev {
        left: -10px;
    }

    .lvhp-testimonials-inner .swiper-button-next {
        right: -10px;
    }
}

/* =========================================================
   OVERRIDE FINAL – Boutons de navigation témoignages
   ========================================================= */

.lvhp-testimonials-inner .swiper-button-prev,
.lvhp-testimonials-inner .swiper-button-next {
    /* On reset tout ce que Swiper / le thème met dessus */
    all: unset;

    /* Style du bouton demandé */
    background: #845864;
    border: 1px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;

    color: #ffffff;
    font-size: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    opacity: .75;
    box-shadow: none;
    transition: opacity .3s ease-in-out;

    /* Positionnement */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Hover */
.lvhp-testimonials-inner .swiper-button-prev:hover,
.lvhp-testimonials-inner .swiper-button-next:hover {
    opacity: 1;
}

/* Position horizontale desktop */
.lvhp-testimonials-inner .swiper-button-prev {
    left: -40px;
}

.lvhp-testimonials-inner .swiper-button-next {
    right: -40px;
}

/* Version mobile : on les rapproche un peu */
@media (max-width: 768px) {
    .lvhp-testimonials-inner .swiper-button-prev {
        left: -10px;
    }
    .lvhp-testimonials-inner .swiper-button-next {
        right: -10px;
    }
}

/* On définit NOUS-MÊMES les flèches, pour virer le style "chevron bleu" du thème */
.lvhp-testimonials-inner .swiper-button-prev::after,
.lvhp-testimonials-inner .swiper-button-next::after {
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    color: inherit;   /* blanc comme le bouton */
}

/* Flèche gauche/droite (caractères) */
.lvhp-testimonials-inner .swiper-button-prev::after {
    content: '\2039';  /* ‹ */
}

.lvhp-testimonials-inner .swiper-button-next::after {
    content: '\203A';  /* › */
}

/* =========================================================
   OVERRIDE FINAL – Boutons de navigation témoignages
   ========================================================= */

.lvhp-testimonials-inner .swiper-button-prev,
.lvhp-testimonials-inner .swiper-button-next {
    /* On reset tout ce que Swiper / le thème met dessus */
    all: unset;

    /* Style du bouton demandé */
    background: #845864;
    border: 1px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;

    color: #ffffff;
    font-size: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    opacity: .75;
    box-shadow: none;
    transition: opacity .3s ease-in-out;

    /* Positionnement */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Hover */
.lvhp-testimonials-inner .swiper-button-prev:hover,
.lvhp-testimonials-inner .swiper-button-next:hover {
    opacity: 1;
}

/* Position horizontale desktop */
.lvhp-testimonials-inner .swiper-button-prev {
    left: -40px;
}

.lvhp-testimonials-inner .swiper-button-next {
    right: -40px;
}

/* Version mobile : on les rapproche un peu */
@media (max-width: 768px) {
    .lvhp-testimonials-inner .swiper-button-prev {
        left: -10px;
    }
    .lvhp-testimonials-inner .swiper-button-next {
        right: -10px;
    }
}

/* On définit NOUS-MÊMES les flèches, pour virer le style "chevron bleu" du thème */
.lvhp-testimonials-inner .swiper-button-prev::after,
.lvhp-testimonials-inner .swiper-button-next::after {
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    color: inherit;   /* blanc comme le bouton */
}

/* Flèche gauche/droite (caractères) */
.lvhp-testimonials-inner .swiper-button-prev::after {
    content: '\2039';  /* ‹ */
}

.lvhp-testimonials-inner .swiper-button-next::after {
    content: '\203A';  /* › */
}

/* ============================
   OVERRIDE FINAL NAV TÉMOIGNAGES
   ============================ */

.lvhp-testimonials-carousel .lvhp-testimonials-nav {
    background: #845864 !important;
    border: 1px solid #000 !important;
    border-radius: 50% !important;

    width: 50px !important;
    height: 50px !important;

    color: #ffffff !important;
    font-size: 1rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: none !important;

    opacity: .75 !important;
    transition: opacity .3s ease-in-out !important;

    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

/* Hover */
.lvhp-testimonials-carousel .lvhp-testimonials-nav:hover {
    opacity: 1 !important;
}

/* On laisse le symbole de Swiper, on change juste sa taille / couleur */
.lvhp-testimonials-carousel .lvhp-testimonials-nav::after {
    font-size: 20px !important;
    color: #ffffff !important;
}
