/* moov-it · public site. One stylesheet, no build step.
   Brand: Encre #0F1B22 · Menthe #3DDC97 · Papier #F5F2EB (~60/30/10).
   Rule from the charte: mint is never used as text on a light background (use Vert profond #0E7A55). */

/* ---------- Fonts (self-hosted, split latin / latin-ext so French pages only load latin) ---------- */
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url(fonts/sora-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url(fonts/sora-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Registered so the Pouls colour (and everything derived from it) cross-fades instead of snapping. */
@property --pc { syntax: '<color>'; inherits: true; initial-value: #3DDC97; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0F1B22;
  --ink-2: #16262F;
  --ink-3: #1F333D;
  --mint: #3DDC97;
  --mint-tint: #DEF5E9;
  --paper: #F5F2EB;
  --card: #FFFDF7;
  --line: #E4E9E6;
  --deep: #0E7A55;
  --slate: #56636B;
  --body: #3C474E;
  --coral: #FF6B3D;
  --coral-light: #FF9A78;
  --amber: #FFB547;
  --red: #FF3B30;

  --f-head: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --hdr-h: 68px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --r-card: 24px;
  --r-big: 32px;
  /* Critically damped (no bounce) — Apple response ~0.3–0.4s, not a bounce ease. */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --response: .36s;
  /* Press feedback must feel instant; ease-out, not the response curve. */
  --press-ms: 100ms;
  --press-ease: ease-out;
}

/* Theme scopes: components read --fg/--fg2/--muted/--accent so they work on both grounds. */
.light { --fg: var(--ink); --fg2: var(--body); --muted: var(--slate); --accent: var(--deep); --hair: var(--line); background: var(--paper); color: var(--fg2); }
.paperwhite { --fg: var(--ink); --fg2: var(--body); --muted: var(--slate); --accent: var(--deep); --hair: var(--line); background: var(--card); color: var(--fg2); }
.dark { --fg: var(--paper); --fg2: #B8C6CC; --muted: #8FA1A9; --accent: var(--mint); --hair: rgba(245, 242, 235, .1); background: var(--ink); color: var(--fg2); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
/* Body tracking stays near 0; leading ~1.55 for readable Inter at 16px. */
body { font-family: var(--f-body); font-size: 1rem; line-height: 1.55; letter-spacing: 0; color: var(--body); background: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
/* Optical: tighter tracking + leading as display size grows (WWDC typography). */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--fg); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; font-optical-sizing: auto; }
p { text-wrap: pretty; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Focus: mint ring + ink halo so it stays visible on papier as well as on encre. */
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 18px; border-radius: 99px; background: var(--mint); color: var(--ink); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Extra vertical air so sections read as calm product-page beats, not a dense deck. */
.sec { padding: clamp(96px, 12vw, 168px) 0; }
.sec--tight { padding: clamp(72px, 9vw, 120px) 0; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
/* Eyebrow stays uppercase; tracking eased from .14em so it feels less shouty. */
.eyebrow { font: 700 .75rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.06; }
.lead { font-size: clamp(1.06rem, .98rem + .4vw, 1.28rem); line-height: 1.55; letter-spacing: 0; color: var(--fg2); }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 6.5vw, 80px); }
.sec-head > * + * { margin-top: 16px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--sm { max-width: 640px; margin-bottom: 40px; }
.h3xl { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.fineprint { margin-top: 32px; font-size: .86rem; color: var(--muted); }
.fineprint--center { text-align: center; }
.fineprint--dark { display: flex; align-items: center; gap: 10px; }
.fineprint--dark .ico { color: var(--mint); width: 18px; height: 18px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; background: var(--mint-tint); color: var(--deep); font: 700 .68rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.tag--dark { background: rgba(61, 220, 151, .12); color: var(--mint); }

/* ---------- Logo: lowercase Sora, mint dash drawn as a short rounded bar (never the font hyphen) ---------- */
.logo { display: inline-block; font: 700 1.5rem/1 var(--f-head); letter-spacing: -.02em; color: var(--fg, var(--paper)); text-decoration: none; white-space: nowrap; }
/* overflow:hidden puts the inline-block baseline at its bottom edge, so vertical-align lifts the bar to hyphen height. The "-" stays in the DOM for copy/paste and screen readers. */
.dash { display: inline-block; width: .36em; height: .17em; margin: 0 .06em; border-radius: 1em; background: var(--mint); vertical-align: .17em; color: transparent; overflow: hidden; line-height: 0; }
.logo--sm { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
/* Color/shadow use response curve; press scale uses a separate fast ease-out (WWDC: feedback on down). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 99px; font: 700 .98rem/1.2 var(--f-body); text-decoration: none; text-align: center; transition: transform var(--press-ms) var(--press-ease), background-color var(--response) var(--ease), color var(--response) var(--ease), border-color var(--response) var(--ease), box-shadow var(--response) var(--ease); }
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--mint); color: var(--ink); box-shadow: 0 6px 20px -10px rgba(61, 220, 151, .55); }
.btn--primary:hover { background: #5BE6AA; box-shadow: 0 10px 24px -10px rgba(61, 220, 151, .65); }
.btn--ghost { border: 1.5px solid rgba(245, 242, 235, .28); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(245, 242, 235, .06); }
.btn--outline { border: 1.5px solid rgba(15, 27, 34, .18); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
/* Instant press: scale on :active / .is-pressed — never wait for mouseup. */
.btn:active, .btn.is-pressed { transform: scale(.97); }
.btn--primary:hover:active, .btn--primary.is-pressed { transform: scale(.97); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
/* Glass layer floats; content scrolls under. Scroll-edge fade (via ::after) replaces a hard 1px hairline. */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); transition: background-color var(--response) var(--ease), -webkit-backdrop-filter var(--response) var(--ease), backdrop-filter var(--response) var(--ease); }
.hdr.is-solid, .hdr.is-open {
  background: rgba(15, 27, 34, .66);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
/* Soft edge where overlapping content meets chrome — hierarchy without a hard divider. */
.hdr.is-solid::after, .hdr.is-open::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 27, 34, .28), transparent);
}
.hdr__in { display: flex; align-items: center; gap: 16px; height: 100%; }
.hdr .logo { color: var(--paper); margin-right: auto; }
.hdr__links a { color: rgba(245, 242, 235, .78); text-decoration: none; font-weight: 600; font-size: .92rem; transition: color var(--response) var(--ease); }
.hdr__links a:hover { color: var(--paper); }
.hdr__links .btn { color: var(--ink); }
.hdr__cta { display: none; }
.hdr__burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--paper); transition: transform var(--press-ms) var(--press-ease), background-color var(--response) var(--ease); }
.hdr__burger:active, .hdr__burger.is-pressed { transform: scale(.97); background: rgba(245, 242, 235, .08); }
.burger { position: relative; width: 20px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--response) var(--ease), top var(--response) var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10px; }
.hdr.is-open .burger i:first-child { top: 5px; transform: rotate(45deg); }
.hdr.is-open .burger i:last-child { top: 5px; transform: rotate(-45deg); }

