/* ============================================================
   UN MIRACLE POUR NOËL — Les scènes
   Hero (la ville qui s'éveille), le conte, la lecture, la
   branche des éditions, le voyage d'un cadeau, les 600
   fenêtres, l'atelier, la carte, les portes de l'avent, la
   fiche, les collectes, l'équipe, le courrier, la finale.
   ============================================================ */

:root { interpolate-size: allow-keywords; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 22vh;
  overflow: hidden;
}
.hero__scene {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--scene-fade)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--scene-fade)), transparent);
}

.moon { position: absolute; top: 14%; right: 12%; width: clamp(90px, 11vw, 160px); aspect-ratio: 1; translate: var(--mx, 0) var(--my, 0); transition: translate 1.2s var(--ease); }
.moon__glow { position: absolute; inset: -120%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 210, .28) 0%, rgba(243, 200, 115, .08) 35%, rgba(243, 200, 115, 0) 62%); }
.moon__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 62% 58%, rgba(205, 196, 170, .55) 0 9%, transparent 10%),
    radial-gradient(circle at 38% 66%, rgba(205, 196, 170, .45) 0 6%, transparent 7%),
    radial-gradient(circle at 70% 32%, rgba(205, 196, 170, .4) 0 5%, transparent 6%),
    #FFF6DE;
  box-shadow: 0 0 40px rgba(255, 240, 210, .6), 0 0 120px rgba(243, 200, 115, .35);
}

/* Le traîneau : silhouette sombre qui passe devant la lune,
   une traînée d'or derrière lui. Vol piloté par le JS. */
