/* Nod Isle — design system du site.
   Nuit #0a0a0a, texte #f0f0f0, gris 56 %, filets blancs à 10 %, halo indigo.
   Inter (500, interlettrage serré) pour la voix, Instrument Serif italique pour l'accent. */

:root {
  --bg: #0a0a0a;
  --bg-raise: #0f0f12;
  --text: #f0f0f0;
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.36);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.025);
  --card-strong: rgba(255, 255, 255, 0.05);
  --indigo: #4b50d8;
  --gold: #f2b24e;
  --violet: #8b5cf6;
  --magenta: #d24ff0;
  --blue: #0a84ff;
  --green: #30d158;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "New York", "Iowan Old Style", Georgia, serif;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
  --radius: 20px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.8); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ——— Typographie ——— */
.display {
  margin: 0;
  font-weight: 500;
  font-size: clamp(42px, 6.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.h3 { margin: 0; font-weight: 500; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.035em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { margin: 0; color: var(--muted); font-size: clamp(16px, 1.55vw, 18px); line-height: 1.55; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, #ffd89a 0%, var(--gold) 30%, #e6a1ff 70%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px; font-weight: 500; letter-spacing: -0.03em;
  color: var(--text);
}
.pill .dot {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(140deg, #2a2440, #0d0d14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.pill .dot svg { width: 12px; height: 12px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--muted);
  padding: 5px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ——— Boutons ——— */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: 12px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.03em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-spring), background-color 0.25s, box-shadow 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-light {
  background: #f0f0f0; color: #0a0a0a;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 30px -12px rgba(0, 0, 0, 0.8);
}
.btn-light:hover { background: #ffffff; transform: translateY(-1px); }
.btn-light svg { margin-top: -2px; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn-sm svg { width: 14px; height: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; transition: color 0.2s; }
.link-arrow:hover { color: var(--text); }
.link-arrow span { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(3px); }

/* ——— Navigation ——— */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.62);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.045em; }
.brand-mark { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; background: radial-gradient(circle at 35% 30%, #4a3a6e, #0b0b12 70%); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.brand .serif { font-size: 21px; font-weight: 400; margin-left: -3px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ——— Héros ——— */
.hero { position: relative; padding: 116px 0 0; text-align: center; overflow: hidden; isolation: isolate; }
.nowrap { white-space: nowrap; }
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sky::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 38% at 50% 64%, rgba(83, 90, 230, 0.34), transparent 72%),
    radial-gradient(26% 22% at 44% 70%, rgba(242, 178, 78, 0.10), transparent 70%),
    radial-gradient(28% 24% at 58% 66%, rgba(168, 102, 255, 0.16), transparent 70%);
}
.dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.hero .display { font-size: clamp(40px, 6.2vw, 76px); }
.hero .lead { max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 6px; }
.cta-note { margin: 0; font-size: 13px; color: var(--faint); letter-spacing: -0.01em; }
.cta-note b { color: var(--muted); font-weight: 500; }
.hero-blob {
  position: relative; z-index: 1;
  width: min(600px, 88vw); aspect-ratio: 1;
  margin: -64px auto -120px;
  pointer-events: none;
}
.hero-blob canvas, .blob-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.blob-poster { object-fit: contain; opacity: 0; transition: opacity 0.6s; }
.no-webgl .blob-poster { opacity: 1; }
.blob-canvas { opacity: 0; transform: scale(0.94); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
.blob-canvas.is-ready { opacity: 1; transform: none; }

/* Apparition des mots du titre, floutés puis nets (comme une mise au point). */
/* « both » : l'état de départ ne s'applique que pendant l'animation ; si elle ne tourne pas, le texte reste visible. */
.split .w { display: inline-block; animation: word-in 1s var(--ease-out) both; animation-delay: calc(0.15s + var(--i) * 70ms); }
@keyframes word-in { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }
.fade-up { animation: word-in 1s var(--ease-out) both; animation-delay: var(--d, 0.6s); }

/* Apparition au scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ——— Sections ——— */
.section { position: relative; padding: clamp(96px, 13vw, 160px) 0; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lead { max-width: 600px; }

/* ——— Vitrine : le Mac et l'île au fil du scroll ——— */
.showcase { position: relative; height: calc(var(--steps, 8) * 82vh + 100vh); margin-top: 40px; }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(12px, 2.2vh, 24px);
  padding: 84px 0 18px;
  overflow: hidden;
}
.stage .mac { width: min(1060px, 94vw, (100svh - 330px) * 2.36); }
.stage-title { text-align: center; }
.stage-title .h2 { font-size: clamp(28px, 3.6vw, 46px); }
.captions { display: grid; width: min(640px, 100% - 2 * var(--gutter)); text-align: center; min-height: 104px; }
.caption { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), filter 0.5s; pointer-events: none; }
.caption.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.caption .kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--gold); letter-spacing: 0; }
.caption .h3 { margin-bottom: 8px; }
.caption p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 760px; padding: 0 var(--gutter); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.chip svg { width: 14px; height: 14px; }
.chip:hover { color: var(--text); }
.chip.is-active { color: var(--text); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line); }
.progress-line { width: min(220px, 50vw); height: 2px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.progress-line i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), var(--violet)); }
@media (max-height: 760px) { .stage-title { display: none; } }
@media (max-width: 640px) { .chips .chip > span:last-child { display: none; } .chip { padding: 0 10px; } }
.chip > span[data-icon] { display: grid; }

