/*
 * La Hotte partagée : feuille de styles des pages publiques.
 *
 * Charte : design/DESIGN.md (direction « veillée de Noël »), maquette Stitch
 * accueil_no_l et apports Figma retenus, exécutée en scène de nuit en plans.
 * Seuls les couples texte et fond de DESIGN.md portent du texte (AA calculé).
 * Polices auto-hébergées (SIL OFL 1.1), aucune ressource tierce.
 *
 * Mikael - chef de projet - 2026-11-08
 */

/* Polices : latin et latin-ext, chargées seulement si la page en a besoin.
   Mikael - chef de projet - 2026-11-08 */
@font-face { font-family: "Berkshire Swash"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../polices/berkshire-swash-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Berkshire Swash"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../polices/berkshire-swash-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../polices/fraunces-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../polices/fraunces-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../polices/nunito-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../polices/nunito-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../polices/nunito-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../polices/nunito-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }



/* Jetons de la charte, repris tels quels de design/DESIGN.md.
   Mikael - chef de projet - 2026-11-08 */
:root {
  --nuit: #0B1633;
  --nuit-claire: #16264F;
  --creme: #FFF7E8;
  --papier: #FFFDF8;
  --encre: #1A1430;
  --brume: #5B5570;
  --givre: #C9D3EE;
  --ruban: #B3122E;
  --ruban-vif: #D7263D;
  --sapin: #0E5A3A;
  --sapin-clair: #2F8F5B;
  --or: #E9B949;
  --or-pale: #F6DC94;
  --vert-pale: #E4F1E8;
  --sable: #EFE6D2;
  --or-fonce: #8A6410;

  --police-logo: "Berkshire Swash", cursive;
  --police-titre: "Fraunces", Georgia, serif;
  --police-texte: "Nunito Sans", "Segoe UI", Arial, sans-serif;

  --marge: 80px;
  --titre-texte: 32px;
  --entre-cartes: 24px;
  --rayon-carte: 16px;
  --largeur: 1280px;
  --ombre-douce: 0 1px 0 rgba(11, 22, 51, .04), 0 18px 48px -12px rgba(11, 22, 51, .16);
  --ombre-haute: 0 1px 0 rgba(11, 22, 51, .04), 0 30px 70px -18px rgba(11, 22, 51, .30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font-family: var(--police-texte); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
.chiffres { font-variant-numeric: tabular-nums; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.lien-evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--papier); color: var(--encre); padding: 10px 16px; border-radius: 999px; }
.lien-evitement:focus { top: 12px; }

/* ===================== La scène de nuit =====================
   Plans, du plus lointain au plus proche : ciel et halo, lune, étoiles,
   étincelles, neige qui tombe, collines et village, sol de neige.
   Tous les décors sont derrière le contenu et ne captent aucun clic.
   Mikael - chef de projet - 2026-11-08 */
.scene {
  position: relative; isolation: isolate; overflow: hidden; color: var(--creme);
  background:
    radial-gradient(ellipse 70% 55% at 72% 18%, rgba(22, 38, 79, 1) 0%, rgba(22, 38, 79, 0) 72%),
    radial-gradient(ellipse 50% 40% at 8% 6%, rgba(22, 38, 79, .85) 0%, rgba(22, 38, 79, 0) 70%),
    linear-gradient(180deg, #08112A 0%, var(--nuit) 46%, var(--nuit-claire) 100%);
}
/* Grain très léger : donne de la matière au ciel au lieu d'un aplat. */
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lune {
  position: absolute; z-index: -1; pointer-events: none; right: 36%; top: 64px; width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #FFFDF8 0%, var(--or-pale) 55%, #E9C979 100%);
  box-shadow: 0 0 0 14px rgba(246, 220, 148, .06), 0 0 80px 30px rgba(246, 220, 148, .22), 0 0 220px 80px rgba(246, 220, 148, .10);
}
.ciel-etoiles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.village { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 300px; z-index: -1; pointer-events: none; }
.village .fenetre { filter: drop-shadow(0 0 6px rgba(233, 185, 73, .9)) drop-shadow(0 0 18px rgba(233, 185, 73, .45)); }

.etincelles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.etincelles svg { position: absolute; width: 22px; height: 22px; animation: scintiller 5s ease-in-out infinite alternate; }
.etincelles svg:nth-child(1) { left: 6%; top: 30%; animation-duration: 6s; }
.etincelles svg:nth-child(2) { left: 44%; top: 12%; width: 16px; height: 16px; animation-duration: 4.5s; animation-delay: -2s; }
.etincelles svg:nth-child(3) { left: 93%; top: 40%; animation-duration: 7s; animation-delay: -1s; }
.etincelles svg:nth-child(4) { left: 52%; top: 58%; width: 14px; height: 14px; animation-delay: -3s; }
.etincelles svg:nth-child(5) { left: 30%; top: 70%; width: 12px; height: 12px; animation-duration: 6.5s; }
.etincelles svg:nth-child(6) { left: 66%; top: 6%; width: 12px; height: 12px; animation-duration: 5.5s; animation-delay: -4s; }
@keyframes scintiller { from { opacity: .2; transform: scale(.75) rotate(0deg); } to { opacity: 1; transform: scale(1) rotate(12deg); } }

.neige { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.neige span { position: absolute; top: -12px; width: 6px; height: 6px; border-radius: 50%; background: var(--papier); opacity: .7; animation: tomber linear infinite; }
.neige span:nth-child(n+21) { display: none; }
@media (min-width: 900px) { .neige span:nth-child(n+21) { display: block; } }
@keyframes tomber { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(30px, 900px, 0); } }

/* En-tête : barre en verre dépoli posée sur le ciel. */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo { white-space: nowrap; font-family: var(--police-logo); font-size: 1.85rem; color: var(--or-pale); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1; text-shadow: 0 2px 24px rgba(233, 185, 73, .35); }
.logo { gap: 12px; }
.logo .embleme { width: 48px; height: 48px; flex: 0 0 auto; filter: drop-shadow(0 4px 14px rgba(233, 185, 73, .35)); }
.pastille-ouverture {
  display: inline-flex; align-items: center; gap: 10px; color: var(--creme); font-size: .9375rem; font-weight: 700; white-space: nowrap;
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(201, 211, 238, .35);
  background: rgba(22, 38, 79, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pastille-ouverture::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(233, 185, 73, .25); animation: battre 2.4s ease-in-out infinite; }
@keyframes battre { 50% { box-shadow: 0 0 0 7px rgba(233, 185, 73, .08); } }

/* Ouverture : grand titre doré, carte de Sofia en verre, sapin. */
.ouverture { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 260px; }
.ouverture h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em;
  color: var(--or-pale);
  background: linear-gradient(175deg, #FFFDF8 0%, var(--or-pale) 38%, var(--or) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(233, 185, 73, .18));
}
.rituel { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--police-logo); font-size: 1.5rem; color: var(--or); }
.rituel::before, .rituel::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, rgba(233, 185, 73, 0), var(--or)); }
.rituel::after { transform: scaleX(-1); }
/* Gratuité affichée d'emblée (Mikaël, 2026-11-08) : pastille papier sur la nuit,
   texte sapin sur papier (8,13:1). */
.gratuit { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; border-radius: 999px; background: var(--papier); color: var(--sapin); font-weight: 700; font-size: 1.0625rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.gratuit svg { width: 24px; height: 24px; flex: 0 0 auto; }
.ouverture .chapeau { margin-top: 28px; color: var(--creme); font-size: 1.25rem; line-height: 1.6; max-width: 32em; opacity: .95; }

.compteur {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 18px; min-height: 92px;
  padding: 16px 26px 16px 18px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(22, 38, 79, .85), rgba(11, 22, 51, .85));
  border: 1px solid rgba(233, 185, 73, .45);
  box-shadow: inset 0 1px 0 rgba(246, 220, 148, .18), 0 20px 50px -10px rgba(233, 185, 73, .25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.compteur-cadeau { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: rgba(233, 185, 73, .14); }
.compteur-cadeau svg { width: 30px; height: 30px; animation: balancer 3.5s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes balancer { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.compteur-valeur { font-family: var(--police-titre); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--or); letter-spacing: -.02em; }
.compteur-texte { color: var(--creme); font-size: 1.0625rem; font-weight: 700; }

.illustration { position: relative; min-height: 420px; }
.illustration .sapin { position: absolute; z-index: 0; right: -6px; top: -26px; width: 200px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.carte-liste {
  position: relative; z-index: 1; width: 100%; max-width: 470px; margin-top: 120px; padding: 30px 26px 20px;
  border-radius: 22px; color: var(--encre);
  background: rgba(255, 253, 248, .94); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(233, 185, 73, .15);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: rotate(-2deg);
}
.carte-liste h2 { font-size: 1.5rem; margin-bottom: 14px; }
.carte-liste .sous-titre-liste { color: var(--brume); font-size: .875rem; margin: -8px 0 12px; }
.noeud { position: absolute; width: 46px; height: 26px; }
.carte-liste .noeud { top: -13px; right: 40px; }
.ligne-envie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: 12px; font-size: .9375rem; }
.ligne-envie + .ligne-envie { border-top: 1px solid var(--sable); }
.ligne-envie.reservee { background: var(--creme); }
.ligne-envie .prix { font-weight: 700; white-space: nowrap; }
.droite { display: flex; align-items: center; gap: 10px; }
.pastille { border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pastille-reserve { background: var(--sapin); color: var(--papier); }
.pastille-disponible { border: 1px solid var(--brume); color: var(--brume); }

/* Bandes de papier cadeau (24 px) qui séparent les sections. */
.bande { height: 24px; }
.bande-sucre { background: repeating-linear-gradient(-45deg, var(--ruban) 0 14px, var(--creme) 14px 28px); }
.bande-flocons { background-color: var(--ruban); background-image: radial-gradient(circle, var(--creme) 1.6px, transparent 2px); background-size: 28px 24px; background-position: 0 50%; }

/* ===================== Sections claires ===================== */
.section { padding-top: 104px; padding-bottom: 104px; position: relative; }
.section-creme { background: var(--creme); }
.section-papier { background: var(--papier); }
.surtitre { display: block; text-align: center; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ruban); margin-bottom: 14px; }
.titre-section { text-align: center; font-size: clamp(2rem, 3.6vw, 3rem); }
.titre-section::after {
  content: ""; display: block; width: 132px; height: 16px; margin: 20px auto 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M0 7h44M76 7h44' stroke='%23E9B949' stroke-width='1.5'/%3E%3Cpath d='M60 1l1.8 3.8 4.2.6-3 2.9.7 4.2L60 10.5l-3.7 2 .7-4.2-3-2.9 4.2-.6z' fill='%23E9B949'/%3E%3C/svg%3E");
}
.carte { background: var(--papier); color: var(--encre); border-radius: 22px; position: relative; box-shadow: var(--ombre-douce); border: 1px solid rgba(239, 230, 210, .9); }

/* Étapes reliées par un fil doré pointillé. */
.etapes { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.etapes::before { content: ""; position: absolute; left: 16%; right: 16%; top: 62px; border-top: 2px dashed rgba(233, 185, 73, .65); z-index: 0; }
.etape { padding: 34px 30px 36px; z-index: 1; }
.etape .noeud { top: -13px; left: 50%; transform: translateX(-50%); }
.badge-etape { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 26px; position: relative; }
.badge-etape svg { width: 34px; height: 34px; }
.badge-etape .numero { position: absolute; right: -10px; top: -10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); color: var(--or-pale); font-family: var(--police-titre); font-weight: 700; font-size: .9375rem; box-shadow: 0 6px 14px rgba(11, 22, 51, .25); }
.badge-sapin { background: var(--vert-pale); }
.badge-cadeau { background: #FBE7E8; }
.badge-etoile { background: var(--sable); }
.etape h3 { font-size: 1.5rem; margin-bottom: 12px; }
.etape p { color: var(--brume); }

/* Comparateur. */
.comparateur { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.comparateur .surtitre { text-align: left; }
.comparateur h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.comparateur .texte p { margin-top: 24px; color: var(--brume); font-size: 1.1875rem; }
.carte-prix { padding: 32px; box-shadow: var(--ombre-haute); }
.carte-prix h3 { font-size: 1.625rem; }
.carte-prix .sous-titre { color: var(--brume); font-size: .9375rem; margin-top: 4px; }
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.offre { background: var(--creme); border-radius: 16px; padding: 18px 16px; border: 1px solid var(--sable); }
.offre .enseigne { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brume); }
.offre .montant { font-family: var(--police-titre); font-weight: 700; font-size: 2rem; margin-top: 8px; color: var(--encre); letter-spacing: -.02em; }
.offre .note { font-size: .8125rem; color: var(--brume); margin-top: 6px; }
.offre.meilleure { background: var(--vert-pale); border: 2px solid var(--sapin); transform: translateY(-8px); box-shadow: 0 18px 30px -14px rgba(14, 90, 58, .45); }
.offre.meilleure .enseigne, .offre.meilleure .montant, .offre.meilleure .note { color: var(--sapin); }
.etiquette-meilleur { display: inline-block; margin-top: 8px; background: var(--sapin); color: var(--papier); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 700; }
.source { margin-top: 18px; font-size: .8125rem; color: var(--brume); }

/* Points forts en grille « bento » : la carte nuit occupe deux rangs. */
.bento { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(150px, auto); gap: var(--entre-cartes); }
.point { padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.point .picto { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sable); }
.point .picto svg { width: 22px; height: 22px; }
.point p { font-size: 1.0625rem; }
.carte-famille {
  grid-row: 1 / span 3; grid-column: 3; position: relative; overflow: hidden; isolation: isolate; color: var(--creme);
  border-radius: 22px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 340px;
  background: radial-gradient(ellipse 90% 70% at 80% 10%, var(--nuit-claire) 0%, var(--nuit) 70%);
  box-shadow: var(--ombre-haute);
}
.bento > li:last-child { grid-column: 1 / span 2; }
.carte-famille .decor-famille { position: absolute; right: 22px; top: 22px; width: 120px; height: 120px; z-index: -1; }
.carte-famille h3 { color: var(--or-pale); font-size: 2rem; }
.carte-famille p { color: var(--givre); font-size: 1.125rem; }
.carte-famille .pastille-ouverture { align-self: flex-start; }

/* ===================== Pied de page ===================== */
.pied { background: var(--nuit); color: var(--givre); font-size: .9375rem; }
.pied .conteneur { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 30px; padding-bottom: 30px; flex-wrap: wrap; }
.pied nav { display: flex; gap: 24px; }
.pied a { color: var(--givre); text-decoration: none; }
.pied a:hover { text-decoration: underline; }

/* ===================== Page introuvable, féerique elle aussi ===================== */
.scene-introuvable { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.introuvable { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 40px; padding-bottom: 280px; }
.introuvable h1 {
  font-size: clamp(2.3rem, 5vw, 4rem); max-width: 14em;
  background: linear-gradient(175deg, #FFFDF8 0%, var(--or-pale) 38%, var(--or) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.introuvable .chapeau { margin-top: 24px; font-size: 1.25rem; max-width: 30em; }
.bouton-retour {
  margin-top: 34px; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 28px; border-radius: 999px;
  background: var(--ruban); color: var(--papier); font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(179, 18, 46, .7); transition: transform .2s ease;
}
.bouton-retour:hover { transform: translateY(-2px); }

/* ===================== Pages de texte ===================== */
.scene-courte .ouverture-texte { padding-top: 40px; padding-bottom: 180px; }
.page-texte { max-width: 760px; margin: 0 auto; }
.scene-courte h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--or-pale); }
.page-texte-corps { padding-top: 40px; padding-bottom: 104px; }
.page-texte-corps h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.page-texte-corps h2:first-child { margin-top: 0; }
.page-texte-corps p + p { margin-top: 12px; }
.page-texte-corps .date { color: var(--brume); font-size: .9375rem; margin-bottom: 24px; }

/* ===================== Mouvement ===================== */
@keyframes monter { from { transform: translateY(22px) rotate(-4deg); } to { transform: rotate(-2deg); } }
@keyframes apparaitre { from { transform: translateY(14px) scale(.97); } to { transform: none; } }
.carte-liste { animation: monter .8s cubic-bezier(.2, .7, .2, 1) .2s both; }
.compteur { animation: apparaitre .7s ease-out .1s both; }
@media (hover: hover) and (pointer: fine) {
  .etape, .point, .carte-prix { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
  .etape:hover, .point:hover { transform: translateY(-6px); box-shadow: var(--ombre-haute); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neige span { animation: none; transform: translateY(var(--y-fixe, 120px)); }
  .etincelles svg, .compteur-cadeau svg, .pastille-ouverture::before { animation: none; }
  .carte-liste { animation: none; }
  .compteur { animation: none; }
  .etape, .point, .carte-prix { transition: none; }
}

/* ===================== Tablette et mobile (390 px) ===================== */
@media (max-width: 1100px) {
  :root { --marge: 40px; }
  .ouverture, .comparateur { grid-template-columns: 1fr; }
  .ouverture { padding-bottom: 240px; }
  .illustration { min-height: 0; }
  .carte-liste { margin: 110px auto 0; }
  .illustration .sapin { right: 8%; width: 160px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .carte-famille { grid-column: 1 / span 2; grid-row: auto; min-height: 260px; }
}
@media (max-width: 720px) {
  :root { --marge: 16px; }
  body { font-size: 1rem; }
  .logo { font-size: 1.3rem; }
  .logo .embleme { width: 38px; height: 38px; }
  .entete .pastille-ouverture { padding: 8px 12px; font-size: .8125rem; }
  .ouverture { padding-top: 28px; padding-bottom: 200px; gap: 24px; }
  .ouverture .chapeau { font-size: 1.0625rem; margin-top: 20px; }
  .lune { width: 70px; height: 70px; top: 84px; right: 6%; }
  .compteur { margin-top: 28px; }
  .compteur-valeur { font-size: 2.4rem; }
  .illustration .sapin { width: 120px; right: 0; top: -10px; }
  .carte-liste { margin-top: 86px; padding: 24px 18px 14px; }
  .ligne-envie { flex-direction: column; align-items: flex-start; gap: 6px; }
  .village { height: 190px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .etapes, .bento, .offres { grid-template-columns: 1fr; }
  .etapes { margin-top: 48px; gap: 36px; }
  .etapes::before { display: none; }
  .carte-famille, .bento > li:last-child { grid-column: auto; }
  .offre.meilleure { transform: none; }
  .pied nav a { display: inline-block; padding: 12px 0; }
}

/* Pied sans signature (décision de Mikaël du 2026-11-08) : les liens restent à droite. Mikael - chef de projet - 2026-11-08 */
.pied .conteneur { justify-content: flex-end; }

/* ===================== Animations de la féerie =====================
   Demande de Mikaël (2026-11-08) : la page doit être animée. Seuls transform
   et opacity sont animés (fluide sur un petit téléphone), tout est figé sous
   prefers-reduced-motion, et aucun scintillement n'est rapide (DESIGN.md).
   Mikael - chef de projet - 2026-11-08 */

/* Le traîneau traverse le ciel devant la lune, toutes les 28 secondes. */
.traineau { position: absolute; z-index: -1; pointer-events: none; top: 150px; left: 0; width: 230px; opacity: 0; animation: survoler 28s linear 2s infinite; }
@keyframes survoler {
  0%   { transform: translate3d(-260px, 40px, 0) rotate(-6deg); opacity: 0; }
  4%   { opacity: .9; }
  45%  { transform: translate3d(calc(100vw + 40px), -60px, 0) rotate(-3deg); opacity: .9; }
  46%, 100% { transform: translate3d(calc(100vw + 40px), -60px, 0); opacity: 0; }
}
.traineau .renne { animation: galoper .6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.traineau .renne + .renne { animation-delay: -.3s; }
@keyframes galoper { to { transform: translateY(-3px); } }

/* Étoile filante, une fois toutes les 11 secondes. */
.filante { position: absolute; z-index: -1; pointer-events: none; top: 70px; left: 60%; width: 160px; height: 2px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0), var(--papier)); animation: filer 11s ease-in 4s infinite; }
@keyframes filer {
  0% { transform: translate3d(0, 0, 0) rotate(-25deg); opacity: 0; }
  2% { opacity: 1; }
  8% { transform: translate3d(-420px, 196px, 0) rotate(-25deg); opacity: 0; }
  100% { opacity: 0; transform: translate3d(-420px, 196px, 0) rotate(-25deg); }
}

/* La lune respire, les fenêtres vacillent comme des bougies. */
.lune { animation: respirer 7s ease-in-out infinite; }
@keyframes respirer { 50% { transform: scale(1.04); } }
.village .fenetre { animation: vaciller 4s ease-in-out infinite alternate; }
.village .fenetre:nth-of-type(3n) { animation-duration: 5.5s; animation-delay: -1s; }
.village .fenetre:nth-of-type(4n) { animation-duration: 3.2s; animation-delay: -2s; }
@keyframes vaciller { from { opacity: .72; } to { opacity: 1; } }

/* Les sections apparaissent au fil du défilement. Elles ne sont masquées que
   si le script a posé la classe js-revelation : sans JavaScript, tout est visible.
   Mikael - chef de projet - 2026-11-08 */
.js-revelation [data-reveler] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-revelation [data-reveler].est-visible { opacity: 1; transform: none; }
.js-revelation [data-reveler]:nth-child(2) { transition-delay: .12s; }
.js-revelation [data-reveler]:nth-child(3) { transition-delay: .24s; }
.js-revelation [data-reveler]:nth-child(4) { transition-delay: .12s; }
.js-revelation [data-reveler]:nth-child(5) { transition-delay: .24s; }
.js-revelation [data-reveler]:nth-child(6) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .traineau, .filante { display: none; }
  .lune, .village .fenetre { animation: none; }
  .js-revelation [data-reveler] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 720px) {
  .traineau { width: 150px; top: 120px; }
}

/* Positions et rythmes des 40 flocons (valeurs fixes, traversée de 8 à 14 s).
   Mikael - chef de projet - 2026-11-08 */
.neige span:nth-child(1) { left: 8.3%; width: 7px; height: 7px; animation-duration: 11.0s; animation-delay: -10.4s; --y-fixe: 113px; }
.neige span:nth-child(2) { left: 83.7%; width: 5px; height: 5px; animation-duration: 10.2s; animation-delay: -4.4s; --y-fixe: 482px; }
.neige span:nth-child(3) { left: 41.3%; width: 5px; height: 5px; animation-duration: 10.4s; animation-delay: -11.8s; --y-fixe: 314px; }
.neige span:nth-child(4) { left: 95.3%; width: 5px; height: 5px; animation-duration: 8.0s; animation-delay: -7.7s; --y-fixe: 543px; }
.neige span:nth-child(5) { left: 43.1%; width: 4px; height: 4px; animation-duration: 9.9s; animation-delay: -10.5s; --y-fixe: 517px; }
.neige span:nth-child(6) { left: 4.1%; width: 7px; height: 7px; animation-duration: 9.7s; animation-delay: -2.0s; --y-fixe: 404px; }
.neige span:nth-child(7) { left: 53.7%; width: 6px; height: 6px; animation-duration: 8.7s; animation-delay: -10.7s; --y-fixe: 387px; }
.neige span:nth-child(8) { left: 62.3%; width: 4px; height: 4px; animation-duration: 12.4s; animation-delay: -9.9s; --y-fixe: 419px; }
.neige span:nth-child(9) { left: 78.2%; width: 7px; height: 7px; animation-duration: 8.6s; animation-delay: -10.1s; --y-fixe: 142px; }
.neige span:nth-child(10) { left: 47.7%; width: 6px; height: 6px; animation-duration: 14.0s; animation-delay: -6.4s; --y-fixe: 524px; }
.neige span:nth-child(11) { left: 17.2%; width: 3px; height: 3px; animation-duration: 10.3s; animation-delay: -10.9s; --y-fixe: 85px; }
.neige span:nth-child(12) { left: 60.2%; width: 5px; height: 5px; animation-duration: 10.1s; animation-delay: -4.8s; --y-fixe: 546px; }
.neige span:nth-child(13) { left: 82.8%; width: 3px; height: 3px; animation-duration: 8.3s; animation-delay: -5.9s; --y-fixe: 468px; }
.neige span:nth-child(14) { left: 65.2%; width: 5px; height: 5px; animation-duration: 11.3s; animation-delay: -8.2s; --y-fixe: 265px; }
.neige span:nth-child(15) { left: 46.9%; width: 3px; height: 3px; animation-duration: 11.2s; animation-delay: -5.0s; --y-fixe: 368px; }
.neige span:nth-child(16) { left: 59.3%; width: 3px; height: 3px; animation-duration: 9.4s; animation-delay: -8.0s; --y-fixe: 245px; }
.neige span:nth-child(17) { left: 16.1%; width: 4px; height: 4px; animation-duration: 11.8s; animation-delay: -8.8s; --y-fixe: 330px; }
.neige span:nth-child(18) { left: 51.1%; width: 3px; height: 3px; animation-duration: 11.2s; animation-delay: -2.6s; --y-fixe: 532px; }
.neige span:nth-child(19) { left: 43.9%; width: 5px; height: 5px; animation-duration: 10.0s; animation-delay: -6.5s; --y-fixe: 262px; }
.neige span:nth-child(20) { left: 74.1%; width: 4px; height: 4px; animation-duration: 8.8s; animation-delay: -3.0s; --y-fixe: 531px; }
.neige span:nth-child(21) { left: 7.1%; width: 5px; height: 5px; animation-duration: 10.2s; animation-delay: -5.9s; --y-fixe: 488px; }
.neige span:nth-child(22) { left: 9.3%; width: 5px; height: 5px; animation-duration: 13.0s; animation-delay: -11.9s; --y-fixe: 490px; }
.neige span:nth-child(23) { left: 57.8%; width: 4px; height: 4px; animation-duration: 13.6s; animation-delay: -9.2s; --y-fixe: 265px; }
.neige span:nth-child(24) { left: 49.6%; width: 6px; height: 6px; animation-duration: 14.0s; animation-delay: -8.0s; --y-fixe: 494px; }
.neige span:nth-child(25) { left: 27.8%; width: 3px; height: 3px; animation-duration: 9.5s; animation-delay: -9.9s; --y-fixe: 385px; }
.neige span:nth-child(26) { left: 72.6%; width: 5px; height: 5px; animation-duration: 11.4s; animation-delay: -3.1s; --y-fixe: 172px; }
.neige span:nth-child(27) { left: 59.1%; width: 4px; height: 4px; animation-duration: 11.3s; animation-delay: -13.8s; --y-fixe: 560px; }
.neige span:nth-child(28) { left: 92.6%; width: 6px; height: 6px; animation-duration: 11.4s; animation-delay: -0.2s; --y-fixe: 466px; }
.neige span:nth-child(29) { left: 76.8%; width: 7px; height: 7px; animation-duration: 13.1s; animation-delay: -12.4s; --y-fixe: 499px; }
.neige span:nth-child(30) { left: 19.6%; width: 5px; height: 5px; animation-duration: 10.8s; animation-delay: -12.8s; --y-fixe: 300px; }
.neige span:nth-child(31) { left: 33.3%; width: 3px; height: 3px; animation-duration: 9.6s; animation-delay: -0.6s; --y-fixe: 335px; }
.neige span:nth-child(32) { left: 40.1%; width: 3px; height: 3px; animation-duration: 13.1s; animation-delay: -5.9s; --y-fixe: 386px; }
.neige span:nth-child(33) { left: 69.9%; width: 4px; height: 4px; animation-duration: 13.9s; animation-delay: -4.1s; --y-fixe: 255px; }
.neige span:nth-child(34) { left: 50.9%; width: 6px; height: 6px; animation-duration: 8.8s; animation-delay: -1.1s; --y-fixe: 81px; }
.neige span:nth-child(35) { left: 7.2%; width: 3px; height: 3px; animation-duration: 10.8s; animation-delay: -6.0s; --y-fixe: 194px; }
.neige span:nth-child(36) { left: 60.6%; width: 6px; height: 6px; animation-duration: 13.3s; animation-delay: -9.0s; --y-fixe: 196px; }
.neige span:nth-child(37) { left: 95.7%; width: 5px; height: 5px; animation-duration: 11.1s; animation-delay: -13.1s; --y-fixe: 197px; }
.neige span:nth-child(38) { left: 68.2%; width: 4px; height: 4px; animation-duration: 9.1s; animation-delay: -10.5s; --y-fixe: 224px; }
.neige span:nth-child(39) { left: 15.6%; width: 5px; height: 5px; animation-duration: 10.4s; animation-delay: -0.8s; --y-fixe: 376px; }
.neige span:nth-child(40) { left: 35.3%; width: 5px; height: 5px; animation-duration: 8.7s; animation-delay: -5.3s; --y-fixe: 161px; }
