/* ============================================================================
   MLV SHORTCODES — Version nettoyée
   Auteur : Christophe Delire
   Description : Styles généraux pour sliders, listings, cartes, flotte, staff,
                 billets, CTA, modales, navigation, affichage voyages.
   NOTE : TOUT ce qui concerne le Jukebox est déplacé dans un bloc final distinct
          pour migration vers mlv-menu-jukebox.css V6
   ============================================================================ */


/* ============================================================================
   SECTION 1 — SHORTCODES / CTA
   ============================================================================ */

#mlv_slider_top {
    height: calc(100vh - 80px) !important;
}
#mlv_slider_top .et_pb_slides,
#mlv_slider_top .et_pb_slide {
    height: 100% !important;
}


/* ============================================================================
   SECTION 2 — SLIDER HOME
   ============================================================================ */

.et_pb_slide_description {
    background: linear-gradient(0deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 100%);
    backdrop-filter: blur(5px);
    padding: 3rem 4rem !important;
    border-radius: 1.5rem;
    max-width: 780px;
    margin: 3rem auto;
    color: #fff;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.et_pb_slide.active .et_pb_slide_description {
    opacity: 1;
    transform: translateY(0);
}

/* Variation slide sombre */
.et_pb_slide.dark-slide .et_pb_slide_description {
    background: linear-gradient(0deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 100%);
    color: #111;
}
.et_pb_slide.dark-slide .et_pb_slide_title a,
.et_pb_slide.dark-slide .et_pb_slide_content p {
    color: #111 !important;
    text-shadow: none;
}
.et_pb_slide.dark-slide .et_pb_button {
    background-color: #00000022;
    border-color: #111;
    color: #111;
}
.et_pb_slide.dark-slide .et_pb_button:hover {
    background-color: #111;
    color: #fff;
}

/* Titre */
.et_pb_slide_title a {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Texte */
.et_pb_slide_content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
    color: #f5f5f5;
}

/* Bouton */
.et_pb_slide_description .et_pb_button {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    background-color: #ffffff33;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.et_pb_slide_description .et_pb_button:hover {
    background-color: #fff;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .et_pb_slide_description {
        padding: 2rem 1.5rem !important;
        margin: 2rem auto;
        max-width: 90%;
        text-align: center;
    }
    .et_pb_slide_title a {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .et_pb_slide_content p {
        font-size: 1rem;
    }
    .et_pb_slide_description .et_pb_button {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
        margin-top: 1rem;
    }
}


/* ============================================================================
   SECTION 3 — CARD / GRILLE / LAYOUT
   ============================================================================ */

.mlv-jukebox-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.mlv-jukebox-card {
  aspect-ratio: 4/3;
  background-color: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.mlv-jukebox-card .thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.mlv-jukebox-card.focus {
  box-shadow: 0 0 0 3px #0073aa;
  transform: scale(1.02);
}

.bart_card {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 12px;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.bart_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Prix expirés (déjà OK) */
.pma_expired {
    text-decoration: line-through;
    opacity: 0.45;
}

/* Petit badge rouge discret “Complet” pour un tarif expiré */
.pma_badge_full {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Badge promo expirée (déjà dans ton style) */
.pma_badge_expired {
    background:#e53935;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:4px;
    margin-left:6px;
    vertical-align:middle;
}

/* ==========================================================================
   PRIX EXPIRÉS — Look ML Voyages
   ========================================================================== */

/* Version tableau (grand voyage / mlv_prix_front / mlv_prix_page) */
tr.mlv_price_expired td {
    /*text-decoration: line-through;*/
    opacity: .45;
    transition: 0.3s ease;
}

/* Version liste (jour / spectacle) */
.pma_expired {
    text-decoration: line-through;
    opacity: .45;
}

/* Badge promo expirée */
.pma_badge_expired {
    background:#e53935;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:4px;
    margin-left:6px;
    vertical-align:middle;
}


/* ============================================================================
   SECTION 4 — SIMILAIRES / BARTHÉLEMY
   ============================================================================ */

.mlv-similar-card {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.mlv-similar-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}

.mlv-dynamic-title-bar {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    color: #003f63;
    font-weight: 700;
    margin-bottom: 0.5rem;
}


/* ============================================================================
   SECTION 5 — FLOTTE
   ============================================================================ */

.mlv-flotte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
}

.mlv-flotte-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s ease;
}
.mlv-flotte-card:hover {
  transform: translateY(-5px);
}

.mlv-flotte-thumb-wrap {
  height: 180px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mlv-flotte-thumb {
  width: 100%;
  object-fit: cover;
  max-height: 100%;
}


/* ============================================================================
   SECTION 6 — STAFF
   ============================================================================ */
/* ============================================================================
   MLV STAFF — Version premium 2025
   Style élégant, cohérent avec ML Voyages
   ============================================================================ */

/* --- Grille --- */
.mlv-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.4rem;
    padding: 2.5rem 1.5rem;
}

/* --- Card --- */
.mlv-staff-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease;
}

