/* =========================================================
   LE BUREAU SEREIN — Décor de Noël (saison de décembre)
   Cette couche s'ajoute au site sans rien modifier d'autre.
   Pour l'enlever en janvier : retirer les deux lignes « noel » des pages
   (ou supprimer les fichiers css/noel.css et js/noel.js).
   ========================================================= */

/* ---------- Neige qui tombe (dessinée par noel.js) ---------- */
.noel-flocons {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}

/* ---------- Guirlande de LED blanc bleuté ---------- */
.noel-guirlande {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 35;
  pointer-events: none;
  overflow: visible;
}
.noel-guirlande .fil { fill: none; stroke: rgba(60, 40, 32, 0.55); stroke-width: 1.5; stroke-linecap: round; }
.noel-guirlande .halo { animation: noel-led 3.4s ease-in-out infinite; }
@keyframes noel-led {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ---------- Neige posée sur les lettres des gros titres ---------- */
.noel .neige-mot { display: inline-block; white-space: nowrap; }
.noel .neige-l { position: relative; display: inline-block; }
.noel .neige-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0.014em 0.012em rgba(43, 18, 10, 0.45));
}
.noel .neige-masse {
  display: block;
  white-space: nowrap;
  color: #fffdf8;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.noel-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Congère de neige au-dessus du pied de page ---------- */
.site-footer { position: relative; }
.noel-sol {
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  margin-bottom: -1px;
  pointer-events: none;
  z-index: 3;
  line-height: 0;
}
.noel-sol svg { display: block; width: 100%; height: 100%; overflow: visible; }
.noel-sol .etincelle { animation: noel-led 3s ease-in-out infinite; }

/* ---------- Neige posée sur les cartes et le bandeau ---------- */
.noel-pose-in {
  position: absolute;
  top: 0; left: 0; right: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
  line-height: 0;
}
.noel-pose-out {
  position: absolute;
  bottom: 100%;
  pointer-events: none;
  z-index: 6;
  line-height: 0;
  filter: drop-shadow(0 1px 1px rgba(90, 40, 15, 0.28));
}
.noel-pose-in svg, .noel-pose-out svg { display: block; width: 100%; height: 100%; }

/* ---------- Message de vœux lumineux ---------- */
.noel-voeux {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin: 0 0 calc(var(--u) * 1.3);
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #f7fbff;
  pointer-events: none;
}
.noel-voeux__ligne { display: block; }
.noel-voeux__ligne:first-child { font-size: calc(var(--u) * 2.05); }
.noel-voeux__ligne:last-child  { font-size: calc(var(--u) * 2.5); }
.noel-voeux__c {
  display: inline-block;
  text-shadow: 0 0 3px #fff, 0 0 9px #cfe6ff, 0 0 20px #8fc2ff;
  animation: noel-led-texte 3.6s ease-in-out infinite;
}
@keyframes noel-led-texte {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.62; }
}
@media (max-width: 960px) { .noel-voeux { display: none; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .noel-flocons { display: none; }
  .noel-guirlande .halo, .noel-sol .etincelle, .noel-voeux__c { animation: none; }
}
