/*
Theme Name: Elementra Child Theme
Theme URI: https://elementra.themerex.net/
Template: elementra
Version: 1.0.9
*/

/* ========================================
   0. RESET & GLOBAL
======================================== */
* { box-sizing: border-box; }

/* ========================================
   1. PAGE DESTINATIONS — LAYOUT AIRBNB
   Filtres centrés, Cards gauche, Carte droite
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

.destinations-airbnb-layout {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.destinations-airbnb-layout *:not(h1):not(.page-title) {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700;
}

/* Titres page en Cubano */
.destinations-airbnb-layout h1,
.destinations-airbnb-layout .page-title {
    font-family: 'Cubano', sans-serif !important;
}

/* Titres cards en Nunito (Cubano = all-caps, pas compatible capitalize) */
.destinations-airbnb-layout .destination-card h3,
.destinations-airbnb-layout a.destination-card h3,
a.destination-card .card-content h3 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800 !important;
    font-size: 17px;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
}

/* Titres h3 shortcodes fiche destination — style Cubano vert */
.single-flocon-destination .elementor-shortcode h3 {
    font-family: 'Cubano', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 27px;
    color: rgb(128, 186, 39);
    text-transform: uppercase;
}

.single-flocon-destination h3.autre-dest-nom {
    color: #fff !important ;
}

.single-flocon-destination .as-h5 {
    font-family: 'Cubano';
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #333;
}


/* Override thème Elementra — empêcher le hover/focus vert foncé sur les boutons filtres */
.destinations-airbnb-layout .niveau-btn:hover,
.destinations-airbnb-layout .niveau-btn:focus,
.destinations-airbnb-layout .dropdown-trigger:hover,
.destinations-airbnb-layout .dropdown-trigger:focus,
.destinations-airbnb-layout .reset-filters-btn:hover,
.destinations-airbnb-layout .reset-filters-btn:focus,
.flocon-filters-bar button:hover,
.flocon-filters-bar button:focus {
    background-color: white !important;
    color: #222 !important;
    border-color: #80BA27 !important;
}

.destinations-airbnb-layout .niveau-btn.active:hover,
.destinations-airbnb-layout .niveau-btn.active:focus {
    background-color: white !important;
    color: #80BA27 !important;
    border-color: #80BA27 !important;
}

.destinations-airbnb-layout .dropdown-trigger.has-value:hover,
.destinations-airbnb-layout .dropdown-trigger.has-value:focus {
    background-color: white !important;
    color: #80BA27 !important;
    border-color: #80BA27 !important;
}

.destinations-airbnb-layout .reset-filters-btn:hover,
.destinations-airbnb-layout .reset-filters-btn:focus {
    background-color: white !important;
    color: #ff4d4f !important;
    border-color: #ff4d4f !important;
}

