/* Halo — site vitrine. Aucune ressource externe : polices système, icônes en SVG inline. */

@property --glow {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(129, 140, 248, 0.35);
}

:root {
  --bg: #050507;
  --bg2: #0a0a10;
  --panel: rgba(255, 255, 255, 0.035);
  --panel2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --fg: #f5f5f7;
  --fg2: rgba(245, 245, 247, 0.68);
  --fg3: rgba(245, 245, 247, 0.52);
  --lav: #c4b5fd;
  --violet: #a78bfa;
  --indigo: #818cf8;
  --sky: #38bdf8;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --orange: #fb923c;
  --pink: #f472b6;
  --red: #f87171;
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  --spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --s: 1;
  color-scheme: dark;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lav);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lav);
  color: #0b0614;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ic {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic.fill {
  fill: currentColor;
  stroke: none;
}

/* ── Typographie ─────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 5.2vw, 62px);
}

h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}

.lead {
  margin-top: 20px;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--fg2);
}

.hl {
  color: var(--lav);
}

.grad {
  background: linear-gradient(100deg, #e9e3ff 0%, var(--lav) 35%, var(--indigo) 70%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

kbd {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font: 600 0.8em/1.5 var(--mono);
  color: var(--fg);
  white-space: nowrap;
}

/* ── Boutons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.btn .ic {
  font-size: 18px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--lav);
  color: #0b0614;
  box-shadow: 0 0 0 0 rgba(196, 181, 253, 0), 0 10px 30px -12px rgba(167, 139, 250, 0.8);
}

.btn-primary:hover {
  background: #d8cdfe;
  box-shadow: 0 0 0 6px rgba(196, 181, 253, 0.12), 0 14px 40px -10px rgba(167, 139, 250, 0.9);
}

.btn-ghost {
  border-color: var(--line2);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
}

/* ── Navigation (de part et d'autre de l'île) ────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 68px;
  pointer-events: none;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5, 5, 7, 0.92), rgba(5, 5, 7, 0.6) 60%, rgba(5, 5, 7, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask: linear-gradient(#000 55%, transparent);
  -webkit-mask: linear-gradient(#000 55%, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.scrolled .nav::before {
  opacity: 1;
}

.nav-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 28px;
  pointer-events: auto;
  transition: opacity 0.3s, transform 0.4s var(--spring);
}

.isl-wide .nav-side {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand b {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.32em;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

/* ── L'île ───────────────────────────────────────────────────────────────── */

.island {
  --w: 156px;
  --h: 36px;
  --r: 18px;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%) scale(var(--s));
  transform-origin: 50% 0;
  border-radius: 0 0 var(--r) var(--r);
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 50px -14px var(--glow), 0 2px 14px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: width 0.62s var(--spring), height 0.62s var(--spring), border-radius 0.62s var(--spring), --glow 0.8s;
  -webkit-tap-highlight-color: transparent;
}

.island-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.island::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 40px;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(26px);
  opacity: 0.55;
  z-index: -1;
  transition: opacity 0.6s;
}

.isl-eyes {
  position: absolute;
  top: 50%;
  left: 22px;
  z-index: 2;
  translate: 0 -50%;
  transition: left 0.62s var(--spring), translate 0.62s var(--spring);
}

.island.centered .isl-eyes {
  left: 50%;
  translate: -50% -50%;
}

.isl-view {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 0 66px;
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.94);
  transform-origin: 30% 50%;
  pointer-events: none;
  transition: opacity 0.22s, filter 0.22s, transform 0.3s var(--ease);
  white-space: nowrap;
}

.isl-view.on {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition: opacity 0.4s 0.16s, filter 0.4s 0.16s, transform 0.55s 0.12s var(--spring);
}

.isl-view[data-view="sleep"] {
  padding: 0;
}

.isl-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.isl-k {
  font: 700 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lav);
}

.isl-small {
  font-size: 11.5px;
  color: rgba(245, 245, 247, 0.62);
}

/* Scène météo */
[data-view="weather"] {
  width: 360px;
}

.wx-icon {
  font-size: 34px;
  color: #cbd5e1;
}

