/* Opération Déstockage de Noël sur le reste du site (lot 350, décliné du lot 326), du 10/12 au 24/12 : étiquette des cartes et des fiches, bouton « Recevoir les prix de Noël »
   des fiches, héros de l'accueil. Chargé par HorizonNoel::enqueueOp() seulement pendant l'opération (jamais sur la landing, qui a sa feuille).
   Même univers que la landing : bordeaux très sombre #34060f et or #E2BD70, crème et rouge cramoisi (palette de Noël, d'après les 3 images de référence de Francois du 03/12/2026 ; mêmes gabarits que le Black Friday du lot 326), lettrage Impact (celui de l'étiquette déchirée), logo officiel du site, texte en Manrope. */

.nl-badge, .nl-cta, .nl-hero, .nl-band, .nl-sapin {
  --nl-noir: #34060f;
  --nl-encre: #3d0a12;
  --nl-blanc: #fcf3e8;
  --nl-gris: #dcc0bb;
  --nl-accent: #E2BD70;
  --nl-accent-clair: #F3DCA6;
  --nl-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nl-police: Impact, Anton, 'Arial Narrow', sans-serif;
}

/* ------------------------------------------------------------------ Bande d'annonce du haut de toutes les pages (HorizonNoel::bandEntry, avant l'en-tête) */
/* Lot 350 (03/12, « la bande en haut n'est pas assez visible ») : bande cramoisie vif (au lieu du bordeaux presque noir), filets et ampoules dorés, titre en italique doré plus grand,
   date en crème et vrai bouton crème. Elle ressort sur l'en-tête blanc et sur les pages sombres. */
