/* LOCVOILIER — habillages saisonniers (inc/saisons.php) — v4.4.8 */

/* ---------- Pastille (offre + compte à rebours) ---------- */
.lv-pastille, .lv-pastille * { box-sizing: border-box; }
.lv-pastille {
  position: fixed; left: 20px; bottom: 20px; z-index: 9997; width: min(340px, calc(100vw - 40px));
  padding: 18px 18px 16px; border-radius: 16px; color: #eef3f6; font-family: 'Lora', Georgia, serif;
  background: linear-gradient(160deg, rgba(4,33,63,.97), rgba(1,12,26,.97)); border: 1px solid rgba(197,160,89,.65);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 5px rgba(197,160,89,.08);
  transform: translateY(20px); opacity: 0; transition: transform .5s ease, opacity .5s ease;
}
.lv-pastille.est-visible { transform: none; opacity: 1; }
.lv-pastille[hidden] { display: none; }
.lv-pastille-x { all: unset; position: absolute; right: 10px; top: 6px; width: 28px; height: 28px; text-align: center; font: 400 22px/28px Arial, sans-serif; color: rgba(238,243,246,.6); cursor: pointer; border-radius: 50%; }
.lv-pastille-x:hover, .lv-pastille-x:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.lv-pastille-titre { margin: 0 26px 4px 0; font: 700 20px/1.2 'Playfair Display', Georgia, serif; color: #fff; }
.lv-pastille-texte { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; color: #dfe8ec; }
.lv-pastille-cd { margin: 0 0 14px; font: 600 12px Montserrat, Arial, sans-serif; letter-spacing: .4px; color: rgba(223,232,236,.75); }
.lv-pastille-cd b { display: inline-block; margin-top: 4px; color: #e7c27a; font-size: 15px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.lv-pastille .btn { display: flex; width: 100%; justify-content: center; align-items: center; padding: 11px 18px; border-radius: 999px; background: linear-gradient(135deg, #dcc48a, #c5a059); color: #001a33 !important; font: 700 14px Montserrat, Arial, sans-serif; letter-spacing: .3px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(197,160,89,.35); transition: transform .2s ease, box-shadow .2s ease; }
.lv-pastille .btn:hover, .lv-pastille .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(197,160,89,.5); }
@media (max-width: 1099px) { .lv-pastille { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 14px 14px 12px; } .lv-pastille-titre { font-size: 18px; } .lv-pastille-texte { font-size: 13.5px; margin-bottom: 6px; } .lv-pastille-cd { margin-bottom: 10px; } .lv-pastille .btn { padding: 9px 14px; } }

/* ---------- Black Friday « La nuit du large » : noir et or ---------- */
body.lv-saison-blackfriday .lv-page { --navy: #02070e; --navy-deep: #000; --panel: #0b0d12; --turquoise: #e7c27a; --glow-blue: #ffd98a;
  background: linear-gradient(180deg, #0b0b0f 0%, #05070c 30%, #03060b 70%, #000 100%); }
body.lv-saison-blackfriday .lv-page .eyebrow { color: #e7c27a; }
body.lv-saison-blackfriday #lvHeader.lvh { background: #07080c; box-shadow: 0 1px 0 rgba(197,160,89,.55), 0 6px 24px rgba(0,0,0,.4); }
body.lv-saison-blackfriday #lvFooter { background-color: #020306 !important; }
.lv-pastille-blackfriday { background: linear-gradient(160deg, #111216, #030305); border-color: #e7c27a; }
.lv-pastille-blackfriday .lv-pastille-titre { background: linear-gradient(90deg, #f6dc9c, #c5a059, #f6dc9c); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lvOr 6s linear infinite; }
@keyframes lvOr { to { background-position: -200% 0; } }

/* ---------- Noël « Noël au port » : guirlande sous le menu, étoiles qui tombent ---------- */
.lv-guirlande { position: absolute; left: 0; right: 0; bottom: -14px; height: 22px; pointer-events: none; z-index: 3; }
.lv-guirlande svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lv-guirlande svg path { fill: none; stroke: rgba(197,160,89,.55); stroke-width: 1.2; }
.lv-guirlande i { position: absolute; width: 7px; height: 10px; margin-left: -3.5px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 6px 1px var(--c); animation: lvAmpoule 2.4s ease-in-out infinite; animation-delay: var(--d); }
.lv-guirlande i::before { content: ""; position: absolute; left: 1.5px; top: -3px; width: 4px; height: 3px; border-radius: 1px; background: #8a7444; }
@keyframes lvAmpoule { 0%, 100% { opacity: .35; box-shadow: 0 0 2px 0 var(--c); } 50% { opacity: 1; box-shadow: 0 0 10px 2px var(--c); } }
.lv-neige { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9990; }
.lv-pastille-noel { border-color: rgba(224,87,79,.6); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 5px rgba(224,87,79,.08); }
.lv-pastille-noel .lv-pastille-titre::before { content: "✦ "; color: #e7c27a; }

/* ---------- Calendrier de l'Avent du marin : 24 hublots ---------- */
.lv-page section.lv-avent-sec { padding: 0 0 70px; }
.lv-avent-attente { text-align: center; color: #dfe8ec; font-style: italic; margin: 0 0 22px; }
.lv-avent-grille { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-flow: row dense; gap: 18px; }
.lv-hublot { position: relative; margin: 0; }
.lv-hublot > details, .lv-hublot-ferme {
  display: block; position: relative; min-height: 150px; border-radius: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, rgba(110,215,230,.18), rgba(2,24,44,.95) 60%);
  border: 6px solid #9c7a3c; box-shadow: inset 0 0 0 2px #e7c27a, inset 0 0 22px rgba(0,0,0,.6), 0 10px 26px rgba(0,0,0,.35);
}
/* rivets du hublot */
.lv-hublot > details::after, .lv-hublot-ferme::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #e7c27a 0 2.5px, transparent 3px) 50% 0 / 8px 8px no-repeat, radial-gradient(circle, #e7c27a 0 2.5px, transparent 3px) 50% 100% / 8px 8px no-repeat,
    radial-gradient(circle, #e7c27a 0 2.5px, transparent 3px) 0 50% / 8px 8px no-repeat, radial-gradient(circle, #e7c27a 0 2.5px, transparent 3px) 100% 50% / 8px 8px no-repeat;
}
.lv-hublot summary { list-style: none; cursor: pointer; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; }
.lv-hublot summary::-webkit-details-marker { display: none; }
.lv-hublot-n { font: 700 34px/1 'Playfair Display', Georgia, serif; color: #e7c27a; text-shadow: 0 0 14px rgba(231,194,122,.5); }
.lv-hublot-l { margin-top: 6px; font: 700 10px Montserrat, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #3bbfad; }
.lv-hublot-ferme { opacity: .55; filter: saturate(.6); }
.lv-hublot-ferme .lv-hublot-n { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(231,194,122,.55); text-shadow: none; }
.lv-hublot.est-du-jour > details { box-shadow: inset 0 0 0 2px #e7c27a, inset 0 0 22px rgba(0,0,0,.6), 0 0 0 4px rgba(231,194,122,.25), 0 0 34px rgba(231,194,122,.45); animation: lvJour 3s ease-in-out infinite; }
@keyframes lvJour { 50% { box-shadow: inset 0 0 0 2px #e7c27a, inset 0 0 22px rgba(0,0,0,.6), 0 0 0 7px rgba(231,194,122,.18), 0 0 44px rgba(231,194,122,.6); } }
/* case ouverte : le texte prend toute la largeur sous la grille */
.lv-hublot details[open] { border-radius: 18px; aspect-ratio: auto; min-height: 0; padding: 16px 18px 18px; grid-column: 1 / -1; background: linear-gradient(180deg, rgba(4,33,63,.95), rgba(1,12,26,.95)); }
.lv-hublot details[open]::after { display: none; }
.lv-hublot details[open] summary { position: static; flex-direction: row; justify-content: flex-start; gap: 12px; margin-bottom: 8px; }
.lv-hublot details[open] .lv-hublot-l { display: none; }
.lv-hublot:has(details[open]) { grid-column: 1 / -1; }
.lv-hublot details p { margin: 0; color: #eef3f6; font-size: 16px; line-height: 1.6; }
.lv-avent-cta { text-align: center; margin: 30px 0 0; }
@media (max-width: 520px) { .lv-avent-grille { grid-template-columns: repeat(3, 1fr); gap: 12px; } .lv-hublot > details, .lv-hublot-ferme { min-height: 0; border-width: 4px; } .lv-hublot-n { font-size: 24px; } .lv-hublot-l { display: none; } }

/* pas d'animation pendant le chargement ni pour les visiteurs qui les désactivent */
html.lv-calme .lv-guirlande i, html.lv-calme .lv-pastille-titre, html.lv-calme .lv-hublot { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .lv-guirlande i, .lv-pastille-blackfriday .lv-pastille-titre, .lv-hublot.est-du-jour > details { animation: none !important; } .lv-neige { display: none; } }
