/* LOCVOILIER — Vitrine photos des fiches bateau (v4.6.47) : voir lv-vitrine.js */
.lvv { --or: #c5a059; --or-clair: #e9cf8a; --tq: #3bbfad; --nuit: #021a2e; position: relative; width: 100%; max-width: 1240px; margin: 8px auto 0; }
/* sur grand écran, la vitrine déborde du cadre de texte (1180 px) pour gagner en ampleur */
@media (min-width: 1300px) { .lvv { width: min(1320px, calc(100vw - 96px)); max-width: none; margin-left: calc(50% - min(660px, 50vw - 48px)); } }
.lvv-slide.is-ko { display: none; }
.lvv-scene { position: relative; height: clamp(320px, 64vh, 700px); border-radius: 22px; overflow: hidden; background: var(--nuit); outline: none;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(197,160,89,.35); isolation: isolate; }
.lvv-scene:focus-visible { box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 2px var(--or-clair); }
.lvv-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; cursor: zoom-in; }
.lvv-slide.is-on { opacity: 1; z-index: 1; }
.lvv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.0); transform-origin: 30% 50%; }
.lvv-slide.is-on img { animation: lvvKB 9s ease-out forwards; }
.lvv-slide.is-alt img { transform-origin: 70% 45%; }
@keyframes lvvKB { from { transform: scale(1.0); } to { transform: scale(1.09); } }
.lvv-voile { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,26,46,0) 50%, rgba(2,26,46,.25) 70%, rgba(2,26,46,.82) 100%), linear-gradient(90deg, rgba(2,26,46,.35) 0%, rgba(2,26,46,0) 18%, rgba(2,26,46,0) 82%, rgba(2,26,46,.35) 100%); }
.lvv-leg { position: absolute; left: 32px; bottom: 30px; right: 280px; z-index: 3; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: #fff; pointer-events: none; }
.lvv-num { font-family: 'Playfair Display', Georgia, serif; font-size: 54px; line-height: 1; color: var(--or-clair); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.lvv-tot { font-family: Montserrat, system-ui, sans-serif; font-size: 13px; letter-spacing: .18em; color: rgba(255,255,255,.75); }
.lvv-txt { flex-basis: 100%; margin: 6px 0 0 !important; font-family: Lora, Georgia, serif; font-size: 17px; line-height: 1.45; color: #eef3f6; text-shadow: 0 1px 10px rgba(0,0,0,.6); max-width: 720px; }
.lvv-fl { position: absolute; top: 50%; z-index: 3; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(233,207,138,.55); background: rgba(2,26,46,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s, background .3s, transform .3s; }
.lvv-fl svg, .lvv-outils svg, .lvv-lb-x svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lvv-prev { left: 22px; } .lvv-next { right: 22px; }
.lvv-scene:hover .lvv-fl, .lvv-scene:focus-within .lvv-fl { opacity: 1; }
.lvv-fl:hover { background: var(--or); transform: scale(1.06); } .lvv-fl:hover svg { stroke: #04121f; }
.lvv-outils { position: absolute; right: 24px; bottom: 26px; z-index: 3; display: flex; gap: 10px; }
.lvv-outils button { height: 44px; border-radius: 999px; border: 1px solid rgba(233,207,138,.55); background: rgba(2,26,46,.5); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; font: 600 12px/1 Montserrat, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, color .3s; position: relative; overflow: hidden; }
.lvv-outils .lvv-pp { width: 44px; padding: 0; justify-content: center; }
.lvv-pp .i-play { display: none; } .lvv.is-pause .lvv-pp .i-play { display: block; fill: #fff; stroke: none; } .lvv.is-pause .lvv-pp .i-pause { display: none; }
.lvv-plein { background: linear-gradient(180deg, var(--or-clair), var(--or)) !important; color: #04121f !important; border: 0 !important; }
.lvv-plein svg { stroke: #04121f; }
.lvv-plein::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.4) 36%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.4) 64%, rgba(255,255,255,0) 100%); animation: lvvFlash 5s ease-in-out 2s infinite; opacity: 0; }
@keyframes lvvFlash { 0% { left: -60%; opacity: 0 } 8% { opacity: 1 } 22% { left: 130%; opacity: 0 } 100% { left: 130%; opacity: 0 } }
.lvv-outils button:not(.lvv-plein):hover { background: rgba(197,160,89,.35); }
.lvv-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.12); }
.lvv-prog i { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--tq), var(--or-clair)); }
.lvv-film { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: rgba(197,160,89,.45) transparent; }
.lvv-th { flex: 0 0 auto; width: 112px; height: 74px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; scroll-snap-align: center;
  border: 1px solid rgba(197,160,89,.25); background: var(--nuit); opacity: .55; transition: opacity .3s, transform .3s, border-color .3s, box-shadow .3s; }