.nl-band { position: relative; overflow: hidden; background: linear-gradient(180deg, #c01a36 0%, #8f0f26 100%); box-shadow: inset 0 1px 0 rgba(243, 220, 166, 0.6), inset 0 -2px 0 var(--nl-accent); font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; }
.nl-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; pointer-events: none; animation: nlo-scint 2.6s ease-in-out infinite;
  background: radial-gradient(circle at 7px 4.5px, #F3DCA6 0 2.4px, transparent 3.2px) 0 0 / 48px 9px repeat-x, radial-gradient(circle at 7px 4.5px, #fff 0 2.2px, transparent 3px) 24px 0 / 48px 9px repeat-x; }
.nl-band a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding: 11px 16px 19px; color: var(--nl-blanc); font-size: 15px; line-height: 1.2; text-decoration: none; }
.nl-band__t { font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--nl-accent-clair); text-shadow: 0 1px 4px rgba(60, 0, 10, 0.6); }
.nl-band__d { font-weight: 700; color: var(--nl-blanc); }
.nl-band__go { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; background: var(--nl-accent-clair); color: #3d0a12; font-weight: 800; font-size: 14px; box-shadow: 0 3px 10px -4px rgba(0, 0, 0, 0.55); transition: transform 0.3s var(--nl-out), background-color 0.3s; }
.nl-band a:hover .nl-band__go, .nl-band a:focus-visible .nl-band__go { background: #fff3d2; transform: translateY(-1px); }
.nl-band a:focus-visible { outline: 3px solid var(--nl-accent-clair); outline-offset: -3px; }
@keyframes nlo-scint { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 480px) { .nl-band a { gap: 6px 12px; padding: 9px 10px 17px; font-size: 14px; } .nl-band__t { font-size: 27px; } .nl-band__go { font-size: 13px; padding: 6px 14px; } }
@media (prefers-reduced-motion: reduce) { .nl-band::after { animation: none; } }

/* ------------------------------------------------------------------ Étiquette (cartes du catalogue, fiches) */
/* L'étiquette ne doit jamais gêner le spa (demande de Francois, 14/11) : elle dépasse un peu du spa et passe DERRIÈRE lui. Carte : l'image du spa est
   positionnée avec z-index 1, l'étiquette est à 0. Fiche : le conteneur de la vue de dessus devient son propre empilement (isolation) et l'étiquette passe à -1,
   sous l'image, mais au-dessus de la vidéo de fond. */
.hz-scene__top, .hz-fiche__render { isolation: isolate; }
/* Boule de Noël (lot 350, 03/12, Francois : « une forme de boule pour annoncer l'opération sur la landing et sur chaque modèle ») : remplace l'étiquette rectangulaire.
   Boule cramoisie cerclée d'or, culot doré avec son anneau et son reflet, texte dedans, qui se balance à peine. Elle ne doit jamais gêner le spa : elle est accrochée au bord
   haut de la carte, derrière l'image du spa (z-index 0, l'image est à 1) ; sur les fiches, derrière la vue de dessus. */
.nl-badge {
  position: absolute; z-index: 0; left: 8px; top: -16px; display: flex; flex-direction: column; align-items: center; width: 84px; padding-top: 9px;
  transform-origin: 50% 0; animation: nlo-bal 6s ease-in-out infinite; pointer-events: none;
  font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; color: #fff3d2;
}
.nl-badge::before { content: ""; position: relative; z-index: 1; display: block; width: 22px; height: 9px; margin-bottom: -2px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, #b88a35 0%, #f3dca6 38%, #e2bd70 62%, #a9792a 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.nl-badge::after { content: ""; position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin-left: -5.5px; border: 2px solid #E2BD70; border-radius: 50%; box-sizing: border-box; }
.nl-badge__txt {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; box-sizing: border-box; padding: 0 12px; border-radius: 50%; text-align: center;
  font-size: 15px; line-height: 1.05; text-wrap: balance; text-shadow: 0 1px 3px rgba(60, 0, 10, 0.7);
  background: radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.62) 0, rgba(255, 255, 255, 0) 17%), radial-gradient(circle at 50% 42%, #cf2440 0%, #a3122a 58%, #6c0a1b 100%);
  box-shadow: inset 0 0 0 3px #E2BD70, inset 0 0 0 5px rgba(255, 255, 255, 0.2), 0 10px 22px -8px rgba(0, 0, 0, 0.65);
}
/* Pages « rubrique » (séries, tailles, installation, emplacement : .hz-cat--rubrique) : la carte a overflow:hidden, la boule est posée DANS l'angle du visuel (z-index 2). */
.hz-cat--rubrique .hz-card .nl-badge { left: 10px; top: 6px; z-index: 2; }
/* Fiche : boule plus grande, à cheval sur le coin haut droit de la vue de dessus, derrière le spa. */
/* Fiche (03/12) : le spa remplit la vue de dessus et cachait la boule ; elle est posée dans l'espace sombre à droite du spa, accrochée au bord haut. */
.nl-badge--fiche { z-index: 2; left: auto; right: -158px; top: -30px; width: 124px; padding-top: 12px; } /* 03/12 : au premier plan sur tous les écrans (elle est déjà posée hors du spa) : plus jamais derrière lui */
.nl-badge--fiche::before { width: 30px; height: 12px; }
.nl-badge--fiche::after { width: 14px; height: 14px; margin-left: -7px; }
.nl-badge--fiche .nl-badge__txt { width: 124px; height: 124px; padding: 0 16px; font-size: 22px; }
@keyframes nlo-bal { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* PRIX BARRÉS PARTOUT pendant l'opération (« il faut le faire de partout », Francois, 14/11), même trait doré que sur la landing ; le prix de Noël se reçoit par rappel.
   - fiche et comparateur : classe nl-prix-barre posée par le gabarit ;
   - listes de spas et de spas de nage (corps de page hz-nl-spas) : prix des cartes, « à partir de » des séries, « dès » des onglets, tableau du bas ;
   - toutes les pages (hz-nl-live) : montants du menu (séries) et prix des cartes de l'assistant.
   Les saunas, hors opération, gardent leurs prix (pas de hz-nl-spas sur leurs pages). */
strong.nl-prix-barre,
.hz-nl-spas .hz-card__price2 strong,
.hz-nl-spas .hz-band__from,
.hz-nl-spas .hz-cat__tab-from,
.hz-nl-spas .hz-cat__amount,
.hz-nl-live .hz-menu__serie-amount,
.hz-nl-live .hz-chat__card-price {
  text-decoration: line-through; text-decoration-color: #E2BD70; text-decoration-thickness: 2px; text-decoration-skip-ink: none;
}
strong.nl-prix-barre, .hz-nl-spas .hz-card__price2 strong { opacity: 0.62; text-decoration-thickness: 3px; }

/* ------------------------------------------------------------------ Bouton des fiches (haut et bas de fiche) */
.nl-cta {
  box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; margin: 18px 0; padding: 16px 20px 16px 24px; border-radius: 16px;
  background: var(--nl-noir); color: var(--nl-blanc); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--nl-accent), 0 14px 34px -16px rgba(226,189,112, 0.6);
  transition: transform 0.35s var(--nl-out), box-shadow 0.35s var(--nl-out);
}
.nl-cta:hover, .nl-cta:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--nl-accent-clair), 0 18px 40px -12px rgba(226,189,112, 0.8); color: var(--nl-blanc); }
.nl-cta:focus-visible { outline: 3px solid var(--nl-accent-clair); outline-offset: 3px; }
.nl-cta__main { min-width: 0; }
.nl-cta__txt { display: block; font-family: var(--nl-police); font-size: 25px; font-weight: 400; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; text-wrap: balance; }
.nl-cta__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nl-accent); color: #3d0a12; font-size: 20px; font-weight: 800; transition: transform 0.35s var(--nl-out); }
.nl-cta:hover .nl-cta__arrow { transform: translateX(4px); }
/* Entrée du grand menu (HorizonNoel::menuEntry) : même carte, plus compacte, avec une ligne d'information sous le titre. */
.nl-cta--menu { margin: 0 0 16px; padding: 14px 16px 14px 20px; }
.nl-cta__sub { display: block; margin-top: 5px; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--nl-gris); }

