/* Noël 2026 du Lit Assorti : « Noël brodé ». Chargé seulement pendant les fêtes (src/noel.php), sur la classe .noel du corps.
   Le décor : un ruban prune surpiqué d'or sous l'en-tête ; en accueil, un oreiller qu'une aiguille brode sous les yeux du visiteur
   (templates/_noel-hero.php) et un tambour à broder qui compte les jours pour commander (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 : un ruban surpiqué */
.noel-bandeau { position: relative; background: #52204a; color: #f8f1e6; font-size: .92rem; }
.noel-bandeau::before, .noel-bandeau::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(231, 178, 76, .75); pointer-events: none; }
.noel-bandeau::before { top: 4px; }
.noel-bandeau::after { bottom: 4px; }
.noel-bandeau a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3em 1.1em; padding: .75em 1em; color: inherit; text-decoration: none; }
.noel-bandeau a:hover .noel-bandeau__texte { text-decoration: underline; }
.noel-bandeau__etoile { width: 20px; height: 20px; flex: none; }
.noel-bandeau strong { font-family: var(--titre); font-style: italic; font-weight: 600; font-size: 1.12em; color: #f3c768; }
.noel-bandeau__date { opacity: .92; }
.noel-bandeau__compte { padding: .12em .85em; border-radius: 999px; background: #e7b24c; color: #2a1b2d; font-weight: 700; font-size: .86em; white-space: nowrap; }
@media (max-width: 760px) { .noel-bandeau__date { display: none; } }

/* ---------- accueil : la vitrine passe à la nuit prune, l'oreiller se brode */
.noel .hero { position: relative; overflow: hidden; background: radial-gradient(110% 95% at 76% 44%, #7d3a70 0, #52204a 50%, #2c1029 100%); color: #f8f1e6; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(44px, 6vw, 84px); }
.noel .hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 22px); pointer-events: none; }
.noel .hero__grille { position: relative; }
.noel .hero h1 { color: #fffaf1; }
.noel .hero h1 em { color: #f3c768; }
.noel .hero .surtitre, .noel .hero .surtitre .icone, .noel .hero .motifs__titre { color: #f3c768; }
.noel .hero__texte { color: #e6d6e2; }
.noel .hero .bouton { background: #e7b24c; border-color: #e7b24c; color: #2a1b2d; }
.noel .hero .bouton:hover { background: #fffaf1; border-color: #fffaf1; color: #52204a; }
.noel .hero .bouton--clair { background: transparent; border-color: rgba(248, 241, 230, .7); color: #f8f1e6; }
.noel .hero .nuancier__titre { color: #f3c768; }
.noel .hero .nuancier a, .noel .hero .nuancier a:hover { color: #f8f1e6; }
.noel .hero .nuancier a:hover i { box-shadow: 0 0 0 2px #f3c768; }
.noel .hero__photos > .hero__photo, .noel .hero__photos > .hero__etiquette { display: none; }
.noel .hero__photos { padding: 0 0 2.2em; }
.noel-broderie { position: relative; display: block; color: inherit; text-decoration: none; }
.noel-broderie svg { display: block; width: 100%; height: auto; overflow: visible; }
.noel-broderie__mot { position: absolute; right: 6%; bottom: -1.7em; font-family: var(--titre); font-style: italic; font-size: clamp(.95rem, 1.4vw, 1.15rem); color: #f3c768; }
.lb-mot { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; font-size: 118px; letter-spacing: -.02em; }

/* la broderie : l'aiguille fait le tour du cadre, le fil apparaît derrière elle ; puis le mot, les sapins, les étoiles */
.lb-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lb-coud 3.4s linear .5s forwards; }
.lb-aiguille { offset-path: path("M138 168Q320 140 502 168Q526 260 502 372Q320 400 138 372Q114 260 138 168Z"); offset-rotate: auto; offset-distance: 0%; animation: lb-pique 3.4s linear .5s both, lb-repos .8s ease-out 3.9s forwards; }
.lb-ecrit { transform-box: fill-box; transform-origin: 0 50%; animation: lb-ecrit 1.9s cubic-bezier(.5, 0, .3, 1) 3.6s both; }
.lb-fil { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lb-coud 1.3s ease-in-out forwards; animation-delay: calc(5.2s + var(--i) * .5s); }
.lb-croix > g { transform-box: fill-box; transform-origin: center; animation: lb-point .5s cubic-bezier(.2, .9, .25, 1.4) both, lb-scintille 3s ease-in-out infinite; animation-delay: calc(5.9s + var(--i) * .16s), calc(7.6s + var(--i) * .4s); }
@keyframes lb-coud { to { stroke-dashoffset: 0; } }
@keyframes lb-pique { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes lb-repos { to { offset-distance: 104%; opacity: .0; } }
@keyframes lb-ecrit { from { transform: scaleX(0); } }
@keyframes lb-point { from { opacity: 0; transform: scale(0) rotate(-90deg); } }
@keyframes lb-scintille { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .lb-aiguille { display: none; } }

/* ---------- accueil : le tambour à broder */
.noel-tambour { padding: clamp(40px, 6vw, 76px) 0 0; }
.noel-tambour__grille { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.noel-tambour__cercle svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 22px rgba(42, 27, 45, .16)); }
.noel-tambour__nombre { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 104px; fill: #6b2d60; }
.noel-tambour__nombre--mot { font-style: italic; font-size: 50px; }
.noel-tambour__mots { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 20px; fill: #2a1b2d; }
.noel-tambour__date { font-size: 13px; fill: #6d5f6a; }
.noel-tambour h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .35em; }
.noel-tambour__phrase { color: var(--gris); max-width: 46ch; }
.noel-tambour__idees { display: grid; gap: 0; margin: 0 0 1.4em; padding: 0; list-style: none; border-top: 1px dashed var(--couture); max-width: 520px; }
.noel-tambour__idees li { border-bottom: 1px dashed var(--couture); }
.noel-tambour__idees a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .7em 0; font-weight: 600; text-decoration: none; }
.noel-tambour__idees .icone { width: 1em; height: 1em; transition: transform .2s; }
.noel-tambour__idees a:hover .icone { transform: translateX(4px); }
@media (max-width: 760px) { .noel-tambour__grille { grid-template-columns: minmax(0, 1fr); } .noel-tambour__cercle { max-width: 260px; margin-inline: auto; } }

/* ---------- 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; }
