/* Loc Voile Armor – carte interactive des destinations */
.lva-carte {
    --lva-primaire: var(--e-global-color-primary, #00BBD2);
    --lva-marine: var(--e-global-color-accent, #112543);
    --lva-texte: var(--e-global-color-text, #505A6A);
    --lva-orange: #F59C00;
    --lva-mer-1: #3cb3d3;
    --lva-mer-2: #6fcbe2;
    --lva-mer-3: #bfe6f1;
    --lva-sable: #f3e3a6;
    position: relative;
    font-family: inherit;
    color: var(--lva-texte);
}
.lva-carte *, .lva-fiche * { box-sizing: border-box; }
/* La carte occupe toujours toute la largeur de sa colonne, quel que soit son contenu (évite les va-et-vient sur tablette) */
.lva-carte:not(.lva-plein) { width: 100%; min-width: 0; max-width: 100%; }
.lva-puces { max-width: 100%; min-width: 0; }

.lva-carte__cadre {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 639;
    overflow: hidden;
    background: #f8fafb;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17, 37, 67, .08);
    user-select: none;
    -webkit-user-select: none;
}
.lva-carte__chargement { position: absolute; inset: 0; background: linear-gradient(110deg, #f3f6f8 30%, #fafcfd 50%, #f3f6f8 70%); background-size: 200% 100%; animation: lva-chargement 1.4s linear infinite; }
@keyframes lva-chargement { to { background-position: -200% 0; } }
.lva-carte__liste { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }

/* Fond de carte */
.lva-carte__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lva-mer { fill: #f8fafb; }
.lva-carte__svg use { stroke-linejoin: round; }
.lva-cote-3 { fill: var(--lva-mer-3); stroke: var(--lva-mer-3); stroke-width: 34px; }
.lva-cote-2 { fill: var(--lva-mer-2); stroke: var(--lva-mer-2); stroke-width: 16px; }
.lva-cote-1 { fill: var(--lva-mer-1); stroke: var(--lva-mer-1); stroke-width: 6px; }
.lva-cote-sable { fill: #fff; stroke: var(--lva-sable); stroke-width: 2.4px; }
.lva-terre { fill: #fff; }
.lva-rose { fill: none; stroke: #c9d3da; stroke-width: 1; opacity: .8; }
.lva-rose path { fill: #e3e9ed; }

/* Routes */
.lva-route { fill: none; stroke: var(--lva-marine); stroke-width: 1px; stroke-dasharray: 4 4; opacity: .28; vector-effect: non-scaling-stroke; transition: opacity .25s; }
.a-un-actif .lva-route { opacity: .1; }
.lva-route-halo, .lva-route-active { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0; transition: stroke-dashoffset .9s cubic-bezier(.33, 1, .68, 1), opacity .2s; }
.lva-route-halo { stroke: #fff; stroke-width: 7px; }
.lva-route-active { stroke: var(--lva-marine); stroke-width: 3px; }
.trace-route .lva-route-halo { opacity: .9; }
.trace-route .lva-route-active { opacity: 1; }

/* Repères */
.lva-repere { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; font-size: clamp(9px, 1.25vw, 13px); line-height: 1; }
.lva-repere--mer { color: #7fb9ca; font-style: italic; letter-spacing: .25em; text-transform: uppercase; font-size: clamp(9px, 1.1vw, 12px); }
.lva-repere--terre { color: #b7c1c9; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(8px, 1vw, 11px); }
.lva-repere--zone { color: var(--lva-marine); font-weight: 600; opacity: .55; }

/* Port de départ */
.lva-depart { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 3; }
.lva-depart__point { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--lva-marine); box-shadow: 0 0 0 3px #fff; }
.lva-depart__nom { position: absolute; right: 12px; top: 6px; text-align: right; line-height: 1; white-space: nowrap; }
.lva-depart__nom b { display: block; color: var(--lva-primaire); font-weight: 800; font-size: clamp(13px, 2vw, 20px); letter-spacing: -.01em; }
.lva-depart__nom i { display: block; color: var(--lva-primaire); font-weight: 400; font-size: clamp(10px, 1.4vw, 14px); margin-top: 2px; }

/* Destinations */
.lva-point { position: absolute; width: 0; height: 0; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; z-index: 4; font: inherit; color: inherit; }
.lva-point__cible { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; }
.lva-point__cible::before, .lva-point__cible::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.lva-point__cible::before { width: 12px; height: 12px; background: var(--lva-orange); box-shadow: 0 0 0 2.5px #fff, 0 2px 6px rgba(17, 37, 67, .35); transition: transform .2s; }
.lva-point__cible::after { width: 12px; height: 12px; border: 2px solid var(--lva-orange); opacity: 0; animation: lva-pulse 2.6s ease-out infinite; }
@keyframes lva-pulse { 0% { opacity: .7; width: 12px; height: 12px; } 100% { opacity: 0; width: 36px; height: 36px; } }
.lva-point:hover .lva-point__cible::before, .lva-point.est-actif .lva-point__cible::before { transform: translate(-50%, -50%) scale(1.35); background: var(--lva-marine); }
.lva-point:focus { outline: none; }
.lva-point:focus-visible .lva-point__cible { outline: 2px solid var(--lva-marine); outline-offset: 2px; }
.lva-point__nom { position: absolute; white-space: nowrap; font-size: clamp(11px, 1.35vw, 14px); font-weight: 700; color: var(--lva-marine); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; line-height: 1; pointer-events: none; transition: color .2s, opacity .2s; }
.lva-point--droite .lva-point__nom { left: 12px; top: -7px; }
.lva-point--gauche .lva-point__nom { right: 12px; top: -7px; }
.lva-point--haut .lva-point__nom { left: 50%; bottom: 12px; transform: translateX(-50%); }
.lva-point--bas .lva-point__nom { left: 50%; top: 12px; transform: translateX(-50%); }
.a-un-actif .lva-point:not(.est-actif) .lva-point__nom { opacity: .45; }
.lva-point.est-actif { z-index: 6; }
.lva-carte--etroite .lva-point__nom { display: none; }
.lva-carte--etroite .lva-repere--terre, .lva-carte--etroite .lva-repere--zone { display: none; }

/* Distance */
.lva-distance { position: absolute; z-index: 5; transform: translate(-50%, -50%) scale(.85); display: flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 999px; background: var(--lva-marine); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 3px 10px rgba(17, 37, 67, .3); }
.lva-distance svg { width: 13px; height: 13px; }
.lva-distance.est-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.lva-bateau { position: absolute; z-index: 5; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: var(--lva-marine); opacity: 0; pointer-events: none; filter: drop-shadow(0 0 2px #fff); }
.lva-bateau.est-visible { opacity: 1; }

/* Bulle */
.lva-bulle { position: absolute; z-index: 7; width: 260px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(17, 37, 67, .22); overflow: visible; cursor: pointer; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .18s, transform .18s; }
.lva-bulle.est-visible { opacity: 1; transform: none; pointer-events: auto; }
.lva-bulle::after { content: ""; position: absolute; left: var(--fleche, 50%); bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.lva-bulle.en-dessous::after { bottom: auto; top: -7px; }
.lva-bulle.cote-droite:not(.lva-bulle--cote)::after, .lva-bulle.cote-gauche:not(.lva-bulle--cote)::after { bottom: auto; top: var(--fleche-y, 50%); margin: -7px 0 0; }
.lva-bulle.cote-droite:not(.lva-bulle--cote)::after { left: -7px; }
.lva-bulle.cote-gauche:not(.lva-bulle--cote)::after { left: auto; right: -7px; }
.lva-bulle__photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px 10px 0 0; background: #e8eef1; }
.lva-bulle__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lva-bulle__corps { position: relative; z-index: 1; padding: 11px 14px 12px; }
.lva-bulle__type { margin: 0 0 2px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lva-primaire); }
.lva-bulle__nom { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--lva-marine); line-height: 1.2; }
.lva-bulle__texte { margin: 0 0 8px; font-size: 13px; line-height: 1.45; }
.lva-bulle__pied { margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--lva-marine); }
.lva-bulle__plus { color: var(--lva-orange); white-space: nowrap; }
.lva-carte--etroite .lva-bulle { position: relative; left: auto !important; top: auto !important; width: auto; margin-top: 12px; border-radius: 14px; cursor: pointer; display: none; transform: none; box-shadow: 0 4px 16px rgba(17, 37, 67, .14); }
.lva-carte--etroite .lva-bulle.est-visible { display: flex; }
.lva-carte--etroite .lva-bulle::after { display: none; }
.lva-carte--etroite .lva-bulle__photo { flex: 0 0 34%; aspect-ratio: auto; border-radius: 14px 0 0 14px; }
.lva-carte--etroite .lva-bulle__plus { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--lva-orange); color: #fff !important; font-size: 12px; }
.lva-carte--etroite .lva-bulle__corps { padding: 10px 12px; flex: 1; }
.lva-carte--etroite .lva-bulle__texte { font-size: 12.5px; margin-bottom: 6px; }

/* Fiche détaillée */
.lva-fiche { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--e-global-typography-text-font-family, inherit), sans-serif; color: #505A6A; }
.lva-fiche[hidden] { display: none; }
.lva-fiche__fond { position: absolute; inset: 0; background: rgba(17, 37, 67, .55); opacity: 0; transition: opacity .2s; }
.lva-fiche__boite { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s, transform .2s; outline: none; }
.lva-fiche.est-ouverte .lva-fiche__fond { opacity: 1; }
.lva-fiche.est-ouverte .lva-fiche__boite { opacity: 1; transform: none; }
.lva-fiche__fermer { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #112543; font-size: 26px; line-height: 38px; text-align: center; padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.lva-fiche__photo { position: relative; aspect-ratio: 16 / 8; background: #e8eef1; }
.lva-fiche__credit { position: absolute; right: 8px; bottom: 6px; max-width: calc(100% - 16px); padding: 2px 7px; border-radius: 3px; background: rgba(17, 37, 67, .55); color: #fff !important; font-size: 10px; line-height: 1.4; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lva-fiche__credit:hover { background: rgba(17, 37, 67, .85); }
.lva-fiche__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px 12px 0 0; }
.lva-fiche__corps { padding: 22px 28px 28px; }
.lva-fiche__type { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #00BBD2; }
.lva-fiche__titre { margin: 0 0 14px; font-size: 28px; font-weight: 800; line-height: 1.15; color: #112543; }
.lva-fiche__infos { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lva-fiche__infos li { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #f2f5fa; font-size: 14px; color: #112543; }
.lva-fiche__infos svg { width: 16px; height: 16px; color: #00BBD2; flex: none; }
.lva-fiche__texte { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.lva-fiche__atouts { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; }
.lva-fiche__atouts li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 600; color: #112543; }
.lva-fiche__atouts svg { width: 18px; height: 18px; color: #00BBD2; flex: none; margin-top: 1px; }
.lva-fiche__bouton { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 5px; background: #F59C00; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; transition: background .2s; }
.lva-fiche__bouton:hover, .lva-fiche__bouton:focus-visible { background: #112543; }
html.lva-fiche-ouverte { overflow: hidden; }
@media (max-width: 520px) {
    .lva-fiche { padding: 0; align-items: flex-end; }
    .lva-fiche__boite { max-height: 92vh; border-radius: 14px 14px 0 0; }
    .lva-fiche__photo img { border-radius: 14px 14px 0 0; }
    .lva-fiche__corps { padding: 18px 18px 24px; }
    .lva-fiche__titre { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .lva-point__cible::after { animation: none; }
    .lva-route-halo, .lva-route-active { transition: none; }
}
.lva-carte--etroite .lva-distance { display: none; }
.lva-carte--etroite .lva-point__cible::before { width: 10px; height: 10px; }
.lva-carte--etroite .lva-depart__nom i { display: none; }

/* Neutralise les styles de boutons du thème */
.lva-carte button.lva-point, .lva-carte button.lva-point:hover, .lva-carte button.lva-point:focus, .lva-carte button.lva-point:active {
    width: 0 !important; height: 0 !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; line-height: normal !important;
    text-transform: none !important; letter-spacing: normal !important; transition: none !important;
}
.lva-fiche button.lva-fiche__fermer, .lva-fiche button.lva-fiche__fermer:hover, .lva-fiche button.lva-fiche__fermer:focus { width: 38px !important; height: 38px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .92) !important; color: #112543 !important; font-size: 26px !important; line-height: 38px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important; text-transform: none !important; }

/* Escales secondaires : plus discrètes, nom visible au survol */
.lva-route--escale { display: none; }
.lva-point--escale { z-index: 3; }
.lva-point--escale .lva-point__cible { left: -10px; top: -10px; width: 20px; height: 20px; }
.lva-point--escale .lva-point__cible::before { width: 10px; height: 10px; background: #fff; box-shadow: 0 0 0 2.5px var(--lva-marine), 0 0 0 7px rgba(0, 187, 210, .22), 0 1px 4px rgba(17, 37, 67, .3); }
.lva-point--escale .lva-point__cible::after { display: none; }
.lva-point--escale:hover .lva-point__cible::before, .lva-point--escale.est-actif .lva-point__cible::before { background: var(--lva-marine); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(17, 37, 67, .3); }
.lva-point--escale .lva-point__nom { opacity: 0; font-size: clamp(10px, 1.2vw, 13px); }
.lva-point--escale:hover .lva-point__nom, .lva-point--escale.est-actif .lva-point__nom, .lva-point--escale:focus-visible .lva-point__nom { opacity: 1 !important; }
.lva-point--escale.lva-point--droite .lva-point__nom { left: 9px; top: -6px; }
.lva-point--escale.lva-point--gauche .lva-point__nom { right: 9px; top: -6px; }
.lva-point--escale.lva-point--haut .lva-point__nom { bottom: 9px; }
.lva-point--escale.lva-point--bas .lva-point__nom { top: 9px; }

/* Légende */
.lva-legende { position: absolute; left: 1.5%; bottom: 2.5%; z-index: 2; display: flex; flex-direction: column; gap: 5px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 11.5px; line-height: 1.2; color: var(--lva-marine); pointer-events: none; }
.lva-legende span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.lva-legende i { display: inline-block; border-radius: 50%; }
.lva-legende__dest { width: 10px; height: 10px; background: var(--lva-orange); box-shadow: 0 0 0 2px #fff; }
.lva-legende__escale { width: 8px; height: 8px; margin: 0 1px; background: #fff; box-shadow: 0 0 0 2px var(--lva-marine), 0 0 0 5px rgba(0, 187, 210, .22); }
.lva-carte--etroite .lva-legende { font-size: 10px; padding: 5px 7px; gap: 3px; }
.a-un-actif .lva-point--escale:not(.est-actif):not(:hover) .lva-point__nom { opacity: 0; }
/* Escales nommées (repères en Angleterre) : nom toujours visible */
.lva-point--escale.lva-point--nommee .lva-point__nom { opacity: .85; }
.a-un-actif .lva-point--escale.lva-point--nommee:not(.est-actif):not(:hover) .lva-point__nom { opacity: .4; }

/* Petit écran : pastilles des destinations phares, légende masquée */
.lva-puces { display: none; }
.lva-carte--etroite .lva-legende { display: none; }
/* Pas de pastilles « destinations phares » sur mobile (Vincent, 2026-10-18) */
.lva-carte--etroite .lva-carte__cadre { border-radius: 16px; }
.lva-carte--etroite .lva-point--escale, .lva-carte--etroite .lva-route--escale { display: none; }
.lva-puces__titre span { font-weight: 400; color: var(--lva-texte); }
.lva-puces__titre { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--lva-marine); }
.lva-puces__titre::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--lva-orange); vertical-align: 1px; }
.lva-puces__rangee { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 24px 4px 0; margin-right: -2px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.lva-puces__rangee::-webkit-scrollbar { display: none; }
.lva-carte button.lva-puce { flex: 0 0 auto; white-space: nowrap; }
.lva-carte button.lva-puce, .lva-carte button.lva-puce:hover, .lva-carte button.lva-puce:focus {
    margin: 0 !important; padding: 7px 13px !important; min-height: 0 !important; border: 1px solid #dfe6ee !important; border-radius: 999px !important;
    background: #fff !important; color: var(--lva-marine) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.2 !important;
    text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; cursor: pointer;
}
.lva-carte button.lva-puce.est-actif { background: var(--lva-marine) !important; border-color: var(--lva-marine) !important; color: #fff !important; }
.lva-carte--etroite .lva-bulle__pied { flex-wrap: wrap; gap: 6px 10px; }

.lva-carte--etroite:not(.lva-plein) .lva-carte__cadre { cursor: zoom-in; }

/* Plein écran mobile */
html.lva-plein-ouvert, html.lva-plein-ouvert body { overflow: hidden !important; }
.lva-plein { position: fixed; inset: 0; z-index: 99990; background: #f8fafb; display: flex; flex-direction: column; }
.lva-plein[hidden] { display: none; }
.lva-plein__barre { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); background: #fff; box-shadow: 0 2px 10px rgba(17, 37, 67, .1); position: relative; z-index: 2; }
.lva-plein__barre span { font-size: 12px; line-height: 1.3; color: var(--lva-texte); }
.lva-plein button.lva-plein__fermer, .lva-plein button.lva-plein__fermer:hover, .lva-plein button.lva-plein__fermer:focus {
    flex: 0 0 auto; display: flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 9px 16px !important; min-height: 0 !important; border: 0 !important; border-radius: 999px !important;
    background: var(--lva-marine) !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1 !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important;
}
.lva-plein__fermer b { font-size: 20px; line-height: .8; font-weight: 400; }
.lva-plein__zone { position: relative; z-index: 1; flex: 1 1 auto; display: flex; overflow: auto; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lva-plein .lva-carte__cadre { flex: 0 0 auto; align-self: flex-start; margin: auto; border-radius: 0; box-shadow: none; max-width: none; }
.lva-plein .lva-point__nom { display: block; font-size: 12px; }
.lva-plein .lva-point--escale, .lva-plein .lva-route--escale { display: block; }
.lva-plein .lva-route--escale { display: none; }
.lva-plein .lva-repere--terre, .lva-plein .lva-repere--zone { display: block; }
.lva-plein .lva-distance { display: flex; }
.lva-plein .lva-legende { display: none; }
.lva-plein__zoom { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.lva-plein__zoom button, .lva-plein__zoom button:hover, .lva-plein__zoom button:focus {
    width: 42px; height: 42px; margin: 0 !important; padding: 0 !important; min-height: 0 !important; border: 0 !important; border-radius: 50% !important;
    background: #fff !important; color: var(--lva-marine) !important; font-size: 24px !important; font-weight: 600 !important; line-height: 42px !important; text-align: center; box-shadow: 0 2px 10px rgba(17, 37, 67, .2) !important;
}
.lva-plein .lva-bulle { position: absolute; left: 12px !important; right: 12px; top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom)); margin: 0; z-index: 4; }
.lva-legende em { font-style: normal; opacity: .65; }

/* Appel « Explorer la carte » : pastille animée au centre de la mer */
.lva-carte button.lva-agrandir { display: none; }
.lva-carte:not(.lva-plein) button.lva-agrandir, .lva-carte:not(.lva-plein) button.lva-agrandir:focus, .lva-carte:not(.lva-plein) button.lva-agrandir:hover {
    position: absolute; left: 38%; top: 41%; z-index: 8; display: flex !important; align-items: center; gap: 10px;
    margin: 0 !important; padding: 7px 18px 7px 7px !important; min-height: 0 !important; border: 0 !important; border-radius: 999px !important;
    background: var(--lva-marine) !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1 !important;
    text-transform: none !important; letter-spacing: normal !important; white-space: nowrap; box-shadow: 0 8px 24px rgba(17, 37, 67, .35) !important;
    cursor: pointer; transform: translate(-50%, -50%); transition: transform .2s, opacity .25s, background .2s;
}
.lva-carte:not(.lva-plein) button.lva-agrandir:hover { background: var(--lva-orange) !important; transform: translate(-50%, -50%) scale(1.05); }
.lva-agrandir__icone { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lva-orange); color: #fff; }
.lva-carte button.lva-agrandir:hover .lva-agrandir__icone { background: #fff; color: var(--lva-orange); }
.lva-agrandir__icone svg { width: 17px; height: 17px; animation: lva-respire 2.4s ease-in-out infinite; }
.lva-agrandir__icone::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lva-orange); animation: lva-appel 2.4s ease-out infinite; }
@keyframes lva-appel { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes lva-respire { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.lva-agrandir__doigt { display: none; }
/* Pendant le survol d'une destination, la pastille s'efface pour laisser voir la route. */
.lva-carte:not(.lva-carte--etroite) .lva-carte__cadre.a-un-actif button.lva-agrandir { opacity: 0; pointer-events: none; }
/* Petit écran : pastille plus compacte, en bas à droite (toute la carte est cliquable). */
.lva-carte--etroite:not(.lva-plein) button.lva-agrandir, .lva-carte--etroite:not(.lva-plein) button.lva-agrandir:focus {
    left: auto; top: auto; right: 10px; bottom: 10px; transform: none; padding: 5px 13px 5px 5px !important; gap: 8px; font-size: 12.5px !important; pointer-events: none;
}
.lva-carte--etroite .lva-agrandir__icone { width: 26px; height: 26px; }
.lva-carte--etroite .lva-agrandir__icone svg { width: 14px; height: 14px; }
.lva-carte--etroite .lva-agrandir__souris { display: none; }
.lva-carte--etroite .lva-agrandir__doigt { display: inline; }
@media (prefers-reduced-motion: reduce) { .lva-agrandir__icone svg, .lva-agrandir__icone::after { animation: none; } }
.lva-plein__aide--souris { display: none; }
/* Symbole animé « pincer / glisser » au centre de la carte agrandie sur mobile */
.lva-plein__geste { position: absolute; left: 50%; top: 50%; z-index: 3; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; transition: opacity .4s, transform .4s; }
.lva-plein__geste svg { display: block; width: 96px; height: 96px; padding: 10px; border-radius: 50%; background: rgba(17, 37, 67, .62); box-shadow: 0 0 0 0 rgba(17, 37, 67, .35); animation: lva-geste-halo 1.8s ease-out infinite; }
.lva-plein__geste.est-cache { opacity: 0; transform: scale(.9); }
.lva-geste__doigt--a { animation: lva-pince-a 1.8s ease-in-out infinite; }
.lva-geste__doigt--b { animation: lva-pince-b 1.8s ease-in-out infinite; }
@keyframes lva-pince-a { 0%, 15% { transform: translate(5px, -5px); } 55%, 75% { transform: translate(-9px, 9px); } 100% { transform: translate(5px, -5px); } }
@keyframes lva-pince-b { 0%, 15% { transform: translate(-5px, 5px); } 55%, 75% { transform: translate(9px, -9px); } 100% { transform: translate(-5px, 5px); } }
@keyframes lva-geste-halo { 0% { box-shadow: 0 0 0 0 rgba(17, 37, 67, .35); } 100% { box-shadow: 0 0 0 22px rgba(17, 37, 67, 0); } }
@media (prefers-reduced-motion: reduce) { .lva-plein__geste svg, .lva-geste__doigt { animation: none; } }
@media (hover: hover) and (pointer: fine) {
    .lva-plein__aide--doigt { display: none; }
    .lva-plein__geste { display: none; }
    .lva-plein__aide--souris { display: inline; }
    .lva-plein__zone { cursor: grab; }
    .lva-plein__zone.en-glisse { cursor: grabbing; }
    .lva-plein .lva-bulle { left: 20px !important; right: auto; width: 400px; bottom: 20px; }
}
.lva-carte:not(.lva-carte--etroite):not(.lva-plein) .lva-carte__cadre { cursor: zoom-in; }
.lva-carte:not(.lva-carte--etroite):not(.lva-plein) .lva-point { cursor: pointer; }
/* Au-dessus de la barre d'admin WordPress */
.lva-plein { z-index: 100001; }
.lva-fiche { z-index: 100010; }
/* Sur ordinateur : grande fenêtre centrée plutôt que plein écran */
.lva-plein-fond { display: none; }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
    .lva-plein-fond { display: block; position: fixed; inset: 0; z-index: 100000; background: rgba(17, 37, 67, .62); cursor: zoom-out; animation: lva-fondu .2s ease-out; }
    .lva-plein-fond[hidden] { display: none; }
    .lva-plein { inset: 0; margin: auto; width: min(1320px, calc(100vw - 64px)); height: min(880px, calc(100vh - 64px)); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(10, 25, 47, .4); animation: lva-fenetre .22s ease-out; }
    .lva-plein__barre { padding: 12px 16px 12px 20px; }
    /* Bulle à côté du point survolé, avec un appel clair au clic */
    .lva-plein .lva-bulle.lva-bulle--cote { display: block; position: absolute; right: auto; bottom: auto; width: 320px; margin: 0; transition: opacity .15s, box-shadow .2s, transform .2s; }
    .lva-plein .lva-bulle.lva-bulle--cote::after { display: block; left: -7px; right: auto; bottom: auto; top: var(--fleche-y, 50%); margin: -7px 0 0; }
    .lva-plein .lva-bulle.lva-bulle--cote.cote-gauche::after { left: auto; right: -7px; }
    .lva-plein .lva-bulle.lva-bulle--cote.pos-haut::after { left: var(--fleche, 50%); right: auto; top: auto; bottom: -7px; margin: 0 0 0 -7px; }
    .lva-plein .lva-bulle.lva-bulle--cote.pos-bas::after { left: var(--fleche, 50%); right: auto; top: -7px; bottom: auto; margin: 0 0 0 -7px; }
    .lva-plein .lva-bulle.lva-bulle--cote:hover { box-shadow: 0 16px 40px rgba(17, 37, 67, .3); transform: translateY(-2px); }
    .lva-plein .lva-bulle--cote .lva-bulle__plus { padding: 6px 12px; font-size: 12.5px; transition: background .2s; }
    .lva-plein .lva-bulle--cote:hover .lva-bulle__plus { background: var(--lva-marine); }
}
@keyframes lva-fondu { from { opacity: 0; } }
@keyframes lva-fenetre { from { opacity: 0; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .lva-plein-fond, .lva-plein { animation: none !important; } }
