/* LOCVOILIER — Plan du site en carte marine ([lv_plan_site], inc/plan-site.php) — v4.4.7 */
.lv-page section.lv-carte-sec { padding: 6px 0 70px; }
.lv-page .lv-carte {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 22px; padding: 34px clamp(16px, 3.4vw, 46px) 28px;
  background: radial-gradient(120% 80% at 85% 0%, rgba(59,191,173,.10), transparent 60%), linear-gradient(180deg, #03203b 0%, #021a31 45%, #011326 100%);
  border: 1px solid rgba(197,160,89,.55);
  box-shadow: 0 0 0 6px rgba(1,12,26,.9), 0 0 0 7px rgba(197,160,89,.35), 0 30px 80px rgba(0,0,0,.45);
}
/* graduations du cadre, comme sur une carte marine */
.lv-page .lv-carte::before {
  content: ""; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none; z-index: 0;
  border: 4px dashed rgba(197,160,89,.18);
}
.lv-page .lv-carte-fond, .lv-page .lv-carte-route { position: absolute; left: 0; top: 0; width: 100%; height: auto; z-index: 0; pointer-events: none; }
/* au-delà du dessin, le quadrillage continue */
.lv-page .lv-carte { background-image: repeating-linear-gradient(90deg, rgba(130,210,230,.05) 0 1px, transparent 1px 150px), repeating-linear-gradient(0deg, rgba(130,210,230,.05) 0 1px, transparent 1px 150px), radial-gradient(120% 80% at 85% 0%, rgba(59,191,173,.10), transparent 60%), linear-gradient(180deg, #03203b 0%, #021a31 45%, #011326 100%); }
.lv-carte-fond .g { stroke: rgba(130,210,230,.10); stroke-width: 1; stroke-dasharray: 2 6; }
.lv-carte-fond .d { fill: rgba(197,160,89,.55); font: 600 10px Montserrat, sans-serif; letter-spacing: .5px; }
.lv-carte-fond .i0, .lv-carte-fond .i1, .lv-carte-fond .i2 { fill: none; stroke: rgba(110,205,225,.16); stroke-width: 1.2; }
.lv-carte-fond .i1 { stroke-dasharray: 10 6; }
.lv-carte-fond .i2 { stroke: rgba(110,205,225,.10); stroke-width: 2.2; }
.lv-carte-fond .p { fill: rgba(205,240,255,.22); font: italic 11px Lora, Georgia, serif; }
.lv-carte-fond .r { stroke: rgba(197,160,89,.09); stroke-width: 1; }
.lv-carte-fond .r1 { stroke: rgba(197,160,89,.16); }
.lv-carte-fond .t { fill: #2a2a22; fill-opacity: .55; stroke: rgba(231,194,122,.75); stroke-width: 1.4; }
.lv-carte-fond .h { stroke: rgba(231,194,122,.12); stroke-width: 1; }
.lv-carte-fond .c { fill: none; stroke: rgba(110,205,225,.28); stroke-width: 1; }
.lv-carte-fond .c2 { stroke: rgba(110,205,225,.14); }
.lv-carte-fond .n { fill: rgba(238,243,246,.55); font: italic 16px 'Playfair Display', Georgia, serif; letter-spacing: 1px; }
.lv-carte-fond .n.s { font-size: 12px; fill: rgba(238,243,246,.4); }
.lv-carte-fond .f circle { fill: #ffd98a; } .lv-carte-fond .f path { stroke: rgba(255,217,138,.8); stroke-width: 1.4; }
.lv-carte-fond .f { animation: lvPhare 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes lvPhare { 0%, 70%, 100% { opacity: .35; } 78% { opacity: 1; } }

/* route conseillée et petit voilier qui la suit */
.lv-carte-route #lvRoute { fill: none; stroke: rgba(197,160,89,.42); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; animation: lvRoute 3.5s linear infinite; }
@keyframes lvRoute { to { stroke-dashoffset: -24; } }
.lv-carte-bateau path { fill: none; stroke: #e7c27a; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.lv-carte-bateau path { fill: rgba(231,194,122,.18); }
.lv-carte-bateau { offset-path: path("M230 300 C420 420 780 330 960 520 S700 900 420 980 S180 1300 520 1420 S980 1500 1080 1640"); offset-rotate: 0deg; animation: lvBateau 90s linear infinite; filter: drop-shadow(0 0 6px rgba(231,194,122,.6)); }
@keyframes lvBateau { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* cartouche et rose des vents */
.lv-page .lv-carte-haut { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.lv-page .lv-carte-cartouche {
  position: relative; max-width: 560px; padding: 22px 26px 24px; border-radius: 6px;
  background: rgba(1,14,28,.78); border: 1px solid rgba(197,160,89,.6); outline: 1px solid rgba(197,160,89,.25); outline-offset: 5px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.lv-page .lv-carte-cartouche::after { content: "⚓"; position: absolute; right: 16px; top: 12px; color: rgba(197,160,89,.5); font-size: 20px; }
.lv-page .lv-carte-sur { margin: 0; color: #c5a059; font: 700 11px Montserrat, sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.lv-page .lv-carte-nom { margin: 6px 0 2px; color: #fff; font: 700 clamp(26px, 4vw, 38px)/1.1 'Playfair Display', Georgia, serif; letter-spacing: 6px; }
.lv-page .lv-carte-sous { margin: 0; color: #dfe8ec; font-style: italic; }
.lv-page .lv-carte-meta { margin: 12px 0 16px; padding-top: 10px; border-top: 1px solid rgba(197,160,89,.3); color: rgba(223,232,236,.75); font-size: 13.5px; }
.lv-page .lv-carte-port { display: inline-flex; align-items: center; gap: 8px; }
.lv-page .lv-carte-port svg { width: 18px; height: 18px; }
.lv-page .lv-rose { flex: 0 0 auto; width: clamp(120px, 17vw, 200px); height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(197,160,89,.25)); }
.lv-rose .lv-rose-anneau circle { fill: none; stroke: rgba(197,160,89,.55); stroke-width: 1.2; }
.lv-rose .lv-rose-anneau circle + circle { stroke: rgba(197,160,89,.3); }
.lv-rose .tk line { stroke: rgba(197,160,89,.6); stroke-width: 1; }
.lv-rose .a { fill: #e7c27a; } .lv-rose .ad { fill: #9c7a3c; }
.lv-rose .b { fill: #5fd0c0; } .lv-rose .bd { fill: #2a8c80; }
.lv-rose .c { fill: rgba(223,232,236,.55); } .lv-rose .cd { fill: rgba(223,232,236,.25); }
.lv-rose .ctr { fill: #011326; stroke: #e7c27a; stroke-width: 2; }
.lv-rose .nn { fill: #e7c27a; font: 700 18px 'Playfair Display', serif; text-anchor: middle; }
.lv-rose .lv-rose-etoile { transform-origin: 0 0; animation: lvRose 14s ease-in-out infinite; }
@keyframes lvRose { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* zones (encarts de la carte) */
.lv-page .lv-carte-zones { position: relative; z-index: 1; columns: 3 290px; column-gap: 22px; }
.lv-page .lv-carte-zones > .lv-zone { break-inside: avoid; margin: 0 0 22px; display: block; }
.lv-page .lv-zone {
  position: relative; padding: 20px 18px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(2,24,44,.86), rgba(1,16,31,.9));
  border: 1px solid rgba(110,205,225,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 34px rgba(0,0,0,.28);
  transition: border-color .3s ease, transform .3s ease;
}
.lv-page .lv-zone:hover { border-color: rgba(197,160,89,.6); transform: translateY(-2px); }
.lv-page .lv-zone-tete { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico lettre" "ico titre" "nb nb"; column-gap: 12px; align-items: center; margin-bottom: 12px; }
.lv-page .lv-zone-ico { grid-area: ico; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #e7c27a; border: 1px solid rgba(197,160,89,.55); background: radial-gradient(circle, rgba(197,160,89,.16), transparent 70%); }
.lv-page .lv-zone-ico svg { width: 24px; height: 24px; }
.lv-page .lv-zone-lettre { grid-area: lettre; color: #3bbfad; font: 700 10.5px Montserrat, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; }
.lv-page .lv-zone h2 { grid-area: titre; margin: 2px 0 0; font: 700 21px/1.2 'Playfair Display', Georgia, serif; color: #fff; }
.lv-page .lv-zone-nb { grid-area: nb; margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(197,160,89,.3); color: rgba(223,232,236,.6); font: italic 13px Lora, Georgia, serif; }
.lv-page .lv-zone-liste { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
/* trait de route entre les escales */
.lv-page .lv-zone-liste::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; border-left: 1px dashed rgba(197,160,89,.35); }
.lv-page .lv-zone-liste li { margin: 0; }
.lv-page .lv-zone-liste a {
  position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 7px 8px 7px 22px; border-radius: 8px;
  color: #eef3f6; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.lv-page .lv-zone-liste a::before {
  content: ""; position: absolute; left: 5px; top: 13px; width: 9px; height: 9px; transform: rotate(45deg);
  border: 1.5px solid #c5a059; background: #011326; transition: background .2s ease, box-shadow .2s ease;
}
.lv-page .lv-zone-liste a:hover, .lv-page .lv-zone-liste a:focus-visible { background: rgba(59,191,173,.09); color: #fff; }
.lv-page .lv-zone-liste a:hover::before, .lv-page .lv-zone-liste a:focus-visible::before { background: #e7c27a; box-shadow: 0 0 10px rgba(231,194,122,.8); }
.lv-page .lv-wp { grid-row: span 2; color: rgba(197,160,89,.75); font: 600 10.5px/1.9 Montserrat, sans-serif; letter-spacing: 1px; white-space: nowrap; }
.lv-page .lv-wp-t { font-size: 15px; line-height: 1.35; }
.lv-page .lv-zone-liste small { grid-column: 2; color: rgba(223,232,236,.6); font-size: 12.5px; line-height: 1.35; }

/* légende */
.lv-page .lv-carte-legende {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: center;
  margin-top: 28px; padding: 14px 16px; border-top: 1px solid rgba(197,160,89,.3); color: rgba(223,232,236,.7); font-size: 12.5px;
}
.lv-page .lv-carte-legende span { display: inline-flex; align-items: center; gap: 8px; }
.lv-page .lv-carte-legende i { display: inline-block; }
.lv-page .lv-lg-wp { width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid #c5a059; }
.lv-page .lv-lg-route { width: 26px; border-top: 2px dotted rgba(197,160,89,.7); }
.lv-page .lv-lg-iso { width: 26px; height: 8px; border-top: 1px solid rgba(110,205,225,.5); border-bottom: 1px dashed rgba(110,205,225,.5); }
.lv-page .lv-lg-echelle b { display: inline-block; width: 18px; height: 6px; border: 1px solid rgba(223,232,236,.6); }
.lv-page .lv-lg-echelle b:nth-child(odd) { background: rgba(223,232,236,.6); }
.lv-page .lv-lg-echelle b:last-of-type { margin-right: 6px; }
.lv-page .lv-carte-legende a { color: #3bbfad; text-decoration: underline; text-underline-offset: 3px; }

/* téléphone */
@media (max-width: 640px) {
  .lv-page .lv-carte { padding: 22px 14px 18px; border-radius: 16px; }
  .lv-page .lv-carte-haut { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .lv-page .lv-rose { width: 110px; align-self: center; }
  .lv-page .lv-carte-cartouche { padding: 18px 16px; }
  .lv-page .lv-carte-nom { letter-spacing: 3px; }
  .lv-page .lv-zone-liste a { grid-template-columns: 46px 1fr; }
}
/* animations : en pause au chargement (lv-calme) et pour les visiteurs qui les désactivent */
html.lv-calme .lv-carte *, html.lv-calme .lv-carte-route * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .lv-carte *, .lv-carte-route * { animation: none !important; } .lv-carte-bateau { offset-distance: 8%; } }