.lvv-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lvv-th:hover { opacity: .9; } .lvv-th.is-on { opacity: 1; border-color: var(--or-clair); box-shadow: 0 0 0 2px var(--or-clair), 0 6px 18px rgba(0,0,0,.4); transform: translateY(-2px); }

/* Mosaïque « 1 grande + 4 » */
.lvv-mos { display: grid; gap: 10px; width: 100%; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9.5; border-radius: 18px; overflow: hidden; }
.lvv-tu { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #021a2e; }
.lvv-tu img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.lvv-tu:hover img { transform: scale(1.06); filter: brightness(1.08) saturate(1.08); }
.lvv-tu.is-grand { grid-row: 1 / 3; }
.lvv-mos.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; } .lvv-mos.n2 .lvv-tu.is-grand { grid-row: auto; }
.lvv-mos.n3 { grid-template-columns: 2fr 1fr; } .lvv-mos.n4 { grid-template-columns: 2fr 1fr 1fr; } .lvv-mos.n4 .lvv-tu:last-child { grid-column: 2 / 4; }
.lvv-plus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(2,26,46,.58); color: #fff;
  font: 600 14px/1 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; transition: background .3s; }
.lvv-tu:hover .lvv-plus { background: rgba(2,26,46,.35); }
/* mosaïque dans une colonne étroite (bloc texte + photos) : la grande photo en haut, 4 vignettes dessous */
.lvv-mosw { container-type: inline-size; width: 100%; align-self: start; }
@container (max-width: 640px) { .lvv-mos { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; aspect-ratio: auto; } .lvv-tu.is-grand { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; } .lvv-tu:not(.is-grand) { aspect-ratio: 1; } .lvv-mos.n4 .lvv-tu:last-child, .lvv-mos.n3 .lvv-tu:not(.is-grand) { grid-column: span 2; } }