/* ------------------------------------------------------------------ Héros de l'accueil (remplace le héros ordinaire pendant l'opération) */
.nl-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  min-height: clamp(700px, 92vh, 840px); padding-top: 112px; background: var(--nl-noir); color: var(--nl-blanc);
  font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
.nl-hero__photo, .nl-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nl-hero__photo { z-index: -2; }
.nl-hero__photo img { object-fit: cover; object-position: 72% 50%; animation: nlo-zoom 2.6s var(--nl-out) both; }
/* Voile du haut quasi retiré (14/11, « laisse le halo de lumière derrière ») : le halo et les rayons de la photo, derrière l'étiquette, ne sont plus assombris ;
   le voile du bas (0,86) est gardé pour la lisibilité du bouton et du bandeau. */
.nl-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(52,6,15, 0.06) 0%, rgba(52,6,15, 0) 30%, rgba(52,6,15, 0) 50%, rgba(52,6,15, 0.86) 100%); }
/* Lot 350 « la boule » : le titre doré est une image à gauche (la boule est à droite, dans le fond) ; plus d'étiquette ni de branches SVG. */
.nl-hero__in { position: relative; z-index: 3; flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; width: min(1180px, 100%); margin: 0 auto; padding: 4px 32px 168px; text-align: left; }
.nl-hero__titre-img { display: block; width: clamp(330px, 38vw, 560px); }
.nl-hero__titre-img img { display: block; width: 100%; height: auto; }
.nl-hero .nl-hero__titre { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nl-hero__txt { display: inline-block; transform: skewX(-8deg); }
.nl-hero .nl-hero__titre .nl-hero__logo { display: inline-block; height: 1.02em; width: auto; vertical-align: -0.14em; margin-left: 0.4em; }
.nl-hero .nl-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 6px; padding: 14px 30px; border-radius: 999px;
  /* Bouton « verre » (demande de Francois, 14/11 : « un CTA transparent pour laisser le visuel libre derrière », téléphone puis ordinateur) : fond presque
     transparent (teinte sombre 22 %, assez pour garder le texte lisible sur la photo), filet blanc, texte blanc. */
  background: var(--nl-accent-clair); color: #3d0a12; font-weight: 800; font-size: 16px; line-height: 1.1; text-decoration: none;
  box-shadow: 0 8px 26px -10px rgba(0,0,0,0.55);
  transition: transform 0.35s var(--nl-out), box-shadow 0.35s var(--nl-out), background-color 0.35s var(--nl-out);
}
.nl-hero .nl-btn:hover, .nl-hero .nl-btn:focus-visible { transform: translateY(-2px); background: #fff3d2; box-shadow: 0 10px 34px -6px rgba(243,220,166, 0.7); color: #3d0a12; }
.nl-hero .nl-btn:focus-visible { outline: 3px solid var(--nl-accent-clair); outline-offset: 3px; }
.nl-hero .nl-hero__legal { margin: 0; font-size: 12px; line-height: 1.4; color: var(--nl-gris); text-shadow: 0 1px 8px rgba(52,6,15, 0.9); }
.nl-hero__in > * { animation: nlo-monte 0.9s var(--nl-out) both; }
.nl-hero__in > :nth-child(2) { animation-delay: 0.8s; }
.nl-hero__in > :nth-child(3) { animation-delay: 1s; }
.nl-hero__in > :nth-child(4) { animation-delay: 1.1s; }

/* Carrousel du héros (14/11) : deux vignettes qui se fondent l'une dans l'autre ; l'étiquette et le bandeau restent en place, la photo et le bouton changent.
   Vignette 1 = le héros d'avant ; vignette 2 = photo « spa de nage » de la landing + bouton qui ouvre le formulaire sur « Un spa de nage ». */
.nl-hero__slides { position: absolute; inset: 0; z-index: -2; }
.nl-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--nl-out); }
.nl-slide.is-on { opacity: 1; }
.nl-slide--nage .nl-hero__photo img { animation: none; }
.nl-hero__ctas { display: grid; justify-items: start; align-items: end; width: 100%; }
.nl-hero__cta { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--nl-out), visibility 0s linear 0.6s; }
.nl-hero__cta.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s var(--nl-out); }
.nl-hero__tag { font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nl-accent); text-shadow: 0 2px 14px rgba(52,6,15, 0.9); }
.nl-hero__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 104px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.nl-hero__dot, .nl-hero__pause { position: relative; display: block; padding: 0; background: transparent; border: 1.5px solid rgba(252,243,232, 0.85); border-radius: 50%; color: var(--nl-blanc); cursor: pointer; }
.nl-hero__dot { width: 11px; height: 11px; }
.nl-hero__dot::after, .nl-hero__pause::after { content: ""; position: absolute; inset: -9px; } /* zone de toucher de 28 px */
.nl-hero__dot.is-on { background: var(--nl-accent); border-color: var(--nl-accent); }
.nl-hero__pause { display: grid; place-items: center; width: 24px; height: 24px; margin-right: 4px; }
.nl-hero__pause svg { fill: currentColor; }
.nl-hero__pause .j { display: none; }
.nl-hero__pause[data-paused] .p { display: none; }
.nl-hero__pause[data-paused] .j { display: inline; }
.nl-hero__dot:focus-visible, .nl-hero__pause:focus-visible { outline: 3px solid var(--nl-accent-clair); outline-offset: 4px; }

