/* naumie.com, v3. Brand: Nuit, Soleil, Crème; Bricolage Grotesque 800 for display, Lexend for text.
   One file for every page. Sections: tokens, base, header and footer, home story, the app's phones, home bands,
   inner pages (Enfants, Ados), Prix, Aide, Contact, legal, 404, motion. */
@font-face { font-family: "Lexend"; font-weight: 400; font-display: swap; src: url("/fonts/Lexend_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 600; font-display: swap; src: url("/fonts/Lexend_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype"); }

/* ---------- Tokens ---------- */
:root {
  --nuit: #1f2547; --soleil: #ffc21a; --soleil-press: #f2b100; --creme: #fff6e0;
  --ground: var(--creme); --ink: var(--nuit); --muted: #4b5170; --paper: #ffffff; --tone: #fbecc4; --line: #e9dcb8;
  --deep: var(--nuit); --on-deep: var(--creme); --muted-on-deep: #c8cbe2;
  --n-ink: var(--nuit);              /* Naumie's outline: navy on light, Crème on dark */
  --display: "Bricolage Grotesque", "Lexend", system-ui, sans-serif;
  --text: "Lexend", system-ui, sans-serif;
  --fs-hero: clamp(3.25rem, 1.6rem + 6.4vw, 7.5rem);
  --fs-display: clamp(2.5rem, 1.2rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2.125rem, 1.3rem + 2.8vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lede: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem);
  --fs-body: 1.125rem; --fs-small: 0.9375rem;
  --margin: clamp(16px, 4vw, 56px);
  --gap: clamp(96px, 13vw, 200px);
  --r-card: 22px; --r-phone: 34px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}
/* One look, Crème, on every device (Gabriel, November 4): no dark theme. The Nuit bands stay Nuit. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head, 120px) + 16px); }
body { margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
::selection { background: var(--soleil); color: var(--nuit); }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 30; background: var(--soleil); color: var(--nuit); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px;
  background: var(--soleil); color: var(--nuit); border: 0; border-radius: 999px; cursor: pointer;
  font: 600 var(--fs-body)/1.2 var(--text); text-decoration: none; text-align: center;
  box-shadow: 0 0 0 0 var(--nuit); transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--soleil-press); box-shadow: 4px 4px 0 0 var(--nuit); transform: translate(-2px, -2px); } .btn:hover:active { transform: scale(0.97); box-shadow: none; } }
.btn-2 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
@media (hover: hover) and (pointer: fine) { .btn-2:hover { background: var(--tone); box-shadow: inset 0 0 0 2px currentColor; transform: none; } }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--soleil); text-decoration-thickness: 3px; padding: 8px 0; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- Header and footer ---------- */
/* The tagline, on every page: a thin Nuit band across the top. */
.tagline { width: 100vw; margin-left: calc(50% - 50vw); background: var(--nuit); color: var(--creme); text-align: center; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 13px; font: 800 clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem)/1.2 var(--display); letter-spacing: -0.01em; }
.page-top { position: sticky; top: 0; z-index: 30; max-width: none; margin: 0; padding: 0 max(var(--margin), calc((100% - 1440px) / 2 + var(--margin))); background: var(--ground); transition: box-shadow 200ms var(--ease); }
.page-top.is-stuck { box-shadow: 0 6px 18px -10px rgb(31 37 71 / 0.35); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.lockup { display: inline-flex; align-items: baseline; gap: 0.14em; font-size: 2.75rem; text-decoration: none; color: var(--ink); min-height: 48px; }
.lockup img { width: auto; height: 0.86em; }
.lk-dark { display: none; }
.lockup span { font: 800 1em/1 var(--display); letter-spacing: -0.035em; }
.bar nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav-wide { display: flex; gap: clamp(8px, 1.6vw, 24px); }
.nav-wide a, .menu a { font-weight: 600; font-size: 1.0625rem; text-decoration: none; padding: 12px 8px; display: inline-flex; align-items: center; min-height: 48px; }
.bar a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--soleil); text-decoration-thickness: 3px; }
@media (hover: hover) and (pointer: fine) { .nav-wide a:hover { text-decoration: underline; text-decoration-color: var(--soleil); text-decoration-thickness: 3px; } }
.btn-bar { min-height: 50px; padding: 0 24px; font-size: 1rem; }
.menu { display: none; }
.btn-mini { display: none; }
@media (max-width: 860px) {
  .nav-wide, .btn-bar { display: none; }
  .btn-mini { display: inline-flex; min-height: 48px; padding: 0 18px; font-size: var(--fs-small); }
  .bar nav { gap: 8px; }
  .menu { display: block; position: relative; }
  .menu summary { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--nuit); color: var(--creme); font-weight: 600; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu .menu-close, .menu[open] .menu-open { display: none; }
  .menu[open] .menu-close { display: inline; }
  .menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--nuit); color: var(--creme); border-radius: var(--r-card); padding: 8px; box-shadow: 6px 5px 0 var(--soleil); }
  .menu a { display: flex; padding: 12px 16px; font-size: 1.125rem; }
}

.foot { max-width: 1440px; margin: 0 auto; padding: 56px var(--margin) 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; font-size: var(--fs-small); color: var(--muted); }
.foot a { color: var(--ink); }
.foot-what span { display: block; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 48px; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { text-decoration: underline; text-decoration-color: var(--soleil); } }
.foot-end { text-align: right; }
.langs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin-bottom: 6px; }
.langs [aria-current] { color: var(--ink); font-weight: 600; }
.foot-credit { grid-column: 1 / -1; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } .foot-end { text-align: left; } .langs { justify-content: flex-start; } }

/* ---------- Home: the story of Naumie, in scenes ---------- */
/* A sticky stage holds Naumie and the screens; the scenes scroll beside it (on a phone, under it). The scene under
   the reading line sets data-s; each part of the stage shows for its scenes. A scroll never runs a timer. */
.story { --bg: var(--ground); --fg: var(--ink); background: var(--bg); color: var(--fg); transition: background-color 1400ms var(--ease-io), color 1400ms var(--ease-io);
  display: grid; grid-template-columns: minmax(var(--margin), 1fr) minmax(0, 620px) minmax(0, 780px) minmax(var(--margin), 1fr); }
:is([data-on="6"], [data-on="10"]) { --bg: var(--soleil); --fg: var(--nuit); --n-ink: var(--nuit); }
[data-on="7"], [data-on="8"] { --bg: var(--deep); --fg: var(--creme); --n-ink: var(--creme); }
.stage { grid-column: 3; grid-row: 1; position: sticky; top: var(--head, 0px); height: calc(100svh - var(--head, 0px)); align-self: start; display: grid; place-items: center; overflow: hidden; }
.stage > * { grid-area: 1 / 1; }
.scenes { grid-column: 2; grid-row: 1; padding-right: clamp(24px, 4vw, 64px); }
.scene { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0; max-width: 34rem; }
.scene h2 { font-size: var(--fs-display); max-width: 11ch; }
.scene > p { margin-top: 24px; font-size: var(--fs-lede); line-height: 1.5; max-width: 30ch; }
.sc-hero { min-height: calc(100svh - 84px); padding-top: 24px; }
.sc-hero h1 { font-size: var(--fs-hero); }
.sc-hero .lede { margin-top: 28px; font-size: var(--fs-lede); line-height: 1.5; max-width: 32ch; }
.tag { font: 800 var(--fs-h3)/1.2 var(--display); letter-spacing: -0.02em; display: inline-flex; align-self: flex-start; background: var(--soleil); color: var(--nuit); padding: 8px 16px 9px; border-radius: 999px; box-shadow: 4px 4px 0 var(--nuit); }
.act { margin-top: 36px; }
.note { margin-top: 20px; color: var(--muted); font-size: var(--fs-small); }
.cue { margin-top: 48px; display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; opacity: 0.8; }
.cue-arrow { width: 20px; height: 30px; border: 2px solid currentColor; border-radius: 11px; position: relative; flex: none; }
.cue-arrow::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: cue 1.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(10px); opacity: 0; } }

/* Each part of the stage, visible only in its scenes. */
.st-n, .st-bubbles, .st-kid, .st-parent, .st-six, .st-grow, .st-plane { opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), transform 900ms var(--ease), visibility 0s 700ms; }
:is([data-on="1"], [data-on="2"], [data-on="3"]) .st-n,
:is([data-on="2"], [data-on="3"]) .st-bubbles,
:is([data-on="3"], [data-on="4"], [data-on="5"], [data-on="8"], [data-on="10"]) .st-kid,
:is([data-on="7"], [data-on="8"]) .st-parent,
[data-on="6"] .st-six, [data-on="9"] .st-grow { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), transform 900ms var(--ease), visibility 0s; }

/* Naumie: the app's intro (reference/naumie-intro.html), played once: walks in, dreams, sees the time, rushes onto
   his colour. Same keyframes, the fade at the end removed. */