/* Mobile sheet: materialize (opacity + slight scale), same path on close — never display:none mid-transition. */
.hdr__links { display: none; }
@media (max-width: 1023.98px) {
  .hdr__links {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: var(--hdr-h); left: 0; right: 0;
    padding: 12px var(--gutter) 28px;
    max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto;
    /* Heavier material than the bar: sheet hierarchy (don't stack light glass on light glass). */
    background: rgba(15, 27, 34, .86);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 28px 48px -24px rgba(0, 0, 0, .55);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: scale(.985) translateY(-6px);
    transform-origin: top center;
    transition: opacity var(--response) var(--ease), transform var(--response) var(--ease), visibility 0s linear var(--response);
  }
  .hdr.is-open .hdr__links {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .hdr__links a:not(.btn) { display: block; padding: 14px 4px; font: 600 1.15rem/1.2 var(--f-head); border-bottom: 1px solid rgba(245, 242, 235, .08); color: var(--paper); }
}
.hdr__menu-cta { margin-top: 16px; }

@media (min-width: 720px) {
  .hdr__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .hdr__burger, .hdr__menu-cta { display: none; }
  .hdr__links, .hdr.is-open .hdr__links {
    display: flex; flex-direction: row; gap: 26px; position: static; padding: 0;
    background: none; box-shadow: none; max-height: none; overflow: visible;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transition: none;
  }
  .hdr__nav { margin-right: 8px; }
}

/* ---------- Reveal (only when JS is present; reduced motion shows everything at once) ---------- */
/* Softer + shorter than before: slight rise, no elastic overshoot. */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   POULS: rounded heart + white pulse line. Colour = --pc, rhythm = --beat.
   ===================================================================== */
.pouls { position: relative; isolation: isolate; aspect-ratio: 120 / 110; }
.pouls::before { content: ''; position: absolute; inset: -28%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 42%, transparent), transparent 78%); }
.pouls svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 56%; }
.pouls__body { fill: var(--pc); }
.pouls__gloss { fill: none; stroke: #fff; stroke-opacity: .5; stroke-width: 4.5; stroke-linecap: round; }
.pouls__trace, .pouls__spark { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.pouls__trace { stroke-width: 5.5; transition: stroke-opacity .4s; }
.pouls__spark { stroke-width: 6.5; stroke-dasharray: 26 200; stroke-dashoffset: 26; opacity: 0; }
/* .is-live is set by JS only while the heart is on screen (saves battery off-screen). */
.pouls.is-live .pouls__trace { stroke-opacity: .5; }
.pouls.is-live svg { animation: pouls-beat var(--beat, 1.1s) ease-in-out infinite; }
.pouls.is-live .pouls__spark { animation: pouls-travel var(--beat, 1.1s) linear infinite; }
@keyframes pouls-beat {
  0%, 30%, 66%, 100% { transform: scale(1); }
  38% { transform: scale(1.055); }
  46% { transform: scale(.99); }
  54% { transform: scale(1.03); }
}
@keyframes pouls-travel {
  0% { stroke-dashoffset: 26; opacity: 1; }
  78% { stroke-dashoffset: -100; opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
[data-day], [data-ref-pouls], [data-states-pouls], [data-states] { transition: --pc var(--response) var(--ease); }

/* =====================================================================
   PHONE FRAME: everything inside scales with the phone width (cqw units).
   ===================================================================== */
.phone {
  --pw: 280px;
  position: relative; flex: none;
  width: var(--pw); max-width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--pw) * .16);
  background: linear-gradient(155deg, #3B4B53 0%, #18242A 22%, #0B1418 60%, #2A3A41 100%);
  /* Softened multi-layer drop: keep frame craft, less “stacked shadow” density. */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 0 0 calc(var(--pw) * .012) #070D10,
    0 0 0 1px rgba(0, 0, 0, .45),
    0 28px 56px -30px rgba(0, 0, 0, .42),
    0 12px 24px -18px rgba(0, 0, 0, .28);
  container-type: inline-size;
}
/* Side buttons (volume left, power right). */
.phone::before, .phone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #26343B; }
.phone::before { left: -2px; top: 22%; height: 11%; box-shadow: 0 calc(var(--pw) * .16) 0 #26343B; }
.phone::after { right: -2px; top: 28%; height: 15%; }
.phone__screen { position: relative; isolation: isolate; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .13); background: var(--ink); color: var(--paper); font-family: var(--f-body); }
/* Dynamic island */
.phone__screen::before { content: ''; position: absolute; z-index: 30; top: 2.8cqw; left: 50%; width: 30cqw; height: 8.6cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.phone__status { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center; height: 14cqw; padding: 0 7.5cqw 0 10cqw; font: 600 4.2cqw/1 var(--f-body); letter-spacing: .01em; color: #fff; }
.phone__status--over { position: absolute; top: 0; left: 0; right: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.phone__status--dark { color: var(--ink); }
.phone__icons { display: inline-flex; align-items: center; gap: 1.4cqw; }
.phone__icons i { display: block; background: currentColor; }
.phone__icons .sig { width: 4.6cqw; height: 3cqw; clip-path: polygon(0 70%, 18% 70%, 18% 100%, 0 100%, 0 70%, 27% 48%, 45% 48%, 45% 100%, 27% 100%, 27% 48%, 54% 26%, 72% 26%, 72% 100%, 54% 100%, 54% 26%, 82% 0, 100% 0, 100% 100%, 82% 100%, 82% 0); }
.phone__icons .wifi { width: 4.4cqw; height: 3.2cqw; border-radius: 50% 50% 0 0 / 100% 100% 0 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.phone__icons .bat { width: 6.6cqw; height: 3.1cqw; border-radius: 1cqw; background: transparent; box-shadow: inset 0 0 0 .4cqw currentColor; position: relative; opacity: .95; }
.phone__icons .bat::after { content: ''; position: absolute; inset: .8cqw 1.6cqw .8cqw .8cqw; border-radius: .4cqw; background: currentColor; }

/* ---------- Pouls app home (hero phone) ---------- */
.app { display: flex; flex-direction: column; background: radial-gradient(130% 55% at 50% 24%, color-mix(in srgb, var(--pc) 24%, transparent), transparent 62%), var(--ink); }
.app__top { display: flex; justify-content: space-between; align-items: center; padding: 1cqw 6cqw 0; font-size: 3.8cqw; color: rgba(245, 242, 235, .62); }
.app__top b { color: var(--paper); font-weight: 600; }
.app__avatar { display: grid; place-items: center; width: 8.4cqw; height: 8.4cqw; border-radius: 50%; background: var(--ink-3); color: var(--paper); font: 600 3.6cqw/1 var(--f-head); }
/* Slot stacks in-phone avatar over Pouls so the heart can fade in without a layout jump. */
.pouls-slot { position: relative; width: 54cqw; margin: 6cqw auto 5cqw; }
.pouls-slot .pouls--app { width: 100%; margin: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.hero-companion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
/* Hosting: avatar visible, Pouls reserved in layout but invisible until companion exits. */
.phone--hero.is-hosting .pouls--app { opacity: 0; visibility: hidden; }
.phone--hero.is-hosting .hero-companion { opacity: 1; visibility: visible; transition-delay: 0s; }
.phone--hero:not(.is-hosting) .pouls--app { opacity: 1; visibility: visible; transition-delay: 0s; }
.phone--hero:not(.is-hosting) .hero-companion { opacity: 0; visibility: hidden; }
.app__panels { flex: 1; display: grid; padding: 0 5.5cqw 6cqw; min-height: 0; }
/* Day panel swaps stay interruptible: CSS transitions re-target from current opacity/transform. */
.app__panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 3.6cqw; opacity: 0; visibility: hidden; transform: translateY(1.6cqw); transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s linear .32s; }
.app__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.app__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 2cqw; }
.chip { display: inline-flex; align-items: center; gap: 1.5cqw; padding: 1.7cqw 3.2cqw; border-radius: 99px; background: rgba(245, 242, 235, .08); font: 600 3.5cqw/1.1 var(--f-body); color: var(--paper); white-space: nowrap; }
.chip--state::before { content: ''; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 .8cqw color-mix(in srgb, var(--pc) 25%, transparent); }
.chip .ico { width: 3.8cqw; height: 3.8cqw; }
.ico--amber { color: var(--amber); }
.app__msg { padding: 3.8cqw 4.4cqw 4.2cqw; border-radius: 5cqw; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); }
.app__who { font: 700 2.8cqw/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--pc) 72%, #fff); }
.app__msg p { margin-top: 1.8cqw; font-size: 4.2cqw; line-height: 1.45; color: #E6ECEE; }
.app__actions { display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; }
.app__btn { display: flex; align-items: center; justify-content: center; gap: 1.6cqw; width: 100%; padding: 3.2cqw; border-radius: 99px; background: var(--mint); color: var(--ink); font: 700 3.8cqw/1.1 var(--f-body); }
.app__btn .ico { width: 4.2cqw; height: 4.2cqw; }
.app__link { font: 600 3.4cqw/1 var(--f-body); color: rgba(245, 242, 235, .66); text-decoration: underline; text-underline-offset: .8cqw; text-decoration-color: rgba(245, 242, 235, .3); }
.app__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: auto; }
.app__stats > div { display: grid; grid-template-columns: auto 1fr; column-gap: 2.2cqw; align-items: center; padding: 2.8cqw 3.2cqw; border-radius: 4cqw; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.app__stats .ico { grid-row: span 2; width: 5cqw; height: 5cqw; color: var(--pc); }
.app__stats b { font: 600 4.1cqw/1.15 var(--f-head); color: var(--paper); white-space: nowrap; }
.app__stats small { font-size: 2.9cqw; color: rgba(245, 242, 235, .58); }

/* =====================================================================
   1 · HERO
   ===================================================================== */
.hero { position: relative; overflow: clip; padding: calc(var(--hdr-h) + clamp(32px, 6vw, 88px)) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(60% 55% at 80% 32%, rgba(61, 220, 151, .14), transparent 62%),
    radial-gradient(45% 40% at 8% 0%, rgba(61, 220, 151, .06), transparent 70%),
    var(--ink); }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__copy > * + * { margin-top: 20px; }
/* Largest display: most negative tracking; leading locked tight for optical density. */
.hero__title { font-size: clamp(2.45rem, 1.25rem + 4.6vw, 4.5rem); line-height: 1.05; letter-spacing: -.04em; max-width: 13ch; }
.hero__title em { font-style: normal; color: var(--mint); }
.hero__lead { font-size: clamp(1.06rem, .98rem + .45vw, 1.3rem); line-height: 1.55; letter-spacing: 0; color: #C4D1D6; max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
/* Every item carries its own dot, so wrapped lines never start with an orphan separator. */
.hero__reassure { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem; color: #9FB0B7; }
.hero__reassure span { display: inline-flex; align-items: center; gap: 8px; }
.hero__reassure span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.hero__visual { display: flex; justify-content: center; }

.day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.day__glow { position: absolute; z-index: 0; left: 50%; top: 42%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 30%, transparent), transparent 72%); pointer-events: none; }
.phone--hero { --pw: clamp(258px, 70vw, 330px); z-index: 1; }
.day__controls { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.day__tabs { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(245, 242, 235, .05); border: 1px solid rgba(245, 242, 235, .09); }
.day__tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 76px; padding: 7px 12px 11px; border-radius: 99px; color: rgba(245, 242, 235, .58); transition: background-color var(--response) var(--ease), color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.day__tab:hover { color: var(--paper); }
.day__tab[aria-selected="true"] { background: rgba(245, 242, 235, .1); color: var(--paper); }
.day__tab:active, .day__tab.is-pressed { transform: scale(.97); }
.day__time { font: 600 .9rem/1.2 var(--f-head); white-space: nowrap; }
.day__label { font-size: .66rem; letter-spacing: .02em; white-space: nowrap; }
.day__bar { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(245, 242, 235, .12); overflow: hidden; opacity: 0; }
.day__tab[aria-selected="true"] .day__bar { opacity: 1; }
.day__bar i { display: block; height: 100%; background: var(--pc); transform: scaleX(0); transform-origin: left; }
/* Auto-cycle is driven by this animation: its 'animationend' advances to the next moment. */
.day.is-auto .day__tab[aria-selected="true"] .day__bar i { animation: day-progress 6.5s linear forwards; }
.day.is-hold .day__bar i { animation-play-state: paused !important; }
.day.is-user-hold .pouls svg, .day.is-user-hold .pouls__spark { animation-play-state: paused !important; }
@keyframes day-progress { to { transform: scaleX(1); } }
.day__pause { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(245, 242, 235, .14); color: var(--paper); transition: background-color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.day__pause:hover { background: rgba(245, 242, 235, .08); }
.day__pause:active, .day__pause.is-pressed { transform: scale(.97); }
.day__pause .ico { width: 18px; height: 18px; }
.day__pause .ico--play, .day.is-stopped .day__pause .ico--pause { display: none; }
.day.is-stopped .day__pause .ico--play { display: block; }
.day:not(.is-auto) .day__pause { display: none; }

/* Breathing room: pillars are the second beat, not hero clutter in the first viewport. */
.pillars { display: grid; gap: 24px; margin-top: clamp(80px, 11vw, 128px); padding-top: 40px; border-top: 1px solid rgba(245, 242, 235, .1); }
.pillars li { display: flex; gap: 14px; align-items: flex-start; }
.pillars .ico { width: 24px; height: 24px; color: var(--mint); margin-top: 2px; }
.pillars b { display: block; font: 600 1.02rem/1.3 var(--f-head); color: var(--paper); }
.pillars span { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.5; color: #9FB0B7; }

@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; gap: 28px 40px; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .phone--hero { --pw: 320px; }
}

/* =====================================================================
   2 · TA RÉFÉRENCE
   ===================================================================== */
.ref { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.ref__copy > * + * { margin-top: 18px; }
.ref__copy .lead { font-family: var(--f-head); font-weight: 600; color: var(--ink); letter-spacing: -.01em; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); line-height: 1.35; }
.ref__hint { display: flex; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(15, 27, 34, .04); font-size: .9rem; color: var(--slate); }
.ref__hint .ico { color: var(--deep); width: 18px; height: 18px; margin-top: 2px; }

/* Interactive card: hairline + soft elevation — no stacked chrome. */
.refcard { --zl: 56%; --zw: 24%; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--card); border: 1px solid rgba(15, 27, 34, .08); box-shadow: 0 16px 40px -28px rgba(15, 27, 34, .22); }
.refcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.refcard__q { font: 600 1rem/1.3 var(--f-head); color: var(--ink); }
.toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: #EEEAE0; }
.toggle button { min-height: 40px; padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: .9rem; color: var(--slate); transition: background-color var(--response) var(--ease), color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toggle button:active, .toggle button.is-pressed { transform: scale(.97); }

/* Scale 30 → 80 ms; positions are percentages of that range. */
.scale { position: relative; height: 124px; margin: 26px 4px 0; }
.scale__band { position: absolute; height: 22px; border-radius: 99px; }
.scale__band--avg { top: 40px; left: 8%; width: 84%; background: #E3DED2; }
/* Springier but critically damped: snappier response, no overshoot. */
.scale__band--you { top: 72px; left: var(--zl); width: var(--zw); background: var(--mint); transition: left .4s var(--ease), width .4s var(--ease); }
/* Labels live in a legend: the 52 ms marker would otherwise cut through text inside the bands. */
.scale__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 4px 0; font-size: .82rem; color: var(--slate); }
.scale__legend > span { display: inline-flex; align-items: center; gap: 8px; }.scale__legend i { width: 22px; height: 10px; border-radius: 99px; background: #E3DED2; }
.scale__legend .you i { background: var(--mint); }
.scale__legend .you b { color: var(--ink); }
.scale__marker { position: absolute; left: 44%; top: 0; bottom: 22px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.scale__marker::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.scale__marker span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 700 .78rem/1.1 var(--f-body); white-space: nowrap; }
.scale__ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; font-size: .72rem; color: var(--slate); }
.scale__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.scale__ticks span:nth-child(1) { left: 0; transform: none; }
.scale__ticks span:nth-child(2) { left: 20%; }
.scale__ticks span:nth-child(3) { left: 40%; }
.scale__ticks span:nth-child(4) { left: 60%; }
.scale__ticks span:nth-child(5) { left: 80%; }
.scale__ticks span:nth-child(6) { right: 0; left: auto; transform: none; }

.refcard__out { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 16px 18px; border-radius: 20px; background: var(--paper); }
.pouls--ref { width: 72px; flex: none; }
.refcard__state { font: 600 1.05rem/1.25 var(--f-head); color: var(--ink); }
.refcard__text { margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--body); }
.refcard__plan { display: grid; gap: 8px; margin-top: 14px; }
.refcard__plan li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: .93rem; font-weight: 600; color: var(--ink); }
.refcard__plan .ico { width: 18px; height: 18px; color: var(--deep); }
/* Snappier Apple-response cross-fade on profile swap (translate kept tiny). */
.refcard.is-swapping .refcard__verdict, .refcard.is-swapping .refcard__plan { opacity: 0; transform: translateY(4px); }
.refcard__verdict, .refcard__plan { transition: opacity .22s var(--ease), transform .22s var(--ease); }

.core { margin-top: clamp(72px, 10vw, 120px); }
.core__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 28px; }
.steps4 { display: grid; gap: 16px; counter-reset: s; }
.steps4 li { position: relative; padding: 24px; border-radius: var(--r-card); background: var(--card); border: 1px solid rgba(15, 27, 34, .08); box-shadow: none; }
.steps4__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: var(--mint); font: 700 1rem/1 var(--f-head); }
.steps4 h4 { margin-top: 18px; font-size: 1.12rem; }
.steps4 p { margin-top: 8px; font-size: .94rem; line-height: 1.55; }

@media (min-width: 720px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .ref { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .steps4 { grid-template-columns: repeat(4, 1fr); }
  /* Connector between the four steps on wide screens. */
  .steps4 li:not(:last-child)::after { content: ''; position: absolute; top: 41px; right: -14px; width: 12px; height: 2px; border-radius: 2px; background: var(--deep); opacity: .45; }
}

/* =====================================================================
   3 · LA DIFFÉRENCE
   ===================================================================== */
.vs__head { display: none; }
.vs__row { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--hair); }
.vs__row:last-child { border-bottom: 1px solid var(--hair); }
.vs__row dt { font: 700 .74rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.vs__old { font-size: .95rem; color: #7F9199; }
.vs__new { display: flex; gap: 10px; align-items: flex-start; font: 600 1.06rem/1.4 var(--f-body); color: var(--paper); }
.vs__new .ico { color: var(--mint); margin-top: 2px; }
.statement { margin-top: clamp(48px, 7vw, 80px); max-width: 900px; font: 600 clamp(1.45rem, 1rem + 1.9vw, 2.3rem)/1.2 var(--f-head); letter-spacing: -.035em; color: var(--paper); text-wrap: balance; }
.statement span { color: var(--mint); }

@media (min-width: 720px) {
  .vs__head { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 32px; padding-bottom: 14px; font: 700 .74rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #7F9199; }
  .vs__head .vs__brand { font: 700 1.25rem/1 var(--f-head); letter-spacing: -.02em; text-transform: none; color: var(--paper); }
  .vs__row { grid-template-columns: 180px 1fr 1fr; gap: 32px; align-items: baseline; padding: 24px 0; }
  .vs__row dt { padding-top: 3px; }
  .vs__old { font-size: 1rem; }
}

/* =====================================================================
   4 · LE POULS
   ===================================================================== */
.pstage { display: grid; gap: 32px; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-big); background: radial-gradient(70% 70% at 25% 40%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 70%), var(--ink); overflow: hidden; }
.pstage__show { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 16px 0; }
.pouls--xl { width: clamp(170px, 38vw, 280px); }
/* 3D Pouls canvas host — same footprint as .pouls--xl; hidden until MoovPouls3D mounts. */
.pouls3d { width: clamp(170px, 38vw, 280px); aspect-ratio: 120 / 110; position: relative; }
.pouls3d[hidden] { display: none !important; }
.pouls3d canvas { display: block; width: 100%; height: 100%; }
.pstage__name { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.1 var(--f-head); letter-spacing: -.02em; color: var(--paper); }
.pstage__name i { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 25%, transparent); }
.pstage__meaning { margin-top: 6px; font-weight: 600; color: color-mix(in srgb, var(--pc) 60%, #fff); }
.pstage__say { max-width: 40ch; margin: 14px auto 0; font-size: 1rem; line-height: 1.55; color: #B8C6CC; min-height: 3.1em; }
.pstage__hint { margin-bottom: 14px; font-size: .86rem; color: #8FA1A9; }
.states { display: grid; gap: 8px; }
.states button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border-radius: 18px; text-align: left; border: 1px solid rgba(245, 242, 235, .08); background: rgba(245, 242, 235, .02); transition: background-color var(--response) var(--ease), border-color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.states button:hover { background: rgba(245, 242, 235, .06); }
.states button:active, .states button.is-pressed { transform: scale(.97); }
.states button[aria-checked="true"] { background: rgba(245, 242, 235, .08); border-color: var(--c, var(--mint)); }
.states button[aria-checked="true"] i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.states i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); transition: box-shadow .25s; }
.states b { display: block; font: 600 1rem/1.25 var(--f-head); color: var(--paper); }
.states small { display: block; font-size: .84rem; color: #9FB0B7; }
/* --c lives on the dot; mirror it to the button for the selected border. */
.states button[aria-checked="true"]:nth-child(1) { --c: #3DDC97; }
.states button[aria-checked="true"]:nth-child(2) { --c: #1D9E75; }
.states button[aria-checked="true"]:nth-child(3) { --c: #2E8BC0; }
.states button[aria-checked="true"]:nth-child(4) { --c: #F2A93B; }
.states button[aria-checked="true"]:nth-child(5) { --c: #FF6B3D; }
.states button[aria-checked="true"]:nth-child(6) { --c: #7B6CF6; }

.principles { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 80px); }
.principles li { padding-top: 22px; border-top: 1px solid var(--line); }
.principles .ico { width: 26px; height: 26px; color: var(--deep); }
.principles h3 { margin-top: 14px; font-size: 1.12rem; }
.principles p { margin-top: 8px; font-size: .94rem; line-height: 1.55; }

.buddies { margin-top: clamp(80px, 11vw, 136px); }
.buddies .sec-head p { color: var(--body); }
.buddies__list { display: grid; gap: 20px; }
.buddy { display: flex; flex-direction: column; padding: 12px 12px 22px; border-radius: 28px; background: var(--card); border: 1px solid rgba(15, 27, 34, .08); box-shadow: none; }
.buddy img { width: 100%; border-radius: 18px; }
.buddy__tx { padding: 18px 10px 0; }
.buddy h4 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.buddy p { margin-top: 6px; font-size: .94rem; line-height: 1.55; }

.mascot { display: grid; gap: 36px; margin-top: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-big); }
.mascot__moods ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mascot__moods li { text-align: center; }
.mascot__moods img { width: 100%; border-radius: 18px; }
.mascot__moods b { display: block; margin-top: 10px; font: 600 1rem/1.2 var(--f-head); color: var(--paper); }
.mascot__moods span { font-size: .84rem; color: #9FB0B7; }
.mascot__evo ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 16px; padding: 14px 10px 16px; border-radius: 22px; background: var(--card); }
.mascot__evo li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mascot__evo img { width: 100%; max-width: 120px; aspect-ratio: 240 / 192; object-fit: contain; }
.mascot__evo span { margin-top: 2px; font: 600 clamp(.7rem, .6rem + .4vw, .92rem)/1.2 var(--f-head); color: var(--ink); }
.mascot__evo li:not(:last-child)::after { content: ''; position: absolute; top: 38%; right: -5px; width: 7px; height: 7px; border-top: 2px solid var(--deep); border-right: 2px solid var(--deep); transform: rotate(45deg); opacity: .6; }
.mascot__note { margin-top: 14px; font-size: .94rem; color: #B8C6CC; }

@media (min-width: 720px) {
  .principles { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .buddies__list { grid-template-columns: repeat(3, 1fr); }
  .mascot__moods ul { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .pstage { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .mascot { gap: 44px; }
  .mascot__evo ol { padding: 18px 24px 20px; gap: 16px; }
  .mascot__evo li:not(:last-child)::after { right: -12px; }
}

/* =====================================================================
   5 · SÉANCES
   ===================================================================== */
.trio { display: grid; gap: 64px; }
.trio__item { display: grid; gap: 28px; justify-items: center; }
.phone--sm { --pw: min(256px, 68vw); }
.trio__tx { max-width: 460px; width: 100%; }
.trio__n { font: 700 .82rem/1 var(--f-head); color: var(--mint); letter-spacing: .08em; }
.trio__tx h3 { margin-top: 10px; font-size: 1.4rem; }
.trio__tx > p { margin-top: 10px; font-size: .97rem; line-height: 1.6; }
.change { margin-top: 18px; padding: 14px 16px; border-radius: 16px; border-left: 3px solid var(--mint); background: rgba(61, 220, 151, .08); }
.change p { margin-top: 4px; font-size: .94rem; line-height: 1.5; color: var(--paper); }
.change--light { background: var(--mint-tint); }
.change--light .eyebrow { color: var(--deep); }
.change--light p { color: var(--ink); }

/* Photo screens + overlays */
.phone__screen--photo img, .phone__screen--avatar .av { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov { position: absolute; z-index: 10; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.ov--top { top: 15cqw; }
.ov--bottom { bottom: 6cqw; display: grid; gap: 2.6cqw; }
.ov--center { justify-content: center; justify-items: center; text-align: center; }
.ov__chip, .ov__rec, .ov__tag, .ov__caption { background: rgba(15, 27, 34, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--paper); }
.ov__chip { padding: 1.9cqw 3.2cqw; border-radius: 99px; font: 600 3.4cqw/1.1 var(--f-body); white-space: nowrap; }
.ov__chip--mint { display: inline-flex; align-items: center; gap: 1.6cqw; }
.ov__chip--mint i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--mint); }
.ov__rec { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.9cqw 3cqw; border-radius: 99px; font: 700 3.1cqw/1 var(--f-body); letter-spacing: .08em; }
.ov__rec i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--coral); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .3; } }
.ov__tag { position: absolute; z-index: 10; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.5cqw 2.8cqw; border-radius: 99px; font: 600 3.2cqw/1.1 var(--f-body); white-space: nowrap; }
.ov__tag .ico { width: 3.6cqw; height: 3.6cqw; color: var(--mint); stroke-width: 3; }
.ov__tag--angle { background: var(--mint); color: var(--ink); font-weight: 700; }
.ov__progress { display: flex; gap: 1.2cqw; }
.ov__progress i { flex: 1; height: 1cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .35); }
.ov__progress i.on { background: var(--mint); }
.ov__caption { padding: 3cqw 3.6cqw; border-radius: 4cqw; font: 600 3.6cqw/1.35 var(--f-body); text-align: center; }

/* Correction composite: ghost (green ideal) under the 3D avatar; JS flips .is-wrong / .is-ok */
.phone__screen--avatar { background: radial-gradient(90% 55% at 50% 42%, #22404B 0%, #13262E 55%, #0B161B 100%); }
.av { transition: opacity .7s var(--ease), filter .7s; }
.av--ghost { opacity: .55; }
.phone__screen--avatar::after { content: ''; position: absolute; z-index: 0; left: -6%; right: -6%; top: 73%; height: 20%; border-radius: 50%; border: .8cqw solid rgba(61, 220, 151, .55); background: rgba(61, 220, 151, .06); opacity: 0; transition: opacity .7s; }
.av { z-index: 1; }
.av--you { z-index: 2; }
.is-ok .av--you { opacity: 0; }
.is-ok .av--ghost { opacity: 1; filter: drop-shadow(0 0 3cqw rgba(61, 220, 151, .55)); }
.is-ok::after { opacity: 1; }
.ov__inset { position: absolute; z-index: 10; top: 13.5cqw; right: 5cqw; width: 21cqw; border-radius: 3.4cqw; overflow: hidden; box-shadow: 0 0 0 .6cqw rgba(245, 242, 235, .85), 0 2cqw 5cqw rgba(0, 0, 0, .4); }
.ov__inset img { width: 100%; }
.ov__inset figcaption { position: absolute; left: 1.6cqw; bottom: 1.6cqw; padding: .6cqw 1.8cqw; border-radius: 99px; background: rgba(15, 27, 34, .8); font: 700 2.6cqw/1.2 var(--f-body); color: var(--paper); }
.ov__knee, .ov__ok { position: absolute; z-index: 10; top: 58%; right: 4cqw; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2.8cqw; border-radius: 99px; font: 700 3.2cqw/1.1 var(--f-body); white-space: nowrap; transition: opacity .5s, transform .5s var(--ease); }
.ov__knee { background: var(--red); color: #fff; }
.ov__knee::before { content: ''; position: absolute; right: 100%; top: 50%; width: 9cqw; height: .5cqw; background: var(--red); }
.ov__ok { background: var(--mint); color: var(--ink); opacity: 0; transform: translateY(2cqw); }
.ov__ok .ico { width: 3.6cqw; height: 3.6cqw; stroke-width: 3; }
.is-ok .ov__knee { opacity: 0; transform: translateY(-2cqw); }
.is-ok .ov__ok { opacity: 1; transform: none; }
.ov--bottom > p { grid-area: 1 / 1; transition: opacity .5s, transform .5s var(--ease); }
.ov__alert { padding: 3cqw 3.6cqw; border-radius: 4cqw; background: var(--red); color: #fff; font: 700 3.6cqw/1.3 var(--f-body); text-align: center; }
.ov__voice { display: flex; gap: 2cqw; align-items: flex-start; padding: 3cqw 3.6cqw; border-radius: 4cqw; background: rgba(245, 242, 235, .95); color: var(--ink); font: 600 3.4cqw/1.4 var(--f-body); opacity: 0; transform: translateY(2cqw); }
.ov__voice .ico { width: 4.4cqw; height: 4.4cqw; color: var(--deep); margin-top: .4cqw; }
.is-ok .ov__alert { opacity: 0; transform: translateY(-2cqw); }
.is-ok .ov__voice { opacity: 1; transform: none; }
.fix { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fix__ctrl { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(245, 242, 235, .06); border: 1px solid rgba(245, 242, 235, .1); }
.fix__ctrl button { min-height: 36px; padding: 6px 14px; border-radius: 99px; font-size: .82rem; font-weight: 600; color: #9FB0B7; transition: background-color var(--response) var(--ease), color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.fix__ctrl button[aria-pressed="true"] { background: rgba(245, 242, 235, .12); color: var(--paper); }
.fix__ctrl button:active, .fix__ctrl button.is-pressed { transform: scale(.97); }

/* Session summary (HTML) */
.app--bilan { background: radial-gradient(120% 45% at 50% 0%, rgba(61, 220, 151, .2), transparent 60%), var(--ink); }
.bilan { display: flex; flex-direction: column; align-items: center; gap: 2.8cqw; height: calc(100% - 14cqw); padding: 3cqw 6cqw 6cqw; text-align: center; }
.bilan__ok { display: grid; place-items: center; width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--mint); color: var(--ink); box-shadow: 0 0 0 2.4cqw rgba(61, 220, 151, .15); }
.bilan__ok .ico { width: 6.4cqw; height: 6.4cqw; stroke-width: 3; }
.bilan__kicker { margin-top: 1.4cqw; font: 700 2.9cqw/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.bilan__title { font: 700 7cqw/1.1 var(--f-head); letter-spacing: -.02em; }
.bilan__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; width: 100%; }
.bilan__stats div { padding: 3cqw; border-radius: 4cqw; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); }
.bilan__stats b { display: block; font: 700 5.6cqw/1.1 var(--f-head); }
.bilan__stats small { font-size: 2.9cqw; color: rgba(245, 242, 235, .6); }
.bilan__note { display: flex; align-items: center; justify-content: center; gap: 1.8cqw; width: 100%; padding: 2.6cqw; border-radius: 99px; background: rgba(61, 220, 151, .12); color: var(--mint); font: 600 3.3cqw/1.2 var(--f-body); }
.bilan__note .ico { width: 4.2cqw; height: 4.2cqw; }
.bilan__chart { width: 100%; padding: 3cqw 3.4cqw 2.4cqw; border-radius: 4cqw; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); text-align: left; }
.bilan__chart-t { font: 600 3cqw/1 var(--f-body); color: rgba(245, 242, 235, .7); }
.bilan__chart svg { width: 100%; height: 16cqw; margin-top: 2cqw; }
.bilan__chart .line { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bilan__chart .area { fill: rgba(61, 220, 151, .14); }
.bilan__chart-x { display: flex; justify-content: space-between; margin-top: 1.2cqw; font-size: 2.6cqw; color: rgba(245, 242, 235, .45); }
.bilan__chart-x i { font-style: normal; }
.bilan__reward { display: flex; align-items: center; gap: 2cqw; width: 100%; margin-top: auto; padding: 3cqw 3.4cqw; border-radius: 4cqw; background: rgba(255, 181, 71, .12); color: var(--amber); font-size: 3.3cqw; line-height: 1.3; text-align: left; }
.bilan__reward .ico { width: 5cqw; height: 5cqw; }
.bilan__reward b { font-weight: 700; }

/* Formula band */
.formula { margin-top: clamp(72px, 10vw, 112px); padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--ink-2); border: 1px solid rgba(245, 242, 235, .08); }
.formula__eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.formula__in { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: rgba(245, 242, 235, .05); border: 1px solid rgba(245, 242, 235, .1); font-weight: 600; font-size: .95rem; color: var(--paper); }
.formula__in .ico { width: 18px; height: 18px; color: var(--mint); }
.formula__op { font: 700 1.3rem/1 var(--f-head); color: var(--mint); }
.formula__op--eq .ico { width: 22px; height: 22px; }
.formula__out { padding: 12px 20px; border-radius: 99px; background: var(--mint); color: var(--ink); font: 600 1rem/1.25 var(--f-head); }

/* Learning loop */
.loop { margin-top: clamp(72px, 10vw, 112px); }
.loop__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 36px; }
.loop__steps { position: relative; display: grid; gap: 22px; }
.loop__steps::before, .loop__steps::after { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: rgba(245, 242, 235, .12); }
.loop__steps::after { background: var(--mint); transform-origin: top; }
.loop__steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; }
.loop__ico { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--ink); border: 2px solid var(--mint); transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s; transition-delay: calc(.35s + var(--i) * .38s); }
.loop__ico .ico { width: 24px; height: 24px; }
.loop__steps b { font: 600 1.06rem/1.25 var(--f-head); color: var(--paper); align-self: end; }
.loop__steps span:not(.loop__ico) { font-size: .9rem; color: #9FB0B7; align-self: start; }
.loop__back { display: none; }
/* Before it scrolls in (JS only): nodes dim, line empty. Then they light up one after another. */
.js .loop:not(.is-in) .loop__ico { background: var(--ink); color: #8FA1A9; border-color: rgba(245, 242, 235, .16); }
.js .loop:not(.is-in) .loop__steps::after { transform: scaleY(0); }
.loop__steps::after { transition: transform 2s var(--ease) .3s; }
.loop.is-in .loop__ico { box-shadow: 0 0 0 6px rgba(61, 220, 151, .14); }

/* Hologram option */
.holo { display: grid; margin-top: clamp(72px, 10vw, 112px); border-radius: var(--r-big); overflow: hidden; background: var(--ink-2); border: 1px solid rgba(245, 242, 235, .08); }
.holo__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.holo__tx { padding: clamp(24px, 4vw, 48px); align-self: center; }
.holo__tx h3 { margin-top: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.holo__tx p { margin-top: 12px; line-height: 1.6; }
.holo__tx .textlink { margin-top: 18px; }

@media (min-width: 720px) and (max-width: 1023.98px) {
  .trio__item { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 40px; }
}
@media (min-width: 1024px) {
  /* Subgrid: the visual row and the text row line up across the three steps,
     even though step 02 has extra controls under its phone. */
  .trio { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 32px 40px; }
  .trio__item { grid-row: span 2; grid-template-rows: subgrid; row-gap: 32px; align-items: start; }
  .phone--sm { --pw: 252px; }
  .loop__steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .loop__steps::before, .loop__steps::after { left: 10%; right: 10%; top: 27px; bottom: auto; width: auto; height: 2px; }
  .loop__steps::after { transform-origin: left; }
  .js .loop:not(.is-in) .loop__steps::after { transform: scaleX(0); }
  .loop__steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; }
  .loop__ico { grid-row: auto; margin-bottom: 10px; }
  .loop__back { display: block; position: relative; margin-top: 18px; text-align: center; }
  .loop__back svg { width: 100%; height: 40px; }
  .loop__back path { fill: none; stroke: rgba(61, 220, 151, .45); stroke-width: 2; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
  .loop__back span { position: relative; top: -14px; display: inline-block; padding: 0 14px; background: var(--ink); font-size: .88rem; color: #9FB0B7; }
  .holo { grid-template-columns: 1.15fr 1fr; }
  .holo__img { aspect-ratio: auto; min-height: 100%; }
}

/* =====================================================================
   6 · RESTAURANT
   ===================================================================== */
.resto { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
.resto__copy h2 { margin-top: 16px; }
.nsteps { display: grid; gap: 20px; margin-top: 36px; }
.nsteps li { display: flex; gap: 16px; }
.nsteps__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--mint); font: 700 .95rem/1 var(--f-head); }
.nsteps h3 { font-size: 1.12rem; padding-top: 5px; }
.nsteps p { margin-top: 4px; font-size: .95rem; }
.resto__copy .change { margin-top: 32px; }

.resto__phones { display: flex; justify-content: center; align-items: flex-start; padding: 12px 0 40px; overflow: clip; overflow-clip-margin: 40px; }
.resto__phones .phone { --pw: min(250px, 46vw); }
.phone--back { margin-right: calc(var(--pw) * -.14); transform: rotate(-5deg) translateY(36px); z-index: 1; }
.phone--front { z-index: 2; transform: rotate(3deg); }
/* Keep the back phone's caption clear of the front phone that overlaps its right edge. */
.phone--back .ov--bottom { right: 30cqw; }

.app--light { background: var(--paper); color: var(--ink); }
.menu { flex: 1; display: flex; flex-direction: column; gap: 3.2cqw; padding: 1cqw 5cqw 6cqw; }
.menu__title { font: 700 6.8cqw/1.15 var(--f-head); letter-spacing: -.02em; }
.menu__chips { display: flex; flex-wrap: wrap; gap: 1.4cqw; }
.menu__chips span { padding: 1.4cqw 2.5cqw; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font: 600 3.1cqw/1.1 var(--f-body); color: var(--body); white-space: nowrap; }
.menu__cta { margin-top: auto; }
.menu__chips .warn { background: #FFF1DA; border-color: #FBE0B2; color: #7A4F00; }
.menu__best { display: flex; flex-direction: column; gap: 1.8cqw; padding: 3.6cqw; border-radius: 4.8cqw; background: var(--card); border: .6cqw solid var(--mint); box-shadow: 0 3cqw 6cqw -4cqw rgba(15, 27, 34, .25); }
.menu__best-top { display: flex; justify-content: space-between; align-items: center; }
.menu__kicker { font: 700 2.8cqw/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.menu__score { padding: 1.2cqw 2.4cqw; border-radius: 99px; background: var(--mint-tint); font: 700 3.6cqw/1 var(--f-head); color: var(--deep); }
.menu__dish { font: 700 5cqw/1.2 var(--f-head); letter-spacing: -.01em; }
.menu__best ul { display: grid; gap: 1.4cqw; }
.menu__best li { display: flex; gap: 1.6cqw; font-size: 3.5cqw; line-height: 1.35; color: var(--body); }
.menu__best li .ico { width: 3.8cqw; height: 3.8cqw; color: var(--deep); stroke-width: 2.6; margin-top: .3cqw; }
.menu__tip { display: flex; gap: 1.6cqw; align-items: center; padding: 2.2cqw 2.8cqw; border-radius: 3cqw; background: #FFF4E0; font: 600 3.4cqw/1.3 var(--f-body); color: #6B4500; }
.menu__tip .ico { width: 4cqw; height: 4cqw; color: #C27C00; }
.menu__sub { margin-top: 1cqw; font: 700 2.8cqw/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.menu__others { display: grid; gap: 1.6cqw; }
.menu__others li { display: grid; grid-template-columns: 1fr 20cqw 10cqw; align-items: center; gap: 2cqw; padding: 2.8cqw 3cqw; border-radius: 3.4cqw; background: var(--card); border: 1px solid var(--line); font-size: 3.5cqw; }
.menu__others span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.menu__others i { position: relative; height: 1.4cqw; border-radius: 1cqw; background: var(--line); overflow: hidden; }
.menu__others i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: var(--slate); }
.menu__others b { text-align: right; font: 700 3.4cqw/1 var(--f-head); color: var(--slate); }
.ov__shutter { display: block; width: 15cqw; height: 15cqw; border-radius: 50%; border: 1cqw solid rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1.2cqw rgba(0, 0, 0, .25); background: rgba(255, 255, 255, .85); background-clip: content-box; padding: 1.2cqw; }

.market { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r-card); background: var(--card); border: 1px solid rgba(15, 27, 34, .08); box-shadow: none; }
.market__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--mint-tint); color: var(--deep); }
.market h3 { font-size: 1.1rem; }
.market p { margin-top: 6px; font-size: .95rem; }

@media (min-width: 1024px) {
  .resto { grid-template-columns: 1fr 1fr; }
  .market { grid-column: 1 / -1; }
  .resto__phones .phone { --pw: 252px; }
}

/* =====================================================================
   7 · COMPATIBILITÉ
   ===================================================================== */
.compat { display: grid; gap: 14px; }
.compat li { padding: 24px; border-radius: var(--r-card); background: var(--ink-2); border: 1px solid rgba(245, 242, 235, .08); box-shadow: none; }
.compat .ico { width: 28px; height: 28px; color: var(--mint); }
.compat h3 { margin-top: 16px; font-size: 1.1rem; }
.compat p { margin-top: 6px; font-size: .94rem; }
.compat__none { background: rgba(61, 220, 151, .08) !important; border-color: rgba(61, 220, 151, .45) !important; }
@media (min-width: 720px) { .compat { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .compat { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* =====================================================================
   8 · OBJETS
   ===================================================================== */
.objects { display: grid; gap: 20px; }
.obj { display: flex; flex-direction: column; border-radius: 28px; background: var(--card); border: 1px solid rgba(15, 27, 34, .08); overflow: hidden; box-shadow: none; }
.obj__stage { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, #FFFFFF 0%, #F1EDE4 100%); }
.obj__stage--band { aspect-ratio: 600 / 430; }
/* Snappier cross-fade on bracelet swatch swap. */
.obj__stage--band img { width: 100%; transition: opacity .18s var(--ease); }
.obj__stage--band img.is-fading { opacity: 0; }
.obj__stage--support, .obj__stage--holo { aspect-ratio: 1; }
.obj__stage--support img, .obj__stage--holo img { width: 100%; height: 100%; object-fit: cover; }
.obj__stage--support img { object-position: 50% 18%; }
.obj__stage--holo img { object-position: 50% 62%; }
.obj__tx { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.obj__tx h3 { font-size: 1.35rem; }
.obj__tx > p { margin-top: 10px; font-size: .97rem; line-height: 1.6; }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--fg); }
.ticks .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--deep); }
.ticks .muted { color: var(--slate); }
.ticks .muted .ico { color: var(--slate); }
.price { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 22px; }
.price b { font: 700 2.4rem/1 var(--f-head); letter-spacing: -.035em; color: var(--ink); }
.price span { font-size: .84rem; color: var(--slate); }
.price--tbd { font: 600 1rem/1.3 var(--f-head); color: var(--ink); }
.price--tbd::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); align-self: center; }

.swatches { margin-top: 20px; }
.swatches__label { font-size: .9rem; color: var(--slate); }
.swatches__label b { color: var(--ink); }
.swatches [role="radiogroup"] { display: flex; gap: 12px; margin-top: 10px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 27, 34, .14), 0 0 0 3px var(--card), 0 0 0 4px transparent; transition: box-shadow var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.swatches button:hover { transform: scale(1.05); }
.swatches button:active, .swatches button.is-pressed { transform: scale(.97); }
.swatches button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(15, 27, 34, .14), 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }

@media (min-width: 720px) {
  .objects { grid-template-columns: 1fr 1fr; gap: 24px; }
  .obj--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
  .obj--wide .obj__stage--band { aspect-ratio: auto; min-height: 100%; }
  .obj--wide .obj__tx { padding: clamp(28px, 4vw, 48px); justify-content: center; }
  .obj--wide .price { margin-top: 28px; }
}

/* =====================================================================
   9 · COMPARATIF (table → stacked cards under 720px)
   ===================================================================== */
.matrix table { width: 100%; border-collapse: separate; border-spacing: 0; }
.matrix th, .matrix td { text-align: left; }
.mk { display: inline-block; position: relative; vertical-align: middle; }
.mk--yes { width: 24px; height: 24px; border-radius: 50%; background: var(--deep); }
.mk--yes::after { content: ''; position: absolute; left: 8.5px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.mk--part { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--deep); background: linear-gradient(90deg, var(--deep) 50%, transparent 50%); }
.mk--no { width: 14px; height: 2px; margin: 0 5px; border-radius: 2px; background: #AAB5BA; }
.matrix__legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; font-size: .86rem; color: var(--slate); }
.matrix__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.matrix__legend .mk { transform: scale(.8); }

@media (max-width: 719.98px) {
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix table, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; }
  .matrix tr { margin-bottom: 12px; padding: 16px 18px 8px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
  .matrix tbody th { padding-bottom: 8px; font: 600 1.05rem/1.3 var(--f-head); color: var(--ink); }
  .matrix td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
  .matrix td::before { content: attr(data-label); font-size: .9rem; color: var(--body); }
  .matrix__us { background: var(--mint-tint) !important; border-color: rgba(14, 122, 85, .35) !important; }
  .matrix__us td { border-color: rgba(14, 122, 85, .18); }
  /* Cards list only what each category does; the "non" rows collapse into one summary line (data-rest). */
  .matrix td:has(.mk--no) { display: none; }
  .matrix tr[data-rest]::after { content: attr(data-rest); display: block; padding: 10px 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--slate); }
}
@media (min-width: 720px) {
  .matrix { padding: 8px clamp(8px, 2vw, 24px) 20px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); }
  .matrix thead th { padding: 18px 10px; vertical-align: bottom; font: 600 .86rem/1.3 var(--f-head); color: var(--ink); text-align: center; }
  .matrix thead small { display: block; font: 400 .78rem/1.3 var(--f-body); color: var(--slate); }
  .matrix tbody th { padding: 16px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); }
  .matrix tbody td { padding: 16px 10px; text-align: center; }
  .matrix tbody th, .matrix tbody td { border-top: 1px solid var(--line); }
  .matrix__us th, .matrix__us td { background: var(--mint-tint); border-top-color: transparent !important; }
  .matrix__us th { border-radius: 16px 0 0 16px; }
  .matrix__us td:last-child { border-radius: 0 16px 16px 0; }
  .matrix__us .mk--yes { box-shadow: 0 0 0 4px rgba(14, 122, 85, .15); }
}

/* =====================================================================
   10 · CONFIANCE (early partners — names/roles only, no quotes)
   ===================================================================== */
.trust { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.trust__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 16px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(15, 27, 34, .08);
  /* Soft lift on the whole card so the tilted photo feels grounded, not floating alone. */
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.trust__av {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(61, 220, 151, .14);
  /* Layered shadows read as light 3D depth on a flat circle. */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .55) inset,
    0 10px 22px rgba(15, 27, 34, .16),
    0 2px 6px rgba(15, 27, 34, .1);
  transform: rotate(-2.5deg);
  transform-origin: 50% 60%;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
/* Alternate resting tilt so the three portraits feel like a set, not clones. */
.trust__card:nth-child(2) .trust__av { transform: rotate(2.8deg); }
.trust__card:nth-child(3) .trust__av { transform: rotate(-1.6deg); }
.trust__av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
/* Sailing shot: face sits upper-left of frame — bias crop so the portrait reads, not the boom. */
.trust__card:nth-child(1) .trust__av img { object-position: 35% 20%; }
.trust__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 27, 34, .08);
}
.trust__card:hover .trust__av {
  transform: translateY(-5px) rotate(0deg) scale(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .65) inset,
    0 16px 32px rgba(15, 27, 34, .2),
    0 4px 10px rgba(15, 27, 34, .12);
}
.trust__tx h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.trust__tx p { margin-top: 4px; font-size: .92rem; line-height: 1.45; color: var(--slate); }
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust__card { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 16px; }
  .trust__av { width: 112px; height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust__card,
  .trust__av { transition: none; }
  .trust__av,
  .trust__card:nth-child(2) .trust__av,
  .trust__card:nth-child(3) .trust__av,
  .trust__card:hover,
  .trust__card:hover .trust__av {
    transform: none;
  }
}

/* =====================================================================
   11 · CONFIDENTIALITÉ
   ===================================================================== */
.privacy { background: radial-gradient(50% 60% at 100% 0%, rgba(61, 220, 151, .1), transparent 70%), var(--ink); }
.promises { display: grid; gap: 28px; }
.promises li { padding-top: 26px; border-top: 1px solid var(--hair); }
.promises__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: rgba(61, 220, 151, .12); color: var(--mint); }
.promises__ico .ico { width: 24px; height: 24px; }
.promises h3 { margin-top: 18px; font-size: 1.22rem; }
.promises p { margin-top: 8px; font-size: .95rem; line-height: 1.6; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* =====================================================================
   12 · OFFRES
   ===================================================================== */
.plans { display: grid; gap: 18px; align-items: stretch; }
/* Apple-like pricing blocks: generous price type, quieter secondary, hairline not heavy chrome. */
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border-radius: 28px; background: var(--card); border: 1px solid rgba(15, 27, 34, .08); box-shadow: none; }
.plan h3 { font-size: 1.3rem; letter-spacing: -.03em; }
.plan__for { margin-top: 6px; min-height: 2.9em; font-size: .9rem; line-height: 1.45; color: var(--slate); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin-top: 18px; padding-bottom: 10px; border-bottom: none; }
.plan__price b { font: 700 2.65rem/1 var(--f-head); letter-spacing: -.04em; color: var(--ink); }
.plan__price > span:not(.plan__was) { font-size: .88rem; color: var(--slate); }
/* Struck launch price stays quiet so the promo figure leads. */
.plan__was { font-size: .95rem; color: var(--slate); }
.plan__was s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(86, 99, 107, .7); }
.plan__save { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(15, 27, 34, .08); font: 700 .82rem/1.2 var(--f-body); letter-spacing: .02em; color: var(--deep); }
.plan .ticks { margin: 20px 0 28px; }
.plan .btn { margin-top: auto; padding-inline: 12px; font-size: .92rem; }
.plan--top { border: 1.5px solid var(--deep); box-shadow: 0 20px 48px -32px rgba(14, 122, 85, .35); }
.plan__badge { position: absolute; top: -13px; left: 24px; padding: 6px 12px; border-radius: 99px; background: var(--ink); color: var(--mint); font: 700 .68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
/* Gratuit has no .plan__save: keep the hairline under the price alone. */
.plan:not(:has(.plan__save)) .plan__price { padding-bottom: 22px; border-bottom: 1px solid rgba(15, 27, 34, .08); }

.pros { display: grid; gap: 24px; margin-top: clamp(56px, 8vw, 88px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-big); }
.pros__head h3 { margin-top: 10px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.pros__list { display: grid; gap: 16px; }
.pros__list li { display: flex; gap: 14px; }
.pros__list .ico { width: 24px; height: 24px; color: var(--mint); margin-top: 2px; }
.pros__list b { display: block; font: 600 1.02rem/1.3 var(--f-head); color: var(--paper); }
.pros__list p { font-size: .94rem; }
.pros .btn { justify-self: start; }

@media (min-width: 720px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .pros__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plan { padding: 28px 22px 22px; }
  .pros { grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 40px; }
  .pros .btn { justify-self: end; }
}

/* =====================================================================
   13 · FAQ
   ===================================================================== */
.faq { display: grid; gap: 40px; }
.faq__head > * + * { margin-top: 16px; }
.faq__head p:not(.eyebrow) { color: var(--slate); max-width: 34ch; }
.faq__list { border-top: 1px solid rgba(15, 27, 34, .12); }
.faq__list details { border-bottom: 1px solid rgba(15, 27, 34, .12); }
.faq__list summary { position: relative; display: block; padding: 22px 52px 22px 0; cursor: pointer; list-style: none; font: 600 clamp(1.02rem, .95rem + .3vw, 1.15rem)/1.4 var(--f-head); color: var(--ink); border-radius: 8px; transition: color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--deep); transition: transform var(--response) var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list summary:hover { color: var(--deep); }
.faq__list summary:active, .faq__list summary.is-pressed { transform: scale(.97); transform-origin: left center; }
/* Opacity-only open feel — no keyframe lock; user can retoggle mid-fade. */
.faq__a { padding: 0 52px 24px 0; opacity: 0; transition: opacity .28s var(--ease); }
.faq__list details[open] .faq__a { opacity: 1; }
.faq__a p { line-height: 1.65; }
@media (min-width: 1024px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq__head { position: sticky; top: calc(var(--hdr-h) + 32px); } }

/* =====================================================================
   14 · LISTE D'ATTENTE
   ===================================================================== */
.cta { background: radial-gradient(55% 60% at 22% 50%, rgba(61, 220, 151, .12), transparent 70%), var(--ink); }
.cta__grid { display: grid; gap: 24px; align-items: center; }
.cta__art { max-width: 440px; margin: 0 auto; }
/* Waitlist climax dock: phone receives the floating companion (replaces static hero mascot). */
.companion-dock {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 220px;
  margin: 0 auto;
}
.phone--dock { --pw: 160px; }
.dock-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3cqw;
  padding: 18cqw 8cqw 10cqw;
  background:
    radial-gradient(70% 50% at 50% 42%, rgba(61, 220, 151, .18), transparent 70%),
    linear-gradient(180deg, #16262F 0%, #0F1B22 100%);
  text-align: center;
}
.dock-screen img {
  width: 58%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35));
  transform: scale(.86);
  opacity: 0;
  transition: opacity .32s var(--ease), transform .42s var(--ease);
}
.dock-screen img.is-in {
  opacity: 1;
  transform: scale(1);
}
.dock-screen__msg {
  max-width: 18ch;
  font: 600 4.6cqw/1.35 var(--f-body);
  color: var(--paper);
}
.companion-dock__cue {
  font: 600 .92rem/1.4 var(--f-body);
  color: #B8C6CC;
  text-align: center;
}
.cta__body > .eyebrow + h2, .cta__body > h2 + .lead { margin-top: 16px; }
/* Frosted sheet on dark ground — not stacked light-on-light glass. */
.wl { display: grid; gap: 20px; margin-top: 32px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: rgba(22, 38, 47, .72); border: 1px solid rgba(245, 242, 235, .1); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .45); }
.field label, .seg legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: .92rem; color: var(--paper); }
.field input { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; border: 1.5px solid rgba(245, 242, 235, .16); background: rgba(15, 27, 34, .85); color: var(--paper); font: 400 1rem var(--f-body); transition: border-color var(--response) var(--ease); }
.field input::placeholder { color: #6E8189; }
.field input:hover { border-color: rgba(245, 242, 235, .3); }
.field input:focus-visible { border-color: var(--mint); border-radius: 16px; }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field__err { margin-top: 8px; font-size: .88rem; font-weight: 600; color: var(--coral-light); }
.seg { border: 0; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opts label { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 99px; border: 1.5px solid rgba(245, 242, 235, .16); font-weight: 600; font-size: .92rem; color: var(--paper); cursor: pointer; transition: background-color var(--response) var(--ease), border-color var(--response) var(--ease), color var(--response) var(--ease), transform var(--press-ms) var(--press-ease); }
.seg__opts label:hover { border-color: rgba(245, 242, 235, .35); }
.seg__opts label:active, .seg__opts label.is-pressed { transform: scale(.97); }
.seg__opts input:checked + label { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.seg__opts input:focus-visible + label { outline: 3px solid var(--mint); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--mint); cursor: pointer; }
.check label { font-size: .92rem; line-height: 1.5; color: #C4D1D6; cursor: pointer; }
.wl .field__err#wl-consent-err { margin-top: -10px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(15, 27, 34, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.wl.is-sending .spinner { display: block; }
.wl.is-sending button[type="submit"] { opacity: .85; cursor: progress; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.wl__status:empty { display: none; }
.wl__status { padding: 12px 14px; border-radius: 14px; font-size: .93rem; font-weight: 600; background: rgba(255, 107, 61, .12); color: var(--coral-light); }
.wl__status.is-info { background: rgba(245, 242, 235, .06); color: var(--paper); }
.wl__note { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #8FA1A9; }
.wl__note .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--mint); }
.wl-ok { margin-top: 32px; padding: 28px; border-radius: 28px; background: rgba(22, 38, 47, .72); border: 1px solid rgba(61, 220, 151, .4); text-align: center; -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.wl-ok:focus { outline: none; }
.wl-ok img { width: 200px; margin: 0 auto; border-radius: 18px; }
.wl-ok__title { margin-top: 14px; font: 700 1.5rem/1.25 var(--f-head); color: var(--paper); }
.wl-ok p:last-child { margin-top: 6px; }
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .cta__art { max-width: none; }
}

/* =====================================================================
   15 · FOOTER
   ===================================================================== */
.ftr { background: #0B151B; padding: 64px 0 32px; }
.ftr__grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(245, 242, 235, .08); }
.ftr__brand p { margin-top: 12px; color: #9FB0B7; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ftr__links a { font-size: .92rem; color: #B8C6CC; text-decoration: none; }
.ftr__links a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .84rem; color: #8FA1A9; }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1fr 1.6fr; align-items: start; } .ftr__links { justify-content: flex-end; } }

/* =====================================================================
   Scroll companion — narrative guide (bubble + hit + phone climax + chips)
   ===================================================================== */
.companion {
  position: fixed;
  z-index: 40; /* below .hdr (50), above page content */
  top: 0;
  left: 0;
  width: var(--companion-size, 112px);
  /* Transform-only motion keeps layout out of the overflow sweep. */
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  opacity: var(--companion-op, 1);
  pointer-events: none; /* speech stack + hit re-enable their own clicks */
  will-change: transform, opacity;
  transition: opacity .35s var(--ease);
}
.companion.is-inside,
.companion.is-nesting { --companion-op: 0; pointer-events: none; }
/* Hide speech while nesting / flying into hero / docking; talking mode keeps the bubble visible. */
.companion.is-entering .companion__air,
.companion.is-hero-entering .companion__air,
.companion.is-inside .companion__air,
.companion.is-nesting .companion__air { opacity: 0; visibility: hidden; }
.companion.is-dragging { cursor: grabbing; }
.companion.is-dragging .companion__hit { cursor: grabbing; }
.companion__hit {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: grab;
  /* Avoid scroll fighting while the user starts a drag on touch. */
  touch-action: none;
  pointer-events: auto;
  transform-origin: 50% 70%;
  transition: transform var(--press-ms) var(--press-ease);
}
.companion__hit:active,
.companion__hit.is-pressed { transform: scale(.97); }
.companion__hit:disabled {
  cursor: default;
  pointer-events: none;
}
.companion__inner {
  position: relative;
  display: grid;
  place-items: center;
  /* --enter-scale: phone nest. --squash-*: brief land/exit cartoon pulse (JS class). */
  --squash-x: 1;
  --squash-y: 1;
  transform:
    translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--bob, 0px)), 0)
    scale(calc(var(--react, 1) * var(--enter-scale, 1)))
    scaleX(var(--squash-x))
    scaleY(var(--squash-y));
  transform-origin: 50% 70%;
  will-change: transform;
  pointer-events: none;
}
/* Land in phone: wider + flatter. Exit phone: taller stretch. No transition — pose vars update every frame. */
.companion.is-squash .companion__inner { --squash-x: 1.08; --squash-y: 0.92; }
.companion.is-stretch .companion__inner { --squash-x: 0.94; --squash-y: 1.1; }
.companion__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(15, 27, 34, .22));
  transition: opacity .28s var(--ease);
}
.companion__img.is-fading { opacity: 0; }
.companion__shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 4%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 27, 34, .22), transparent 72%);
  filter: blur(2px);
  opacity: .7;
  pointer-events: none;
}
/* Speech stack rides above the head so bubble + chips move with the mascot. */
.companion__air {
  position: absolute;
  bottom: calc(100% - 8px);
  left: auto;
  right: -4%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: max-content;
  /* WHY: wider wrap budget so longer beat lines wrap instead of clipping off-screen. */
  max-width: min(19rem, calc(100vw - 32px));
  pointer-events: none;
  transition: opacity .28s var(--ease), visibility .28s;
}
/* is-left: anchor near head centre, grow right (companion on left half). is-right: mirror. */
.companion__air.is-left {
  left: 50%;
  right: auto;
  align-items: flex-start;
}
.companion__air.is-right {
  left: auto;
  right: 50%;
  align-items: flex-end;
}
/* Paper bubble — solid ink-on-paper + mint edge so it reads on light AND dark bands. */
.companion__bubble {
  position: relative;
  width: max-content;
  max-width: inherit;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  font: 600 .86rem/1.35 var(--f-body);
  letter-spacing: -.01em;
  box-shadow: 0 12px 32px -14px rgba(15, 27, 34, .5), 0 0 0 1.5px rgba(61, 220, 151, .45);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.companion__bubble.is-on {
  opacity: 1;
  visibility: visible;
}
.companion__bubble.is-swap { opacity: 0; }
/*
 * Tail sits on the bubble edge nearest the mascot head.
 * is-right = companion on RIGHT half, bubble grows LEFT → tail bottom-right.
 * is-left  = companion on LEFT half, bubble grows RIGHT → tail bottom-left.
 * Default matches is-right (most common free-path side).
 */
.companion__bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: auto;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--card);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 2px 2px 0 rgba(15, 27, 34, .04);
}
.companion__air.is-right .companion__bubble::after {
  left: auto;
  right: 18px;
}
.companion__air.is-left .companion__bubble::after {
  left: 18px;
  right: auto;
}
@media (max-width: 719.98px) {
  .companion { width: var(--companion-size, 72px); }
  /* Narrower air so bubble + chips stay inside the viewport on small phones. */
  .companion__air { max-width: min(13.5rem, calc(100vw - 20px)); }
  .companion__bubble { font-size: .78rem; padding: 9px 12px; }
  .companion__qs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    justify-content: stretch;
  }
  .companion__air.is-right .companion__qs,
  .companion__air.is-left .companion__qs { justify-content: stretch; }
  .companion__qs button {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    font-size: .74rem;
  }
}

