/* 1mindset · site vitrine. Mêmes valeurs que l'app (src/theme) : thème « blanc », verre noir, Poppins. */
:root {
  --bg: #ffffff;
  --app-bg: #f7f7f7;
  --surface: #f4f4f5;
  --surface-strong: #eaeaea;
  --text: #000000;
  --text-2: #6b6b6b;
  --text-3: #a3a3a3;
  --hairline: rgba(0, 0, 0, 0.1);
  --ink: linear-gradient(180deg, #3a3a3d 0%, #060607 100%);
  --ink-border: rgba(255, 255, 255, 0.14);
  --r-control: 14px;
  --r-card: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: #000; color: #fff; }

h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.03em; }
.lead { color: var(--text-2); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; max-width: 560px; margin: 22px auto 0; text-wrap: pretty; }

/* ---------- Boutons : carrés arrondis, verre noir ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--r-control);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), opacity 0.2s;
}
.btn-ink {
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-border), 0 8px 20px -10px rgba(0, 0, 0, 0.5);
}
.btn-ink:hover { box-shadow: inset 0 0 0 1px var(--ink-border), 0 14px 28px -12px rgba(0, 0, 0, 0.55); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Ouverture ---------- */
.opening { display: none; }
.js .opening {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
@font-face {
  font-family: 'Montserrat Logo';
  font-weight: 500;
  font-display: block;
  src: url('/vendor/fonts/montserrat-logo-500.woff2') format('woff2');
}
.opening-stage { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 6vh, 48px); color: #000; }
.opening-mark { width: clamp(84px, 26vw, 120px); height: auto; overflow: visible; }
.opening-mark * { transform-box: fill-box; }
.opening-word {
  display: flex;
  gap: 0.62em;
  margin: 0;
  padding-left: 0.62em; /* compense l'espacement pour un centrage optique */
  font-family: 'Montserrat Logo', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 6.4vw, 30px);
  line-height: 1;
}
.opening-word span { display: inline-block; opacity: 0; }
.opening-loader { width: clamp(56px, 16vw, 72px); height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; background: rgba(0, 0, 0, 0.12); }
.opening-loader i { display: block; width: 100%; height: 100%; background: #000; transform: scaleX(0); transform-origin: left; }
.opening .op-stem { animation: op-rise 0.55s cubic-bezier(0.7, 0, 0.2, 1) both; transform-origin: 50% 100%; }
.opening .op-bar { animation: op-extend 0.45s cubic-bezier(0.7, 0, 0.2, 1) 0.42s both; transform-origin: 100% 50%; }
.opening .op-dot { animation: op-drop 0.8s cubic-bezier(0.3, 0, 0.3, 1) 0.78s both; transform-origin: 50% 100%; }
.opening .op-ring { animation: op-ring 0.9s cubic-bezier(0.2, 0.6, 0.3, 1) 1.22s both; transform-origin: 50% 50%; }
.opening .opening-word span { animation: op-letter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(1.35s + var(--i) * 70ms); }
.opening .opening-loader { animation: op-fade 0.3s ease 2.05s both; }
.opening .opening-loader i { animation: op-load 1.1s cubic-bezier(0.6, 0, 0.3, 1) 2.15s both; }
@keyframes op-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes op-extend { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes op-drop {
  0% { transform: translateY(-150px) scale(0.6); opacity: 0; }
  45% { transform: translateY(0) scale(1.18, 0.78); opacity: 1; }
  62% { transform: translateY(-22px) scale(0.94, 1.06); }
  80% { transform: translateY(0) scale(1.06, 0.94); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes op-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes op-letter {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes op-fade { to { opacity: 1; } }
@keyframes op-load { to { transform: scaleX(1); } }
.opening.is-done { opacity: 0; visibility: hidden; }
.opening.is-done .opening-stage { transform: scale(0.94); transition: transform 0.7s var(--ease); }
.is-opening { overflow: hidden; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 20px;
  padding-top: calc(14px + env(safe-area-inset-top));
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-logo { color: var(--text, #000); display: inline-flex; }
.nav-mark { width: 26px; height: auto; display: block; }
.nav .btn { justify-self: end; }

/* ---------- 01. Accroche ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter) 96px;
}
.hero-title { font-size: clamp(34px, 8.4vw, 96px); line-height: 1.02; letter-spacing: -0.045em; max-width: 1100px; }
.hero-title .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.02em 0.1em; margin: -0.12em -0.02em -0.1em; }
.hero-title .wd > span { display: inline-block; }
.js .hero-title .wd > span { transform: translateY(125%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .is-ready .hero-title .wd > span { transform: none; }
.br-wide { display: none; }
.js .hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .is-ready .hero-fade { opacity: 1; transform: none; }
.js .is-ready .lead.hero-fade { transition-delay: 0.25s; }
.js .is-ready .signup.hero-fade { transition-delay: 0.35s; }
.js .is-ready .stores.hero-fade { transition-delay: 0.45s; }
.js .is-ready .scroll-cue.hero-fade { transition-delay: 0.8s; }

.signup { width: 100%; max-width: 460px; margin: 40px auto 0; }
.field {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: var(--app-bg);
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 0.25s, background 0.25s;
}
.field:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--text), 0 12px 32px -18px rgba(0, 0, 0, 0.3); }
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  color: var(--text);
}
.field input::placeholder { color: var(--text-3); }
.field .btn { padding: 0 20px; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--text-2); min-height: 1.6em; }
.form-note.error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--r-control);
  text-decoration: none;
  text-align: left;
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-border);
  transition: transform 0.2s var(--ease);
}
.badge:hover { transform: translateY(-1px); }
.badge svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.badge small { display: block; font-size: 10px; line-height: 1.2; opacity: 0.75; }
.badge span { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.badge.soon { cursor: default; }
.badge.soon:hover { transform: none; }
.badge.soon small { opacity: .6; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 56px; margin-left: -0.5px; overflow: hidden; background: var(--hairline); }
.scroll-cue span { position: absolute; left: 0; width: 1px; height: 40%; background: var(--text); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

/* ---------- 02. Récit au scroll ---------- */
.story { position: relative; height: 660vh; }
.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  padding: 72px var(--gutter) 16px;
  overflow: hidden;
}
.story-steps { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; max-width: 420px; height: 160px; order: 2; }
.step { position: absolute; inset: 0; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step-index { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.step h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.step p { margin: 6px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.no-js .step { position: static; opacity: 1; transform: none; margin-bottom: 24px; }
.no-js .story { height: auto; }
.no-js .story-sticky { position: static; height: auto; }

.device-wrap { order: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.device {
  height: min(calc(100svh - 290px), 640px);
  aspect-ratio: 393 / 852;
  padding: 2.6%;
  border-radius: 13% / 6%;
  background: #0b0b0c;
  box-shadow:
    inset 0 0 0 1.5px #2a2a2d,
    inset 0 0 0 4px #000,
    0 50px 100px -40px rgba(0, 0, 0, 0.45),
    0 30px 60px -30px rgba(0, 0, 0, 0.3);
}
.screen {
  --u: calc(100cqw / 393);
  container-type: inline-size;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11% / 5.2%;
  overflow: hidden;
  background: var(--app-bg);
  color: #000;
  isolation: isolate;
}

.status {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  right: 0;
  height: calc(54 * var(--u));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(6 * var(--u)) calc(34 * var(--u)) 0 calc(42 * var(--u));
  font-weight: 600;
  font-size: calc(16 * var(--u));
  color: var(--status, #000);
  transition: color 0.4s;
}
.status-icons { display: flex; gap: calc(6 * var(--u)); align-items: center; }
.status-icons svg { height: calc(11 * var(--u)); width: auto; fill: currentColor; }
.island { position: absolute; z-index: 7; top: calc(11 * var(--u)); left: 50%; width: calc(124 * var(--u)); height: calc(36 * var(--u)); transform: translateX(-50%); border-radius: 999px; background: #000; }
.home-indicator { position: absolute; z-index: 7; bottom: calc(8 * var(--u)); left: 50%; width: calc(134 * var(--u)); height: calc(5 * var(--u)); transform: translateX(-50%); border-radius: 3px; background: var(--status, #000); opacity: 0.85; transition: background 0.4s; }

.feed { position: absolute; inset: 0; will-change: transform; }
.page { position: absolute; left: 0; right: 0; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.page-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.75) 65%, rgba(0,0,0,.9) 100%); }
.page-veil.soft { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45) 50%, rgba(0,0,0,.6)); }

.page-home { align-items: flex-end; justify-content: flex-start; }
.home-content { position: relative; padding: 0 calc(24 * var(--u)) calc(178 * var(--u)); color: #fff; }
.home-date { margin: 0; font-weight: 600; font-size: calc(15 * var(--u)); letter-spacing: -0.01em; }
.home-hello { margin: calc(24 * var(--u)) 0 0; font-weight: 600; font-size: calc(38 * var(--u)); line-height: 1.2; letter-spacing: -0.03em; }
.swipe-hint { position: absolute; left: 50%; bottom: calc(112 * var(--u)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); color: rgba(255,255,255,.8); font-size: calc(12.5 * var(--u)); animation: hint 2.4s var(--ease-io) infinite; }
.swipe-hint svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes hint { 0%, 100% { transform: translate(-50%, 0); opacity: .8; } 50% { transform: translate(-50%, calc(-6 * var(--u))); opacity: 1; } }

.quote { position: relative; z-index: 1; max-width: 100%; padding: 0 calc(72 * var(--u)); text-align: center; will-change: transform, opacity; }
.quote p { margin: 0; font-weight: 300; font-size: calc(24 * var(--u)); line-height: 1.54; letter-spacing: -0.008em; }
.rule { display: block; width: calc(16 * var(--u)); height: 1.5px; margin: calc(24 * var(--u)) auto calc(12 * var(--u)); background: var(--text-3); opacity: .6; }
.quote cite { display: block; font-style: normal; font-size: calc(12.5 * var(--u)); line-height: 1.45; color: var(--text-2); }
[data-photo] .quote p { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
[data-photo] .quote cite { color: rgba(255,255,255,.75); }
[data-photo] .rule { background: rgba(255,255,255,.75); }

.page-mood { background: #f3f5f7; }
.mood-chip { position: absolute; top: calc(70 * var(--u)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border-radius: calc(12 * var(--u)); background: #fff; font-size: calc(12 * var(--u)); font-weight: 500; white-space: nowrap; box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(0,0,0,.06); }
.mood-chip i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #f97316; }

.burst { position: absolute; z-index: 2; left: 50%; top: 50%; width: calc(72 * var(--u)); height: calc(72 * var(--u)); margin: calc(-36 * var(--u)) 0 0 calc(-36 * var(--u)); opacity: 0; transform: scale(.7); pointer-events: none; }
.burst svg { width: 100%; height: 100%; fill: #fff; stroke: #fff; stroke-width: 1; }
.burst.is-on { animation: burst 1.2s var(--ease) forwards; }
@keyframes burst { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(1.2); } 45% { transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }

.progress { position: absolute; z-index: 4; left: calc(24 * var(--u)); top: 0; bottom: 0; width: calc(8 * var(--u)); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(6 * var(--u)); opacity: 0; }
.progress i { display: block; width: calc(3 * var(--u)); height: calc(7 * var(--u)); border-radius: 2px; background: var(--status, #000); transition: background .4s; }

.rail { position: absolute; z-index: 4; right: calc(10 * var(--u)); bottom: calc(118 * var(--u)); display: flex; flex-direction: column; gap: calc(14 * var(--u)); opacity: 0; color: var(--status, #000); transition: color .4s; }
.rail-btn { width: calc(44 * var(--u)); height: calc(44 * var(--u)); display: grid; place-items: center; }
.rail-btn svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: fill .25s; }
.rail-btn.is-on svg { fill: currentColor; }
.rail-btn.pop { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 30% { transform: scale(1.28); } 100% { transform: scale(1); } }

.tabbar {
  position: absolute;
  z-index: 5;
  left: calc(22 * var(--u));
  right: calc(22 * var(--u));
  bottom: calc(34 * var(--u));
  height: calc(68 * var(--u));
  padding: calc(8 * var(--u));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(4 * var(--u));
  border-radius: calc(26 * var(--u));
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--tab-border, rgba(0,0,0,.1)), 0 calc(12 * var(--u)) calc(26 * var(--u)) rgba(0,0,0,.12);
  transition: box-shadow .4s;
}
.tab { display: grid; place-items: center; border-radius: calc(18 * var(--u)); color: #000; }
.tab svg { width: calc(23 * var(--u)); height: calc(23 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab.is-on { color: #fff; background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-border); }
.tab.is-on svg { stroke-width: 2.1; }

/* Écran Profil (progression) */
.page-profile { align-items: flex-start; background: var(--app-bg); }
.pf { width: 100%; padding: calc(70 * var(--u)) calc(20 * var(--u)) 0; }
.pf-head { display: flex; align-items: center; justify-content: space-between; }
.pf-name { font-weight: 600; font-size: calc(30 * var(--u)); letter-spacing: -0.03em; }
.pf-gear svg, .pf-stat svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-gear svg { width: calc(21 * var(--u)); height: calc(21 * var(--u)); }
.pf-over { display: block; margin: calc(22 * var(--u)) 0 calc(10 * var(--u)); font-size: calc(11 * var(--u)); font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--u)); }
.pf-stat { display: flex; flex-direction: column; padding: calc(14 * var(--u)); border-radius: calc(22 * var(--u)); background: #fff; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(0,0,0,.05); }
.pf-stat svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); padding: calc(6.5 * var(--u)); border-radius: calc(10 * var(--u)); background: var(--surface); margin-bottom: calc(12 * var(--u)); }
.pf-stat b { font-size: calc(30 * var(--u)); line-height: 1.15; font-weight: 600; letter-spacing: -0.04em; }
.pf-stat small { font-size: calc(12.5 * var(--u)); color: var(--text-2); }
.pf-stat.ink { color: #fff; background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-border); }
.pf-stat.ink svg { background: rgba(255,255,255,.12); }
.pf-stat.ink small { color: rgba(255,255,255,.7); }
.pf-title { margin: calc(24 * var(--u)) 0 calc(10 * var(--u)); font-weight: 600; font-size: calc(20 * var(--u)); letter-spacing: -0.02em; }
.pf-card { padding: calc(16 * var(--u)); border-radius: calc(22 * var(--u)); background: #fff; box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(0,0,0,.05); }
.pf-card-head b { display: block; font-weight: 500; font-size: calc(15 * var(--u)); letter-spacing: -0.01em; }
.pf-card-head small { font-size: calc(12 * var(--u)); color: var(--text-3); }
.pf-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(8 * var(--u)); height: calc(120 * var(--u)); margin-top: calc(12 * var(--u)); }
.pf-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: calc(4 * var(--u)); }
.pf-col em { font-style: normal; font-size: calc(11 * var(--u)); color: var(--text-2); }
.pf-col i { width: 100%; height: calc(var(--h) * .7); border-radius: calc(9 * var(--u)); background: var(--surface-strong); transform-origin: bottom; transition: transform .8s var(--ease); }
.pf-col.today i { background: var(--ink); }
.pf-col b { font-size: calc(11 * var(--u)); font-weight: 500; color: var(--text-3); }
.pf-col.today b { color: #000; }
.page-profile:not(.is-here) .pf-col i { transform: scaleY(.15); }
.pf-foot { margin-top: calc(12 * var(--u)); padding-top: calc(10 * var(--u)); border-top: 1px solid var(--hairline); font-size: calc(12.5 * var(--u)); color: var(--text-2); }

/* ---------- 03. Manifeste ---------- */
.manifesto { min-height: 130vh; display: flex; align-items: center; justify-content: center; padding: 96px var(--gutter); }
.manifesto-text { max-width: 980px; margin: 0; font-size: clamp(28px, 4.6vw, 58px); font-weight: 600; line-height: 1.18; letter-spacing: -0.035em; text-align: center; text-wrap: balance; }
.manifesto-text .w { color: var(--text); opacity: 0.14; transition: opacity 0.35s linear; }
.manifesto-text .w.on { opacity: 1; }

/* ---------- 04. Fonctionnalités ---------- */
.bento {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--app-bg);
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.card h3 { font-size: 22px; letter-spacing: -0.025em; }
.card-text p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; max-width: 34ch; }

.card-ink { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink-border); min-height: 0; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.pillars svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.pillars h3 { font-size: 24px; }
.pillars p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 15px; max-width: 36ch; }

.mood-demo { background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: 0 16px 40px -24px rgba(0,0,0,.25); }
.mood-q { margin: 0 0 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.mood-list { list-style: none; margin: 0; padding: 0; }
.mood-list li { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--text-2); transition: color .35s; }
.mood-list li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform .45s var(--ease); }
.mood-list li.is-on { color: var(--text); font-weight: 500; }
.mood-list li.is-on::after { transform: scale(1); }

.card-dark { color: #fff; background: #000; }
.card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.card-dark:hover .card-photo { transform: scale(1.08); }
.card-dark::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.65)); }
.card-dark > :not(.card-photo) { position: relative; z-index: 2; }
.card-dark .card-text p { color: rgba(255,255,255,.75); }
.widget { align-self: flex-start; width: 170px; aspect-ratio: 1; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; background: rgba(255,255,255,.9); color: #000; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.widget-kicker { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.widget p { margin: auto 0 0; font-weight: 500; font-size: 14px; line-height: 1.35; letter-spacing: -0.01em; }
.widget-ref { margin-top: 6px; font-size: 10.5px; color: var(--text-2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }


.share-demo { display: flex; justify-content: center; padding-top: 4px; }
.share-image { position: relative; width: 196px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 22px; text-align: center; color: #fff; box-shadow: 0 30px 50px -28px rgba(0,0,0,.55); transform: rotate(-4deg); transition: transform .8s var(--ease); }
.card-share:hover .share-image { transform: rotate(0deg) translateY(-4px); }
.share-image > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.share-image::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.share-image p, .share-image span, .share-logo { position: relative; }
.share-image p { margin: 0; font-weight: 300; font-size: 15px; line-height: 1.5; }
.share-image span { margin-top: 12px; font-size: 9.5px; opacity: .8; }
.share-logo { position: absolute !important; bottom: 16px; width: 54px; opacity: .9; }

.langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.langs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--hairline); }

/* ---------- 05. Partout : iPad, Mac, Apple Watch ---------- */
.everywhere { max-width: 1160px; margin: 0 auto; padding: 72px var(--gutter) 40px; text-align: center; }
.everywhere h2 { font-size: clamp(34px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.045em; }
.everywhere-head .lead { max-width: 600px; }
.showcase { display: grid; gap: 14px; margin: 48px auto 0; max-width: 1160px; }
.stage { position: relative; border-radius: 32px; background: #f0f0f2; overflow: hidden; padding: 6% 5% 5%; }
.set { position: relative; aspect-ratio: 1.5; }
.mini { --u: calc(100cqw / 393); container-type: inline-size; position: relative; overflow: hidden; background: var(--app-bg); color: #000; }

/* MacBook Pro (vue de face) */
.mbp { position: absolute; left: 0; top: 0; width: 76%; }
.mbp-lid { position: relative; padding: 1.1% 1.1% 1.6%; border-radius: 2.6% / 4% ; background: #0b0b0c; box-shadow: inset 0 0 0 1px #2c2c2f, 0 0 0 1.2px #8e8e93, 0 0 0 2.2px #d6d6da; }
.mbp-screen { container-type: inline-size; position: relative; aspect-ratio: 16 / 10.35; overflow: hidden; border-radius: .9% / 1.4%; background: #000; }
.mbp-notch { position: absolute; top: 0; left: 50%; width: 10%; height: 3.3cqw; transform: translateX(-50%); border-radius: 0 0 1.2cqw 1.2cqw; background: #0b0b0c; }
.mbp-notch::after { content: ''; position: absolute; left: 50%; top: 35%; width: 1cqw; height: 1cqw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a63, #0b0b0c 70%); }
.mbp-base { position: relative; height: 0; padding-bottom: 2.6%; margin: 0 -6.5%; border-radius: 2px 2px 10px 10px / 2px 2px 7px 7px; background: linear-gradient(180deg, #8f8f94 0%, #e9e9ec 9%, #d4d4d8 45%, #b3b3b8 78%, #8c8c91 100%); box-shadow: 0 22px 30px -16px rgba(0,0,0,.35), 0 3px 6px -2px rgba(0,0,0,.2); }
.mbp-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 13%; height: 38%; transform: translateX(-50%); border-radius: 0 0 9px 9px / 0 0 6px 6px; background: linear-gradient(180deg, #a2a2a7, #c9c9cd); box-shadow: inset 0 -1px 0 rgba(255,255,255,.6); }
.mbp-base::after { content: ''; position: absolute; left: 6.5%; right: 6.5%; top: -1px; height: 3px; background: linear-gradient(180deg, #1a1a1c, #4a4a4e); border-radius: 0 0 2px 2px; }
.mac-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.mac-bar { position: absolute; top: 0; left: 0; right: 0; height: 3.3cqw; display: flex; justify-content: space-between; align-items: center; padding: 0 2cqw; background: rgba(0,0,0,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 1.45cqw; font-weight: 500; }
.mac-widgets { position: absolute; top: 6cqw; right: 2.6cqw; width: 35cqw; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6cqw; text-align: left; }
.mw {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  border-radius: 3.4cqw; padding: 2.2cqw 2.3cqw;
  background: linear-gradient(160deg, rgba(255,255,255,.93), rgba(246,246,248,.86));
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  color: #000;
  box-shadow: inset 0 0 0 .12cqw rgba(255,255,255,.7), 0 .25cqw .6cqw rgba(0,0,0,.18), 0 2.4cqw 5cqw -1.6cqw rgba(0,0,0,.5);
}
.mw-head { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; }
.mw-app { width: 2.3cqw; height: 2.3cqw; border-radius: .6cqw; box-shadow: 0 0 0 .08cqw rgba(0,0,0,.12); }
.mw-kicker { font-size: 1.05cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-quote { grid-column: span 2; aspect-ratio: 2.12 / 1; }
.mw-quote p { margin: auto 0 0; font-size: 2.15cqw; font-weight: 600; line-height: 1.28; letter-spacing: -0.02em; transition: opacity .5s var(--ease); }
.mw-ref { margin-top: .9cqw; font-size: 1.2cqw; font-weight: 500; color: var(--text-2); transition: opacity .5s var(--ease); }
.mw-quote.is-swapping p, .mw-quote.is-swapping .mw-ref { opacity: 0; }
.mw-streak, .mw-mood { aspect-ratio: 1; }
.mw-flame { width: 2.6cqw; height: 2.6cqw; fill: #F97316; stroke: #F97316; stroke-width: 1; filter: drop-shadow(0 .3cqw .5cqw rgba(249,115,22,.45)); }
.mw-big { margin-top: auto; font-size: 3.8cqw; line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.mw-label { margin-top: .3cqw; font-size: 1.15cqw; font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3cqw; margin-top: .9cqw; }
.mw-week span { display: flex; flex-direction: column; align-items: center; gap: .35cqw; }
.mw-week i { width: 1.45cqw; height: 1.45cqw; border-radius: 50%; background: rgba(0,0,0,.1); }
.mw-week .on i { background: #000; }
.mw-week .today i { box-shadow: 0 0 0 .22cqw #fff, 0 0 0 .4cqw #F97316; }
.mw-week b { font-size: .85cqw; font-weight: 500; color: var(--text-3); }
.mw-orb { margin-top: auto; width: 4cqw; height: 4cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5eead4, #14B8A6 55%, #0f766e); box-shadow: 0 .6cqw 1.4cqw -.3cqw rgba(20,184,166,.7); }
.mw-mood-name { margin-top: .9cqw; font-size: 1.85cqw; font-weight: 600; letter-spacing: -0.02em; }
.mw-dots { display: flex; gap: .55cqw; margin-top: 1cqw; }
.mw-dots i { width: 1.35cqw; height: 1.35cqw; border-radius: 50%; background: var(--c); }
.mw-dots i.today { box-shadow: 0 0 0 .22cqw #fff, 0 0 0 .4cqw var(--c); }

/* iPad Pro en paysage : bordure fine, cadre aluminium */
.ipd { position: absolute; right: 0; bottom: 4%; width: 47%; aspect-ratio: 1.43; padding: 1.35%; border-radius: 4.2% / 6%; background: #0b0b0c; box-shadow: inset 0 0 0 1px #2c2c2f, 0 0 0 1.5px #77777c, 0 0 0 2.5px #c4c4c9, 0 40px 60px -30px rgba(0,0,0,.4); }
.ipd-screen { --u: calc(100cqw / 760); width: 100%; height: 100%; border-radius: 3.1% / 4.4%; }
.ipd-page { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ipd .quote { padding: 0 calc(150 * var(--u)); }
.ipd .progress { left: calc(30 * var(--u)); }
.ipd .rail { right: calc(18 * var(--u)); bottom: calc(110 * var(--u)); gap: calc(8 * var(--u)); }
.ipd .tabbar { left: 50%; right: auto; width: calc(330 * var(--u)); transform: translateX(-50%); bottom: calc(22 * var(--u)); }

/* iPhone devant */
.iph { position: absolute; left: 41%; bottom: 0; width: 15.5%; aspect-ratio: 393 / 852; padding: 1.1%; border-radius: 17% / 7.8%; background: #0d0d0e; box-shadow: inset 0 0 0 1.5px #3a3a3d, 0 0 0 1.5px #c3c3c8, 0 30px 40px -18px rgba(0,0,0,.45); }
.iph .iph-screen { width: 100%; height: 100%; border-radius: 15% / 6.9%; }
.iph .island { top: calc(11 * var(--u)); }
.iph .page { top: 0; }
.iph .home-content { padding-bottom: calc(150 * var(--u)); }

/* Apple Watch, façon visuel produit Apple : le bracelet sort du cadre */
.stage-watch { display: flex; align-items: center; justify-content: center; padding: 0; min-height: 420px; }
.aw { position: relative; width: min(52%, 220px); }
.aw-band { position: absolute; left: 11%; width: 78%; height: 160%; background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #17171a 0%, #2b2b2f 18%, #35353a 50%, #2b2b2f 82%, #17171a 100%); }
.aw-band.top { bottom: 90%; }
.aw-band.bottom { top: 90%; }
.aw-band.top::after, .aw-band.bottom::after { content: ''; position: absolute; left: 0; right: 0; height: 10%; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); }
.aw-band.top::after { bottom: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent); }
.aw-band.bottom::after { top: 0; }
.aw-case { position: relative; z-index: 1; width: 100%; aspect-ratio: 42 / 49; padding: 4.2%; border-radius: 27% / 23%;
  background: linear-gradient(135deg, #5a5a5f 0%, #26262a 22%, #121214 50%, #26262a 78%, #4a4a4f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 2px 2px rgba(255,255,255,.25), 0 26px 40px -18px rgba(0,0,0,.55); }
.aw-crown { position: absolute; right: -5.2%; top: 21%; width: 6.4%; height: 17%; border-radius: 2px 4px 4px 2px; background: repeating-linear-gradient(180deg, #5b5b60 0 1.5px, #2a2a2e 1.5px 3px); box-shadow: inset -1px 0 1px rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.5); }
.aw-side { position: absolute; right: -2.2%; top: 47%; width: 2.8%; height: 19%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #1b1b1e, #4b4b50); }
.aw-screen { container-type: inline-size; position: relative; width: 100%; height: 100%; border-radius: 23.5% / 20%; background: #000; color: #fff; padding: 12% 10% 11%; display: flex; flex-direction: column; text-align: left; overflow: hidden; box-shadow: inset 0 0 0 2px #050505; }
.aw-screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 0%, rgba(255,255,255,.1), transparent 70%); pointer-events: none; }
.aw-top { display: flex; justify-content: space-between; align-items: center; font-size: 8cqw; font-weight: 600; }
.aw-app { display: flex; align-items: center; gap: 3.5cqw; font-size: 6.5cqw; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.aw-app img { width: 12cqw; height: 12cqw; border-radius: 50%; }
.aw-quote { margin: auto 0 0; font-size: 10.5cqw; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.aw-ref { margin-top: 3cqw; font-size: 6.5cqw; color: rgba(255,255,255,.55); }
.aw-btn { margin-top: 6cqw; padding: 4.5cqw 0; border-radius: 99px; text-align: center; font-size: 7.5cqw; font-weight: 600; background: rgba(255,255,255,.16); }

.device-captions { list-style: none; margin: 40px auto 0; padding: 0; display: grid; gap: 22px; max-width: 980px; }
.device-captions li { display: flex; flex-direction: column; align-items: center; }
.device-captions svg { width: 30px; height: 30px; margin-bottom: 12px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.device-captions h3 { font-size: 19px; }
.flag { display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.device-captions p { margin: 4px auto 0; color: var(--text-2); font-size: 14.5px; max-width: 30ch; }

@media (min-width: 760px) {
  .showcase { grid-template-columns: 2.7fr 1fr; gap: 16px; }
  .device-captions { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 06. Appel final ---------- */
.final { max-width: 900px; margin: 0 auto; padding: 120px var(--gutter) 140px; text-align: center; }
.final h2 { font-size: clamp(34px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }

/* ---------- Fenêtre « quel téléphone ? » ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; padding: 12px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .35s var(--ease); }
.modal-card { position: relative; width: 100%; max-width: 420px; padding: 32px 24px 24px; border-radius: 30px; background: #fff; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); animation: rise .55s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-logo { width: 72px; margin: 0 auto 18px; }
.modal h2 { font-size: 26px; }
.modal-lead { margin: 6px 0 22px; color: var(--text-2); }
.modal-choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; text-align: left; background: var(--app-bg); box-shadow: inset 0 0 0 1px var(--hairline); transition: transform .2s var(--ease), box-shadow .2s; cursor: pointer; border: 0; font: inherit; color: var(--text); width: 100%; }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.choice.is-suggested { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink-border); }
.choice svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.choice strong { display: block; font-size: 16px; font-weight: 600; }
.choice small { display: block; font-size: 12.5px; opacity: .65; }
.choice[aria-disabled="true"] { cursor: default; }
.modal-note { margin: 16px 0 0; font-size: 13px; color: var(--text-2); min-height: 1.4em; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.98); } }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--hairline); padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--text-2); }
.foot-logo { display: block; width: 30px; height: auto; margin: 0 auto 20px; color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot p { margin: 18px 0 0; color: var(--text-3); }

/* ---------- Page support ---------- */
.top { display: flex; justify-content: center; padding: 28px 16px 0; }
.logo img { width: 112px; }
main { display: block; }
.doc { max-width: 680px; margin: 0 auto; padding: 56px var(--gutter) 88px; }
.doc h1 { font-size: clamp(32px, 6vw, 48px); }
.doc .lead { margin-left: 0; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; letter-spacing: -0.01em; }
.doc p { color: var(--text-2); margin: 0 0 12px; }
.contact-card { margin-top: 32px; padding: 24px; border-radius: 22px; background: var(--app-bg); }
.contact-card a { font-weight: 600; color: var(--text); }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Grands écrans ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .br-wide { display: inline; }
  .nav { padding: 18px 32px; }
  .nav-mark { width: 30px; }
  /* Grand écran : titre d'accroche sur deux lignes au maximum. */
  .hero-title { max-width: 15.5em; font-size: clamp(34px, 5.6vw, 96px); text-wrap: balance; }
  .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .card { padding: 36px; min-height: 380px; }
  .card-pillars { grid-column: span 6; padding: 44px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .card-mood { grid-column: span 3; }
  .card-widget { grid-column: span 3; }
  .card-share { grid-column: span 3; }
  .card-langs { grid-column: span 3; }
  .modal { place-items: center; }
}

@media (min-width: 1000px) {
  .story-sticky {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 8vw, 140px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 96px 48px 48px;
  }
  .story-steps { order: 0; height: auto; max-width: 440px; justify-self: end; }
  .step { position: relative; inset: auto; text-align: left; opacity: 0.22; transform: none; padding: 12px 0 12px 28px; border-left: 1px solid var(--hairline); transition: opacity .5s var(--ease), border-color .5s; }
  .step.is-active { opacity: 1; border-left-color: var(--text); }
  .step h2 { font-size: 26px; }
  .step p { font-size: 15px; max-width: 34ch; margin-top: 4px; }
  .step:not(.is-active) p { display: none; }
  .device-wrap { order: 0; }
  .device { height: min(calc(100svh - 150px), 740px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-fade, .js .hero-title .wd > span { opacity: 1; transform: none; }
}

/* ---------- Choix de la langue ---------- */
.lang-picker { position: relative; display: inline-block; margin-top: 22px; }
.lang-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 0; border-radius: 12px; background: var(--app-bg); box-shadow: inset 0 0 0 1px var(--hairline); font: inherit; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: box-shadow .2s; }
.lang-btn:hover { box-shadow: inset 0 0 0 1px var(--text); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu { position: absolute; z-index: 60; bottom: calc(100% + 10px); left: 50%; width: 248px; transform: translateX(-50%); list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--hairline), 0 24px 60px -20px rgba(0,0,0,.35); text-align: left; animation: rise .35s var(--ease); }
.lang-menu li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.lang-menu li:hover, .lang-menu li:focus-visible { background: var(--app-bg); outline: none; }
.lang-menu li[aria-selected="true"] { font-weight: 600; }
.lang-menu li[aria-selected="true"]::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }

/* ---------- Bandeau de confidentialité ---------- */
.consent { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 18px 18px 14px; border-radius: 22px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 0 0 1px var(--hairline), 0 30px 70px -24px rgba(0,0,0,.35); animation: rise .6s var(--ease); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.consent-actions a { margin-right: auto; font-size: 13.5px; font-weight: 500; color: var(--text); }
.btn-ghost { color: var(--text); background: var(--app-bg); box-shadow: inset 0 0 0 1px var(--hairline); }

/* ---------- Arabe : lecture de droite à gauche ---------- */
[dir="rtl"] .hero-title, [dir="rtl"] .manifesto-text { letter-spacing: 0; }
[dir="rtl"] .device, [dir="rtl"] .showcase { direction: ltr; }
[dir="rtl"] .quote, [dir="rtl"] .aw-screen, [dir="rtl"] .mw, [dir="rtl"] .widget { direction: rtl; }
[dir="rtl"] .step { text-align: right; }
@media (min-width: 1000px) {
  [dir="rtl"] .step { padding: 12px 28px 12px 0; border-left: 0; border-right: 1px solid var(--hairline); }
  [dir="rtl"] .step.is-active { border-right-color: var(--text); }
}
.foot-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.foot-link:hover { color: var(--text); }
.foot-logo-link { display: block; width: max-content; margin: 0 auto; color: var(--text); }