/* ----------------------------------------
   1.1 BARRE FILTRES — Pilule centrée
---------------------------------------- */
.flocon-filters-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 32px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.filters-bar-inner {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 28px;
    overflow: visible;
    background: white;
    border-radius: 60px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.filters-bar-inner::-webkit-scrollbar { display: none; }

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.filter-separator {
    width: 1px;
    height: 24px;
    background: #e5e5e5;
    flex-shrink: 0;
}

.filter-label-text {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

/* Dropdown massif custom */

.custom-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
    font-family: 'Nunito', sans-serif !important;
}

.dropdown-trigger:hover { border-color: #bbb; }
.dropdown-trigger.open { border-color: #80BA27; box-shadow: 0 0 0 3px rgba(128, 186, 39, 0.1); }
.dropdown-trigger.has-value { border-color: #80BA27; color: #80BA27; box-shadow: 0 0 0 1px #80BA27; }

.dropdown-label { flex: 1; white-space: nowrap; }

.dropdown-chevron {
    flex-shrink: 0;
    color: #999;
    transition: transform 0.2s ease, color 0.2s;
}

.dropdown-trigger.open .dropdown-chevron { transform: rotate(180deg); }
.dropdown-trigger.has-value .dropdown-chevron { color: #80BA27; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 9999;
    animation: dropdownFadeIn 0.15s ease;
}

.dropdown-menu.open { display: block; }

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: 'Nunito', sans-serif !important;
}

.dropdown-item:hover { background: #f7fdf0; color: #80BA27; }
.dropdown-item.active { background: #80BA27; color: white; }

/* Boutons niveau — PNG flocon */
.niveau-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1;
}

.niveau-btn .niveau-num { font-weight: 700; font-size: 15px; }

.destinations-airbnb-layout .niveau-btn .niveau-flocon-img,
.filters-bar-inner .niveau-btn .niveau-flocon-img,
.flocon-filters-bar .niveau-btn img.niveau-flocon-img,
img.niveau-flocon-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: contain !important;
    border-radius: 3px;
    transition: filter 0.2s ease;
    vertical-align: middle;
}

.niveau-btn:hover { border-color: #80BA27; background: #f7fdf0; }
.niveau-btn.active { border-color: #80BA27; color: #80BA27; box-shadow: 0 0 0 1px #80BA27; background: white; }
.niveau-btn.active .niveau-flocon-img { /* reste visible */ }

/* Bouton reset */
.flocon-filters-bar .reset-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.flocon-filters-bar .reset-filters-btn:hover { border-color: #ff4d4f; color: #ff4d4f; }
.flocon-filters-bar .reset-filters-btn svg { transition: transform 0.3s ease; }
.flocon-filters-bar .reset-filters-btn:hover svg { transform: rotate(-180deg); }

/* Dropdown mobilités — passer au-dessus de la carte */
.flocon-filters-bar {
    position: relative;
    z-index: 1000;
}

.custom-dropdown {
    position: relative;
}

.dropdown-menu {
    z-index: 1001;
}

/* Dropdown mobilités — mêmes styles hover/active que massif */

.dropdown-item-mobilite {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background 0.15s, color 0.15s;
    border-radius:5px ;
}

.dropdown-item-mobilite:hover {
    background: #f0f7e6;
    color: #80BA27;
}

.dropdown-item-mobilite.active {
    background: #80BA27;
    color: #fff;
    font-weight: 700;
    border-radius:5px ;
}

/* ----------------------------------------
   1.2 SPLIT VIEW — Cards + Carte
---------------------------------------- */
.destinations-content {
    display: flex;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.destinations-list-panel {
    width: 35%;
    overflow-y: auto;
    padding: 20px 24px 40px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.destinations-list-panel::-webkit-scrollbar { width: 5px; }
.destinations-list-panel::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* Plus de grid 2 colonnes — liste verticale simple */
.destinations-airbnb-layout #destinations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.destinations-map-panel {
    width: 65%;
    position: relative;
    padding: 16px 16px 16px 0;
}

.destinations-map-panel #flocon-map {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ----------------------------------------
   1.3 CARDS DESTINATIONS — format listing horizontal
---------------------------------------- */
.destinations-airbnb-layout .destination-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    text-decoration: none !important;
    color: inherit !important;
    overflow: visible;
}

.destinations-airbnb-layout .destination-card:hover {
    border-color: #80BA27;
    box-shadow: 0 4px 16px rgba(128, 186, 39, 0.1);
    transform: none;
}

.destinations-airbnb-layout .destination-card.active {
    border-color: #80BA27;
    box-shadow: 0 4px 20px rgba(128, 186, 39, 0.18);
    transform: none;
}

/* Logo wrap */
.destinations-airbnb-layout .card-logo-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destinations-airbnb-layout .card-dest-logo {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.destinations-airbnb-layout .card-dest-logo-placeholder {
    width: 64px;
    height: 64px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Info bloc */
.destinations-airbnb-layout .card-info {
    flex: 1;
    min-width: 0;
}

.destinations-airbnb-layout .card-title {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.destinations-airbnb-layout .card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.destinations-airbnb-layout .card-flocons-row {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.destinations-airbnb-layout .card-flocons-row .card-flocon-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    border-radius: 3px;
}

.destinations-airbnb-layout .card-massif {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #999;
}

/* Chevron */
.destinations-airbnb-layout .card-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 8px;
}

/* No results */
.destinations-airbnb-layout .no-results {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 60px 20px;
}

/* ----------------------------------------
   1.3b FILTRE — Badge compteur + label Filtrer
---------------------------------------- */
.filter-label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label-group .filter-label-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.filter-count-badge {
    background: #80BA27;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 50px;
    line-height: 1.5;
}

/* ----------------------------------------
   1.4 MARKERS CARTE
---------------------------------------- */
.fv-marker { background: transparent !important; border: none !important; }

.fv-marker-dot {
    width: 30px; height: 30px;
    background: #80BA27;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.fv-marker-dot:hover { transform: scale(1.2); }
.fv-marker-dot svg { display: block; }

/* ----------------------------------------
   1.5 POPUP CARTE
---------------------------------------- */
.flocon-popup .leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
}
.flocon-popup .leaflet-popup-content { margin: 0 !important; width: auto !important; }
.flocon-popup .leaflet-popup-tip { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important; }

.popup-destination-card {
    min-width: 200px;
    position: relative;
    font-family: 'Nunito', sans-serif;
}

.popup-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    background: white;
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    z-index: 10; padding: 0;
    transition: background 0.2s;
}
.popup-close:hover { background: #f5f5f5; }

.popup-mobilite-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1.5px solid #80BA27;
    color: #80BA27;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.popup-voir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    color: #333 !important;
    text-decoration: none !important;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 1px solid #eee;
    transition: color 0.2s;
}
.popup-voir-btn:hover {
    color: #80BA27 !important;
}
/* ----------------------------------------
   1.6 LEAFLET OVERRIDES
---------------------------------------- */
.leaflet-popup-close-button { display: none !important; }
.leaflet-marker-icon:hover { transform: scale(1.15); transition: transform 0.2s; z-index: 1000 !important; }

.leaflet-control-zoom { border: none !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important; }
.leaflet-control-zoom a {
    background: white !important; border: none !important; color: #1a1a1a !important;
    font-size: 20px !important; font-weight: 600 !important;
    width: 36px !important; height: 36px !important; line-height: 36px !important;
}
.leaflet-control-zoom a:hover { background: #f3f4f6 !important; }
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
}

/* ----------------------------------------
   1.7 RESPONSIVE
---------------------------------------- */
@media (max-width: 768px) {
    
    /* Filtres mobile — design compact */
    .flocon-filters-bar {
        overflow: visible !important;
        padding: 0 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        background: #fff !important;
    }
    .filters-bar-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 14px 16px !important;
        gap: 10px !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }
    .filter-separator {
        display: none !important;
    }
    
    /* Label Filtrer — toute la largeur avec trait en dessous */
    .filter-label-group {
        width: 100% !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        margin-bottom: 2px !important;
    }
    
    /* Dropdowns — côte à côte, même largeur */
    .filter-group {
        flex-shrink: 0 !important;
    }
    .filter-group .custom-dropdown {
        width: 100% !important;
    }
    .filter-group .dropdown-trigger {
        width: 100% !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
    
    /* Niveaux flocons — centrés */
    .filter-niveaux {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }
    .niveau-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 8px 0 !important;
    }
    
    /* Reset — pleine largeur */
    .reset-filters-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px !important;
        font-size: 13px !important;
    }
    .filter-separator-reset {
        display: none !important;
    }
    
    .filter-group:has(.custom-dropdown) {
        width: 100% !important;
    }
    
    .filters-bar-inner {
        margin-bottom: 12px !important;
    }
    
    .dropdown-menu,
    #dropdown-menu-mobilite {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Split — liste puis carte */
    .destinations-content {
        flex-direction: column !important;
        height: auto !important;
    }
    .destinations-list-panel {
        width: 100% !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding: 16px 0 !important;
        order: 1 !important;
    }
    .destinations-map-panel {
        width: 100% !important;
        height: 50vh !important;
        padding: 16px 0 !important;
        order: 2 !important;
    }
    
    .filters-bar-inner {
        padding: 14px 16px !important;
    }
    
    /* Cards compact */
    .destinations-airbnb-layout .destination-card {
        padding: 12px 14px !important;
        gap: 12px !important;
    }
    .destinations-airbnb-layout .card-logo-wrap {
        width: 52px !important;
        height: 52px !important;
    }
    .destinations-airbnb-layout .card-dest-logo,
    .destinations-airbnb-layout .card-dest-logo-placeholder {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }
    .destinations-airbnb-layout .card-title {
        font-size: 14px !important;
    }
    .destinations-airbnb-layout .card-massif {
        font-size: 12px !important;
    }
}


/* ========================================
   2. FICHE DESTINATION — SINGLE PAGE
======================================== */

/* Force largeur pleine */
body.single-flocon-destination .page_content_wrap .content_wrap,
body.single-flocon-destination .content_wrap { width: 100% !important; max-width: 100% !important; }
body.single-flocon-destination .content_wrap .content { width: 100% !important; max-width: 100% !important; }
body.single-flocon-destination .page_content_wrap { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Layout contenu + sidebar */
.destination-layout { display: flex !important; flex-direction: row !important; gap: 40px; max-width: 1200px; margin: 0 auto !important; padding: 40px 20px; }
.destination-content { flex: 1 1 0%; min-width: 0; }
.destination-sidebar { flex: 0 0 320px; max-width: 320px; min-width: 0; }

.destination-sidebar .sidebar-card {
    border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px 20px;
    margin-bottom: 24px; background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.destination-sidebar .sidebar-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 30px; }

.destination-sidebar h3,
.destination-sidebar h4,
.destination-sidebar .card-title-icon,
.destination-sidebar .card-identite-titre {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
}

/* ----------------------------------------
   2.1 FLOCONS HERO
---------------------------------------- */
.destination-flocons-wrapper { display: flex; align-items: center; gap: 16px; }
.destination-flocons { display: flex; align-items: center; gap: 6px; }

.flocon-badge {
    width: 56px; height: 56px;
    background: #80BA27; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0; transition: all 0.2s ease;
}

.flocon-badge svg { width: 28px; height: 28px; stroke: white; stroke-width: 2.5; }
.flocon-badge.inactive { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); }
.flocon-badge.inactive svg { stroke: rgba(255, 255, 255, 0.4); }
.flocon-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

.flocons-info { color: white; font-size: 16px; white-space: nowrap; }
.flocons-info strong { font-weight: 600; }

/* ----------------------------------------
   2.2 BADGES HERO — Pilules blanches
---------------------------------------- */
.badge-massif,
.destination-altitude,
.badge-train {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: white;
    color: #1a1a1a;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: none;
    transition: all 0.2s ease;
}

.badge-massif svg,
.destination-altitude svg,
.badge-train svg {
    width: 20px; height: 20px;
    stroke: #80BA27; flex-shrink: 0;
}

.badge-massif:hover,
.destination-altitude:hover,
.badge-train:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.planifier_trajet {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: #80BA27; color: white;
    border-radius: 50px; font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(128, 186, 39, 0.3);
    transition: all 0.3s ease; text-decoration: none; border: none;
}

.planifier_trajet:hover { background: #6EA31B; color: white; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(128, 186, 39, 0.4); }
.planifier_trajet svg { width: 20px; height: 20px; stroke: white; }

.badge-le {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: #0066FF; color: white;
    border-radius: 12px; font-size: 16px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3); transition: all 0.2s ease;
}

.badge-le:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4); }

.destination-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }

.destination-date {
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255, 255, 255, 0.9); font-size: 15px; font-weight: 500;
    padding: 8px 16px; background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px); border-radius: 25px; transition: all 0.2s ease;
}