/* Guirlande lumineuse (lot 350) : remplace le bandeau défilant en travers, déjà utilisé au Black Friday. Fil doré en festons + deux jeux d'ampoules qui scintillent en alternance + une ligne fixe. */
.nl-gl { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 116px; pointer-events: none; background: linear-gradient(to bottom, rgba(52, 6, 15, 0), #34060f 40px); }
.nl-gl i { position: absolute; left: 0; right: 0; top: 0; height: 75px; background-repeat: repeat-x; background-size: 320px 75px; }
.nl-gl__f { background-image: url(../img/horizon/noel/noel-guirlande-fil.svg); }
.nl-gl__a { background-image: url(../img/horizon/noel/noel-guirlande-a.svg); animation: nlo-scint 2.6s ease-in-out infinite; }
.nl-gl__b { background-image: url(../img/horizon/noel/noel-guirlande-b.svg); animation: nlo-scint 2.6s ease-in-out -1.3s infinite; }
.nl-gl__txt { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; padding: 0 12px; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.3; letter-spacing: 0.2em; text-transform: uppercase; color: var(--nl-accent-clair); }
.nl-gl__txt b { font-weight: 400; color: var(--nl-accent); margin: 0 0.7em; }

@keyframes nlo-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes nlo-tampon { 0% { opacity: 0; transform: rotate(-13deg) scale(1.75); } 55% { opacity: 1; } 100% { opacity: 1; transform: rotate(0deg) scale(1); } }
@keyframes nlo-souffle { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.4deg) translateY(-5px); } }
@keyframes nlo-monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nlo-defile { to { transform: translateX(-50%); } }