.sleigh {
  position: absolute; left: 0; top: 0; width: clamp(150px, 16vw, 240px);
  overflow: visible; transform-origin: 0 0;
  fill: #0A0F2A; stroke: #0A0F2A;
  opacity: 0; will-change: transform;
  filter: drop-shadow(0 0 1px rgba(255, 240, 210, .5));
}
.sleigh.fly { opacity: 1; }
.deer__nose { fill: #FF4D5E; stroke: none; filter: drop-shadow(0 0 4px #FF4D5E); }
/* Placement, orientation et articulations utilisent des groupes distincts. */
.sleigh__facing, .deer, .deer__leg, .deer__shin { transform-origin: 0 0; }
.sleigh--return .sleigh__facing { transform: translateX(220px) scaleX(-1); }
.deer__leg, .deer__antlers { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.deer__leg--far { stroke-opacity: .65; }
.sleigh-trail { position: absolute; inset: 0; pointer-events: none; }
.sleigh-light {
  position: absolute; left: 0; top: 0; width: 6px; height: 6px;
  border-radius: 50%; visibility: hidden; pointer-events: none;
  background: radial-gradient(circle, var(--gold) 0 1.25px, rgba(243, 200, 115, .22) 1.5px, transparent 3px);
  opacity: .9; will-change: transform;
}
.sleigh-light.is-lit { visibility: visible; }
.motion-paused .sleigh, .motion-paused .sleigh-trail { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sleigh, .sleigh-trail { display: none; }
}

.city { position: absolute; left: -4%; right: -4%; bottom: 0; translate: var(--px, 0) 0; transition: translate 1.4s var(--ease); }
.city svg { width: 100%; height: 100%; }
.city--back { height: 36%; opacity: .7; bottom: 4%; }
.city--front { height: 29%; }
.city .house { fill: #0B1130; }
.city--back .house { fill: #10183F; }
.city .roofsnow { fill: #E6EEFF; opacity: .9; }
.city--back .roofsnow { opacity: .45; }
.city .win { fill: #1A2254; transition: fill .9s var(--ease); }
.city .win.lit { fill: #FFC27A; }
.city--front .win.lit { filter: drop-shadow(0 0 3px rgba(255, 176, 103, .9)); }
.city .tree { fill: #0D2A26; }
.city .treelight { fill: var(--gold); opacity: 0; transition: opacity .6s; }
.city .treelight.lit { opacity: 1;  animation-delay: var(--dl, 0s); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.city .belfry-clock { fill: #FFE7B0; filter: drop-shadow(0 0 6px rgba(255, 220, 150, .9)); }

.hero__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, rgba(220, 232, 255, .22) 0%, rgba(6, 9, 24, 0) 100%); }

/* Un voile de nuit derrière le texte : la ville brille, le texte se lit. */
.hero__center::before { content: ''; position: absolute; inset: -12% -18%; z-index: -1; background: radial-gradient(closest-side, rgba(6, 9, 24, .72) 0%, rgba(6, 9, 24, .4) 55%, rgba(6, 9, 24, 0) 100%); pointer-events: none; }
.hero__center { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; padding-inline: 20px; }
.hero__eyebrow { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(243, 200, 115, .25); background: rgba(6, 9, 24, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__title { margin-top: 26px; display: grid; justify-items: center; line-height: .92; }
.hero__l1 { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: clamp(3.2rem, 10.5vw, 9.4rem); letter-spacing: -.045em; display: block; white-space: nowrap; text-shadow: 0 0 60px rgba(191, 216, 255, .25); }
.hero__l1 .ch { display: inline-block; }
.hero__l1 .sp { display: inline-block; width: .26em; }
.hero__l2 { font-size: clamp(3rem, 9.6vw, 8.6rem); line-height: 1.05; margin-top: -.06em; padding: 0 .1em .08em; filter: drop-shadow(0 0 28px rgba(243, 200, 115, .35)); }
.hero__lead { max-width: 620px; margin-top: 26px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
/* L'entrée du hero : les lettres tombent comme des flocons, puis tout se pose. */
.js .hero__l1 .ch { opacity: 0; transform: translateY(-60px) rotate(calc(var(--r, 0) * 1deg)); }
.js .hero__l2, .js .hero__eyebrow, .js .hero__lead, .js .hero__center .hero__ctas { opacity: 0; transform: translateY(18px); }
.hero.go .hero__l1 .ch { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.3s var(--snap); transition-delay: calc(.2s + var(--i) * .06s); }
.hero.go .hero__eyebrow { opacity: 1; transform: none; transition: all 1s var(--ease) 0s; }
.hero.go .hero__l2 { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) .9s, transform 1.4s var(--ease) .9s; }
.hero.go .hero__lead { opacity: 1; transform: none; transition: all 1s var(--ease) 1.3s; }
.hero.go .hero__center .hero__ctas { opacity: 1; transform: none; transition: all 1s var(--ease) 1.5s; }

/* Le contenu se pose durant les 600 dernières ms de la traversée, sans cascade héritée. */
.js .hero.journey-arrival:not(.go) .hero__l1 .ch { transform: translateY(8px); }
.hero.journey-arrival.go .hero__l1 .ch,
.hero.journey-arrival.go .hero__l2,
.hero.journey-arrival.go .hero__eyebrow,
.hero.journey-arrival.go .hero__lead,
.hero.journey-arrival.go .hero__center .hero__ctas {
  transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: 0s;
}
.hero.journey-arrival.go .hero__lead { transition-delay: .05s; }
.hero.journey-arrival.go .hero__center .hero__ctas { transition-delay: .1s; }
.hero.go.arrived .hero__l1 .ch, .hero.go.arrived .hero__l2, .hero.go.arrived .hero__eyebrow,
.hero.go.arrived .hero__lead, .hero.go.arrived .hero__center .hero__ctas { opacity: 1; transform: none; transition: none; }

/* ============================================================
   NOTRE HISTOIRE — le livre ouvert
   ============================================================ */
.histoire__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.book { position: relative; perspective: 1400px; }
.book__page {
  position: relative; padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(135deg, #FBF6EC 0%, #F4EAD5 100%);
  color: var(--ink-dark); border-radius: 6px 22px 22px 6px;
  box-shadow: -14px 0 0 -6px #E2D3B5, -26px 0 0 -10px #D4C2A0, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(243, 200, 115, .5);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 1.2s var(--ease);
}
.book:hover .book__page { transform: rotateY(-2deg) rotateX(0); }
.book__page::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(168, 36, 58, .18); border-radius: 4px 16px 16px 4px; pointer-events: none; }
.book__text { font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.75; color: #2E2A3E; }
.book__text + .book__text { margin-top: 1em; }
.book__text--end { font-weight: 500; }
.book__text .gold { color: var(--red-deep); font-size: 1.25em; }
.drop { float: left; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 4.6em; line-height: .78; margin: .08em .12em 0 0; color: var(--red); }
.book__seal { position: absolute; right: -18px; bottom: -22px; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #E25566, #8E1B2E 70%); display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .6), inset 0 0 0 4px rgba(255, 255, 255, .08); transform: rotate(-12deg); }
.book__seal svg { width: 44px; height: 44px; filter: brightness(0) invert(1) opacity(.85); }

/* ============================================================
   LA LECTURE — chaque ligne s'allume au scroll
   ============================================================ */
.lecture { height: 220vh; position: relative; }
.lecture__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; }
.lecture__body { display: grid; gap: .3em; text-align: center; }
.lline {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: clamp(2rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em;
  opacity: .12; transform: scale(.97); transition: opacity .8s var(--ease), transform .8s var(--ease), text-shadow .8s;
}
.lline em { font-size: 1.08em; }
.lline.on { opacity: 1; transform: none; text-shadow: 0 0 40px rgba(243, 200, 115, .25); }

/* ============================================================
   LES ÉDITIONS — boules suspendues à une branche
   ============================================================ */
.branch { position: relative; margin-top: 70px; }
.branch__wood { position: absolute; left: -4%; right: -4%; top: 0; width: 108%; height: 70px; }
.branch__wood path { fill: none; stroke: #3A2A1C; stroke-width: 7; stroke-linecap: round; }
.branch__wood .branch__needles { stroke: #1E6B52; stroke-width: 18; stroke-dasharray: 2 5; opacity: .85; }
.baubles { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; padding-top: 26px; }
.bauble { display: flex; flex-direction: column; align-items: center; position: relative; --anchor-rest: 9px; }
.bauble:nth-child(2) { --anchor-rest: 13px; }
.bauble:nth-child(3) { --anchor-rest: 11px; }
.bauble:nth-child(4) { --anchor-rest: 4px; }
.bauble:nth-child(5) { --anchor-rest: 0px; }
.bauble:nth-child(6) { --anchor-rest: 3px; }
.bauble__suspension { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; transform: translateY(var(--anchor-y, var(--anchor-rest))) rotate(var(--swing, 0deg)); }
.bauble__suspension::before { content: ''; width: 1.5px; height: var(--h); flex-shrink: 0; background: linear-gradient(var(--gold), rgba(243, 200, 115, .4)); }
.bauble__ball {
  position: relative; width: clamp(78px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; padding: 0; flex-shrink: 0; isolation: isolate;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .7) 0 6%, rgba(255, 255, 255, 0) 30%), radial-gradient(circle at 50% 50%, var(--c) 0%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--c) 70%, transparent), inset -6px -10px 20px rgba(0, 0, 0, .35);
}
.bauble__ball::before { content: ''; position: absolute; top: -9px; width: 20px; height: 12px; border-radius: 3px; background: linear-gradient(90deg, #B8892F, #F3C873, #B8892F); }
.bauble__ball b { font-family: 'Outfit'; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.3rem); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

.bauble__label { margin-top: calc(24px + var(--anchor-rest)); text-align: center; font-size: .9rem; color: var(--ink-soft); max-width: 160px; line-height: 1.45; }
.bauble__label strong { color: var(--ink); }
.bauble--big .bauble__ball { width: clamp(92px, 11vw, 136px); }
.bauble--now .bauble__ball { box-shadow: 0 0 0 0 rgba(243, 200, 115, .6), 0 0 60px rgba(243, 200, 115, .6);  }
.bauble--now .bauble__ball b { color: #2A1606; text-shadow: none; }

/* ============================================================
   LE VOYAGE D'UN CADEAU — scène épinglée
   ============================================================ */
.voyage { height: 300vh; position: relative; }
.voyage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding-top: var(--nav-h); }
.voyage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.vsteps { list-style: none; margin-top: 34px; display: grid; gap: 6px; position: relative; }
.vsteps::before { content: ''; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 1.5px; background: var(--line-strong); }
.vstep { display: grid; grid-template-columns: 24px 1fr; gap: 18px; padding: 12px 0; opacity: 1; transition: opacity .6s var(--ease); }
.vstep.is-on { opacity: 1; }
.vstep__bulb { position: relative; z-index: 1; width: 24px; height: 24px; margin-top: 3px; border-radius: 50% 50% 46% 46%; background: #2A3160; border: 1.5px solid var(--line-strong); transition: background .6s, box-shadow .6s, border-color .6s; }
.vstep__bulb::before { content: ''; position: absolute; top: -6px; left: 7px; width: 8px; height: 6px; border-radius: 2px; background: #6D7398; }
.vstep.is-on .vstep__bulb { background: var(--bc, var(--gold)); border-color: transparent; box-shadow: 0 0 12px var(--bc, var(--gold)), 0 0 30px var(--bc, var(--gold)); }
.vstep:nth-child(1) { --bc: #FF5A6A; } .vstep:nth-child(2) { --bc: #F3C873; } .vstep:nth-child(3) { --bc: #6FD3A8; } .vstep:nth-child(4) { --bc: #9CC2FF; }
.vstep__title { font-family: 'Outfit'; font-weight: 600; font-size: 1.24rem; }
.vstep__text { color: var(--ink-soft); font-size: .98rem; margin-top: 4px; max-width: 440px; display: grid; grid-template-rows: 1fr; transition: all .6s var(--ease); }

.vstage { position: relative; height: min(560px, 68vh); max-width: 520px; width: 100%; justify-self: center; }
.vstage__halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(243, 200, 115, .16) 0%, rgba(243, 200, 115, 0) 65%); transition: background 1s; }
.vstage[data-step="3"] .vstage__halo { background: radial-gradient(circle, rgba(255, 230, 170, .38) 0%, rgba(243, 200, 115, 0) 70%); }

.fiche {
  position: absolute; left: 0; top: 4%; width: min(360px, 82%);
  padding: 24px 24px 20px; border-radius: 18px;
  background: linear-gradient(160deg, #FBF6EC 0%, #F1E5CC 100%); color: var(--ink-dark);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .4) inset;
  transform: rotate(-3deg);
  transition: transform 1s var(--snap), opacity .8s;
}
.vstage[data-step="2"] .fiche, .vstage[data-step="3"] .fiche { transform: rotate(-6deg) translate(-4%, -6%) scale(.88); }
.fiche__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fiche__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-family: 'Outfit'; font-weight: 600; font-size: .8rem;
  background: #FFE1E4; color: #A8243A; transition: background .5s, color .5s;
}
.fiche__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;  }
.vstage[data-step="1"] .fiche__status { background: #FCEFC9; color: #8A5A0E; }
.vstage[data-step="2"] .fiche__status { background: #D8F3E5; color: #17604A; }
.vstage[data-step="3"] .fiche__status { background: #DCE8FF; color: #27449A; }
.fiche__num { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dark-mu); }
.fiche__name { margin-top: 18px; font-family: 'Outfit'; font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; }
.fiche__name span { font-weight: 400; color: var(--ink-dark-mu); font-size: .7em; }
.fiche__wish { font-size: 1.32rem; color: #A8243A; line-height: 1.3; margin-top: 6px; }
.fiche__meta { margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(27, 26, 46, .2); display: grid; gap: 4px; }
.fiche__meta div { display: flex; justify-content: space-between; font-size: .82rem; }
.fiche__meta dt { color: var(--ink-dark-mu); }
.fiche__meta dd { font-weight: 500; }
.fiche__lutin { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(217, 58, 75, .08); max-height: 0; opacity: 0; overflow: hidden; padding-block: 0; transition: all .8s var(--snap); }
.vstage:not([data-step="0"]) .fiche__lutin { max-height: 70px; opacity: 1; padding-block: 10px; }
.fiche__hat { width: 32px; height: 32px; flex: none; transform: scale(0) rotate(-40deg); transition: transform .8s var(--snap) .2s; }
.vstage:not([data-step="0"]) .fiche__hat { transform: none; }
.fiche__lutin-txt { font-size: .9rem; }

.vgift { position: absolute; right: 4%; bottom: 14%; width: min(230px, 46%); opacity: 0; transform: translateY(40px) scale(.6) rotate(8deg); transition: all 1.1s var(--snap); z-index: 2; }
.vstage[data-step="2"] .vgift { opacity: 1; transform: none; }
.vstage[data-step="3"] .vgift { opacity: 1; transform: translateY(-30px) scale(1.06); filter: drop-shadow(0 0 30px rgba(255, 220, 150, .7)); }
.vsled {
  position: absolute; right: 0; bottom: 6%; width: min(290px, 58%); height: 54px;
  border-radius: 14px 14px 40px 40px / 14px 14px 30px 30px;
  background: linear-gradient(180deg, #D93A4B, #8E1B2E); box-shadow: 0 -2px 0 #F3C873 inset, 0 20px 40px -14px rgba(0, 0, 0, .7);
  display: grid; place-items: center; font-family: 'Outfit'; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #FFE7B0;
  opacity: 0; transform: translateX(60%); transition: all 1s var(--ease);
}
.vsled::after { content: ''; position: absolute; left: -6%; right: -10%; bottom: -12px; height: 6px; border-radius: 0 0 8px 0; border: 3px solid var(--gold); border-top: 0; border-left: 0; }
.vstage[data-step="2"] .vsled { opacity: 1; transform: none; }
.vstage[data-step="3"] .vsled { opacity: 0; transform: translateX(-30%); }

/* ============================================================
   600 FENÊTRES
   ============================================================ */
.impact { height: 230vh; position: relative; }
.impact__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 4vh) 0 5vh; overflow: hidden; }
.impact__head { text-align: center; }
.impact__count { font-family: 'Outfit'; font-weight: 600; font-size: clamp(4.4rem, 13vw, 10rem); line-height: .95; letter-spacing: -.05em; margin-top: 10px; font-variant-numeric: tabular-nums; background: var(--grad-gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; background-position: 35% 0; filter: drop-shadow(0 0 40px rgba(243, 200, 115, .3)); }
.impact__plus { display: inline-block; color: var(--gold); -webkit-text-fill-color: var(--gold); opacity: 0; transform: scale(0) rotate(-90deg); transition: all .8s var(--snap); }
.impact__plus.on { opacity: 1; transform: none; }
.impact__sub { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-soft); }
.impact__sub .serif { font-size: 1.2em; }
.village { position: relative; min-height: 0; display: grid; align-items: end; }
.village svg { width: 100%; height: 100%; }
.village .house { fill: #0D1438; }
.village .roofsnow { fill: #E6EEFF; opacity: .85; }
.village .win { fill: #19214F; }
.village .win.lit { fill: #FFC27A; }
.village svg { filter: drop-shadow(0 0 10px rgba(255, 176, 103, var(--glow, 0))); }
.impact__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.stat { display: grid; gap: 2px; text-align: center; }
.stat b { font-family: 'Outfit'; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--ink); }
.stat span { font-size: .86rem; color: var(--ink-mute); }

/* ============================================================
   L'ATELIER — la démo jouable
   ============================================================ */
.atelier__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.rules { list-style: none; counter-reset: r; margin-top: 30px; display: grid; gap: 14px; }
.rules li { counter-increment: r; position: relative; padding-left: 46px; color: var(--ink-soft); }
.rules li::before { content: counter(r); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: 'Outfit'; font-weight: 600; font-size: .86rem; color: var(--gold); border: 1px solid rgba(243, 200, 115, .4); background: rgba(243, 200, 115, .06); }
.rules b { color: var(--ink); font-weight: 600; }

.workshop {
  position: relative; padding: 28px; border-radius: 28px;
  background: radial-gradient(90% 60% at 50% 30%, rgba(255, 176, 103, .16) 0%, rgba(255, 176, 103, 0) 70%), linear-gradient(180deg, rgba(18, 26, 68, .85) 0%, rgba(10, 16, 48, .9) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  display: grid; gap: 20px;
}
.workshop__bench { position: relative; height: 330px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(233, 220, 196, .1) 70%, rgba(233, 220, 196, .04) 100%); }
.wgift { position: absolute; left: 50%; top: -14px; width: 330px; translate: -50% 0; transform-origin: 50% 66%; transition: transform 1s var(--gather), opacity .4s var(--ease); }
.wgift svg { width: 100%; overflow: visible; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.wgift__box-txt { font-family: 'Outfit'; font-size: 9px; letter-spacing: .2em; fill: #8A6A3E; }
.wgift__paper { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.wgift__ribbon { fill: none; stroke: #F3C873; stroke-width: 11; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.wgift__ribbon + .wgift__ribbon { transition-delay: .4s; }
.wgift__bow { fill: #F3C873; stroke: #F3C873; transform-box: fill-box; transform-origin: 50% 80%; transform: scale(0); transition: transform .8s var(--snap) .9s; }
.wtag {
  position: absolute; right: -14px; top: 168px; width: 150px; padding: 12px 12px 10px 22px;
  background: #FBF6EC; color: var(--ink-dark); border-radius: 4px 10px 10px 4px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .4);
  transform-origin: 0 50%; transform: rotate(-30deg) scale(0); opacity: 0;
  transition: transform .9s var(--snap), opacity .4s;
  display: grid; gap: 2px;
}
.wtag__hole { position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #A8243A; }
.wtag__line { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1rem; line-height: 1.25; min-height: 1.25em; white-space: nowrap; }
.wtag__line:first-of-type { font-size: 1.2rem; color: #A8243A; }
.wtag__line + .wtag__line { font-family: 'Plus Jakarta Sans'; font-style: normal; font-size: .7rem; color: var(--ink-dark-mu); }

.workshop[data-stage="1"] .wgift__paper, .workshop[data-stage="2"] .wgift__paper, .workshop[data-stage="3"] .wgift__paper, .workshop[data-stage="4"] .wgift__paper { clip-path: inset(0 0 0 0); }
.workshop[data-stage="2"] .wgift__ribbon, .workshop[data-stage="3"] .wgift__ribbon, .workshop[data-stage="4"] .wgift__ribbon { stroke-dashoffset: 0; }
.workshop[data-stage="2"] .wgift__bow, .workshop[data-stage="3"] .wgift__bow, .workshop[data-stage="4"] .wgift__bow { transform: none; }
.workshop[data-stage="3"] .wtag, .workshop[data-stage="4"] .wtag { transform: rotate(6deg); opacity: 1; }
/* Le cadeau attend que le traîneau soit là, tombe dedans, et part avec lui. */
.workshop[data-stage="4"] .wgift { transform: translateY(78px) scale(.3); opacity: 0; transition: transform 1s var(--gather) .35s, opacity .35s var(--ease) 1.3s; }

.wsled { position: absolute; bottom: 10px; left: 0; width: 220px; transform: translateX(-260px); }
.workshop.sled-go .wsled { animation: sled-pass 3.2s var(--gather) forwards; }
@keyframes sled-pass { 0% { transform: translateX(-260px); } 40% { transform: translateX(calc(var(--bench, 480px) / 2 - 110px)) translateY(-4px); } 62% { transform: translateX(calc(var(--bench, 480px) / 2 - 110px)); } 100% { transform: translateX(calc(var(--bench, 480px) + 40px)) translateY(-60px) rotate(-8deg); } }

.workshop__tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wtool {
  display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(248, 245, 238, .03);
  font-family: 'Outfit'; font-weight: 500; font-size: .86rem; color: var(--ink-soft);
  transition: all .4s var(--ease);
}
.wtool__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; border: 1px solid var(--line-strong); }
.wtool:disabled { opacity: .35; cursor: not-allowed; }
.wtool.is-done:disabled { opacity: 1; cursor: default; }
.wtool.is-next { color: #2A1606; background: var(--grad-cta); border-color: transparent; box-shadow: 0 10px 30px -10px rgba(243, 200, 115, .8);  }
.wtool.is-next .wtool__n { border-color: rgba(42, 22, 6, .3); }
.wtool.is-done { color: var(--fir-light); border-color: rgba(63, 174, 132, .35); }
.wtool.is-done .wtool__n { background: var(--fir-light); border-color: transparent; color: var(--night); }
.wtool:not(:disabled):not(.is-done):hover { transform: translateY(-2px); }
.workshop__status { text-align: center; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1.28rem; color: var(--ink-soft); min-height: 1.6em; }
.workshop__replay { justify-self: center; font-size: .86rem; color: var(--gold); border-bottom: 1px solid rgba(243, 200, 115, .4); padding-bottom: 2px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.workshop.done .workshop__replay { opacity: 1; pointer-events: auto; }

/* ============================================================
   TRAÎNEAUX RELAIS — la carte
   ============================================================ */
.traineaux__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.relais { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.relais button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: 'Outfit'; font-size: .98rem; transition: all .35s var(--ease); }
.relais button small { color: var(--ink-mute); font-size: .78rem; }
.relais button:hover, .relais button.is-on { border-color: rgba(243, 200, 115, .6); background: rgba(243, 200, 115, .08); color: var(--gold); }
.relais__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.map { position: relative; padding: 18px; border-radius: 28px; background: linear-gradient(180deg, rgba(18, 26, 68, .6), rgba(10, 16, 48, .5)); border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: rgba(191, 216, 255, .05); stroke: rgba(191, 216, 255, .18); stroke-width: 1.4; stroke-dasharray: 3 6; }
.map__river { fill: none; stroke: rgba(120, 170, 255, .35); stroke-width: 3; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .7;  }
.map__town circle { fill: rgba(248, 245, 238, .6); }
.map__town text, .map__lille text, .map__pin text { font-family: 'Outfit', sans-serif; font-size: 17px; fill: var(--ink-mute); }
.map__lille use { color: #FFF1CC; filter: drop-shadow(0 0 8px var(--gold)); }
.map__lille text { fill: var(--ink); font-weight: 600; font-size: 20px; }
.map__pin { cursor: pointer; outline: none; }
.map__pin text { fill: var(--gold); font-weight: 600; font-size: 19px; transition: font-size .3s; }
.map__dot { fill: var(--gold); filter: drop-shadow(0 0 6px var(--gold)); transition: transform .4s var(--snap); }
.map__pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map__pin.is-on .map__dot, .map__pin:hover .map__dot, .map__pin:focus-visible .map__dot { transform: scale(1.5); }
.map__pin.is-on text { font-size: 23px; }
.map__legend { display: flex; gap: 22px; justify-content: center; margin-top: 8px; font-size: .82rem; color: var(--ink-mute); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 9px; height: 9px; border-radius: 50%; }
.lg--relais { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.lg--town { background: rgba(248, 245, 238, .6); }

/* ============================================================
   LE CALENDRIER — les portes de l'avent
   ============================================================ */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.door { position: relative; height: 290px; perspective: 1200px; text-align: left; border-radius: 18px; }
.door__back { position: absolute; inset: 0; border-radius: 18px; padding: 26px 22px; display: grid; align-content: end; gap: 8px; background: radial-gradient(120% 80% at 50% 0%, rgba(255, 220, 150, .3) 0%, rgba(255, 220, 150, 0) 60%), linear-gradient(180deg, #FBF6EC, #EFE2C6); color: var(--ink-dark); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.door__back b { font-family: 'Outfit'; font-weight: 600; font-size: 1.3rem; color: var(--red-deep); }
.door__back span { font-size: .94rem; line-height: 1.5; color: #3D3A52; }
.door__front {
  position: absolute; inset: 0; border-radius: 18px; transform-origin: 0 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #C8293D 0%, #8E1B2E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 10px rgba(0, 0, 0, .06), inset 0 0 0 11px rgba(243, 200, 115, .4), 0 30px 60px -30px rgba(0, 0, 0, .8);
  display: grid; place-items: center; align-content: center; gap: 6px;
  transition: transform .65s var(--ease), box-shadow .65s var(--ease);
  backface-visibility: hidden;
}
.door-item:nth-child(2) .door .door__front { background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #23805F 0%, #124636 100%); }
.door-item:nth-child(3) .door .door__front { background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #3E57B8 0%, #1F2C6E 100%); }
.door--gold .door__front { background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #F3C873 0%, #C08A2C 100%); }
.door__front::after { content: ''; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF1CC, #C08A2C); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.door__num { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 5rem; line-height: 1; color: #FFE7B0; text-shadow: 0 0 30px rgba(255, 231, 176, .6); }
.door__num svg { width: 64px; height: 64px; color: #FFF6DE; filter: drop-shadow(0 0 12px #fff); }
.door__hint { font-family: 'Outfit'; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 231, 176, .8); }
.door--gold .door__hint { color: #5A3A0A; }
.door:hover .door__front { transform: rotateY(-14deg); }
.door[aria-expanded="true"] .door__front { transform: rotateY(-108deg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), -30px 30px 60px -30px rgba(0, 0, 0, .8); }

/* ============================================================
   ASSOCIATIONS — la grande étiquette
   ============================================================ */
.assoc__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.assoc__tag { display: grid; place-items: center; }
.bigtag {
  position: relative; width: min(400px, 100%); padding: 40px 34px 34px 64px;
  background: linear-gradient(170deg, #EFE2C6 0%, #E2CFAB 100%); color: var(--ink-dark);
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 44px 100%, 0 50%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
  transform: rotate(-5deg); transform-origin: 0 50%;

}
.bigtag__hole { position: absolute; left: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 3px #C9A77A; }
.bigtag__title { font-size: 1.8rem; color: var(--red-deep); }
.bigtag__fields { list-style: none; margin-top: 16px; display: grid; gap: 14px; }
.bigtag__fields li { display: grid; gap: 4px; }
.bigtag__fields span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dark-mu); }
.bigtag__fields i { height: 1.5px; background: repeating-linear-gradient(90deg, rgba(27, 26, 46, .35) 0 4px, transparent 4px 8px); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease); }
.settle.in .bigtag__fields li:nth-child(1) i { transform: none; transition-delay: .4s; }
.settle.in .bigtag__fields li:nth-child(2) i { transform: none; transition-delay: .55s; }
.settle.in .bigtag__fields li:nth-child(3) i { transform: none; transition-delay: .7s; }
.settle.in .bigtag__fields li:nth-child(4) i { transform: none; transition-delay: .85s; }
.settle.in .bigtag__fields li:nth-child(5) i { transform: none; transition-delay: 1s; }
.assoc__trust { margin-top: 18px; color: var(--ink-soft); max-width: 540px; padding: 16px 20px; border-left: 2px solid var(--gold); background: rgba(243, 200, 115, .05); border-radius: 0 12px 12px 0; }
.assoc__trust b { color: var(--gold); }

/* ============================================================
   ENTREPRISES & ÉQUIPE — compositions éditoriales
   ============================================================ */
.ecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.ecard {
  position: relative; padding: 32px 28px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 40, 96, .7) 0%, rgba(14, 20, 56, .7) 100%);
  border: 1px solid var(--line-strong);
}
.ecard::after { content: ''; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 200, 115, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ecard:hover::after { opacity: 1; }
.ecard__big { font-family: 'Outfit'; font-weight: 600; font-size: 4.2rem; line-height: 1; letter-spacing: -.04em; background: var(--grad-gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; background-position: 35% 0; }
.ecard__icon { display: block; width: 58px; height: 58px; color: var(--gold); filter: drop-shadow(0 0 10px rgba(243, 200, 115, .4)); }
.ecard__title { font-family: 'Outfit'; font-weight: 600; font-size: 1.3rem; margin-top: 18px; }
.ecard p { color: var(--ink-soft); margin-top: 8px; font-size: .96rem; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.tcard {
  position: relative; padding: 34px 28px 32px; border-radius: 26px; overflow: hidden; text-align: center;
  background: linear-gradient(170deg, color-mix(in srgb, var(--tc) 30%, #0E1438) 0%, #0B1030 70%);
  border: 1px solid rgba(243, 200, 115, .28);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), inset 0 0 0 6px rgba(6, 9, 24, .5), inset 0 0 0 7px rgba(243, 200, 115, .16);
}

.tcard__role { margin-top: 22px; font-family: 'Outfit'; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); transform: translateZ(20px); }
.tcard__name { font-family: 'Outfit'; font-weight: 600; font-size: 2rem; letter-spacing: -.02em; margin-top: 4px; transform: translateZ(30px); }
.tcard__txt { color: var(--ink-soft); font-size: .96rem; margin-top: 12px; transform: translateZ(10px); }

/* ============================================================
   FAQ — le courrier
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; border: 1px solid var(--line); background: rgba(14, 20, 56, .5); transition: border-color .4s, background .4s; }
.qa[open] { border-color: rgba(243, 200, 115, .35); background: rgba(20, 28, 72, .7); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 24px; font-family: 'Outfit'; font-weight: 500; font-size: 1.1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 16px; height: 16px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.4 2.8 8.4 12 12-9.2 3.6-11.2 5.6-12 12-.8-6.4-2.8-8.4-12-12 9.2-3.6 11.2-5.6 12-12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 6.4 2.8 8.4 12 12-9.2 3.6-11.2 5.6-12 12-.8-6.4-2.8-8.4-12-12 9.2-3.6 11.2-5.6 12-12z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .6s var(--snap); }
.qa[open] summary::after { transform: rotate(135deg) scale(1.2); }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .25s var(--ease), content-visibility .25s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 24px 22px; color: var(--ink-soft); }
.qa__a a { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .histoire__grid, .atelier__grid, .traineaux__grid, .assoc__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .doors { grid-template-columns: repeat(2, 1fr); }
  .ecards, .team { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .baubles { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .bauble:nth-child(n) { --anchor-rest: 0px; }
  .branch__wood { display: none; }
  .bauble__suspension::before { height: calc(var(--h) * .5); }
  .assoc__tag { order: 2; }
}

@media (max-width: 860px) {
  /* Le voyage, sur téléphone : la scène en haut, l'étape en cours en dessous. */
  .voyage__grid { grid-template-columns: 1fr; gap: 10px; }
  .voyage__copy .h2 { font-size: 1.9rem; }
  .voyage__copy .eyebrow { display: none; }
  .vsteps { margin-top: 14px; }
  .vstep { padding: 4px 0; }
  .vstep__title { font-size: 1.02rem; }
  .vstep__text { font-size: .9rem; max-height: 0; overflow: hidden; opacity: 0; transition: all .5s var(--ease); }
  .vstep.is-current .vstep__text { max-height: 120px; opacity: 1; }
  .vstage { order: -1; height: 40vh; max-width: 400px; }
  .fiche { padding: 16px 16px 14px; }
  .fiche__name { font-size: 1.4rem; margin-top: 10px; }
  .fiche__wish { font-size: 1.08rem; }
  .fiche__meta { display: none; }
  .impact__stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}

@media (max-width: 600px) {
  .hero__l1 { font-size: clamp(2.8rem, 15vw, 5rem); }
  .hero__l2 { font-size: clamp(2.6rem, 14vw, 4.6rem); }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .moon { top: calc(var(--nav-h) + 8px); right: 7%; width: 46px; }
  .hero__eyebrow { font-size: .66rem; letter-spacing: .14em; padding: 7px 12px; white-space: nowrap; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas { width: 100%; max-width: 340px; }
  .doors { grid-template-columns: 1fr 1fr; gap: 12px; }
  .door { height: 220px; }
  .door__back { padding: 16px 14px; }
  .door__back b { font-size: 1.05rem; }
  .door__back span { font-size: .82rem; }
  .door__num { font-size: 3.6rem; }
  .workshop { padding: 18px; }
  .workshop__bench { height: 290px; }
  .wgift { width: 280px; top: 0; }
  .wtag { top: 138px; width: 128px; right: -4px; }
  .workshop__tools { grid-template-columns: repeat(2, 1fr); }
  .baubles { grid-template-columns: repeat(2, 1fr); }
  .bigtag { padding: 30px 22px 26px 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .lecture { height: auto; }
  .lecture__pin { position: static; height: auto; padding: 100px 0; }
  .lline { opacity: 1; }
  .js .hero__l1 .ch, .js .hero__l2, .js .hero__eyebrow, .js .hero__lead, .js .hero__center .hero__ctas { opacity: 1; transform: none; }
}

/* ============================================================
   D-012 — DU SOUHAIT AU PIED DU SAPIN
   Les objets entrent, accomplissent leur geste, puis se posent.
   ============================================================ */
/* D-049 — seuls les fonds s’effacent ; contenu et scènes épinglées restent intacts. */
.editions, .traineaux, .equipe, .calendrier, .voyage, .atelier, .entreprises, .finale {
  isolation: isolate;
}
.editions::before, .traineaux::before, .equipe::before, .calendrier::before,
.voyage::before, .atelier::before, .entreprises::before, .finale::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--scene-ambience);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--scene-fade), #000 calc(100% - var(--scene-fade)), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 var(--scene-fade), #000 calc(100% - var(--scene-fade)), transparent);
}

.editions, .traineaux, .equipe { --scene-ambience: linear-gradient(180deg, rgba(6, 9, 24, .35), rgba(6, 9, 24, .8), rgba(6, 9, 24, .35)); }
.calendrier { --scene-ambience: radial-gradient(ellipse at 50% 70%, rgba(89, 47, 26, .2), transparent 65%); }
.branch { margin-top: 56px; padding-bottom: 20px; }
.branch__wood { height: 90px; top: -10px; }
.branch__wood .branch__stem { stroke: #765739; stroke-width: 3; }
.branch__wood .branch__needles, .branch__wood .branch__needles path { fill: none; stroke: #426B54; stroke-width: 1.6; stroke-dasharray: none; opacity: 1; }
.bauble__ball { background: radial-gradient(ellipse at 28% 20%, rgba(255,255,255,.8), rgba(255,255,255,.1) 15%, transparent 42%), radial-gradient(ellipse at 65% 80%, color-mix(in srgb, var(--c), #000 50%), var(--c) 80%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset -12px -10px 30px rgba(0,0,0,.45), 0 24px 30px -18px rgba(0,0,0,.7); }
.bauble__ball::after { content: ''; position: absolute; inset: 13% 13% 47% 18%; border-top: 1px solid rgba(255,255,255,.6); border-radius: 50%; transform: rotate(-35deg); }
.bauble--now .bauble__ball { box-shadow: inset 0 0 0 1px #FFE9B5, 0 0 55px -16px rgba(243,200,115,.4); }
/* D-029 : le fil et la boule bougent ensemble ; la légende reste posée. */
.branch__wood { overflow: visible; }
.bauble__ball:disabled { cursor: default; }
.bauble__ball:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; border-radius: 50%; }
.bauble__ball b { position: relative; z-index: 2; }
.bauble__shine { position: absolute; inset: 0; border-radius: inherit; overflow: clip; pointer-events: none; }
.bauble__shine::before {
  content: ''; position: absolute; inset: -30%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,244,209,.08) 43%, rgba(255,244,209,.7) 49%, rgba(255,244,209,.15) 53%, transparent 61%);
  transform: translateX(var(--shine-x, -120%)); opacity: var(--shine-alpha, 0);
}
.bauble__light { position: absolute; inset: -20%; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(243,200,115,.24), transparent 70%); }
.bauble--now .bauble__light { opacity: var(--warmth, 1); }
@media (max-width: 980px) {
  .bauble__suspension { transform: rotate(var(--swing, 0deg)); }
}
.motion-paused .bauble__suspension { transform: translateY(var(--anchor-rest, 0px)); }
.motion-paused .bauble__shine { display: none; }
@media (prefers-reduced-motion: reduce) {
  .bauble__suspension { transform: translateY(var(--anchor-rest, 0px)); }
  .bauble__shine { display: none; }
}
.bauble__label { line-height: 1.65; }

/* Le voyage : la fiche reste à gauche du paquet qui traverse les états. */
.voyage { --scene-ambience: radial-gradient(ellipse at 76% 50%, rgba(45, 71, 57, .19), transparent 60%); }
.vstage { height: min(540px, 66vh); }
.vstage::before { content: ''; position: absolute; inset: 9% -5% 10%; border: 1px solid rgba(243, 200, 115, .1); border-radius: 50% 50% 6px 6px; }
.fiche { width: min(325px, 75%); border-radius: 3px; border-bottom: 3px solid #D0BE9C; z-index: 3; top: 6%; padding: 22px; transition: transform .8s var(--gather); }
.fiche__num { font-size: .62rem; letter-spacing: .07em; }
.fiche__status { font-size: .72rem; padding: 5px 8px; }
.fiche__name { font-size: 1.65rem; }
.fiche__wish { font-size: 1.18rem; }
.fiche__lutin { border-radius: 0; }
.vstage[data-step="1"] .fiche { transform: translate(-3%, -4%) rotate(-5deg) scale(.94); }
.vstage[data-step="2"] .fiche, .vstage[data-step="3"] .fiche { transform: translate(-6%, -8%) rotate(-5deg) scale(.86); }
.vgift { color: var(--red-deep); width: 48%; right: 0; bottom: 17%; z-index: 4; transform: translate(-20px, 20px) scale(.85); transition: opacity .5s var(--ease), transform .8s var(--gather); filter: none; }
.vstage[data-step="1"] .vgift { opacity: 1; transform: translate(-14%, -10%) rotate(-3deg); }
.vstage[data-step="2"] .vgift { opacity: 1; transform: translate(-4%, 15%) scale(.82); }
.vstage[data-step="3"] .vgift { opacity: 1; transform: translate(-5%, 15%) scale(.95); filter: none; }
.vsled { bottom: 15%; width: 50%; height: 40px; font-size: .65rem; z-index: 2; }
.vwindow { position: absolute; right: 3%; top: 15%; width: 40%; height: 65%; border: 3px solid #9E764A; border-radius: 90px 90px 0 0; opacity: 0; transition: opacity .8s var(--ease); }
.vstage[data-step="3"] .vwindow { opacity: 1; }
.vwindow__light { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #304B49, #C9A16C); opacity: .65; }
.vwindow__cross { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 48%, #9E764A 48% 51%, transparent 51%), linear-gradient(transparent 40%, #9E764A 40% 42%, transparent 42%); }
.vstage__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.vstage__caption > span:first-child { font-family: 'Outfit'; font-size: .65rem; letter-spacing: .18em; color: var(--ink-mute); }
.vstage__caption .serif { color: var(--gold); font-size: 1.15rem; }
.vstep__text { color: var(--ink-soft); }
.vstep__bulb { width: 18px; height: 18px; margin-left: 3px; box-shadow: none; }
.vstep__bulb::before { left: 4px; }
.vstep.is-on .vstep__bulb { box-shadow: 0 0 14px -3px var(--bc); }
.vstep.is-current .vstep__title { color: var(--gold); }

/* Une vraie table de travail, et le papier qui se plie. */
.atelier { --scene-ambience: linear-gradient(120deg, rgba(6,9,24,.8), rgba(40,28,25,.55)); }
.atelier__action { margin-top: 30px; display: grid; justify-items: start; gap: 12px; }
.atelier__optional { font-size: .78rem; color: var(--ink-mute); }
.workshop { border-radius: 8px; background: linear-gradient(145deg, #352C27, #191B20 65%); border: 1px solid rgba(218,181,125,.22); padding: 24px; box-shadow: 0 35px 90px -40px #000; gap: 16px; }
.workshop__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #DFC7A3; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1.25rem; }
.workshop__label span { font-family: 'Outfit'; font-style: normal; text-transform: uppercase; font-size: .58rem; letter-spacing: .16em; color: #BEA98C; }
.workshop__bench { height: 350px; border-radius: 4px; background: repeating-linear-gradient(92deg, transparent 0 40px, rgba(223,177,126,.025) 41px 42px), radial-gradient(ellipse at 50% 45%, #70533B, #3B2C24 75%); box-shadow: inset 0 0 50px rgba(0,0,0,.3); }
.wgift { top: -10px; width: 340px; }
.wgift__paper { clip-path: none; }
.paper-fold { transform-box: fill-box; transition: transform .9s var(--gather), opacity .25s var(--ease); }
.paper-fold--left { transform-origin: left center; }
.paper-fold--right { transform-origin: right center; transition-delay: .2s; }
.workshop[data-stage="0"] .paper-fold--left { transform: perspective(400px) rotateY(-150deg); opacity: 0; }
.workshop[data-stage="0"] .paper-fold--right { transform: perspective(400px) rotateY(150deg); opacity: 0; }
.paper-seam { transition: opacity .6s var(--ease) .5s; }
.workshop[data-stage="0"] .paper-seam { opacity: 0; }
.wgift__bow { transition-duration: .6s; }
.wtag { transition: transform .65s var(--snap), opacity .3s var(--ease); right: -7px; }
.wtool { border-radius: 5px; }
.wtool:disabled { opacity: .58; }
.workshop__status { font-size: 1.18rem; color: #E9DCC4; }
/* D-048 — une consigne lisible pour démarrer ou rejouer la démonstration. */
.workshop[data-stage="0"] .workshop__status {
  font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal;
  font-size: 1rem; line-height: 1.6;
}
.wtag__example {
  margin-top: 5px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal; font-size: .6rem; line-height: 1.4; color: var(--ink-dark-mu);
}

.workshop.sled-go .wsled { animation-duration: 2.2s; }
.workshop__replay { opacity: 1; pointer-events: auto; }

/* Carte gravée : maisons et communes, sans parcours automatique. */
.map { border-radius: 50% 50% 8px 8px; border-color: rgba(224,187,133,.3); background: radial-gradient(ellipse at 50% 38%, #263B3B, #15262C 65%, #101C24); padding: 30px 20px 24px; box-shadow: inset 0 0 0 8px rgba(6,9,24,.35), 0 30px 60px -40px #000; }
.map__land { fill: rgba(211,220,183,.055); stroke: rgba(207,209,169,.22); stroke-dasharray: 2 7; }
.map__river { stroke: #809E9F; opacity: .5; stroke-width: 2; }
.map__house { fill: #385A47; stroke: #B89E6B; stroke-width: 1; transition: fill .25s var(--ease); }
.map__roof { fill: none; stroke: #DCCCA9; stroke-width: 2.5; stroke-linecap: round; }
.map__pane { fill: #D1AA65; opacity: .55; transition: opacity .25s var(--ease); }
.map__dot { display: none; }
.map__pin text { font-size: 18px; }
.map__pin.is-on text { font-size: 18px; fill: #FFF1CC; }
.map__pin.is-on .map__pane { opacity: 1; filter: drop-shadow(0 0 5px #F3C873); }
.map__pin.is-on .map__house { fill: #836844; }
.map__route { opacity: .45; stroke-width: 1; }
.js .map:not(.is-ready) .map__route, .js .map:not(.is-ready) .map__pin { opacity: 0; }
.map.is-ready .map__route, .map.is-ready .map__pin { animation: map-wake .9s var(--ease) both; }
@keyframes map-wake { from { opacity: 0; } to { opacity: 1; } }
.map__legend { font-size: .76rem; gap: 14px; }

/* Quatre portes en carton, les dates restent toujours consultables. */
.doors { gap: 24px; padding: 28px 28px 24px; border: 1px solid rgba(215,176,117,.2); background: linear-gradient(145deg, #322822, #1A1C24); box-shadow: var(--paper-shadow); border-radius: 8px; }
.door { width: 100%; height: 280px; border-radius: 90px 90px 4px 4px; display: block; }
.door__back, .door__front { border-radius: inherit; }
.door__back { padding: 28px 20px; align-content: end; box-shadow: inset 0 0 22px #B99158; }
.door__front { box-shadow: inset 0 0 0 1px rgba(243,200,115,.45), inset 0 0 0 7px rgba(0,0,0,.16), inset 0 0 0 8px rgba(243,200,115,.2), 3px 6px 12px rgba(0,0,0,.4); }
.door__front::before { content: ''; position: absolute; inset: 20px 20px 28px; border: 1px solid rgba(255,231,176,.2); border-radius: inherit; }
.door__num { text-shadow: none; font-size: 4rem; }
.door__summary { color: #E5D1AF; font-family: 'Outfit'; font-size: .88rem; text-align: center; padding-top: 18px; }
.door:hover .door__front { transform: rotateY(-5deg); }
.door[aria-expanded="true"] .door__front { transform: rotateY(-105deg); }
.door:focus-visible { outline-offset: 8px; }

/* La fiche et l'enveloppe : aucun mouvement au-dessus des données à lire. */
.assoc__tag { position: relative; min-height: 510px; padding-bottom: 150px; isolation: isolate; }
.bigtag { clip-path: none; border-radius: 3px; width: min(355px, 88%); padding: 30px 30px 50px; background: linear-gradient(150deg, #FBF6EC, #E6D6B6); box-shadow: var(--paper-shadow); filter: none; transform: rotate(-5deg); }
.bigtag__hole { display: none; }
.bigtag__fields { gap: 13px; }
.bigtag__fields i { transform: none; }
.bigtag__fields span { font-size: .7rem; color: #655641; }
.envelope { position: absolute; bottom: 0; width: min(430px, 100%); height: 190px; z-index: 2; background: linear-gradient(150deg, #B69A70, #DBC299); border: 1px solid #D4B58B; border-radius: 3px; box-shadow: 0 22px 35px -20px #000; }
.envelope::before { content: ''; position: absolute; inset: 0; background: linear-gradient(30deg, #CEB28B 49.7%, transparent 50%), linear-gradient(-30deg, #DCC8A7 49.7%, transparent 50%); }
.envelope__seal { position: absolute; top: 58px; left: calc(50% - 23px); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #9B3740; color: #E3AE91; border: 4px double #B5575E; font: italic 1.5rem 'Instrument Serif'; box-shadow: 1px 3px 5px rgba(0,0,0,.2); }
.envelope__label { position: absolute; bottom: 20px; left: 12px; right: 12px; font: italic 1.05rem 'Instrument Serif'; color: #65513B; text-align: center; }
.js .assoc__tag:not(.is-ready) .bigtag { transform: translateY(-36px) rotate(-9deg); }
.assoc__tag.is-ready .bigtag { animation: letter-settle .9s var(--gather) both; }
@keyframes letter-settle { from { transform: translateY(-36px) rotate(-9deg); } to { transform: rotate(-5deg); } }

/* Le bureau devient un atelier commun. */
.entreprises { --scene-ambience: linear-gradient(180deg, transparent, rgba(25,42,36,.45), transparent); }
.collective { position: relative; height: 295px; max-width: 940px; margin: 48px auto 0; }
.collective__caption { display: block; text-align: center; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); }
.collective__caption em { display: inline-block; font-size: 1.4rem; letter-spacing: 0; text-transform: none; color: var(--gold); margin-left: 8px; }
.collective__table { position: absolute; bottom: 28px; left: 0; right: 0; height: 16px; background: linear-gradient(#927153, #4F382B); border-radius: 4px; box-shadow: 0 18px 30px -10px #000; }
.collective__table::after { content: ''; position: absolute; top: 16px; left: 6%; right: 6%; height: 28px; border-inline: 12px solid #453328; }
.collective__gift { position: absolute; bottom: 39px; width: 160px; color: #9B3843; }
.collective__gift--one { left: 7%; width: 150px; --arrival: .1s; }
.collective__gift--two { left: 22%; width: 130px; color: #42705A; --arrival: .22s; }
.collective__gift--three { right: 8%; width: 190px; color: #BA9461; --arrival: .34s; }
.collective__bike { position: absolute; width: 290px; right: 29%; bottom: 43px; color: #D5C6A3; }
.collective__ribbon { stroke: #C55950; stroke-width: 5; stroke-dasharray: 250; stroke-dashoffset: 0; }
.collective__contributors { position: absolute; right: 30%; bottom: 208px; display: flex; gap: 8px; }
.collective__contributors i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.js .collective:not(.is-ready) .collective__gift { opacity: 0; transform: translateY(-26px); }
.collective.is-ready .collective__gift { animation: parcel-arrive .75s var(--gather) var(--arrival) both; }
.js .collective:not(.is-ready) .collective__ribbon { stroke-dashoffset: 250; }
.collective.is-ready .collective__ribbon { transition: stroke-dashoffset 1.2s var(--ease) .4s; }
.collective.is-ready .collective__contributors { animation: contributions .9s var(--gather) both; }
@keyframes contributions { from { opacity: 0; transform: translateY(-15px); gap: 22px; } to { opacity: 1; transform: none; gap: 8px; } }
.ecards { margin-top: 32px; gap: 0; }
.ecard { background: none; border: 0; border-radius: 0; border-left: 1px solid var(--line-strong); padding: 16px 32px; }
.ecard::after { display: none; }
.ecard__big { font-size: 3.2rem; }
.ecard__icon { width: 48px; height: 48px; filter: none; }

/* L'équipe : trois métiers, trois prénoms, une présence éditoriale. */
.team { gap: 38px; }
.tcard { padding: 28px 0 0; border-radius: 0; border: 0; border-top: 1px solid rgba(243,200,115,.4); background: none; box-shadow: none; text-align: left; }
.tcard__craft { display: block; width: 56px; height: 56px; color: var(--gold); margin-bottom: 30px; }
.tcard__name { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; font-size: 3.6rem; margin-top: 8px; }
.tcard__role { font-size: .67rem; margin: 0; }
.tcard__txt { line-height: 1.8; max-width: 340px; }
.tcard__txt, .tcard__name, .tcard__role { transform: none; }

/* Le courrier : l'ouverture d'une lettre, rapide et sans déplacement latéral. */
.faq__list { gap: 10px; }
.qa { border-radius: 3px; border: 1px solid rgba(222,203,167,.23); background: rgba(233,220,196,.025); }
.qa[open] { background: var(--paper); border-color: var(--paper); color: var(--ink-dark); box-shadow: var(--paper-shadow); }
.qa summary { font-size: 1rem; padding: 22px 24px; }
.qa summary::after { width: 12px; height: 12px; }
.qa[open] summary::after { background: var(--red-deep); transform: rotate(90deg); }
.qa[open] .qa__a { color: #514B43; font-size: .95rem; line-height: 1.8; }
.qa[open] .qa__a a { color: #91412E; }

/* Le matin de Noël — tableau final, sapin et paquets sous une lumière chaude. */
.finale { position: relative; padding: 110px 0 80px; --scene-ambience: radial-gradient(ellipse at 78% 60%, rgba(133,88,41,.13), transparent 60%), linear-gradient(180deg, transparent, #0B171B 65%, #0A1017); }
.finale__layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: 30px; align-items: center; }
.finale__inner { position: relative; z-index: 2; text-align: left; }
.finale__title { font: 600 clamp(2.7rem, 4.5vw, 4.2rem)/1.04 'Outfit', sans-serif; letter-spacing: -.035em; margin-top: 22px; }
.finale__title .serif { display: block; font-size: 1.1em; line-height: 1.05; margin-top: 10px; }
.finale__inner .lead { font-size: 1.05rem; line-height: 1.85; max-width: 440px; }
.finale__inner .lead .serif { font-size: 1.35em; }
.finale__inner .hero__ctas { justify-content: flex-start; }
.finale__hint { margin-top: 20px; max-width: 340px; color: var(--ink-mute); font-size: .8rem; }
.morning { position: relative; margin-inline: -40px; }
.morning > svg { width: 100%; height: auto; overflow: visible; }
.morning figcaption { text-align: center; display: grid; gap: 6px; margin-top: 0; }
.morning figcaption span { text-transform: uppercase; letter-spacing: .2em; font: .62rem 'Outfit'; color: var(--ink-mute); }
.morning figcaption em { font-size: 1.5rem; color: #E8C791; }
.morning__needle { fill: none; stroke: #77A583; stroke-opacity: .3; stroke-width: .9; }
.tree-light { fill: #FFDEA1; filter: drop-shadow(0 0 4px #EDB557); }
.morning__star { filter: drop-shadow(0 0 9px rgba(242,195,105,.55)); }
.gift--red { color: #B6434B; }
.gift--fir { color: #417560; }
.gift--kraft { color: #B99463; }
.morning__parcel { transform-box: fill-box; transform-origin: center bottom; --arrival: .4s; }
.morning__parcel--two { --arrival: .6s; }
.morning__parcel--hero { --arrival: .8s; }
.js .morning:not(.is-ready) .tree-light { opacity: .1; }
.js .morning:not(.is-ready) .morning__parcel { opacity: 0; transform: translateY(-18px); }
.js .morning:not(.is-ready) .morning__window, .js .morning:not(.is-ready) .morning__glow { opacity: .35; }
.morning.is-ready .morning__window, .morning.is-ready .morning__glow { animation: morning-wake 1.2s var(--ease) both; }
.morning.is-ready .tree-light { animation: light-wake .8s var(--ease) .2s both; }
.morning.is-ready .tree-light--1 { animation-delay: .5s; }
.morning.is-ready .tree-light--2 { animation-delay: .8s; }
.morning.is-ready .morning__parcel { animation: parcel-arrive .9s var(--gather) var(--arrival) both; }
@keyframes light-wake { from { opacity: .1; } to { opacity: 1; } }
@keyframes morning-wake { from { opacity: .35; } to { opacity: 1; } }
@keyframes parcel-arrive { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

/* Sans JS et en mouvement réduit, toute l'histoire reste disponible. */
html:not(.js) .lecture, html:not(.js) .voyage, html:not(.js) .impact,
.motion-paused .lecture, .motion-paused .voyage, .motion-paused .impact { height: auto; }
html:not(.js) .lecture__pin, html:not(.js) .voyage__pin, html:not(.js) .impact__pin,
.motion-paused .lecture__pin, .motion-paused .voyage__pin, .motion-paused .impact__pin { position: relative; height: auto; min-height: 0; padding: 90px 0; }
html:not(.js) .lline, .motion-paused .lline { opacity: 1; transform: none; }
html:not(.js) .impact__plus, .motion-paused .impact__plus { opacity: 1; transform: none; }
html:not(.js) .workshop__tools, html:not(.js) .workshop__replay, html:not(.js) .workshop__status { display: none; }
html:not(.js) .workshop .paper-fold { opacity: 1; transform: none; }
html:not(.js) .wgift__ribbon { stroke-dashoffset: 0; }
html:not(.js) .wgift__bow { transform: none; }
html:not(.js) .door__front { display: none; }
.motion-paused .door[aria-expanded="true"] .door__front { opacity: 0; transform: none; }
.motion-paused .hero__l1 .ch, .motion-paused .hero__l2, .motion-paused .hero__eyebrow, .motion-paused .hero__lead, .motion-paused .hero__center .hero__ctas { opacity: 1; transform: none; }
.motion-paused .branch .bauble, .motion-paused .collective__gift, .motion-paused .morning__parcel { opacity: 1 !important; transform: none !important; }
.motion-paused .morning .tree-light, .motion-paused .morning__window, .motion-paused .morning__glow { opacity: 1 !important; }
.motion-paused .village { min-height: 280px; }

@media (max-width: 1180px) {
  .finale__layout { gap: 20px; }
  .morning { margin-inline: -15px; }
}
@media (max-width: 980px) {
  .workshop { width: min(560px, 100%); justify-self: center; }
  .atelier__copy, .traineaux__grid > div:first-child, .assoc__copy { max-width: 650px; }
  .map { max-width: 600px; width: 100%; justify-self: center; }
  .doors { gap: 28px 20px; max-width: 680px; margin-inline: auto; }
  .door { height: 300px; }
  .assoc__tag { width: min(450px, 100%); justify-self: center; }
  .ecards { max-width: 650px; }
  .ecard { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .team { max-width: 650px; gap: 35px; }
  .tcard { display: grid; grid-template-columns: 65px 1fr; column-gap: 24px; }
  .tcard__craft { grid-row: 1 / 4; }
  .tcard__name { margin-top: 0; }
  .tcard__txt { max-width: 100%; }
}
@media (max-width: 860px) {
  .lecture, .voyage, .impact { height: auto; }
  .lecture__pin, .voyage__pin, .impact__pin { position: relative; height: auto; min-height: 0; padding: 70px 0; }
  .lline { opacity: 1; transform: none; }
  .voyage__grid { gap: 40px; }
  .voyage__copy .eyebrow { display: inline-flex; }
  .voyage__copy .h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
  .vstep__text { max-height: none; opacity: 1; overflow: visible; font-size: .95rem; }
  .vstep { padding: 14px 0; }
  .vstep__title { font-size: 1.14rem; }
  .vstage { order: 0; height: 420px; max-width: 440px; }
  .vstage__caption { padding-top: 12px; }
  .village { height: 220px; margin-top: 24px; }
  .impact__head { padding-bottom: 15px; }
  .impact__stats { margin-top: 20px; }
  .finale__layout { grid-template-columns: 1fr; gap: 20px; }
  .finale__inner { max-width: 600px; }
  .morning { max-width: 630px; width: 100%; margin-inline: auto; }
  .finale__title { font-size: clamp(2.7rem, 8vw, 4rem); }
}
@media (max-width: 600px) {
  .branch { margin-top: 30px; }
  .baubles { row-gap: 20px; }
  .bauble__ball { width: 100px; }
  .bauble--big .bauble__ball { width: 114px; }
  .bauble__label { font-size: .84rem; }
  .fiche { padding: 18px; }
  .fiche__status { font-size: .65rem; }
  .fiche__num { font-size: .56rem; }
  .fiche__name { font-size: 1.5rem; }
  .fiche__wish { font-size: 1.18rem; }
  .fiche__meta { display: grid; }
  .fiche__meta div { font-size: .7rem; }
  .fiche__lutin-txt { font-size: .75rem; }
  .vstage { height: 390px; }
  .vstage::before { inset-inline: 0; }
  .workshop { padding: 16px; }
  .workshop__bench { height: 300px; }
  .wgift { width: 290px; top: -8px; }
  .wtag { width: 120px; right: 3px; }
  .wtag__line + .wtag__line { font-size: .6rem; }
  .workshop__label { font-size: 1.1rem; }
  .workshop__label span { font-size: .5rem; }
  .workshop__status { font-size: 1.06rem; }
  .map { padding: 18px 9px; }
  .map__legend { font-size: .65rem; gap: 10px; }
  .map__legend .lg { width: 6px; height: 6px; }
  .doors { padding: 14px; gap: 24px 14px; }
  .door { height: 240px; border-radius: 65px 65px 3px 3px; }
  .door__back { padding: 18px 12px; }
  .door__back b { font-size: .95rem; }
  .door__back span { font-size: .76rem; }
  .door__front::before { inset: 12px; }
  .door__hint { font-size: .6rem; letter-spacing: .14em; }
  .door__num { font-size: 3.3rem; }
  .door__summary { font-size: .75rem; line-height: 1.5; padding-top: 12px; }
  .collective { height: 230px; margin-top: 38px; }
  .collective__caption { font-size: .58rem; }
  .collective__caption em { display: block; margin: 4px 0 0; font-size: 1.3rem; }
  .collective__gift--one { left: 0; width: 95px; }
  .collective__gift--two { left: 15%; width: 80px; }
  .collective__gift--three { right: 0; width: 110px; }
  .collective__bike { width: 160px; right: 22%; }
  .collective__contributors { bottom: 147px; right: 31%; gap: 5px; }
  .collective__contributors i { width: 4px; height: 4px; }
  .tcard { grid-template-columns: 42px 1fr; gap: 0 20px; }
  .tcard__craft { width: 40px; height: 40px; }
  .tcard__name { font-size: 3rem; }
  .tcard__txt { font-size: .9rem; }
  .tcard__role { font-size: .6rem; }
  .qa summary { padding: 18px; font-size: .96rem; }
  .qa__a { padding: 0 18px 20px; }
  .finale { padding: 80px 0 65px; }
  .finale__inner .hero__ctas { max-width: none; }
  .finale__hint { max-width: none; font-size: .76rem; }
  .morning { margin-top: 4px; }
  .morning figcaption em { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lecture, .voyage, .impact { height: auto; }
  .lecture__pin, .voyage__pin, .impact__pin { position: relative; height: auto; min-height: 0; padding: 90px 0; }
  .village { min-height: 240px; }
  .door[aria-expanded="true"] .door__front { transform: none; opacity: 0; }
  .branch .bauble, .collective__gift, .morning__parcel { opacity: 1 !important; transform: none !important; }
  .morning .tree-light, .morning__window, .morning__glow { opacity: 1 !important; }
}

.door__illustration { display: block; width: 74px; height: 66px; margin: 0 auto 10px; color: #A16D37; }
.door__illustration svg { width: 100%; height: 100%; }
.door__illustration:has(use) { color: var(--red-deep); }
/* Les petites hauteurs de fenêtre conservent aussi un parcours naturel. */
@media (max-height: 760px) and (min-width: 861px) {
  .voyage { height: auto; }
  .voyage__pin { position: relative; height: auto; padding: 90px 0; }
}
@media (max-width: 600px) {
  .door__illustration { width: 48px; height: 42px; margin-bottom: 6px; }
  .motion-toggle { min-width: 44px; min-height: 44px; }
}
