/* Zenith 2.0 — landing page. Palette et typographie reprises de l'app :
   encre #0A0D14, crème #FAF4E8, or #C9A96E, titres en Georgia. */

:root {
  --ink: #0a0d14;
  --night: #0d1723;
  --cream: #faf4e8;
  --cream-2: #ede3ce;
  --gold: #c9a96e;
  --gold-bright: #d8b166;
  --gold-deep: #7a5a1f;          /* or lisible sur crème (contraste > 5:1) */
  --on-night: #f3ecdd;
  --on-night-2: #b9b4a8;          /* texte secondaire sur nuit */
  --on-cream: #1c1a16;
  --on-cream-2: #5a5346;          /* texte secondaire sur crème */
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--on-night); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 4px; }
.sec--cream :focus-visible { outline-color: var(--gold-deep); }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--gold-bright); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.wrap--doc { width: min(760px, 100% - 2 * var(--gutter)); }

/* ---------- typographie ---------- */
.display { font: 400 clamp(2.9rem, 7vw, 5.6rem)/1.02 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.display--md { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.display em, .h2 em { font-style: italic; color: var(--gold-bright); }
.h2 { font: 400 clamp(2rem, 4.6vw, 3.6rem)/1.08 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.sec--cream .h2 em { color: var(--gold-deep); }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.1rem; display: flex; gap: .8em; align-items: center; }
.sec--cream .eyebrow { color: var(--gold-deep); }
.eyebrow .num { font-family: var(--serif); letter-spacing: .04em; opacity: .8; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--on-night-2); margin-top: 1.4rem; max-width: 34em; text-wrap: pretty; }
.sec--cream .lead { color: var(--on-cream-2); }
.lead--hero { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--on-night); opacity: .82; }
.fine { font-size: .9rem; line-height: 1.55; color: var(--on-night-2); margin-top: 1.1rem; max-width: 34em; }
.sec--cream .fine { color: var(--on-cream-2); }
.muted { color: var(--on-night-2); }

/* ---------- sections ---------- */
.sec--night { background: var(--ink); color: var(--on-night); position: relative; }
.sec--cream { background: var(--cream); color: var(--on-cream); position: relative; z-index: 1;
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; margin-top: calc(-1 * clamp(24px, 4vw, 48px)); padding-block: clamp(72px, 11vw, 150px); }
.sec--cream-b { background: linear-gradient(var(--cream), var(--cream-2) 140%); border-radius: 0; margin-top: 0; }
.sec--cream + .sec--cream:not(.sec--cream-b) { margin-top: 0; }
.sec--night + .sec--night { margin-top: 0; }
.sec--cream + .sec--night, .sec--cream-b + .sec--night { position: relative; z-index: 0; }
/* le fond crème se poursuit sur les sections claires consécutives */
.modes { padding-bottom: clamp(48px, 7vw, 96px); }
.sounds, .daynight { padding-block: clamp(48px, 8vw, 110px); }
.principles { padding-bottom: clamp(72px, 10vw, 140px); border-radius: 0; margin-top: 0; }
.principles { background: linear-gradient(var(--cream-2), var(--cream) 90%); }

