/* ECHO — instrument causal. Composition mobile v17 · App Store launch. */
:root {
  --bg: #08080a;
  --gold: #e8d6aa;
  --gold-soft: #ebbf7d;
  --gold-dim: rgba(235, 191, 125, 0.55);
  --gold-ghost: rgba(235, 191, 125, 0.16);
  --cream: #f1e8d7;
  --blue: #7fb7d6;
  --text: #cfc9d6;
  --muted: #8b8794;
  --line: rgba(235, 191, 125, 0.14);
  --display: 'Geologica', -apple-system, BlinkMacSystemFont, sans-serif;
  --signal: 'IBM Plex Mono', ui-monospace, monospace;
  --mono: var(--signal);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--display);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
#cosmos { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; }
main, .site-footer, .hud { position: relative; z-index: 2; }
.kicker { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-soft); }
.soft { color: var(--gold-soft); }
h2 { font-family: var(--display); font-weight: 300; font-size: clamp(31px, 5.5vw, 58px); line-height: 1.08; color: var(--cream); letter-spacing: -0.035em; }

/* ── HERO ── */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 24px clamp(38px, 6vh, 72px); position: relative; }
.transmission { text-align: center; max-width: 760px; }
.tx-label { font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--gold-soft); opacity: 0; animation: trackIn 1.6s cubic-bezier(0.16,1,0.3,1) 0.4s forwards; }
@keyframes trackIn { from { opacity: 0; letter-spacing: 0.62em; } to { opacity: 1; letter-spacing: 0.4em; } }
.tx-rule { display: flex; align-items: center; gap: 16px; width: min(230px, 58vw); margin: 24px auto 26px; color: var(--gold-dim); opacity: 0; animation: fu 1.2s ease-out 0.85s forwards; }
.tx-rule::before, .tx-rule::after { content: ''; flex: 1; height: 1px; }
.tx-rule::before { background: linear-gradient(90deg, transparent, var(--gold-dim)); }
.tx-rule::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.tx-star { display: block; filter: drop-shadow(0 0 6px rgba(235,191,125,0.6)); animation: breath 5s ease-in-out infinite; }
@keyframes breath { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.25); opacity: 1; } }
.hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(35px, 6.7vw, 72px); line-height: 1.11; letter-spacing: -0.042em; color: var(--cream); text-wrap: balance; opacity: 0; filter: blur(15px); transform: translateY(10px); animation: apparition 1.9s cubic-bezier(0.16,1,0.3,1) 0.6s forwards; }
@keyframes apparition { to { opacity: 1; filter: blur(0); transform: none; } }
.tx-sign { font-family: var(--display); font-weight: 300; font-size: clamp(12px, 1.7vw, 14px); letter-spacing: 0.015em; color: var(--gold-dim); margin-top: 22px; opacity: 0; animation: fu 1.4s cubic-bezier(0.16,1,0.3,1) 1.9s forwards; }
.hero-store-cta { margin-top: 30px; opacity: 0; animation: fu 1.4s cubic-bezier(0.16,1,0.3,1) 2.15s forwards; }
.scrollcue { position: absolute; bottom: 22px; left: 50%; width: 1px; height: 34px; background: linear-gradient(var(--gold-dim), transparent); opacity: 0; animation: fu 1.2s ease-out 2.6s forwards, bob 2.6s ease-in-out 3s infinite; transform-origin: top; }
@keyframes fu { to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.5); } }
@media (max-height: 640px) { .scrollcue { display: none; } }

/* ── CONCEPT ── */
.pitch { min-height: 82svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.pitch p { font-family: var(--display); font-weight: 300; font-size: clamp(31px, 5.6vw, 58px); line-height: 1.12; letter-spacing: -0.035em; color: var(--cream); }

/* ── TRAJECTOIRE ── */
.traj { position: relative; padding: 14vh 24px 8vh; --p: 0; }
.traj-head { text-align: center; margin-bottom: 12vh; }
.traj-head h2 { margin-top: 12px; }
.traj-stage { position: relative; width: min(300px, 78vw); height: 92vh; margin: 0 auto; }
/* le fil derrière, les présences en screen (le fond noir des PNG disparaît → plus de carré) */
.thread-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
#thread { filter: drop-shadow(0 0 10px rgba(235,191,125,0.45)); }
.pres { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; width: 220px; z-index: 2; }
.pres img { width: 168px; height: auto; display: block; margin: 0 auto; mix-blend-mode: screen; }
.pres figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.p-em { top: -20px; }
.p-pr { bottom: -20px; }
.p-pr img { opacity: calc(0.5 + var(--p) * 0.5); transition: opacity .2s linear; }
.p-pr figcaption { color: color-mix(in srgb, var(--gold-soft) calc(var(--p) * 100%), var(--muted)); }

/* ── ÉTAPES ── */
.steps { padding: 12vh 24px; max-width: 620px; margin: 0 auto; }
.steps ol { list-style: none; display: grid; gap: 8vh; }
.steps li { position: relative; padding-left: 66px; }
.steps .n { position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--gold-soft); border: 1px solid var(--gold-ghost); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 4vw, 35px); letter-spacing: -0.028em; color: var(--cream); line-height: 1.12; }
.steps p { color: var(--muted); font-weight: 300; font-size: 15.5px; margin-top: 6px; }