.destination-date svg { width: 18px; height: 18px; stroke: rgba(255, 255, 255, 0.8); flex-shrink: 0; }
.destination-date:hover { background: rgba(0, 0, 0, 0.3); }

/* ----------------------------------------
   2.3 LOGO DESTINATION
---------------------------------------- */
.destination-logo-wrapper { display: inline-flex; align-items: center; justify-content: center; }
.destination-logo { max-width: 100%; height: auto; object-fit: contain; }
.destination-hero .destination-logo { max-width: 80px; max-height: 80px; }
.destination-sidebar .destination-logo { max-width: 200px; max-height: 200px; }

.destination-logo-card {
    background: white; padding: 16px; border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex; align-items: center; justify-content: center;
}

.destination-logo-card .destination-logo { max-width: 200px; max-height: 200px; }

/* ----------------------------------------
   2.4 SIDEBAR — Card identité
---------------------------------------- */
.card-identite { text-align: center; padding: 32px 24px; }
.card-identite-logo { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; margin-bottom: 16px; }
.card-identite-logo .destination-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-identite-titre { font-size: 1.1rem; font-weight: 600; margin: 0 0 12px 0; color: #1a1a1a; }
.card-identite-flocons { display: flex; justify-content: center; gap: 6px; }
.card-identite-flocons .flocon-mini.active { color: #8BC34A; }

/* ----------------------------------------
   2.5 SIDEBAR — Destinations similaires
---------------------------------------- */
.similar-destinations { display: flex; flex-direction: column; gap: 16px; }
.similar-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; transition: opacity 0.2s; }
.similar-item:hover { opacity: 0.8; }
.similar-image { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.similar-image img { width: 100%; height: 100%; object-fit: cover; }
.similar-content h4 { margin: 0 0 4px 0; font-size: 0.95rem; font-weight: 600; color: #1a1a1a; }

.flocon-mini.active { color: #8BC34A; }
.flocon-mini.inactive { color: #ccc; }
.flocon-icon-mini { width: 24px; height: 24px; background: #80BA27; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.flocon-icon-mini svg { stroke: white; }
.flocon-icon-mini.inactive { background: #e5e7eb; }
.flocon-icon-mini.inactive svg { stroke: #ccc; }

/* ----------------------------------------
   2.6 FICHE IDENTITÉ
---------------------------------------- */
.fiche-identite { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.fiche-identite-titre { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px 0; padding-bottom: 14px; border-bottom: 1px solid #f3f4f6; }
.fiche-identite-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fiche-identite-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: #f0fdf4; display: flex; align-items: center; justify-content: center; }
.fiche-identite-icon svg { stroke: #80BA27; }
.fiche-identite-label { font-size: 15px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.fiche-identite-value { font-size: 15px; font-weight: 500; color: #4b5563; }

.fiche-identite-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #80BA27; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: color 0.2s;
}
.fiche-identite-link:hover { color: #6fa320; text-decoration: underline; }
.fiche-identite-link svg { flex-shrink: 0; stroke: currentColor; }

.fiche-identite-mobilite { display: flex; gap: 8px; flex-wrap: wrap; }
.fiche-mobilite-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: #dbeafe; color: #2563eb; }
.fiche-mobilite-badge svg { stroke: #2563eb; }
.fiche-mobilite-badge.badge-nuit { background: #ede9fe; color: #7c3aed; }
.fiche-mobilite-badge.badge-nuit svg { stroke: #7c3aed; }
.fiche-mobilite-badge.badge-navette { background: #fef3c7; color: #d97706; }
.fiche-mobilite-badge.badge-navette svg { stroke: #d97706; }

.fiche-mobilite-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 700; color: #80BA27;
    text-decoration: none; transition: color 0.2s;
    padding: 4px 12px; border-radius: 20px;
    background: #f0fdf4; border: 1px solid #d1fae5;
}
.fiche-mobilite-link:hover { color: #6fa320; background: #e6f9e0; }
.fiche-mobilite-link svg { flex-shrink: 0; stroke: currentColor; }

/* Module train CTA sidebar */
.module-train-cta {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.module-train-cta > svg { flex-shrink: 0; }

.module-train-text {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.module-train-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #80BA27;
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.module-train-btn:hover {
    background: #6fa320;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 186, 39, 0.3);
    color: white !important;
}

/* ----------------------------------------
   2.7 MOBILITÉ DOUCE
---------------------------------------- */
.mobilite-douce-encart { background: #EFFDF4; border: 1px solid #d1fae5; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mobilite-douce-header { display: flex; flex-direction: column; gap: 12px; }
.mobilite-douce-icon-title { display: flex; align-items: center; gap: 10px; }
.mobilite-douce-emoji { font-size: 28px; line-height: 1; }
.mobilite-douce-titre { font-size: 20px; font-weight: 500; color: #1a1a1a; margin: 0; }

.mobilite-douce-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.mobilite-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: #dbeafe; color: #2563eb; }
.mobilite-badge svg { stroke: #2563eb; }
.mobilite-badge.badge-nuit { background: #ede9fe; color: #7c3aed; }
.mobilite-badge.badge-nuit svg { stroke: #7c3aed; }
.mobilite-badge.badge-navette { background: #fef3c7; color: #d97706; }
.mobilite-badge.badge-navette svg { stroke: #d97706; }

.mobilite-douce-texte { font-size: 14px; color: #4b5563; line-height: 1.6; margin: 0; }

.mobilite-douce-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
    background: #80BA27; color: #fff; font-size: 15px; font-weight: 700;
    border-radius: 12px; text-decoration: none; transition: all 0.2s ease; width: fit-content;
}

.mobilite-douce-btn svg { stroke: #fff; flex-shrink: 0; }
.mobilite-douce-btn:hover { background: #6da020; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(128, 186, 39, 0.3); color: white; }

/* ========================================
   3. ÉVALUATIONS — SCORES & ACCORDÉONS
======================================== */

/* 3.1 Scores + Accordéon fusionné */
.eval-combined { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.eval-combined-famille {
    border: 1px solid #e5e7eb; border-radius: 16px; background: white;
    overflow: hidden; transition: box-shadow 0.3s ease;
}

.eval-combined-famille:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); }

/* Header avec score circulaire */
.eval-combined-header {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; cursor: pointer; user-select: none;
    transition: background 0.2s ease;
    flex-wrap: wrap;
}

.eval-combined-header:hover { background: #fafafa; }

.eval-combined-picto {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.eval-combined-picto img {
    width: 30px !important; height: 30px !important; max-width: 30px !important;
    object-fit: contain; filter: brightness(0) invert(1);
}

.eval-combined-info { flex: 1; min-width: 0; }

.eval-combined-titre {
    font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin: 0;
    text-transform: none !important; letter-spacing: normal !important;
}

.eval-combined-count { font-size: 0.85rem; color: #9ca3af; font-weight: 400; margin-left: 8px; }

/* Score ring mini */
.eval-combined-ring { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.eval-combined-ring svg { width: 100%; height: 100%; }
.eval-combined-ring-progress { transition: stroke-dashoffset 1s ease; }
.eval-combined-ring-value {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: #1a1a1a;
    }

/* Masquer les notes circulaires des familles */
.eval-combined-ring {
    display: none !important;
}

/* Chevron */
.eval-combined-chevron { transition: transform 0.3s ease; flex-shrink: 0; margin-left: 8px; }
.eval-combined-famille.open .eval-combined-chevron { transform: rotate(180deg); }

/* Contenu accordéon */
.eval-combined-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; }
.eval-combined-famille.open .eval-combined-content { max-height: 3000px; padding: 0 24px 24px; }

/* Critères (réutilise evalv2) */
.eval-combined-content .evalv2-critere-item { padding: 16px 0; border-top: 1px solid #f3f4f6; }
.eval-combined-content .evalv2-critere-item:first-child { border-top: none; }

.evalv2-critere-picto {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    opacity: 0.7;
}

.evalv2-critere-nom {
    display: flex;
    align-items: center;
}
.evalv2-critere-picto-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    margin-right: 10px;
}
.evalv2-critere-picto {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    object-fit: contain;
    opacity: 0.7;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .eval-combined-header { padding: 16px; gap: 12px; }
    .eval-combined-picto { width: 44px; height: 44px; border-radius: 12px; }
    .eval-combined-picto img { width: 24px !important; height: 24px !important; max-width: 24px !important; }
    .eval-combined-ring { width: 44px; height: 44px; }
    .eval-combined-ring-value { font-size: 13px; }
    .eval-combined-content { padding: 0 16px; }
    .eval-combined-famille.open .eval-combined-content { padding: 0 16px 16px; }
}
.sfv3-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.sfv3-row {
    display: flex; align-items: center; gap: 20px;
    background: white; border: 1px solid #e5e7eb;
    border-left: 4px solid var(--row-color); border-radius: 16px;
    padding: 20px 24px; transition: box-shadow 0.3s ease;
}

.sfv3-row:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.sfv3-picto-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--row-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sfv3-picto { width: 32px; height: 32px; object-fit: contain; filter: brightness(0); opacity: 0.7; }
.sfv3-content { flex: 1; min-width: 0; }
.sfv3-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.sfv3-nom { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0; }
.sfv3-score { font-size: 20px; font-weight: 800; color: #80BA27; flex-shrink: 0; }
.sfv3-score-max { font-size: 13px; font-weight: 500; color: #9ca3af; }
.sfv3-bar-bg { width: 100%; height: 8px; background: #f3f4f6; border-radius: 99px; overflow: hidden; }
.sfv3-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }

/* 3.2 Accordéon v2 — pictos */
.evalv2-accordeon { display: flex; flex-direction: column; gap: 12px; }
.evalv2-famille { border: 1px solid #e5e7eb; border-radius: 16px; background: white; overflow: hidden; transition: box-shadow 0.3s ease; }
.evalv2-famille:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); }

.evalv2-famille-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; transition: background 0.2s ease; }
.evalv2-famille-header:hover { background: #fafafa; }
.evalv2-famille-left { display: flex; align-items: center; gap: 16px; }

.evalv2-famille-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.evalv2-famille-picto { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.evalv2-famille-titre { font-size: 1.1rem; font-weight: 700; color: #1a1a1a; }
.evalv2-famille-count { font-size: 0.9rem; color: #9ca3af; font-weight: 400; margin-left: 8px; }

.evalv2-famille-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.evalv2-famille.open .evalv2-famille-chevron { transform: rotate(180deg); }

.evalv2-famille-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; }
.evalv2-famille.open .evalv2-famille-content { max-height: 2000px; padding: 0 24px 24px; }

.evalv2-critere-item { padding: 16px 0; border-top: 1px solid #f3f4f6; }
.evalv2-critere-item:first-child { border-top: none; }
.evalv2-critere-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.evalv2-critere-nom { font-weight: 600; color: #1a1a1a; font-size: 0.95rem; }
.evalv2-critere-note { font-weight: 700; font-size: 1rem; }
.evalv2-critere-texte { font-size: 0.85rem; color: #6b7280; margin: 0 0 10px 0; line-height: 1.5; }

.evalv2-jauge-bg { width: 100%; height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.evalv2-jauge-fill { height: 100%; border-radius: 99px; transition: width 0.8s ease; }

/* Jauges critères — demi-largeur */
.eval-combined-content .evalv2-jauge-bg,
.evalv2-jauge-bg {
    max-width: 50%;
}

/* Jauge horizontale sous header famille */

.eval-combined-jauge {
    width: 50%; height: 8px; background: #e5e7eb; border-radius: 4px;
    margin-top: 8px;
}
.eval-combined-jauge-fill {
    height: 100%; border-radius: 4px; transition: width 1s ease;
}



/* ========================================
   4. ACTEURS ENGAGÉS — SLIDER
======================================== */
.acteurs-engages-section { position: relative; }
.acteurs-slider-header { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.acteurs-slider-nav { display: flex; gap: 8px; }

.slider-arrow {
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid #e5e7eb; background: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; padding: 0;
}

.slider-arrow svg { stroke: #1a1a1a; width: 18px; height: 18px; }
.slider-arrow:hover { background: #80BA27; border-color: #80BA27; }
.slider-arrow:hover svg { stroke: white; }
.slider-arrow:active { transform: scale(0.95); }

.acteurs-slider-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.acteurs-slider-wrapper::-webkit-scrollbar { display: none; }
.acteurs-slider-track { display: flex; gap: 20px; }

.acteur-card {
    flex: 0 0 320px; scroll-snap-align: start; background: #fff;
    border: 1px solid #e8ecf1; border-radius: 16px; padding: 24px;
    display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.acteur-card:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.acteur-card-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.acteur-cat-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.acteur-cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.acteur-card-title-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acteur-titre { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.3; }
.acteur-categorie-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; width: fit-content; line-height: 1.4; }
.acteur-description { font-size: 14px; color: #64748b; line-height: 1.55; margin: 0 0 auto; padding-bottom: 16px; }
.acteur-card-divider { height: 1px; background: #e8ecf1; margin-bottom: 16px; }
.acteur-card-footer { display: flex; flex-direction: column; gap: 10px; }
.acteur-score { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #80BA27; font-weight: 500; }
.acteur-score strong { font-weight: 700; }
.acteur-site-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #80BA27; text-decoration: none; transition: color 0.2s; }
.acteur-site-link:hover { color: #15803d; text-decoration: underline; }

/* ========================================
   5. CAROUSEL PHOTOS + LIGHTBOX
======================================== */
.dest-carousel { position: relative; }
.dest-carousel-header { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.dest-carousel-nav { display: inline-flex; align-items: center; gap: 12px; }

.dest-carousel-arrow {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    border: 1px solid #e5e7eb; background: white;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s; padding: 0;
}

.dest-carousel-arrow svg { stroke: #1a1a1a; width: 18px; height: 18px; }
.dest-carousel-arrow:hover { background: #80BA27; border-color: #80BA27; }
.dest-carousel-arrow:hover svg { stroke: white; }
.dest-carousel-counter { font-size: 14px; font-weight: 600; color: #6b7280; min-width: 40px; text-align: center; }

.dest-carousel-viewport { overflow: hidden; border-radius: 16px; }
.dest-carousel-track { display: flex; gap: 12px; transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); }
.dest-carousel-item { flex: 0 0 calc((100% - 24px) / 3); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #f3f4f6; }
.dest-carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; cursor: pointer; }
.dest-carousel-item:hover img { transform: scale(1.03); }

/* Lightbox */
.dest-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.dest-lightbox.active { opacity: 1; visibility: visible; }
.dest-lightbox-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(8px); }
.dest-lightbox-content { position: relative; z-index: 2; max-width: 90vw; max-height: 85vh; }
.dest-lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; border-radius: 8px; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4); }

.dest-lightbox-close {
    position: absolute; top: 20px; right: 20px; z-index: 3;
    width: 48px; height: 48px; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s; padding: 0;
}

.dest-lightbox-close svg { stroke: #fff; }
.dest-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.dest-lightbox-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 52px; height: 52px; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s; padding: 0;
}

.dest-lightbox-arrow svg { stroke: #fff; width: 24px; height: 24px; }
.dest-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.dest-lightbox-arrow.lb-prev { left: 20px; }
.dest-lightbox-arrow.lb-next { right: 20px; }
.dest-lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255, 255, 255, 0.7); font-size: 14px; font-weight: 600; }

/* ========================================
   6. AUTRES DESTINATIONS — SLIDER (overlay)
======================================== */
.autres-dest-section { position: relative; }
.autres-dest-header { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 24px; }
.autres-dest-nav { display: inline-flex; gap: 8px; flex-shrink: 0; }
.autres-dest-nav .slider-arrow { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; }
.autres-dest-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.autres-dest-viewport::-webkit-scrollbar { display: none; }
.autres-dest-track { display: flex; gap: 20px; isolation: isolate; }
.autre-dest-card {
    flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start;
    border-radius: 16px; overflow: hidden !important;
    text-decoration: none !important; color: inherit;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.autre-dest-image {
    position: relative; width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden; background: #e5e7eb;
}
.autre-dest-image img {
    position: absolute; top: 0; left: 0;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block !important;
    transition: transform 0.4s ease;
}
.autre-dest-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex; flex-direction: column; gap: 4px;
}
.autre-dest-placeholder {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}
.autre-dest-massif {
    font-size: 0.7rem; font-weight: 600;
    color: rgba(255,255,255,0.85); letter-spacing: 0.05em;
}
.autre-dest-nom {
    font-size: 1.15rem; font-weight: 800;
    color: #fff; margin: 0; line-height: 1.3;
}
.autre-dest-flocons { display: flex; gap: 2px; margin-top: 4px; }


.autre-dest-overlay .autre-dest-flocons {
    order: 3;
    display: flex;
    gap: 2px;
    margin-top: 4px;
    position: relative;
}
.autre-dest-overlay .flocon-png-icon {
    position: static !important;
    float: none !important;
    display: inline-block !important;
}



@media (max-width: 1024px) {
    .autre-dest-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 640px) {
    .autre-dest-card { flex: 0 0 85%; }
}




/* ========================================
   7. CTA CHARTE ACTEURS ENGAGÉS
======================================== */
.cta-charte { background: linear-gradient(135deg, #f7fee7 0%, #f0fdf4 100%); border: 1px solid #d9f99d; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.cta-charte-content { display: flex; flex-direction: column; gap: 12px; }
.cta-charte-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.cta-charte-titre { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 0; line-height: 1.3; }
.cta-charte-texte { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0; }

.cta-charte-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
    background: #80BA27; color: #fff; font-size: 15px; font-weight: 700;
    border-radius: 12px; text-decoration: none; transition: all 0.2s ease; width: fit-content;
}

.cta-charte-btn svg { stroke: #fff; flex-shrink: 0; }
.cta-charte-btn:hover { background: #6da020; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(128, 186, 39, 0.3); color: #fff; }

/* ========================================
   8. RESPONSIVE
======================================== */

/* Tablette */
@media (max-width: 1280px) {
    .destinations-airbnb-layout #destinations-list { grid-template-columns: 1fr; }
    .destinations-list-panel { width: 50%; }
    .destinations-map-panel { width: 50%; }
}

@media (max-width: 1024px) {
    .sfv2-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
    .destination-layout { flex-direction: column !important; }
    .destination-sidebar { flex: 1 1 100%; max-width: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Airbnb layout */
    .destinations-content { flex-direction: column; height: auto; overflow: visible; }
    .destinations-list-panel { width: 100%; overflow: visible; order: 2; padding: 20px 16px; }
    .destinations-map-panel { width: 100%; height: 300px; position: relative; order: 1; padding: 12px; }
    .destinations-airbnb-layout #destinations-list { grid-template-columns: 1fr; }
    .flocon-filters-bar { padding: 12px 16px; }
    .filters-bar-inner { gap: 12px; padding: 12px 20px; border-radius: 20px; }
    .filter-select { min-width: 150px; font-size: 13px; }

    /* Fiche destination */
    .flocon-badge { width: 48px; height: 48px; }
    .flocon-badge svg { width: 24px; height: 24px; }
    .flocons-info { font-size: 14px; }
    .badge-massif, .destination-altitude, .badge-train { padding: 12px 20px; font-size: 14px; }
    .badge-massif svg, .destination-altitude svg, .badge-train svg { width: 18px; height: 18px; }
    .planifier_trajet { padding: 12px 24px; font-size: 14px; }
    .badge-le { width: 44px; height: 44px; font-size: 14px; }
    .destination-date { font-size: 14px; padding: 6px 14px; }
    .destination-hero .destination-logo { max-width: 60px; max-height: 60px; }

    /* Évaluations */
    .evalv2-famille-header { padding: 16px; }
    .evalv2-famille-icon { width: 40px; height: 40px; border-radius: 12px; }
    .evalv2-famille-picto { width: 24px; height: 24px; }
    .evalv2-famille-titre { font-size: 1rem; }
    .evalv2-famille-content { padding: 0 16px; }
    .evalv2-famille.open .evalv2-famille-content { padding: 0 16px 16px; }

    /* Sliders */
    .acteur-card { flex: 0 0 280px; padding: 20px; }
    .dest-carousel-item { flex: 0 0 calc((100% - 12px) / 2); }
    .dest-carousel-arrow { width: 36px; height: 36px; min-width: 36px; border-radius: 10px; }
    .autre-dest-card { flex: 0 0 calc((100% - 16px) / 2); }
    .autres-dest-titre { font-size: 20px; }
}

@media (max-width: 480px) {
    /* Fiche */
    .fiche-identite { padding: 20px 16px; gap: 14px; }
    .fiche-identite-label, .fiche-identite-value { font-size: 14px; }
    .mobilite-douce-encart { padding: 20px; }
    .mobilite-douce-titre { font-size: 16px; }
    .mobilite-douce-btn { width: 100%; justify-content: center; }
    .dest-carousel-item { flex: 0 0 100%; }
    .autre-dest-card { flex: 0 0 85%; }
    .cta-charte { padding: 24px 20px; }
    .cta-charte-titre { font-size: 18px; }
    .cta-charte-btn { width: 100%; justify-content: center; padding: 14px 20px; }

    /* Scores v3 */
    .sfv3-row { padding: 16px; gap: 14px; }
    .sfv3-picto-wrap { width: 44px; height: 44px; border-radius: 12px; }
    .sfv3-picto { width: 26px; height: 26px; }
    .sfv3-nom { font-size: 14px; }
    .sfv3-score { font-size: 18px; }
}

/* LIENS */

button:where(:not(.components-button):not([class*="wp-block-social"]):not([id="elementor-editor-button"])):focus {
background-color:#fff !important ;
border-color:#83BB26 ;
}

.slider-arrow:hover svg {
    stroke: #fff ;
}

.dest-carousel-arrow:hover svg {
    stroke: 83BB26 ;
}



/* ========================================
   FICHE IDENTITÉ V2 (design Lovable)
======================================== */

.fiche-identite-v2 {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8f0d8;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Logo */
.fiche-identite-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.fiche-identite-logo-wrap .destination-logo {
    max-width: 150px !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Flocons */
.fiche-identite-flocons {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

/* Site web */
.fiche-identite-siteweb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}
.fiche-identite-siteweb svg {
    color: #80BA27;
    flex-shrink: 0;
}
.fiche-identite-siteweb a {
    color: #80BA27;
    font-weight: 600;
    text-decoration: none;
}
.fiche-identite-siteweb a:hover {
    text-decoration: underline;
}

/* Séparateur */

.fiche-identite-sep {
    border: none;
    border-top: 1px solid #e8ede0;
    margin: 0;
}

.fiche-identite-sep {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.fiche-identite-row-v2:first-of-type {
    padding-top: 4px;
}

/* Rows */
.fiche-identite-row-v2 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4e8;
}
.fiche-identite-row-v2:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Icône sur fond vert clair */
.fiche-identite-icon-v2 {
    width: 38px;
    height: 38px;
    background: #f0f7e1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Contenu texte */
.fiche-identite-content-v2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}
.fiche-identite-label-v2 {
    font-size: 10px;
    font-weight: 700;
    color: #8a9a7a;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.fiche-identite-value-v2 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Mobilité douce — pills */
.fiche-identite-mobilite-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.fiche-mobilite-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.pill-train {
    background: #EBF3FF;
    color: #2563EB;
}
.pill-train svg { stroke: #2563EB; }
.pill-nuit {
    background: #F3EEFF;
    color: #7C3AED;
}
.pill-nuit svg { stroke: #7C3AED; }
.pill-navette {
    background: #FFF4E0;
    color: #D97706;
}
.pill-navette svg { stroke: #D97706; }


/* ========================================
   CTA COMMENT S'Y RENDRE
======================================== */

.cta-comment-sy-rendre {
    margin-top: 4px;
}
.cta-sy-rendre-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    border: 2px solid #e8ede0;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    font-family: Nunito, sans-serif;
}
.cta-sy-rendre-btn svg {
    stroke: #80BA27;
    flex-shrink: 0;
}
.cta-sy-rendre-btn:hover {
    border-color: #80BA27;
    background: #f7fdf0;
    color: #80BA27;
}
.cta-sy-rendre-btn:hover svg {
    stroke: #80BA27;
}