/* assets/css/xmas-home.css — Event Noël de l'accueil : bandeau du calendrier de l'Avent et carte
   Cyber City version Noël. Charte du site (bleu nuit, jaune, rose, turquoise, Bangers + IBM Plex),
   touches de rouge et de vert pour Noël. Responsive. */
.xmas-home { padding: 18px 0 6px; }
/* Bandeau « X-Mas with Debian » : un visuel plein cadre, une accroche, un bouton. */
.xd-hero { position: relative; display: block; min-height: clamp(230px, 22vw, 290px); border: 3px solid #0A0E1A; border-radius: 16px; overflow: hidden; isolation: isolate;
  box-shadow: 8px 8px 0 #D62A3A; text-decoration: none; color: #F4F1E8; background: #140A2A; transition: transform .25s ease, box-shadow .25s ease; }
.xd-hero:hover { transform: translate(-2px, -2px); box-shadow: 11px 11px 0 #D62A3A; }
.xd-hero:focus-visible { outline: 3px solid #3FE0D0; outline-offset: 4px; }
.xd-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; z-index: -3; transform: scale(1.04); animation: xd-zoom 18s ease-in-out infinite alternate; }
@keyframes xd-zoom { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.xd-veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 8, 26, .94) 0%, rgba(10, 8, 26, .78) 32%, rgba(10, 8, 26, .18) 62%, rgba(10, 8, 26, 0) 100%), linear-gradient(0deg, rgba(10, 8, 26, .55), transparent 45%); }
.xd-snow { position: absolute; inset: -40px 0 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(2px 2px at 12% 18%, #fff 60%, transparent 61%), radial-gradient(1.6px 1.6px at 28% 64%, #fff 60%, transparent 61%), radial-gradient(2.2px 2.2px at 47% 32%, #fff 60%, transparent 61%), radial-gradient(1.4px 1.4px at 66% 78%, #fff 60%, transparent 61%), radial-gradient(2px 2px at 84% 22%, #fff 60%, transparent 61%), radial-gradient(1.6px 1.6px at 93% 58%, #fff 60%, transparent 61%);
  background-size: 300px 260px; animation: xd-snow 16s linear infinite; }
@keyframes xd-snow { to { background-position: 40px 260px, -30px 260px, 25px 260px, -15px 260px, 30px 260px, -20px 260px; } }
.xd-content { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: inherit; max-width: 560px; padding: clamp(20px, 3vw, 34px) clamp(20px, 3.4vw, 40px); }
.xd-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.xd-kicker { font: 700 .74rem var(--mono, "IBM Plex Mono", monospace); letter-spacing: .22em; text-transform: uppercase; color: #3FE0D0; }
.xd-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); font: 700 .76rem var(--mono, "IBM Plex Mono", monospace); color: #fff; }
.xd-chip i { width: 8px; height: 8px; border-radius: 50%; background: #FF4D5E; box-shadow: 0 0 0 0 rgba(255, 77, 94, .7); animation: xd-live 1.8s ease-out infinite; }
@keyframes xd-live { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }
.xd-title { font: 400 clamp(2.3rem, 4.6vw, 3.7rem)/.95 Bangers, "IBM Plex Sans", sans-serif; letter-spacing: .02em;
  background: linear-gradient(100deg, #FFE14D 0%, #FFF6C8 22%, #FFE14D 40%, #FF9F43 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 3px 0 #0A0E1A) drop-shadow(0 0 22px rgba(255, 225, 77, .25)); animation: xd-shine 6s ease-in-out infinite; }
.xd-title em { font: italic 500 .42em var(--mono, "IBM Plex Mono", monospace); letter-spacing: 0; -webkit-text-fill-color: #3FE0D0; color: #3FE0D0; vertical-align: .55em; margin: 0 .1em; }
@keyframes xd-shine { 50% { background-position: 100% 0; } }
.xd-tag { max-width: 38ch; margin: 0; font-size: clamp(.95rem, 1.3vw, 1.06rem); line-height: 1.5; color: #E4E8F6; }
.xd-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin-top: 2px; padding: 10px 18px; border: 3px solid #0A0E1A; border-radius: 10px; background: #FFE14D; color: #0A0E1A;
  font: 400 1.12rem/1 Bangers, "IBM Plex Sans", sans-serif; letter-spacing: .07em; box-shadow: 4px 4px 0 #0A0E1A; transition: background .2s; }
.xd-hero:hover .xd-cta { background: #FFF0A0; }
.xd-arrow { width: 22px; height: 2px; background: currentColor; position: relative; transition: width .25s; }
.xd-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.xd-hero:hover .xd-arrow { width: 32px; }
@media (max-width: 700px) {
  .xd-hero { min-height: 300px; border-radius: 14px; box-shadow: 5px 5px 0 #D62A3A; }
  .xd-bg { object-position: 66% 40%; }
  .xd-veil { background: linear-gradient(0deg, rgba(10, 8, 26, .96) 0%, rgba(10, 8, 26, .8) 48%, rgba(10, 8, 26, .2) 80%, rgba(10, 8, 26, .05) 100%); }
  .xd-content { justify-content: flex-end; gap: 8px; padding: 18px 16px; }
  .xd-title { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .xd-tag { font-size: .93rem; }
  .xd-cta { align-self: stretch; justify-content: center; }
}
/* Page de l'événement (avent.html) : en-tête non cliquable + deux cartes « Le calendrier » / « La brèche ». */
.xd-hero.is-static { margin: 18px 0 0; }
.xd-hero.is-static:hover { transform: none; box-shadow: 8px 8px 0 #D62A3A; }
.xh-head .xd-title { margin: 0; }
.xh-parts { display: grid; gap: 16px; margin: 20px 0 8px; }
@media (min-width: 720px) { .xh-parts { grid-template-columns: 1fr 1fr; gap: 20px; } }
.xh-part { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px 20px; border: 3px solid #0A0E1A; border-radius: 14px; background: #0D1226; color: #DCE3F5; box-shadow: 6px 6px 0 #3DDC97; }
.xh-part.is-breach { box-shadow: 6px 6px 0 #D62A3A; background: radial-gradient(70% 80% at 100% 0%, rgba(214, 42, 58, .22), transparent 60%), #0D1226; }
.xh-part.is-cal { background: radial-gradient(70% 80% at 100% 0%, rgba(61, 220, 151, .16), transparent 60%), #0D1226; }
.xh-ico { width: 38px; height: 38px; padding: 7px; border: 2px solid #0A0E1A; border-radius: 10px; background: #FFE14D; fill: none; stroke: #0A0E1A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-shadow: 3px 3px 0 #0A0E1A; }
.xh-part.is-breach .xh-ico { background: #FF4D5E; }
.xh-k { margin: 4px 0 0; font: 700 .72rem var(--mono, "IBM Plex Mono", monospace); letter-spacing: .14em; text-transform: uppercase; color: #3FE0D0; }
.xh-part h2 { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.1rem)/1 Bangers, "IBM Plex Sans", sans-serif; letter-spacing: .04em; color: #FFE14D; text-shadow: 2px 2px 0 #0A0E1A; }
.xh-part p { margin: 0; line-height: 1.55; }
.xh-btn { align-self: flex-start; margin-top: auto; padding: 9px 16px; border: 3px solid #0A0E1A; border-radius: 10px; background: #FFE14D; color: #0A0E1A; text-decoration: none; font: 400 1.05rem/1 Bangers, "IBM Plex Sans", sans-serif; letter-spacing: .07em; box-shadow: 3px 3px 0 #0A0E1A; transition: transform .2s, box-shadow .2s; }
.xh-part p + .xh-btn { margin-top: 8px; }
.xh-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #0A0E1A; }
.xh-btn:focus-visible { outline: 3px solid #3FE0D0; outline-offset: 3px; }
.xh-part.is-breach .xh-btn { background: #FF4D5E; color: #fff; }
@media (max-width: 700px) { .xd-hero.is-static:hover { box-shadow: 5px 5px 0 #D62A3A; } .xh-btn { align-self: stretch; text-align: center; } }
#calendrier { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { .xd-bg, .xd-snow, .xd-title, .xd-chip i { animation: none; } .xd-hero, .xd-arrow { transition: none; } }

/* Carte Cyber City version Noël : cadre rouge, bandeau jaune sous la photo */
.city-promo.is-xmas { box-shadow: 8px 8px 0 #D62A3A; border-color: #0A0E1A; }
.city-promo.is-xmas .city-promo-tag { background: #D62A3A; color: #fff; }
.city-xmas-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; background: linear-gradient(0deg, rgba(10, 14, 26, .92), rgba(10, 14, 26, .55) 70%, transparent); }
.city-xmas-band[hidden] { display: none; }
.city-xmas-band b { font: 400 1.6rem/1 Bangers, sans-serif; letter-spacing: .05em; color: #FFE14D; text-shadow: 2px 2px 0 #D62A3A; }
.city-xmas-band span { font: 600 .82rem var(--mono, "IBM Plex Mono", monospace); color: #F4F1E8; }