.wx-temp {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wx-temp + .isl-col {
  margin-left: 2px;
}

/* Scène agenda */
[data-view="calendar"] {
  width: 380px;
}

.ev {
  display: grid;
  grid-template-columns: 3px 44px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.55;
}

.ev i {
  height: 14px;
  border-radius: 2px;
  background: var(--c);
}

.ev b {
  font-family: var(--mono);
  font-size: 11.5px;
}

.ev.past {
  opacity: 0.5;
}

/* Scène transports */
[data-view="transit"] {
  width: 360px;
}

.bus-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2563eb;
  font: 700 10px/1 var(--font);
  letter-spacing: 0.04em;
}

.bus-min {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.bus-min small {
  font-size: 13px;
  font-weight: 600;
  margin-left: 3px;
  letter-spacing: 0;
}

.track {
  position: relative;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.track > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 40%);
  border-radius: inherit;
  background: var(--c, var(--blue));
}

/* Scène colis */
[data-view="parcel"] {
  width: 380px;
}

.parcel-big {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--green);
}

.parcel-big::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 6px 0 5px;
}

.steps i {
  height: 3px;
  border-radius: 3px;
  background: var(--green);
}

/* Scène musique */
[data-view="music"] {
  width: 400px;
}

.cover {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  background: conic-gradient(from 200deg, #fb923c, #f472b6, #a78bfa, #60a5fa, #fb923c);
  position: relative;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px -6px rgba(244, 114, 182, 0.8);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: #000;
}

.cover.sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  transform: none;
}

.track-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.viz {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  margin-left: auto;
}

.viz i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(#fdba74, #f472b6);
  transform-origin: center;
  animation: viz 1s ease-in-out infinite alternate;
}

.viz.sm {
  height: 16px;
  gap: 2px;
}

.viz.sm i {
  width: 2px;
}

.viz i:nth-child(2n) { animation-duration: 0.72s; animation-delay: -0.3s; }
.viz i:nth-child(3n) { animation-duration: 0.9s; animation-delay: -0.55s; }
.viz i:nth-child(4n) { animation-duration: 0.62s; animation-delay: -0.2s; }
.viz i:nth-child(5n) { animation-duration: 1.1s; animation-delay: -0.8s; }

@keyframes viz {
  from { transform: scaleY(0.18); }
  to { transform: scaleY(1); }
}

/* Scène Claude */
[data-view="claude"] {
  width: 440px;
  align-items: flex-start;
  padding-top: 18px;
}

.cl-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.cl-head .ic {
  color: #d97757;
  font-size: 14px;
}

.cl-state {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 0.06em;
}

.cl-cmd {
  margin: 8px 0 10px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  font: 12.5px/1.3 var(--mono);
  color: #e2e8f0;
}

.cl-cmd span {
  color: var(--green);
}

.cl-actions {
  display: flex;
  gap: 8px;
}

.cl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
}

.cl-btn.yes {
  background: var(--lav);
  color: #0b0614;
}

.cl-btn small {
  font: 600 10px/1 var(--mono);
  opacity: 0.6;
}

/* Scène minuteur */
[data-view="timer"] {
  width: 330px;
}

.ring {
  width: 48px;
  height: 48px;
  flex: none;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.ring .bg {
  stroke: rgba(251, 191, 36, 0.16);
}

.ring .fg {
  stroke: var(--amber);
  stroke-dasharray: 125.66;
  transition: stroke-dashoffset 1s linear;
}

.big-num {
  font: 600 34px/1 var(--mono);
  letter-spacing: -0.04em;
}

/* Scène volume */
[data-view="volume"] {
  width: 320px;
}

.vol-bar {
  flex: 1;
  height: 6px;
}

.vol-bar > i {
  background: #fff;
  transition: width 0.25s var(--ease);
}

.vol-num {
  width: 28px;
  font: 600 14px/1 var(--mono);
  text-align: right;
}

.vol-icon {
  font-size: 20px;
}

/* Pilules compactes (sections) */
[data-view="c-claude"] { width: 300px; gap: 10px; padding-left: 60px; }
[data-view="c-volume"] { width: 260px; gap: 10px; padding-left: 60px; }
[data-view="c-music"] { width: 280px; gap: 10px; padding-left: 60px; }
[data-view="c-lock"] { width: 240px; gap: 8px; padding-left: 60px; }

.c-text {
  font-size: 12.5px;
  font-weight: 600;
}

.c-text span {
  font-weight: 400;
  color: rgba(245, 245, 247, 0.6);
}

.dots {
  display: inline-flex;
  gap: 3px;
  margin-left: auto;
}

.dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  animation: dot 1.2s ease-in-out infinite;
}