/* ---------- en-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); color: var(--on-night); transition: background .35s, backdrop-filter .35s, box-shadow .35s; }
.site-header.is-solid { background: rgba(10, 13, 20, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(243, 236, 221, .08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.5rem/1 var(--serif); letter-spacing: .01em; }
.brand img { border-radius: 8px; }
.nav { display: none; gap: 28px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--on-night-2); padding: 6px 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a:focus-visible { color: var(--on-night); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--on-night); }
.header-end { display: flex; align-items: center; gap: 14px; }
.lang { font-size: .88rem; text-decoration: none; color: var(--on-night); border: 1px solid rgba(243, 236, 221, .32); border-radius: 999px; padding: 7px 15px; min-height: 36px; display: inline-flex; align-items: center; transition: border-color .2s, background .2s; }
.lang:hover { border-color: var(--gold-bright); background: rgba(201, 169, 110, .1); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- boutons / badge d'état ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 15px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; min-height: 48px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--ink); box-shadow: 0 8px 30px rgba(201, 169, 110, .28); transition: transform .25s var(--ease), box-shadow .25s; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(201, 169, 110, .4); }
.badge-soon { display: inline-flex; align-items: center; gap: .7em; padding: 13px 24px; border-radius: 999px; border: 1px solid rgba(216, 177, 102, .55); background: rgba(216, 177, 102, .08); color: var(--gold-bright); font-weight: 600; font-size: .98rem; letter-spacing: .01em; }
.badge-soon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 0 rgba(216, 177, 102, .6); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 177, 102, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(216, 177, 102, 0); } }
.text-link { display: inline-flex; gap: .5em; margin-top: 1.4rem; font-weight: 600; text-decoration: none; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .25s var(--ease); }
.text-link:hover { gap: .9em; }
.sec--night .text-link { color: var(--gold-bright); }

/* ---------- appareils (cadre de présentation CSS, l'écran est une vraie capture) ---------- */
.device { container-type: inline-size; width: 100%; }
.device__bezel { position: relative; background: linear-gradient(145deg, #2a2d36, #07090d 55%, #1d2028); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .6); }
.device__screen { position: relative; overflow: hidden; background: #000; }
.device .fill { width: 100%; height: 100%; object-fit: cover; }
.device--phone { width: min(100%, 360px); aspect-ratio: 1 / 2.118; }
.device--phone .device__bezel { height: 100%; padding: 2.4cqw; border-radius: 17cqw; }
.device--phone .device__screen { height: 100%; border-radius: 14.6cqw; aspect-ratio: 1206 / 2622; }
.device--pad { width: 100%; aspect-ratio: 1 / 1.316; }
.device--pad .device__bezel { height: 100%; padding: 2.6cqw; border-radius: 5.5cqw; }
.device--pad .device__screen { height: 100%; border-radius: 3.2cqw; }
.device--watch { width: 100%; aspect-ratio: 1 / 1.169; }
.device--watch .device__bezel { height: 100%; padding: 6cqw; border-radius: 22cqw; background: linear-gradient(145deg, #3a3d46, #0a0c10 60%, #24262d); }
.device--watch .device__screen { height: 100%; border-radius: 16.5cqw; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 24px) 0 clamp(56px, 9vw, 96px); overflow: hidden; isolation: isolate; }
.hero__backdrop { position: absolute; inset: -6% 0 0; z-index: -2; background: url("img/hero-backdrop.webp") center 20% / cover no-repeat; opacity: .55; transform: translate3d(0, calc(var(--py, 0) * 1px), 0); will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 72% 45%, rgba(201, 169, 110, .16), transparent 70%), linear-gradient(180deg, rgba(10, 13, 20, .55), var(--ink) 96%); }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero__copy .display { max-width: 11em; }
.hero__cta { margin-top: 2.2rem; }
.hero__device { justify-self: center; width: min(100%, 300px); transform: translate3d(0, calc(var(--py, 0) * 1px), 0); will-change: transform; }
.device--hero { width: 100%; filter: drop-shadow(0 0 60px rgba(201, 169, 110, .18)); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__device { width: min(100%, 360px); justify-self: end; margin-right: 4vw; }
}
.cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 32px; height: 48px; display: grid; place-items: center; }
.cue__line { width: 1px; height: 36px; background: linear-gradient(var(--gold-bright), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 899px) { .cue { display: none; } }
.hero__in { opacity: 0; transform: translate3d(0, 22px, 0); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.no-js .hero__in, html:not(.js) .hero__in { opacity: 1; transform: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- manifeste (éclairage mot à mot au défilement) ---------- */
.manifesto { padding-block: clamp(80px, 16vw, 200px); }
.manifesto__text { font: 400 clamp(1.9rem, 4.6vw, 3.6rem)/1.22 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.js .manifesto .w { color: rgba(243, 236, 221, .34); transition: color .5s var(--ease); }
.js .manifesto .w.lit { color: var(--on-night); }
.js .manifesto .w--em { font-style: italic; }
.js .manifesto .w--em.lit { color: var(--gold-bright); }
html:not(.js) .manifesto .w--em, .manifesto .w--em { font-style: italic; color: var(--gold-bright); }

/* ---------- récit : écran collant + étapes ---------- */
.story { padding-block: 0 clamp(60px, 9vw, 120px); }
.story__grid { display: block; }
.story__stage { display: none; }
.step { padding-block: clamp(48px, 8vw, 90px); display: grid; gap: 40px; justify-items: center; text-align: left; }
.step__text { width: 100%; }
.step__inline { width: min(100%, 300px); }
.step__note { display: none; }
.step + .step { border-top: 1px solid rgba(243, 236, 221, .08); }
@media (min-width: 900px) {
  .story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: clamp(40px, 8vw, 140px); }
  .story__steps { order: 1; }
  .story__stage { display: block; order: 2; }
  .step { min-height: 100vh; min-height: 100svh; align-content: center; justify-items: start; padding-block: 0; border-top: 0 !important; }
  .step__inline { display: none; }
  .step__text { max-width: 30em; }
  .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; }
  .device--stage { width: auto; height: min(78svh, 760px); }
  .story__stack { position: absolute; inset: 0; }
  .story__shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
  .story__shot.is-active { opacity: 1; transform: none; }
  .story__count { font: 400 .9rem var(--serif); letter-spacing: .18em; color: var(--on-night-2); }
  .story__count span { color: var(--gold-bright); }
}
html:not(.js) .step__inline { display: block !important; }
html:not(.js) .story__stage { display: none !important; }

/* ---------- trois modes ---------- */
.modes .head { max-width: 22em; }
.modes__list { display: grid; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(28, 26, 22, .16); }
.modes__list li { padding: 34px 0; border-bottom: 1px solid rgba(28, 26, 22, .16); display: grid; gap: 10px; }
.mode__n { font: 400 1rem var(--serif); color: var(--gold-deep); letter-spacing: .1em; }
.mode__t { font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1.1 var(--serif); }
.modes__list p { color: var(--on-cream-2); max-width: 26em; }
@media (min-width: 900px) {
  .modes__list { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .modes__list li { border-bottom: 0; border-top: 1px solid rgba(28, 26, 22, .16); padding: 34px 32px 6px 0; }
  .modes__list li + li { padding-left: 32px; border-left: 1px solid rgba(28, 26, 22, .16); }
  .modes__list li:first-child { border-left: 0; }
}

/* ---------- ambiances ---------- */
.sounds__grid, .daynight__grid, .watch__grid, .principles__grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.sounds__device { width: min(100%, 560px); justify-self: center; }
.sounds__device .device__bezel { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(70, 50, 15, .45), 0 0 0 1px rgba(0, 0, 0, .6); }
.facts { display: flex; gap: clamp(28px, 5vw, 56px); margin-top: 2.2rem; }
.facts dt { font: 400 clamp(3rem, 6vw, 4.6rem)/1 var(--serif); color: var(--gold-deep); }
.facts dd { color: var(--on-cream-2); font-size: .95rem; margin-top: .4rem; }
.ticks { margin-top: 1.8rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: .9em; height: 1px; background: var(--gold-deep); }
.sec--night .ticks li::before { background: var(--gold-bright); }
.sec--cream .ticks li { color: var(--on-cream); }
@media (min-width: 900px) { .sounds__grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------- jour / nuit ---------- */
.daynight__device { justify-self: center; width: min(100%, 320px); }
.compare { position: relative; }
.device--compare { width: 100%; }
.device--compare .device__screen { touch-action: pan-y; }
.compare__layer { position: absolute; inset: 0; }
.compare__layer--dark { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold-bright); box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.compare__handle span { position: absolute; top: 84%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 6px 22px rgba(0, 0, 0, .4); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 2px 2px 0 0; margin-top: -3.5px; }
.compare__handle span::before { left: 11px; transform: rotate(-135deg); }
.compare__handle span::after { right: 11px; transform: rotate(45deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare:focus-within .compare__handle span { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold-bright); }
.compare__labels { display: flex; justify-content: space-between; margin-top: 18px; font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-cream-2); padding-inline: 4px; }
@media (min-width: 900px) { .daynight__grid { grid-template-columns: 1.1fr .9fr; } .daynight__copy { order: 1; } .daynight__device { order: 2; } }

/* ---------- Watch ---------- */
.watch { padding-block: clamp(80px, 12vw, 170px); border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; margin-top: calc(-1 * clamp(24px, 4vw, 48px)); z-index: 2; background: radial-gradient(70% 60% at 30% 40%, rgba(201, 169, 110, .12), transparent 70%), var(--ink); }
.principles + .watch { margin-top: 0; }
.watch__devices { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 32px); }
.device--watch { width: min(44%, 230px); }
.device--watch-b { margin-top: 12%; }
.watch__copy .lead { color: var(--on-night-2); }
@media (min-width: 900px) { .watch__grid { grid-template-columns: 1fr 1fr; } .watch__copy { padding-left: 2vw; } }

/* ---------- principes ---------- */
.principles { padding-top: clamp(56px, 8vw, 110px); }
.card { background: rgba(255, 255, 255, .55); border: 1px solid rgba(28, 26, 22, .1); border-radius: 28px; padding: clamp(28px, 4vw, 52px); align-self: stretch; }
.principles__grid { align-items: stretch; }
@media (min-width: 900px) { .principles__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- lancement ---------- */
.launch { text-align: center; padding-block: clamp(90px, 14vw, 190px); overflow: hidden; }
.launch__glow { position: absolute; inset: 0; background: radial-gradient(50% 55% at 50% 45%, rgba(201, 169, 110, .18), transparent 70%); pointer-events: none; }
.launch__inner { position: relative; display: grid; justify-items: center; }
.launch__inner .eyebrow { justify-content: center; }
.launch__icon { border-radius: 20px; margin-bottom: 26px; box-shadow: 0 24px 60px -12px rgba(201, 169, 110, .35); }
.launch__inner .lead { margin-inline: auto; }
.launch__cta { margin-top: 2.4rem; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(243, 236, 221, .1); padding-block: 46px 60px; font-size: .92rem; }
.footer-grid { display: grid; gap: 18px 40px; }
.footer-brand .wordmark { font: 400 1.5rem var(--serif); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--on-night); text-underline-offset: .3em; }
.footer-plat { color: var(--on-night-2); }
.footer-fine { color: var(--on-night-2); font-size: .82rem; line-height: 1.5; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto auto; align-items: center; } .footer-fine { grid-column: 1 / -1; } }

/* ---------- page confidentialité ---------- */
.doc { padding: calc(var(--header-h) + 64px) 0 100px; min-height: 80svh; }
.prose { margin-top: 2.4rem; color: var(--on-night); }
.prose h2 { font: 400 1.6rem/1.2 var(--serif); margin: 2.6rem 0 .8rem; color: var(--gold-bright); }
.prose p, .prose li { color: #d9d3c6; margin-top: .8rem; }
.prose ul { margin-top: .6rem; padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--gold-bright); text-underline-offset: .25em; }
.prose em { color: var(--on-night-2); }
.doc__back { margin-top: 3rem; }

/* ---------- révélations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- mouvements réduits : tout est visible et statique ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .hero__in { opacity: 1 !important; transform: none !important; }
  .hero__backdrop, .hero__device { transform: none !important; }
  .js .manifesto .w { color: var(--on-night); }
  .js .manifesto .w--em { color: var(--gold-bright); }
  .badge-soon__dot { box-shadow: none; }
  .cue { display: none; }
}

.tiers { display: grid; gap: 28px 32px; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(28, 26, 22, .14); }
.tiers h3 { font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.tiers .ticks { margin-top: .9rem; font-size: .97rem; gap: .5rem; }
@media (min-width: 560px) { .tiers { grid-template-columns: 1fr 1fr; } }