/* Inline FAQ chips — attached under the bubble, no fullscreen modal. */
.companion__qs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end; /* default = is-right: chips under right-anchored bubble */
  gap: 6px;
  width: max-content;
  max-width: inherit;
  pointer-events: auto;
}
.companion__air.is-right .companion__qs { justify-content: flex-end; }
.companion__air.is-left .companion__qs { justify-content: flex-start; }
.companion__qs[hidden] { display: none; }
.companion__qs button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(61, 220, 151, .4);
  background: var(--card);
  color: var(--ink);
  font: 600 .78rem/1.25 var(--f-body);
  cursor: pointer;
  box-shadow: 0 8px 20px -12px rgba(15, 27, 34, .45);
  transition: background-color var(--response) var(--ease), border-color var(--response) var(--ease), transform var(--press-ms) var(--press-ease);
}
.companion__qs button:hover { border-color: rgba(61, 220, 151, .7); }
.companion__qs button:active,
.companion__qs button.is-pressed { transform: scale(.97); }
.companion__qs button:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}
/* Explicit chip focus: mint ring matches site buttons; offset 2px so pills stay readable. */
.companion__qs button:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px var(--ink);
}

/* Thin mint progress under the header edge — compositor-friendly scaleX. */
.scrollprog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51; /* just above header so the mint line stays readable */
  height: 2px;
  pointer-events: none;
  background: transparent;
  overflow: hidden;
}
.scrollprog i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--mint);
  transform: scaleX(var(--scroll-p, 0));
  transform-origin: left center;
  will-change: transform;
}