.mlv-staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

/* --- Image --- */
.mlv-staff-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-bottom: 5px solid #1e2f97;
}

/* --- Conteneur du contenu --- */
.mlv-staff-content {
    padding: 1.8rem 1.6rem 2.2rem;
}

/* --- Nom --- */
.mlv-staff-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e2f97;
    margin: 0 0 4px 0;
}

/* --- Titre / fonction --- */
.mlv-staff-title {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    margin: 0 0 1rem 0;
}

/* --- Contact --- */
.mlv-staff-contact {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mlv-staff-contact .dashicons {
    font-size: 1.1rem;
    color: #1e2f97;
    margin-top: 1px;
}

/* Lien email */
.mlv-staff-contact a {
    color: #1e2f97;
    font-weight: 600;
    text-decoration: none;
}
.mlv-staff-contact a:hover {
    text-decoration: underline;
}

/* --- Bio --- */
.mlv-staff-bio {
    margin-top: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
}

.mlv-staff-bio p {
    margin-bottom: 0.9rem;
}

/* --- Listes dans bio --- */
.mlv-staff-bio ul {
    padding-left: 1.2rem;
    margin: 0.6rem 0 1rem;
}
.mlv-staff-bio li {
    margin-bottom: 0.4rem;
}

/* --- Icônes sociales --- */
.mlv-staff-socials {
    margin-top: 1.3rem;
    display: flex;
    gap: 12px;
}

.mlv-social-icon {
    font-size: 1.3rem;
    color: #1e2f97;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mlv-social-icon:hover {
    color: #003366;
    transform: scale(1.2);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .mlv-staff-content {
        padding: 1.4rem 1.2rem 1.8rem;
    }

    .mlv-staff-name {
        font-size: 1.3rem;
    }
}

/* ============================================================================
   SECTION 7 — MODALE / PDF / BOUTONS
   ============================================================================ */

#mlv-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
#mlv-modal.open {
  display: flex;
}

/* Bouton PDF harmonisé */
.mlv_btn_pdf {
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:10px;
    height:58px !important;
    padding:0 18px !important;
    border:2px solid #1e56d2 !important;
    border-radius:14px !important;
    background:#fff !important;
    font-family:"Montserrat", sans-serif !important;
    font-weight:600 !important;
    color:#1e56d2 !important;
    text-transform:uppercase;
    font-size:15px !important;
    text-decoration:none;
    box-shadow:0 2px 4px rgba(0,0,0,0.05);
    transition:all .25s ease-in-out;
}
.mlv_btn_pdf:hover {
    background:#1e56d2 !important;
    color:white !important;
    transform: scale(1.03);
}


/* ============================================================================
   SECTION 8 — PAGE INFOS
   ============================================================================ */

.mobile-page-2 .bart-jukebox-group button,
.mobile-page-2 .bart-jukebox-group .mlv-btn,
.mobile-page-2 .bart-jukebox-sous-group button,
.mobile-page-2 .mlv-btn-child {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 2px solid #1e2f97 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e2f97 !important;
}
.mobile-page-2 .bart-jukebox-group button:hover {
    background: #1e2f97 !important;
    color: #fff !important;
}
.mobile-page-2 .bart-jukebox-group button,
.mobile-page-2 .bart-jukebox-sous-group button {
    margin-bottom: 10px !important;
}

