/* Noël 2026 de Dessus de Lit : « La nuit de Noël ». Chargé seulement pendant les fêtes (src/noel.php), sur la classe .noel du corps.
   Le décor : un bandeau de ciel d'hiver sous l'en-tête ; en accueil, la nuit derrière le titre : étoiles, lune, étoile filante, traîneau, village,
   et un couvre-lit matelassé devenu colline de neige (templates/_noel-hero.php) ; une constellation d'idées à offrir (templates/_noel-accueil.php) ;
   la date sur les fiches. Rien d'autre ne change : ni prix, ni textes, ni parcours d'achat. */

/* ---------- bandeau sous l'en-tête */
.noel-bandeau { background-color: #1a2444; background-image: radial-gradient(circle at 8% 30%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 23% 72%, #fff 0 .8px, transparent 1.4px), radial-gradient(circle at 41% 22%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 63% 78%, #fff 0 .8px, transparent 1.4px), radial-gradient(circle at 79% 28%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 93% 66%, #fff 0 .8px, transparent 1.4px); color: #f5efe4; font-size: .92rem; }
.noel-bandeau a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3em 1.1em; padding: .6em 1em; color: inherit; text-decoration: none; }
.noel-bandeau a:hover .noel-bandeau__texte { text-decoration: underline; }
.noel-bandeau__lune { width: 20px; height: 20px; flex: none; }
.noel-bandeau strong { font-family: var(--titre); font-style: italic; font-weight: 400; font-size: 1.3em; line-height: 1; color: #f3c9a8; }
.noel-bandeau__date { opacity: .92; }
.noel-bandeau__compte { padding: .12em .85em; border-radius: 999px; background: #a4563f; color: #fff; font-weight: 600; font-size: .86em; white-space: nowrap; }
@media (max-width: 760px) { .noel-bandeau__date { display: none; } }

/* ---------- accueil : la nuit de Noël derrière le titre */
.noel .hero { position: relative; overflow: hidden; color: #f5efe4; }
.noel-nuit { position: absolute; left: 0; right: 0; top: 0; height: var(--nuit, calc(100% - clamp(90px, 16vw, 230px))); background: linear-gradient(180deg, #10172d 0, #1c2748 46%, #33477a 100%); }
.noel-nuit svg { display: block; width: 100%; height: 100%; }
.noel .hero > .enveloppe { position: relative; z-index: 1; }
.noel .hero h1 { color: #fbf6ec; text-shadow: 0 2px 22px rgba(16, 23, 45, .55); }
.noel .hero h1 .t-dedans { color: #f3c9a8; }
.noel .hero .surtitre { color: #f3c9a8; }
.noel .hero__texte { color: #dde2ee; text-shadow: 0 1px 12px rgba(16, 23, 45, .6); margin-bottom: clamp(120px, 14vw, 200px); }
.noel .seuil { box-shadow: 0 24px 60px rgba(16, 23, 45, .28); }
.noel .seuil::after { background: #fbf6ec; top: 0; bottom: 0; width: 2px; margin-left: -1px; z-index: 2; }
.nn-etoile { animation: nn-scintille 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.41s); }
.nn-fenetre { animation: nn-lampe 5s ease-in-out infinite alternate; }
.nn-filante { opacity: 0; animation: nn-file 9s ease-in 2.5s infinite; }
.nn-traineau { animation: nn-vole 38s linear 1.5s infinite both; }
.nn-fumee circle { animation: nn-fume 4.5s ease-out infinite; }
.nn-fumee circle:nth-child(2) { animation-delay: -1.5s; }
.nn-fumee circle:nth-child(3) { animation-delay: -3s; }
@keyframes nn-scintille { 0%, 100% { opacity: .95; } 50% { opacity: .2; } }
@keyframes nn-lampe { from { opacity: .75; } to { opacity: 1; } }
@keyframes nn-file { 0% { opacity: 0; transform: translate(0, 0); } 4% { opacity: 1; } 12% { opacity: 0; transform: translate(-320px, 96px); } 100% { opacity: 0; transform: translate(-320px, 96px); } }
@keyframes nn-vole { from { transform: translate(1480px, 196px) scale(.9); } to { transform: translate(-220px, 96px) scale(.9); } }
@keyframes nn-fume { from { opacity: .55; transform: translate(0, 0) scale(.7); } to { opacity: 0; transform: translate(10px, -30px) scale(1.5); } }

/* ---------- accueil : la constellation d'idées */
.noel-ciel { padding: clamp(40px, 6vw, 76px) 0 0; }
.noel-ciel__panneau { position: relative; padding: clamp(26px, 4vw, 52px); border-radius: 18px; background: linear-gradient(160deg, #10172d, #24335c 70%, #33477a); color: #f5efe4; overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); }
.noel-ciel__panneau::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 31% 64%, #fff 0 .8px, transparent 1.4px), radial-gradient(circle at 54% 12%, #fff 0 1.1px, transparent 1.7px), radial-gradient(circle at 72% 82%, #fff 0 .8px, transparent 1.4px), radial-gradient(circle at 88% 34%, #fff 0 1px, transparent 1.6px), radial-gradient(circle at 44% 90%, #fff 0 .9px, transparent 1.5px), radial-gradient(circle at 96% 8%, #fff 0 1px, transparent 1.6px); pointer-events: none; }
.noel-ciel__tete { position: relative; max-width: 720px; }
.noel-ciel__sur { margin: 0 0 .2em; font-family: var(--titre); font-style: italic; font-size: 1.4rem; color: #f3c9a8; }
.noel-ciel h2 { color: #fbf6ec; font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: .25em; }
.noel-ciel__date { margin: 0; color: #dde2ee; }
.noel-ciel__date strong { color: #f3c9a8; }
.noel-ciel__constellation { position: relative; margin: clamp(18px, 3vw, 30px) 0 6px; }
.noel-ciel__constellation > svg { position: absolute; inset: 0; width: 100%; height: 230px; }
.noel-ciel__constellation ul { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; min-height: 230px; }
.noel-ciel__constellation li { text-align: center; margin-top: 0; }
.noel-ciel__constellation li:nth-child(odd) { margin-top: 56px; }
.noel-ciel__constellation a { display: grid; justify-items: center; gap: .15em; color: inherit; text-decoration: none; }
.noel-ciel__constellation a svg { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(253, 243, 214, .8)); animation: nn-scintille 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); transition: transform .25s; }
.noel-ciel__constellation a:hover svg { transform: scale(1.25) rotate(18deg); }
.noel-ciel__constellation strong { margin-top: .35em; font-family: var(--titre); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; color: #fbf6ec; }
.noel-ciel__constellation span { font-size: .92rem; color: #cfd6e6; }
.noel-ciel__suite { position: relative; margin: 1em 0 0; }
.noel-ciel__suite a { color: #f3c9a8; }
@media (max-width: 760px) {
  .noel-ciel__constellation > svg { display: none; }
  .noel-ciel__constellation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; min-height: 0; }
  .noel-ciel__constellation li:nth-child(odd) { margin-top: 0; }
}

/* ---------- fiche : la date limite, sous la disponibilité */
.noel-fiche { margin: .7em 0 0; padding: .55em .85em; border-left: 3px solid var(--dedans); border-radius: var(--rayon); background: var(--dedans-clair, #e8ecf5); font-size: .9rem; }
