@font-face{font-family:DM;src:url(assets/dm-sans-latin.woff2) format("woff2");font-display:swap}
:root{--ink:#101112;--surface:#202122;--text:#fff9eb;--muted:#d3cbbb;--gold:#ffd052;--paper:#fff4dc}
*{box-sizing:border-box}
body{margin:0;background:var(--ink);color:var(--text);font:16px/1.55 DM,system-ui,sans-serif}
header,footer{padding:.8rem max(4vw,1rem);display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #ffffff24}
header img{width:min(37vw,170px);height:auto}
header button,footer,#chapter{font-size:.85rem;color:var(--muted)}
header button{background:none;border:0}
button,a,summary{cursor:pointer}
button{font:inherit}
a{color:var(--gold)}
.skip{position:absolute;top:-80px;left:1rem;z-index:4}
.skip:focus{top:1rem;background:var(--ink);padding:.6rem}
:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
h1,h2,h3,p{margin:0 0 .85rem}
h1{font-size:clamp(2.25rem,5vw,5.1rem);line-height:.99;letter-spacing:-.049em;text-wrap:balance}
h1 em{display:inline;font-style:normal;color:var(--gold)}
h1[tabindex]:focus{outline:none}
.overline{font-size:.73rem;text-transform:uppercase;letter-spacing:.13em;color:var(--gold);font-weight:800}
.fine{font-size:.84rem;color:var(--muted)}
.sub{font-weight:800}
.primary,.control{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #e4bc5970;border-radius:6px;padding:.64rem .95rem;min-height:46px;transition:background .22s,transform .22s}
.primary{background:var(--gold);color:#19150c;font-weight:800}
.primary:not(:disabled):hover,.control:hover{transform:translateY(-2px)}
.primary:disabled{opacity:.47;cursor:default}
.control{background:#171819;color:var(--text)}
.control[aria-pressed=true]{background:var(--gold);color:#16120c}
.hero{position:relative;min-height:min(78svh,730px);display:grid;align-items:center;isolation:isolate;overflow:hidden}
.image{background:var(--image) center/cover no-repeat}
.threshold{position:absolute;inset:0;z-index:-3;background-position:65% 52%;animation:depth 1.5s ease-out both}
.door-light{position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(95deg,#101112 9%,#101112e8 34%,#10111245 66%,transparent),radial-gradient(ellipse at 76% 48%,#ffca6650,transparent 64%);animation:door 1.35s ease-out both}
.hero-content{padding:clamp(1.5rem,6vw,6rem);max-width:810px}
.hero h1{animation:walk-in .68s both}
.hero-content>p{max-width:52ch}
.hero .fine{margin-top:.65rem}
.page{max-width:1080px;margin:auto;padding:clamp(1rem,4vw,3rem);animation:walk-in .44s both}
.page-head{margin-bottom:1.4rem}
.page h1{font-size:clamp(2rem,5vw,4rem);max-width:24ch;margin-top:.6rem}
progress{width:100%;height:5px;accent-color:var(--gold);display:block}
.scene-body{max-width:850px}
.scene-image{height:clamp(180px,37vw,425px);border-radius:8px;margin:.8rem 0 1.15rem;box-shadow:inset 0 -36px 55px #1118}
.chapter-4,.chapter-5{--surface:#28241d}
fieldset{min-width:0;border:0;padding:0;margin:1.2rem 0}
legend{font-weight:800;font-size:clamp(1.11rem,2vw,1.35rem);margin-bottom:.62rem;text-wrap:balance}
.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.choices label{display:flex;align-items:center;gap:.55rem;border:1px solid #ffffff2c;background:var(--surface);border-radius:6px;padding:.56rem .73rem;min-height:47px;cursor:pointer;transition:transform .2s,border .2s,background .2s}
.choices label:has(input:checked){border-color:var(--gold);background:#4b3b1e;transform:translateX(3px)}
.choices input{accent-color:var(--gold);flex:none}
.cards-field .choices{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards-field label{display:grid;align-content:start;position:relative;padding:.4rem}
.cards-field .image{height:94px;border-radius:4px;order:-1}
.cards-field input{position:absolute;top:12px;left:13px}
.cards-field span{padding:.3rem}
.controls,.switches{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.controls{justify-content:space-between;border-top:1px solid #ffffff26;padding-top:1.05rem}
.response:not(:empty){margin:.65rem 0;padding:.65rem .85rem;background:#efbf4222;border-left:3px solid var(--gold)}
blockquote{margin:1.15rem 0;padding:1rem 0 1rem 1rem;border-left:3px solid var(--gold);color:var(--gold);font-size:clamp(1.32rem,3vw,2.4rem);font-weight:750;line-height:1.17;animation:walk-in .6s both}
.pierre{display:grid;grid-template-columns:auto 1fr;gap:1rem;padding:1.15rem 0;border-block:1px solid #ffffff24}
.pierre img{width:90px;height:90px;border-radius:50%;object-fit:cover}
.signature{color:var(--gold)}
.weather,.child,.mask-stage,.forest,.spotlight,.stair{position:relative;overflow:hidden;border-radius:9px}
.weather .scene-image,.child .scene-image,.mask-stage .scene-image,.forest .scene-image,.spotlight .scene-image,.stair .scene-image{margin:0}
.weather i,.weather b{position:absolute;inset:0;pointer-events:none;opacity:.1;transition:opacity .6s}
.weather i{background:radial-gradient(ellipse at 64% 18%,#ffd45cbb,transparent 60%)}
.weather b{background:repeating-linear-gradient(110deg,transparent 0 18px,#c7d6ed50 19px 21px,transparent 22px 42px);opacity:0}
.weather[data-weather="soleil"] i,.weather[data-weather="eclaircies"] i{opacity:1}
.weather[data-weather="pluie"] b,.weather[data-weather="orage"] b{opacity:1;animation:rain .6s linear 8}
.weather[data-weather="orage"] i{background:#152031aa;opacity:.85}
.weather[data-weather="nuages"] b,.weather[data-weather="brouillard"] b{opacity:1;background:linear-gradient(15deg,#e7e9e4ad,transparent 85%);animation:depth 2s both}
.child{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
.child .scene-image{grid-column:1/-1}
.child span,.gap-words strong{padding:.75rem;background:#27221b;animation:walk-in .55s both}
.child span:nth-child(3),.gap-words strong:last-child{animation-delay:.18s}
.child span:nth-child(4){animation-delay:.36s}
.gap-words{display:flex;gap:.55rem;margin:.9rem 0}.gap-words strong:last-child{color:var(--gold)}
#mask-layer{position:absolute;inset:auto 0 12%;display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap}
#mask-layer span{padding:.45rem .6rem;border:1px solid #ffeacf7a;background:#101112e5;border-radius:30px;transition:opacity .45s,transform .45s}
#mask-layer span.lift{opacity:.16;transform:translateY(-78px) rotate(-13deg)}
.triangle{position:relative;width:min(100%,410px);aspect-ratio:1.36;margin:1rem auto;isolation:isolate}
.triangle svg{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.triangle path{fill:#b99a3030;stroke:var(--gold);stroke-width:1.6;stroke-dasharray:550;animation:trace 1s both}
.triangle circle{fill:var(--gold)}
.triangle strong{position:absolute;top:56%;left:50%;transform:translateX(-50%);white-space:nowrap}
.triangle button{position:absolute;min-height:42px}
.triangle button:nth-of-type(1){top:0;left:50%;transform:translateX(-50%)}
.triangle button:nth-of-type(2){bottom:1%;left:0}
.triangle button:nth-of-type(3){bottom:1%;right:0}
.surprise{display:block;color:var(--gold);font-size:clamp(1.65rem,7vw,4rem);animation:surprise .56s cubic-bezier(.24,1.5,.45,1) both}
.spotlight:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--beam,13%) 55%,transparent 8%,#000c 75%);transition:background .35s}
.spot-items{position:absolute;z-index:1;inset:auto .6rem .6rem;display:flex;flex-wrap:wrap;gap:.35rem}
.spot-items button{font-size:.85rem;min-height:39px;background:#101112df}
.spot-items button[aria-pressed=true]{background:var(--gold)}
.forest svg{position:absolute;inset:0;width:100%;height:100%;background:#0003}
.forest path{stroke:var(--gold);fill:none;stroke-width:6;stroke-linecap:round}
.forest .old-path{stroke:#fff5d9a0;stroke-width:8}
#new-path{stroke-dasharray:1;transition:stroke-dashoffset .62s;filter:drop-shadow(0 0 7px #ffc94b)}
.steps{position:absolute;inset:auto 6% 6%;display:grid;gap:.25rem;max-width:270px}.steps button{justify-content:start;min-height:36px;padding:.25rem .65rem}
.steps button:nth-child(2n){margin-inline-start:8%}
.walk{animation:depth .8s both}
.report{margin:1rem auto 3rem;max-width:1040px;padding:clamp(1rem,4vw,2.6rem)}
.result-hero{position:relative;isolation:isolate;min-height:310px;display:flex;flex-direction:column;justify-content:end;padding:1rem;overflow:hidden;border-radius:9px;animation:depth .9s both}
.result-hero .image{position:absolute;inset:0;z-index:-2;height:100%;margin:0}.result-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#080909,#08090940 81%)}
.report-section{margin:1rem 0;padding:clamp(.9rem,3vw,2rem);background:var(--surface);border-radius:8px}
.report-section h2{color:var(--gold)}.report-section p:empty{display:none}
.report-tool+ .report-tool{border-top:1px solid #ffffff2d;padding-top:1rem}
.journey-map{display:flex;align-items:center;gap:.65rem;margin-bottom:1rem;font-weight:750}
.journey-map i{height:3px;min-width:36px;flex:1;background:var(--gold);transform-origin:left;animation:grow .8s both}
.support{padding:1rem;border:1px solid var(--gold);margin:1rem 0}
.offer{display:grid;grid-template-columns:minmax(125px,.7fr) 1.3fr;gap:1.3rem;padding:1rem;background:var(--surface);border-radius:8px}
.offer img{width:100%;aspect-ratio:4/5;object-fit:cover}
dialog{color:var(--text);background:var(--surface);max-width:min(560px,92vw);border:1px solid var(--gold);border-radius:8px}
dialog::backdrop{background:#000b}
@keyframes walk-in{from{opacity:.38;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes depth{from{opacity:.55;transform:scale(1.045)}to{opacity:1;transform:none}}
@keyframes door{from{clip-path:inset(0 0 0 36%);opacity:.32}to{clip-path:inset(0);opacity:1}}
@keyframes rain{to{transform:translate(-8px,8px)}}
@keyframes surprise{from{opacity:0;transform:rotate(-6deg) scale(.75)}to{opacity:1;transform:none}}
@keyframes grow{from{transform:scaleX(0)}to{transform:none}}
@keyframes trace{from{stroke-dashoffset:550}to{stroke-dashoffset:0}}
@media(max-width:650px){
 #chapter{display:none}
 .hero{min-height:auto;padding-top:clamp(112px,36vw,210px)}
 .threshold{inset:0 0 auto;height:clamp(140px,47vw,245px)}
 .door-light{background:linear-gradient(0deg,#101112 62%,transparent)}
 .hero-content{padding:.45rem 1rem 1.5rem}.hero h1{font-size:clamp(1.95rem,8.2vw,3.3rem)}
 .hero .fine{font-size:.76rem;margin-bottom:0}
 .choices{grid-template-columns:1fr}.cards-field .choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pierre img{width:55px;height:55px}.offer{grid-template-columns:1fr}.offer img{max-width:190px;aspect-ratio:1}
 .stair .scene-image{height:315px}.spotlight .scene-image{height:280px}
 footer{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{animation:none!important;transition:none!important}}
@media print{
 body{background:#fff;color:#111}header,footer,.no-print,.offer,.result-hero .image,dialog{display:none}
 .report{max-width:none;margin:0;padding:0}.result-hero,.report-section{min-height:0;background:transparent;padding:0}
 .result-hero:after{display:none}.report-section h2,blockquote,.overline{color:#111}.report-tool,.support{break-inside:avoid}
 h1,h2,h3{break-after:avoid}.report-section p{orphans:2;widows:2}
}
.offer .offer-brand{width:150px;height:auto;aspect-ratio:auto;object-fit:contain;margin-bottom:1rem}
.chapter-4,.chapter-5{background:radial-gradient(ellipse at 75% 12%,#87703f30,transparent 68%)}
@media(max-width:380px){.hero h1{font-size:1.9rem}.hero{padding-top:93px}.hero-content>p{margin-bottom:.55rem}.hero-content{padding-top:.25rem}}

.chapter-6{background:radial-gradient(ellipse at 75% 12%,#79614732,transparent 68%)}
.editorial-scene{margin-block:2rem;padding-block-start:1rem;border-top:1px solid var(--line,#ffffff30)}
.editorial-item{padding-inline-start:1rem;border-inline-start:1px solid var(--gold)}
.agenda,.day-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:.55rem;margin-block:1.4rem}
.agenda span{border:1px solid #ffffff30;border-radius:6px;padding:.85rem;text-align:center}
.agenda span:last-child{color:var(--gold);border-color:var(--gold);animation:scene-appear .75s .18s both;background:#b28e4630;font-weight:700}
.dialogue{display:grid;gap:.35rem;margin-block:1.4rem}
.dialogue p{padding:.65rem .9rem;border-radius:12px;background:#ffffff0d;width:fit-content;margin:0;animation:scene-appear .35s calc(var(--order) * 80ms) both}
.dialogue p:nth-child(even){justify-self:end;background:#b28e4630}
.day-events [aria-pressed=true]{outline:2px solid var(--gold);background:#b28e4630}
#lemon-stage:focus{outline:none}
#lemon-stage .image{height:clamp(210px,45vw,420px);background-position:center;animation:scene-appear .35s both}
.battery{position:relative;display:grid;place-items:center;max-width:220px;min-height:65px;border:2px solid var(--gold);border-radius:9px;overflow:hidden;margin:1rem 0}
.battery span{position:absolute;inset:4px;border-radius:5px;background:#a88744;transform-origin:left;transition:transform .6s,background .6s}
.battery[data-low=true] span{transform:scaleX(.1);background:#b47453}
.battery strong{position:relative;color:#fff;text-shadow:0 1px 3px #000}
.resource-reveal{animation:scene-appear .55s both}
.week-plan li{margin-block:.75rem}
@keyframes scene-appear{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 .agenda span:last-child,.dialogue p,#lemon-stage .image,.resource-reveal{animation:none}
 .battery span{transition:none}
}
#lemon-stage .image{background-color:#10151d;background-size:contain}
@media print{
 .resource-reveal{animation:none}
 .report-section .week-plan{display:block}
}
.agenda:not(.in-view) span:last-child,.dialogue:not(.in-view) p,.resource-reveal:not(.in-view){animation:none}
.week-plan{list-style:none;padding-inline-start:0}
@media print{
 .week-plan li{break-inside:avoid}
}

.breath-scene{max-width:850px}
.breath-landscape{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#251f34 url(assets/lac-respiration.webp) center/cover no-repeat;isolation:isolate}
.breath-landscape::after{content:"";position:absolute;inset:0;background:#ffe6bc;opacity:0;transition:opacity 1s;pointer-events:none}
.breath-landscape[data-status=complete]::after{opacity:.12}
.breath-sun{position:absolute;left:50%;bottom:44%;width:clamp(24px,6vw,68px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fffdec 0%,#fff9c2 43%,#ffc662 88%);box-shadow:0 0 18px 5px #ffe19dc0,0 0 65px 13px #ffb96985;transform:translate(-50%,calc(var(--sun-rise,0)*-155%))}
.breath-status{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:3rem}
#breath-phase{font-size:1.2rem;margin:.3rem 0}
#breath-time{font-variant-numeric:tabular-nums;color:var(--gold)}
.breath-scene [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.breath-sun{transform:translateX(-50%)}.breath-landscape::after{transition:none}}

.posture-pair{display:grid;grid-template-columns:1fr 1fr;gap:clamp(.45rem,2vw,1rem)}
.posture-pair figure{margin:0;border:1px solid #ffffff34;border-radius:10px;overflow:hidden}
.posture-pair .image{aspect-ratio:4/4.1;background-position:center 32%}
.posture-pair figcaption{padding:.5rem;font-size:.87rem}
.posture-pair[data-step="-1"] figure:first-child,.posture-pair:not([data-step="-1"]) figure:last-child{border-color:var(--gold)}
#posture-practice:focus{outline:none}
.step-count{font-variant-numeric:tabular-nums;color:var(--gold)}
.word-card{padding:.15rem 1rem;background:#ffffff0c;border-left:2px solid #ffffff44;margin:.75rem 0}
.word-alternative{border-color:var(--gold);animation:scene-appear .45s both}
#words-custom label{display:block;margin-top:.8rem}
#words-custom input{box-sizing:border-box;width:100%;margin:.2rem 0 .6rem;padding:.65rem;border:1px solid #ffffff70;border-radius:6px;background:var(--surface);color:var(--text);font:inherit}
.day-events button{opacity:.72;transition:opacity .25s,background .25s}
.day-events [aria-pressed=true],.day-events button:hover,.day-events button:focus-visible{opacity:1}
.gratitude-pyramid{display:flex;flex-direction:column-reverse;gap:.32rem;align-items:center;padding:1rem 0}
.gratitude-pyramid .control{width:min(100%,calc(100% - (var(--level) * 9%)));text-align:center;background:#aa86432c;line-height:1.25}
.gratitude-pyramid [data-value="5"]{background:#aa864360}
.gratitude-pyramid [aria-pressed=true]{outline:2px solid var(--gold)}
#pmf-steps>div:not([hidden]){margin:1rem 0;padding:.65rem 1rem;border-left:2px solid var(--gold);background:#ffffff0a}
.workshop-first{max-width:880px;margin:clamp(1rem,6vw,5rem) auto;padding:clamp(1rem,5vw,3rem)}
.workshop-first h1{font-size:clamp(2rem,5vw,3.75rem);line-height:1.11}
.workshop-last{grid-template-columns:1fr}
@media(max-width:520px){.triangle .control{max-width:35%;white-space:normal;padding:.35rem .45rem;font-size:.72rem}.workshop-first{margin-inline:1rem}}
@media(prefers-reduced-motion:reduce){.word-alternative{animation:none}.day-events button{transition:none}}
.day-events [aria-pressed=true],.gratitude-pyramid .control[aria-pressed=true]{background:var(--gold);color:#15110a}

@font-face{font-family:Newsreader;src:url(assets/newsreader-latin.woff2) format("woff2");font-display:swap}
:root{--ink:#06101b;--surface:#0c1925;--text:#f2ede4;--muted:#bac5c6;--gold:#e0b28f;--paper:#f2ede4}
h1,h2,.result-hero h1{font-family:Newsreader,Georgia,serif;font-weight:500}
.page{background-color:#06101b}
.page h1,.report h1{letter-spacing:-.025em}
.scene-image{box-shadow:inset 0 -35px 46px #06101b77;border-radius:12px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #f2ede4;outline-offset:4px}
.gratitude-pyramid{isolation:isolate;position:relative;display:grid;grid-template-rows:repeat(6,minmax(50px,1fr));gap:0;align-items:stretch;max-width:630px;margin:1rem auto;padding:0}
.gratitude-pyramid svg{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.gratitude-pyramid .control{grid-row:var(--row);width:max-content;max-width:100%;justify-self:center;align-self:center;min-height:44px;background:#0c1925eb;color:#f2ede4;font-size:clamp(.75rem,2vw,.97rem);border:1px solid #c38d67;border-radius:999px;padding:.45rem .75rem}
.gratitude-pyramid .control:nth-of-type(1){--row:6}.gratitude-pyramid .control:nth-of-type(2){--row:5}
.gratitude-pyramid .control:nth-of-type(3){--row:4}.gratitude-pyramid .control:nth-of-type(4){--row:3}
.gratitude-pyramid .control:nth-of-type(5){--row:2}.gratitude-pyramid .control:nth-of-type(6){--row:1}
.gratitude-pyramid .control[aria-pressed=true]{background:#f2ede4;color:#17212a;outline:2px solid #06101b}
@media print{h1,h2{color:#111}}
.hero .threshold,.hero .door-light,.hero h1{animation:none}
.threshold img{width:100%;height:100%;object-fit:cover;object-position:65% 52%}
.door-light{background:linear-gradient(95deg,#06101b 9%,#06101bea 35%,#06101b38 67%,transparent),radial-gradient(ellipse at 76% 48%,#e0b28f45,transparent 64%)}
@keyframes calm-arrival{from{transform:scale(1.035)}to{transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){.hero .threshold img{animation:calm-arrival 1.5s ease-out both}}