/* Visionneuse */
.lvv-lb { position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column; background: radial-gradient(ellipse at 50% 40%, #04294a 0%, #010c1a 75%); color: #fff; }
.lvv-lb.is-open { display: flex; animation: lvvOuvre .35s ease-out; }
@keyframes lvvOuvre { from { opacity: 0; } to { opacity: 1; } }
html.lvv-bloque, html.lvv-bloque body { overflow: hidden; }
.lvv-lb-haut { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.lvv-lb-num { font: 600 13px/1 Montserrat, system-ui, sans-serif; letter-spacing: .2em; color: var(--or-clair, #e9cf8a); }
.lvv-lb-x { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(233,207,138,.5); background: rgba(255,255,255,.06); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.lvv-lb-x:hover { background: rgba(197,160,89,.45); }
.lvv-lb-scene { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 90px; }
.lvv-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.6); opacity: 0; transform: scale(.985); transition: opacity .45s ease, transform .45s ease; }
.lvv-lb-img.is-on { opacity: 1; transform: none; }
.lvv-lb .lvv-fl { opacity: 1; }
.lvv-lb-leg { margin: 12px auto 0 !important; padding: 0 24px; max-width: 900px; text-align: center; font: 400 15px/1.5 Lora, Georgia, serif; color: #dfe8ee; min-height: 22px; }
.lvv-lb-film { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 14px 22px 20px; scrollbar-width: thin; scrollbar-color: rgba(197,160,89,.45) transparent; }
.lvv-lth { flex: 0 0 auto; width: 78px; height: 52px; padding: 0; border: 1px solid rgba(197,160,89,.25); border-radius: 8px; overflow: hidden; opacity: .5; cursor: pointer; background: #021a2e; transition: opacity .3s, box-shadow .3s; }
.lvv-lth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lvv-lth.is-on { opacity: 1; box-shadow: 0 0 0 2px #e9cf8a; }

@media (max-width: 760px) {
  .lvv-scene { height: 66vw; min-height: 240px; border-radius: 16px; }
  .lvv-leg { left: 16px; right: 16px; bottom: 64px; } .lvv-num { font-size: 36px; } .lvv-txt { font-size: 14px; display: none; }
  .lvv-fl { width: 42px; height: 42px; margin-top: -21px; opacity: 1; } .lvv-prev { left: 10px; } .lvv-next { right: 10px; }
  .lvv-outils { left: 14px; right: 14px; bottom: 14px; justify-content: space-between; }
  .lvv-th { width: 78px; height: 52px; }
  .lvv-mos { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; aspect-ratio: auto; border-radius: 14px; gap: 6px; }
  .lvv-tu.is-grand { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; } .lvv-tu:not(.is-grand) { aspect-ratio: 1; }
  .lvv-lb-scene { padding: 0 8px; } .lvv-lb .lvv-fl { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lvv-slide.is-on img { animation: none; } .lvv-slide { transition: none; } .lvv-plein::after { animation: none; } }

/* v4.6.49 : vidéos YouTube des fiches */
.lv-page [data-yt] { cursor: pointer; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(197,160,89,.4); }
.lvv-yt-box { position: relative; }
.lvv-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lv-page .lv-ba-vgrid > [data-yt]:only-child { width: min(980px, 100%); margin-left: auto; margin-right: auto; }
.lv-page [data-yt] img { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.lv-page [data-yt]:hover img { transform: scale(1.04); filter: brightness(1.08); }
/* bloc vidéo (fiches et annonces de vente) : format 16/9, vignette plein cadre, bouton lecture doré */
.lv-page .lvv-video { position: relative; aspect-ratio: 16 / 9; background: #021a2e; }
.lv-page .lvv-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-page .lvv-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, #e9cf8a, #c5a059); box-shadow: 0 0 0 8px rgba(233,207,138,.22), 0 14px 40px rgba(0,0,0,.5); transition: transform .3s, box-shadow .3s; font-size: 0; color: transparent; }
.lv-page .lvv-play::before { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #04121f; }
.lv-page .lvv-video:hover .lvv-play { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(233,207,138,.25), 0 14px 40px rgba(0,0,0,.5); }
.lv-page .lv-vte-galerie + .lv-ba-vgrid, .lv-page #photos .lv-ba-vgrid { margin-top: 28px; }
/* v4.6.50 : bloc vidéos posé par simple lien ([lv_videos], fiches CRM, annonces) */
.lv-page .lv-ba-vgrid.lvv-vgrid { display: grid; gap: 22px; margin: 8px auto 0; grid-template-columns: minmax(0, 1fr); }
.lv-page .lv-ba-vgrid.lvv-vgrid.lvv-n1 { width: min(980px, 100%); }
.lv-page .lv-ba-vgrid.lvv-vgrid.lvv-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1240px; }
.lv-page .lv-ba-vgrid.lvv-vgrid.lvv-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1240px; }
.lv-page .lvv-video { border-radius: 18px; overflow: hidden; cursor: pointer; box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(197,160,89,.4); }
.lv-page .lvv-video > img { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.lv-page .lvv-video:hover > img { transform: scale(1.04); filter: brightness(1.08); }
.lv-page .lvv-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2,26,46,0) 55%, rgba(2,26,46,.75) 100%); }
.lvv-video-fond { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, #0b3a5e 0%, #021a2e 70%); }
.lvv-video-titre { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; font: 400 16px/1.4 Lora, Georgia, serif; color: #eef3f6; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.lv-page .lvv-play { z-index: 2; }
.lv-page .lvv-video.lvv-yt-box::after, .lv-page .lvv-video:has(iframe)::after, .lv-page .lvv-video:has(video)::after { display: none; }
.lvv-yt { background: #000; }
@media (max-width: 760px) { .lv-page .lv-ba-vgrid.lvv-vgrid.lvv-n2, .lv-page .lv-ba-vgrid.lvv-vgrid.lvv-n3 { grid-template-columns: minmax(0, 1fr); } .lv-page .lvv-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; } .lv-page .lvv-play::before { left: 25px; top: 19px; border-width: 12px 0 12px 19px; } }