/* =====================================================================
   Reduced motion: no auto-cycle, no heartbeat, no reveal slides, no elastic.
   JS already short-circuits day cycle / hearts / reveals — keep CSS aligned.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  /* Cross-fade / already-in only — no translate rise, no scale materialize motion. */
  .js [data-reveal] { opacity: 1; transform: none; }
  .hdr__links { transform: none !important; }
  .app__panel { transform: none !important; }
  .refcard.is-swapping .refcard__verdict, .refcard.is-swapping .refcard__plan { transform: none; }
  .pouls svg, .pouls__spark { animation: none !important; }
  .pouls__trace { stroke-opacity: 1 !important; }
  .ov__rec i { animation: none; }
  .scale__band--you { transition: none; }
  /* Companion parks / snaps; JS skips path/bob — kill residual CSS transitions. */
  .companion, .companion__inner, .companion__img, .companion__air, .companion__bubble, .dock-screen img, .hero-companion, .pouls-slot .pouls--app, .companion.is-hero-entering { transition: none !important; }
}

/* Solid materials when transparency is reduced — drop blur, raise opacity. */
@media (prefers-reduced-transparency: reduce) {
  .hdr.is-solid, .hdr.is-open {
    background: rgba(15, 27, 34, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hdr.is-solid::after, .hdr.is-open::after { display: none; }
  @media (max-width: 1023.98px) {
    .hdr__links, .hdr.is-open .hdr__links {
      background: rgba(15, 27, 34, .98);
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
  }
  .wl, .wl-ok {
    background: var(--ink-2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .ov__chip, .ov__rec, .ov__tag, .ov__caption {
    background: rgba(15, 27, 34, .94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .legal-hdr {
    background: rgba(15, 27, 34, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .companion__img { filter: none; }
  .companion__shadow { opacity: .45; filter: none; background: rgba(15, 27, 34, .28); }
  .dock-screen img { filter: none; }
}

/* Higher contrast: near-solid surfaces + defined borders. */
@media (prefers-contrast: more) {
  .hdr.is-solid, .hdr.is-open {
    background: #0F1B22;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(245, 242, 235, .22);
  }
  .hdr.is-solid::after, .hdr.is-open::after { display: none; }
  .refcard, .obj, .plan, .buddy, .steps4 li, .market {
    border-color: rgba(15, 27, 34, .28);
  }
  .plan--top { border-color: var(--deep); }
  .wl, .wl-ok {
    background: var(--ink-2);
    border-color: rgba(245, 242, 235, .28);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .btn--outline { border-color: rgba(15, 27, 34, .45); }
  .btn--ghost { border-color: rgba(245, 242, 235, .45); }
}

/* ---------- Legal pages (mentions légales, confidentialité, cookies, CGU, CGV) ---------- */
/* Static glass header: legal pages load no JS, so the header never waits for a scroll class. */
.legal-hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); background: rgba(15, 27, 34, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.legal-hdr .wrap { display: flex; align-items: center; height: 100%; gap: 16px; }
.legal-hdr .logo { color: var(--paper); margin-right: auto; }
.legal-hdr__back { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: #B8C6CC; text-decoration: none; }
.legal-hdr__back:hover { color: var(--paper); }
.legal-hdr__back .ico { width: 18px; height: 18px; transform: rotate(180deg); }

.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.legal__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.legal__head h1 { margin-top: 12px; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); }
.legal__intro { margin-top: 16px; font-size: 1.08rem; color: var(--fg2); }
.legal__date { margin-top: 12px; font-size: .86rem; color: var(--muted); }

/* Table of contents: stacked card on mobile, sticky side column from 1024px. */
.legal__grid { display: grid; gap: 32px; }
.toc { padding: 20px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; }
.toc__title { font: 700 .72rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin-bottom: 10px; }
.toc ol { display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 8px; }
.toc li::before { content: counter(toc) "."; min-width: 1.4em; color: var(--slate); font-variant-numeric: tabular-nums; }
.toc a { color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .legal__grid { grid-template-columns: 260px minmax(0, 760px); gap: 56px; align-items: start; }
  .toc { position: sticky; top: calc(var(--hdr-h) + 24px); max-height: calc(100vh - var(--hdr-h) - 48px); overflow-y: auto; }
}

/* Long-form reading rhythm. */
.prose { min-width: 0; color: var(--body); }
.prose > section + section { margin-top: clamp(36px, 5vw, 52px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.8rem); margin-bottom: 16px; }
.prose h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol, .prose dl { margin-top: 12px; }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose ul { padding-left: 1.2em; list-style: none; }
.prose ul li { position: relative; margin-top: 6px; }
/* Bullet = the brand's mint dash, rounded like the logo. */
.prose ul li::before { content: ''; position: absolute; left: -1.05em; top: .72em; width: .6em; height: 3px; border-radius: 3px; background: var(--mint); }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose ol li { margin-top: 6px; }
.prose a { color: var(--deep); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose dl { display: grid; gap: 10px; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.prose dl div { display: grid; gap: 2px; }
.prose dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.prose dd { color: var(--body); }
@media (min-width: 640px) { .prose dl div { grid-template-columns: 220px 1fr; gap: 16px; } }

/* Highlighted summary box. */
.legal-box { margin-top: 0; padding: 22px 24px; border-radius: 20px; background: var(--mint-tint); border: 1px solid rgba(14, 122, 85, .18); }
.legal-box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.legal-box ul { margin-top: 0; }
.prose > .legal-box + section { margin-top: clamp(32px, 4vw, 44px); border-top: 0; padding-top: 0; }
.legal-note { padding: 14px 18px; border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; background: #FFF6E6; color: var(--body); font-size: .95rem; }

/* Tables: horizontal scroll inside their own wrapper, never at page level. */
.tbl { margin-top: 16px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--card); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.tbl caption { padding: 14px 18px 0; text-align: left; font-weight: 700; color: var(--ink); }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.tbl thead th { border-top: 0; font: 700 .72rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: #FAF8F2; }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.tbl__hint { margin-top: 6px; font-size: .8rem; color: var(--muted); }
@media (min-width: 760px) { .tbl__hint { display: none; } }

/* Placeholder the founder must fill before going live: impossible to miss. */
.todo { padding: 1px 6px; border-radius: 6px; background: #FFE9C7; color: #7A4B00; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Withdrawal form template. */
.form-tpl { margin-top: 16px; padding: 22px 24px; border-radius: 18px; border: 1.5px dashed rgba(15, 27, 34, .25); background: var(--card); }
.form-tpl p + p { margin-top: 10px; }

.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr__legal a { color: #8FA1A9; text-decoration: none; }
.ftr__legal a:hover, .ftr__legal a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