.st-n { width: min(100cqw, 860px); margin-top: -4svh; }
.n-svg { width: 100%; overflow: visible; }
.n-ink { stroke: var(--n-ink); transition: stroke 600ms var(--ease); }
.n-waddle, .n-squash, .n-plate { transform-box: fill-box; transform-origin: 50% 100%; }
.n-dream, .n-shut { opacity: 0; }
.n-eyes { transform: translate(4px, -1.5px); }
.js .n-walk { animation: cWalk 5.85s linear both; }
.js .n-waddle { animation: cWaddle 5.85s ease-in-out both; }
.js .n-arm-l { animation: cArmL 5.85s ease-in-out both; }
.js .n-arm-r { animation: cArmR 5.85s ease-in-out both; }
.js .n-squash { animation: cSquash 5.85s ease-out both; }
.js .n-plate { animation: cSplotch 5.85s ease-out both; }
.js .n-dream { animation: cDream 5.85s step-end both; }
.js .n-eyes { animation: cEyes 5.85s both; }
.js .n-shut { animation: cShut 5.85s step-end both; }
.js .n-oh { animation: cOh 5.85s step-end both; }
@keyframes cWalk { 0%, 4.27% { transform: translateX(-175px); } 26.5% { transform: translateX(-63px); } 43.59% { transform: translateX(-63px); animation-timing-function: cubic-bezier(.55, 0, .95, .55); } 51.28%, 100% { transform: translateX(0); } }
@keyframes cWaddle { 0%, 4.27% { transform: rotate(0); } 5.98% { transform: rotate(-6deg); } 9.4% { transform: rotate(6deg); } 12.82% { transform: rotate(-6deg); } 16.24% { transform: rotate(6deg); } 19.66% { transform: rotate(-6deg); } 23.08% { transform: rotate(6deg); } 25.64% { transform: rotate(-3deg); } 27.69% { transform: rotate(1.5deg); } 29.06%, 43.59% { transform: rotate(0); } 44.44% { transform: rotate(-7deg); } 45.73% { transform: rotate(8deg); } 47.01% { transform: rotate(-8deg); } 48.29% { transform: rotate(9deg); } 49.57% { transform: rotate(-9deg); } 50.77% { transform: rotate(5deg); } 51.28%, 100% { transform: rotate(0); } }
@keyframes cArmL { 0%, 4.27% { transform: translateY(0); } 5.98% { transform: translateY(5px); } 9.4% { transform: translateY(-5px); } 12.82% { transform: translateY(5px); } 16.24% { transform: translateY(-5px); } 19.66% { transform: translateY(5px); } 23.08% { transform: translateY(-5px); } 25.64%, 41.88% { transform: translateY(0); } 43.08% { transform: translateY(-9px); } 44.44% { transform: translateY(6px); } 45.73% { transform: translateY(-6px); } 47.01% { transform: translateY(6px); } 48.29% { transform: translateY(-6px); } 49.57% { transform: translateY(6px); } 51.28%, 100% { transform: translateY(0); } }
@keyframes cArmR { 0%, 4.27% { transform: translateY(0); } 5.98% { transform: translateY(-5px); } 9.4% { transform: translateY(5px); } 12.82% { transform: translateY(-5px); } 16.24% { transform: translateY(5px); } 19.66% { transform: translateY(-5px); } 23.08% { transform: translateY(5px); } 25.64%, 41.88% { transform: translateY(0); } 43.08% { transform: translateY(-9px); } 44.44% { transform: translateY(-6px); } 45.73% { transform: translateY(6px); } 47.01% { transform: translateY(-6px); } 48.29% { transform: translateY(6px); } 49.57% { transform: translateY(-6px); } 51.28%, 100% { transform: translateY(0); } }
@keyframes cSquash { 0%, 41.88% { transform: scale(1, 1); } 43.08% { transform: scale(.95, 1.07); } 44.79% { transform: scale(1, 1); } 51.28% { transform: scale(1, 1); } 52.99% { transform: scale(1.08, .9); } 54.87% { transform: scale(.97, 1.04); } 56.92%, 100% { transform: scale(1, 1); } }
@keyframes cSplotch { 0%, 51.28% { transform: scale(1, 1); } 53.85% { transform: scale(1.06, .96); } 56.92%, 100% { transform: scale(1, 1); } }
@keyframes cDream { 0% { opacity: 1; } 29.06%, 100% { opacity: 0; } }
@keyframes cEyes { 0% { opacity: 0; transform: translate(0, 0); animation-timing-function: step-end; } 29.06% { opacity: 1; transform: translate(0, 0); animation-timing-function: step-end; } 34.19% { opacity: 1; transform: translate(0, 0); animation-timing-function: ease-out; } 35.56%, 100% { opacity: 1; transform: translate(4px, -1.5px); } }
@keyframes cShut { 0% { opacity: 0; } 29.06% { opacity: 1; } 41.88%, 100% { opacity: 0; } }
@keyframes cOh { 0% { opacity: 0; } 41.88%, 100% { opacity: 1; } }
/* Scene 2: a little lower, a small embarrassed sway while the sentences pile up. */
[data-on="2"] .st-n { transform: translateY(4%) scale(0.78); }
[data-on="2"] .n-svg { animation: sway 2.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes sway { 50% { transform: rotate(-2deg) translateX(-4px); } }
/* Scene 3, the signature: he waddles out to the right and the phone slides in where he was. */
[data-on="3"] .st-n { animation: waddle-out 1.1s var(--ease-io) both; }
@keyframes waddle-out {
  0% { transform: translateY(4%) scale(0.78); }
  15% { transform: translate(4%, 4%) scale(0.78) rotate(-8deg); } 30% { transform: translate(12%, 4%) scale(0.78) rotate(8deg); }
  45% { transform: translate(22%, 4%) scale(0.78) rotate(-8deg); } 60% { transform: translate(34%, 4%) scale(0.78) rotate(8deg); }
  75% { transform: translate(48%, 4%) scale(0.78) rotate(-6deg); } 100% { transform: translate(120%, 4%) scale(0.78); opacity: 0; }
}

/* The parent's sentences: navy bubbles, sharp corner toward Naumie, in the brand's print slip. */
.st-bubbles { position: relative; width: min(96cqw, 640px); height: min(80cqh, 640px); pointer-events: none; }
.pbub {
  position: absolute; max-width: 15ch; padding: 12px 18px 13px; border-radius: 22px; background: var(--nuit); color: var(--creme);
  font: 800 clamp(1.125rem, 0.9rem + 0.8vw, 1.625rem)/1.1 var(--display); letter-spacing: -0.02em; box-shadow: 5px 5px 0 var(--soleil);
  opacity: 0; transform: scale(0.6); transition: opacity 260ms var(--ease), transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pbub[data-i="1"] { left: 2%; top: 28%; border-bottom-right-radius: 4px; rotate: -4deg; }
.pbub[data-i="2"] { right: 4%; top: 24%; border-bottom-left-radius: 4px; rotate: 5deg; }
.pbub[data-i="3"] { left: 0; top: 60%; border-top-right-radius: 4px; rotate: 3deg; }
.pbub[data-i="4"] { right: 0; top: 66%; border-top-left-radius: 4px; rotate: -5deg; }
[data-on="2"][data-b="1"] .pbub[data-i="1"],
[data-on="2"]:is([data-b="2"], [data-b="3"], [data-b="4"]) .pbub:is([data-i="1"], [data-i="2"]),
[data-on="2"]:is([data-b="3"], [data-b="4"]) .pbub[data-i="3"],
[data-on="2"][data-b="4"] .pbub[data-i="4"] { opacity: 1; transform: none; }
[data-on="3"] .pbub { animation: bub-pop 380ms var(--ease) both; }
[data-on="3"] .pbub[data-i="2"] { animation-delay: 90ms; } [data-on="3"] .pbub[data-i="3"] { animation-delay: 180ms; } [data-on="3"] .pbub[data-i="4"] { animation-delay: 270ms; }
@keyframes bub-pop { 0% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(1.12); } 100% { opacity: 0; transform: scale(0.2); } }

/* ---------- The kid's phone, drawn as the app draws it (Lagon theme, light) ---------- */
.kphone {
  --k-page: #eef9fb; --k-surface: #ffffff; --k-surface2: #daf1f5; --k-acc: #00a6c0; --k-on: #062a31; --k-free: #ffc93c;
  --k-ink: #1a1d33; --k-muted: #4b5f66; --k-menthe: #12704a; --k-line: #8a8fa8;
  container-type: inline-size; position: relative; width: min(24vw, 42svh, 340px); aspect-ratio: 9 / 19.5; border-radius: var(--r-phone);
  background: var(--k-page); color: var(--k-ink); overflow: hidden; box-shadow: 0 0 0 10px #10142e, 0 0 0 12px rgb(255 246 224 / 0.28), 0 40px 80px -20px rgb(6 8 24 / 0.45);
}
.st-kid { transform: translateY(10%) scale(0.94); }
:is([data-on="3"], [data-on="4"], [data-on="5"], [data-on="10"]) .st-kid { transform: none; }
[data-on="3"] .st-kid { transition-delay: 520ms; }
[data-on="8"] .st-kid { transform: translate(26%, 4%) scale(0.8); }
.kp-screen { transform: translateY(3%); position: absolute; inset: 0; padding: 7cqw 5cqw 6cqw; display: flex; flex-direction: column; gap: 3cqw; font-size: 4cqw; line-height: 1.3; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s 300ms; }
[data-on="3"] [data-kp="3"], [data-on="4"] [data-kp="4"], [data-on="5"] [data-kp="5"], [data-on="8"] [data-kp="8"], [data-on="10"] [data-kp="10"] { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms var(--ease), transform 600ms var(--ease), visibility 0s; }
.ki, .ki-s { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; display: inline-block; }
.ki-s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kp-date { font-size: 3.6cqw; color: var(--k-muted); font-weight: 600; }
.kp-hello { display: flex; align-items: center; gap: 2cqw; font: 800 6cqw/1.1 var(--display); letter-spacing: -0.02em; margin-top: -2cqw; }
.kp-hello img { width: 9cqw; }
.kp-home { width: 44cqw; margin: auto auto 0; }
[data-on="4"] .kp-home, [data-on="8"] .kp-home { animation: idle 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idle { 50% { transform: rotate(-2deg); } }
.kp-clock { font: 800 18cqw/1 var(--display); letter-spacing: -0.04em; text-align: center; background: var(--k-surface); border-radius: 6cqw; padding: 4cqw 0 3cqw; }
.kp-ready { background: var(--k-surface); border: 0.8cqw solid var(--k-acc); border-radius: 7cqw; padding: 4.5cqw; display: grid; gap: 3.5cqw; }
.kp-ready p { display: flex; align-items: center; gap: 3cqw; font: 800 6.6cqw/1.1 var(--display); letter-spacing: -0.02em; }
.kp-ready img { width: 12cqw; height: auto; }
.kp-ready small { font-size: 3.6cqw; color: var(--k-muted); margin-top: -2cqw; }
.kp-start { display: flex; align-items: center; justify-content: center; gap: 2.5cqw; min-height: 15cqw; border-radius: 5cqw; background: var(--k-acc); color: var(--k-on); font: 800 6.6cqw/1 var(--display); }
[data-on="4"] .kp-start { animation: press 2.4s var(--ease) 0.9s infinite; }
@keyframes press { 0%, 62%, 100% { transform: none; box-shadow: 0 0 0 0 rgb(0 166 192 / 0.5); } 68% { transform: scale(0.94); } 76% { transform: none; box-shadow: 0 0 0 4cqw rgb(0 166 192 / 0); } }
.kp-gift { border-color: var(--k-free); }
[data-on="8"] .kp-gift { animation: gift-in 600ms var(--ease) 1.9s both; }
@keyframes gift-in { from { opacity: 0; transform: translateY(20%) scale(0.92); } }
.kp-back { display: flex; align-items: center; gap: 2cqw; min-height: 11cqw; padding: 0 3.5cqw; border-radius: 4cqw; background: var(--k-surface); font-weight: 600; align-self: flex-start; }
.kp-picto { width: 12cqw; margin: 1cqw auto 0; }
.kp-name { text-align: center; font: 800 7cqw/1.1 var(--display); letter-spacing: -0.02em; }
.kp-sub { text-align: center; color: var(--k-muted); font-size: 3.6cqw; margin-top: -2cqw; }
/* The timer face: surface 2, a 5 px frame in the accent while it runs; the fill stands on the bottom and its height is
   the time left. Under 25 % the face beats softly; at zero the frame goes and the label reads « Pas grave! ». */
.kp-face { flex: 1; position: relative; border-radius: 8cqw; background: var(--k-surface2); border: 1.3cqw solid var(--k-acc); overflow: hidden; display: grid; place-items: center; }
.kp-fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fill, 1) * 100%); background: var(--k-acc); }
.kp-mid { position: relative; display: grid; justify-items: center; gap: 3.5cqw; }
.kp-time { background: var(--k-surface); border-radius: 6cqw; padding: 2.5cqw 6cqw 1cqw; font: 800 20cqw/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kp-label { display: flex; align-items: center; gap: 2cqw; background: var(--k-surface); border-radius: 3cqw; padding: 1.5cqw 3.5cqw; font-weight: 700; font-size: 4.2cqw; }
.kp-pulse { animation: beat 0.6s ease-in-out infinite alternate; }
@keyframes beat { to { transform: scale(1.025); } }
.kp-zero { border-color: transparent; }
.kp-zero .kp-label .ki { display: none; }
.kp-done { display: flex; align-items: center; justify-content: center; gap: 2.5cqw; min-height: 16cqw; border-radius: 5.5cqw; background: var(--k-menthe); color: #fff; font: 800 6.6cqw/1 var(--display); }
.kp-row { display: flex; gap: 2.5cqw; }
.kp-row span { flex: 1; display: grid; place-items: center; min-height: 13cqw; border: 0.5cqw solid var(--k-line); border-radius: 4cqw; font-weight: 700; font-size: 3.8cqw; }
.kp-next { color: var(--k-muted); font-size: 3.6cqw; text-align: center; }
/* Naumie's corner pop-in (Enfant): in from the bottom right with the voice's line, then gone. */
.kp-pop { position: absolute; right: 3cqw; bottom: 50cqw; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 1cqw; transform: translateY(160%); opacity: 0; pointer-events: none; }
.kp-pop img { width: 26cqw; }
.kp-bubble { background: #fff; color: var(--nuit); border: 0.7cqw solid var(--nuit); border-radius: 4.5cqw 4.5cqw 1cqw 4.5cqw; padding: 2cqw 3cqw; font-weight: 700; font-size: 4cqw; max-width: 46cqw; box-shadow: 1.6cqw 1.3cqw 0 var(--k-free); margin-bottom: 14cqw; }
.kp-pop.is-on { animation: corner 3.4s var(--ease) both; }
@keyframes corner { 0% { transform: translateY(160%); opacity: 0; } 10%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(160%); opacity: 0; } }

/* ---------- The parent's phone (Nuit and Soleil on cool neutrals) ---------- */
.pphone {
  container-type: inline-size; position: relative; width: min(24vw, 42svh, 340px); aspect-ratio: 9 / 19.5; border-radius: var(--r-phone);
  background: #f4f5f8; color: #1a1d33; overflow: hidden; box-shadow: 0 0 0 10px #05081c, 0 0 0 12px rgb(255 246 224 / 0.28), 0 40px 80px -20px rgb(0 0 0 / 0.5);
}
.st-parent { transform: translateY(8%) scale(0.94); }
[data-on="7"] .st-parent { transform: none; }
[data-on="8"] .st-parent { transform: translate(-46%, -4%) scale(0.72) rotate(-4deg); }
.pp-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s 300ms; }
[data-on="7"] [data-pp="7"], [data-on="8"] [data-pp="8"] { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease), visibility 0s; }
.pp-lock { background: radial-gradient(120% 70% at 30% 0%, #3a4380 0%, #1f2547 55%, #10142e 100%); color: #fff; padding: 14cqw 5cqw; text-align: center; }
.pp-time { font: 400 20cqw/1 var(--text); letter-spacing: -0.03em; }
.pp-date { margin-top: 2cqw; font-size: 4.4cqw; opacity: 0.85; }
.pnote-old { margin-top: 10cqw !important; opacity: 0.94; }
.pnote + .pnote { margin-top: 3cqw; }
.pnote { margin-top: 12cqw; text-align: left; background: rgb(255 255 255 / 0.96); color: #1a1d33; border-radius: 6cqw; padding: 4.5cqw; box-shadow: 0 4cqw 10cqw rgb(0 0 0 / 0.3); }
[data-on="7"] .pnote { animation: note-in 640ms var(--ease) 380ms both; }
@keyframes note-in { from { opacity: 0; transform: translateY(-30%) scale(0.96); } }
.pnote-app { display: flex; align-items: center; gap: 2cqw; font-size: 3.6cqw; color: #4b5170; }
.pnote-app img { width: 5.5cqw; border-radius: 1.4cqw; }
.pnote-t { margin-top: 2.5cqw; font-weight: 600; font-size: 4.3cqw; line-height: 1.25; }
.pnote-b { margin-top: 1cqw; font-size: 4cqw; line-height: 1.3; }
.pnote-acts { display: flex; gap: 6cqw; margin-top: 4cqw; font-weight: 600; font-size: 4.1cqw; color: #2d5fa8; }
.pp-send { background: #f4f5f8; display: flex; flex-direction: column; justify-content: space-between; }
.pp-bar { position: relative; z-index: 1; padding: 9cqw 5.5cqw 0; color: #1a1d33; font: 800 7cqw/1 var(--display); letter-spacing: -0.02em; }
.pp-sheet { position: relative; }
.pp-sheet { width: 100%; background: #fff; box-shadow: 0 -2cqw 8cqw rgb(16 20 46 / 0.18); border-radius: 7cqw 7cqw 0 0; padding: 6cqw 5.5cqw 8cqw; display: grid; gap: 1.5cqw; font-size: 4cqw; }
.pp-title { font: 800 7cqw/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 2cqw; }
.pp-l { font-weight: 600; font-size: 3.6cqw; color: #4b5170; margin-top: 1.5cqw; }
.pp-f { border: 0.5cqw solid #d8dbe6; border-radius: 3.5cqw; padding: 3cqw 3.5cqw; font-size: 4.4cqw; }
.pp-chip { justify-self: start; background: var(--soleil); color: var(--nuit); border-radius: 999px; padding: 2cqw 5cqw; font-weight: 600; }
.pp-go { margin-top: 4cqw; display: grid; place-items: center; min-height: 14cqw; border-radius: 999px; background: var(--soleil); color: var(--nuit); font-weight: 600; font-size: 4.6cqw; }
[data-on="8"] .pp-go { animation: press-p 700ms var(--ease) 900ms both; }
@keyframes press-p { 40% { transform: scale(0.94); } 100% { transform: none; } }
/* The paper plane: from the parent's « Envoyer » to the kid's screen, once. */
.st-plane { width: 44px; z-index: 3; }
[data-on="8"] .st-plane { animation: fly 1.1s var(--ease-io) 1.05s both; }
@keyframes fly { 0% { opacity: 0; transform: translate(-60%, 60%) rotate(-10deg) scale(0.6); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(70%, -30%) rotate(18deg) scale(1); } }

/* Scene 6: Naumie in costume, big, on Soleil. Scene 9: the kid in costume next to the teen. */
.st-dress img { width: min(34vw, 46svh, 460px); }
.st-dress img.pop { animation: dress-pop 440ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes dress-pop { 0% { transform: scale(0.88) rotate(-4deg); } 60% { transform: scale(1.05) rotate(2deg); } 100% { transform: none; } }
.st-grow { display: flex; align-items: flex-end; gap: 2vw; }
.st-grow img { width: min(20vw, 30svh, 280px); }
.g-teen { width: min(15vw, 24svh, 210px) !important; }
[data-on="9"] .g-kid { animation: hop 0.62s 0.3s 2; }
@keyframes hop { 42% { transform: translateY(-14%); } 81% { transform: none; } 88% { transform: scaleY(0.93); } 100% { transform: none; } }

/* The text of the scenes that hold controls. */
.pick-h { margin-top: 40px; }
.pick-p { margin-top: 8px; color: var(--muted); max-width: 42ch; font-size: var(--fs-small); }
.vpick { display: grid; gap: 8px; margin-top: 20px; max-width: 440px; }
.vpick button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0; padding: 10px 18px; min-height: 52px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.vpick b { font-weight: 600; font-size: var(--fs-body); }
.vpick span { font-size: var(--fs-small); color: var(--muted); }
.vpick button[aria-checked="true"] { background: var(--nuit); color: var(--creme); box-shadow: 4px 4px 0 var(--soleil); }
.vpick button[aria-checked="true"] span { color: var(--muted-on-deep); }
.vpick button:active { transform: scale(0.98); }
.vpick button:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .vpick button:hover { box-shadow: inset 0 0 0 2px var(--ink); } .vpick button[aria-checked="true"]:hover { box-shadow: 4px 4px 0 var(--soleil); } }
.vline { margin-top: 16px; font-weight: 600; }
.vline::before { content: "« "; } .vline::after { content: " »"; }
.cpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 36px; max-width: 480px; }
.cpick button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 100%; aspect-ratio: 1; min-height: 56px; border-radius: 20px; background: rgb(255 255 255 / 0.6); transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.cpick img { width: 78%; transition: transform 200ms var(--ease); }
.cpick button[aria-pressed="true"] { background: #fff; box-shadow: 4px 4px 0 var(--nuit); }
.cpick button:active { transform: scale(0.94); }
.cpick button:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .cpick button:hover img { transform: translateY(-4px) rotate(-4deg); } }
.modes { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 36px; max-width: 34rem; }
.mode { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: var(--r-card); text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.mode h3 { font: 800 1.625rem/1 var(--display); letter-spacing: -0.03em; }
.mode p { font-size: var(--fs-small); line-height: 1.5; }
.mode-link { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; min-height: 32px; }
.mode-kid { background: var(--soleil); color: var(--nuit); }
.mode-teen { background: var(--nuit); color: var(--creme); }
.mode:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .mode:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); } .mode-teen:hover { box-shadow: 6px 6px 0 var(--soleil); } }

/* ---------- Home bands after the story ---------- */
.also { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); font: 800 var(--fs-h2)/1.05 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.also .link { font: 600 var(--fs-body)/1.4 var(--text); letter-spacing: 0; margin-top: 16px; display: block; width: max-content; }
.price-big { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.pb-main { grid-column: 1 / 7; }
.pb-amt { font: 800 clamp(4.5rem, 2rem + 10vw, 11rem)/0.85 var(--display); letter-spacing: -0.06em; margin-top: 28px; }
.pb-per { font: 600 var(--fs-h3)/1.3 var(--text); margin-top: 18px; }
.pb-or { font-size: var(--fs-h3); margin-top: 6px; }
.pb-note { margin-top: 24px; color: var(--muted); max-width: 40ch; }
.pb-inc { grid-column: 8 / 13; display: grid; gap: 20px; padding-bottom: 12px; }
.pb-inc li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.pb-inc img { width: 28px; }
.pb-inc b { font-weight: 600; display: block; }
.pb-inc span { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 860px) { .price-big { grid-template-columns: 1fr; row-gap: 40px; } .pb-main, .pb-inc { grid-column: 1; } }
.faq { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.faq h2 { grid-column: 1 / 5; }
.faq-list { grid-column: 6 / 13; border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; font-weight: 600; font-size: var(--fs-body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 220ms var(--ease); }
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { text-decoration: underline; text-decoration-color: var(--soleil); text-decoration-thickness: 3px; } }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq h2, .faq-list { grid-column: 1; } .faq-list { margin-top: 32px; } }
.night { margin-top: var(--gap); background: var(--deep); color: var(--creme); text-align: center; padding: clamp(96px, 12vw, 180px) var(--margin); display: grid; justify-items: center; }
.night img { width: clamp(160px, 20vw, 260px); margin-bottom: 32px; }
.night h2 { font-size: var(--fs-display); max-width: 14ch; }
.night p { margin-top: 18px; color: var(--muted-on-deep); }
.night .act { margin-top: 36px; }

/* ---------- Phones: no sticky stage. Each scene has its own stage above its text, in the flow. ---------- */
@media (max-width: 860px) {
  .story { display: block; }
  .story > .stage { display: none; }
  .scenes { padding: 0; }
  .scene { min-height: 0; max-width: none; display: block; padding: 0 var(--margin) 64px; background: var(--bg); color: var(--fg); transition: background-color 500ms var(--ease), color 500ms var(--ease); }
  .scene .st-copy { position: relative; height: auto; aspect-ratio: 1 / 1.18; max-height: 64svh; width: calc(100% + 2 * var(--margin)); margin: 0 calc(-1 * var(--margin)) 8px; display: grid; place-items: center; overflow: hidden; }
  .scene[data-s="1"] .st-copy { aspect-ratio: 6 / 5; margin-bottom: 0; }
  .scene[data-s="1"] .st-n, .scene[data-s="2"] .st-n { width: min(96vw, 560px); }
  .scene:is([data-s="2"], [data-s="6"], [data-s="9"]) .st-copy { aspect-ratio: 5 / 4; }
  .scene[data-s="1"] { padding-top: 0; }
  .scene > p { font-size: 1.1875rem; max-width: 34ch; margin-top: 16px; }
  .scene h2 { font-size: clamp(2.25rem, 10.5vw, 3rem); max-width: 13ch; }
  .sc-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .sc-hero .lede { margin-top: 18px; }
  .act { margin-top: 28px; }
  .cue { display: none; }
  .st-n { width: min(84vw, 380px); margin-top: 0; }
  .st-bubbles { width: 100%; height: 100%; }
  .pbub { font-size: 1.0625rem; padding: 9px 14px 10px; box-shadow: 4px 4px 0 var(--soleil); }
  .pbub[data-i="1"] { left: 4%; top: 30%; } .pbub[data-i="2"] { right: 4%; top: 34%; } .pbub[data-i="3"] { left: 3%; top: 70%; } .pbub[data-i="4"] { right: 3%; top: 80%; }
  .kphone, .pphone { width: min(50vw, 24svh, 240px); border-radius: 26px; box-shadow: 0 0 0 7px #10142e, 0 24px 48px -12px rgb(6 8 24 / 0.4); }
  [data-on="8"] .st-kid { transform: translate(36%, 3%) scale(0.8); }
  [data-on="8"] .st-parent { transform: translate(-40%, -2%) scale(0.8) rotate(-4deg); }
  .st-dress img { width: min(58vw, 34svh); }
  .st-grow img { width: min(34vw, 26svh); }
  .g-teen { width: min(26vw, 20svh) !important; }
  .vpick, .cpick, .modes { max-width: none; }
  .modes { grid-template-columns: 1fr; }
  .kp-row span { white-space: nowrap; font-size: 3.4cqw; }
  /* Complete at rest: each scene shows its own picture before it plays; only the motion waits for the scroll. */
  .scene:is([data-s="6"], [data-s="10"]) { --bg: var(--soleil); --fg: var(--nuit); --n-ink: var(--nuit); }
  .scene:is([data-s="7"], [data-s="8"]) { --bg: var(--deep); --fg: var(--creme); --n-ink: var(--creme); }
  .scene:is([data-s="1"], [data-s="2"]) .st-n, .scene[data-s="2"] .st-bubbles,
  .scene:is([data-s="3"], [data-s="4"], [data-s="5"], [data-s="8"], [data-s="10"]) .st-kid, .scene:is([data-s="7"], [data-s="8"]) .st-parent,
  .scene[data-s="6"] .st-six, .scene[data-s="9"] .st-grow, .scene[data-s="10"] [data-kp="10"],
  .scene[data-s="3"] [data-kp="3"], .scene[data-s="4"] [data-kp="4"], .scene[data-s="5"] [data-kp="5"], .scene[data-s="8"] [data-kp="8"],
  .scene[data-s="7"] [data-pp="7"], .scene[data-s="8"] [data-pp="8"] { opacity: 1; visibility: visible; }
  .scene .st-kid, .scene .st-parent { transform: none; }
  .scene[data-s="2"] .st-n { transform: translateY(4%) scale(0.78); }
  .scene[data-s="8"] .st-kid { transform: translate(36%, 3%) scale(0.8); }
  .scene[data-s="8"] .st-parent { transform: translate(-40%, -2%) scale(0.8) rotate(-4deg); }
}

/* ---------- Inner pages: Enfants and Ados ---------- */
.ph { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 8vw, 120px) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.ph-text { grid-column: 1 / 9; }
.ph h1 { font-size: var(--fs-hero); max-width: 12ch; }
.ph .lede { margin-top: 28px; font-size: var(--fs-lede); line-height: 1.5; max-width: 40ch; }
.ph-pic { grid-column: 10 / 13; justify-self: end; width: min(100%, 260px); }
.ph-band { margin-top: 32px; max-width: 56ch; padding: 18px 22px; border-radius: 18px; background: var(--tone); font-size: var(--fs-small); }
@media (max-width: 860px) { .ph { grid-template-columns: 1fr; row-gap: 32px; } .ph-text, .ph-pic { grid-column: 1; } .ph-pic { justify-self: start; width: 160px; grid-row: 1; } }

.chip { font: 600 0.8125rem/1 var(--text); letter-spacing: 0; padding: 7px 12px 8px; border-radius: 999px; background: var(--nuit); color: var(--creme); }
.zoom { transform: scale(1.1); transform-origin: 50% 100%; }
.kphone.picto .kp-name, .kphone.picto .kp-sub, .kphone.picto .kp-back span, .kphone.picto .kp-row, .kphone.picto .kp-next { display: none; }
.kphone.picto .kp-picto { width: 30cqw; }
.kp-speak { align-self: center; width: 16cqw; height: 16cqw; border-radius: 50%; background: var(--k-surface); display: grid; place-items: center; }
.kp-speak svg { width: 8cqw; }

.cta-band { max-width: 1440px; margin: var(--gap) auto 0; padding: clamp(56px, 8vw, 112px) var(--margin); border-radius: var(--r-card); background: var(--soleil); color: var(--nuit); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.cta-band h2 { font-size: var(--fs-h2); max-width: 18ch; }
.cta-band p { margin-top: 12px; }
.cta-band .btn { background: var(--nuit); color: var(--creme); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn:hover { background: #2b3366; box-shadow: 4px 4px 0 #fff; } }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; margin-left: var(--margin); margin-right: var(--margin); } }
.cta-wrap { padding: 0 var(--margin); }

/* ---------- Prix: a printed receipt ---------- */
.receipt-wrap { max-width: 1440px; margin: 0 auto; padding: clamp(32px, 6vw, 96px) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.receipt-text { grid-column: 1 / 7; padding-top: 24px; }
.receipt-text h1 { font-size: var(--fs-hero); max-width: 10ch; }
.receipt-text .lede { margin-top: 24px; font-size: var(--fs-lede); line-height: 1.5; max-width: 34ch; }
.receipt-text .act { margin-top: 32px; }
.receipt { grid-column: 8 / 13; position: relative; background: var(--paper); color: var(--ink); padding: 36px 32px 44px; border-radius: 6px 6px 0 0; box-shadow: 8px 7px 0 var(--soleil); rotate: 1.2deg; font-variant-numeric: tabular-nums;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle at 10px 0, transparent 9px, #000 10px) bottom / 20px 14px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle at 10px 0, transparent 9px, #000 10px) bottom / 20px 14px repeat-x; }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 2px dashed var(--line); }
.rc-head img { width: 44px; }
.rc-head p { font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; }
.rc-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; padding: 18px 0; border-bottom: 2px dashed var(--line); }
.rc-row dt { font-weight: 600; }
.rc-row dd { text-align: right; font: 800 1.5rem/1 var(--display); letter-spacing: -0.03em; }
.rc-row .rc-d { grid-column: 1 / -1; text-align: left; font: 400 var(--fs-small)/1.5 var(--text); letter-spacing: 0; color: var(--muted); }
.rc-big { font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem) !important; }
.rc-inc { padding-top: 18px; display: grid; gap: 12px; font-size: var(--fs-small); }
.rc-inc li { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.rc-inc b { font-weight: 600; }
.rc-inc span:last-child { font-weight: 600; }
.rc-foot { margin-top: 24px; text-align: center; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 860px) { .receipt-wrap { grid-template-columns: 1fr; row-gap: 40px; } .receipt-text, .receipt { grid-column: 1; } .receipt { rotate: 0deg; padding: 28px 22px 40px; } }
.facts { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.facts h2 { grid-column: 1 / 5; }
.facts ul { grid-column: 6 / 13; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.facts li { padding: 20px 0; border-bottom: 2px solid var(--line); font-size: var(--fs-lede); line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts h2, .facts ul { grid-column: 1; } .facts ul { margin-top: 28px; } }

/* ---------- Aide ---------- */
.help { max-width: 1440px; margin: clamp(56px, 8vw, 112px) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-card { background: var(--paper); border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px); }
.help-card h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); max-width: 16ch; }
.help-card p { margin-top: 14px; max-width: 48ch; }
.help-card .n { font: 800 1rem/1 var(--display); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soleil); color: var(--nuit); margin-bottom: 20px; }
@media (max-width: 860px) { .help { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ways { max-width: 1440px; margin: clamp(48px, 7vw, 96px) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; }
.way { grid-column: 1 / 9; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; padding: 28px 32px; border-radius: var(--r-card); background: var(--paper); }
.way h2 { font: 600 var(--fs-h3)/1.25 var(--text); letter-spacing: -0.01em; }
.way p { grid-column: 1; color: var(--muted); max-width: 52ch; }
.way .btn { grid-column: 2; grid-row: 1 / 3; }
.way-launch { background: var(--soleil); color: var(--nuit); }
.way-launch p { color: var(--nuit); }
.way-launch .btn { background: var(--nuit); color: var(--creme); }
.ways-mail { grid-column: 1 / 9; margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ways-mail p { width: 100%; }
.ways-mail .addr { font: 800 var(--fs-h2)/1.1 var(--display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.copy { min-height: 48px; }
.copy[data-done] { background: var(--nuit); color: var(--creme); }
.ways-del { grid-column: 1 / 9; margin-top: 20px; color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 860px) { .way, .ways-mail, .ways-del { grid-column: 1 / -1; } .way { grid-template-columns: 1fr; padding: 24px; } .way .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; } }

/* ---------- Legal and 404 ---------- */
.legal { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 8vw, 100px) var(--margin) 0; }
.legal-body { max-width: 68ch; margin-left: clamp(0px, 14vw, 240px); }
.legal h1 { max-width: 16ch; margin-left: clamp(0px, 14vw, 240px); margin-bottom: 40px; }
.legal-body h2 { font: 600 var(--fs-h3)/1.3 var(--text); letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal-body p, .legal-body li { margin-top: 12px; }
.legal-body ul { list-style: disc; padding-left: 1.25em; }
.legal-body .draft-note { background: var(--soleil); color: var(--nuit); padding: 12px 18px; border-radius: 14px; font-weight: 600; display: inline-block; }
@media (max-width: 860px) { .legal-body, .legal h1 { margin-left: 0; } }
.nf { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 40px var(--margin); }
.nf img { width: 180px; margin: 0 auto 32px; }
.nf h1 { max-width: 14ch; margin: 0 auto; }
.nf p { margin: 20px auto 32px; max-width: 34ch; }
.end-space { height: 14svh; }

/* ---------- Motion: entrances once, from a visible default ---------- */
.js [data-rise] { transform: translateY(24px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  /* Each scene is a still stage: Naumie stands, the sentences are all there, then the screens. */
  .n-dream, .n-shut { opacity: 0 !important; }
  [data-on="2"] .pbub { opacity: 1; transform: none; }
  [data-on="3"] .st-n, [data-on="3"] .st-bubbles { opacity: 0; visibility: hidden; }
}

/* CSS screens used on the Enfants page: the routine list with a locked row, the quarter pop-in, picto mode. */
.kp-pop.is-still { transform: none; opacity: 1; }
.kp-list { gap: 4cqw; }
.kp-rows { display: grid; gap: 2.5cqw; }
.kp-rows li { display: flex; align-items: center; gap: 3cqw; background: var(--k-surface); border-radius: 5cqw; padding: 3.5cqw 4cqw; }
.kp-rows img { width: 10cqw; }
.kp-rows span { display: grid; }
.kp-rows b { font: 800 5.2cqw/1.15 var(--display); letter-spacing: -0.02em; }
.kp-rows small { font-size: 3.6cqw; color: var(--k-muted); }
.kp-rows i { width: 10cqw; height: 10cqw; display: grid; place-items: center; border-radius: 50%; background: var(--k-surface2); color: var(--k-ink); font-size: 5cqw; }
.kp-rows .is-locked { opacity: 0.62; }
.kp-half { --fill: 0.5; }
.kp-icons { display: flex; justify-content: center; gap: 6cqw; }
.kp-check { width: 18cqw; height: 18cqw; border-radius: 50%; background: var(--k-menthe); color: #fff; display: grid; place-items: center; font-size: 8cqw; }
.kp-q .kp-fill { --fill: 0.25; }

/* A <picture> only switches the dark-ground Naumie; it takes no box of its own. */
picture { display: contents; }

/* Review fixes, Nov 4 */
.kp-62 { --fill: 0.62; }

/* The stage's disc: a Soleil sun behind each scene, with Naumie's print slip (a navy ring set off by a few pixels). */
.stage { --disc: var(--soleil); --ring: var(--nuit); container-type: size; }
.stage::before, .stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(82cqw, 86cqh); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); transition: background-color 500ms var(--ease), border-color 500ms var(--ease), transform 700ms var(--ease); }
.stage::before { background: var(--disc); }
.stage::after { border: 3px solid var(--ring); transform: translate(calc(-50% + 14px), calc(-50% + 11px)); opacity: 0.9; }
/* Naumie alone (scenes 1 and 2) stands on the page itself; the disc is for the screens. */
.scene:is([data-s="1"], [data-s="2"]) > .stage::before, .scene:is([data-s="1"], [data-s="2"]) > .stage::after, .story:is([data-on="1"], [data-on="2"]) > .stage::before, .story:is([data-on="1"], [data-on="2"]) > .stage::after { opacity: 0; }
:is(.scene[data-s="6"], .scene[data-s="10"]) > .stage, .story:is([data-on="6"], [data-on="10"]) > .stage { --disc: var(--creme); }
:is(.scene[data-s="7"], .scene[data-s="8"]) > .stage, .story:is([data-on="7"], [data-on="8"]) > .stage { --disc: #2b3366; --ring: var(--soleil); }
.stage > * { position: relative; z-index: 1; }

/* Proofs under a scene's text: short, concrete, the app's own words. */
.proof { margin-top: 28px; display: grid; gap: 12px; max-width: 36ch; }
.proof li { position: relative; padding-left: 36px; font-weight: 600; line-height: 1.4; }
.proof li::before { content: ""; position: absolute; left: 0; top: 0.05em; width: 24px; height: 24px; border-radius: 50%; background: var(--soleil); box-shadow: 2px 2px 0 var(--nuit); }
.proof li::after { content: ""; position: absolute; left: 8px; top: 0.32em; width: 6px; height: 11px; border-right: 2.5px solid var(--nuit); border-bottom: 2.5px solid var(--nuit); transform: rotate(45deg); }
.scene > p { max-width: 34ch; }
@media (min-width: 1600px) { .scene h2 { font-size: 6rem; } .scene > p { font-size: 1.5rem; } }
@media (max-width: 860px) {
  .stage::before, .stage::after { width: min(80cqw, 88cqh); }
  .stage::after { transform: translate(calc(-50% + 8px), calc(-50% + 7px)); border-width: 2.5px; }
  .proof { margin-top: 20px; gap: 10px; }
}

/* The home timers at rest: 6:20 left of 10 minutes, and the last 15 seconds of the bath. */
[data-face="3"] { --fill: 0.633; }
[data-face="5"] { --fill: 0.017; }

/* Nov 5: the six Naumies, the « Mon coffre » screen, the pop that stays while there is time, the price cards,
   the back-to-top button, a shorter closing band, softer colour edges on phones. */
.st-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw 3cqw; width: min(80cqw, 78cqh, 620px); }
.st-six img { width: 100%; height: auto; }
.st-six img:nth-child(n+4) { margin-top: 2cqw; }
[data-on="6"] .st-six img { animation: hop 0.62s both; }
[data-on="6"] .st-six img:nth-child(2) { animation-delay: 0.08s; } [data-on="6"] .st-six img:nth-child(3) { animation-delay: 0.16s; }
[data-on="6"] .st-six img:nth-child(4) { animation-delay: 0.24s; } [data-on="6"] .st-six img:nth-child(5) { animation-delay: 0.32s; } [data-on="6"] .st-six img:nth-child(6) { animation-delay: 0.4s; }
.kp-bank { gap: 4cqw; }
.kp-gemsbig { display: flex; align-items: center; justify-content: center; gap: 3cqw; background: var(--k-surface); border-radius: 6cqw; padding: 4cqw 0; font: 800 14cqw/1 var(--display); }
.kp-gemsbig img { width: 12cqw; }
.kp-dream { background: var(--k-surface); border-radius: 6cqw; padding: 4.5cqw; display: grid; gap: 3cqw; }
.kp-dream-n { display: flex; justify-content: space-between; align-items: baseline; font-size: 4.4cqw; }
.kp-dream-n b { font: 800 6.6cqw/1 var(--display); }
.kp-jar { height: 6cqw; border-radius: 3cqw; background: var(--k-surface2); overflow: hidden; }
.kp-jar i { display: block; width: 40%; height: 100%; background: var(--k-acc); border-radius: 3cqw; }
[data-on="10"] .kp-jar i { animation: jar 1.6s var(--ease) 0.6s both; }
@keyframes jar { from { width: 26%; } }
.kp-dream small { font-size: 3.6cqw; color: var(--k-muted); }
.kp-pop.is-shown { transform: none; opacity: 1; transition: transform 600ms var(--ease), opacity 400ms var(--ease); }
.kp-pop:not(.is-shown) { transition: transform 500ms var(--ease), opacity 400ms var(--ease); }
.pb-inc { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 0; }
.pb-inc li { display: grid; gap: 8px; grid-template-columns: none; background: var(--paper); border-radius: var(--r-card); padding: clamp(20px, 2.4vw, 32px); box-shadow: 5px 5px 0 var(--soleil); }
.pb-inc b { font: 800 clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem)/1.05 var(--display); letter-spacing: -0.03em; }
.pb-inc span { color: var(--muted); font-size: var(--fs-body); line-height: 1.45; }
@media (max-width: 860px) { .pb-inc { grid-column: 1; grid-template-columns: 1fr; } }
.night { padding: clamp(56px, 7vw, 104px) var(--margin); }
.night img { width: clamp(110px, 12vw, 160px); margin-bottom: 20px; }
.night h2 { font-size: var(--fs-h2); }
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--soleil); color: var(--nuit); box-shadow: 4px 4px 0 var(--nuit); transition: transform 160ms var(--ease); }
.to-top:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--nuit); } }
.to-top svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .lockup { font-size: 1.875rem; }
  .bar { padding: 10px 0; }
  .tagline { padding-top: 9px; padding-bottom: 10px; font-size: 0.9375rem; }
  .st-six { width: min(86cqw, 92cqh); }
  .scene[data-s="6"] .st-copy, .scene[data-s="10"] .st-copy { aspect-ratio: 1 / 1.05; }
  /* Colour bands meet softly: each band starts with the colour of the one above it. */
  .scene[data-s="6"] { background: linear-gradient(var(--ground), var(--bg) 160px); }
  .scene[data-s="7"] { background: linear-gradient(var(--soleil), var(--bg) 200px); }
  .scene[data-s="9"] { background: linear-gradient(var(--deep), var(--bg) 200px); }
}

/* Phones: the scene's stage has an explicit height (size containment would collapse it), measured on its width. */
@media (max-width: 860px) {
  .scene .st-copy { top: auto; container-type: inline-size; aspect-ratio: auto !important; height: min(118vw, 62svh); max-height: none; }
  .scene[data-s="1"] .st-copy { height: min(84vw, 44svh); }
  .scene:is([data-s="2"], [data-s="9"]) .st-copy { height: min(96vw, 52svh); }
  .scene[data-s="6"] .st-copy { height: min(100vw, 56svh); }
  .stage::before, .stage::after { width: min(80cqw, 54svh); }
  .st-six { width: min(84cqw, 50svh); }
  .btn-mini { white-space: nowrap; padding: 0 16px; }
}
/* Long scene headings stay within a screen at laptop sizes. */
.scene h2 { font-size: clamp(2.25rem, 1.1rem + 3.3vw, 4.5rem); max-width: 13ch; }

/* On the Soleil scenes the check disc turns Nuit with a Crème check, or it vanishes into the ground. */
:is(.story:is([data-on="6"], [data-on="10"]), .scene:is([data-s="6"], [data-s="10"])) .proof li::before { background: var(--nuit); box-shadow: 2px 2px 0 var(--creme); }
:is(.story:is([data-on="6"], [data-on="10"]), .scene:is([data-s="6"], [data-s="10"])) .proof li::after { border-color: var(--creme); }
/* The back-to-top button reads on every ground: Nuit with a Soleil arrow and a Crème ring. */
.to-top { background: var(--nuit); color: var(--soleil); box-shadow: 0 0 0 3px var(--creme), 0 8px 18px -6px rgb(16 20 46 / 0.45); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { box-shadow: 0 0 0 3px var(--creme), 0 12px 24px -6px rgb(16 20 46 / 0.5); } }

/* ---------- Enfants and Ados, v4: one row per idea, its own picture on a disc (same system as the home) ---------- */
.row { max-width: 1440px; margin: clamp(56px, 8vw, 120px) auto 0; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.row-pic { order: 2; }
.row-copy h2 { font-size: clamp(2rem, 1.15rem + 2.5vw, 3.5rem); max-width: 14ch; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.row-copy > p { margin-top: 20px; font-size: var(--fs-lede); line-height: 1.5; max-width: 36ch; }
.row-stage { --disc: var(--soleil); --ring: var(--nuit); position: relative; container-type: size; height: clamp(440px, 70svh, 660px); display: grid; place-items: center; overflow: hidden; border-radius: 28px; }
.row-stage::before, .row-stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(82cqw, 86cqh); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.row-stage::before { background: var(--disc); }
.row-stage::after { border: 3px solid var(--ring); transform: translate(calc(-50% + 12px), calc(-50% + 10px)); opacity: 0.9; }
.row-stage > * { position: relative; z-index: 1; }
.row-sun .row-stage { background: var(--soleil); --disc: var(--creme); }
.row-stage .kphone, .shotphone { width: min(40cqh, 300px, 72cqw); }
.kp-screen.kp-on { opacity: 1; visibility: visible; transform: none; }
.shotphone { aspect-ratio: 600 / 1100; border-radius: var(--r-phone); overflow: hidden; box-shadow: 0 0 0 10px #10142e, 0 0 0 12px rgb(255 246 224 / 0.28), 0 40px 80px -20px rgb(6 8 24 / 0.45); }
.shotphone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.trio { display: flex; align-items: flex-end; gap: 3cqw; width: min(90cqw, 580px); }
.trio img { flex: 1; min-width: 0; height: auto; }
.row.is-in .trio img { animation: hop 0.62s both; }
.row.is-in .trio img:nth-child(2) { animation-delay: 0.1s; } .row.is-in .trio img:nth-child(3) { animation-delay: 0.2s; }
.row.is-in .kp-press { animation: press 2.4s var(--ease) 0.9s infinite; }
.row.is-in .kp-jar i { animation: jar 1.6s var(--ease) 0.6s both; }
.row-text { grid-template-columns: 1fr; }
.row-text .row-copy { max-width: none; }
.row-text .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 16px 32px; }
.inner .ph { padding-bottom: 8px; }
.inner .ph h1 { max-width: 14ch; }
.inner .night { margin-top: clamp(80px, 10vw, 144px); }
/* The new drawn screens: « Comment faire », a request form, the routine builder. */
.kp-sheet { margin-top: auto; background: var(--k-surface); border-radius: 7cqw; padding: 5cqw; display: grid; gap: 3cqw; box-shadow: 0 -2cqw 6cqw rgb(6 42 49 / 0.08); }
.kp-sheet-h { font: 800 6.6cqw/1.1 var(--display); letter-spacing: -0.02em; }
.kp-steps { display: grid; gap: 3cqw; }
.kp-steps li { display: flex; gap: 3cqw; align-items: center; font-size: 4.2cqw; font-weight: 600; }
.kp-steps li::before { content: ""; flex: none; width: 6cqw; height: 6cqw; border: 0.6cqw solid var(--k-line); border-radius: 1.6cqw; }
.kp-steps .is-done { color: var(--k-muted); text-decoration: line-through; }
.kp-steps .is-done::before { background: var(--k-menthe); border-color: var(--k-menthe); }
.kp-form { margin-top: 2cqw; gap: 2cqw; }
.kp-l { font-size: 3.6cqw; font-weight: 600; color: var(--k-muted); margin-top: 1.5cqw; }
.kp-f { border: 0.5cqw solid #d8dbe6; border-radius: 3.5cqw; padding: 3cqw 3.5cqw; font-size: 4.4cqw; }
.kp-f-n { width: 30cqw; }
.kp-picks { display: grid; gap: 2cqw; }
.kp-picks li { display: flex; align-items: center; gap: 2.5cqw; padding: 2.5cqw 3cqw; border: 0.5cqw solid var(--k-acc); border-radius: 4cqw; font-weight: 600; font-size: 4.2cqw; }
.kp-picks i { flex: none; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--k-acc); color: var(--k-on); font-style: normal; display: grid; place-items: center; font-size: 3.4cqw; font-weight: 800; }
.kp-picks img { width: 7cqw; }
.kp-picks .is-off { border-color: #d8dbe6; }
.kp-picks .is-off i { background: transparent; border: 0.5cqw solid #d8dbe6; }
.kp-form .kp-start { margin-top: 2cqw; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
  .row-pic { order: 0; }
  .row-stage { height: min(112vw, 60svh); border-radius: 22px; }
  .row-copy h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .row-text .proof { grid-template-columns: 1fr; }
}

/* The teen's drawn screens: « Mes tâches » and « À faire » with round ticks. */
.kp-card { background: var(--k-surface); border-radius: 6cqw; padding: 4.5cqw; display: grid; gap: 2.5cqw; }
.kp-card-h { font: 800 6cqw/1.1 var(--display); letter-spacing: -0.02em; }
.kp-group { display: grid; font-weight: 700; font-size: 3.8cqw; color: var(--k-muted); margin-top: 1cqw; }
.kp-group small { font-weight: 600; font-size: 3.4cqw; color: var(--k-acc); }
.kp-ticks { display: grid; gap: 2cqw; }
.kp-ticks li { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 2.5cqw 3cqw; border-radius: 4cqw; background: var(--k-page); }
.kp-ticks span { display: grid; }
.kp-ticks b { font-size: 4.2cqw; font-weight: 700; }
.kp-ticks small { font-size: 3.4cqw; color: var(--k-muted); }
.kp-ticks i { flex: none; width: 8cqw; height: 8cqw; border-radius: 50%; border: 0.7cqw solid var(--k-line); }
.kp-ticks i.is-done { background: var(--k-menthe); border-color: var(--k-menthe); box-shadow: inset 0 0 0 1.4cqw var(--k-menthe); }
.inner .ph { align-items: center; }
.inner .ph-pic { width: min(100%, 300px); }
@media (max-width: 860px) { .inner .ph-pic { width: 150px; } }

/* ---------- Enfants and Ados: the app's réglages on the right, the kid's phone answering on the left ---------- */
.lab-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: 1200px; margin: clamp(40px, 6vw, 88px) auto 0; padding-inline: var(--margin); }
.lab-hero .lede { margin-top: 20px; font-size: var(--fs-lede); line-height: 1.5; max-width: 36ch; }
.lab-hero-pic { width: clamp(88px, 11vw, 150px); flex: none; }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "view intro" "view panel"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 96px); row-gap: 40px; align-items: start; max-width: 1200px; margin: clamp(32px, 4vw, 56px) auto 0; padding-inline: var(--margin); }
.lab-intro { grid-area: intro; } .lab-view { grid-area: view; } .lab-panel { grid-area: panel; }
.lab-intro .lede { margin-top: 20px; font-size: var(--fs-lede); line-height: 1.5; max-width: 34ch; }
.lab-intro h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); }
.lab-view { position: sticky; top: calc(var(--head, 120px) + 24px); display: grid; justify-items: center; gap: 16px; }
.lab-phone { width: auto; height: min(calc(100svh - var(--head, 120px) - 110px), 700px); aspect-ratio: 9 / 19.5; transition: background-color 300ms var(--ease); }
.lab-cap { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.lab-g { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; font-family: var(--text); margin: 0 0 12px; }
.lab-g:not(:first-child) { margin-top: 40px; }
.lab-list { background: var(--paper); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); }
.lab-row { border-top: 1px solid var(--line); transition: background-color 200ms var(--ease); }
.lab-row:first-child { border-top: 0; border-radius: var(--r-card) var(--r-card) 0 0; }
.lab-row:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.lab-row.is-open { background: var(--tone); }
.lab-head { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 4px; }
.lab-row.is-wide .lab-head { flex-wrap: wrap; }
.lab-pick { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 6px 14px; border-radius: 14px; color: inherit; font: inherit; cursor: pointer; }
.lab-row.is-wide .lab-pick { flex-basis: 100%; }
.lab-row.is-wide .lab-head > :not(.lab-pick) { margin-left: 14px; }
.lab-pick b { font-weight: 600; font-size: 1.125rem; }
.lab-pick span { color: var(--muted); font-size: var(--fs-small); }
.lab-tag { justify-self: start; font-style: normal; font-size: 0.8125rem; font-weight: 600; background: var(--nuit); color: var(--creme); border-radius: 999px; padding: 2px 10px; margin-top: 4px; }
.lab-val { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.lab-val p { overflow: hidden; padding: 0 22px 0 18px; max-width: 52ch; }
.lab-row.is-open .lab-val { grid-template-rows: 1fr; }
.lab-row.is-open .lab-val p { padding-bottom: 18px; }
.lab-note { margin-top: 24px; color: var(--muted); }
.lab-note a { font-weight: 600; color: var(--ink); }

/* The kit's controls, in the site's colours. */
.lab-sw { flex: none; width: 56px; height: 34px; border-radius: 999px; border: 0; padding: 3px; background: #c9c2ad; cursor: pointer; transition: background-color 200ms var(--ease); }
.lab-sw i { display: block; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(31 37 71 / 0.3); transition: transform 240ms var(--ease); }
.lab-sw[aria-checked="true"] { background: var(--nuit); }
.lab-sw[aria-checked="true"] i { transform: translateX(22px); }
.lab-seg { display: inline-flex; background: var(--ground); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.lab-seg button, .lab-chips button, .lab-see { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 var(--fs-small)/1 var(--text); cursor: pointer; }
.lab-seg button[aria-pressed="true"] { background: var(--nuit); color: var(--creme); }
.lab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-chips button { display: inline-flex; align-items: center; gap: 8px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px 0 12px; }
.lab-chips button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--nuit); background: #fff; }
.lab-chips img { width: 26px; height: auto; }
.lab-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.lab-swatches button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: 0 0 0 3px var(--paper), 0 0 0 3px var(--paper); transition: box-shadow 160ms var(--ease); }
.lab-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--nuit); }
.lab-see { flex: none; background: var(--soleil); }
@media (hover: hover) and (pointer: fine) { .lab-pick:hover b { text-decoration: underline; text-underline-offset: 0.2em; } .lab-see:hover { background: var(--soleil-press); } }

/* ---------- The drawn phone ---------- */
.lab-phone { --k-soft: #cdeef4; --nb: #2fd0e6; }
.lab-phone .lp-n { display: block; }
.lab-phone .lp-n svg { width: 100%; height: auto; overflow: visible; }
.nbf { fill: var(--nb); } .nbs { stroke: var(--nb); }
.lab-phone[data-scr="routine"] .ls-routine, .lab-phone[data-scr="task"] .ls-task, .lab-phone[data-scr="end"] .ls-end, .lab-phone[data-scr="wait"] .ls-wait,
.lab-phone[data-scr="t-wait"] .ls-t-wait, .lab-phone[data-scr="t-kid"] .ls-t-kid, .lab-phone[data-scr="t-ask"] .ls-t-ask, .lab-phone[data-scr="t-build"] .ls-t-build, .lab-phone[data-scr="t-month"] .ls-t-month
  { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 500ms var(--ease), visibility 0s; }
.lp-head { display: flex; align-items: center; justify-content: space-between; min-height: 12cqw; }
.lp-head .lp-n { width: 11cqw; }
.lp-title { display: flex; align-items: center; gap: 2.5cqw; font: 800 7cqw/1.1 var(--display); letter-spacing: -0.02em; }
.lp-title img { width: 10cqw; }
.lp-bar { display: flex; height: 11cqw; border-radius: 4cqw; overflow: hidden; font-size: 3.2cqw; font-weight: 700; }
.lp-bar span { display: flex; flex-direction: column; justify-content: center; padding: 0 3cqw; line-height: 1.15; }
.lp-bar b { font-weight: 600; }
.lp-bt { flex: 43; background: var(--k-acc); color: var(--k-on); }
.lp-bf { flex: 17; background: var(--k-free); color: #1a1d33; }
.lp-rows { display: grid; gap: 2.5cqw; }
.lp-rows li { position: relative; display: flex; align-items: center; gap: 3cqw; background: var(--k-surface); border-radius: 5cqw; padding: 3cqw 3.5cqw; min-height: 17cqw; transition: opacity 300ms var(--ease); }
.lp-rows li > img { width: 10cqw; flex: none; }
.lp-rows .txt { display: grid; flex: 1; }
.lp-rows b { font: 800 5cqw/1.15 var(--display); letter-spacing: -0.02em; }
.lp-rows small { font-size: 3.5cqw; color: var(--k-muted); }
.lp-rows .is-run { box-shadow: inset 0 0 0 0.8cqw var(--k-acc); }
.lp-go { flex: none; width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center; background: var(--k-acc); color: var(--k-on); font-size: 4.4cqw; }
.lp-lock, .lp-pre, .o-on { display: none; }
.lp-lock { flex: none; width: 9cqw; height: 9cqw; border-radius: 50%; place-items: center; background: var(--k-surface2); font-size: 4.6cqw; }
.is-order .lp-a { opacity: 0.6; }
.is-order .lp-a .lp-lock { display: grid; }
.is-order .lp-a > img:first-child { display: none; }
.is-order .o-on { display: block; } .is-order .o-off { display: none; }
.lp-pop { bottom: 6cqw; right: 2cqw; }
.lp-pop .lp-n { width: 26cqw; flex: none; }
.lp-pop .kp-bubble span:not(.lp-n) { display: none; }
.kp-pop.lp-pop.is-shown { transform: none; opacity: 1; transition: transform 600ms var(--ease), opacity 400ms var(--ease); }
.kp-pop.lp-pop:not(.is-shown) { transform: translateY(160%); opacity: 0; transition: transform 500ms var(--ease), opacity 400ms var(--ease); }
.lab-phone[data-voice="complice"] [data-v="complice"], .lab-phone[data-voice="coach"] [data-v="coach"], .lab-phone[data-voice="calme"] [data-v="calme"] { display: inline !important; }
.lab-phone [data-v] { display: none; }

/* Picto mode: no words, bigger pictures. */
.lab-phone .pic { display: none; }
.is-picto .txt { display: none !important; }
.is-picto .pic { display: block; }
.is-picto .lp-title img { width: 16cqw; }
.is-picto .lp-rows { grid-template-columns: 1fr 1fr; }
.is-picto .lp-rows li { flex-direction: column; justify-content: center; min-height: 34cqw; padding: 4cqw; }
.is-picto .lp-rows li > img:first-child { width: 20cqw; }
.is-picto .lp-go { position: absolute; right: 2.5cqw; top: 2.5cqw; width: 8cqw; height: 8cqw; }
.is-picto.is-order .lp-a .lp-lock { width: 18cqw; height: 18cqw; font-size: 9cqw; color: var(--k-ink); }
.is-picto .lp-rows li { min-height: 26cqw; }
.is-picto .lp-rows li > img:first-child { width: 15cqw !important; }
.is-picto.is-order .lp-a .lp-pre { display: block; position: absolute; right: 3cqw; bottom: 3cqw; width: 9cqw; }
.is-picto .kp-picto { width: 30cqw; }
.is-picto .ls-task .kp-speak { display: grid; }
.lab-phone .kp-speak { display: none; }
.is-picto .kp-done { min-height: 16cqw; }
.is-picto .kp-done .ki-s { width: 8cqw; height: 8cqw; }
.is-picto .lp-bar span { align-items: center; }

/* The task: the timer drains (À rebours) or fills (Chrono). */
.lp-face .kp-label .ki { width: 4cqw; height: 4cqw; }
.kp-done .ki-s { width: 5.5cqw; height: 5.5cqw; stroke-width: 2.4; }
.lp-sheet { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 4cqw; background: rgb(10 14 36 / 0.28); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s 300ms; }
.lp-sheet .kp-sheet { transform: translateY(30%); transition: transform 400ms var(--ease); }
.is-help .lp-sheet { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease), visibility 0s; }
.is-help .lp-sheet .kp-sheet { transform: none; }
.kp-steps li.is-done::before { background: var(--k-menthe); border-color: var(--k-menthe); }
.kp-steps li.is-done { color: var(--k-muted); text-decoration: line-through; }

/* The end of a routine: the accent fills the screen. */
.ls-end { background: var(--k-acc); color: var(--k-on); align-items: center; justify-content: center; text-align: center; gap: 4cqw; --nb: var(--k-free); }
.ls-end > .lp-n { width: 50cqw; }
.lab-phone[data-scr="end"] .ls-end > .lp-n { animation: hop 1.4s var(--ease) 0.3s 2 both; }
.lp-win { font: 800 11cqw/1 var(--display); letter-spacing: -0.03em; }
.lp-gl { display: grid; gap: 2cqw; width: 100%; }
.lp-gl li { display: flex; align-items: center; gap: 2.5cqw; background: rgb(255 255 255 / 0.9); color: #1a1d33; border-radius: 4cqw; padding: 2.5cqw 3.5cqw; font-size: 3.8cqw; font-weight: 600; text-align: left; }
.lp-gl img { width: 7cqw; } .lp-gl b { font: 800 5cqw/1 var(--display); }
.lab-phone:not(.is-gems) .lp-gl { display: none; }
.lp-ahead { font-weight: 700; font-size: 4.2cqw; }
.lp-ok { min-height: 14cqw; width: 100%; display: grid; place-items: center; border-radius: 5cqw; background: #fff; color: #1a1d33; font: 800 6cqw/1 var(--display); margin-top: 2cqw; }
.lp-confetti i { position: absolute; width: 2.4cqw; height: 4cqw; border-radius: 1cqw; background: var(--k-free); top: -6%; opacity: 0; }
.lp-confetti i:nth-child(3n) { background: #fff; } .lp-confetti i:nth-child(3n+1) { background: var(--k-soft); }
.lab-phone[data-scr="end"] .lp-confetti i { animation: fall 2.6s linear both; }
.lp-confetti i:nth-child(1) { left: 6%; animation-delay: 0.1s !important; } .lp-confetti i:nth-child(2) { left: 14%; animation-delay: 0.5s !important; } .lp-confetti i:nth-child(3) { left: 22%; animation-delay: 0.2s !important; } .lp-confetti i:nth-child(4) { left: 30%; animation-delay: 0.7s !important; } .lp-confetti i:nth-child(5) { left: 38%; animation-delay: 0.3s !important; } .lp-confetti i:nth-child(6) { left: 46%; animation-delay: 0.6s !important; } .lp-confetti i:nth-child(7) { left: 54%; animation-delay: 0.15s !important; } .lp-confetti i:nth-child(8) { left: 62%; animation-delay: 0.45s !important; } .lp-confetti i:nth-child(9) { left: 70%; animation-delay: 0.25s !important; } .lp-confetti i:nth-child(10) { left: 78%; animation-delay: 0.65s !important; } .lp-confetti i:nth-child(11) { left: 86%; animation-delay: 0.35s !important; } .lp-confetti i:nth-child(12) { left: 92%; animation-delay: 0.55s !important; } .lp-confetti i:nth-child(13) { left: 10%; animation-delay: 0.9s !important; } .lp-confetti i:nth-child(14) { left: 66%; animation-delay: 1s !important; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0.8; transform: translateY(115cqh) rotate(540deg); } }
.lab-phone { container-type: size; }

/* The wait screen and the custody colours. */
.ls-wait > .lp-n { width: 46cqw; margin: auto auto 0; }
.lab-phone[data-scr="wait"] .ls-wait > .lp-n { animation: idle 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.lp-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.4cqw; }
.lp-week li { position: relative; display: grid; justify-items: center; gap: 0.6cqw; padding: 1.8cqw 0 2.2cqw; border-radius: 2.6cqw; background: var(--k-surface); font-size: 3cqw; min-height: 17cqw; transition: background-color 400ms var(--ease); }
.lp-week b { font-weight: 600; color: var(--k-muted); } .lp-week span { font: 800 4.4cqw/1 var(--display); }
.lp-week img { width: 5.5cqw; }
.lp-week .is-today { box-shadow: inset 0 0 0 0.7cqw var(--k-ink); }
.is-home .lp-week [data-h="me"] { background: #f6b38e; }
.is-home .lp-week [data-h="other"] { background: #8fd8b8; }
.is-home .lp-week li:nth-child(2) { transition-delay: 40ms; } .is-home .lp-week li:nth-child(3) { transition-delay: 80ms; } .is-home .lp-week li:nth-child(4) { transition-delay: 120ms; } .is-home .lp-week li:nth-child(5) { transition-delay: 160ms; } .is-home .lp-week li:nth-child(6) { transition-delay: 200ms; } .is-home .lp-week li:nth-child(7) { transition-delay: 240ms; }

/* The teen's screens. */
.is-teen .kp-screen { gap: 3cqw; }
.lp-hi { font: 800 6.4cqw/1.1 var(--display); letter-spacing: -0.02em; }
.lp-bal { display: inline-flex; align-items: center; gap: 1.5cqw; background: var(--k-surface); border-radius: 999px; padding: 1.5cqw 3cqw; font: 800 4.6cqw/1 var(--display); }
.lp-bal img { width: 5.5cqw; }
.lp-ready { display: flex; align-items: center; gap: 3cqw; background: var(--k-surface); border-radius: 5cqw; padding: 3cqw 3.5cqw; border: 0.6cqw solid var(--k-acc); }
.lp-ready > img { width: 9cqw; } .lp-ready span { flex: 1; font-size: 4.2cqw; }
.lab-phone:not(.is-auto) .lp-mine, .lab-phone:not(.is-prime) .lp-prime { display: none; }
.lp-prime { border: 0.6cqw solid var(--k-free); }
.ls-t-wait > .lp-n { width: 30cqw; margin: auto auto 0; }
.ls-t-kid > .lp-n { width: 44cqw; margin: auto auto 0; }
.lab-phone .u-p { display: none; } .lab-phone.is-pts .u-p { display: inline; } .lab-phone.is-pts .u-g { display: none; }
.lp-h { font: 800 7cqw/1.1 var(--display); letter-spacing: -0.02em; }
.lp-field { display: grid; gap: 1.5cqw; }
.lp-field small { font-size: 3.4cqw; font-weight: 600; color: var(--k-muted); }
.lp-field > span { background: var(--k-surface); border-radius: 3.5cqw; padding: 3cqw 3.5cqw; font-weight: 600; box-shadow: inset 0 0 0 0.4cqw var(--k-soft); }
.lp-send { margin-top: auto; font-size: 5cqw; }
.lp-picks { display: grid; gap: 1.6cqw; }
.lp-picks li { display: flex; align-items: center; gap: 2.5cqw; background: var(--k-surface); border-radius: 3.5cqw; padding: 2cqw 3cqw; }
.lp-picks img { width: 7cqw; } .lp-picks b { flex: 1; font-weight: 600; font-size: 3.8cqw; }
.lp-picks i { width: 6.5cqw; height: 6.5cqw; border-radius: 50%; background: var(--k-acc); color: var(--k-on); display: grid; place-items: center; font: 800 3.6cqw/1 var(--display); font-style: normal; }
.lp-days { display: flex; justify-content: space-between; }
.lp-days i { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; display: grid; place-items: center; background: var(--k-surface); font-style: normal; font-weight: 700; font-size: 3.4cqw; }
.lp-days i.on { background: var(--k-acc); color: var(--k-on); }
.lp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1cqw; background: var(--k-surface); border-radius: 4cqw; padding: 2.5cqw; }
.lp-cal li { position: relative; display: grid; place-items: center; height: 8cqw; font-size: 3.4cqw; font-weight: 600; border-radius: 2cqw; }
.lp-cal .lp-dl { color: var(--k-muted); height: 6cqw; font-size: 3cqw; }
.lp-cal .is-today { box-shadow: inset 0 0 0 0.5cqw var(--k-ink); }
.lp-cal .is-pick { background: var(--k-acc); color: var(--k-on); }
.lp-cal i { position: absolute; bottom: 0.8cqw; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--k-acc); }
.lp-cal .is-pick i { background: var(--k-on); }
.lp-ev { display: flex; align-items: center; gap: 3cqw; background: var(--k-surface); border-radius: 4cqw; padding: 3cqw 3.5cqw; }
.lp-ev img { width: 8cqw; } .lp-ev span { display: grid; } .lp-ev b { font-weight: 700; } .lp-ev small { color: var(--k-muted); font-size: 3.4cqw; }

/* Phones and tablets: the phone stays in view above the réglages. */
@media (max-width: 899px) {
  .lab { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "view" "panel"; row-gap: 20px; }
  .lab-view { top: var(--head, 100px); z-index: 2; background: var(--ground); padding: 12px 0 14px; margin-inline: calc(var(--margin) * -1); box-shadow: 0 10px 14px -12px rgb(31 37 71 / 0.35); }
  .lab-phone { height: min(46svh, 440px); aspect-ratio: 9 / 17.5; border-radius: 26px; box-shadow: 0 0 0 7px #10142e, 0 20px 40px -16px rgb(6 8 24 / 0.45); }
  .lab-cap { display: none; }
  .lab-row { scroll-margin-top: calc(var(--head, 100px) + min(46svh, 440px) + 40px); }
  .lab-hero-pic { width: 84px; }
}
@media (prefers-reduced-motion: reduce) { .lab-phone *, .lab-row, .lab-val { animation: none !important; transition: none !important; } }

/* Small phones: the lockup, « Me prévenir » and « Menu » keep a clear gap between them. */
@media (max-width: 440px) {
  .bar { gap: 12px; }
  .lockup { font-size: 1.625rem; }
  .btn-mini, .menu summary { padding: 0 14px; }
}

/* ---------- Enfants: the two promises as chapters; each feature a card with its screen inside ---------- */
.chap { margin-top: clamp(72px, 9vw, 140px); padding-inline: max(var(--margin), calc((100% - 1200px) / 2)); }
.chap-tone, .chap-sun { padding-block: clamp(64px, 8vw, 120px); }
.chap-tone { background: var(--tone); }
.chap-sun { background: var(--soleil); }
.chap-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.chap-head h2 { font-size: var(--fs-display); }
.chap-head p { font-size: var(--fs-lede); line-height: 1.5; max-width: 38ch; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.feat { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.chap-tone .feat, .chap-sun .feat { box-shadow: none; }
.feat-copy { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; }
.feat-copy h3 { font: 800 clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem)/1.05 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.feat-copy p { max-width: 46ch; }
.feat-shot { container-type: inline-size; display: flex; justify-content: center; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px); }
.feat-shot .kphone { width: min(230px, 66cqw); flex: none; box-shadow: 0 0 0 8px #10142e, 0 24px 48px -18px rgb(6 8 24 / 0.45); border-radius: 30px; }
.feat-shot .trio { width: min(52cqw, 420px); }
.feat.is-wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.feat.is-wide .feat-copy { padding-bottom: clamp(24px, 3vw, 36px); align-content: center; }
.feat.is-wide .feat-copy h3 { font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem); }
.feat.is-wide .feat-copy p { font-size: var(--fs-lede); line-height: 1.5; }
.feat.is-in .kp-press { animation: press 2.4s var(--ease) 0.9s infinite; }
.feat.is-in .kp-jar i { animation: jar 1.6s var(--ease) 0.6s both; }
.feat.is-in .trio img { animation: hop 0.62s both; }
.feat.is-in .trio img:nth-child(2) { animation-delay: 0.1s; } .feat.is-in .trio img:nth-child(3) { animation-delay: 0.2s; }
.chap-fam .fam { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); background: var(--paper); border-radius: 28px; box-shadow: 0 0 0 1px var(--line); padding: clamp(28px, 4vw, 56px); }
.chap-fam .fam img { width: clamp(96px, 12vw, 160px); flex: none; }
.chap-fam .fam p + p { margin-top: 0.75em; }
.chap-fam h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.chap-fam p { font-size: var(--fs-lede); line-height: 1.5; max-width: 52ch; }
body.kid .night { margin-top: clamp(72px, 9vw, 140px); }
@media (max-width: 760px) {
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat.is-wide { grid-template-columns: minmax(0, 1fr); }
  .feat.is-wide .feat-copy { padding-bottom: 0; }
  .feat-shot { flex-wrap: wrap; }
  .feat-shot .kphone { width: min(220px, 62cqw); }
  .feat-shot .trio { width: min(84cqw, 340px); }
  .chap-fam .fam { flex-direction: column; align-items: flex-start; }
}
/* A real screen of the app (emulator capture, status bar cut) in a phone frame. */
.appshot { flex: none; width: min(240px, 66cqw); border-radius: 30px; overflow: hidden; background: #10142e; box-shadow: 0 0 0 8px #10142e, 0 24px 48px -18px rgb(6 8 24 / 0.45); }
.appshot img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .appshot { width: min(230px, 62cqw); } }
.feat:not(:has(.feat-shot)) { grid-column: 1 / -1; }
.feat:not(:has(.feat-shot)) .feat-copy { padding-bottom: clamp(24px, 3vw, 36px); }
.feat-copy h3 .chip { vertical-align: middle; margin-left: 6px; font-size: 0.8125rem; }
/* Phones: each scene has its own stage, so Naumie's intro and the bubbles exist only in scenes 1 and 2 (the desktop's
   walk-out in scene 3 left them fading behind the phone). */
@media (max-width: 860px) { .scene:not([data-s="1"]):not([data-s="2"]) .st-copy :is(.st-n, .st-bubbles) { display: none !important; } }

/* Phones: each colour band is a sheet that rises over the one before it as you scroll (rounded top, soft shadow),
   so the colour changes under the finger instead of on a timer, and two colours never blend. Same-colour scenes
   (6 and 10, 7 and 8) stay one band. */
@media (max-width: 860px) {
  .story .scene { position: relative; }
  .story .scene:is([data-s="6"], [data-s="7"], [data-s="9"]) { background: var(--bg); margin-top: -36px; padding-top: 44px; border-radius: 36px 36px 0 0; box-shadow: 0 -16px 32px -14px rgb(16 20 46 / 0.32); }
}
/* Each stage settles in as it scrolls into view (where scroll-driven animations exist; elsewhere it just shows). */
@supports (animation-timeline: view()) {
  @media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
    .story .scene .st-copy { animation: stage-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes stage-in { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Home, the end: the families band, then the price in a Soleil panel ---------- */
.fams { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); }
.fams h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); max-width: 22ch; }
.fams-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.fams-list li { display: grid; align-content: start; gap: 8px; background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 0 0 1px var(--line); }
.fams-list img { width: 64px; height: auto; margin-bottom: 10px; }
.fams-two { display: flex; gap: 6px; margin-bottom: 10px; }
.fams-two img { width: 56px; margin: 0; }
.fams-list b { font: 800 clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem)/1.1 var(--display); letter-spacing: -0.03em; }
.fams-list span { color: var(--muted); }
.fams > .link { display: inline-block; margin-top: 24px; font-weight: 600; }
.price-big { max-width: 1440px; margin: var(--gap) auto 0; padding: 0 var(--margin); display: block; }
.price-big > * { margin: 0; }
.price-big { --pb-pad: clamp(28px, 5vw, 72px); }
.price-big .pb-main, .price-big .pb-inc { grid-column: auto; }
.price-big { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--soleil); border-radius: 40px; padding: var(--pb-pad); max-width: calc(1440px - 2 * var(--margin)); width: calc(100% - 2 * var(--margin)); }
.price-big .pb-note { color: var(--nuit); }
.price-big .link { text-decoration-color: var(--nuit); }
.price-big .pb-inc { grid-template-columns: 1fr 1fr; gap: 14px; }
.price-big .pb-inc li { box-shadow: 4px 4px 0 var(--nuit); }
@media (max-width: 860px) {
  .fams-list { grid-template-columns: 1fr; }
  .fams-list li { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .fams-list li > img, .fams-list .fams-two { grid-row: span 2; margin: 0; }
  .fams-list img { width: 48px; } .fams-two img { width: 40px; }
  .price-big { grid-template-columns: 1fr; border-radius: 32px; width: calc(100% - 2 * var(--margin)); }
  .price-big .pb-inc { grid-template-columns: 1fr; }
}
/* The families cards: one fixed picture slot, so the text lines up whether it holds one Naumie or two. */
.fams-list li > img, .fams-two { height: 64px; display: flex; align-items: flex-end; }
.fams-list li > img { width: auto; }
.fams-two img { width: auto; height: 56px; }
@media (max-width: 860px) {
  .fams-list li { grid-template-columns: 76px 1fr; }
  .fams-list li > img, .fams-list .fams-two { justify-self: center; height: 52px; }
  .fams-two { gap: 2px; } .fams-two img { height: 40px; }
}
/* While a screen loads, its frame shows the theme's page colour (Lagon for Félix, Minuit for Zack), not navy. */
.appshot { background: #eef9fb; }
body.teen .appshot { background: #f2f2f7; }
.appshot img { background: inherit; }
/* Two coloured chapters in a row meet edge to edge: no strip of Crème between them. */
.chap:is(.chap-tone, .chap-sun) + .chap:is(.chap-tone, .chap-sun) { margin-top: 0; }
.chap:is(.chap-tone, .chap-sun, .chap-fam) + .night { margin-top: 0; }
/* « Moins de conflits. »: three small cards in a row, then the large one. */
.chap.feats-3 .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chap.feats-3 .feat-shot .appshot { width: min(220px, 74cqw); }
@media (max-width: 1080px) { .chap.feats-3 .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .chap.feats-3 .feats { grid-template-columns: minmax(0, 1fr); } }
/* A small card's screen sits on the card's bottom edge: two cards in a row have the same height, so their phones line
   up at the same place whatever the length of the text above them (the extra space goes between text and phone). */
.feat:not(.is-wide) .feat-shot { align-items: flex-end; }
.lede:empty { display: none; }

/* ---------- Waitlist form ---------- */
.wait { display: grid; gap: 12px; width: min(100%, 420px); text-align: left; }
.wait-lab { font-weight: 600; font-size: var(--fs-small); }
.wait-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.wait-in {
  flex: 1 1 180px; min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.2 var(--text);
  box-shadow: inset 0 0 0 2px var(--line);
}
.wait-in::placeholder { color: var(--muted); opacity: 0.8; }
.wait-in:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }
.wait-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.wait-msg { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--muted); min-height: 1.4em; }
.wait-msg[data-kind="ok"] { color: var(--ink); }
.wait-msg[data-kind="bad"], .wait-msg[data-kind="err"] { color: #8a1f2b; }
.wait[data-done] .wait-row { display: none; }
.wait[data-done] .wait-lab { display: none; }
.way-launch .wait { grid-column: 1 / -1; width: min(100%, 480px); margin-top: 8px; }
.way-launch .wait-in { box-shadow: inset 0 0 0 2px rgb(31 37 71 / 0.18); background: var(--creme); }
.way-launch .wait .btn { background: var(--nuit); color: var(--creme); }
.night .wait { justify-self: center; text-align: left; }
.night .wait-lab, .night .wait-msg { color: var(--muted-on-deep); }
.night .wait-msg[data-kind="ok"] { color: var(--creme); }
.night .wait-in { background: var(--creme); color: var(--nuit); box-shadow: none; }
.night .wait .btn { background: var(--soleil); color: var(--nuit); }
.receipt-text .wait { margin-top: 8px; }
@media (max-width: 860px) {
  .wait-row { flex-direction: column; }
  .wait .btn { width: 100%; }
}