.mlv-complet-badge {
 background: #e63946;
    color: #fff;
    padding: 6px 14px;

    font-size: 15px;
    font-weight: 700;
    border-radius: 0px !important;

    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);

    z-index: 20;
}
/* ============================================================================
   SECTION 9 — COLORS ML (non jukebox)
   ============================================================================ */

.mlv-btn-autocar     { background-color: #97d626; color:#fff !important; }
.mlv-btn-avion       { background-color: #018942; color:#fff !important; }
.mlv-btn-jour        { background-color: #fe7700; color:#fff !important; }
.mlv-btn-spectacle   { background-color: #910791; color:#fff !important; }
.mlv-btn-suggestion  { background-color: #ef011d; color:#fff !important; }
/* ============================================================================
   TITRE — Voyages similaires (version premium ML Voyages)
   ============================================================================ */

.mlv-similar-listings-grid .titrelisting {
    display: block;
    width: 100%;
    margin: 0 0 1.2rem 0;
    padding: 14px 18px;

    background: linear-gradient(135deg, #003f63 0%, #1e56d2 100%);
    color: #ffffff;
    border-radius: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Variation texte plus “vacances / rêve” */
.mlv-similar-listings-grid .titrelisting span {
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 1px;
}
/* ============================================================================
   GRILLE VOYAGES SIMILAIRES — ACTIVÉE UNIQUEMENT SUR CPT deplacements
   ============================================================================ */

body.single-deplacements .mlv-similar-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

body.single-deplacements .mlv-similar-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform .2s ease;
}

body.single-deplacements .mlv-similar-card:hover {
    transform: translateY(-4px);
}

body.single-deplacements .mlv-similar-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}


/* ============================================================================
   RESTRICTION JUKebox — S'active UNIQUEMENT DANS LE PLAYER
   ============================================================================ */

#bart-jukebox-player .mlv-similar-listings-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
}

#bart-jukebox-player .mlv-similar-card {
    width: 100% !important;
    max-width: 100% !important;
}
/* Titre discret et élégant pour les voyages similaires */
.mlv-similar-listings-grid .titrelisting {
    grid-column: 1 / -1;            /* occupe toute la ligne, mais sans bloc géant */
    background: #003f63;
    color: #ffffff;
    padding: 10px 16px;
    margin: 0 0 10px 0;
    
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;             /* plus petit */
    font-weight: 500;               /* plus léger */
    line-height: 1.35;
    text-transform: none;           /* fini le FULL CAPS agressif */
    letter-spacing: 0.2px;

    border-radius: 10px;
    opacity: 0.92;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);

    max-width: 700px;               /* limite la largeur */
}

/* Badge COMPLET des spectacles (toujours visible) */
.mlv-box-spectacle .mlv-complet-badge {
    top: 15px;
    left: 15px;
    background: #d9534f;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    z-index: 20;
    opacity: 1 !important; /* toujours visible */
    pointer-events: none;
}
.bart_card:hover .mlv-complet-badge {
    opacity: 1 !important;
}
.mlv-newsletter-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: Arial, sans-serif;
}

.mlv-news-item {
    border: 1px solid #2b6cb0; /* Bleu MLV */
    padding: 16px;
    background: #ffffff;
}

.mlv-news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #1a202c;
}

.mlv-news-date {
    font-size: 14px;
    margin-bottom: 4px;
    color: #4a5568;
}

.mlv-news-price {
    font-size: 14px;
    color: #2b6cb0;
    margin-bottom: 8px;
}

.mlv-news-btn {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #2b6cb0;
    color: #2b6cb0;
    text-decoration: none;
    font-size: 13px;
}
.mlv-news-btn:hover {
    background: #2b6cb0;
    color: #fff;
}
/* ===== LINE MODE UPDATED ===== */

.mlv-nl-line {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    align-items: flex-start;
}

.mlv-nl-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mlv-nl-thumb img {
    width: 140px;
    border-radius: 8px;
}

.mlv-nl-mini-btn {
    font-size: 12px;
    color: #2b6cb0;
    text-decoration: none;
    border: 1px solid #c2d4f5;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f7faff;
    transition: 0.2s;
}

.mlv-nl-mini-btn:hover {
    background: #2b6cb0;
    color: #fff;
    border-color: #2b6cb0;
}