/* ============================================================
   Version mobile « application » (maquette « Accueil App »)
   Tout ce fichier ne s'applique qu'en dessous de 768 px.
   ============================================================ */

/* Visible uniquement sur mobile : masqué par défaut. */
.mapp-only { display: none; }
.mapp-cart-icon { display: none; }

@media (max-width: 768px) {
    :root {
        --mapp-bg: #F7F5F2;
        --mapp-ink: #323233;
        --mapp-muted: #9b9b9b;
        --mapp-blue: #4DA6C8;
        --mapp-deep: #0F4C81;
        --mapp-pink: #EC407A;
        --mapp-amber: #FFDA47;
        --mapp-line: #EFE9E3;
        --mapp-beige: #F3ECE2;
        --mapp-card: 0 3px 14px rgba(50, 50, 51, .08);
        --mapp-tabbar: 86px;
    }

    .mapp-only { display: block; }
    body { background: var(--mapp-bg); padding-bottom: calc(var(--mapp-tabbar) + 12px); }

    /* ---- Barre d'application ---------------------------------
       L'en-tête du site est restylé sur place : son bouton menu et son panier
       sont pilotés par des identifiants uniques côté JavaScript, on ne peut
       donc pas les dupliquer dans un autre gabarit. */
    .site-header { box-shadow: none; background: transparent; }
    .header-inner {
        height: auto;
        padding: 14px 18px 10px;
        gap: 12px;
        background: rgba(247, 245, 242, .92);
        backdrop-filter: blur(14px);
    }
    .header-left { flex: 1; min-width: 0; }
    .logo { flex: 1; min-width: 0; }
    /* Hauteur imposée, largeur libre : le logo garde ses proportions. */
    .logo-img { height: 26px; width: auto; max-width: 168px; object-fit: contain; }
    .header-left { display: contents; }
    /* Le menu est dans le menu du bas ; le téléphone est dans le menu latéral. */
    .burger-toggle, .header-phone { display: none; }

    /* À droite : le panier, comme dans la maquette. */
    .header-right { order: 2; display: flex; gap: 0; }
    /* L'icône est posée en fond : elle ne dépend d'aucune balise, donc elle s'affiche
       même si le navigateur a gardé une ancienne version de la page en cache. */
    .btn-selection {
        position: relative;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        padding: 0;
        border-radius: 14px;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23323233' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 002 1.6h8.2a2 2 0 002-1.55L21 8H7'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
        box-shadow: 0 2px 10px rgba(50, 50, 51, .07);
    }
    .btn-selection:hover { background-color: #fff; }
    /* Les deux pictogrammes du code sont masqués : celui du bureau est blanc sur blanc. */
    .btn-selection > svg { display: none; }
    /* app.css masque tous les <span> du bouton sous 992 px ; la pastille en est un,
       d'où ce sélecteur aussi spécifique pour la réafficher. */
    .btn-selection .cart-badge {
        display: flex;
        top: -5px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border: none;
        border-radius: 9px;
        font-size: 10px;
        line-height: 1;
    }

    /* Pas de pied de page sur mobile : il reste dans le code (donc lu par Google)
       mais n'est plus affiché, la navigation passe par le menu et les onglets. */
    .site-footer { display: none; }

    /* ---- Menu du bas ---------------------------------------- */
    .mapp-tabbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1400;
        display: flex;
        align-items: flex-end;
        padding: 12px 8px calc(16px + env(safe-area-inset-bottom, 0px));
        border-radius: 26px 26px 0 0;
        background: #fff;
        box-shadow: 0 -4px 24px rgba(50, 50, 51, .12);
    }
    .mapp-tab {
        display: flex;
        flex: 1;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 2px;
        color: #a8a29a;
        font-size: 10px;
        font-weight: 600;
        text-decoration: none;
    }
    .mapp-tab[aria-current] { color: var(--mapp-pink); }
    .mapp-tab-pill {
        display: flex;
        width: 44px;
        height: 30px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: transparent;
        transition: background-color .2s ease;
    }
    .mapp-tab[aria-current] .mapp-tab-pill { background: #FDEAF1; }
    .mapp-tab-pill svg { width: 21px; height: 21px; }

    /* Bouton central en saillie */
    .mapp-tab-center { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; gap: 6px; margin-top: -34px; }
    .mapp-devis {
        display: flex;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
        border-radius: 22px;
        background: var(--mapp-pink);
        box-shadow: 0 8px 22px rgba(236, 64, 122, .38);
        color: #fff;
    }
    .mapp-devis svg { width: 24px; height: 24px; }
    .mapp-devis-label { color: var(--mapp-ink); font-size: 10px; font-weight: 700; }
    .mapp-devis-label.is-active { color: var(--mapp-pink); }

    /* ---- Accueil : la version bureau laisse place à l'app --- */
    .page-home .hero,
    .page-home .logos-band,
    .page-home .section-intro,
    .page-home .section-stats,
    .page-home .section-seminaire-ideal,
    .page-home .section-lieux,
    .page-home .section-activites,
    .page-home .cta-section-dark,
    .page-home .section-articles,
    .page-home .section-newsletter { display: none; }

    .mapp {
        display: flex;
        flex-direction: column;
        gap: 26px;
        padding: 14px 0 26px;
        color: var(--mapp-ink);
        font-size: 14px;
        line-height: 1.5;
    }
    .mapp-pad { padding: 0 18px; }
    .mapp-h1 { margin: 0 0 14px; font-size: 26px; font-weight: 700; line-height: 1.2; }
    .mapp-h1 .is-pink { color: var(--mapp-pink); }
    .mapp-h1 .is-blue { color: var(--mapp-deep); }

    .mapp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 18px 12px; }
    .mapp-h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; }
    .mapp-more { color: var(--mapp-blue); font-size: 12.5px; font-weight: 600; text-decoration: none; }

    /* Rangées défilantes */
    .mapp-row {
        display: flex;
        gap: 13px;
        padding: 0 18px 4px;
        overflow-x: auto;
        /* « proximity » + scroll-padding : en mode obligatoire, la première carte
           se collait au bord et mangeait la marge de 18 px. */
        scroll-snap-type: x proximity;
        scroll-padding-left: 18px;
        scrollbar-width: none;
    }
    .mapp-row::-webkit-scrollbar { display: none; }
    .mapp-row > * { scroll-snap-align: start; }

    /* Recherche */
    .mapp-search {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 12px;
        padding: 15px 18px;
        border: none;
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--mapp-card);
        text-align: left;
        cursor: pointer;
    }
    .mapp-search-icon { flex: 0 0 19px; color: var(--mapp-blue); }
    .mapp-search-icon svg { display: block; width: 19px; height: 19px; }
    .mapp-search-text { flex: 1; overflow: hidden; color: var(--mapp-muted); font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
    .mapp-search-dots { display: flex; flex: 0 0 auto; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 11px; background: var(--mapp-amber); color: var(--mapp-ink); }
    .mapp-search-dots svg { width: 14px; height: 14px; }

    /* Chips de format */
    .mapp-chip {
        flex: 0 0 auto;
        padding: 10px 16px;
        border: none;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(50, 50, 51, .06);
        color: #666;
        font-size: 12.5px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    .mapp-chip[aria-current], .mapp-chip.is-active { background: var(--mapp-ink); color: #fff; }

    /* Raccourcis */
    .mapp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
    .mapp-action {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px;
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--mapp-card);
        color: var(--mapp-ink);
        text-decoration: none;
    }
    .mapp-action-icon { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 13px; color: #fff; }
    .mapp-action-icon svg { width: 19px; height: 19px; }
    .mapp-action-label { font-size: 13px; font-weight: 700; line-height: 1.3; }
    .mapp-action-sub { color: var(--mapp-muted); font-size: 11px; font-weight: 500; }

    /* Carte lieu */
    .mapp-venue {
        display: flex;
        flex: 0 0 244px;
        flex-direction: column;
        overflow: hidden;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 3px 16px rgba(50, 50, 51, .08);
        color: inherit;
        text-decoration: none;
    }
    .mapp-venue-media { position: relative; height: 150px; background: var(--mapp-line); }
    .mapp-venue-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .mapp-flag {
        position: absolute;
        top: 12px;
        left: 12px;
        padding: 5px 10px;
        border-radius: 9px;
        background: rgba(255, 255, 255, .94);
        color: var(--mapp-ink);
        font-size: 10.5px;
        font-weight: 600;
    }
    .mapp-venue-body { padding: 13px 15px 15px; }
    .mapp-venue-name { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
    .mapp-venue-city { margin: 3px 0 0; color: var(--mapp-muted); font-size: 12px; font-weight: 500; }
    .mapp-venue-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
    .mapp-venue-foot strong { color: var(--mapp-deep); font-size: 13.5px; }
    .mapp-venue-foot span { color: var(--mapp-muted); font-size: 11.5px; font-weight: 500; }

    /* Chiffres */
    .mapp-stat { flex: 0 0 156px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #0F4C81, #EC407A); }
    .mapp-stat strong { display: block; color: #fff; font-size: 20px; font-weight: 800; line-height: 1.1; }
    .mapp-stat span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .82); font-size: 11.5px; font-weight: 500; line-height: 1.4; }

    /* Carte activité en vignette */
    .mapp-tile {
        position: relative;
        display: block;
        flex: 0 0 172px;
        height: 214px;
        overflow: hidden;
        border-radius: 22px;
        background: var(--mapp-line);
        color: #fff;
        text-decoration: none;
    }
    .mapp-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .mapp-tile-text { position: absolute; inset: auto 0 0 0; padding: 14px; background: linear-gradient(to top, rgba(50, 50, 51, .82) 0%, rgba(50, 50, 51, 0) 100%); }
    .mapp-tile-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
    .mapp-tile-meta { margin-top: 3px; color: rgba(255, 255, 255, .82); font-size: 11.5px; font-weight: 500; }

    /* Encart sombre */
    .mapp-cta { padding: 24px; border-radius: 24px; background: #2E2E2E; }
    .mapp-cta h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 800; line-height: 1.25; }
    .mapp-cta h2 span { color: var(--mapp-pink); }
    .mapp-cta p { margin: 10px 0 18px; color: rgba(255, 255, 255, .7); font-size: 13.5px; line-height: 1.6; }
    .mapp-btn {
        display: block;
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 16px;
        background: linear-gradient(90deg, #0F4C81, #EC407A);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }
    .mapp-btn-amber { background: var(--mapp-amber); color: var(--mapp-ink); letter-spacing: .04em; }

    /* Inspirations */
    .mapp-list { display: flex; flex-direction: column; gap: 11px; padding: 0 18px; }
    .mapp-item {
        display: flex;
        gap: 13px;
        padding: 11px;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 3px 14px rgba(50, 50, 51, .07);
        color: inherit;
        text-decoration: none;
    }
    .mapp-item-media { flex: 0 0 84px; height: 84px; overflow: hidden; border-radius: 15px; background: var(--mapp-line); }
    .mapp-item-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .mapp-item-text { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; }
    .mapp-item-kicker { color: var(--mapp-pink); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .mapp-item-title { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
    .mapp-item-date { color: var(--mapp-muted); font-size: 11.5px; font-weight: 500; }

    /* ---- Feuille de recherche ------------------------------- */
    .mapp-scrim { position: fixed; inset: 0; z-index: 1500; background: rgba(50, 50, 51, .5); opacity: 0; pointer-events: none; transition: opacity .24s; }
    .mapp-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1600;
        padding: 14px 20px calc(26px + env(safe-area-inset-bottom, 0px));
        border-radius: 28px 28px 0 0;
        background: var(--mapp-bg);
        box-shadow: 0 -6px 30px rgba(50, 50, 51, .16);
        transform: translateY(104%);
        transition: transform .28s cubic-bezier(.22, 1, .36, 1);
    }
    .mapp-sheet[open], .mapp-sheet.is-open { transform: translateY(0); }
    .mapp-scrim.is-open { opacity: 1; pointer-events: auto; }
    .mapp-sheet-grip { width: 42px; height: 4px; margin: 0 auto 18px; border-radius: 3px; background: #e2ddd6; }
    .mapp-sheet h2 { margin: 0 0 18px; font-size: 18px; font-weight: 700; line-height: 1.25; }
    .mapp-label { display: block; margin-bottom: 9px; color: var(--mapp-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .mapp-sheet-formats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
    .mapp-sheet-format {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 14px 16px;
        border: 1.5px solid var(--mapp-line);
        border-radius: 16px;
        background: #fff;
        color: #666;
        font-size: 13.5px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }
    .mapp-sheet-format input { position: absolute; opacity: 0; pointer-events: none; }
    .mapp-sheet-format span:first-of-type { flex: 1; min-width: 0; }
    .mapp-check { display: flex; width: 22px; height: 22px; flex: 0 0 22px; align-items: center; justify-content: center; border: 1.5px solid var(--mapp-line); border-radius: 8px; background: #fff; color: transparent; }
    .mapp-check svg { width: 12px; height: 12px; }
    .mapp-sheet-format:has(input:checked) { border-color: var(--mapp-blue); background: #E8F4F9; color: var(--mapp-ink); }
    .mapp-sheet-format:has(input:checked) .mapp-check { border-color: var(--mapp-blue); background: var(--mapp-blue); color: #fff; }
    .mapp-sheet-fields { display: flex; gap: 11px; margin-bottom: 22px; }
    .mapp-field { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6px; }
    .mapp-field input {
        width: 100%;
        padding: 12px 14px;
        border: 1.5px solid var(--mapp-line);
        border-radius: 14px;
        background: #fff;
        color: var(--mapp-ink);
        font-size: 13.5px;
        font-weight: 500;
        box-sizing: border-box;
    }
    .mapp-field input:focus { border-color: var(--mapp-blue); outline: none; }
    .mapp-sheet button[type="submit"] { display: flex; align-items: center; justify-content: center; gap: 9px; }

    /* ---- Listes Lieux et Activités --------------------------- */
    /* Non collante sur mobile : le fond est transparent, le contenu défilerait derrière. */
    .page-venue-index .venue-filters-bar,
    .page-activity-index .activity-filters-bar { position: static; padding: 12px 0; border: none; background: transparent; }
    .page-venue-index .venue-filters-form,
    .page-activity-index .activity-filters-form { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .page-venue-index .venue-filters-search,
    .page-activity-index .venue-filters-search {
        box-sizing: border-box;
        min-width: 0;
        width: auto;
        max-width: calc(100% - 36px);
        margin: 0 18px;
        padding: 0 16px;
        border: none;
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--mapp-card);
    }
    .page-venue-index .venue-search-input,
    .page-activity-index .venue-search-input { border: none; background: transparent; font-size: 14px; }
    .page-venue-index .venue-filters-buttons,
    .page-activity-index .venue-filters-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 9px;
        padding: 0 18px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .page-venue-index .venue-filters-buttons::-webkit-scrollbar,
    .page-activity-index .venue-filters-buttons::-webkit-scrollbar { display: none; }
    .page-venue-index .venue-filter-btn,
    .page-activity-index .venue-filter-btn {
        flex: 0 0 auto;
        min-width: 0;
        padding: 10px 14px;
        border: none;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(50, 50, 51, .06);
        color: #666;
        font-size: 12.5px;
        font-weight: 600;
        white-space: nowrap;
    }
    .page-venue-index .venue-filter-btn svg,
    .page-activity-index .venue-filter-btn svg { display: none; }
    .page-venue-index .venue-filter-btn.active,
    .page-venue-index .venue-filter-btn.has-filters,
    .page-activity-index .venue-filter-btn.active,
    .page-activity-index .venue-filter-btn.has-filters { background: var(--mapp-ink); color: #fff; }

    /* Les panneaux de filtres deviennent des feuilles glissantes. */
    .page-venue-index .venue-filter-panel,
    .page-activity-index .venue-filter-panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1600;
        width: auto;
        max-height: 72vh;
        overflow-y: auto;
        border-radius: 28px 28px 0 0;
        padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -6px 30px rgba(50, 50, 51, .16);
    }
    .page-venue-index .venue-filter-panel-cols,
    .page-activity-index .venue-filter-panel-cols { grid-template-columns: 1fr; gap: 0; }

    .mapp-count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 18px 0; font-size: 14px; font-weight: 700; }
    .mapp-count a { color: var(--mapp-blue); font-size: 12.5px; font-weight: 600; text-decoration: none; }

    .page-venue-index .venue-listing-map { display: none; }
    /* Sans la carte, la colonne ne doit plus être bridée à 650 px (le contenu passait dessous). */
    .page-venue-index .venue-listing-inner { max-height: none; margin-top: 0; }
    .page-venue-index .venue-listing-cards { max-height: none; margin-right: 0; padding: 14px 18px; overflow: visible; }
    .page-venue-index .venue-grid { grid-template-columns: 1fr; gap: 13px; }
    .page-venue-index .venue-card { border-radius: 22px; box-shadow: 0 3px 16px rgba(50, 50, 51, .08); }
    .page-venue-index .venue-card-image { height: 168px; }
    .page-venue-index .venue-card-img { height: 168px; object-fit: cover; }
    .page-venue-index .venue-card-title { font-size: 15px; }
    .page-venue-index .venue-card-meta { gap: 7px; }
    .page-venue-index .venue-card-meta-item {
        padding: 5px 10px;
        border-radius: 9px;
        background: var(--mapp-beige);
        color: var(--mapp-ink);
        font-size: 11px;
        font-weight: 600;
    }

    /* Activités : vignettes plein cadre, deux par ligne. */
    .page-activity-index .activity-listing-inner { padding: 14px 18px; }
    .page-activity-index .activity-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .page-activity-index .activity-card { position: relative; height: 186px; padding: 0; overflow: hidden; border-radius: 22px; background: var(--mapp-line); }
    .page-activity-index .activity-card-image,
    .page-activity-index .activity-card .card-carousel,
    .page-activity-index .activity-card .card-carousel-slide,
    .page-activity-index .activity-card .card-carousel-slide a { position: absolute; inset: 0; height: 100%; border-radius: 0; }
    .page-activity-index .activity-card-img,
    .page-activity-index .activity-card-placeholder { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
    /* L'étiquette passe en haut à gauche : en bas, elle recouvrait le titre. */
    .page-activity-index .activity-card-tag {
        top: 12px;
        right: auto;
        bottom: auto;
        left: 12px;
        z-index: 3;
        max-width: calc(100% - 66px);
        overflow: hidden;
        border-radius: 9px;
        font-size: 10.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .page-activity-index .activity-card-cart-btn { top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 11px; }
    .page-activity-index .activity-card-body-link {
        position: absolute;
        inset: auto 0 0 0;
        z-index: 2;
        padding: 13px;
        background: linear-gradient(to top, rgba(50, 50, 51, .82) 0%, rgba(50, 50, 51, 0) 100%);
    }
    .page-activity-index .activity-card-title {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: #fff;
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.3;
        white-space: normal;
    }
    .page-activity-index .activity-card-duration { margin: 3px 0 0; color: rgba(255, 255, 255, .82); font-size: 11px; font-weight: 500; }
    .page-activity-index .activity-card-duration svg { display: none; }
    .page-activity-index .activity-card-tag { z-index: 3; }
    .page-activity-index .activity-card .btn-add-to-cart { z-index: 3; }
    .page-activity-index .card-carousel-btn, .page-activity-index .card-carousel-dots { display: none; }
}

/* ============================================================
   Fiche lieu, version application (handoff « fiche lieu »)
   ============================================================ */
@media (max-width: 768px) {
    /* La page bureau et ses blocs de bas de page laissent la place à la fiche app. */
    .page-venue-show .venue-show,
    .page-venue-show .venue-suggestions,
    .page-venue-show .venue-cta-banner { display: none; }
    /* Écran plein cadre : la barre d'application et le menu du bas disparaissent,
       le bouton retour de la galerie et la barre d'action les remplacent. */
    .page-venue-show .site-header,
    .page-venue-show .mapp-tabbar { display: none; }
    .page-venue-show { padding-bottom: 0; background: var(--mapp-bg); }

    .vm { display: flex; flex-direction: column; gap: 22px; padding-bottom: 104px; color: var(--mapp-ink); }
    .vm-pad { padding: 0 18px; }

    /* ---- Galerie ---- */
    .vm-gallery { position: relative; height: 290px; background: var(--mapp-line); }
    .vm-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .vm-slides::-webkit-scrollbar { display: none; }
    .vm-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
    .vm-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(50, 50, 51, .35) 0%, rgba(50, 50, 51, 0) 38%, rgba(50, 50, 51, .72) 100%); }
    .vm-round {
        position: absolute;
        top: 16px;
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 14px;
        background: rgba(255, 255, 255, .94);
        color: var(--mapp-ink);
    }
    .vm-round svg { width: 17px; height: 17px; }
    .vm-back { left: 16px; }
    .vm-round-row { position: absolute; top: 16px; right: 16px; display: flex; gap: 9px; }
    .vm-round-row .vm-round { position: static; }
    .vm-round-heart { color: var(--mapp-pink); }
    .vm-counter { position: absolute; right: 16px; bottom: 14px; padding: 5px 11px; border-radius: 9px; background: rgba(50, 50, 51, .7); color: #fff; font-size: 11px; font-weight: 600; }
    .vm-dots { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 6px; }
    .vm-dot { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .2s ease, background-color .2s ease; }
    .vm-dot.is-active { width: 20px; background: #fff; }

    /* ---- Titre ---- */
    .vm-type { display: inline-block; padding: 5px 11px; border-radius: 9px; background: #E8F4F9; color: var(--mapp-deep); font-size: 10.5px; font-weight: 600; }
    .vm-title { margin: 10px 0 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
    .vm-city { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 0; color: var(--mapp-muted); font-size: 13px; font-weight: 500; }
    .vm-city svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--mapp-pink); }

    /* ---- Rangées défilantes ---- */
    .vm-row { display: flex; gap: 9px; padding: 0 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 18px; scrollbar-width: none; }
    .vm-row::-webkit-scrollbar { display: none; }
    .vm-row > * { flex: 0 0 auto; scroll-snap-align: start; }
    .vm-row-end { flex: 0 0 1px; }
    .vm-figure {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 12px 14px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 3px 14px rgba(50, 50, 51, .07);
        color: var(--mapp-muted);
        font-size: 12.5px;
        font-weight: 500;
        white-space: nowrap;
    }
    .vm-figure svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--mapp-pink); }
    .vm-figure strong { color: var(--mapp-ink); font-weight: 700; }

    .vm-tab { padding: 10px 16px; border: none; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(50, 50, 51, .06); color: #666; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
    .vm-tab.is-active { background: var(--mapp-ink); color: #fff; box-shadow: none; }

    /* ---- Panneaux ---- */
    .vm-pane { display: none; flex-direction: column; gap: 20px; }
    .vm-pane.is-active { display: flex; }
    .vm-lead { color: #4a4a4b; font-size: 14.5px; line-height: 1.7; }
    .vm-lead p, .vm-text p { margin: 0 0 .7em; }
    .vm-lead p:last-child, .vm-text p:last-child { margin-bottom: 0; }
    .vm-h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.25; }
    .vm-text { color: #4a4a4b; font-size: 14px; line-height: 1.65; }
    .vm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
    .vm-chip { padding: 7px 12px; border-radius: 10px; background: var(--mapp-beige); color: #666; font-size: 12px; font-weight: 500; }
    .vm-chip strong { color: var(--mapp-ink); font-weight: 700; }

    .vm-expert { padding: 18px 20px; border-radius: 20px; background: #E8F4F9; }
    .vm-expert-kicker { margin: 0 0 8px; color: var(--mapp-deep); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

    .vm-trust { padding: 20px; border-radius: 22px; background: #FCF4E6; }
    .vm-trust ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
    .vm-trust li { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 600; line-height: 1.4; }
    .vm-trust-icon { display: flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center; border-radius: 13px; background: #fff; color: var(--mapp-pink); }
    .vm-trust-icon svg { width: 18px; height: 18px; }

    /* ---- Salles ---- */
    .vm-room { margin: 0 18px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 3px 14px rgba(50, 50, 51, .07); }
    .vm-room header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
    .vm-room header strong { font-size: 14.5px; font-weight: 700; }
    .vm-room header span { color: var(--mapp-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
    .vm-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
    .vm-room-cell { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: var(--mapp-bg); color: #666; font-size: 11.5px; font-weight: 500; }
    .vm-room-cell svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--mapp-pink); }
    .vm-room-cell span { flex: 1; min-width: 0; }
    .vm-room-cell strong { color: var(--mapp-ink); font-size: 12.5px; font-weight: 700; }

    /* Équipements de la salle : lumière du jour, accès PMR, piste de danse. */
    .vm-room-features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
    .vm-room-feature { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; background: var(--mapp-pink); color: #fff; font-size: 11.5px; font-weight: 600; }
    .vm-room-feature svg { width: 14px; height: 14px; flex: 0 0 14px; color: #fff; }

    /* ---- Équipements ---- */
    .vm-equip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .vm-equip-item { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; background: #fff; box-shadow: 0 3px 14px rgba(50, 50, 51, .07); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
    .vm-equip-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--mapp-blue); }

    /* ---- Accès ---- */
    .vm-map { display: flex; height: 190px; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; border-radius: 22px; background: #E8F4F9; color: var(--mapp-deep); font-size: 12.5px; font-weight: 600; text-align: center; }
    .vm-map svg { width: 26px; height: 26px; color: var(--mapp-blue); }
    .vm-distances { overflow: hidden; margin: 0; padding: 0; border-radius: 20px; background: #fff; box-shadow: 0 3px 14px rgba(50, 50, 51, .07); list-style: none; }
    .vm-distances li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
    .vm-distances li + li { border-top: 1px solid var(--mapp-beige); }
    .vm-distances span { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
    .vm-distances strong { color: #666; font-size: 12.5px; font-weight: 500; white-space: nowrap; }

    /* ---- Barre d'action ---- */
    .vm-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1450;
        display: flex;
        box-sizing: border-box;
        align-items: center;
        gap: 14px;
        padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px));
        border-radius: 22px 22px 0 0;
        background: #fff;
        box-shadow: 0 -4px 24px rgba(50, 50, 51, .14);
    }
    .vm-price { display: flex; flex-direction: column; }
    .vm-price span { color: var(--mapp-muted); font-size: 11px; font-weight: 500; }
    .vm-price strong { color: var(--mapp-deep); font-size: 16px; font-weight: 700; white-space: nowrap; }
    .vm-bar-btn { flex: 1; padding: 14px; border-radius: 16px; background: var(--mapp-pink); color: #fff; font-size: 13.5px; font-weight: 700; text-align: center; text-decoration: none; }

    @media (min-width: 480px) {
        .vm-equip, .vm-room-grid { grid-template-columns: repeat(3, 1fr); }
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .mapp-sheet, .mapp-scrim { transition: none; }
    .vm-dot, .vm-tab { transition: none; }
}