.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes dot {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ── Les yeux ────────────────────────────────────────────────────────────── */

.eyes {
  --ex: 0px;
  --ey: 0px;
  --ew: 10px;
  --eh: 15px;
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--ew) * 0.7);
  height: var(--eh);
}

.eyes .pair {
  display: flex;
  align-items: center;
  gap: inherit;
  transform: translate(var(--ex), var(--ey));
  transition: transform 0.22s var(--ease);
}

.eyes .pair i {
  display: block;
  width: var(--ew);
  height: var(--eh);
  border-radius: calc(var(--ew) * 0.6);
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transition: height 0.25s var(--ease), border-radius 0.25s, background-color 0.3s, transform 0.08s;
}

.eyes.blink .pair i {
  transform: scaleY(0.1);
}

.eyes.lg {
  --ew: 22px;
  --eh: 34px;
}

.eyes.md {
  --ew: 14px;
  --eh: 21px;
}

/* Humeurs */
.eyes[data-mood="work"] .pair {
  animation: saccade 2.4s steps(1) infinite;
}

@keyframes saccade {
  0% { transform: translate(-3px, 1px); }
  18% { transform: translate(3px, -1px); }
  33% { transform: translate(1px, 2px); }
  50% { transform: translate(-2px, -2px); }
  68% { transform: translate(3px, 1px); }
  84% { transform: translate(-1px, 0); }
}

.eyes.md[data-mood="work"] .pair,
.eyes.lg[data-mood="work"] .pair {
  animation-name: saccade-lg;
}

@keyframes saccade-lg {
  0% { transform: translate(-5px, 1px); }
  18% { transform: translate(5px, -2px); }
  33% { transform: translate(2px, 3px); }
  50% { transform: translate(-4px, -3px); }
  68% { transform: translate(5px, 2px); }
  84% { transform: translate(-2px, 0); }
}

.eyes[data-mood="think"] .pair {
  animation: think 4.4s ease-in-out infinite;
}

.eyes[data-mood="think"] .pair i {
  height: calc(var(--eh) * 0.82);
}

@keyframes think {
  0%, 40% { transform: translate(-4px, -4px); }
  50%, 90% { transform: translate(4px, -4px); }
  100% { transform: translate(-4px, -4px); }
}

.eyes[data-mood="wait"] .pair {
  transform: translate(0, 3px);
}

.eyes[data-mood="wait"] .pair i {
  height: calc(var(--eh) * 0.72);
  background: #fff7e0;
}

.eyes[data-mood="done"] .pair i {
  height: calc(var(--ew) * 0.75);
  border: calc(var(--ew) * 0.3) solid #fff;
  border-bottom: 0;
  border-radius: var(--ew) var(--ew) 0 0;
  background: transparent;
  box-shadow: none;
}

.eyes[data-mood="error"] .pair {
  animation: shake 2.6s ease-in-out infinite;
}

.eyes[data-mood="error"] .pair i {
  background: var(--red);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
  height: calc(var(--eh) * 0.7);
}

@keyframes shake {
  0%, 70%, 100% { transform: none; }
  74% { transform: translateX(-3px); }
  78% { transform: translateX(3px); }
  82% { transform: translateX(-2px); }
  86% { transform: translateX(2px); }
}

.eyes[data-mood="sleep"] .pair i {
  height: calc(var(--ew) * 0.28);
  margin-top: calc(var(--eh) * 0.35);
  border-radius: 3px;
  box-shadow: none;
  opacity: 0.85;
}

.eyes:not([data-mood="sleep"]) .zz {
  display: none;
}

.zz {
  position: absolute;
  right: -14px;
  top: -10px;
  font: 700 11px/1 var(--font);
  color: var(--lav);
  pointer-events: none;
}