/* ——— Bento : gestes, légèreté, confidentialité ——— */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; overflow: hidden;
  grid-column: span 2;
  min-height: 300px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.card.wide { grid-column: span 3; }
.card .h3 { font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; letter-spacing: -0.015em; }
.card-art { position: absolute; inset: 0 0 auto; height: 190px; display: grid; place-items: center; pointer-events: none; }
@media (max-width: 960px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card, .card.wide { grid-column: auto; } }

/* Mini-encoches animées des cartes « gestes » */
.mini-screen { position: relative; width: 250px; height: 140px; border-radius: 14px; background: radial-gradient(120% 90% at 70% 120%, rgba(242, 178, 78, 0.28), transparent 60%), radial-gradient(90% 80% at 10% 110%, rgba(139, 92, 246, 0.35), transparent 60%), #121220; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; }
.mini-notch { position: absolute; left: 50%; top: 0; width: 62px; height: 14px; transform: translateX(-50%); background: #000; border-radius: 0 0 9px 9px; }
.mini-cursor { position: absolute; width: 14px; height: 18px; }
.anim-hover .mini-notch { animation: mini-expand 4s var(--ease-out) infinite; }
.anim-hover .mini-cursor { animation: mini-cursor-hover 4s var(--ease-out) infinite; }
.anim-click .mini-notch { animation: mini-expand-click 4s var(--ease-out) infinite; }
.anim-click .mini-cursor { animation: mini-cursor-click 4s var(--ease-out) infinite; }
.mini-ripple { position: absolute; left: 50%; top: 9px; width: 22px; height: 22px; margin: -11px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.7); opacity: 0; animation: mini-ripple 4s ease-out infinite; }
@keyframes mini-expand { 0%, 32% { width: 62px; height: 14px; border-radius: 0 0 9px 9px; } 44%, 78% { width: 170px; height: 64px; border-radius: 0 0 20px 20px; } 90%, 100% { width: 62px; height: 14px; border-radius: 0 0 9px 9px; } }
@keyframes mini-expand-click { 0%, 40% { width: 62px; height: 14px; border-radius: 0 0 9px 9px; } 50%, 80% { width: 170px; height: 64px; border-radius: 0 0 20px 20px; } 92%, 100% { width: 62px; height: 14px; border-radius: 0 0 9px 9px; } }
@keyframes mini-cursor-hover { 0% { left: 70%; top: 105px; opacity: 0; } 8% { opacity: 1; } 30% { left: 51%; top: 12px; } 80% { left: 51%; top: 12px; opacity: 1; } 92%, 100% { left: 75%; top: 110px; opacity: 0; } }
@keyframes mini-cursor-click { 0% { left: 25%; top: 110px; opacity: 0; } 8% { opacity: 1; } 32% { left: 51%; top: 4px; } 36% { transform: scale(0.85); } 40% { transform: scale(1); } 82% { left: 51%; top: 4px; opacity: 1; } 94%, 100% { left: 30%; top: 110px; opacity: 0; } }
@keyframes mini-ripple { 0%, 36% { opacity: 0; transform: scale(0.4); } 38% { opacity: 1; } 52%, 100% { opacity: 0; transform: scale(1.8); } }
.mini-content { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; opacity: 0; animation: mini-content 4s var(--ease-out) infinite; }
.anim-click .mini-content { animation-name: mini-content-click; }
.mini-content i { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(160deg, #f6a95b, #d9566b 60%, #4a2c6e); flex: none; }
.mini-content b { display: block; width: 70px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); margin-bottom: 6px; }
.mini-content s { display: block; width: 46px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
@keyframes mini-content { 0%, 40% { opacity: 0; } 50%, 74% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes mini-content-click { 0%, 48% { opacity: 0; } 56%, 76% { opacity: 1; } 86%, 100% { opacity: 0; } }
.trackpad { position: relative; width: 190px; height: 124px; border-radius: 16px; background: linear-gradient(180deg, #1b1b20, #141418); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.finger { position: absolute; top: 46px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); animation: swipe 2.6s var(--ease-out) infinite; }
.finger + .finger { top: 76px; animation-delay: 0.04s; }
@keyframes swipe { 0% { left: 130px; opacity: 0; } 15% { opacity: 1; } 60% { left: 40px; opacity: 1; } 75%, 100% { left: 30px; opacity: 0; } }
.swipe-pages { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 160px; height: 46px; border-radius: 0 0 16px 16px; background: #000; overflow: hidden; }
.swipe-pages div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 11px/1 var(--sf); color: #fff; animation: pages 7.8s var(--ease-out) infinite; opacity: 0; }
.swipe-pages div:nth-child(2) { animation-delay: 2.6s; }
.swipe-pages div:nth-child(3) { animation-delay: 5.2s; }
@keyframes pages { 0% { opacity: 0; transform: translateX(40px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateX(-40px); } }
.swipe-art { display: grid; justify-items: center; gap: 18px; }

.activity { width: min(360px, 100%); border-radius: 12px; overflow: hidden; background: #161618; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font: 12px/1 var(--sf); }
.activity header { display: flex; justify-content: space-between; padding: 10px 12px; color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
.activity .row { display: grid; grid-template-columns: 1fr 64px 70px; padding: 9px 12px; color: rgba(255, 255, 255, 0.82); }
.activity .row:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }
.activity .row b { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.activity .row b img { width: 16px; height: 16px; border-radius: 50%; }
.activity .num { text-align: right; font-variant-numeric: tabular-nums; }
.activity .hl { color: var(--green); font-weight: 600; }

.privacy-list { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.privacy-list li { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 14px; letter-spacing: -0.015em; }
.privacy-list svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.lock-art { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.22), transparent 65%); }
.lock-art svg { width: 56px; height: 56px; }

/* Réglages (aperçu de la DA de l'app) */
.settings-peek { width: min(420px, 100%); border-radius: 14px; overflow: hidden; background: #111114; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.9); font: 13px/1.2 var(--sf); text-align: left; }
.settings-peek header { display: flex; align-items: center; gap: 7px; padding: 11px 12px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06); }
.settings-peek header i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.settings-peek header i:nth-child(1) { background: #ff5f57; } .settings-peek header i:nth-child(2) { background: #febc2e; } .settings-peek header i:nth-child(3) { background: #28c840; }
.settings-peek .row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: rgba(255, 255, 255, 0.86); }
.settings-peek .row + .row { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.settings-peek .row .ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff; }
.settings-peek .ico svg { width: 14px; height: 14px; }
.settings-peek .row span { flex: 1; }
.toggle { width: 34px; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); position: relative; transition: background-color 0.3s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease-spring); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.toggle.on { background: linear-gradient(90deg, #d79a3e, #8b5cf6); }
.toggle.on::after { transform: translateX(14px); }

/* ——— Intégrations : orbites autour du blob ——— */
.orbit { position: relative; width: min(760px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit-blob { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.orbit-blob canvas, .orbit-blob img { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(83, 90, 230, 0.22), transparent 70%); }
.ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-soft); animation: spin var(--dur, 90s) linear infinite; }
.ring-1 { inset: 17%; --dur: 70s; }
.ring-2 { inset: 2%; --dur: 110s; animation-direction: reverse; }
.ring .app { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.ring .app > div { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; transform: rotate(calc(var(--a) * -1)); }
.ring .app > div > figure { margin: 0; width: 64px; height: 64px; animation: spin var(--dur, 90s) linear infinite reverse; }
.ring-2 .app > div > figure { animation-direction: normal; }
.ring-1 .app { --r: calc(min(760px, 100vw - 32px) * 0.33); }
.ring-2 .app { --r: calc(min(760px, 100vw - 32px) * 0.48); }
@keyframes spin { to { transform: rotate(360deg); } }
.app-icon { width: 64px; height: 64px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.9), inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.app-icon svg { width: 100%; height: 100%; }
.app figcaption { position: absolute; left: 50%; top: 72px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.integration-grid { display: none; }
@media (max-width: 640px) {
  .orbit .ring { display: none; }
  .orbit { aspect-ratio: auto; height: 260px; }
  .orbit-blob { width: 240px; }
  .integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 10px; margin-top: 28px; }
  .integration-grid figure { margin: 0; display: grid; justify-items: center; gap: 8px; font-size: 11px; color: var(--muted); text-align: center; }
  .integration-grid .app-icon { width: 56px; height: 56px; border-radius: 13px; }
}
.works-with { margin: 28px auto 0; max-width: 620px; text-align: center; color: var(--faint); font-size: 14px; }

/* ——— Tarifs ——— */
.pricing { display: grid; justify-items: center; }
.price-card {
  position: relative;
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 34px 30px 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  isolation: isolate;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(242, 178, 78, 0.65), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.04) 60%, rgba(139, 92, 246, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan { display: inline-flex; align-items: baseline; gap: 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.04em; }
.plan .serif { font-size: 24px; }
.price { margin: 18px 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.price .amount { font-size: clamp(56px, 8vw, 72px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.price .per { color: var(--muted); font-size: 17px; letter-spacing: -0.02em; }
.trial-badge { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 22px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #ffd28f; background: rgba(242, 178, 78, 0.1); box-shadow: inset 0 0 0 1px rgba(242, 178, 78, 0.25); }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; text-align: left; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.86); }
.checks li > span { flex: none; display: grid; width: 18px; height: 18px; margin-top: 2px; }
.checks svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .hero h1 br { display: none; } }
.price-card .btn { width: 100%; }
.price-card .secondary { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.price-card .secondary:hover { color: var(--text); }
.price-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: #ffd28f; background: rgba(242, 178, 78, 0.08); box-shadow: inset 0 0 0 1px rgba(242, 178, 78, 0.22); }
.fine { margin: 18px 0 0; font-size: 12px; color: var(--faint); letter-spacing: 0; }
.fine svg { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-right: 4px; }

/* ——— FAQ ——— */
.faq { width: min(760px, 100%); margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-soft); transition: background-color 0.3s; }
.faq details[open] { background: var(--card-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 500; letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; border-radius: 1px; background: var(--muted); transition: transform 0.35s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; letter-spacing: -0.015em; }
.faq .answer p { margin: 0; }

/* ——— Appel final + horizon ——— */
.final { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 170px) 0 clamp(150px, 20vw, 240px); text-align: center; isolation: isolate; }
.final .blob-small { position: relative; width: min(300px, 64vw); aspect-ratio: 1; margin: 0 auto 10px; }
.final .blob-small canvas, .final .blob-small img { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon {
  position: absolute; z-index: -1; left: 50%; top: calc(100% - clamp(110px, 14vw, 180px));
  width: 160vw; height: 160vw; transform: translateX(-50%);
  border-radius: 50%; background: var(--bg);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.9), 0 -12px 40px rgba(170, 180, 255, 0.35), 0 -50px 140px rgba(90, 98, 245, 0.32), 0 -140px 260px rgba(83, 90, 230, 0.18);
}
.final .display { font-size: clamp(36px, 5.4vw, 64px); max-width: 15ch; margin: 0 auto 18px; }
.final .cta-row { margin-top: 26px; }

/* ——— Pied de page ——— */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); padding: 44px 0 36px; font-size: 13px; color: var(--faint); background: var(--bg); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { color: var(--muted); transition: color 0.2s; }
.footer nav a:hover { color: var(--text); }
.legal-note { margin: 26px 0 0; max-width: 820px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.3); }

/* ——— Fenêtre « merci pour le téléchargement » ——— */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet { width: min(480px, 100%); padding: 28px; border-radius: 22px; background: #121215; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px #000; transform: translateY(18px) scale(0.98); transition: transform 0.5s var(--ease-spring); }
.is-open .sheet { transform: none; }
.sheet h2 { margin: 0 0 6px; font-size: 24px; font-weight: 500; letter-spacing: -0.04em; }
.sheet ol { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: step; }
.sheet li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, 0.82); font-size: 15px; letter-spacing: -0.015em; }
.sheet li::before { counter-increment: step; content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.08); }
.sheet .row { display: flex; gap: 10px; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .split .w, .fade-up { opacity: 1; transform: none; filter: none; }
  .ring, .ring figure { animation: none !important; }
}