@media (max-width: 820px) {
  /* Fiche mobile : le spa remplit la largeur ; la boule est posée à droite du spa (devant le fond vidéo, jamais devant le spa). */
  .nl-badge--fiche { z-index: 2; right: -94px; top: -44px; width: 84px; padding-top: 9px; }
  .nl-badge--fiche::before { width: 22px; height: 9px; }
  .nl-badge--fiche::after { width: 11px; height: 11px; margin-left: -5.5px; }
  .nl-badge--fiche .nl-badge__txt { width: 84px; height: 84px; padding: 0 11px; font-size: 15px; }
  .nl-cta { padding: 14px 16px 14px 18px; }
  .nl-cta__txt { font-size: 22px; }
  /* 14/11 (demande de Francois, téléphone) : étiquette en papier découpé réduite de 20 % (240 -> 192 px) et remontée, texte « Déstockage de Noël Sundance Spas » retiré de
     l'image (le bandeau du bas le dit déjà ; le <h1> reste pour les lecteurs d'écran et Google), bouton posé en bas au-dessus du bandeau : le visuel derrière
     (les personnes dans le spa) n'est plus caché. La hauteur du héros est gardée pour que la photo ne soit pas recadrée plus serré. */
  /* 14/11 (« l'étiquette est trop haut », « le même espace entre le haut de la page et l'étiquette, et la tête de la femme ») : l'étiquette est CENTRÉE entre le haut du
     héros et le sommet de la tête de la femme. Le sommet de la tête est à 53,6 % de la hauteur de la photo mobile ; la photo est recadrée en « cover » (object-position 62 %),
     donc la tête est à ~0,892 x la largeur de l'écran sous le haut du héros ; étiquette = 232 px de large x 0,855 = 198 px de haut -> espace = (0,892 x largeur - 198) / 2
     = 44,6vw - 99px (68 px à 375 px de large : 68 au-dessus, 68 en dessous). Plafonné à 72 px pour les grands écrans (tablettes) où le cadrage change. */
  /* Lot 350 : fond mobile 1080x1900 recadré en haut ; la boule finit à ~52 % de la hauteur de l'image, le titre, le bouton et la mention s'empilent dessous (en bas du héros). */
  .nl-hero { min-height: clamp(620px, 190vw, 780px); padding-top: 0; align-items: center; }
  .nl-hero__photo img { object-position: 50% 0; }
  .nl-hero__nav { bottom: 96px; }
  .nl-hero__in { align-items: center; text-align: center; justify-content: flex-end; gap: 14px; width: 100%; padding: 0 20px 128px; }
  .nl-hero__titre-img { width: min(340px, 88vw); }
  .nl-hero__ctas { justify-items: center; }
  .nl-hero__cta { align-items: center; }
  .nl-hero .nl-btn { width: 100%; max-width: 358px; }
  .nl-gl { height: 108px; }
  .nl-gl__txt { font-size: 11px; letter-spacing: 0.12em; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nl-hero__photo img, .nl-hero__sticker, .nl-hero__sticker img, .nl-hero__in > *, .nl-badge, .nl-gl__a, .nl-gl__b { animation: none; }
  .nl-slide, .nl-hero__cta, .nl-hero__cta.is-on { transition: none; }
  .nl-cta, .nl-cta__arrow, .nl-hero .nl-btn { transition: none; }
}

/* Configurateur de devis (page /hz_devis_outil/) : pendant l'opération, le prix du modèle et le TOTAL TTC du récapitulatif sont barrés (spas et spas de nage ;
   pas les saunas). L'attribut data-nl-prix est posé / retiré par horizon-noel-op.js selon le modèle choisi. Les options, les frais et la ligne « Avantage web »
   restent lisibles. */
.hz-dv__recap[data-nl-prix] .hz-dv__line:first-child strong,
.hz-dv__recap[data-nl-prix] .hz-dv__total strong {
  text-decoration: line-through; text-decoration-color: #E2BD70; text-decoration-thickness: 3px; text-decoration-skip-ink: none; opacity: 0.62;
}

[data-nl-cta][aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Lot 350 : Noël. La branche et les boules sont dans l'image de fond ; reste une neige légère devant. */
.nl-hero__neige{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.7;background-image:radial-gradient(2.6px 2.6px at 24px 34px,rgba(255,255,255,0.95),transparent 62%),radial-gradient(2px 2px at 150px 96px,rgba(255,255,255,0.85),transparent 62%),radial-gradient(3px 3px at 88px 190px,rgba(255,255,255,0.9),transparent 62%),radial-gradient(1.8px 1.8px at 200px 20px,rgba(255,255,255,0.8),transparent 62%),radial-gradient(2.4px 2.4px at 40px 120px,rgba(255,255,255,0.8),transparent 62%),radial-gradient(3.4px 3.4px at 260px 210px,rgba(255,255,255,0.9),transparent 62%),radial-gradient(2px 2px at 330px 60px,rgba(255,255,255,0.75),transparent 62%),radial-gradient(2.8px 2.8px at 120px 300px,rgba(255,255,255,0.85),transparent 62%);
  background-size:360px 360px,300px 300px,420px 420px,360px 360px,300px 300px,420px 420px,360px 360px,300px 300px;animation:nlo-neige 26s linear infinite}
@keyframes nlo-neige{to{background-position:0 360px,0 300px,0 420px,0 360px,0 300px,0 420px,0 360px,0 300px}}
@media (prefers-reduced-motion:reduce){.nl-hero__neige{animation:none}}

/* ------------------------------------------------------------------ Lot 352 : héros de l'accueil en 3D (sapin au scroll)
   Le parcours de caméra (assets/js/horizon-noel-sapin.js) est épinglé SOUS l'en-tête du site (position:sticky) pendant la hauteur d'un long conteneur ; la page de l'accueil
   continue en dessous, intacte. Tant que la 3D n'est pas prête (ou si elle ne peut pas l'être), le héros « boule » est affiché : il sert de vignette de chargement et de repli.
   La classe nl-3d sur <html> n'existe que si le navigateur s'y prête (voir HorizonNoel::sapinHero) ; sans elle, rien de ce qui suit ne s'applique. */
.nl-sapin { position: relative; --nl-sap-top: 56px; --nl-sap-band: 0px; --nl-sap-len: 837; --nl-serif: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; }
.nl-sapin__h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nl-sapin__h1 img { display: inline-block; height: 1.02em; width: auto; vertical-align: -0.14em; margin-left: 0.4em; }
.nl-sapin__scene { display: none; }
.nl-sapin__fin { display: block; height: 0; scroll-margin-top: var(--nl-sap-top, 56px); }
.nl-3d .nl-sapin { height: calc(var(--nl-sap-len) * 1vh); height: calc(var(--nl-sap-len) * 1svh); }
.nl-3d .nl-sapin__stick { position: sticky; top: var(--nl-sap-top); height: calc(100vh - var(--nl-sap-top)); height: calc(100svh - var(--nl-sap-top)); overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 50% 38%, #a3162d 0%, #7d0f23 45%, #3d0612 100%); }
.nl-3d .nl-sapin__repli, .nl-3d .nl-sapin__repli * { visibility: hidden !important; }   /* les boutons « actifs » du carrousel forcent visibility:visible et passaient à travers le parent */
.nl-3d .nl-sapin__repli { position: absolute; inset: 0; }   /* le héros « boule » n'est plus que le repli (3D indisponible ou en échec) : plus de vignette d'avant */
.nl-3d .nl-sapin__repli .nl-hero { min-height: 0; height: 100%; }
.nl-3d .nl-sapin__scene { display: block; position: absolute; inset: 0; }
/* Vignette = première image de l'animation (webp), visible tout de suite sous le titre et le bouton ; elle s'efface quand la 3D a dessiné la même image. */
.nl-sapin__poster { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 1; transition: opacity 0.5s var(--nl-out), visibility 0s linear 0.5s; }
.nl-sapin.is-ready .nl-sapin__poster { opacity: 0; visibility: hidden; }
/* Safari peint les couches composées (3D, vidéo) par-dessus les éléments fixes : le menu plein écran masque la scène tant qu'il est ouvert (comme les autres scènes, lot 125). */
body.hz-menu-open .nl-sapin__stick { visibility: hidden; }
.nl-sapin__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.nl-sapin__hero { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; padding: 14px 22px calc(20px + var(--nl-sap-band)); will-change: opacity; }
/* Voiles haut et bas : le titre (fin, en or) et le bouton restent lisibles sur le feuillage ; ils s'effacent avec le bloc. */
.nl-sapin__hero::before, .nl-sapin__hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; }
.nl-sapin__hero::before { top: 0; height: 52%; background: linear-gradient(rgba(52, 6, 15, 0.7), rgba(52, 6, 15, 0.35) 55%, rgba(52, 6, 15, 0)); }
.nl-sapin__hero::after { bottom: 0; height: min(46%, 330px); background: linear-gradient(rgba(61, 6, 18, 0), rgba(61, 6, 18, 0.55) 45%, rgba(61, 6, 18, 0.82)); }   /* fond de lecture sous le texte du bas (livraison sapin 04/12) : mobile seulement */
.nl-sapin__titre { display: block; width: min(90vw, 390px); }
.nl-sapin__titre img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 12px rgba(52, 6, 15, 0.7)); }
.nl-sapin__st { margin: 0; max-width: 24ch; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(16px, 4.4vw, 24px); font-weight: 600; line-height: 1.25; color: #f7e7c4; text-shadow: 0 1px 3px rgba(40, 0, 10, 0.8), 0 2px 14px rgba(40, 0, 10, 0.8); }
.nl-sapin__bas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nl-sapin__ctas { display: grid; justify-items: start; align-items: end; }
.nl-sapin__cta { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--nl-out), visibility 0s linear 0.6s; }
.nl-sapin__cta.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s var(--nl-out); }
.nl-sapin__oeil { display: block; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nl-accent); text-shadow: 0 2px 14px rgba(52, 6, 15, 0.9); }
.nl-sapin__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 14px 30px; border-radius: 999px; background: var(--nl-accent-clair); color: #3d0a12; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 16px; line-height: 1.1; text-decoration: none; box-shadow: 0 8px 26px -10px rgba(0, 0, 0, 0.55); pointer-events: auto; transition: transform 0.35s var(--nl-out), box-shadow 0.35s var(--nl-out), background-color 0.35s var(--nl-out); }
.nl-sapin__btn:hover, .nl-sapin__btn:focus-visible { transform: translateY(-2px); background: #fff3d2; box-shadow: 0 10px 34px -6px rgba(243, 220, 166, 0.7); color: #3d0a12; }
.nl-sapin__btn:focus-visible, .nl-sapin__tag:focus-visible, .nl-sapin__pastille:focus-visible, .nl-sapin__passer:focus-visible { outline: 3px solid var(--nl-accent-clair); outline-offset: 3px; }
.nl-sapin__btn--petit { min-height: 44px; margin-top: 14px; padding: 11px 24px; font-size: 15px; }
.nl-sapin__cond { font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-size: 12px; line-height: 1.4; color: var(--nl-gris); text-shadow: 0 1px 8px rgba(52, 6, 15, 0.9); }
.nl-sapin__legende { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: clamp(250px, 40svh, 380px); opacity: 0; visibility: hidden; pointer-events: none; background: linear-gradient(rgba(61, 6, 18, 0), rgba(61, 6, 18, 0.7) 30%, rgba(61, 6, 18, 0.93) 62%); }   /* fond de lecture : le texte reste net même sur une boule claire */
.nl-sapin__leg { position: absolute; left: 0; right: 0; bottom: clamp(28px, 7svh, 70px); padding: 0 28px; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; }
.nl-sapin__leg .nl-sapin__oeil { margin-bottom: 8px; }
.nl-sapin__leg p { margin: 0; font-family: var(--nl-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 6.4vw, 34px); line-height: 1.15; color: #f7e7c4; text-shadow: 0 1px 3px rgba(40, 0, 10, 0.8), 0 2px 16px rgba(40, 0, 10, 0.85); }
.nl-sapin__tags { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.nl-sapin__tag { position: absolute; left: 0; top: 0; width: min(42vw, 230px); padding: 10px 12px 12px; border: 1.5px solid var(--nl-accent); border-radius: 14px; background: #f7e7c4; color: #4a0a14; text-decoration: none; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; pointer-events: none; will-change: transform, opacity; }
.nl-sapin__tag strong { display: block; font-family: var(--nl-serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 5.4vw, 28px); line-height: 1; }
.nl-sapin__tag span { display: block; margin: 5px 0 8px; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-size: 12px; line-height: 1.3; opacity: 0.85; }
.nl-sapin__tag em { display: inline-block; padding: 6px 12px; border-radius: 99px; background: #8f0f26; color: #fff; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-style: normal; font-weight: 700; font-size: 12.5px; }
.nl-sapin__pastille { --p: 132px; position: absolute; left: 0; top: 0; width: var(--p); height: var(--p); padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff3c4, #d9ad55 58%, #a87a2a); color: #5a0a17; text-align: center; text-decoration: none; line-height: 1.05; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42), inset 0 0 0 2px rgba(255, 255, 255, 0.35); opacity: 0; visibility: hidden; pointer-events: none; will-change: transform, opacity; }
.nl-sapin__pastille strong { font-family: var(--nl-serif); font-style: italic; font-weight: 400; font-size: calc(var(--p) * 0.2); }
.nl-sapin__pastille strong:only-child { font-size: calc(var(--p) * 0.24); line-height: 1.02; }
@media (min-width: 821px) { .nl-sapin__pastille { --p: 168px; } }
.nl-sapin__pastille span { margin-top: 5px; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-size: calc(var(--p) * 0.105); font-weight: 700; letter-spacing: 0.03em; }
.nl-sapin__indice { position: absolute; z-index: 2; left: 50%; bottom: 14px; width: 20px; height: 20px; margin-left: -10px; border-right: 2px solid var(--nl-accent-clair); border-bottom: 2px solid var(--nl-accent-clair); transform: rotate(45deg); opacity: 0.8; pointer-events: none; animation: nlo-rebond 1.6s ease-in-out infinite; }
.nl-sapin__passer { position: absolute; z-index: 4; top: 10px; right: 12px; padding: 7px 13px; border: 1px solid rgba(243, 220, 166, 0.5); border-radius: 99px; background: rgba(52, 6, 15, 0.55); color: #fff3d2; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 12px; line-height: 1; text-decoration: none; }
.nl-sapin__final { position: absolute; z-index: 6; left: 0; right: 0; bottom: clamp(14px, 3.2svh, 30px); text-align: center; opacity: 0; visibility: hidden; pointer-events: none; }
.nl-sapin__final .nl-sapin__btn { margin-top: 0; pointer-events: none; }
.nl-sapin__final.actif .nl-sapin__btn { pointer-events: auto; }
@media (max-width: 819px) { .nl-sapin__tag span { display: none; } .nl-sapin__tag { padding: 9px 11px 10px; } .nl-sapin__tag strong { margin-bottom: 6px; } }
@keyframes nlo-rebond { 50% { transform: rotate(45deg) translate(5px, 5px); } }
@media (max-width: 820px) { .nl-sapin__hero { padding-top: 50px; } }
@media (min-width: 821px) {
  .nl-sapin__hero { padding: 30px 6vw calc(30px + var(--nl-sap-band)); justify-content: center; gap: 28px; }
  .nl-sapin__hero::after { display: none; }
  .nl-sapin__titre { width: clamp(420px, 38vw, 640px); }
  .nl-sapin__tag { width: 240px; }
}
@media (prefers-reduced-motion: reduce) { .nl-sapin__cta, .nl-sapin__cta.is-on { transition: none; } .nl-sapin__indice { animation: none; } .nl-3d .nl-sapin__scene, .nl-3d .nl-sapin__repli { transition: none; } }

/* Lot 353 (04/12) : boule animée (WebP, Blender) à la place de la boule en CSS, sur les cartes du catalogue, les pages rubrique et les fiches. Même coin d'accroche qu'avant ; la boule se balance
   dans l'image (plus d'animation CSS). Réduire les animations : image fixe (balise <picture>). */
.nl-badge { width: 90px; padding-top: 0; animation: none; left: 5px; top: -30px; }
.nl-badge::before, .nl-badge::after { content: none; }
.nl-badge .nl-boule, .nl-badge img { display: block; width: 100%; height: auto; }
.hz-cat--rubrique .hz-card .nl-badge { width: 76px; left: 14px; top: 4px; }   /* dans l'angle du visuel : plus petite, pour ne pas cacher le spa */
.nl-badge--fiche { width: 124px; padding-top: 0; right: -158px; top: -45px; }
@media (max-width: 820px) {
  .nl-badge--fiche { width: 88px; padding-top: 0; right: -98px; top: -56px; }
}

/* Hubs (spas, spas de nage) : la boule de promotion passe DEVANT le spa (livraison boule-hubs-preprod.txt, 04/12) ; pointer-events:none : jamais de clic bloqué sur la carte. */
.nl-badge { z-index: 3; pointer-events: none; }
