/* Yū Studio — Washi (clair) et Yoru (sombre), selon le réglage du système. */
:root {
  --page: #F4EFE6; --band: #EDE6DA; --surface: #FBF8F2; --line: #E0D8C9; --field: #8C8476;
  --text: #1B1A17; --text2: #5A544B; --track: #E3DBCC; --sun: #B08A45;
  --focus-ring: #7A5B22; --focus-num: #7D5F27;
  --focus: #8A6A2E; --forge: #A63A22; --habits: #4F6B35;
  --focus-soft: #F1E6CF; --forge-soft: #F4DDD5; --habits-soft: #E1E9D6;
  --night: #DDE2EC; --night-text: #2C3A57;
  --ink: #1B1A17; --on-ink: #F4EFE6;
  --accent: var(--text); --on-accent: var(--page);
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(56px, 8vw, 104px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0E1014; --band: #121418; --surface: #171A20; --line: #262A32; --field: #4A4F59;
    --text: #EEE8DC; --text2: #A8A296; --track: #262A32; --sun: #C9A96E;
    --focus-ring: var(--sun); --focus-num: var(--focus);
    --focus: #D2B275; --forge: #E0694A; --habits: #A9C285;
    --focus-soft: #2A2416; --forge-soft: #2E1812; --habits-soft: #1E2618;
    --night: #1E2433; --night-text: #B9C3DA;
    --ink: #EEE8DC; --on-ink: #0E1014;
  }
}
.page--focus { --accent: var(--focus); --on-accent: #17130B; }
.page--forge { --accent: var(--forge); --on-accent: #FBF8F2; }
.page--habits { --accent: var(--habits); --on-accent: #FBF8F2; }
@media (prefers-color-scheme: dark) {
  .page--forge { --on-accent: #1C0E0A; }
  .page--habits { --on-accent: #141A0F; }
  .page--focus .end { --sun: #F3E3BD; --focus-ring: #F3E3BD; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
/* En-tête collant mobile : environ 109 px (marque 44 px + liens 44 px, sans le bouton Focus masqué sous 768 px). */
@media (max-width: 767px) { html { scroll-padding-top: 120px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--page); color: var(--text); font: 1.0625rem/1.55 var(--sans); }
.scroll-progress { display: none; }
.motion .scroll-progress { display: block; position: fixed; z-index: 100; inset: 0 auto auto 0; width: 100%; height: 2px; pointer-events: none; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, #D2B275 0%, #E0694A 52%, #A9C285 100%); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
@media (hover: hover) and (pointer: fine) { a:hover { opacity: .8; } }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
/* Fonds sombres en mode clair (hero d’app, bande Watch, chapitres de l’accueil) : l’anneau doré clair y reste à plus de 5:1. */
.app-hero, .nav--app, .band--night, .chapter { --focus-ring: #D2B275; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.serif { font-family: var(--serif); font-weight: 600; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
/* Cibles du lien d’évitement : focalisables par programme, sans anneau (les vrais contrôles gardent :focus-visible). */
#debut:focus, #contenu:focus { outline: none; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--page); }
@supports (backdrop-filter: blur(1px)) {
  .nav { background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
}
.nav--app { border-bottom-color: rgba(255,255,255,.08); }
.nav__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; }
.mark__macron { stroke: var(--sun); }
.nav--app .mark__macron { stroke: #E2C48A; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 0.9375rem; color: var(--text2); }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__links a[aria-current="page"] { color: var(--hero-accent, var(--text)); font-weight: 600; }
.nav__lang { padding: 8px 12px !important; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.nav__action { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; padding: 0 16px !important; border-radius: 6px; background: var(--ink); color: var(--on-ink) !important; font-size: 0.875rem; font-weight: 600; transition: transform 150ms var(--ease), background-color 150ms ease; }
.nav--app .nav__action { background: var(--hero-accent); color: #17130B !important; }
.nav__action:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nav__action:hover { opacity: 1; transform: translateY(-1px); } }

/* Héros */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); padding-block: clamp(56px, 9vw, 120px) var(--space); }
.hero--app { padding-top: clamp(40px, 7vw, 96px); }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__art { flex: 1 1 320px; display: flex; justify-content: center; }
.hero__rings { width: min(100%, 440px); height: auto; }
.eyebrow { font-size: 0.8125rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: var(--text2); }
.display, .title, .promises h3 { overflow-wrap: anywhere; }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--text2); max-width: 60ch; }
.title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.125rem, 4.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.title--sm { font-size: clamp(1.625rem, 3.4vw, 2.5rem); line-height: 1.12; }
.body { font-size: 1.125rem; line-height: 1.55; color: var(--text2); max-width: 62ch; }
.note { font-size: 0.875rem; color: var(--text2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* Bandeaux colorés des pages d'app (identiques en clair et en sombre) */
.app-hero, .nav--app { color: #F4EFE6; --text2: #CFC6B8; --line: rgba(255,255,255,.14); }
.app-hero { position: relative; overflow: hidden; isolation: isolate; }
.app-hero::before { content: ""; position: absolute; z-index: -1; inset: -22%; pointer-events: none; background: radial-gradient(ellipse at 74% 54%, color-mix(in srgb, var(--hero-accent) 19%, transparent), transparent 43%); opacity: .8; }
.app-hero > .hero { position: relative; z-index: 1; }
.app-hero--focus, .nav--focus { --hero-accent: #D2B275; --text2: #B9B3A6; }
.app-hero--forge, .nav--forge { --hero-accent: #F2A58C; --text2: #D9C9C0; }
.app-hero--habits, .nav--habits { --hero-accent: #C3D9A0; --text2: #CBD3BE; }
.app-hero--focus { background: #141A2A; } .nav--focus { background: #141A2A; }
.app-hero--forge { background: #3A140C; } .nav--forge { background: #3A140C; }
.app-hero--habits { background: #1E2C14; } .nav--habits { background: #1E2C14; }
@supports (backdrop-filter: blur(1px)) {
  .nav--focus { background: color-mix(in srgb, #141A2A 94%, transparent); }
  .nav--forge { background: color-mix(in srgb, #3A140C 94%, transparent); }
  .nav--habits { background: color-mix(in srgb, #1E2C14 94%, transparent); }
}
.app-hero .btn--accent { background: var(--hero-accent); color: #17130B; }
.app-hero .badge-soon { border-color: rgba(255,255,255,.22); }
.app-id { display: flex; align-items: center; gap: 16px; }
.app-id > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.app-id .serif { font-size: 1.5rem; }
.app-id small { font-size: 0.875rem; color: var(--text2); }
.app-hero .pill { background: rgba(255,255,255,.1); color: var(--hero-accent); }

/* Boutons */
.btn { transition: transform 150ms var(--ease), opacity 150ms ease, background-color 150ms ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 1.0625rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; user-select: none; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--line { border: 1px solid var(--line); color: var(--text); background: transparent; }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.badge-soon span { width: 8px; height: 8px; border-radius: 999px; background: var(--hero-accent, var(--accent)); }
.link { font-weight: 600; padding: 10px 0; text-decoration: none; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.pill--focus { background: var(--focus-soft); color: var(--focus); }
.pill--forge { background: var(--forge-soft); color: var(--forge); }
.pill--habits { background: var(--habits-soft); color: var(--habits); }

/* Icônes d'app */
.app-icon { --s: 72px; flex-shrink: 0; display: block; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .235); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.app-icon--76 { --s: 76px; }
.app-icon--56 { --s: 56px; }
.app-icon svg { width: 100%; height: 100%; }
.app-icon--focus { background: radial-gradient(circle at 30% 18%, #2A3654 0%, #141A2A 72%); }
.app-icon--forge { background: radial-gradient(circle at 30% 18%, #A8432A 0%, #5A1E12 72%); }
.app-icon--habits { background: radial-gradient(circle at 30% 18%, #6A8A4A 0%, #273A1A 72%); }

/* Sections */
.band { background: var(--band); border-block: 1px solid var(--line); }
.section { padding-block: var(--space); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.band > .stack, .band > .split, .band > .end { padding-block: var(--space); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); padding-block: var(--space); }
.split--top { align-items: flex-start; }
.split__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split__art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.app-card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.app-card h3 { font-size: 1.75rem; margin-bottom: 8px; }
.app-card p { color: var(--text2); }
.app-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 600; }
.dots { display: flex; flex-direction: column; gap: 14px; }
.dots li { display: flex; gap: 12px; align-items: baseline; }
.dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; display: inline-block; }
.dot--focus { background: var(--focus); } .dot--forge { background: var(--forge); } .dot--habits { background: var(--habits); } .dot--accent { background: var(--accent); }
.widget { width: min(100%, 440px); border-radius: 32px; background: #0E1014; color: #EEE8DC; padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; }
@media (prefers-color-scheme: dark) { .widget { background: var(--surface); border: 1px solid var(--line); } }
.widget__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: #A8A296; }
.widget__head .serif { font-size: 1.1875rem; color: #EEE8DC; }
.widget__rings { display: flex; gap: 12px; }
.widget__rings > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.875rem; color: #A8A296; }
.widget__ring { position: relative; width: 100%; max-width: 110px; aspect-ratio: 1; }
.widget__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.widget__ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1875rem; color: #EEE8DC; }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.promises > div { border-top: 2px solid var(--sun); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.promises h3 { font-size: 1.5rem; }
.promises p { color: var(--text2); }
.studio { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); padding-block: var(--space); }
.studio > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.studio__text { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 1.125rem; line-height: 1.65; color: var(--text2); }
.studio__text a { color: var(--text); font-weight: 600; }

.unlock { display: flex; flex-direction: column; gap: 28px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 22px; color: var(--text2); line-height: 1.55; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tile h3 { font-size: 1.625rem; line-height: 1.15; }
.tile .tile__title { font-size: 1.875rem; line-height: 1.12; }
.tile p { color: var(--text2); line-height: 1.6; }
.tile .eyebrow { color: var(--text2); }
.tile__num { color: var(--accent) !important; font-weight: 700; font-size: 0.875rem; }
.page--focus .tile__num { color: var(--focus-num) !important; }
.facts { display: flex; gap: 40px; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-size: 3.25rem; font-weight: 500; line-height: 1; color: var(--accent); }
.facts span { font-size: 0.9375rem; color: var(--text2); }
.quote { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.quote__stars { color: var(--accent); letter-spacing: 4px; font-size: 1.125rem; }
.quote blockquote { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.3; font-weight: 500; }
.quote figcaption { font-size: 0.9375rem; color: var(--text2); }
.week { width: 100%; }
.week h3 { font-size: 1.375rem; padding-bottom: 6px; }
.week table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.week th, .week td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; }
.week th { width: 48px; font-weight: 600; }
.week td:last-child { text-align: right; color: var(--text2); }
.shift { padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.shift--jour { background: var(--forge-soft); color: var(--forge); }
.shift--nuit { background: var(--night); color: var(--night-text); }
.shift--repos { border: 1px solid var(--line); color: var(--text2); }

.end { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: clamp(64px, 9vw, 120px); }
.end .body { max-width: 560px; }
.end--narrow { max-width: 760px; }
.teaser { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(56px, 8vw, 96px); }
.teaser > div { max-width: 620px; display: flex; flex-direction: column; gap: 8px; }

/* Liste d'attente */
.waitlist { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.waitlist label { color: var(--text2); }
.waitlist__row { width: 100%; max-width: 520px; display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input { flex: 1 1 260px; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--field); background: var(--surface); color: var(--text); font: 1.0625rem var(--sans); }
.waitlist .note { max-width: 460px; }
.waitlist__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__error { color: var(--forge); font-weight: 600; }
.waitlist__done .serif { font-size: 1.625rem; }

/* Maquettes de téléphone (toujours en sombre) */
.phone { width: 300px; height: 620px; border-radius: 48px; border: 8px solid #2A2F38; background: #0E1014; color: #EEE8DC; overflow: hidden; flex-shrink: 0; }
.phone__screen { height: 100%; padding: 40px 20px 18px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.phone__brand { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.phone__title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.phone__kicker { font-size: 11px; letter-spacing: 2px; color: #A8A296; font-weight: 600; margin-bottom: 6px; }
.phone__kicker--forge { color: #E0694A; font-weight: 700; margin: 0; }
.phone__seg { display: flex; gap: 4px; padding: 4px; background: #171A20; border: 1px solid #262A32; border-radius: 999px; font-size: 13px; }
.phone__seg span { flex: 1; text-align: center; padding: 8px 0; border-radius: 999px; }
.phone__seg .on { background: #EEE8DC; color: #0E1014; font-weight: 600; }
.phone__ring { position: relative; width: 200px; height: 200px; align-self: center; flex-shrink: 0; }
.phone__ring--sm { width: 116px; height: 116px; }
.phone__ring--xs { width: 92px; height: 92px; }
.phone__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone__ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.phone__ring b { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; }
.phone__ring--sm b { font-size: 26px; white-space: nowrap; } .phone__ring--xs b { font-size: 24px; }
.phone__ring small { font-size: 10px; letter-spacing: 2px; color: #A8A296; font-weight: 600; }
.phone__muted { text-align: center; font-size: 13px; color: #A8A296; }
.phone__muted--left { text-align: left; font-size: 12px; }
.phone__grow { flex: 1; }
.phone__row { display: flex; align-items: center; gap: 16px; }
.phone__stats { flex: 1; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.phone__stats div { display: flex; justify-content: space-between; }
.phone__stats dt { color: #A8A296; } .phone__stats dd { font-weight: 600; }
.phone__card { background: #171A20; border: 1px solid #262A32; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.phone__line { display: flex; justify-content: space-between; }
.phone__cta { margin-top: auto; border-radius: 999px; text-align: center; padding: 14px 0; font-size: 16px; font-weight: 600; }
.phone__cta--forge { background: #E0694A; color: #1C0E0A; }
.phone__list { background: #171A20; border: 1px solid #262A32; border-radius: 20px; padding: 2px 14px; }
.phone__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #262A32; }
.phone__list li:last-child { border-bottom: 0; }
.phone__list small { display: block; font-size: 11px; font-weight: 600; }
.phone__check { width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; border: 2px solid #4A4F59; display: flex; align-items: center; justify-content: center; }
.phone__check.done { border: 0; background: #A9C285; }
.via--focus { color: #D2B275; } .via--forge { color: #E0694A; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 32px 40px; font-size: 0.875rem; color: var(--text2); }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand .serif { font-size: 1.125rem; color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.footer__links a { text-decoration: none; padding: 10px 0; }
.footer__links--legal { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
.footer__links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { flex-basis: 100%; font-size: 0.75rem; }

/* Pages légales : une colonne de lecture, sommaire à gauche sur grand écran */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 88px); padding-block: clamp(40px, 7vw, 88px) var(--space); }
.legal__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 720px; }
.legal__head .title { max-width: 18ch; }
.legal__head .body { max-width: 62ch; }
.legal__toc { font-size: 0.9375rem; }
.legal__toc ol { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: legal; }
.legal__toc li { counter-increment: legal; }
.legal__toc a { display: block; padding: 8px 0; text-decoration: none; color: var(--text2); }
.legal__toc a::before { content: counter(legal, decimal-leading-zero); display: inline-block; min-width: 2.2em; font-variant-numeric: tabular-nums; color: var(--field); }
.legal__body { max-width: 720px; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.legal__section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 84px; }
.legal__section h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; }
.legal__section p, .legal__section li { font-size: 1.0625rem; line-height: 1.65; color: var(--text2); max-width: 66ch; overflow-wrap: anywhere; }
.legal__section strong { color: var(--text); font-weight: 600; }
.legal__section a, .legal__head a { text-underline-offset: 3px; }
.legal__section ul { margin: 0; padding-left: 1.2em; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.legal__section li::marker { color: var(--field); }
.legal__facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.legal__facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__facts dt { font-size: 0.8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text2); }
.legal__facts dd { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
.legal__todo { padding: 1px 8px; border: 1px dashed var(--field); border-radius: 6px; font-size: 0.875rem; color: var(--text2); }
@media (min-width: 900px) {
  .legal { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
  .legal__head { grid-column: 1 / -1; }
  .legal__toc { position: sticky; top: 92px; }
}

@media (max-width: 420px) {
  .phone { transform: scale(.9); transform-origin: top center; margin-bottom: -62px; }
}
@media (max-width: 600px) {
  /* Les <br> sont précédés d’une espace (build.mjs, spaced()) : les mots ne se soudent plus. */
  .display br, .title br { display: none; }
}

/* Apparitions éditoriales : un déplacement court, une seule fois, sans parallax. */
.btn:active { transform: scale(.97); }
.motion .reveal { opacity: 0; transform: translate3d(0, 16px, 0) scale(.99); transition: opacity 320ms ease-out, transform 440ms var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal.in > * { animation: yu-rise-in 420ms var(--ease) both; animation-delay: var(--yu-stagger, 0ms); }
.motion .chapter.in > .chapter__inner { animation: none; }
.motion .chapter.in .chapter__copy > * { animation: yu-rise-in 420ms var(--ease) both; animation-delay: var(--yu-stagger, 0ms); }
.motion .chapter.in .chapter__visual { animation: yu-rise-in 520ms var(--ease) both; animation-delay: 80ms; }
.motion .chapter.in .chapter__device { animation: yu-device-in 620ms var(--ease) both; animation-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .motion .reveal { opacity: 1; transform: none; transition: none; }
}

/* Visite guidée : le téléphone reste épinglé pendant que les textes défilent (écrans larges seulement) */
.tour { padding-block: var(--space); }
.tour__phone { display: none; }
.tour__step { display: flex; flex-direction: column; gap: 14px; padding-block: 28px; }
.phone__seg span { transition: background-color 180ms var(--ease), color 180ms ease; }
.phone__ring b { transition: opacity 180ms ease; }
.phone__ring b.swap { opacity: 0; }
@media (min-width: 900px) {
  .tour { display: flex; align-items: flex-start; gap: clamp(48px, 7vw, 120px); }
  .tour__steps { flex: 1 1 0; min-width: 0; }
  .tour__steps .section-head { padding-bottom: 8vh; }
  .tour__step { min-height: 40svh; justify-content: center; }
  .tour__steps { padding-bottom: 10vh; }
  .tour__phone { display: block; flex: 0 0 auto; position: sticky; top: max(88px, calc(50vh - 310px)); }
  /* Étape inactive : couleurs pleines plus discrètes (pas d'opacité) — --text2 : 6,5:1 en clair, 7,5:1 en sombre. */
  .motion .tour__step .tile__num, .motion .tour__step .title, .motion .tour__step .body { transition: color 180ms ease; }
  .motion .tour__step:not(.is-active) .tile__num, .motion .tour__step:not(.is-active) .title { color: var(--text2) !important; }
  .motion .tour__step.is-active .body { color: var(--text); }
}

/* Écran du téléphone piloté par l'étape active : data-state="1|2|3" posé par site.js */
[data-hl], [data-sub] { transition: opacity 180ms ease; }
.phone__ring--xs { transition: transform 280ms var(--ease), opacity 180ms ease; }
.tour__phone[data-state="1"] [data-hl]:not([data-on~="1"]),
.tour__phone[data-state="2"] [data-hl]:not([data-on~="2"]),
.tour__phone[data-state="3"] [data-hl]:not([data-on~="3"]) { opacity: .2; }
.tour__phone[data-state="2"] [data-sub]:not([data-on~="2"]),
.tour__phone[data-state="3"] [data-sub]:not([data-on~="3"]) { opacity: .25; }
.tour__phone[data-state="2"] .phone__ring--xs { transform: translate(-72px, 170px) scale(2.1); }
.phone__list, .phone__list li { transition: opacity 180ms ease; }
.tour__phone[data-state="2"] .phone__list { opacity: .35; }
.tour__phone[data-state="2"] .phone__list li { opacity: .06; }

/* Écran « rapport de séance » de Forge : fondu par-dessus l'écran du jour à la 3e étape */
.phone { position: relative; }
.phone__report { position: absolute; inset: 0; gap: 11px; background: #0E1014; opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease); }
.tour__phone[data-state="3"] .phone__report { opacity: 1; }
.report__card { padding: 12px 14px; gap: 6px; border-radius: 16px; }
.report__row { display: grid; grid-template-columns: 1fr 48px 48px; align-items: center; gap: 6px; font-size: 13px; padding: 5px 0; }
.report__row > :nth-child(n+2) { text-align: right; }
.report__row > span:first-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.report__row b { color: #EEE8DC; }
.report__row--head { font-size: 10px; letter-spacing: 1.5px; color: #A8A296; font-weight: 600; text-transform: uppercase; padding-top: 0; }
.report__pill { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 999px; background: #E0694A; color: #1C0E0A; }
.report__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.report__chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #0E1014; border: 1px solid #262A32; }
.report__ask { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #171A20; border: 1px solid #262A32; font-size: 13px; color: #A8A296; }
.report__ask svg { box-sizing: content-box; padding: 8px; border-radius: 999px; background: #E0694A; }
.phone__report { gap: 8px; padding-top: 34px; padding-bottom: 14px; }
.phone__report .phone__title { font-size: 24px; }
.report__card { padding: 10px 12px; gap: 3px; }
.report__row { padding: 3px 0; }
.report__chips { gap: 5px; }
.report__chips span { padding: 4px 9px; font-size: 11.5px; }
.report__ask { padding: 5px 5px 5px 14px; }
.report__ask svg { padding: 7px; }
.report__row { grid-template-columns: 1fr 40px 40px; }
.report__row > span:first-child { gap: 3px 8px; white-space: nowrap; }
.report__row > span:first-child .report__pill { flex-basis: auto; }
.report__row { grid-template-columns: 1fr 58px 40px; }
.report__row--head { letter-spacing: 1px; }

@media (prefers-reduced-motion: reduce) {
  .tour__step, [data-hl], [data-sub], .phone__ring--xs, .phone__list, .phone__list li, .phone__report, .phone__seg span, .phone__ring b { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Yū Studio — composition éditoriale. Papier commun, un atelier visuel par app.
   -------------------------------------------------------------------------- */
.page--home .nav__action { background: var(--text); color: var(--page) !important; }
.page--home .nav { position: relative; top: auto; }
@keyframes yu-rise-in {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes yu-bloom-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes yu-device-in {
  from { opacity: 0; transform: perspective(1000px) translate3d(0, 34px, 0) rotateX(7deg) scale(.96); }
  to { opacity: 1; transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0) scale(1); }
}
@keyframes yu-ring-turn {
  from { opacity: .48; transform: rotate(-360deg); }
  to { opacity: 1; transform: rotate(0deg); }
}
@keyframes yu-orbit-in {
  from { opacity: 0; transform: scale(.92) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes yu-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes yu-nav-in {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.motion .nav { animation: yu-nav-in 240ms var(--ease) both; }
.hero--home {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  min-height: min(820px, calc(100svh - 78px));
  padding-block: clamp(48px, 7vh, 84px);
}
.hero--home .hero__text { gap: 22px; }
.hero--home .eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: 2.2px; }
.hero--home .eyebrow::before { content: ""; display: block; width: 28px; height: 1px; background: var(--sun); }
.hero--home .display {
  max-width: 800px;
  font-size: clamp(4rem, 8.6vw, 7rem);
  font-weight: 500;
  line-height: .91;
  letter-spacing: -.065em;
}
.hero--home .display em { color: var(--sun); font-weight: 400; }
.hero--home .lede { max-width: 560px; font-size: clamp(1.125rem, 1.55vw, 1.3125rem); line-height: 1.55; }
.hero--home .actions { gap: 12px; }
.hero--home .btn { border-radius: 6px; }
.hero__note { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 0.8125rem; }
.hero__note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--habits); }
.hero-art {
  --art-ink: #141A2A;
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1.04;
  margin: 0;
  padding: clamp(30px, 4vw, 40px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: center;
  background: var(--art-ink);
  color: #F4EFE6;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50% 50% 18px 18px / 42% 42% 18px 18px;
  overflow: hidden;
}
.hero-art::before { content: ""; position: absolute; z-index: 0; inset: 8%; border-radius: 50%; pointer-events: none; }
.hero-art::before { background: radial-gradient(ellipse at center, rgba(210,178,117,.13), rgba(224,105,74,.075) 38%, transparent 72%); filter: blur(10px); }
.hero-art__light { position: absolute; z-index: 0; inset: 8%; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.hero-art.is-lit .hero-art__light { opacity: 1; }
.hero-art__heading, .hero-art > .hero__rings, .hero-art__legend { position: relative; z-index: 1; }
.hero-art .hero__rings { transform: perspective(1000px) rotateX(0deg) rotateY(0deg); transform-style: preserve-3d; }
.motion .hero--home .hero__text > * { opacity: 0; animation: yu-rise-in 480ms var(--ease) both; }
.motion .hero--home .hero__text > :nth-child(1) { animation-delay: 0ms; }
.motion .hero--home .hero__text > :nth-child(2) { animation-delay: 60ms; }
.motion .hero--home .hero__text > :nth-child(3) { animation-delay: 120ms; }
.motion .hero--home .hero__text > :nth-child(4) { animation-delay: 180ms; }
.motion .hero--home .hero__text > :nth-child(5) { animation-delay: 240ms; }
.motion .hero-art { opacity: 0; animation: yu-bloom-in 760ms var(--ease) 160ms both; }
.motion .hero-art .hero__ring-set { transform-box: view-box; transform-origin: center; animation: yu-ring-turn 1500ms var(--ease) both; }
.motion .hero-art .hero__ring-set--focus { animation-delay: 300ms; }
.motion .hero-art .hero__ring-set--forge { animation-delay: 380ms; }
.motion .hero-art .hero__ring-set--habits { animation-delay: 460ms; }
.hero-art__heading { grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; color: #B9B3A6; font-size: 0.6875rem; font-weight: 600; line-height: 1.5; letter-spacing: 1.8px; text-transform: uppercase; text-wrap: balance; }
.hero-art__heading > span:first-child { min-width: 0; }
.hero-art__heading > span:last-child { white-space: nowrap; }
.hero-art .hero__rings { grid-row: 1; width: min(100%, 420px); align-self: center; justify-self: center; }
.hero__ring-word { fill: #F4EFE6; font-family: var(--serif); font-size: 72px; font-weight: 500; letter-spacing: -5px; }
.hero__ring-caption { fill: #B9B3A6; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 5px; }
.hero-art__legend { grid-row: 3; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 3vw, 26px); color: #EEE8DC; font-size: 0.8125rem; }
.hero-art__legend li { display: inline-flex; align-items: center; gap: 8px; }
.hero-art__legend .dot { width: 7px; height: 7px; }
.hero-art__legend .dot--focus { background: #D2B275; }
.hero-art__legend .dot--forge { background: #E0694A; }
.hero-art__legend .dot--habits { background: #A9C285; }

/* Keep the complete home hero in view on wide, short browser windows. */
@media (min-width: 901px) and (max-height: 620px) {
  .hero--home {
    min-height: auto;
    gap: clamp(24px, 4vw, 56px);
    padding-block: clamp(12px, 3vh, 22px);
  }
  .hero--home .hero__text { gap: 12px; }
  .hero--home .display {
    font-size: clamp(3.625rem, min(6vw, 13vh), 5.125rem);
    line-height: .9;
  }
  .hero--home .lede { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.42; }
  .hero-art {
    width: min(100%, 420px, calc(100svh - 154px));
    padding: 22px 24px 18px;
    row-gap: 6px;
  }
  .hero-art .hero__rings { width: min(100%, 350px, calc(100svh - 236px)); }
  .hero-art__heading { gap: 6px 8px; font-size: 0.5625rem; letter-spacing: 1px; }
}

.home-suite__intro {
  max-width: 1360px;
  padding-block: clamp(88px, 12vw, 160px) clamp(44px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  align-items: end;
  column-gap: clamp(36px, 8vw, 112px);
  row-gap: 18px;
}
.home-suite__intro .eyebrow { grid-column: 1 / -1; }
.home-suite__intro .title { max-width: 760px; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: .99; letter-spacing: -.045em; }
.home-suite__intro .body { max-width: 420px; font-size: 1.0625rem; }
.chapter { --chapter-bg: #141A2A; --chapter-text: #F4EFE6; --chapter-sub: #B9B3A6; --chapter-accent: #D2B275; --chapter-ring: rgba(210,178,117,.24); background: var(--chapter-bg); color: var(--chapter-text); overflow: hidden; }
.chapter + .chapter { border-top: 1px solid rgba(255,255,255,.1); }
.chapter--forge { --chapter-bg: #2B211D; --chapter-text: #F4EFE6; --chapter-sub: #D0C2B7; --chapter-accent: #E0694A; --chapter-ring: rgba(224,105,74,.24); }
.chapter--habits { --chapter-bg: var(--habits-soft); --chapter-text: var(--text); --chapter-sub: var(--text2); --chapter-accent: var(--habits); --chapter-ring: color-mix(in srgb, var(--habits) 23%, transparent); }
.chapter__inner { max-width: 1360px; min-height: 690px; margin: 0 auto; padding: 56px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); align-items: center; gap: clamp(32px, 8vw, 112px); }
.chapter__copy { max-width: 560px; padding-block: 44px 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.chapter__overline { display: flex; align-items: center; gap: 12px; color: var(--chapter-sub); font-size: 0.6875rem; font-weight: 700; letter-spacing: 2px; }
.chapter__overline > span:first-child { color: var(--chapter-accent); font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; letter-spacing: 0; }
.chapter__rule { width: 28px; height: 1px; background: var(--chapter-accent); }
.chapter__identity { display: flex; align-items: center; gap: 14px; }
.chapter__studio { display: block; margin-bottom: 3px; color: var(--chapter-sub); font-size: 0.625rem; font-weight: 600; letter-spacing: 1.7px; }
.chapter__name { font: 500 1.375rem/1.1 var(--serif); }
.chapter__copy .pill { background: rgba(255,255,255,.1); color: var(--chapter-accent); }
.chapter--habits .chapter__copy .pill { background: color-mix(in srgb, var(--habits) 12%, transparent); color: var(--chapter-accent); }
.chapter__title { max-width: 540px; margin-top: 8px; font: 500 clamp(2.625rem, 5vw, 4.25rem)/.99 var(--serif); letter-spacing: -.045em; }
.chapter__text { max-width: 470px; color: var(--chapter-sub); font-size: 1.125rem; line-height: 1.6; }
.chapter__link { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; padding-block: 10px; border-bottom: 1px solid color-mix(in srgb, var(--chapter-accent) 55%, transparent); color: var(--chapter-text); font-size: 0.9375rem; font-weight: 600; text-decoration: none; transition: color 150ms ease, border-color 150ms ease; touch-action: manipulation; }
.chapter__link span { color: var(--chapter-accent); font-size: 1.125rem; }
@media (hover: hover) and (pointer: fine) { .chapter__link:hover { color: var(--chapter-accent); opacity: 1; } }
.chapter__visual { position: relative; min-height: 630px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; isolation: isolate; }
.chapter__visual::before { content: ""; position: absolute; z-index: -1; width: min(85%, 500px); aspect-ratio: 1; border: 1px solid var(--chapter-ring); border-radius: 50%; }
.chapter__visual::after { content: ""; position: absolute; z-index: -1; inset: 14%; border-radius: 50%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--chapter-accent) 17%, transparent), transparent 66%); opacity: .28; }
.chapter__visual-mark { position: absolute; top: 22px; right: 3%; color: var(--chapter-accent); font: 400 clamp(6.25rem, 16vw, 11.875rem)/1 var(--serif); letter-spacing: -.08em; opacity: .08; }
.chapter__device { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.chapter__visual .phone { z-index: 1; box-shadow: 0 36px 88px rgba(0,0,0,.3), 0 0 70px color-mix(in srgb, var(--chapter-accent) 9%, transparent); }
.chapter__visual figcaption { z-index: 1; color: var(--chapter-sub); font-size: 0.75rem; letter-spacing: .4px; }
.motion .chapter.in .chapter__visual::before { animation: yu-orbit-in 620ms var(--ease) both; }
.motion .app-hero__copy > * { opacity: 0; animation: yu-rise-in 480ms var(--ease) both; }
.motion .app-hero__copy > :nth-child(1) { animation-delay: 0ms; }
.motion .app-hero__copy > :nth-child(2) { animation-delay: 60ms; }
.motion .app-hero__copy > :nth-child(3) { animation-delay: 120ms; }
.motion .app-hero__copy > :nth-child(4) { animation-delay: 180ms; }
.motion .app-hero__visual { opacity: 0; animation: yu-bloom-in 760ms var(--ease) 160ms both; }
.motion .chapter.in .chapter__copy > * { opacity: 0; }
.motion .chapter.in .chapter__visual { opacity: 0; }
.motion .chapter.in .chapter__device { animation: yu-device-in 620ms var(--ease) 120ms both; }
.app-hero__visual { flex-direction: column; gap: 16px; }
.app-hero__note { color: var(--text2); font-size: 0.75rem; text-align: center; }
.nav--app + .app-hero .app-hero__note { color: rgba(244,239,230,.66); }

.connection { padding-block: clamp(88px, 12vw, 156px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: 24px clamp(44px, 8vw, 112px); }
.connection__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.connection__intro .title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.connection__intro .body { font-size: 1.0625rem; }
.connection__steps { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); }
.connection__steps li { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 8px minmax(0, 1fr); align-items: start; gap: 10px; }
.connection__number { color: var(--text2); font-size: 0.6875rem; font-weight: 600; letter-spacing: 1px; }
.connection__steps .dot { width: 7px; height: 7px; margin-top: 6px; }
.connection__steps b { font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; }
.connection__steps p { margin-top: 8px; color: var(--text2); font-size: 0.875rem; line-height: 1.5; }
.connection > .note { grid-column: 2; }
.principles .section-head { max-width: 780px; }
.principles .promises { gap: clamp(24px, 5vw, 68px); }
.principles .promises > div { border-top: 1px solid var(--line); padding-top: 18px; }
.principles .promises h3 { font-size: 1.625rem; }
.principles .promises p { max-width: 320px; }
.studio { align-items: flex-start; padding-block: clamp(88px, 12vw, 152px); }
.studio__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.studio__intro .title { max-width: 560px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.studio__seal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; color: var(--text2); font-size: 0.6875rem; font-weight: 700; letter-spacing: 2px; }
.studio__seal .mark { color: var(--text); }
.studio__text { align-self: center; font-size: clamp(1.125rem, 2vw, 1.375rem); }
.home-end { max-width: 1360px; margin-bottom: clamp(48px, 8vw, 104px); padding-block: clamp(64px, 9vw, 120px); border: 1px solid var(--line); background: var(--band); }
.home-end .title { max-width: 820px; font-size: clamp(2.875rem, 7vw, 5.375rem); line-height: .98; letter-spacing: -.05em; }
.home-end .body { max-width: 520px; }
.home-end .btn { border-radius: 6px; }

@media (max-width: 900px) {
  .hero--home { grid-template-columns: 1fr; min-height: auto; gap: 44px; }
  .hero--home .hero__text { max-width: 760px; }
  .hero-art { width: min(100%, 520px); justify-self: center; }
  .chapter__inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 44px; }
  .chapter__copy { max-width: 680px; padding-block: 28px 12px; }
  .chapter__visual { min-height: 640px; }
  .connection { grid-template-columns: 1fr; gap: 32px; }
  .connection__steps, .connection > .note { grid-column: 1; }
  .studio__text { align-self: flex-start; }
}
@media (max-width: 600px) {
  .brand { font-size: 1.25rem; }
  .nav__links { width: 100%; justify-content: space-between; gap: 4px 12px; font-size: 0.8125rem; }
  .nav__links a { padding-block: 7px; }
  .nav__lang { padding: 6px 9px !important; }
  .hero--home { gap: 34px; padding-block: 44px 56px; }
  .hero--home .hero__text { gap: 18px; }
  .hero--home .display { font-size: clamp(3.375rem, 16vw, 5.375rem); }
  .hero--home .actions { align-items: stretch; }
  .hero--home .actions .btn { flex: 1 1 auto; padding-inline: 17px; font-size: 0.9375rem; }
  .hero-art { width: min(100%, 430px); padding: 32px 22px 22px; }
  .hero-art .hero__rings { width: min(100%, 300px, 65vw); }
  .hero-art__heading { font-size: clamp(0.5rem, 2.3vw, 0.5625rem); letter-spacing: clamp(.65px, .3vw, 1.1px); }
  .hero-art__legend { gap: 14px; font-size: 0.75rem; }
  .home-suite__intro { grid-template-columns: 1fr; padding-block: 76px 38px; row-gap: 16px; }
  .home-suite__intro .eyebrow { grid-column: 1; }
  .home-suite__intro .title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .chapter__inner { padding: 36px var(--gutter) 0; }
  .chapter__copy { gap: 17px; padding-block: 22px 8px; }
  .chapter__title { font-size: clamp(2.625rem, 12vw, 3.625rem); }
  .chapter__text { font-size: 1rem; }
  .chapter__visual { min-height: 570px; }
  .chapter__visual-mark { top: 12px; right: 2%; }
  .connection { padding-block: 76px; }
  .connection__steps { grid-template-columns: 1fr; gap: 0; }
  .connection__steps li { padding-block: 16px; }
  .connection__steps p { max-width: 420px; }
  .principles .promises { grid-template-columns: 1fr; gap: 26px; }
  .studio { padding-block: 76px; }
  .studio__intro .title { font-size: clamp(2.5rem, 12vw, 3.625rem); }
  .home-end { margin-inline: var(--gutter); padding-inline: 20px; }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: .92; }
}

@media (prefers-reduced-motion: reduce) {
  .motion .nav { animation: none !important; }
  .motion .hero--home .hero__text > *, .motion .hero-art, .motion .hero-art .hero__ring-set,
  .motion .app-hero__copy > *, .motion .app-hero__visual {
    animation: yu-fade-in 180ms ease-out both !important;
    animation-delay: 0ms !important;
    transform: none !important;
  }
  .motion .hero--home .hero__text > *, .motion .app-hero__copy > * { opacity: 1 !important; }
  /* Apparitions au défilement : le contenu est déjà là, aucune animation à rejouer. */
  .motion .reveal.in > *, .motion .chapter.in .chapter__copy > *, .motion .chapter.in .chapter__visual,
  .motion .chapter.in .chapter__visual::before, .motion .chapter.in .chapter__device { animation: none !important; transform: none !important; }
  .motion .hero-art .hero__rings { transform: none !important; }
  .motion .scroll-progress { opacity: .65; }
}

/* --------------------------------------------------------------------------
   Vraies captures d’écran (page Focus) : cadres .device--iphone et .device--watch.
   Crochets pour le mouvement : [data-reveal] (apparition), [data-step] (écrans empilés de la visite),
   .device (cible générique). Aucun mouvement n’est défini ici hors fondu d’écran de la visite.
   -------------------------------------------------------------------------- */
.device { --device-w: 340px; position: relative; margin: 0; flex: none; }
.device__screen { position: relative; }
.device__caption { margin-top: 14px; text-align: center; font-size: .8125rem; line-height: 1.4; color: var(--text2); }

/* iPhone : coque fine (1,6 %), écran aux coins 13,6 % / 6,3 %, ratio réservé 1320 × 2868. */
.device--iphone { width: min(100%, var(--device-w)); }
.device--iphone .device__frame {
  padding: 1.6%; background: #1A1D24; border-radius: 14.8% / 6.9%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(27,26,23,.35);
}
@media (prefers-color-scheme: dark) {
  .device--iphone .device__frame { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.4), 0 40px 80px -24px rgba(5,8,20,.55); }
}
.app-hero .device--iphone .device__frame, .band--night .device__frame { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.4), 0 40px 80px -24px rgba(5,8,20,.55); }
.device--iphone .device__screen { border-radius: 13.6% / 6.3%; overflow: hidden; background: #0E1014; }
.device--iphone img, .device--iphone picture { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868; }
/* Dynamic Island : la zone est vide dans les captures (l’heure est à gauche, l’état à droite). */
.device--iphone .device__screen::after {
  content: ""; position: absolute; top: 1.26%; left: 50%; width: 28.6%; aspect-ratio: 126 / 37;
  transform: translateX(-50%); border-radius: 999px; background: #000; pointer-events: none;
}

/* Apple Watch : captures 400 × 477, coque ≈ 6 %, écran aux coins 22 %. */
.device--watch { width: 100%; max-width: 180px; }
.device--watch .device__frame {
  padding: 6%; background: #1A1D24; border-radius: 25.4% / 21.7%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.4), 0 28px 56px -22px rgba(5,8,20,.6);
}
.device--watch img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 477; border-radius: 22% / 18.5%; background: #0E1014; }
.device--watch .device__caption { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; font-size: .875rem; }
.device--watch .device__caption small { font-size: .75rem; }

/* Hero : capture à droite (340 px) ; sous les boutons, centrée, 72vw max 300 px sur mobile. */
.app-hero__device { flex: 0 1 340px; align-items: center; }
.app-hero__device .app-hero__note { font-size: 0.8125rem; letter-spacing: .01em; }
.hero--app .display { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
@media (max-width: 767px) {
  .app-hero__device { flex: 1 1 100%; }
  .app-hero__device .device { width: min(72vw, 300px); }
}

/* Visite guidée avec vrais écrans : deux captures empilées, l’étape active choisit la visible. */
.tour--device .tour__phone { display: block; }
.tour--device .tour__phone .device { width: min(100%, 340px); }
.tour--device .device[data-step="0"] { display: none; }
@media (max-width: 899px) {
  .tour--device .tour__phone { margin: 28px auto 0; width: min(72vw, 300px); }
}
@media (min-width: 900px) {
  .tour--device .tour__phone { display: grid; width: 340px; }
  .tour--device .device, .tour--device .device[data-step="0"] { display: block; }
  /* Fondu enchaîné 01 <-> 02 : la capture 01 reste opaque dessous, seule la 02 (au-dessus) change d'opacité.
     Pas de creux de luminosité à mi-course ; 01 n'est masquée (visibility) qu'une fois la 02 pleinement visible. */
  .tour--device .tour__phone { --xf: 320ms; }
  .tour--device .device { grid-area: 1 / 1; }
  .tour--device .device[data-step="0"] { opacity: 1; visibility: visible; }
  .tour--device .device[data-step~="1"] { opacity: 0; visibility: hidden; transition: opacity var(--xf) var(--ease-io), visibility 0s linear var(--xf); }
  .tour--device .tour__phone[data-state="2"] .device[data-step="0"],
  .tour--device .tour__phone[data-state="3"] .device[data-step="0"] { visibility: hidden; transition: visibility 0s linear var(--xf); }
  .tour--device .tour__phone[data-state="2"] .device[data-step~="1"],
  .tour--device .tour__phone[data-state="3"] .device[data-step~="1"] { opacity: 1; visibility: visible; transition-delay: 0s; }
}

/* Sections à capture : texte d’un côté, écran de l’autre ; empilées sur mobile. */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 96px); padding-block: var(--space); }
.feature__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.feature__art { display: flex; justify-content: center; }
.feature__art .device { width: 340px; max-width: 100%; }
.feature--reverse { grid-template-columns: auto minmax(0, 1fr); }
.feature--reverse .feature__art { order: -1; }
@media (max-width: 899px) {
  .feature, .feature--reverse { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__art { order: 0; }
  .feature__art .device { width: min(72vw, 300px); }
}
.facts { flex-wrap: wrap; }

/* Apple Watch : bande nuit pleine largeur, trois montres alignées. */
.band--night { background: #141A2A; border-color: rgba(255,255,255,.08); color: #F4EFE6; --text: #F4EFE6; --text2: #B9B3A6; --line: rgba(255,255,255,.14); --sun: #D2B275; --accent: #D2B275; }
.watch { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); padding-block: var(--space); }
.watch__head { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.watch__row { display: flex; justify-content: center; align-items: flex-start; gap: clamp(32px, 6vw, 88px); }
.watch__row .device--watch { flex: 0 0 180px; }
@media (min-width: 768px) {
  .watch__row .device--watch:nth-child(2) { transform: translateY(-24px); }
}
@media (max-width: 767px) {
  .watch__row { justify-content: flex-start; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
  .watch__row::-webkit-scrollbar { display: none; }
  .watch__row:focus-visible { outline-offset: -3px; border-radius: 12px; }
  .watch__row .device--watch { flex: 0 0 60vw; max-width: 240px; scroll-snap-align: start; }
}

/* Confidentialité : pleine largeur de la page, mesure de lecture. */
.privacy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: var(--space); }
.privacy > * { max-width: 62ch; }

/* Mouvement des captures. Les captures sont des preuves : rien ne bouge à l'intérieur, seul le cadre apparaît.
   Contenu visible par défaut ; masqué seulement sous .motion (posé par motion.js, retiré après 4 s si site.js échoue).
   `translate` (propriété transform individuelle) laisse intact le décalage statique de la montre centrale. */
:root { --ease-io: cubic-bezier(.77, 0, .175, 1); }
@keyframes yu-device-rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
/* 1. Hero : une seule arrivée, 120 ms après le début du texte. */
.motion .app-hero__device { opacity: 0; animation: yu-device-rise 600ms var(--ease) 120ms both; }
/* 3-4. Au défilement : texte d'abord, appareil 60 ms après ; montres décalées de 60 ms. */
.motion .feature__text, .motion .watch__head { opacity: 0; translate: 0 16px; transition: opacity 500ms var(--ease), translate 500ms var(--ease); }
.motion .feature__art .device[data-reveal], .motion .watch__row .device[data-reveal], .motion .tour--device .tour__phone {
  opacity: 0; translate: 0 24px; transition: opacity 500ms var(--ease) 60ms, translate 500ms var(--ease) 60ms;
}
.motion .watch__row .device[data-reveal]:nth-child(2) { transition-delay: 120ms; }
.motion .watch__row .device[data-reveal]:nth-child(3) { transition-delay: 180ms; }
@media (max-width: 767px) {
  /* Rangée défilante : chaque montre apparaît quand elle entre à l'écran, sans attente. */
  .motion .watch__row .device[data-reveal], .motion .watch__row .device[data-reveal]:nth-child(n) { transition-delay: 0s; }
}
.motion .feature__text.in, .motion .watch__head.in,
.motion .feature__art .device[data-reveal].in, .motion .watch__row .device[data-reveal].in, .motion .tour--device .tour__phone.in { opacity: 1; translate: 0 0; }
@media print {
  .motion .feature__text, .motion .watch__head, .motion .feature__art .device[data-reveal], .motion .watch__row .device[data-reveal], .motion .tour--device .tour__phone { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* Contenu déjà visible, sans dépendre de .in (la rangée Watch défile en horizontal : une montre hors écran ne reçoit jamais .in). Pas de fondu : rien n’apparaît. */
  .tour--device .tour__phone { --xf: 150ms; }
  .motion .feature__text, .motion .watch__head, .motion .feature__art .device[data-reveal], .motion .watch__row .device[data-reveal], .motion .tour--device .tour__phone,
  .motion .watch__row .device[data-reveal]:nth-child(n) { opacity: 1; translate: none; transition: none; transition-delay: 0s; }
}

/* Cibles tactiles : 44 px de haut minimum pour la navigation et le pied de page sur mobile. */
@media (max-width: 767px) {
  .nav__links a, .footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav__lang { min-width: 44px; justify-content: center; }
  .nav__inner { gap: 4px 16px; padding-block: 8px; }
  .brand { min-height: 44px; }
  /* Le bouton Focus quitte l’en-tête collant sous 768 px : il reste dans le hero et le pied de page. */
  .nav__links .nav__action { display: none; }
}