/* ── TROPHÉE ── */
.trophy { --trophy-w: min(310px,78vw); min-height: 100svh; padding: 14vh 0 12vh; overflow: hidden; scroll-margin-top: 72px; text-align: center; }
.trophy-copy { position: relative; z-index: 3; padding: 0 24px; margin-bottom: 36px; }
.trophy-copy h2 { margin-top: 12px; }
.trophy-carousel-shell { position: relative; isolation: isolate; }
.trophy-carousel-shell::before { content: ''; position: absolute; z-index: -1; top: 46%; left: 50%; width: min(560px,112vw); height: 60%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(235,191,125,.3) 0%, rgba(190,127,55,.12) 31%, rgba(235,191,125,.035) 52%, transparent 72%); filter: blur(42px); opacity: .8; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse,#000 0 48%,rgba(0,0,0,.72) 64%,transparent 88%); mask-image: radial-gradient(ellipse,#000 0 48%,rgba(0,0,0,.72) 64%,transparent 88%); animation: trophyAura 6s ease-in-out infinite; }
@keyframes trophyAura { 0%,100% { opacity: .5; transform: translate(-50%,-50%) scale(.97); } 50% { opacity: .82; transform: translate(-50%,-50%) scale(1.025); } }
.trophy-track { position: relative; z-index: 1; display: flex; gap: clamp(16px,3vw,28px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px,calc(50vw - var(--trophy-w)/2)); scrollbar-width: none; padding: 28px max(24px,calc(50vw - var(--trophy-w)/2)) 40px; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%); mask-image: linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%); }
.trophy-track::-webkit-scrollbar { display: none; }
.trophy-slide { flex: 0 0 var(--trophy-w); scroll-snap-align: center; opacity: .34; transform: scale(.92); transition: opacity .3s ease, transform .36s cubic-bezier(.16,1,.3,1); }
.trophy-slide.is-active { opacity: 1; transform: scale(1); }
.trophy-slide.is-active .trophy-achievement { box-shadow: 0 34px 100px rgba(0,0,0,.84),0 0 82px rgba(235,191,125,.16),0 0 28px rgba(235,191,125,.1); }
.trophy-achievement { position: relative; width: 100%; aspect-ratio: 1179/1836; overflow: hidden; border-radius: 24px; border: 1px solid rgba(200,155,96,.32); background: radial-gradient(circle at 50% 35%,rgba(217,177,116,.08),transparent 24%),#000; box-shadow: 0 30px 90px rgba(0,0,0,.82),0 0 76px rgba(235,191,125,.1); color: #d0a977; }
.trophy-achievement::before { content: ''; position: absolute; inset: 2.35% 5%; border: 1px solid rgba(200,155,96,.3); border-radius: 7%/4.5%; pointer-events: none; }
.trophy-achievement::after { content: ''; position: absolute; inset: 0; opacity: .48; pointer-events: none; background-image: radial-gradient(circle at 10% 14%,#eee6d7 0 1px,transparent 1.5px),radial-gradient(circle at 84% 9%,#eee6d7 0 1px,transparent 1.5px),radial-gradient(circle at 25% 46%,#eee6d7 0 1px,transparent 1.6px),radial-gradient(circle at 89% 50%,#eee6d7 0 1px,transparent 1.6px),radial-gradient(circle at 18% 72%,#eee6d7 0 1px,transparent 1.6px),radial-gradient(circle at 82% 78%,#eee6d7 0 1px,transparent 1.6px),radial-gradient(circle at 31% 91%,#eee6d7 0 1px,transparent 1.5px); }
.achievement-wordmark { position: absolute; z-index: 2; top: 6.2%; left: 50%; width: 27%; transform: translateX(-50%); display: flex; justify-content: space-between; color: #c99b6f; font: 400 10px/1 var(--signal); }
.achievement-kicker { position: absolute; z-index: 2; top: 11.05%; left: 9.5%; right: 9.5%; display: flex; align-items: center; gap: 4%; color: #bb8e68; font: 400 7px/1.4 var(--signal); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
.achievement-kicker::before,.achievement-kicker::after { content: ''; height: 1px; flex: 1; background: rgba(200,155,96,.34); }
.achievement-kicker span { flex: none; }
.achievement-compass { position: absolute; z-index: 1; top: 19.1%; left: 50%; width: 50%; aspect-ratio: 1; transform: translateX(-50%); overflow: hidden; border-radius: 50%; }
.achievement-compass img { position: absolute; top: -64.4%; left: -56.1%; width: 212%; max-width: none; height: auto; display: block; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle,#000 0 82%,transparent 100%); mask-image: radial-gradient(circle,#000 0 82%,transparent 100%); }
.achievement-days { position: absolute; z-index: 2; top: 51.8%; left: 50%; transform: translateX(-50%); color: #f0d69c; font: 300 92px/.82 var(--display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.trophy-achievement.days-long .achievement-days { font-size: 78px; }
.achievement-days-label { position: absolute; z-index: 2; top: 68.1%; left: 0; right: 0; color: #bb8e68; font: 500 7px/1.4 var(--signal); letter-spacing: .31em; text-transform: uppercase; }
.achievement-promise { position: absolute; z-index: 2; top: 76%; left: 7%; right: 7%; color: #f0e7d8; font: 500 italic 25px/1 'Cormorant Garamond',Georgia,serif; }
.achievement-objective { position: absolute; z-index: 2; top: 84.5%; left: 9%; right: 9%; color: rgba(240,231,216,.7); font: 400 italic 16px/1.08 'Cormorant Garamond',Georgia,serif; text-wrap: balance; }
.achievement-date { position: absolute; z-index: 2; top: 93%; left: 7%; right: 7%; color: rgba(169,165,166,.48); font: 400 6px/1.35 var(--signal); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.trophy-controls { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 2px; }
.trophy-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold-dim); border-radius: 50%; background: rgba(8,8,10,.72); color: var(--gold-soft); cursor: pointer; transition: background .2s ease,opacity .2s ease,border-color .2s ease; touch-action: manipulation; }
.trophy-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trophy-arrow:hover { background: rgba(235,191,125,.08); border-color: var(--gold-soft); }
.trophy-arrow:disabled { opacity: .25; cursor: default; }
.trophy-position { min-width: 86px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font: 500 9px/1 var(--signal); letter-spacing: .14em; }
.trophy-position [data-trophy-current] { color: var(--gold-soft); }
.trophy-position i { width: 22px; height: 1px; background: var(--gold-dim); }
.trophy-swipe-cue { margin-top: 14px; color: var(--muted); font: 400 8px/1.4 var(--signal); letter-spacing: .25em; text-transform: uppercase; }

/* ── CTA ── */
.cta { min-height: 92svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12vh 24px; gap: 30px; }
.cta-seal { width: 84px; height: 84px; filter: drop-shadow(0 0 30px rgba(235,191,125,0.4)); animation: breath 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(38px, 8vw, 76px); }
.app-store-cta {
  position: relative; isolation: isolate; min-height: 58px; padding: 8px 18px 8px 12px;
  display: inline-flex; align-items: center; gap: 12px; overflow: hidden;
  color: var(--cream); text-align: left; text-decoration: none;
  border: 1px solid rgba(235,191,125,.48); border-radius: 999px;
  background: linear-gradient(135deg,rgba(235,191,125,.11),rgba(8,8,10,.88) 56%,rgba(127,183,214,.06));
  box-shadow: 0 14px 46px rgba(0,0,0,.4),0 0 26px rgba(235,191,125,.08);
  transition: border-color .24s ease, background .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.16,1,.3,1);
  touch-action: manipulation;
}
.app-store-cta::before { content: ''; position: absolute; z-index: -1; inset: -1px; opacity: 0; background: radial-gradient(circle at 20% 50%,rgba(235,191,125,.2),transparent 38%); transition: opacity .24s ease; }
.app-store-cta:hover { transform: translateY(-2px); border-color: rgba(235,191,125,.82); box-shadow: 0 18px 52px rgba(0,0,0,.48),0 0 34px rgba(235,191,125,.14); }
.app-store-cta:hover::before { opacity: 1; }
.app-store-cta:active { transform: translateY(0); }
.app-store-cta-mark { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid var(--gold-ghost); border-radius: 50%; color: var(--gold-soft); background: rgba(235,191,125,.045); box-shadow: inset 0 0 18px rgba(235,191,125,.06); }
.app-store-cta-mark svg { width: 18px; height: 18px; filter: drop-shadow(0 0 7px rgba(235,191,125,.5)); }
.app-store-cta-copy { display: flex; flex-direction: column; gap: 2px; }
.app-store-cta-copy small { color: var(--gold-dim); font: 500 8px/1 var(--signal); letter-spacing: .2em; text-transform: uppercase; }
.app-store-cta-copy strong { color: var(--cream); font: 400 15px/1.15 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.app-store-cta-arrow { width: 18px; height: 18px; margin-left: 5px; color: var(--gold-soft); transition: transform .22s ease; }
.app-store-cta:hover .app-store-cta-arrow { transform: translate(2px,-2px); }

/* ── Reveals ── */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── Pied ── */
.site-footer { border-top: 1px solid var(--line); padding: 40px clamp(24px,6vw,90px) 60px; color: var(--muted); font-size: 12px; font-family: var(--mono); letter-spacing: 0.05em; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--gold-dim); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .spacer { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .tx-label, .tx-rule, .tx-sign, .hero-store-cta, .scrollcue { opacity: 1; animation: none; letter-spacing: 0.4em; }
  .tx-rule, .tx-sign { letter-spacing: normal; }
  .hero h1 { opacity: 1; filter: none; transform: none; animation: none; }
  .tx-star, .cta-seal, .trophy-carousel-shell::before { animation: none; }
}

/* ═══════════ Pages légales ═══════════ */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 26px; }
.masthead { text-align: center; padding: 80px 0 26px; }
.seal { width: 72px; height: 72px; margin: 0 auto; display: block; opacity: 0.95; }
.legal { padding: 8px 0 40px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.legal h1 { font-family: var(--display); font-weight: 300; letter-spacing: -0.035em; font-size: clamp(30px,6vw,42px); color: var(--cream); margin-bottom: 6px; }
.legal h2 { font-family: var(--signal); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin: 42px 0 14px; }
.legal p { margin: 0 0 14px; font-size: 15.5px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; } .legal li { margin: 0 0 8px; font-size: 15.5px; }
.legal strong { color: var(--cream); font-weight: 500; }
.legal a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }
.legal .lead { font-family: var(--display); font-weight: 300; font-size: 18px; line-height: 1.75; color: var(--gold-dim); margin-bottom: 30px; }
.legal-footer { max-width: 760px; margin: 0 auto; padding: 12px 26px 56px; color: var(--muted); font-family: var(--signal); font-size: 11px; letter-spacing: 0.04em; }
.legal-footer a { color: var(--gold-dim); text-decoration: none; }
.legal-footer a:hover { color: var(--gold-soft); }
.legal-footer .sep { margin: 0 9px; color: var(--line); }

/* ═══════════ Écosystème ECHO ═══════════ */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-140%); background: var(--cream); color: var(--bg); padding: 10px 14px; border-radius: 6px; font: 500 12px/1 var(--signal); text-decoration: none; }
.skip-link:focus { transform: none; }
.page-progress { position: fixed; inset: 0 0 auto; height: 1px; z-index: 40; background: rgba(235,191,125,0.06); pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--gold-soft)); box-shadow: 0 0 12px rgba(235,191,125,.55); }
.mobile-nav-scrim { display: none; }
.site-nav { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px clamp(20px,4vw,58px); background: linear-gradient(180deg, rgba(8,8,10,.94), rgba(8,8,10,.58) 68%, transparent); }
.home-nav { animation: navIn 1.2s ease-out .8s both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
.nav-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 500 11px/1 var(--signal); letter-spacing: .32em; }
.nav-brand img { width: 30px; height: 30px; opacity: .82; filter: drop-shadow(0 0 12px rgba(235,191,125,.18)); }
.nav-links { display: flex; align-items: center; gap: clamp(18px,2.6vw,38px); }
.nav-links a, .nav-menu summary { color: var(--muted); text-decoration: none; font: 400 10px/1 var(--signal); letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-menu summary:hover { color: var(--gold-soft); }
.nav-links a[aria-current="page"] { color: var(--gold-soft); }
.nav-links .nav-store-link { min-height: 38px; padding: 0 16px; color: var(--gold-soft); border: 1px solid rgba(235,191,125,.32); border-radius: 999px; background: rgba(235,191,125,.045); }
.nav-links .nav-store-link:hover,.nav-links .nav-store-link:focus-visible { color: var(--cream); border-color: rgba(235,191,125,.7); background: rgba(235,191,125,.09); }
.nav-menu { display: none; position: relative; }
.nav-menu summary { min-width: 88px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-popover { position: absolute; top: 48px; right: 0; min-width: 210px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,8,10,.96); box-shadow: 0 24px 70px rgba(0,0,0,.58); }
.nav-popover a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; color: var(--text); text-decoration: none; font: 400 12px/1 var(--signal); border-bottom: 1px solid rgba(235,191,125,.07); }
.nav-popover a:last-child { border: 0; }
.nav-popover .nav-store-link { margin-top: 7px; color: var(--gold-soft); border: 1px solid rgba(235,191,125,.3); border-radius: 9px; justify-content: center; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }

.page-main { position: relative; z-index: 2; }
.page-hero { min-height: 92svh; padding: 132px 24px 80px; display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.page-hero-inner { width: min(880px,100%); }
.page-eyebrow { color: var(--gold-soft); font: 500 10px/1.4 var(--signal); letter-spacing: .34em; text-transform: uppercase; }
.page-title { margin-top: 24px; color: var(--cream); font: 300 clamp(42px,8vw,92px)/.98 var(--display); letter-spacing: -.052em; text-wrap: balance; }
.page-intro { max-width: 650px; margin: 28px auto 0; color: var(--text); font-size: clamp(17px,2vw,21px); font-weight: 300; line-height: 1.62; text-wrap: balance; }
.page-hero .tx-rule { opacity: 1; animation: none; }
.section-shell { width: min(1100px,100%); margin: 0 auto; padding-inline: 24px; }
.section-head { max-width: 720px; margin-bottom: clamp(48px,8vh,92px); }
.section-head h2 { margin-top: 16px; }
.section-lead { margin-top: 18px; max-width: 620px; color: var(--text); font-size: 17px; font-weight: 300; line-height: 1.7; }
.signal-link, .quiet-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-soft); font: 500 10px/1.4 var(--signal); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.signal-link span, .quiet-link span { margin-left: 10px; transition: transform .22s ease; }
.signal-link:hover span, .quiet-link:hover span { transform: translateX(4px); }
.quiet-link { margin-top: 22px; color: var(--gold-dim); }

/* Porte ajoutée à la home */
.portal { min-height: 86svh; padding: 12vh 24px; scroll-margin-top: 72px; display: grid; place-items: center; text-align: center; }
.portal-link { width: min(760px,100%); color: inherit; text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.portal-orbit { position: relative; width: 190px; height: 190px; display: grid; place-items: center; margin-bottom: 38px; }
.portal-orbit::before, .portal-ring { content: ''; position: absolute; border: 1px solid var(--gold-ghost); border-radius: 50%; }
.portal-orbit::before { inset: 0; }
.portal-ring-outer { inset: 22px; border-style: dashed; animation: orbit 26s linear infinite; }
.portal-ring-inner { inset: 45px; border-color: rgba(127,183,214,.18); animation: orbit 18s linear reverse infinite; }
.portal-compass { position: relative; width: 102px; height: 102px; overflow: hidden; border-radius: 50%; filter: drop-shadow(0 0 28px rgba(235,191,125,.25)); }
.portal-compass img { position: absolute; top: -64.4%; left: -56.1%; width: 212%; max-width: none; height: auto; display: block; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle,#000 0 82%,transparent 100%); mask-image: radial-gradient(circle,#000 0 82%,transparent 100%); }
@keyframes orbit { to { transform: rotate(360deg); } }
.portal strong { margin: 18px 0 20px; color: var(--cream); font: 300 clamp(31px,5.3vw,56px)/1.08 var(--display); letter-spacing: -.04em; }
.portal-link:hover .portal-orbit::before { border-color: rgba(235,191,125,.36); }

/* Le voyage */
.journey { position: relative; width: min(1120px,100%); margin: 0 auto; padding: 5vh 24px 12vh; }
.journey-spine { position: absolute; top: 3%; bottom: 3%; left: 50%; width: 1px; background: var(--line); }
.journey-spine span { display: block; width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; background: linear-gradient(var(--blue), var(--gold-soft)); box-shadow: 0 0 14px rgba(235,191,125,.42); }
.journey-step { position: relative; min-height: 82svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(56px,9vw,128px); }
.journey-step:nth-of-type(even) .journey-copy { order: 2; }
.journey-index { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 24px; border: 1px solid var(--gold-ghost); border-radius: 50%; color: var(--gold-soft); font: 400 11px/1 var(--signal); }
.journey-copy h2 { font-size: clamp(34px,4.5vw,55px); }
.journey-copy p { margin-top: 18px; max-width: 470px; color: var(--text); font-size: 17px; font-weight: 300; line-height: 1.72; }
.journey-copy .micro { margin-top: 22px; color: var(--muted); font: 400 10px/1.6 var(--signal); letter-spacing: .12em; text-transform: uppercase; }
.instrument { position: relative; min-height: 430px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(235,191,125,.07), transparent 52%), rgba(8,8,10,.58); box-shadow: 0 35px 100px rgba(0,0,0,.45); display: grid; place-items: center; }
.instrument::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(235,191,125,.06); border-radius: 19px; pointer-events: none; }
.question-stack { width: min(330px,80%); }
.question-line { padding: 18px 0; border-bottom: 1px solid var(--line); }
.question-line span { display: block; color: var(--muted); font: 400 9px/1.4 var(--signal); letter-spacing: .18em; text-transform: uppercase; }
.question-line strong { display: block; margin-top: 8px; color: var(--cream); font-size: 16px; font-weight: 300; }
.question-core { width: 9px; height: 9px; margin: 28px auto 0; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 22px rgba(235,191,125,.9); animation: breath 4s ease-in-out infinite; }
.scan-figure { position: relative; width: 240px; height: 350px; display: grid; place-items: center; }
.scan-figure img { position: relative; z-index: 2; width: 180px; mix-blend-mode: screen; }
.scan-ring { position: absolute; width: 210px; height: 58px; border: 1px solid rgba(235,191,125,.32); border-radius: 50%; box-shadow: 0 0 28px rgba(235,191,125,.12); }
.scan-ring.r2 { width: 150px; height: 42px; border-color: rgba(127,183,214,.25); }
.instrument.in .scan-ring { animation: scan 3.4s ease-in-out infinite; }
.instrument.in .scan-ring.r2 { animation-delay: -1.7s; }
@keyframes scan { 0%,100% { transform: translateY(105px) scale(.8); opacity: .15; } 50% { transform: translateY(-90px) scale(1.08); opacity: .9; } }
.echo-demo { width: min(360px,84%); }
.echo-demo-head { color: var(--gold-soft); font: 500 9px/1.4 var(--signal); letter-spacing: .28em; text-align: center; }
.echo-demo-sync { margin: 18px 0 22px; color: var(--cream); font: 300 42px/1 var(--display); text-align: center; }
.echo-demo-sync small { color: var(--muted); font: 400 10px/1 var(--signal); letter-spacing: .12em; }
.echo-card-demo { padding: 24px; border: 1px solid rgba(127,183,214,.25); border-radius: 17px; background: rgba(127,183,214,.035); }
.echo-card-demo .domain { color: var(--blue); font: 500 9px/1.4 var(--signal); letter-spacing: .18em; }
.echo-card-demo strong { display: block; margin-top: 14px; color: var(--cream); font-size: 19px; font-weight: 400; line-height: 1.35; }
.echo-card-demo p { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.absorb-demo { width: min(360px,84%); }
.absorb-echo { position: relative; padding: 20px 70px 20px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--cream); font-size: 15px; }
.absorb-bar { position: absolute; inset: 10px auto 10px 0; width: 2px; background: var(--blue); box-shadow: 0 0 12px rgba(127,183,214,.7); }
.absorb-ring { position: absolute; top: 50%; right: 22px; width: 28px; height: 28px; border: 1px dashed var(--blue); border-radius: 50%; transform: translateY(-50%); }
.instrument.in .absorb-ring { animation: absorb 2.8s ease-in-out infinite; }
@keyframes absorb { 0%,55%,100% { box-shadow: 0 0 0 0 rgba(127,183,214,0); } 72% { box-shadow: 0 0 0 12px rgba(127,183,214,.08), 0 0 24px rgba(127,183,214,.45); background: rgba(127,183,214,.2); } }
.absorb-hint { margin-top: 20px; color: var(--muted); font: 400 9px/1.5 var(--signal); letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.mini-trajectory { position: relative; width: 240px; height: 370px; }
.mini-trajectory::before { content: ''; position: absolute; top: 80px; bottom: 80px; left: 50%; width: 1px; background: linear-gradient(var(--blue), var(--gold-soft)); box-shadow: 0 0 10px rgba(235,191,125,.3); }
.mini-trajectory img { position: absolute; left: 50%; width: 112px; transform: translateX(-50%); mix-blend-mode: screen; }
.mini-trajectory .em { top: 0; }
.mini-trajectory .pr { bottom: 0; opacity: .82; }
.mini-trajectory .seal-day { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 60px; height: 60px; }
.imprint-demo { width: min(390px,86%); }
.imprint-demo svg { width: 100%; height: auto; overflow: visible; }
.imprint-axis { stroke: rgba(235,191,125,.12); stroke-width: 1; }
.imprint-path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 500; stroke-dashoffset: 500; filter: drop-shadow(0 0 8px rgba(127,183,214,.5)); }
.instrument.in .imprint-path { animation: drawImprint 2s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes drawImprint { to { stroke-dashoffset: 0; } }
.imprint-prime { fill: var(--gold-soft); filter: drop-shadow(0 0 9px rgba(235,191,125,.8)); }

/* Manifeste */
.manifest { position: relative; width: min(980px,100%); margin: 0 auto; padding: 5vh 24px 16vh; }
.manifest-spine { position: absolute; top: 2%; bottom: 4%; left: 82px; width: 1px; background: var(--line); }
.manifest-spine span { display: block; width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; background: linear-gradient(var(--blue), var(--gold-soft)); }
.thesis { position: relative; display: grid; grid-template-columns: 116px 1fr; min-height: 72svh; align-content: center; border-top: 1px solid rgba(235,191,125,.08); }
.thesis-num { color: var(--gold-soft); font: 400 11px/1 var(--signal); }
.thesis-body { max-width: 700px; }
.thesis h2 { font-size: clamp(38px,6vw,70px); }
.thesis p { margin-top: 22px; max-width: 640px; color: var(--text); font-size: clamp(17px,2vw,20px); font-weight: 300; line-height: 1.75; }
.thesis em { color: var(--gold-soft); font-style: normal; }

/* Transmissions */
.transmission-index { width: min(920px,100%); margin: 0 auto; padding: 2vh 24px 14vh; }
.transmission-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; min-height: 112px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.transmission-row:last-child { border-bottom: 1px solid var(--line); }
.transmission-row .code { color: var(--gold-soft); font: 400 10px/1 var(--signal); }
.transmission-row strong { color: var(--cream); font-size: clamp(22px,3vw,34px); font-weight: 300; letter-spacing: -.025em; }
.transmission-row .arrow { color: var(--gold-dim); transition: transform .22s ease; }
.transmission-row:hover .arrow { transform: translateX(5px); }
.essay { width: min(760px,100%); margin: 0 auto; padding: 16vh 24px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.essay-head { margin-bottom: 52px; }
.essay h2 { margin-top: 16px; font-size: clamp(36px,6vw,64px); }
.essay p { margin-top: 22px; color: var(--text); font-size: clamp(17px,2vw,19px); font-weight: 300; line-height: 1.82; }
.essay .transmitted { margin-top: 42px; color: var(--gold-dim); font: 400 10px/1.7 var(--signal); letter-spacing: .13em; text-transform: uppercase; }

/* Support / FAQ */
.support-actions { width: min(920px,100%); margin: 0 auto; padding: 2vh 24px 12vh; display: grid; grid-template-columns: repeat(3,1fr); }
.support-action { min-height: 180px; padding: 28px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; }
.support-action:last-child { border-right: 0; }
.support-action span { color: var(--gold-soft); font: 400 9px/1.4 var(--signal); letter-spacing: .2em; text-transform: uppercase; }
.support-action strong { color: var(--cream); font-size: 20px; font-weight: 300; line-height: 1.35; }
.support-action:hover { background: rgba(235,191,125,.025); }
.faq-section { padding: 10vh 24px 16vh; }
.faq-list { width: min(860px,100%); margin: 0 auto; }
.faq-list h2 { margin-bottom: 52px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 84px; padding: 26px 52px 26px 0; display: flex; align-items: center; color: var(--cream); cursor: pointer; list-style: none; font-size: 17px; font-weight: 400; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 10px; color: var(--gold-soft); font: 300 24px/1 var(--display); transition: transform .24s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { max-width: 700px; padding: 0 48px 30px 0; color: var(--text); font-size: 15.5px; font-weight: 300; line-height: 1.75; }
.faq-answer a { color: var(--gold-soft); }

/* Victoire */
.victory-stage { min-height: 100svh; padding: 118px 24px 80px; overflow: hidden; display: grid; grid-template-columns: minmax(300px,420px) minmax(300px,520px); justify-content: center; align-items: center; gap: clamp(52px,9vw,130px); }
.victory-card-aura { position: relative; width: min(420px,92vw); justify-self: center; isolation: isolate; }
.victory-card-aura::before { content: ''; position: absolute; z-index: -1; inset: 8% -22%; border-radius: 50%; background: radial-gradient(ellipse, rgba(235,191,125,.3) 0%, rgba(190,127,55,.15) 30%, rgba(235,191,125,.045) 54%, transparent 74%); filter: blur(32px); opacity: .9; animation: certificateGlow 6s ease-in-out infinite; pointer-events: none; }
@keyframes certificateGlow { 0%,100% { opacity: .62; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.035); } }
.victory-certificate { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1181 / 1860; overflow: hidden; border: 0; border-radius: clamp(24px,6.3vw,42px); background: radial-gradient(circle at 50% 34%, rgba(217,177,116,.11), transparent 25%), #030304; box-shadow: 0 44px 140px rgba(0,0,0,.82), 0 0 115px rgba(235,191,125,.2), 0 0 34px rgba(235,191,125,.1); text-align: center; color: #d0a977; }
.victory-certificate::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .5; background-image: radial-gradient(circle at 9% 12%, #eee6d7 0 1px, transparent 1.5px), radial-gradient(circle at 83% 7%, #eee6d7 0 1px, transparent 1.5px), radial-gradient(circle at 30% 20%, #eee6d7 0 1.2px, transparent 1.7px), radial-gradient(circle at 68% 16%, #eee6d7 0 1px, transparent 1.6px), radial-gradient(circle at 92% 38%, #eee6d7 0 1px, transparent 1.7px), radial-gradient(circle at 15% 46%, #eee6d7 0 1px, transparent 1.7px), radial-gradient(circle at 79% 52%, #eee6d7 0 1px, transparent 1.5px), radial-gradient(circle at 24% 73%, #eee6d7 0 1.2px, transparent 1.8px), radial-gradient(circle at 88% 77%, #eee6d7 0 1px, transparent 1.6px), radial-gradient(circle at 17% 88%, #eee6d7 0 1px, transparent 1.6px), radial-gradient(circle at 72% 91%, #eee6d7 0 1px, transparent 1.5px); }
.victory-certificate::after { content: ''; position: absolute; z-index: 5; inset: 2.35% 5%; border: 1px solid rgba(200,155,96,.3); border-radius: 7% / 4.5%; pointer-events: none; }
.certificate-wordmark { position: absolute; top: 6.2%; left: 50%; width: 27%; transform: translateX(-50%); display: flex; justify-content: space-between; color: #c99b6f; font: 400 clamp(10px,2.8vw,15px)/1 var(--signal); }
.certificate-kicker { position: absolute; top: 11.05%; left: 9.5%; right: 9.5%; display: flex; align-items: center; gap: 4%; color: #bb8e68; font: 400 clamp(7px,1.8vw,10px)/1.4 var(--signal); letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.certificate-kicker::before,.certificate-kicker::after { content: ''; height: 1px; flex: 1; background: rgba(200,155,96,.34); }
.certificate-kicker span { flex: none; }
.certificate-compass { position: absolute; top: 19.15%; left: 50%; width: 49%; aspect-ratio: 1; transform: translateX(-50%); overflow: hidden; }
.certificate-compass-source { position: absolute; top: -64.4%; left: -56.1%; width: 212%; max-width: none; height: auto; display: block; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 0 80%, transparent 100%); mask-image: radial-gradient(circle, #000 0 80%, transparent 100%); }
.certificate-days { position: absolute; top: 51.5%; left: 50%; transform: translateX(-50%); color: #f0d69c; font: 300 clamp(82px,24vw,120px)/.82 var(--display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.victory-certificate.days-long .certificate-days { font-size: clamp(62px,18vw,92px); }
.certificate-days-label { position: absolute; top: 68%; left: 50%; transform: translateX(-50%); width: 100%; color: #bb8e68; font: 500 clamp(7px,1.9vw,10px)/1.4 var(--signal); letter-spacing: .34em; text-transform: uppercase; }
.certificate-promise { position: absolute; top: 75.7%; left: 8%; right: 8%; color: #f0e7d8; font: 500 italic clamp(24px,6.6vw,36px)/1 'Cormorant Garamond', Georgia, serif; }
.certificate-objective { position: absolute; top: 84.2%; left: 10%; right: 10%; color: rgba(240,231,216,.69); font: 400 italic clamp(15px,4vw,21px)/1.12 'Cormorant Garamond', Georgia, serif; text-wrap: balance; }
.victory-certificate.objective-long .certificate-objective { top: 82.1%; font-size: clamp(13px,3.6vw,18px); line-height: 1.04; }
.certificate-date { position: absolute; top: 92.7%; left: 8%; right: 8%; color: rgba(169,165,166,.42); font: 400 clamp(6px,1.65vw,9px)/1.35 var(--signal); letter-spacing: .27em; text-transform: uppercase; white-space: nowrap; }
.victory-certificate.date-long .certificate-date { font-size: clamp(5px,1.35vw,7px); letter-spacing: .18em; }
.victory-copy h1 { color: var(--cream); font: 300 clamp(42px,6vw,72px)/1.02 var(--display); letter-spacing: -.05em; }
.victory-copy p { max-width: 500px; margin-top: 24px; color: var(--text); font-size: 18px; font-weight: 300; line-height: 1.7; }
.share-button { min-height: 50px; margin-top: 32px; padding: 0 24px; border: 1px solid var(--gold-dim); border-radius: 999px; background: transparent; color: var(--gold-soft); cursor: pointer; font: 500 10px/1 var(--signal); letter-spacing: .2em; text-transform: uppercase; }
.share-button:hover { background: rgba(235,191,125,.06); }
.share-status { min-height: 22px; margin-top: 12px; color: var(--muted); font: 400 10px/1.5 var(--signal); }

.page-cta { min-height: 72svh; padding: 12vh 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.page-cta img { width: 72px; height: 72px; filter: drop-shadow(0 0 28px rgba(235,191,125,.3)); }
.page-cta h2 { margin-top: 28px; }
.page-cta .signal-link { margin-top: 22px; }
.page-cta .app-store-cta { margin-top: 28px; }

@media (max-width: 760px) {
  .mobile-nav-scrim { display: block; position: fixed; z-index: 20; inset: 0 0 auto; height: calc(100px + env(safe-area-inset-top)); pointer-events: none; background: linear-gradient(180deg,var(--bg) 0%,var(--bg) 58%,rgba(8,8,10,.98) 72%,rgba(8,8,10,.72) 87%,transparent 100%); }
  .site-nav { z-index: 50; isolation: isolate; min-height: calc(76px + env(safe-area-inset-top)); padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 18px; background: none; }
  .home-nav { animation: none; }
  .tx-label { font-size: 9px; animation-name: trackInMobile; }
  .nav-brand, .nav-menu { position: relative; z-index: 1; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .page-hero { min-height: 88svh; padding-top: calc(124px + env(safe-area-inset-top)); padding-bottom: 32px; }
  .portal, .trophy, .essay { scroll-margin-top: calc(92px + env(safe-area-inset-top)); }
  .page-title { font-size: clamp(40px,13vw,58px); }
  .journey { padding-inline: 22px; }
  .journey-spine { left: 43px; }
  .journey-step { min-height: auto; padding: 14vh 0; grid-template-columns: 1fr; gap: 44px; }
  .journey-step:nth-of-type(even) .journey-copy { order: initial; }
  .journey-copy { padding-left: 48px; }
  .journey-copy p { font-size: 16px; }
  .instrument { min-height: 400px; margin-left: 18px; }
  .manifest-spine { left: 43px; }
  .thesis { grid-template-columns: 48px 1fr; min-height: 74svh; }
  .thesis p { font-size: 16px; }
  .transmission-row { grid-template-columns: 54px 1fr 22px; min-height: 104px; }
  .transmission-row strong { font-size: 22px; }
  .support-actions { grid-template-columns: 1fr; }
  .support-action { min-height: 132px; border-right: 0; }
  .support-action:last-child { border-bottom: 1px solid var(--line); }
  .faq-answer { font-size: 16px; }
  .victory-stage { grid-template-columns: 1fr; padding-top: calc(120px + env(safe-area-inset-top)); text-align: center; }
  .victory-card-aura { justify-self: center; }
  .victory-copy p { margin-inline: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer .spacer { display: none; }
}

@keyframes trackInMobile { from { opacity: 0; letter-spacing: .48em; } to { opacity: 1; letter-spacing: .26em; } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .tx-label { animation: none; letter-spacing: .26em; } }

@media (max-width: 390px) {
  .hero { padding-inline: 18px; padding-bottom: 62px; }
  .hero-store-cta { margin-top: 24px; }
  .app-store-cta { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-ring, .question-core, .scan-ring, .absorb-ring, .imprint-path, .victory-card-aura::before { animation: none !important; }
  .imprint-path { stroke-dashoffset: 0; }
}
