/* Noël 2026 du Sac Assorti : « Ouvrez Noël ». Chargé seulement pendant les fêtes (src/noel.php), sur la classe .noel du corps.
   Le décor : un bandeau cerise fermé par une glissière dont le curseur traverse la page et découvre une guirlande ; en accueil, une trousse qui s'ouvre
   sur des paquets, sous un fil d'étiquettes de bagage (templates/_noel-hero.php), et « Pour qui ? » (templates/_noel-accueil.php) ; la date sur les fiches.
   Rien d'autre ne change : ni prix, ni textes, ni parcours d'achat. */

/* ---------- bandeau et glissière sous l'en-tête */
.noel-bandeau { position: relative; background: #ad2231; color: #fdf6ea; font-size: .92rem; }
.noel-bandeau a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3em 1.1em; padding: .55em 1em .75em; color: inherit; text-decoration: none; }
.noel-bandeau a:hover .noel-bandeau__texte { text-decoration: underline; }
.noel-bandeau strong { font-family: var(--titre); font-weight: 600; font-size: 1.08em; letter-spacing: .08em; text-transform: uppercase; color: #ffe08a; }
.noel-bandeau__date { opacity: .92; }
.noel-bandeau__compte { padding: .12em .85em; border-radius: 999px; background: #fdf6ea; color: #8a1826; font-weight: 700; font-size: .86em; white-space: nowrap; }
.noel-zip { position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; z-index: 2; pointer-events: none; }
/* sous la glissière : une guirlande de petites lumières, que le curseur découvre */
.noel-zip__lumieres { position: absolute; inset: 0; background: #16233f radial-gradient(circle at 12px 7px, #ffe08a 0 2.6px, transparent 3.4px) 0 0 / 48px 14px, #16233f; background-image: radial-gradient(circle at 12px 7px, #ffe08a 0 2.6px, transparent 3.6px), radial-gradient(circle at 36px 7px, #ff8a7a 0 2.6px, transparent 3.6px); background-size: 48px 14px; background-color: #16233f; animation: ls-clignote 1.8s ease-in-out infinite alternate; }
.noel-zip__dents { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #e9e2d2 0 3px, #5d0f1a 3px 7px) 0 3px / auto 8px no-repeat, #8a1826; clip-path: inset(0 0 0 var(--ouvert, 100%)); animation: ls-ouvre 2.6s cubic-bezier(.6, 0, .3, 1) .5s both; }
.noel-zip__curseur { position: absolute; top: -4px; left: 0; width: 22px; margin-left: -11px; animation: ls-court 2.6s cubic-bezier(.6, 0, .3, 1) .5s both; }
.noel-zip__curseur svg { display: block; width: 22px; height: auto; transform-origin: 50% 12%; animation: ls-pend 2.2s ease-in-out 3.2s infinite alternate; }
@keyframes ls-ouvre { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes ls-court { from { left: 16px; } to { left: calc(100% - 22px); } }
@keyframes ls-pend { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes ls-clignote { from { opacity: .7; } to { opacity: 1; } }
@media (max-width: 760px) { .noel-bandeau__date { display: none; } }

/* ---------- accueil : la vitrine passe à la nuit, la trousse s'ouvre */
.noel .hero { position: relative; overflow: hidden; background: radial-gradient(110% 95% at 76% 46%, #2a4a80 0, #1b2f51 50%, #111c33 100%); color: #f7f2e9; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 80px); }
.noel .hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 12px); pointer-events: none; }
.noel .hero__grille { position: relative; }
.noel .hero h1 { color: #fdf6ea; }
.noel .hero h1 em { color: #ffcf5a; }
.noel .hero .surtitre, .noel .hero .surtitre .icone, .noel .hero .motifs__titre { color: #ffcf5a; }
.noel .hero__texte { color: #d5dcea; }
.noel .hero .bouton { background: #ad2231; border-color: #ad2231; color: #fff; }
.noel .hero .bouton:hover { background: #fdf6ea; border-color: #fdf6ea; color: #1b2f51; }
.noel .hero .bouton--clair { background: transparent; border-color: rgba(253, 246, 234, .7); color: #fdf6ea; }
.noel .hero .motifs a { border-color: transparent; color: var(--encre); }
.noel .hero__photos > .hero__photo, .noel .hero__photos > .hero__etiquette { display: none; }
.noel .hero__photos { padding: 0; }
.noel-trousse { display: block; }
.noel-trousse svg { display: block; width: 100%; height: auto; overflow: visible; }
.ls-pour { font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .14em; fill: #8a1826; }
.ls-qui { font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .04em; fill: #1f1a1c; }
.ls-ecusson { font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .1em; fill: #ad2231; }
.ls-etiquette { transform-box: fill-box; transform-origin: 50% 0; animation: ls-balance 3.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.9s); }
.ls-curseur { offset-path: path("M108 264C200 312 440 312 532 264"); offset-rotate: 0deg; offset-distance: 0%; animation: ls-glisse 2.2s cubic-bezier(.6, 0, .3, 1) .6s both; }
.ls-paquet { animation: ls-sort .9s cubic-bezier(.2, .9, .25, 1.2) both; animation-delay: calc(1.5s + var(--i) * .3s); }
.ls-lueur { opacity: 0; animation: ls-allume 1.2s ease-out 1.3s forwards, ls-respire 3s ease-in-out 2.6s infinite alternate; }
.ls-etoile { animation: ls-scintille 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .41s); }
@keyframes ls-balance { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes ls-glisse { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes ls-sort { from { transform: translateY(150px); } }
@keyframes ls-allume { to { opacity: 1; } }
@keyframes ls-respire { from { opacity: .7; } to { opacity: 1; } }
@keyframes ls-scintille { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* ---------- accueil : « Pour qui ? », des étiquettes de bagage */
.noel-pour { padding: clamp(40px, 6vw, 76px) 0 0; }
.noel-pour__tete { max-width: 760px; margin-bottom: clamp(20px, 3vw, 32px); }
.noel-pour h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); text-transform: uppercase; margin-bottom: .25em; }
.noel-pour__date { margin: 0; color: var(--gris); }
.noel-pour__date strong { color: var(--dedans-fonce); }
.noel-pour__etiquettes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin: 0 0 clamp(28px, 4vw, 48px); padding: 14px 0 0; list-style: none; }
.noel-pour__etiquettes li { transform: rotate(calc((var(--i) - 2) * 1.4deg)); transform-origin: 50% 0; transition: transform .25s; }
.noel-pour__etiquettes li:hover { transform: rotate(0) translateY(-3px); }
.noel-pour__etiquettes a { position: relative; display: grid; gap: .1em; height: 100%; padding: 44px 16px 18px; background: var(--papier); border: 1px solid var(--trait); border-radius: 6px; clip-path: polygon(50% 0, 100% 34px, 100% 100%, 0 100%, 0 34px); text-align: center; text-decoration: none; box-shadow: var(--ombre); }
.noel-pour__etiquettes li:nth-child(even) a { background: #fff3cf; }
.noel-pour__oeillet { position: absolute; top: 18px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border: 3px solid #b98a1e; border-radius: 50%; background: var(--fond); }
.noel-pour__etiquettes small { font-family: var(--titre); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dedans); }
.noel-pour__etiquettes strong { font-family: var(--titre); font-weight: 600; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; color: var(--encre); }
.noel-pour__etiquettes a > span:last-child { margin-top: .35em; font-size: .9rem; color: var(--gris); }
.noel-pour__suite { margin: 1.4em 0 0; }
@media (max-width: 900px) { .noel-pour__etiquettes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .noel-pour__etiquettes li { transform: none; } .noel-pour__etiquettes li:last-child { grid-column: 1 / -1; } }

/* ---------- 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); font-size: .9rem; }