.zz b {
  position: absolute;
  opacity: 0;
  animation: zz 3s ease-out infinite;
}

.zz b:nth-child(2) {
  animation-delay: 1.5s;
  font-size: 0.8em;
}

@keyframes zz {
  0% { opacity: 0; transform: translate(0, 6px) scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(10px, -14px) scale(1.1); }
}

.eyes[data-mood="shy"] .pair {
  transform: translate(4px, 3px);
}

.eyes[data-mood="shy"] .pair i {
  height: calc(var(--eh) * 0.78);
}

.eyes[data-mood="listen"] .pair {
  animation: tremble 0.18s steps(2) infinite;
}

.eyes[data-mood="listen"] .pair i {
  height: calc(var(--eh) * 0.6);
}

@keyframes tremble {
  0% { transform: translate(-0.6px, 0.4px); }
  50% { transform: translate(0.7px, -0.5px); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 176px var(--gutter) 72px;
  text-align: center;
  isolation: isolate;
}

.aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aura::before,
.aura::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.aura::before {
  width: 900px;
  height: 520px;
  left: 50%;
  top: -260px;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.42), rgba(167, 139, 250, 0.16) 55%, transparent);
}

.aura::after {
  width: 620px;
  height: 420px;
  right: -120px;
  bottom: 4%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.14), transparent);
}

.hero .aura .blob {
  position: absolute;
  width: 560px;
  height: 420px;
  left: -160px;
  top: 38%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 114, 182, 0.1), transparent);
  filter: blur(80px);
}

.scene-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 92px;
}

.scene-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  transition: opacity 0.25s, transform 0.35s var(--ease);
}

.scene-line.out {
  opacity: 0;
  transform: translateY(6px);
}

.scene-time {
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--fg);
}

.scene-time small {
  margin-left: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lav);
  text-transform: uppercase;
}

.scene-ctl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stories {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories button {
  position: relative;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.stories button::before,
.stories button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}

.stories button::before {
  right: 0;
  background: rgba(255, 255, 255, 0.16);
}

.stories button::after {
  width: calc(var(--p, 0) * 100%);
  background: var(--lav);
}

.stories button.done::after {
  --p: 1;
  background: rgba(196, 181, 253, 0.55);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn .ic {
  font-size: 13px;
}

.icon-btn .i-play,
.paused .icon-btn .i-pause {
  display: none;
}

.paused .icon-btn .i-play {
  display: block;
}

.hero h1 {
  margin-top: clamp(28px, 6vh, 64px);
  font-size: clamp(52px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero .lead {
  margin: 26px auto 0;
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--fg3);
}

.meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta .ic {
  color: var(--green);
  font-size: 14px;
}

.scroll-hint {
  margin-top: auto;
  padding-top: 48px;
  font-size: 13px;
  color: var(--fg3);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint .ic {
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(88px, 13vw, 160px) 0;
}

.section-head {
  max-width: 760px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--spring);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Une journée */
.day {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.phone {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
  background: #000 center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line2), 0 0 0 9px #0d0d14, 0 0 0 10px var(--line), 0 40px 100px -30px rgba(129, 140, 248, 0.55);
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.phone .icon-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.phone .icon-btn .ic {
  font-size: 17px;
}

.phone .i-sound-on,
.phone.sound .i-sound-off {
  display: none;
}

.phone.sound .i-sound-on {
  display: block;
}

.timeline {
  display: grid;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.t-time {
  font: 700 28px/1 var(--font);
  letter-spacing: -0.03em;
}

.t-time small {
  display: block;
  margin-top: 8px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lav);
}

.timeline p {
  color: var(--fg2);
}

.timeline b {
  color: var(--fg);
  font-weight: 600;
}

/* L'âme : humeurs */
.moods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.mood {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition: border-color 0.3s, background-color 0.3s, transform 0.5s var(--spring);
}

.mood:hover {
  border-color: var(--line2);
  background: var(--panel2);
  transform: translateY(-3px);
}

.pill {
  --glow: rgba(255, 255, 255, 0.12);
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 76px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 34px -14px var(--glow);
}

.pill .dot {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}

.mood h3 {
  font-size: 17px;
}

.mood p {
  font-size: 14.5px;
  color: var(--fg2);
  line-height: 1.5;
}

/* Jumelles */
.bino {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: scan 4.5s ease-in-out infinite;
}

.bino::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 10px;
  translate: -50% -50%;
  border-radius: 3px;
  background: #2b2b35;
}

.bino span {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #0a0a0f 0 48%, #1d1d26 50% 62%, #3a3a48 64% 68%, #15151c 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bino span i {
  width: 8px;
  height: 12px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.bino span::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 7px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  rotate: -30deg;
}

@keyframes scan {
  0%, 100% { transform: translateX(-10px) rotate(-3deg); }
  50% { transform: translateX(10px) rotate(3deg); }
}

/* Casque */
.phones {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 52px;
}

.phones svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phones .eyes {
  margin-top: 8px;
}

.wave {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 22px;
  margin-top: -6px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: wave 1.4s ease-out infinite;
}

.wave.l {
  left: -14px;
  border-right-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.wave.r {
  right: -14px;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.wave.d2 {
  animation-delay: 0.7s;
}

@keyframes wave {
  0% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.5); }
}

.look-screen {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(167, 139, 250, 0.1), rgba(56, 189, 248, 0.05) 60%, transparent);
}

.look-screen .ic {
  font-size: 30px;
  color: var(--lav);
}

.look-screen p {
  color: var(--fg2);
}

.look-screen b {
  color: var(--fg);
}

/* ── Écrans factices (bureau + île accrochée en haut) ─────────────────────── */

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line2), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  isolation: isolate;
}

.wp-dusk {
  background: radial-gradient(60% 70% at 20% 90%, #db2777 0%, transparent 70%), radial-gradient(60% 60% at 85% 80%, #f59e0b 0%, transparent 65%), radial-gradient(80% 80% at 50% 0%, #4338ca 0%, transparent 70%), #1e1b4b;
}

.wp-ocean {
  background: radial-gradient(70% 70% at 15% 85%, #3b82f6 0%, transparent 70%), radial-gradient(60% 60% at 90% 70%, #7dd3fc 0%, transparent 65%), radial-gradient(70% 80% at 50% 0%, #1e3a8a 0%, transparent 70%), #172554;
}

.wp-sunset {
  background: radial-gradient(70% 70% at 20% 80%, #f472b6 0%, transparent 70%), radial-gradient(60% 60% at 85% 75%, #fb923c 0%, transparent 65%), radial-gradient(80% 70% at 50% 0%, #7c3aed 0%, transparent 70%), #3b0764;
}

.wp-night {
  background: radial-gradient(60% 70% at 70% 80%, #4f46e5 0%, transparent 70%), radial-gradient(60% 60% at 15% 30%, #1d4ed8 0%, transparent 65%), #0f0f2e;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.25));
}

.win {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.win i {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}

.win i:nth-child(2) { width: 88%; }
.win i:nth-child(3) { width: 64%; }
.win i:nth-child(4) { width: 76%; }

.taskbar {
  position: absolute;
  inset: auto 0 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(10, 10, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.taskbar i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
}

.taskbar i:first-child {
  background: var(--sky);
}

.mini-isl {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  height: 46px;
  border-radius: 0 0 20px 20px;
  background: #000;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  font-size: 12.5px;
}

/* ── Agents IA ───────────────────────────────────────────────────────────── */

.agents {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-top: 64px;
}

.agent-screen {
  aspect-ratio: 5 / 4;
}

.agent-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  translate: -50% 0;
  width: min(92%, 440px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px 22px 20px 20px;
  border-radius: 0 0 28px 28px;
  background: #000;
  box-shadow: 0 20px 50px -14px rgba(167, 139, 250, 0.6);
}

.agent-card .eyes {
  margin-top: 26px;
}

.agent-card .cl-actions {
  flex-wrap: wrap;
}

.term {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 48px;
  height: 46%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(12, 10, 24, 0.82);
  font: 12px/1.7 var(--mono);
  color: #cbd5e1;
  overflow: hidden;
}

.term .c1 { color: #d97757; }
.term .c2 { color: var(--fg3); }
.term .c3 { color: var(--amber); }

.term .cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  vertical-align: -2px;
  background: var(--fg2);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

.feat-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feat-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.feat-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(167, 139, 250, 0.12);
  color: var(--lav);
  font-size: 19px;
}

.feat-list h3 {
  font-size: 17px;
}

.feat-list p {
  margin-top: 3px;
  font-size: 15px;
  color: var(--fg2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 600;
}

.chips li small {
  font-weight: 400;
  color: var(--fg3);
}

.chips li i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}

.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.card .feat-ic {
  margin-bottom: 18px;
}

.card h3 {
  font-size: 17px;
}

.card p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--fg2);
  line-height: 1.55;
}

.sub-head {
  margin-top: 96px;
  font-size: clamp(24px, 3vw, 32px);
}

/* ── Windows ─────────────────────────────────────────────────────────────── */

.win-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.win-tile {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  overflow: hidden;
}

.win-tile .screen {
  height: 200px;
  border-radius: 0;
  box-shadow: none;
}

.win-tile .body {
  padding: 24px 26px 28px;
}

.win-tile p {
  margin-top: 6px;
  color: var(--fg2);
  font-size: 15.5px;
}

.win-tile .win.a {
  left: 8%;
  top: 92px;
  width: 50%;
  height: 120px;
}

.win-tile .win.b {
  right: 8%;
  top: 116px;
  width: 30%;
  height: 80px;
}

.osd-bar {
  width: 130px;
  height: 5px;
}

.osd-bar > i {
  background: #fff;
  animation: osd 5s var(--ease) infinite;
}

@keyframes osd {
  0%, 12% { width: 38%; }
  20%, 32% { width: 46%; }
  40%, 52% { width: 54%; }
  60%, 88% { width: 62%; }
  100% { width: 38%; }
}

.swap {
  position: relative;
  display: grid;
}

.swap > * {
  grid-area: 1 / 1;
  animation: swapA 8s ease-in-out infinite;
}

.swap > :last-child {
  animation-name: swapB;
}

@keyframes swapA {
  0%, 44% { opacity: 1; filter: none; }
  50%, 94% { opacity: 0; filter: blur(4px); }
  100% { opacity: 1; filter: none; }
}

@keyframes swapB {
  0%, 44% { opacity: 0; filter: blur(4px); }
  50%, 94% { opacity: 1; filter: none; }
  100% { opacity: 0; filter: blur(4px); }
}

.mini-isl.tall {
  height: 64px;
  padding: 0 26px;
}

.mini-isl .bino {
  transform: scale(0.82);
}

.mini-isl .phones {
  transform: scale(0.8);
  margin: -6px -6px 0;
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.batt {
  width: 26px;
  height: 12px;
  padding: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  position: relative;
}

.batt::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.batt i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: 1.5px;
  background: var(--green);
}

.lyrics {
  position: relative;
  height: 18px;
  width: 210px;
  overflow: hidden;
  color: rgba(245, 245, 247, 0.75);
  font-size: 12px;
}

.lyrics span {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: lyric 9s infinite;
}

.lyrics span:nth-child(2) { animation-delay: 3s; }
.lyrics span:nth-child(3) { animation-delay: 6s; }

@keyframes lyric {
  0% { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  6%, 30% { opacity: 1; transform: none; filter: none; }
  36%, 100% { opacity: 0; transform: translateY(-10px); filter: blur(3px); }
}

/* ── Modules ─────────────────────────────────────────────────────────────── */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.filters button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filters button:hover {
  color: var(--fg);
  border-color: var(--line2);
}

.filters button[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: #0b0614;
}

.filters small {
  margin-left: 4px;
  font-weight: 500;
  opacity: 0.6;
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.module {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: border-color 0.25s, background-color 0.25s, opacity 0.3s, transform 0.4s var(--spring);
}

.module:hover {
  border-color: var(--line2);
  background: var(--panel2);
}

.module[hidden] {
  display: none;
}

.mod-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
  font-size: 20px;
}

.module h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.module p {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg2);
}

.tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.14);
  color: var(--lav);
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 0.06em;
}

.custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.custom > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.custom h3 {
  font-size: 16px;
}

.custom p {
  margin-top: 2px;
  font-size: 14.5px;
  color: var(--fg2);
}

/* ── Vie privée ──────────────────────────────────────────────────────────── */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  margin-top: 56px;
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pillar {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.pillar .ic {
  font-size: 22px;
  color: var(--green);
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 16px;
}

.pillar p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--fg2);
  line-height: 1.5;
}

.flows {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  overflow: hidden;
}

.flows h3 {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.flows dl {
  margin: 0;
}

.flows dl > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.flows dl > div:last-child {
  border-bottom: 0;
}

.flows dt {
  font-weight: 600;
}

.flows dd {
  margin: 0;
  color: var(--fg2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--lav);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq {
  max-width: 820px;
  margin: 48px auto 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ic {
  font-size: 20px;
  color: var(--fg3);
  transition: transform 0.35s var(--spring);
}

.faq details[open] summary .ic {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--fg2);
}

.faq details p + p {
  margin-top: -12px;
}

/* ── Téléchargement ──────────────────────────────────────────────────────── */

.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 900px;
  height: 600px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.24), rgba(167, 139, 250, 0.08) 60%, transparent);
  filter: blur(40px);
}

.big-pill {
  display: grid;
  place-items: center;
  width: 220px;
  height: 84px;
  margin: 0 auto 56px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 60px -10px rgba(129, 140, 248, 0.6);
}

.wordmark {
  font-size: clamp(56px, 11vw, 120px);
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-right: -0.2em;
}

.final .lead {
  margin: 18px auto 0;
}

.req {
  margin-top: 20px;
  font-size: 14px;
  color: var(--fg3);
}

/* ── Pied de page ────────────────────────────────────────────────────────── */

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--fg2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.foot-grid p {
  margin-top: 14px;
  max-width: 300px;
}

.foot-grid h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.foot-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-grid a {
  text-decoration: none;
  transition: color 0.2s;
}

.foot-grid a:hover {
  color: var(--fg);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg3);
}

/* ── Pages de texte (confidentialité, mentions) ──────────────────────────── */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 150px var(--gutter) 96px;
}

.doc h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.doc .updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg3);
}

.doc h2 {
  margin: 56px 0 14px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: var(--fg2);
}

.doc p + p {
  margin-top: 14px;
}

.doc ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.doc li + li {
  margin-top: 8px;
}

.doc strong {
  color: var(--fg);
  font-weight: 600;
}

.doc a {
  color: var(--lav);
  text-underline-offset: 3px;
}

.doc table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.doc td {
  color: var(--fg2);
}

.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.16);
  color: var(--amber);
  font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1180px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .day,
  .agents,
  .privacy {
    grid-template-columns: 1fr;
  }

  .moods {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom {
    grid-template-columns: 1fr;
  }

  .custom > div {
    padding: 18px 0;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .doc th,
  .doc td {
    font-size: 14px;
  }

  .brand b,
  .nav .btn-primary span {
    display: none;
  }

  .nav .btn-primary {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .hero {
    padding-top: 150px;
  }

  .win-grid,
  .pillars,
  .cards4 {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flows dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .look-screen {
    grid-template-columns: 1fr;
  }

  .agent-screen {
    aspect-ratio: 4 / 5;
  }

  .agent-card {
    width: 94%;
    padding: 16px;
    gap: 12px;
  }

  .agent-card .eyes {
    margin-top: 22px;
  }

  .term {
    left: 5%;
    right: 5%;
    font-size: 11px;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media (max-width: 460px) {
  .mood {
    padding: 14px;
  }

  .mood .pill {
    height: 60px;
  }

  .mood .bino {
    transform: scale(0.8);
  }

  .mood .phones {
    transform: scale(0.82);
  }

  .stories button {
    width: 22px;
  }

  .mini-isl {
    transform: scale(0.86);
    transform-origin: 50% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .lyrics span:first-child,
  .swap > :first-child {
    opacity: 1;
  }
}

.doc code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font: 0.86em/1.5 var(--mono);
  color: var(--fg);
  word-break: break-all;
}
