/*
 * Accueil — sections sous le Hero (home-sections.jsx).
 * Tout passe par les jetons de design-system.css : encres, filets, rayons,
 * ombres, verre `.sky-glass`, couleur de l'IA, `--ds-ease-out`.
 */

/* `overflow-x: hidden` (styles.css) ferait de body un conteneur de défilement et casserait les sections épinglées. */
html, body { overflow-x: clip; }

:root { --hm-surface: #fff; }

.hm-root {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: var(--ds-ink);
  overflow-x: clip;
}

.hm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hm-section { padding: 140px 0; position: relative; }

.hm-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hm-title {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ds-ink);
  text-wrap: balance;
}

.hm-lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--ds-ink-muted);
  max-width: 580px;
  text-wrap: pretty;
}

/* Mot clé en couleur de marque, même police que le reste de la phrase. */
.hm-accent {
  padding-right: 0.06em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ds-ink-muted);
  background: rgb(255 255 255 / 0.75);
  border: 1px solid var(--ds-line);
  box-shadow: var(--ds-shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hm-eyebrow .hm-icon { color: var(--sky-accent-solid); }
.hm-eyebrow--dark {
  color: #fff;
  background: rgb(255 255 255 / 0.16);
  border-color: rgb(255 255 255 / 0.3);
}
.hm-eyebrow--dark .hm-icon { color: #fff; }

.hm-icon { display: block; flex: none; }

/* Apparition `enter` */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  filter: blur(6px);
  transition:
    opacity var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms),
    transform var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms),
    filter var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.hm-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--sky-accent-solid);
  border-radius: 2px;
  animation: caret 1s steps(1) infinite;
}
.hm-caret--done { animation-duration: 1.1s; }

.hm-stream-word {
  display: inline;
  animation: hm-word-in 420ms var(--ds-ease-out) both;
}
@keyframes hm-word-in {
  from { opacity: 0; filter: none; }
  to { opacity: 1; filter: none; }
}

.hm-spinner {
  display: inline-block;
  flex: none;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--sky-accent-solid) 22%, transparent);
  border-top-color: var(--sky-accent-solid);
  animation: hm-spin 0.8s linear infinite;
}
@keyframes hm-spin { to { transform: rotate(360deg); } }

/* ─── 1. Manifeste ─────────────────────────────────────────────── */
.hm-manifesto { position: relative; height: 210vh; }
.hm-manifesto__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hm-manifesto__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.hm-manifesto__text {
  font-size: clamp(32px, 4.6vw, 66px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 1080px;
  text-wrap: balance;
  color: var(--ds-ink);
}
.hm-manifesto__word {
  display: inline-block;
  white-space: pre;
  opacity: 0.2;
  will-change: opacity, transform;
}
.hm-manifesto__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.hm-manifesto__orb--a {
  width: 520px; height: 520px;
  left: -120px; top: 10%;
  background: rgb(var(--sky-glass-deep));
  transform: translate3d(calc(var(--p, 0) * 260px), calc(var(--p, 0) * -120px), 0);
}
.hm-manifesto__orb--b {
  width: 460px; height: 460px;
  right: -100px; bottom: 6%;
  background: color-mix(in srgb, var(--sky-accent-solid) 14%, white);
  transform: translate3d(calc(var(--p, 0) * -220px), calc(var(--p, 0) * 80px), 0);
}

/* ─── 2. Mode Auto ─────────────────────────────────────────────── */
.hm-auto { padding-top: 60px; }
.hm-auto__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.hm-auto__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hm-auto__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.hm-auto__choice {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.65);
  font: inherit;
  font-size: 15px;
  min-height: 50px;
  text-align: left;
}
.hm-auto__choice.is-selected {
  box-shadow: 0 0 0 2px var(--sky-accent-solid), var(--ds-shadow-accent);
}
.hm-auto__choice.is-selected > svg { color: var(--sky-accent-solid); }
.hm-auto__choice-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--sky-accent-solid);
  opacity: 0.6;
  transform-origin: left;
  transform: scaleX(0);
}
.hm-auto__choice-bar[data-phase="hold"] { animation: hm-bar 3.2s linear forwards; }
@keyframes hm-bar { to { transform: scaleX(1); } }

.hm-auto__stage-wrap { perspective: 1600px; }
.hm-auto__stage {
  position: relative;
  border-radius: var(--ds-radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 640px;
}
.hm-auto__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 8px 0 18px;
  border-radius: var(--ds-radius-bar);
  background: var(--hm-surface);
  box-shadow: var(--ds-shadow);
  font-size: 15px;
  color: var(--ds-ink);
}
.hm-auto__bar-plus { color: var(--ds-ink-subtle); }
.hm-auto__bar-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hm-auto__bar-auto {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-accent-solid);
  background: color-mix(in srgb, var(--sky-accent-solid) 9%, transparent);
  flex: none;
}
.hm-auto__bar-auto img { border-radius: 4px; }
.hm-auto__send {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ds-ink-subtle);
  flex: none;
  transition: background-color var(--ds-duration-ui) var(--ds-ease-out), transform var(--ds-duration-ui) var(--ds-ease-out);
}
.hm-auto__send.is-sent {
  background: var(--sky-accent-solid);
  box-shadow: var(--ds-shadow-accent);
  animation: hm-send 500ms var(--ds-ease-out);
}
@keyframes hm-send { 40% { transform: scale(0.88); } }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }
@keyframes hm-pulse {
  from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sky-accent-solid) 40%, transparent); }
  to { box-shadow: 0 0 0 26px color-mix(in srgb, var(--sky-accent-solid) 0%, transparent); }
}
@keyframes hm-bob {
  0%, 100% { transform: translate3d(0, -3px, 0); }
  50% { transform: translate3d(0, 3px, 0); }
}

.hm-auto__answer {
  min-height: 150px;
  border-radius: var(--ds-radius-window);
  padding: 18px 20px;
  background: rgb(255 255 255 / 0.7);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ds-ink);
  opacity: 0.6;
  transition: opacity var(--ds-duration-ui) var(--ds-ease-out), background-color var(--ds-duration-ui);
}
.hm-auto__answer.is-shown { opacity: 1; background: var(--hm-surface); box-shadow: var(--ds-shadow-sm); }
.hm-auto__thinking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ds-ink-subtle);
  font-size: 14px;
}
.hm-auto__image { display: flex; flex-direction: column; gap: 10px; position: relative; }
.hm-auto__image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--ds-radius-item);
  animation: hm-develop 1.8s var(--ds-ease-out) both;
}
.hm-auto__image-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 150px;
  border-radius: var(--ds-radius-item);
  background: linear-gradient(180deg, transparent 0%, rgb(255 255 255 / 0.7) 48%, transparent 52%);
  background-size: 100% 260%;
  animation: hm-scan 1.6s var(--ds-ease-out) both;
  pointer-events: none;
}
.hm-auto__image p { margin: 0; }
@keyframes hm-develop {
  from { filter: saturate(0.2) brightness(1.15); transform: scale(1.04); }
  to { filter: none; transform: none; }
}
@keyframes hm-scan {
  from { background-position: 0 100%; opacity: 1; }
  to { background-position: 0 0%; opacity: 0; }
}

/* ─── 3. Bento ─────────────────────────────────────────────────── */
.hm-bento { background: linear-gradient(180deg, var(--bg) 0%, rgb(var(--sky-glass-end)) 45%, var(--bg) 100%); }
.hm-bento__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.hm-bento__cell { grid-column: span 12; }

.hm-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  height: 100%;
  border-radius: var(--ds-radius-card);
  background: rgb(255 255 255 / 0.82);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.06), var(--ds-shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform var(--ds-duration-soft) var(--ds-ease-out), box-shadow var(--ds-duration-ui) var(--ds-ease-out);
}
.hm-card:hover { box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.08), var(--ds-shadow-float); }
.hm-card__spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--sky-accent-solid) 10%, transparent), transparent 60%);
  transition: opacity var(--ds-duration-ui) var(--ds-ease-out);
  z-index: 0;
}
.hm-card:hover .hm-card__spot { opacity: 1; }

.hm-feature { display: flex; flex-direction: column; }
.hm-feature__head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  padding: 26px 28px 0;
}
.hm-feature__head h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; color: var(--ds-ink); }
.hm-feature__head p { font-size: 15px; line-height: 1.45; color: var(--ds-ink-muted); margin-top: 3px; }
.hm-feature__icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: var(--ds-radius-item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-accent-solid);
  background: color-mix(in srgb, var(--sky-accent-solid) 9%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky-accent-solid) 14%, transparent);
}
.hm-feature__icon--lg { width: 52px; height: 52px; border-radius: 16px; }
.hm-feature__demo {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 300px;
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
}
.hm-bento__cell--tall .hm-feature__demo { min-height: 400px; }

/* Démo Chat */
@keyframes hm-pop {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.96); filter: none; }
  to { opacity: 1; transform: none; filter: none; }
}

/* Démo Apps */
.hm-skel {
  position: absolute;
  inset: 4px 40% 4px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.05));
  background-size: 200% 100%;
  animation: hm-shimmer 1.2s linear infinite;
  transition: opacity 300ms;
}
@keyframes hm-shimmer { to { background-position: -200% 0; } } /* ds-exception (vert « en ligne ») */

/* Démo Débats */

/* Démo Voix */
.hm-voice {
  flex: 1;
  border-radius: var(--ds-radius-window);
  background: radial-gradient(120% 90% at 50% 100%, #1d2b55 0%, #0b1022 70%); /* ds-exception (nuit de l'écran d'appel) */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.hm-voice__wave { width: 100%; height: 120px; } /* ds-exception */
.hm-voice__controls { display: flex; gap: 14px; margin-top: 4px; }
.hm-voice__btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-ink);
}
.hm-voice__btn--end { background: var(--ds-danger); color: #fff; box-shadow: 0 0 16px color-mix(in srgb, var(--ds-danger) 45%, transparent); }

/* Démo Images */

/* Démo Vidéo */

/* Démo Présentations */ /* ds-exception (couleurs de la diapo) */ /* ds-exception */ /* ds-exception */ /* ds-exception */
@keyframes hm-grow { from { height: 0; } }

/* ─── 4. Une journée ───────────────────────────────────────────── */
.hm-day { position: relative; height: 400vh; background: #0b1022; } /* ds-exception (nuit) */
.hm-day__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 44px;
}
.hm-day__sky { position: absolute; inset: 0; }
.hm-day__sky img, .hm-day__sky-dusk {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
}
.hm-day__sky-day { transform: translate3d(calc(var(--hm-travel, 0) * -3%), 0, 0) scale(1.04); }
.hm-day__sky-dusk {
  /* ds-exception : lumière du coucher de soleil */
  background: linear-gradient(180deg, rgb(64 52 140 / 0.55) 0%, rgb(255 120 90 / 0.5) 62%, rgb(255 190 120 / 0.55) 100%);
  opacity: var(--hm-dusk, 0);
  mix-blend-mode: multiply;
}
.hm-day__sky-night { opacity: var(--hm-night, 0); transform: translate3d(calc(var(--hm-travel, 0) * -3%), 0, 0) scale(1.04); }

.hm-day__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hm-day__head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hm-day__title { color: #fff; font-size: clamp(34px, 4.2vw, 58px); }
.hm-day__clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 16px;
  border-radius: 999px;
  color: var(--ds-ink);
  flex: none;
}
.hm-day__clock-icon { color: var(--sky-accent-solid); display: inline-flex; }
.hm-day.is-night .hm-day__clock-icon { color: #ffd60a; } /* ds-exception (lune) */
.hm-day__clock-time { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.hm-day__track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  width: max-content;
  transform: translate3d(calc(var(--hm-travel, 0) * var(--hm-day-shift, 0px) * -1), 0, 0);
  will-change: transform;
}
.hm-day__card {
  width: min(380px, 82vw);
  flex: none;
  border-radius: var(--ds-radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ds-ink);
  transition: background-image 600ms, border-color 600ms, box-shadow 600ms, color 600ms;
}
.hm-day__card.dark {
  --ds-ink: #ffffff;
  --ds-ink-muted: #d4d4d4;
  --ds-ink-subtle: #a3a3a3;
  border-color: rgb(128 128 136 / 0.35);
  background-image: linear-gradient(180deg, rgb(20 30 58 / 0.78) 0%, rgb(20 30 58 / 0.88) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 18px 40px -12px rgb(0 0 0 / 0.6);
}
.hm-day__card-top { display: flex; align-items: center; justify-content: space-between; }
.hm-day__card-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-accent-solid);
  background: rgb(255 255 255 / 0.75);
}
.hm-day__card.dark .hm-day__card-icon { background: rgb(255 255 255 / 0.1); color: #fff; }
.hm-day__card time { font-size: 15px; font-weight: 650; color: var(--ds-ink-muted); font-variant-numeric: tabular-nums; }
.hm-day__q {
  align-self: flex-end;
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 20px 20px 6px 20px;
  background: var(--sky-accent-solid);
  color: #fff;
  font-size: 15.5px;
  line-height: 1.4;
}
.hm-day__a { display: flex; gap: 10px; align-items: flex-start; }
.hm-day__a img { border-radius: 6px; margin-top: 2px; flex: none; }
.hm-day__a p { font-size: 15px; line-height: 1.55; color: var(--ds-ink); }
.hm-day__end {
  width: min(440px, 80vw);
  flex: none;
  display: flex;
  align-items: center;
}
.hm-day__end p { font-size: clamp(30px, 3.4vw, 46px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.hm-day__end .hm-accent {
  background: linear-gradient(90deg, #fff, rgb(var(--sky-glass-deep)));
  -webkit-background-clip: text;
  background-clip: text;
}
.hm-day__progress {
  position: relative;
  z-index: 1;
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
  height: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.25);
  overflow: hidden;
}
.hm-day__progress span {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(var(--hm-travel, 0));
}

/* ─── 5. Confiance ─────────────────────────────────────────────── */ /* ds-exception (teinte de carte) */ /* ds-exception (teinte de carte) */
@keyframes hm-float {
  0%, 100% { transform: translate3d(0, -8px, 0) rotate(-1deg); }
  50% { transform: translate3d(0, 8px, 0) rotate(1deg); }
}

/* ─── 6. FAQ ───────────────────────────────────────────────────── */
.hm-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.hm-faq__aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hm-faq__list { display: flex; flex-direction: column; gap: 10px; }
.hm-faq__item {
  border-radius: var(--ds-radius-menu);
  background: var(--hm-surface);
  box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.06), var(--ds-shadow-sm);
  transition: box-shadow var(--ds-duration-ui) var(--ds-ease-out), opacity var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms), transform var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms), filter var(--ds-duration-soft) var(--ds-ease-out) var(--d, 0ms);
}
.hm-faq__item.is-open { box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.08), var(--ds-shadow); }
.hm-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ds-ink);
  text-align: left;
  cursor: pointer;
  border-radius: var(--ds-radius-menu);
}
.hm-faq__q:focus-visible { outline: 2px solid var(--sky-accent-solid); outline-offset: 2px; }
.hm-faq__toggle {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-ink-muted);
  background: var(--ds-hover);
  transition: transform var(--ds-duration-ui) var(--ds-ease-out), background-color var(--ds-duration-ui), color var(--ds-duration-ui);
}
.hm-faq__item.is-open .hm-faq__toggle { transform: rotate(45deg); background: var(--sky-accent-solid); color: #fff; }
.hm-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--ds-duration-ui) var(--ds-ease-out);
}
.hm-faq__item.is-open .hm-faq__a { grid-template-rows: 1fr; }
.hm-faq__a > div { overflow: hidden; }
.hm-faq__a p {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ds-ink-muted);
  max-width: 640px;
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  transition: opacity var(--ds-duration-ui) var(--ds-ease-out), transform var(--ds-duration-ui) var(--ds-ease-out);
}
.hm-faq__item.is-open .hm-faq__a p { opacity: 1; transform: none; transition-delay: 80ms; }

/* ─── 7. Dernier appel ─────────────────────────────────────────── */
.hm-final { padding: 40px 16px 120px; }
.hm-final__card {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  min-height: 640px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ds-shadow-float);
}
.hm-final__sky { position: absolute; inset: 0; background: url('/backgrounds/hero-ciel-soleil-v3.webp') center / cover; }
.hm-final__sky video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.15 - var(--p, 0) * 0.1));
}
.hm-final__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 80px 24px;
  text-align: center;
  width: 100%;
}
/* Logo en blanc sur le ciel, avec la même ombre que le titre. */
.hm-final__logo {
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgb(var(--sky-ink) / 0.35));
}
.hm-final__title {
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hm-final__accent {
  font-family: var(--font-display-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.1em;
}
.hm-final__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(640px, 100%);
  height: 64px;
  padding: 0 7px 0 20px;
  border-radius: 999px;
  font-size: 15.5px;
  color: var(--ds-ink);
  text-align: left;
}
.hm-final__bar-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-final__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  background: var(--sky-accent-solid);
  box-shadow: var(--ds-shadow-accent), 0 10px 30px -8px color-mix(in srgb, var(--sky-accent-solid) 60%, transparent);
  transition: transform 300ms var(--ds-ease-out), background-color var(--ds-duration-snappy);
  flex: none;
}
.hm-final__cta:hover { background: color-mix(in srgb, var(--sky-accent-solid) 90%, black); }
.hm-final__cta:hover .hm-icon { transform: translateX(3px); }
.hm-final__cta .hm-icon { transition: transform var(--ds-duration-snappy) var(--ds-ease-out); }
.hm-final__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ─── 8. Pied de page ──────────────────────────────────────────── */
.hm-footer { position: relative; padding: 40px 0 0; overflow: hidden; }
.hm-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ds-line);
}
.hm-footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hm-footer__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ds-ink); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.hm-footer__brand p { font-size: 15px; line-height: 1.55; color: var(--ds-ink-muted); max-width: 300px; }
.hm-footer__trust { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-footer__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-ink-muted);
  background: var(--ds-hover);
}
.hm-footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hm-footer__nav h3 { font-size: 13px; font-weight: 650; color: var(--ds-ink); margin-bottom: 14px; }
.hm-footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hm-footer__nav a { font-size: 14px; color: var(--ds-ink-subtle); text-decoration: none; transition: color var(--ds-duration-snappy); }
.hm-footer__nav a:hover { color: var(--ds-ink); }
.hm-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 13px;
  color: var(--ds-ink-subtle);
} /* ds-exception (statut) */
.hm-footer__word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", sans-serif;
  font-size: clamp(90px, 21vw, 320px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-align: center;
  margin-bottom: -0.1em;
  background: linear-gradient(180deg, rgb(var(--sky-ink) / 0.12) 0%, rgb(var(--sky-ink) / 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ─── Tablette et téléphone ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hm-auto__grid, .hm-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hm-faq__aside { position: static; }
  .hm-footer__main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .hm-section { padding: 96px 0; }
  .hm-container { padding: 0 16px; }
  .hm-head { margin-bottom: 40px; }
  .hm-manifesto { height: 220vh; }
  .hm-auto__stage { padding: 14px; min-height: 0; }
  .hm-auto__bar { height: 52px; font-size: 14px; padding-left: 14px; }
  .hm-auto__bar-auto { display: none; }
  .hm-auto__choice { min-height: 46px; font-size: 14px; padding: 0 14px; }
  .hm-feature__head { padding: 22px 20px 0; }
  .hm-feature__demo { padding: 18px 20px 22px; min-height: 260px; }
  .hm-bento__cell--tall .hm-feature__demo { min-height: 340px; }
  .hm-day__head { flex-direction: column; align-items: flex-start; }
  .hm-day__clock { height: 46px; }
  .hm-day__clock-time { font-size: 20px; }
  .hm-day__sticky { gap: 28px; }
  /* Sur téléphone la carte dépasse l'écran : on les laisse se suivre au lieu de s'empiler. */
  .hm-faq__q { padding: 18px; font-size: 16px; }
  .hm-faq__a p { padding: 0 18px 18px; font-size: 15px; }
  .hm-final { padding: 24px 12px 80px; }
  .hm-final__card { min-height: 560px; border-radius: 32px; }
  .hm-final__bar { height: auto; flex-wrap: wrap; padding: 10px; border-radius: 28px; justify-content: center; }
  .hm-final__bar .hm-auto__bar-plus { display: none; }
  .hm-final__bar-text { flex-basis: 100%; text-align: center; padding: 6px 4px 2px; }
  .hm-final__cta { width: 100%; justify-content: center; }
  .hm-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* ─── Mouvements réduits ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: opacity 200ms linear; transform: none; filter: none; }
  .hm-card { transform: none; }
  .hm-stream-word, .hm-auto__image img { animation: ds-fade 200ms linear both; }
  .hm-auto__image-scan { display: none; }
  .hm-manifesto { height: auto; }
  .hm-manifesto__sticky { position: relative; height: auto; padding: 120px 0; }
  .hm-manifesto__orb { transform: none; }
}

/* ─── Améliorations : essai libre, invitations, progression ────── */
.hm-progress {
  position: fixed;
  left: 0; top: 0; right: 0;
  height: 3px;
  z-index: 10000;
  background: var(--sky-accent-solid);
  box-shadow: 0 0 10px color-mix(in srgb, var(--sky-accent-solid) 60%, transparent);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity var(--ds-duration-ui) var(--ds-ease-out);
  pointer-events: none;
}

.hm-auto__try {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  height: 58px;
  margin-top: 6px;
  padding: 0 7px 0 18px;
  border-radius: 999px;
  background: var(--hm-surface);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--sky-accent-solid) 30%, transparent), var(--ds-shadow);
  color: var(--sky-accent-solid);
  transition: box-shadow var(--ds-duration-ui) var(--ds-ease-out);
}
.hm-auto__try:focus-within, .hm-auto__try.is-active {
  box-shadow: 0 0 0 2px var(--sky-accent-solid), var(--ds-shadow-accent);
}
.hm-auto__try input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  color: var(--ds-ink);
}
.hm-auto__try input::placeholder { color: var(--ds-ink-subtle); }
.hm-auto__try button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  color: #fff;
  background: var(--sky-accent-solid);
  cursor: pointer;
  flex: none;
  transition: opacity var(--ds-duration-snappy), transform var(--ds-duration-snappy) var(--ds-ease-out);
}
.hm-auto__try button:disabled { opacity: 0.35; cursor: default; }
.hm-auto__try button:not(:disabled):hover { transform: translateX(2px); }

.hm-auto__invite { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hm-auto__invite-cta, .hm-day__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  background: var(--sky-accent-solid);
  box-shadow: var(--ds-shadow-accent);
  animation: hm-pop 420ms var(--ds-ease-out) 600ms both;
  transition: background-color var(--ds-duration-snappy);
}
.hm-auto__invite-cta:hover, .hm-day__cta:hover { background: color-mix(in srgb, var(--sky-accent-solid) 90%, black); }
.hm-day__end { flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.hm-day__cta { animation: none; }

.hm-day__typing { display: inline-flex; gap: 5px; padding-top: 8px; }
.hm-day__typing span {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--ds-ink-subtle);
  animation: hm-dot 1.2s ease-in-out infinite;
}
.hm-day__typing span:nth-child(2) { animation-delay: 0.15s; }
.hm-day__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes hm-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.hm-feature__head { align-items: flex-start; }
.hm-feature__head > div { flex: 1; min-width: 0; }

/* Barre du haut sur téléphone : le bouton tient en entier. */
@media (max-width: 480px) {
  .nav.nav--video-reveal .nav-cta { padding-left: 14px !important; padding-right: 14px !important; font-size: 13px !important; }
  .nav .nav-brand { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-day__typing span, .hm-auto__invite-cta { animation: none; }
}

/* ═══ Animations « Apple » (1 → 15) ═══════════════════════════════ */

/* 1. Vidéo du Hero qui grandit au centre */
.hm-hero-zoom {
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
  border-radius: 40px;
  transform: scale(0.88);
}

/* 2. Titres : chaque ligne monte de sous son masque */
.hm-title[data-reveal] { opacity: 1; transform: none; filter: none; }
.hm-line {
  display: block;
  overflow: clip;
  padding: 0.04em 0.12em 0.14em;
  margin: -0.04em -0.12em -0.14em;
}
.hm-line__inner {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform 900ms var(--ds-ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--l) * 110ms);
}
.is-in > .hm-line > .hm-line__inner { transform: none; }

/* 6. Orbite 3D */
/* 7. Halo qui pulse une fois autour de l'IA choisie */
@keyframes hm-ping {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.9); opacity: 0; }
}
/* 7. Particule lumineuse qui voyage du logo Chatflix vers l'IA */
@keyframes hm-travel {
  0% { left: 50%; top: 50%; opacity: 0; transform: scale(0.4); }
  20% { opacity: 1; transform: scale(1); }
  85% { left: var(--tx); top: var(--ty); opacity: 1; transform: scale(1); }
  100% { left: var(--tx); top: var(--ty); opacity: 0; transform: scale(2.2); }
}

/* 8. Pastille « Auto » qui devient le nom de l'IA */
.hm-auto__bar-auto {
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: content-box;
  transition: width 500ms var(--ds-ease-out), background-color var(--ds-duration-ui), color var(--ds-duration-ui);
}
.hm-auto__bar-auto-inner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  animation: hm-swap 420ms var(--ds-ease-out) both;
}
.hm-auto__bar-auto.is-picked { background: var(--sky-accent-solid); color: #fff; }
.hm-auto__bar-auto.is-picked img { background: #fff; border-radius: 999px; padding: 1px; }
@keyframes hm-swap {
  from { opacity: 0; filter: none; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; filter: none; transform: none; }
}

/* 9. Carte qui s'ouvre en grand */
.hm-feature { cursor: pointer; }
.hm-feature:focus-visible { outline: 2px solid var(--sky-accent-solid); outline-offset: 3px; }

.hm-sheet { position: fixed; inset: 0; z-index: 10001; }
.hm-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(var(--sky-ink) / 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 520ms var(--ds-ease-out);
}
.hm-sheet.is-open .hm-sheet__backdrop { opacity: 1; }
.hm-sheet__card {
  position: absolute;
  background: var(--hm-surface);
  box-shadow: var(--ds-shadow-float), 0 0 0 1px rgb(var(--sky-ink) / 0.06);
  overflow: hidden;
  transition:
    left 540ms var(--ds-ease-out),
    top 540ms var(--ds-ease-out),
    width 540ms var(--ds-ease-out),
    height 540ms var(--ds-ease-out);
}
.hm-sheet__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.hm-sheet__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 32px 0;
  min-width: 520px;
}
.hm-sheet__head h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.hm-sheet__head p { font-size: 16px; color: var(--ds-ink-muted); margin-top: 2px; }
.hm-sheet__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 32px 32px;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 360ms var(--ds-ease-out), transform 520ms var(--ds-ease-out);
}
.hm-sheet.is-open .hm-sheet__body { opacity: 1; transform: none; transition-delay: 220ms; }
.hm-sheet.is-closing .hm-sheet__body { transition-duration: 160ms; transition-delay: 0ms; }
.hm-sheet__demo { min-height: 440px; display: flex; flex-direction: column; border-radius: var(--ds-radius-window); background: rgb(var(--sky-glass-end)); padding: 22px; }
.hm-sheet__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hm-sheet__copy > p { font-size: 18px; line-height: 1.6; color: var(--ds-ink); }
.hm-sheet__copy ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hm-sheet__copy li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.hm-sheet__copy li .hm-icon { width: 22px; height: 22px; padding: 3px; border-radius: 999px; color: #fff; background: var(--sky-accent-solid); }
.hm-sheet__cta { animation: none; margin-top: 6px; }
.hm-sheet__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-ink);
  background: var(--ds-hover);
  cursor: pointer;
  transition: background-color var(--ds-duration-snappy), transform var(--ds-duration-snappy) var(--ds-ease-out);
}
.hm-sheet__close:hover { background: rgb(0 0 0 / 0.1); transform: rotate(90deg); }
@media (max-width: 760px) {
  .hm-sheet__head { min-width: 0; padding: 24px 20px 0; }
  .hm-sheet__head h3 { font-size: 24px; }
  .hm-sheet__body { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 22px; }
  .hm-sheet__demo { min-height: 340px; padding: 16px; }
}

/* 10. Reflet de verre qui glisse au survol */
.hm-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.55) 48%, rgb(255 255 255 / 0.1) 54%, transparent 64%);
  transform: translate3d(-110%, 0, 0);
}
.hm-card:hover::after { transform: translate3d(110%, 0, 0); transition: transform 1100ms var(--ds-ease-out); }

/* 11. Grille : vague diagonale, léger zoom */
.hm-bento__cell[data-reveal] { transform: translate3d(0, 24px, 0) scale(0.96); filter: none; }
.hm-bento__cell[data-reveal].is-in { transform: none; filter: none; }
.hm-bento__cell[data-reveal] { transition-duration: 800ms; }

/* 12. Soleil, lune et nuages à deux vitesses */
.hm-day__sun, .hm-day__moon {
  position: absolute;
  left: var(--sun-x, 8%);
  top: var(--sun-y, 78%);
  width: 110px; height: 110px;
  margin: -55px 0 0 -55px;
  border-radius: 999px;
  pointer-events: none;
}
.hm-day__sun {
  opacity: var(--sun-o, 1);
  background: radial-gradient(circle, #fffbe8 0%, #fff3c4 34%, rgb(255 214 120 / 0.55) 52%, rgb(255 200 90 / 0) 72%); /* ds-exception (soleil) */
  filter: blur(1px);
  mix-blend-mode: screen;
}
.hm-day__moon {
  left: var(--moon-x, 10%);
  top: var(--moon-y, 70%);
  width: 70px; height: 70px;
  margin: -35px 0 0 -35px;
  opacity: var(--moon-o, 0);
  background: radial-gradient(circle at 38% 36%, #ffffff 0%, #e8eefc 58%, #c9d6f2 100%); /* ds-exception (lune) */
  box-shadow: 0 0 40px 14px rgb(220 230 255 / 0.35), 0 0 120px 40px rgb(160 180 255 / 0.18);
}
.hm-day__cloud {
  position: absolute;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  filter: blur(28px);
  pointer-events: none;
  opacity: calc(0.85 - var(--hm-night, 0) * 0.55);
}
.hm-day__cloud--a { width: 520px; height: 120px; left: 60%; bottom: -30px; transform: translate3d(calc(var(--hm-travel, 0) * -70vw), 0, 0); }
.hm-day__cloud--b { width: 380px; height: 90px; left: 110%; bottom: 40px; transform: translate3d(calc(var(--hm-travel, 0) * -110vw), 0, 0); }
.hm-day__cloud--c { width: 640px; height: 140px; left: 140%; bottom: -50px; transform: translate3d(calc(var(--hm-travel, 0) * -150vw), 0, 0); }

/* 13. Chiffres qui roulent */
.hm-day__clock-time { display: inline-flex; align-items: center; line-height: 1; }
.hm-roll { display: inline-block; height: 1em; overflow: hidden; }
.hm-roll__strip {
  display: flex;
  flex-direction: column;
  transition: transform 520ms var(--ds-ease-out);
}
.hm-roll__strip span { display: block; height: 1em; line-height: 1; text-align: center; }
.hm-roll__colon { padding: 0 1px; transform: translateY(-0.06em); }

/* 14. Cartes empilées : la carte recouverte bascule en arrière et prend l'ombre de la suivante */

/* 15. Dernier appel : le ciel s'approche, le titre se met au point, le bouton respire, halo au clic */
.hm-final__sky video { transform: scale(calc(1.22 - var(--a, 1) * 0.22)); transition: transform 120ms linear; }
.hm-final__sky { filter: brightness(0.93); }
.hm-final__title.is-in {
  filter: none;
  letter-spacing: calc(-0.04em + (1 - var(--a, 1)) * 0.06em);
}
.hm-final__cta { animation: hm-breathe 3.2s ease-in-out 1.2s infinite; }
.hm-final__cta:hover { animation-play-state: paused; }
@keyframes hm-breathe {
  0%, 100% { box-shadow: var(--ds-shadow-accent), 0 10px 30px -8px color-mix(in srgb, var(--sky-accent-solid) 60%, transparent), 0 0 0 0 color-mix(in srgb, var(--sky-accent-solid) 0%, transparent); }
  50% { box-shadow: var(--ds-shadow-accent), 0 14px 36px -8px color-mix(in srgb, var(--sky-accent-solid) 70%, transparent), 0 0 0 7px color-mix(in srgb, #fff 45%, transparent); }
}
@keyframes hm-burst {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(60); opacity: 0; }
}

@media (max-width: 680px) {
  .hm-day__sun { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero-zoom { transform: none !important; border-radius: 24px !important; }
  .hm-line__inner { transform: none; transition: none; }
  .hm-card::after { display: none; }
  .hm-bento__cell[data-reveal] { transform: none; filter: none; }
  .hm-sheet__card, .hm-sheet__body, .hm-sheet__backdrop { transition: none; }
  .hm-final__cta { animation: none; }
  .hm-final__title.is-in { filter: none; letter-spacing: -0.04em; }
  .hm-roll__strip { transition: none; }
}

/* Logo Chatflix : noir sur fond clair, blanc sur fond bleu ou sombre (jamais en couleur). */
.hm-auto__bar-auto img, .hm-day__a img { object-fit: contain; border-radius: 0 !important; }
.hm-auto__bar-auto.is-picked img { background: none; padding: 0; }
.hm-day__card.dark .hm-day__a img { filter: brightness(0) invert(1); }
.hero-question-composer__auto-brand img { filter: brightness(0) invert(1); object-fit: contain; }

/* Icônes sans tuile : le glyphe seul, couleur du texte (plus de carré teinté). */
.hm-feature__icon,
.hm-feature__icon--lg,
.hm-day__card-icon {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ds-ink);
}
.hm-feature__head { gap: 12px; }
.hm-feature__head > .hm-feature__icon { margin-top: 2px; }
.hm-feature__head > .hm-feature__icon .hm-icon { width: 22px; height: 22px; }
.hm-feature__icon--lg .hm-icon { width: 30px; height: 30px; }
.hm-day__card-icon .hm-icon { width: 24px; height: 24px; }
.hm-day__card.dark .hm-day__card-icon { background: none; color: #fff; }
.hm-sheet__head { align-items: flex-start; }
.hm-sheet__head > .hm-feature__icon { margin-top: 6px; }

/* Logos d'IA flottants autour du manifeste */
.hm-floaters { position: absolute; inset: 0; pointer-events: none; }
.hm-floater {
  position: absolute;
  margin: 0;
  translate: -50% -50%;
  opacity: 0;
  will-change: transform, opacity;
}
.hm-floater img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgb(var(--sky-ink) / 0.18)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.06));
  animation: hm-drift 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.9s);
}
@keyframes hm-drift {
  0%, 100% { transform: translate3d(0, -6px, 0) rotate(-2deg); }
  50% { transform: translate3d(0, 6px, 0) rotate(2deg); }
}
@media (max-width: 680px) {
  .hm-floater { scale: 0.62; }
  .hm-floater--far { display: none; }
  .hm-floater:nth-child(5), .hm-floater:nth-child(6) { display: none; } /* logos du bord, coupés par l'écran */
}
@media (prefers-reduced-motion: reduce) {
  .hm-floater img { animation: none; }
}

/* ═══ Deuxième série d'animations ═════════════════════════════════ */

/* 1. Chiffres qui comptent */
.hm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 72px;
  text-align: center;
}
.hm-stats__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hm-stats__item strong {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ds-ink);
  font-variant-numeric: tabular-nums;
}
.hm-stats__item > span { font-size: 16px; color: var(--ds-ink-muted); max-width: 220px; }
@media (max-width: 680px) { .hm-stats { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 56px; } }

/* 2. Le mot en italique se trace comme à la plume */
.hm-lines .hm-accent {
  display: inline-block;
  clip-path: inset(-10% 100% -20% -2%);
  transition: clip-path 1100ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--d, 0ms) + var(--l) * 110ms + 380ms);
}
.is-in .hm-accent { clip-path: inset(-10% -6% -20% -2%); }

/* 3. Paragraphes qui s'éclairent de haut en bas */
.hm-lead.hm-lit {
  background: linear-gradient(180deg, var(--ds-ink-muted) var(--lit, 0%), rgb(0 0 0 / 0.16) calc(var(--lit, 0%) + 18%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 5. Indicateur de frappe dans le bouton d'envoi */
.hm-auto__send-dots { display: inline-flex; gap: 3px; }
.hm-auto__send-dots span {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: #fff;
  animation: hm-dot 1.1s ease-in-out infinite;
}
.hm-auto__send-dots span:nth-child(2) { animation-delay: 0.14s; }
.hm-auto__send-dots span:nth-child(3) { animation-delay: 0.28s; }

/* 6. Survol d'un logo de l'orbite */

/* 7. La nouvelle question arrive par le bas, l'ancienne est partie vers le haut */
.hm-auto__bar-text--in { animation: hm-rise 520ms var(--ds-ease-out) both; }
@keyframes hm-rise {
  from { opacity: 0; transform: translate3d(0, 70%, 0); filter: none; }
  to { opacity: 1; transform: none; filter: none; }
}

/* 8. Démos hors du centre : au ralenti et légèrement estompées */
.hm-feature__demo { transition: opacity 600ms var(--ds-ease-out), filter 600ms var(--ds-ease-out); }
.hm-feature__demo:not(.is-central) { opacity: 0.82; filter: saturate(0.75); }
@media (max-width: 680px) { .hm-feature__demo:not(.is-central) { opacity: 1; filter: none; } }

/* 9. Lueur bleue qui court le long du bord au survol */
@property --hm-edge {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.hm-card__edge {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--hm-edge), transparent 0deg, transparent 250deg, color-mix(in srgb, var(--sky-accent-solid) 85%, white) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms var(--ds-ease-out);
}
.hm-card:hover .hm-card__edge { opacity: 1; animation: hm-edge 2.6s linear infinite; }
@keyframes hm-edge { to { --hm-edge: 360deg; } }

/* 10. Les autres cartes reculent quand on en survole une */
.hm-bento__grid .hm-card { transition: transform var(--ds-duration-soft) var(--ds-ease-out), box-shadow var(--ds-duration-ui) var(--ds-ease-out), opacity 400ms var(--ds-ease-out), filter 400ms var(--ds-ease-out); }
@media (hover: hover) {
  .hm-bento__grid:has(.hm-card:hover) .hm-card:not(:hover) {
    opacity: 0.72;
    filter: saturate(0.7);
    transform: perspective(1200px) scale(0.985);
  }
}

/* 11. Étoiles qui s'allument à la nuit tombée */
.hm-day__stars { position: absolute; inset: 0; pointer-events: none; }
.hm-day__stars i {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 6px rgb(255 255 255 / 0.9);
  opacity: clamp(0, (var(--hm-night, 0) - var(--t)) * 5, 1);
  animation: hm-twinkle var(--tw) ease-in-out infinite;
}
@keyframes hm-twinkle { 0%, 100% { scale: 1; } 50% { scale: 0.45; } }

/* 12. La carte au centre se soulève */
.hm-day__card {
  transform: translate3d(0, calc(var(--lift, 0) * -14px), 0) scale(calc(0.96 + var(--lift, 0) * 0.06));
  z-index: calc(1 + round(var(--lift, 0) * 10));
  will-change: transform;
}

/* 13. Traits qui relient les souvenirs à la mascotte */

/* 14. FAQ : dépliage façon feuille iOS */
.hm-faq__a { transition: grid-template-rows 560ms cubic-bezier(0.32, 0.72, 0, 1); }
.hm-faq__toggle { transition: transform 560ms cubic-bezier(0.32, 0.72, 0, 1), background-color 300ms, color 300ms; }

@media (prefers-reduced-motion: reduce) {
  .hm-lines .hm-accent { clip-path: none; transition: none; }
  .hm-card__edge, .hm-day__stars i { animation: none; }
  .hm-auto__bar-text--in { animation: none; }
}

.hm-stats__item strong { white-space: nowrap; }
.hm-stats__item strong small { font-size: 0.42em; font-weight: 650; letter-spacing: -0.02em; margin-left: 0.08em; }

/* ═══ Mode Auto, mise en scène ════════════════════════════════════ */
.hm-auto__stage {
  transform: perspective(1600px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 700ms var(--ds-ease-out), box-shadow 600ms var(--ds-ease-out);
  overflow: hidden;
  isolation: isolate;
}
/* Lueur de la couleur de l'IA choisie, derrière l'anneau */
.hm-auto__stage.is-landed { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai) 22%, transparent), 0 30px 80px -30px color-mix(in srgb, var(--ai) 55%, transparent), var(--ds-shadow-float); }

/* La question part de la barre et file vers Chatflix */
@keyframes hm-packet {
  0% { transform: translate(var(--x0), var(--y0)) scale(0.5); opacity: 0; }
  15% { transform: translate(var(--x0), var(--y0)) scale(1.2); opacity: 1; }
  60% { transform: translate(calc((var(--x0) + var(--x1)) / 2 + 40px), calc((var(--y0) + var(--y1)) / 2)) scale(1); opacity: 1; }
  100% { transform: translate(var(--x1), var(--y1)) scale(0.3); opacity: 0; }
}
/* Chatflix « avale » la question : petite inspiration puis onde */
@keyframes hm-inhale {
  0% { scale: 1; }
  35% { scale: 0.86; }
  70% { scale: 1.08; }
  100% { scale: 1; }
}

/* Radar qui balaie l'anneau pendant le choix */

/* Flou de vitesse et recul des autres IA */
.hm-auto__stage { --ai: var(--sky-accent-solid); }

/* Verdict qui sort du logo choisi */

/* Réponse : brouillon qui scintille, puis la carte monte */
.hm-auto__skeleton { display: flex; flex-direction: column; gap: 12px; }
.hm-auto__skeleton i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.05), color-mix(in srgb, var(--ai) 22%, rgb(0 0 0 / 0.04)), rgb(0 0 0 / 0.05));
  background-size: 200% 100%;
  animation: hm-shimmer 1.1s linear infinite;
}
.hm-auto__skeleton i:nth-of-type(1) { width: 92%; }
.hm-auto__skeleton i:nth-of-type(2) { width: 78%; }
.hm-auto__skeleton i:nth-of-type(3) { width: 54%; }
.hm-auto__answer.is-shown { animation: hm-answer-in 620ms var(--ds-ease-out) both; }
@keyframes hm-answer-in {
  from { transform: translate3d(0, 18px, 0) scale(0.98); filter: none; opacity: 0.4; }
  to { transform: none; filter: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-auto__stage { transform: none; }
  .hm-auto__answer.is-shown, .hm-auto__skeleton i { animation: none; }
}

/* Journée : les cartes passent du verre clair au verre fumé en suivant la nuit, sans saut. */
.hm-day__card {
  --n: var(--hm-night, 0);
  --ds-ink: color-mix(in srgb, #ffffff calc(var(--n) * 100%), #171717);
  --ds-ink-muted: color-mix(in srgb, #d4d4d4 calc(var(--n) * 100%), #525252);
  --ds-ink-subtle: color-mix(in srgb, #a3a3a3 calc(var(--n) * 100%), #737373);
  position: relative;
  isolation: isolate;
  border-color: color-mix(in srgb, rgb(128 128 136 / 0.35) calc(var(--n) * 100%), rgb(255 255 255 / 0.9));
}
.hm-day__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(20 30 58 / 0.8) 0%, rgb(20 30 58 / 0.9) 100%); /* ds-exception (verre fumé de nuit) */
  opacity: var(--n);
  pointer-events: none;
}
.hm-day__card-icon { color: var(--ds-ink); }
.hm-day__a img { filter: brightness(0) invert(var(--n)); }

/* Confiance : chaque carte s'arrête centrée dans l'écran, sous le titre, et se voit en entier. */

/* Manifeste en plus grand */
.hm-manifesto__text {
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 1180px;
}

/* Mode Auto simplifié : points de navigation façon carrousel Apple */
.hm-auto__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.hm-auto__dot {
  position: relative;
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.16);
  cursor: pointer;
  overflow: hidden;
  transition: width 500ms var(--ds-ease-out), background-color 300ms;
}
.hm-auto__dot:hover { background: rgb(0 0 0 / 0.3); }
.hm-auto__dot.is-on { width: 44px; background: rgb(0 0 0 / 0.12); }
.hm-auto__dot.is-on span {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--ds-ink);
  transform-origin: left;
  transform: scaleX(0.12);
  transition: transform 400ms var(--ds-ease-out);
}
.hm-auto__dot.is-on span[data-phase="routing"] { transform: scaleX(0.35); }
.hm-auto__dot.is-on span[data-phase="answer"] { transform: scaleX(0.6); }
.hm-auto__dot.is-on span[data-phase="hold"] { transform: scaleX(1); transition: transform 3.2s linear; }
.hm-auto__stage { min-height: 0; }
.hm-auto__answer { min-height: 96px; font-size: 17px; }
.hm-auto__copy { gap: 24px; }
.hm-auto .hm-lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--ds-ink-muted); max-width: 440px; }
.hm-auto__choices[hidden] { display: none !important; }

/* ═══ Grille : démos épurées, détails animés ═══════════════════════ */
.hm-feature__head h3 { font-size: 24px; }
.hm-feature__head p { font-size: 16px; }

/* Chat : la réponse en cartes */
@keyframes hm-q-in {
  from { opacity: 0; transform: translate3d(30px, 20px, 0) scale(0.7); filter: none; }
  to { opacity: 1; transform: none; filter: none; }
}

/* Apps : construction, toucher, mise en ligne */ /* ds-exception (thème de l'app créée) */ /* ds-exception */
@keyframes hm-tap { 40% { transform: scale(0.82); } 100% { transform: scale(1); } } /* ds-exception */
@keyframes hm-confetti {
  from { transform: rotate(var(--a)) translateY(0) rotate(0); opacity: 1; }
  to { transform: rotate(var(--a)) translateY(-120px) rotate(400deg); opacity: 0; }
}

/* Débats : face à face et balance */

/* Voix : onde plus présente, état en deux mots */
.hm-voice { gap: 18px; }
.hm-voice__wave { height: 150px; }

/* ═══ Hero : fond de l'app et 10 animations ═══════════════════════ */
#section-hero { --hp: 0; --mx: 0; --my: 0; }

/* 1. Ouverture : le fond est déjà en place (pas d'arrivée animée) */
#section-hero .hero-background-media {
  background-size: cover;
  background-position: center;
  scale: 1;
  filter: saturate(1.25);
}
#section-hero.is-ready .hero-background-media {
  scale: calc(1 + var(--hp) * 0.22);
  filter: saturate(1.25);
}
#section-hero.is-scrolled .hero-background-media { transition: none; }

/* 2. Parallaxe du fond au pointeur */
#section-hero .hero-background-video {
  translate: calc(var(--mx) * -18px) calc(var(--my) * -12px + var(--hp) * 80px);
  filter: none;
}
/* Le suivi du pointeur ne s'anime qu'après sa première position : le fond ne glisse pas à l'arrivée. */
#section-hero[data-pointer] .hero-background-video { transition: translate 900ms var(--ds-ease-out); }
/* Le contenu (titre, barre, logos) suit aussi un peu le pointeur, dans l'autre sens que le fond : effet de profondeur. */
#section-hero .hero-foreground-inner { translate: calc(var(--mx) * 10px) calc(var(--my) * 6px); }
#section-hero[data-pointer] .hero-foreground-inner { transition: translate 900ms var(--ds-ease-out); }

/* Reflets de lumière autour du hero : halos doux qui dérivent (opacité et transform seulement). */
.hero-glints { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.hero-glints i {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.12) 55%, transparent 100%);
  animation: hero-glint-drift 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-glints i:nth-child(1) { display: none; } /* halo de gauche retiré */
.hero-glints i:nth-child(2) { width: 22vw; aspect-ratio: 1; right: 6vw; top: 34%; opacity: 0.7; animation-duration: 12s; animation-delay: -4s; }
.hero-glints i:nth-child(3) { width: 14vw; aspect-ratio: 1; left: 30%; bottom: 10%; opacity: 0.6; animation-duration: 18s; animation-delay: -9s; }
@keyframes hero-glint-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  50% { opacity: 0.9; }
  100% { transform: translate3d(4vw, -3vh, 0) scale(1.15); opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glints i { animation: none; }
}

/* 3. Premier défilement : on traverse le titre, les mots s'écartent et viennent vers nous */
.hero-fly {
  display: inline-block;
  translate: calc(var(--wx) * var(--hp) * 34vw) calc(var(--wy) * var(--hp) * 22vh);
  scale: calc(1 + var(--hp) * 1.4);
  opacity: calc(1 - var(--hp) * 1.5);
  filter: none;
  will-change: translate, scale, opacity;
}
.hero-headline { perspective: 800px; }

/* 4. La barre et les avis s'effacent en reculant, juste après le titre */
.hero-below-title {
  translate: 0 calc(var(--hp) * -60px);
  scale: calc(1 - var(--hp) * 0.08);
  opacity: calc(1 - var(--hp) * 1.9);
  filter: none;
}

/* 5. Reflet qui traverse « Super Intelligence » de temps en temps */
.hero-headline .hero-title-accent {
  background: linear-gradient(105deg, #fff 0%, #fff 42%, #d4e6ff 49%, #ffffff 52%, #fff 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px rgb(var(--sky-ink) / 0.16)) drop-shadow(0 0 14px rgb(255 255 255 / 0.22));
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
  animation: hero-sheen 6s var(--ds-ease-out) 3.2s infinite;
}
@keyframes hero-sheen {
  0% { background-position: 100% 0; }
  30%, 100% { background-position: 0% 0; }
}

/* 6. Une lumière fait le tour de la barre à son arrivée, puis le bouton respire */
.hero-question-composer__bar { position: relative; }
.hero-composer-edge {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--hm-edge), transparent 0deg, transparent 240deg, color-mix(in srgb, var(--sky-accent-solid) 90%, white) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-question-composer.is-on .hero-composer-edge { animation: hero-edge-once 2.2s var(--ds-ease-out) 500ms both; }
@keyframes hero-edge-once {
  0% { opacity: 0; --hm-edge: 0deg; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; --hm-edge: 720deg; }
}
.hero-question-composer.is-on .hero-question-composer__cta { animation: hm-breathe 3.4s ease-in-out 2.8s infinite; }

/* 7. Défilé des IA : se met en pause au survol, apparaît en glissant */
.hero-question-composer__providers:hover .hero-question-composer__provider-track { animation-play-state: paused; }
.hero-question-composer__providers { opacity: 0; translate: 0 8px; transition: opacity 700ms var(--ds-ease-out) 700ms, translate 700ms var(--ds-ease-out) 700ms; }
.hero-question-composer.is-on .hero-question-composer__providers { opacity: 1; translate: 0 0; }
.hero-question-composer__provider { transition: color 200ms; }
.hero-question-composer__provider:hover { color: #fff; }

/* 8. Avis : les étoiles se remplissent une à une, la note compte jusqu'à 4,4 */
.hero-trust-star-box { background: rgb(255 255 255 / 0.35); }
.hero-trust-star-fill { transform-origin: left; transform: scaleX(0); transition: transform 380ms var(--ds-ease-out); transition-delay: calc(300ms + var(--s) * 130ms); }
.hero-trust-row.is-on .hero-trust-star-fill { transform: scaleX(1); }
.hero-trust-row__avatar { transform: translate3d(-10px, 0, 0) scale(0.7); opacity: 0; transition: transform 500ms cubic-bezier(0.34, 1.4, 0.64, 1), opacity 300ms; }
.hero-trust-row.is-on .hero-trust-row__avatar { transform: none; opacity: 1; }
.hero-trust-row.is-on .hero-trust-row__avatar:nth-child(2) { transition-delay: 60ms; }
.hero-trust-row.is-on .hero-trust-row__avatar:nth-child(3) { transition-delay: 120ms; }
.hero-trust-row.is-on .hero-trust-row__avatar:nth-child(4) { transition-delay: 180ms; }
.hero-trust-row.is-on .hero-trust-row__avatar:nth-child(5) { transition-delay: 240ms; }
.hero-trust-row__score { font-variant-numeric: tabular-nums; }

/* 9. Indice de défilement : une petite souris en verre, disparaît dès qu'on descend */
.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(max(100svh, 760px) - 46px);
  translate: -50% 0;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 600ms var(--ds-ease-out);
}
.hero-scroll-cue.is-on { opacity: calc(1 - var(--hp) * 6); }
.hero-scroll-cue__mouse {
  display: block;
  width: 24px; height: 38px;
  margin: 0 auto;
  border-radius: 14px;
  border: 2px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 4px 18px rgb(var(--sky-ink) / 0.3);
  position: relative;
}
.hero-scroll-cue__mouse span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 99px;
  background: #fff;
  animation: hero-wheel 1.8s var(--ds-ease-out) infinite;
}
@keyframes hero-wheel {
  0% { opacity: 0; translate: 0 -2px; }
  30% { opacity: 1; }
  100% { opacity: 0; translate: 0 12px; }
}

/* 10. La vidéo de démo monte depuis le bas pendant qu'on traverse le titre */
/* La vidéo de démo monte plus vite que le défilement : elle quitte vite le ciel du haut de page. */
#hero-video-scroll-root { translate: 0 calc((1 - var(--hp)) * 60px - var(--hp) * 140px); }

@media (max-width: 680px) {
  .hero-fly { translate: calc(var(--wx) * var(--hp) * 24vw) calc(var(--wy) * var(--hp) * 12vh); scale: calc(1 + var(--hp) * 0.8); }
  .hero-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #section-hero .hero-background-media, #section-hero.is-ready .hero-background-media { scale: 1; filter: none; transition: none; }
  .hero-fly, .hero-below-title { translate: none; scale: none; opacity: 1; filter: none; }
  .hero-headline .hero-title-accent, .hero-scroll-cue__mouse span, .hero-question-composer.is-on .hero-composer-edge, .hero-question-composer.is-on .hero-question-composer__cta { animation: none; }
  .hero-trust-star-fill { transform: none; transition: none; }
  .hero-trust-row__avatar, .hero-question-composer__providers { transform: none; opacity: 1; translate: none; transition: none; }
}

/* ═══ Grille : aucune interaction, tout tourne en boucle ══════════ */
.hm-bento .hm-card,
.hm-bento .hm-card:hover { transform: none !important; cursor: default; box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.06), var(--ds-shadow); opacity: 1 !important; filter: none !important; }
.hm-bento .hm-card::after, .hm-bento .hm-card__spot, .hm-bento .hm-card__edge { display: none !important; }
.hm-bento .hm-feature__demo { opacity: 1 !important; filter: none !important; }

/* Images : 4 variantes qui se développent, une est retenue */
@keyframes hm-noise { to { background-position: 40px 0; } }
@keyframes hm-kb { from { scale: 1; } to { scale: 1.12; } }

/* Vidéo : clip + pellicule qui défile sous la tête de lecture */
@keyframes hm-blink { 50% { opacity: 0.25; } }
@keyframes hm-film { to { transform: translateX(-50%); } }

/* Présentations : vignettes + diapo qui se construit */
@keyframes hm-slide-in { from { transform: translate3d(40px, 0, 0) scale(0.92) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } } /* ds-exception (couleurs de la diapo) */ /* ds-exception */ /* ds-exception */ /* ds-exception */
@keyframes hm-cursor { 0% { translate: 30px 20px; opacity: 0; } 30% { opacity: 1; } 60% { translate: -40px -50px; } 70% { scale: 0.8; } 80%, 100% { scale: 1; translate: -40px -50px; opacity: 0; } }

/* Voix : chrono et anneaux */
.hm-voice__timer { position: absolute; top: 14px; font-size: 13px; font-weight: 650; color: rgb(255 255 255 / 0.6); font-variant-numeric: tabular-nums; }
.hm-voice__rings { position: absolute; left: 50%; top: 42%; pointer-events: none; }
.hm-voice__rings i { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 99px; border: 1.5px solid rgb(255 255 255 / 0.25); animation: hm-ripple 3s var(--ds-ease-out) infinite; }
.hm-voice__rings i:nth-child(2) { animation-delay: 1s; }
.hm-voice__rings i:nth-child(3) { animation-delay: 2s; }
@keyframes hm-ripple { from { scale: 0.4; opacity: 0.9; } to { scale: 2.6; opacity: 0; } }

/* Débat : tours */

@media (prefers-reduced-motion: reduce) {
  .hm-voice__rings i { animation: none; }
}

/* ─── Hero sur téléphone : le titre se replie, la barre et les avis tiennent dans l'écran ─── */
@media (max-width: 720px) {
  .hero-headline > span { white-space: normal; }
  .hero-headline { max-width: calc(100vw - 32px); }
}
@media (max-width: 520px) {
  .hero-question-composer { width: 100%; }
  .hero-question-composer__bar { min-width: 0; }
  .hero-question-composer__auto { display: none; }
  .hero-question-composer__placeholder { min-width: 0; flex: 1; font-size: 13px; }
  .hero-question-composer__cta { flex: none; padding-left: 14px !important; padding-right: 14px !important; font-size: 13.5px !important; white-space: nowrap; }
  .hero-trust-row { gap: 8px; transform: scale(0.88); transform-origin: center; max-width: 100%; }
  .hero-trust-row__avatar { width: 28px !important; height: 28px !important; }
}
/* Position des bulles (classe par bulle : le halo faussait :nth-of-type) */

/* ═══ Grille v3 : démos très animées, en boucle ═══════════════════ */
.hm-bento .hm-feature__demo { position: relative; overflow: hidden; border-radius: 0 0 var(--ds-radius-card) var(--ds-radius-card); }
.hm-bento .hm-feature__demo > * { position: relative; z-index: 1; }

/* Décor commun : deux halos qui dérivent, particules qui montent */
.hm3-amb { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.hm3-amb__blob { position: absolute; width: 60%; aspect-ratio: 1; left: -10%; top: 10%; border-radius: 99px; filter: blur(50px); background: color-mix(in srgb, var(--sky-accent-solid) 16%, transparent); animation: hm3-drift 11s ease-in-out infinite alternate; }
.hm3-amb__blob--b { left: auto; right: -15%; top: 40%; background: rgb(var(--sky-glass-deep) / 0.6); animation-duration: 14s; animation-direction: alternate-reverse; } /* ds-exception (teinte de la démo Apps) */
@keyframes hm3-drift { from { translate: 0 0; scale: 1; } to { translate: 40% -20%; scale: 1.25; } }
.hm3-amb b { position: absolute; bottom: -10px; left: calc(6% + var(--k) * 12%); width: 5px; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--sky-accent-solid) 45%, transparent); animation: hm3-rise calc(5s + var(--k) * 0.6s) linear calc(var(--k) * -0.9s) infinite; }
@keyframes hm3-rise { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 100% { translate: calc(sin(var(--k)) * 30px) -380px; opacity: 0; } }

/* ── Discuter ── */
@keyframes hm3-fly { from { opacity: 0; transform: translate3d(0, 120px, 0) scale(0.6); filter: none; } to { opacity: 1; transform: none; filter: none; } }
@keyframes hm3-pop { to { scale: 1; } }
@keyframes hm3-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes hm3-bounce { 0% { scale: 0.4; rotate: -20deg; } 100% { scale: 1; rotate: 0; } }
@keyframes hm3-sweep { to { transform: translateX(120%); } }
@keyframes hm3-like { 40% { scale: 1.45; rotate: -14deg; } 100% { scale: 1; rotate: 0; } }

/* ── Créer une app ── */
.hm3-app { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; min-height: 420px; transition: opacity 450ms; animation: ds-fade 400ms both; }
.hm3-app.is-leaving { opacity: 0; }
.hm3-app__code { position: absolute !important; left: 0; top: 0; z-index: 3 !important; display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: #11131a; box-shadow: var(--ds-shadow-float); font: 600 10.5px/1.4 var(--font-mono); color: #a5d6ff; opacity: 0; transform: translate3d(-20px, 10px, 0) rotate(-4deg); transition: all 600ms var(--ds-ease-out); } /* ds-exception (éditeur de code) */
.hm3-app[data-step="0"] .hm3-app__code { opacity: 1; transform: rotate(-4deg); }
.hm3-app__code code { white-space: pre; clip-path: inset(0 100% 0 0); animation: hm3-type 300ms steps(16) calc(var(--i) * 220ms) forwards; }
.hm3-app__code code:nth-child(2), .hm3-app__code code:nth-child(4) { color: #ffd38a; } /* ds-exception */
@keyframes hm3-type { to { clip-path: inset(0 0 0 0); } }
.hm3-app__cursor { width: 6px; height: 12px; background: #a5d6ff; animation: caret 1s steps(1) infinite; } /* ds-exception */
.hm3-app__steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hm3-app__steps span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ds-ink-subtle); background: var(--hm-surface); box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.08); transition: color 300ms, box-shadow 300ms; }
.hm3-app__steps i { width: 16px; height: 16px; border-radius: 99px; display: flex; align-items: center; justify-content: center; border: 1.5px dashed rgb(0 0 0 / 0.2); transition: all 400ms cubic-bezier(0.34, 1.5, 0.64, 1); }
.hm3-app__steps .is-run i { border: 2px solid color-mix(in srgb, var(--sky-accent-solid) 25%, transparent); border-top-color: var(--sky-accent-solid); animation: hm-spin 0.8s linear infinite; }
.hm3-app__steps .is-done { color: var(--ds-ink); }
.hm3-app__steps .is-done i { border: 0; background: var(--sky-accent-solid); color: #fff; scale: 1.1; }
.hm3-app__phone { position: relative; width: 196px; height: 320px; padding: 9px; border-radius: 40px; background: #0d0d0f; box-shadow: var(--ds-shadow-float), inset 0 0 0 2px #2a2a2e; transform: perspective(900px) rotateY(-18deg) rotateX(8deg) scale(0.9); transition: transform 1100ms var(--ds-ease-out); }
.hm3-app:not([data-step="0"]) .hm3-app__phone { transform: perspective(900px) rotateY(0) rotateX(0) scale(1); animation: hm3-float 5s ease-in-out 1.2s infinite; }
@keyframes hm3-float { 50% { translate: 0 -6px; } }
.hm3-app__island { position: absolute; left: 50%; top: 18px; width: 70px; height: 20px; margin-left: -35px; border-radius: 99px; background: #000; z-index: 3; transition: width 500ms cubic-bezier(0.34, 1.3, 0.64, 1), margin 500ms cubic-bezier(0.34, 1.3, 0.64, 1); }
.hm3-app[data-step="5"] .hm3-app__island { width: 150px; margin-left: -75px; }
.hm3-app__screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #fff6ee, #fff 55%); padding: 50px 12px 12px; display: flex; flex-direction: column; gap: 7px; color: #171717; } /* ds-exception (thème de l'app créée) */
.hm3-app__title { position: relative; height: 26px; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.hm3-app__title strong { font-size: 18px; letter-spacing: -0.03em; opacity: 0; transition: opacity 500ms 200ms; }
.hm3-app__title em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #ff8a4c; border-radius: 99px; padding: 1px 7px; scale: 0; transition: scale 400ms cubic-bezier(0.34, 1.6, 0.64, 1) 400ms; } /* ds-exception */
.hm3-app:not([data-step="0"]) .hm3-app__title strong { opacity: 1; }
.hm3-app:not([data-step="0"]) .hm3-app__title em { scale: 1; }
.hm3-app:not([data-step="0"]) .hm-skel { opacity: 0; }
.hm3-app__row { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); font-size: 12px; opacity: 0; transform: translate3d(30px, 0, 0); transition: all 550ms cubic-bezier(0.34, 1.3, 0.64, 1); transition-delay: calc(var(--i, 0) * 130ms + 250ms); }
.hm3-app:not([data-step="0"]) .hm3-app__row:not(.hm3-app__row--new) { opacity: 1; transform: none; }
.hm3-app__row--new { max-height: 0; padding-top: 0; padding-bottom: 0; transition-delay: 0ms; }
.hm3-app:is([data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) .hm3-app__row--new { opacity: 1; transform: none; max-height: 50px; padding-top: 7px; padding-bottom: 7px; background: #effaf3; animation: hm3-flash 1s ease-out; } /* ds-exception */
@keyframes hm3-flash { 0% { box-shadow: 0 0 0 3px #7ee0a8; } 100% { box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); } } /* ds-exception */
.hm3-app__row strong { flex: 1; }
.hm3-app__row small { color: #737373; font-size: 10.5px; }
.hm3-app__av { width: 24px; height: 24px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }
.hm3-app__add { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 99px; display: flex; align-items: center; justify-content: center; color: #fff; background: #ff8a4c; box-shadow: 0 8px 20px -6px rgb(255 138 76 / 0.7); scale: 0; transition: scale 500ms cubic-bezier(0.34, 1.6, 0.64, 1) 700ms; } /* ds-exception */
.hm3-app:not([data-step="0"]) .hm3-app__add { scale: 1; }
.hm3-app[data-step="2"] .hm3-app__add { animation: hm-tap 600ms var(--ds-ease-out) 500ms; }
.hm3-app__toast { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 16px; font-size: 11px; font-weight: 600; color: #fff; background: rgb(20 20 24 / 0.92); transform: translate3d(0, -70px, 0); transition: transform 600ms cubic-bezier(0.34, 1.3, 0.64, 1); z-index: 4; } /* ds-exception (notification iOS) */
.hm3-app[data-step="5"] .hm3-app__toast { transform: none; }
.hm3-app__finger { position: absolute; right: -10px; bottom: -50px; width: 34px; height: 34px; border-radius: 99px; background: rgb(255 255 255 / 0.75); box-shadow: 0 0 0 2px rgb(0 0 0 / 0.08), var(--ds-shadow); opacity: 0; transition: all 650ms var(--ds-ease-out); z-index: 5; }
.hm3-app[data-step="2"] .hm3-app__finger { opacity: 1; right: 26px; bottom: 26px; }
.hm3-app__publish { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 650; color: #fff; background: var(--sky-accent-solid); box-shadow: var(--ds-shadow-accent); transition: background-color 400ms, transform 400ms cubic-bezier(0.34, 1.5, 0.64, 1); }
.hm3-app:is([data-step="4"], [data-step="5"]) .hm3-app__publish { background: #248a3d; transform: scale(1.08); } /* ds-exception */

/* ── Débattre ── */
@keyframes hm3-word { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.8); filter: none; } to { opacity: 1; transform: none; filter: none; } }
@keyframes hm3-fly-side { from { opacity: 0; transform: translate3d(var(--from), 0, 0) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes hm3-vote { 0% { transform: translate(calc(sin(var(--k)) * 90px), -60px) scale(0); opacity: 0; } 30% { opacity: 1; transform: translate(calc(sin(var(--k)) * 60px), -40px) scale(1); } 100% { transform: translate(var(--tx), 26px) scale(0.4); opacity: 0; } }

/* ── Parler ── */
.hm3-voice { gap: 10px; min-height: 340px; justify-content: flex-start; padding-top: 16px; }
.hm3-voice__top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.hm3-voice .hm-voice__timer { position: static; }
.hm3-voice__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }
.hm3-voice__live i { width: 7px; height: 7px; border-radius: 99px; background: var(--ds-danger); animation: hm-blink 1.2s ease-in-out infinite; }
.hm3-voice__lang { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #fff; background: rgb(255 255 255 / 0.12); }
.hm3-voice__orb { position: relative; width: 54px; height: 54px; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: rgb(255 255 255 / 0.1); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15); animation: hm3-breathe 2.6s ease-in-out infinite; }
.hm3-voice__orb img { width: 24px; height: 24px; filter: invert(1); }
.hm3-voice.is-ai .hm3-voice__orb { box-shadow: 0 0 0 2px var(--sky-accent-solid), 0 0 30px color-mix(in srgb, var(--sky-accent-solid) 60%, transparent); }
@keyframes hm3-breathe { 50% { scale: 1.08; } }
.hm3-voice .hm-voice__wave { height: 90px; margin-top: -10px; }
.hm3-voice__eq { display: flex; align-items: center; gap: 3px; height: 26px; }
.hm3-voice__eq i { width: 3px; height: 100%; border-radius: 99px; background: rgb(255 255 255 / 0.55); transform-origin: center; animation: hm3-eq 0.7s ease-in-out calc(var(--k) * -0.11s) infinite alternate; }
.hm3-voice.is-ai .hm3-voice__eq i { background: color-mix(in srgb, var(--sky-accent-solid) 80%, white); }
@keyframes hm3-eq { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
.hm3-voice__subs { width: 100%; min-height: 54px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hm3-voice__line { margin: 0; font-size: 13px; color: rgb(255 255 255 / 0.45); transition: all 400ms; animation: hm3-word 500ms both; }
.hm3-voice__line.is-now { font-size: 16px; font-weight: 600; color: #fff; }

/* ── Images ── */
.hm3-img { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 300px; transition: opacity 400ms; animation: ds-fade 400ms both; }
.hm3-img.is-leaving { opacity: 0; }
.hm3-img__prompt { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; font-size: 14px; color: var(--ds-ink); background: var(--hm-surface); box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.08); white-space: nowrap; overflow: hidden; }
.hm3-img__prompt .hm-icon { color: var(--sky-accent-solid); animation: hm3-wiggle 1.4s ease-in-out infinite; }
@keyframes hm3-wiggle { 50% { rotate: 14deg; } }
.hm3-img__styles { display: flex; gap: 6px; }
.hm3-img__styles span { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ds-ink-subtle); background: rgb(0 0 0 / 0.04); transition: all 350ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.hm3-img__styles span.is-on { color: #fff; background: var(--sky-accent-solid); transform: scale(1.08); }
.hm3-img__grid { position: relative; flex: 1; min-height: 200px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.hm3-img__tile { position: relative; border-radius: 12px; overflow: hidden; background: rgb(var(--sky-glass)); transition: all 800ms cubic-bezier(0.34, 1.15, 0.64, 1); }
.hm3-img__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.3) brightness(1.2); scale: 1.15; opacity: 0; transition: filter 1500ms var(--ds-ease-out), scale 1500ms var(--ds-ease-out), opacity 400ms; transition-delay: calc(var(--i) * 170ms); }
.hm3-img:not([data-step="0"]):not([data-step="1"]) .hm3-img__tile img { opacity: 1; filter: none; scale: 1; }
.hm3-img__tile { background: linear-gradient(110deg, rgb(var(--sky-glass)) 30%, rgb(var(--sky-glass-end)) 50%, rgb(var(--sky-glass)) 70%); background-size: 200% 100%; animation: hm-shimmer 1.2s linear infinite; }
.hm3-img__noise { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0) 0 6px, rgb(255 255 255 / 0.28) 6px 7px); animation: hm-noise 1s linear infinite; opacity: 0; transition: opacity 600ms; }
.hm3-img[data-step="2"] .hm3-img__noise { opacity: 1; }
.hm3-img__ring { position: absolute; right: 7px; top: 7px; width: 24px; height: 24px; transform: rotate(-90deg); opacity: 0; transition: opacity 300ms; }
.hm3-img__ring circle { fill: none; stroke: #fff; stroke-width: 3.5; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.hm3-img[data-step="2"] .hm3-img__ring { opacity: 1; }
.hm3-img[data-step="2"] .hm3-img__ring circle { animation: hm-draw 1600ms var(--ds-ease-out) calc(var(--i) * 170ms) forwards; }
.hm3-img[data-step="3"] .hm3-img__tile:not(.is-pick) { opacity: 0.35; scale: 0.92; filter: grayscale(0.7); }
.hm3-img[data-step="3"] .hm3-img__tile.is-pick { box-shadow: 0 0 0 3px var(--sky-accent-solid), var(--ds-shadow-float); scale: 1.04; z-index: 2; }
.hm3-img:is([data-step="4"], [data-step="5"], [data-step="6"]) .hm3-img__tile:not(.is-pick) { opacity: 0; scale: 0.7; }
.hm3-img:is([data-step="4"], [data-step="5"], [data-step="6"]) .hm3-img__tile.is-pick { position: absolute; inset: 0; z-index: 3; box-shadow: var(--ds-shadow-float); }
.hm3-img:is([data-step="4"], [data-step="5"]) .hm3-img__tile.is-pick img { animation: hm-kb 5s ease-out both; }
.hm3-img[data-step="5"] .hm3-img__tile.is-pick img { filter: saturate(1.35) contrast(1.05); transition: filter 1200ms; }
.hm3-img__brush { position: absolute !important; z-index: 5 !important; left: 20%; top: 70%; width: 32px; height: 32px; border-radius: 99px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--sky-accent-solid); box-shadow: var(--ds-shadow-accent); opacity: 0; }
.hm3-img[data-step="5"] .hm3-img__brush { animation: hm3-brush 1.5s var(--ds-ease-out) both; }
@keyframes hm3-brush { 0% { opacity: 0; translate: 0 0; } 15% { opacity: 1; } 50% { translate: 120px -60px; } 85% { opacity: 1; translate: 60px -110px; } 100% { opacity: 0; translate: 60px -110px; } }
@keyframes hm3-spark { 0% { opacity: 0; scale: 0; rotate: 0; } 50% { opacity: 1; scale: 1.4; } 100% { opacity: 0; scale: 0.4; rotate: 90deg; } }
.hm3-img__badge { position: absolute !important; z-index: 5 !important; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 750; color: var(--ds-ink); background: rgb(255 255 255 / 0.9); box-shadow: var(--ds-shadow-sm); scale: 0; transition: scale 400ms cubic-bezier(0.34, 1.6, 0.64, 1); }
.hm3-img:is([data-step="4"], [data-step="5"]) .hm3-img__badge { scale: 1; }

/* ── Vidéo ── */
.hm3-vid { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.hm3-vid__screen { position: relative; flex: 1; min-height: 170px; border-radius: 16px; overflow: hidden; background: rgb(var(--sky-glass)); }
.hm3-vid__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hm-kb 8s ease-in-out infinite alternate; }
.hm3-vid__scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgb(255 255 255 / 0.35) 50%, transparent 52%); background-size: 100% 300%; animation: hm3-scanloop 3.5s linear infinite; mix-blend-mode: overlay; }
@keyframes hm3-scanloop { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.hm3-vid__rec, .hm3-vid__res { position: absolute; top: 9px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #fff; background: rgb(0 0 0 / 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hm3-vid__rec { left: 9px; }
.hm3-vid__res { right: 9px; }
.hm3-vid__rec i { width: 7px; height: 7px; border-radius: 99px; background: var(--ds-danger); animation: hm-blink 1.2s ease-in-out infinite; }
.hm3-vid__play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px; border-radius: 99px; display: flex; align-items: center; justify-content: center; color: #fff; background: rgb(255 255 255 / 0.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: hm3-playpulse 2.4s ease-in-out infinite; }
@keyframes hm3-playpulse { 0%, 100% { scale: 1; opacity: 0.9; } 50% { scale: 1.15; opacity: 0.6; } }
.hm3-vid__frames { position: absolute; left: 9px; right: 9px; bottom: 9px; height: 4px; border-radius: 99px; background: rgb(255 255 255 / 0.3); overflow: hidden; }
.hm3-vid__frames b { display: block; height: 100%; background: #fff; transform-origin: left; animation: hm-bar 6s linear infinite; }
.hm3-vid__tracks { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 5px 0; border-radius: 10px; background: #0d0d0f; overflow: hidden; } /* ds-exception (timeline) */
.hm3-vid__track--img { height: 38px; overflow: hidden; }
.hm3-vid__strip { display: flex; gap: 3px; width: max-content; height: 100%; animation: hm-film 12s linear infinite; }
.hm3-vid__strip img { height: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.hm3-vid__track--audio { display: flex; align-items: center; gap: 6px; height: 22px; padding-left: 6px; color: #7ee0a8; overflow: hidden; } /* ds-exception */
.hm3-vid__wave { display: flex; align-items: center; gap: 2px; height: 100%; width: max-content; animation: hm-film 6s linear infinite; }
.hm3-vid__wave i { width: 3px; height: var(--h); border-radius: 99px; background: #7ee0a8; opacity: 0.8; animation: hm3-eq 0.6s ease-in-out calc(var(--k) * -0.13s) infinite alternate; } /* ds-exception */
.hm3-vid__head { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px #fff; }

/* ── Présentations ── */
.hm3-deck { flex: 1; display: flex; gap: 10px; min-height: 260px; }
.hm3-deck__rail { display: flex; flex-direction: column; gap: 7px; width: 52px; flex: none; padding-top: 4px; }
.hm3-deck__thumb { display: flex; flex-direction: column; gap: 3px; padding: 6px; aspect-ratio: 16 / 11; border-radius: 6px; background: var(--hm-surface); box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.08); border-top: 3px solid var(--c); transition: box-shadow 300ms, transform 450ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.hm3-deck__thumb i { display: block; height: 3px; border-radius: 9px; background: rgb(0 0 0 / 0.1); }
.hm3-deck__thumb.is-on { box-shadow: 0 0 0 2px var(--sky-accent-solid); transform: scale(1.08) translateX(3px); }
.hm3-deck__add { height: 24px; border-radius: 6px; border: 1.5px dashed rgb(0 0 0 / 0.18); display: flex; align-items: center; justify-content: center; color: var(--ds-ink-subtle); animation: hm-blink 2s ease-in-out infinite; }
.hm3-deck__slide { position: relative; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; border-radius: 14px; background: #fff; box-shadow: var(--ds-shadow), 0 0 0 1px rgb(var(--sky-ink) / 0.06); animation: hm-slide-in 650ms cubic-bezier(0.34, 1.2, 0.64, 1) both; transition: transform 450ms var(--ds-ease-out), opacity 450ms; color: #171717; } /* ds-exception (diapo) */
.hm3-deck__slide.is-leaving { transform: translate3d(-30px, 0, 0) scale(0.92) rotate(-4deg); opacity: 0; }
.hm3-deck__band { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--deck); transform-origin: left; transform: scaleX(0.15); transition: transform 600ms var(--ds-ease-out), background-color 500ms; }
.hm3-deck__slide:not([data-step="0"]) .hm3-deck__band { transform: scaleX(1); }
.hm3-deck__slide strong { font-size: 17px; min-height: 22px; }
.hm3-deck__slide ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hm3-deck__slide li { display: flex; align-items: center; gap: 8px; }
.hm3-deck__slide li::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--deck); scale: 0; transition: scale 300ms cubic-bezier(0.34, 1.6, 0.64, 1) calc(var(--k) * 180ms); }
.hm3-deck__slide li b { display: block; height: 8px; border-radius: 99px; background: rgb(0 0 0 / 0.08); width: 0; transition: width 600ms var(--ds-ease-out) calc(var(--k) * 180ms + 100ms); }
.hm3-deck__slide:not([data-step="0"]) li::before { scale: 1; }
.hm3-deck__slide:not([data-step="0"]) li b { width: var(--w); }
.hm3-deck__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm3-deck__grid span { border-radius: 8px; scale: 0; rotate: -10deg; transition: scale 550ms cubic-bezier(0.34, 1.5, 0.64, 1), rotate 550ms cubic-bezier(0.34, 1.5, 0.64, 1); transition-delay: calc(var(--k) * 130ms); }
.hm3-deck__grid span:nth-child(1) { background: #fde68a; } /* ds-exception (couleurs de la diapo) */
.hm3-deck__grid span:nth-child(2) { background: #bfdbfe; } /* ds-exception */
.hm3-deck__grid span:nth-child(3) { background: #bbf7d0; } /* ds-exception */
.hm3-deck__grid span:nth-child(4) { background: #e9d5ff; } /* ds-exception */
.hm3-deck__slide:not([data-step="0"]) .hm3-deck__grid span { scale: 1; rotate: 0deg; }
.hm3-deck__chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-top: 16px; }
.hm3-deck__chart span { position: relative; flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--deck), color-mix(in srgb, var(--deck) 35%, white)); transition: height 750ms cubic-bezier(0.34, 1.3, 0.64, 1), background 500ms; transition-delay: calc(var(--k) * 130ms); }
.hm3-deck__chart em { position: absolute; left: 50%; top: -17px; translate: -50% 0; font-style: normal; font-size: 10px; font-weight: 750; color: #525252; opacity: 0; transition: opacity 300ms calc(600ms + var(--k) * 130ms); }
.hm3-deck__slide:not([data-step="0"]) .hm3-deck__chart span { height: var(--h); }
.hm3-deck__slide:not([data-step="0"]) .hm3-deck__chart em { opacity: 1; }
.hm3-deck__swatches { position: absolute; right: 12px; top: 16px; display: flex; gap: 4px; opacity: 0; transform: translateY(-6px); transition: all 400ms var(--ds-ease-out); }
.hm3-deck__swatches i { width: 12px; height: 12px; border-radius: 99px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgb(0 0 0 / 0.08); transition: scale 300ms cubic-bezier(0.34, 1.6, 0.64, 1); }
.hm3-deck__swatches i.is-on { scale: 1.35; }
.hm3-deck__slide[data-step="2"] .hm3-deck__swatches { opacity: 1; transform: none; }
.hm3-deck__cursor { position: absolute; right: 28%; bottom: 22%; width: 14px; height: 14px; border-radius: 99px; background: rgb(0 0 0 / 0.75); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.8); animation: hm-cursor 2.4s var(--ds-ease-out) infinite; }
.hm3-deck__toast { position: absolute; left: 50%; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 650; color: #fff; background: rgb(20 20 24 / 0.9); white-space: nowrap; translate: -50% 40px; opacity: 0; transition: all 500ms cubic-bezier(0.34, 1.3, 0.64, 1); } /* ds-exception (toast) */
.hm3-deck__slide[data-step="3"] .hm3-deck__toast { translate: -50% 0; opacity: 1; }

@media (max-width: 680px) {
  .hm3-app__code { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm3-amb, .hm3-img__noise, .hm3-img__brush, .hm3-vid__scan, .hm3-deck__cursor { display: none !important; }
  .hm3-voice__eq i, .hm3-vid__strip, .hm3-vid__wave, .hm3-vid__wave i, .hm3-voice__orb, .hm3-app__phone, .hm3-vid__screen video, .hm3-vid__play { animation: none !important; }
}

/* Décor : posé sur toute la carte (pas seulement la zone de démo), donc sans bord visible */
.hm-bento .hm-feature__demo { position: static; overflow: visible; }
.hm-bento .hm-feature__head { position: relative; z-index: 2; }
.hm-bento .hm-feature__demo > :not(.hm3-amb) { position: relative; z-index: 1; }
.hm3-amb { border-radius: inherit; }
.hm3-app { position: static !important; }
.hm3-app__code { left: 28px; top: 120px; }
/* Éditeur de code de la démo Apps : à gauche du téléphone, plus petit */
.hm3-app__code { left: 4% !important; top: 34% !important; width: 190px; transform-origin: left center; }
.hm3-app[data-step="0"] .hm3-app__code { transform: rotate(-4deg) scale(0.9) !important; }
.hm3-app__code code { display: block; }

/* ─── Hero : bloc centré en hauteur, voile d'ombre derrière pour la lisibilité ─── */
#section-hero .hero-first-screen {
  justify-content: center;
  padding-top: calc(max(24px, env(safe-area-inset-top, 0px)) + 58px + 24px);
  padding-bottom: 12vh;
}
.hero-foreground { isolation: isolate; }
.hero-foreground::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%; top: 46%;
  width: min(1200px, 110%);
  height: 130%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--sky-ink) / 0.34) 0%, rgb(var(--sky-ink) / 0.16) 55%, transparent 100%);
  filter: blur(30px);
  pointer-events: none;
  opacity: calc(1 - var(--hp, 0) * 1.6);
}
.hero-headline { text-shadow: 0 1px 2px rgb(var(--sky-ink) / 0.18), 0 4px 16px rgb(var(--sky-ink) / 0.12); }
.hero-headline .display-ink { text-shadow: 0 1px 2px rgb(var(--sky-ink) / 0.18), 0 4px 14px rgb(var(--sky-ink) / 0.12); }
/* Aura blanche, seulement derrière « l’Intelligence Artificielle ». */
.hero-headline .display-ink.hero-aura { font-style: italic; padding-right: 0.06em; text-shadow: 0 0 28px rgb(255 255 255 / 0.45), 0 0 64px rgb(255 255 255 / 0.25), 0 1px 2px rgb(var(--sky-ink) / 0.18); }
.hero-question-composer__provider { text-shadow: 0 1px 3px rgb(var(--sky-ink) / 0.25); }
.hero-question-composer__provider img { filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgb(var(--sky-ink) / 0.25)); }
.hero-trust-row { text-shadow: 0 1px 4px rgb(var(--sky-ink) / 0.22); }
/* Apparitions plus vives */
.hero-question-composer__providers { transition-duration: 450ms; transition-delay: 300ms; }
.hero-question-composer.is-on .hero-composer-edge { animation-delay: 200ms; animation-duration: 1.6s; }
.hero-trust-star-fill { transition-duration: 260ms; transition-delay: calc(120ms + var(--s) * 80ms); }

/* ═══ Sections épinglées : le défilement construit la scène ═══════ */
@media (min-width: 681px) and (prefers-reduced-motion: no-preference) {
  .hm-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }

  /* Mode Auto : plus épinglé, la scène apparaît entière à l'arrivée (voir .hm-auto plus bas). */
  .hm-auto .hm-pin { position: static; height: auto; overflow: visible; }

  /* ── Dernier appel (--p : 0 → 1 sur 230 vh) ── */
  .hm-final { height: 230vh; padding: 0; }
  .hm-final .hm-pin { padding: 24px 16px; }
  .hm-final__card {
    --g: clamp(0, calc(var(--p, 0) * 3.2), 1);
    width: 100%;
    min-height: min(760px, calc(100vh - 48px));
    transform: scale(calc(0.55 + var(--g) * 0.3));
    border-radius: calc(80px - var(--g) * 40px);
    will-change: transform;
  }
  .hm-final__sky video { transform: scale(calc(1.35 - var(--g) * 0.35)); transition: none; }
  .hm-final__logo-wrap[data-reveal] {
    --t: clamp(0, calc((var(--p, 0) - 0.18) * 7), 1);
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * -80px), 0) scale(calc(0.4 + var(--t) * 0.6)) rotate(calc((1 - var(--t)) * -40deg));
    filter: none; transition: none;
  }
  .hm-final__title[data-reveal], .hm-final__title.is-in { opacity: 1; transform: none; filter: none; transition: none; letter-spacing: -0.04em; }
  .hm-final__w {
    --t: clamp(0, calc((var(--p, 0) - 0.28 - var(--w) * 0.05) * 9), 1);
    display: inline-block;
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * 60px), 0) scale(calc(0.8 + var(--t) * 0.2));
    filter: none;
  }
  .hm-final__accent {
    --t: clamp(0, calc((var(--p, 0) - 0.46) * 8), 1);
    display: inline-block;
    opacity: var(--t);
    transform: scale(calc(1.8 - var(--t) * 0.8));
    filter: none;
  }
  .hm-final__bar[data-reveal] {
    --t: clamp(0, calc((var(--p, 0) - 0.56) * 7), 1);
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * 50px), 0);
    width: calc(min(640px, 100%) * (0.55 + var(--t) * 0.45));
    filter: none;
    transition: none;
  }

  /* ── Confiance : la carte monte en basculant, celle du dessous recule dans l'ombre ── */
  /* Contenu qui se pose quand la carte arrive */
}

/* Mots en italique bleu : apparaissent avec leur ligne (plus de tracé), légère aura bleue */
.hm-lines .hm-accent,
.is-in .hm-accent,
.hm-auto .hm-lines .hm-accent { clip-path: none !important; transition: none !important; }

/* Grille : fond toujours blanc (plus de halos de couleur ni de particules derrière les démos) */
.hm-bento .hm3-amb { display: none !important; }
.hm-bento .hm-card { background: var(--hm-surface) !important; }

/* ═══ Discuter et Débattre : grosses animations, très peu d'infos ═══ */
@keyframes hm4-rise { from { opacity: 0; transform: translate3d(0, 80px, 0) scale(0.6); filter: none; } to { opacity: 1; transform: none; filter: none; } }
/* Débattre : les deux mots tiennent dans la carte, un de chaque côté */

/* Performance : rien ne tourne dans les sections hors de l'écran */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* Téléphone : le dernier appel est aussi épinglé (la carte tient dans l'écran) */
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .hm-final .hm-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  /* ── Dernier appel (--p : 0 → 1 sur 230 vh) ── */
  .hm-final { height: 190vh; padding: 0; }
  .hm-final .hm-pin { padding: 24px 16px; }
  .hm-final__card {
    --g: clamp(0, calc(var(--p, 0) * 3.2), 1);
    width: 100%;
    min-height: min(620px, calc(100svh - 32px));
    transform: scale(calc(0.55 + var(--g) * 0.3));
    border-radius: calc(80px - var(--g) * 40px);
    will-change: transform;
  }
  .hm-final__sky video { transform: scale(calc(1.35 - var(--g) * 0.35)); transition: none; }
  .hm-final__logo-wrap[data-reveal] {
    --t: clamp(0, calc((var(--p, 0) - 0.18) * 7), 1);
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * -80px), 0) scale(calc(0.4 + var(--t) * 0.6)) rotate(calc((1 - var(--t)) * -40deg));
    filter: none; transition: none;
  }
  .hm-final__title[data-reveal], .hm-final__title.is-in { opacity: 1; transform: none; filter: none; transition: none; letter-spacing: -0.04em; }
  .hm-final__w {
    --t: clamp(0, calc((var(--p, 0) - 0.28 - var(--w) * 0.05) * 9), 1);
    display: inline-block;
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * 60px), 0) scale(calc(0.8 + var(--t) * 0.2));
    filter: none;
  }
  .hm-final__accent {
    --t: clamp(0, calc((var(--p, 0) - 0.46) * 8), 1);
    display: inline-block;
    opacity: var(--t);
    transform: scale(calc(1.8 - var(--t) * 0.8));
    filter: none;
  }
  .hm-final__bar[data-reveal] {
    --t: clamp(0, calc((var(--p, 0) - 0.56) * 7), 1);
    opacity: var(--t);
    transform: translate3d(0, calc((1 - var(--t)) * 50px), 0);
    width: calc(min(640px, 100%) * (0.55 + var(--t) * 0.45));
    filter: none;
    transition: none;
  }

}

/* Accessibilité : contour de focus clavier bien visible partout */
.hm-root :is(a, button, input):focus-visible,
#section-hero :is(a, button):focus-visible { outline: 2.5px solid var(--sky-accent-solid); outline-offset: 3px; }
.hm-root input:focus-visible { outline: none; }
.hm-auto__dot:focus-visible { outline-offset: 4px; }

/* ─── 6. Roue de sélection (façon iOS) : remplace l'orbite ─── */
.hm-wheel {
  position: relative;
  height: 300px;
  margin: 18px auto 4px;
  width: min(100%, 360px);
  perspective: 900px;
}
.hm-wheel__band {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 56px;
  margin-top: -28px;
  border-radius: 18px;
  background: rgb(var(--sky-ink) / 0.045);
  box-shadow: inset 0 0 0 1px rgb(var(--sky-ink) / 0.05);
  transition: background-color 600ms var(--ds-ease-out), box-shadow 600ms var(--ds-ease-out), scale 500ms cubic-bezier(0.32, 0.72, 0, 1);
}
.hm-wheel.is-landed .hm-wheel__band {
  background: var(--hm-surface);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai) 22%, transparent), 0 12px 32px -14px color-mix(in srgb, var(--ai) 55%, transparent);
}
.hm-wheel__band.is-absorbed { animation: hm-wheel-breathe 620ms cubic-bezier(0.32, 0.72, 0, 1); }
@keyframes hm-wheel-breathe { 40% { scale: 0.97 1.08; } }
.hm-wheel__drum {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.hm-wheel__row {
  --near: 0;
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 56px;
  margin-top: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(var(--sky-ink) / calc(0.38 + var(--near) * 0.6));
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.hm-wheel__row img { width: 26px; height: 26px; object-fit: contain; filter: grayscale(calc(1 - var(--near))); }
.hm-wheel__row.is-chosen { color: rgb(var(--sky-ink)); }
.hm-wheel__row.is-chosen img { filter: none; animation: hm-wheel-pop 520ms cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes hm-wheel-pop { 45% { scale: 1.22; } }
.hm-wheel.is-landed .hm-wheel__row:not(.is-chosen) { color: rgb(var(--sky-ink) / 0.22); transition: color 500ms var(--ds-ease-out); }
.hm-wheel__caption {
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--ds-ink-subtle);
}
.hm-wheel__caption span { display: inline-block; animation: hm-rise 520ms var(--ds-ease-out) both; }
/* La légende reste visible malgré le masque */
.hm-wheel { padding-bottom: 22px; height: 322px; }
.hm-wheel__drum {
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}
.hm-wheel__drum { bottom: 22px; }
.hm-wheel__band { top: calc(50% - 11px); }
@media (max-width: 680px) {
  .hm-wheel { height: 284px; }
  .hm-wheel__row { font-size: 18px; }
  .hm-wheel__row img { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-wheel__band.is-absorbed, .hm-wheel__row.is-chosen img, .hm-wheel__caption span { animation: none; }
}
html[data-theme="dark"] .hm-wheel__band { background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
html[data-theme="dark"] .hm-wheel.is-landed .hm-wheel__band { background: var(--hm-surface); }

/* ═══ Discuter et Débattre, langage iOS : calme, lisible, un seul mouvement à la fois ═══ */
.hm5-chat, .hm5-deb { --hm5-ease: cubic-bezier(0.32, 0.72, 0, 1); flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 360px; transition: opacity 500ms var(--hm5-ease); }
.hm5-chat.is-leaving, .hm5-deb.is-leaving { opacity: 0; }

.hm5-chat { gap: 10px; }
.hm5-chat__q {
  align-self: flex-end;
  max-width: 78%;
  padding: 9px 15px;
  border-radius: 20px 20px 6px 20px;
  font-size: 17px;
  line-height: 1.3;
  color: #fff;
  background: var(--sky-accent-solid);
  animation: hm5-in 600ms var(--hm5-ease) both;
}
@keyframes hm5-in { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
.hm5-chat__typing {
  align-self: flex-start;
  display: flex; gap: 4px;
  padding: 12px 14px;
  border-radius: 20px 20px 20px 6px;
  background: rgb(var(--sky-ink) / 0.06);
  opacity: 0; transform: scale(0.8); transform-origin: 0 100%;
  transition: opacity 300ms var(--hm5-ease), transform 400ms var(--hm5-ease);
  height: 0; padding-block: 0; overflow: hidden;
}
.hm5-chat[data-step="1"] .hm5-chat__typing { opacity: 1; transform: none; height: auto; padding-block: 12px; }
.hm5-chat__typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--ds-ink-subtle); animation: hm-dot 1.2s ease-in-out infinite; }
.hm5-chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.hm5-chat__typing i:nth-child(3) { animation-delay: 0.3s; }
.hm5-chat__a {
  align-self: stretch;
  border-radius: 16px;
  background: rgb(var(--sky-ink) / 0.04);
  overflow: hidden;
  opacity: 0;
  transition: opacity 400ms var(--hm5-ease);
}
.hm5-chat:not([data-step="0"]):not([data-step="1"]) .hm5-chat__a { opacity: 1; }
.hm5-chat__row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  font-size: 17px;
  opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity 450ms var(--hm5-ease), transform 550ms var(--hm5-ease);
}
.hm5-chat__row { position: relative; }
.hm5-chat__row + .hm5-chat__row::before { content: ''; position: absolute; top: 0; left: 46px; right: 0; height: 0.5px; background: rgb(var(--sky-ink) / 0.12); }
.hm5-chat__row.is-in { opacity: 1; transform: none; }
.hm5-chat__ico { color: var(--sky-accent-solid); display: flex; flex: none; }
.hm5-chat__row strong { font-weight: 600; color: var(--ds-ink); letter-spacing: -0.01em; }
.hm5-chat__row small { margin-left: auto; font-size: 15px; color: var(--ds-ink-subtle); }

.hm5-deb { align-items: stretch; gap: 26px; }
.hm5-deb__q { text-align: center; font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: var(--ds-ink); animation: hm5-in 700ms var(--hm5-ease) both; }
.hm5-deb__sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm5-deb__side {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 12px;
  border-radius: 18px;
  background: rgb(var(--sky-ink) / 0.04);
  opacity: 0; transform: translate3d(0, 12px, 0);
  transition: opacity 500ms var(--hm5-ease), transform 600ms var(--hm5-ease), background-color 500ms var(--hm5-ease);
}
.hm5-deb__side img { width: 28px; height: 28px; margin-bottom: 6px; }
.hm5-deb__side span { font-size: 13px; color: var(--ds-ink-subtle); }
.hm5-deb__side strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hm5-deb__side--for strong { color: var(--ds-side-for); }
.hm5-deb__side--against strong { color: var(--ds-side-against); }
.hm5-deb:not([data-step="0"]) .hm5-deb__side--for,
.hm5-deb:is([data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) .hm5-deb__side--against { opacity: 1; transform: none; }
.hm5-deb[data-step="1"] .hm5-deb__side--for, .hm5-deb[data-step="2"] .hm5-deb__side--against { background: var(--hm-surface); box-shadow: var(--ds-shadow), 0 0 0 1px rgb(var(--sky-ink) / 0.06); }
.hm5-deb__bar {
  position: relative; height: 8px; border-radius: 99px; overflow: hidden;
  background: var(--ds-side-against);
  opacity: 0; transition: opacity 400ms var(--hm5-ease);
}
.hm5-deb:is([data-step="3"], [data-step="4"]) .hm5-deb__bar { opacity: 1; }
.hm5-deb__bar b { position: absolute; inset: 0 auto 0 0; width: var(--share); background: var(--ds-side-for); transition: width 1100ms var(--hm5-ease); }
.hm5-deb__bar i { position: absolute; top: 0; bottom: 0; left: var(--share); width: 2px; margin-left: -1px; background: var(--hm-surface); transition: left 1100ms var(--hm5-ease); }
.hm5-deb__verdict { text-align: center; font-size: 15px; color: var(--ds-ink-muted); opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity 500ms var(--hm5-ease), transform 600ms var(--hm5-ease); }
.hm5-deb[data-step="4"] .hm5-deb__verdict { opacity: 1; transform: none; }
.hm5-deb__verdict strong { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.04em; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .hm5-chat__q, .hm5-deb__q { animation: none; }
  .hm5-chat__row, .hm5-deb__side, .hm5-deb__verdict { transform: none; }
  .hm5-deb__bar b, .hm5-deb__bar i { transition: none; }
}
html[data-theme="dark"] .hm5-chat__typing, html[data-theme="dark"] .hm5-chat__a, html[data-theme="dark"] .hm5-deb__side { background: rgb(255 255 255 / 0.06); }

/* Règles à classes construites dynamiquement (bento, confiance) */
.hm-bento__cell--7 { grid-column: span 7; }
.hm-bento__cell--5 { grid-column: span 5; }
.hm-bento__cell--4 { grid-column: span 4; }
@media (max-width: 1024px) {
  .hm-bento__cell--7, .hm-bento__cell--5 { grid-column: span 12; }
}
@media (max-width: 1024px) {
  .hm-bento__cell--4 { grid-column: span 6; }
}
@media (max-width: 1024px) {
  .hm-bento__cell--4:last-child { grid-column: span 12; }
}
@media (max-width: 680px) {
  .hm-bento__cell--4 { grid-column: span 12; }
}



.hm3-amb--orange .hm3-amb__blob { background: rgb(255 160 90 / 0.18); }
.hm3-amb--duo .hm3-amb__blob { background: color-mix(in srgb, var(--ds-side-for) 16%, transparent); }
.hm3-amb--duo .hm3-amb__blob--b { background: color-mix(in srgb, var(--ds-side-against) 16%, transparent); }
.hm3-voice__line--you::before { content: 'Toi · '; color: rgb(255 255 255 / 0.5); font-weight: 500; }
.hm3-voice__line--ai::before { content: 'Chatflix · '; color: color-mix(in srgb, var(--sky-accent-solid) 70%, white); font-weight: 500; }

/* ═══ Sobriété façon Apple : pas d'aura, pas de flou de transition, un seul mouvement par élément ═══ */
.hm-accent { filter: none !important; }
[data-reveal], .hm-bento__cell[data-reveal] { filter: none !important; }
.hm-auto__answer.is-shown { animation-name: hm-quiet-in; }
@keyframes hm-quiet-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
[class*="is-leaving"] { filter: none !important; }
/* Titres des cartes : une seule échelle partout */
.hm-feature__head h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.hm-feature__head p { font-size: 16px; line-height: 1.4; }
@media (max-width: 680px) {
  .hm-feature__head h3 { font-size: 21px; }
  .hm-feature__head p { font-size: 15px; }
}
.hero-accent-aura::before, .hero-accent-aura::after { display: none !important; }

/* Téléphone : corrections relevées au test en 390 px */
@media (max-width: 680px) {
  /* Les cartes Confiance se suivent simplement, sans décalage ni bascule */
  /* Bouton du dernier appel sur une ligne */
  .hm-final__cta { white-space: nowrap; }
  .hm-footer__nav { row-gap: 32px; padding-bottom: 28px; }
}

/* ═══ 5. Confiance — réécrite : trois cartes qui s'empilent (sticky CSS, aucun JS) ═══ */
.hm-trust__stack { display: flex; flex-direction: column; gap: 32px; }
.hm-trust__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: clamp(32px, 4vw, 64px);
  border-radius: var(--ds-radius-card);
  background: #fff;
  box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.06), var(--ds-shadow-float);
  overflow: hidden;
} /* ds-exception (fond de carte) */
.hm-trust__card--memory { background: radial-gradient(80% 110% at 100% 0%, #e6f0ff 0%, #fff 62%); }
.hm-trust__card--verify { background: radial-gradient(80% 110% at 100% 0%, #e6f6ea 0%, #fff 62%); }
.hm-trust__card--privacy { background: radial-gradient(80% 110% at 100% 0%, #efe9ff 0%, #fff 62%); }
.hm-trust__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hm-trust__copy h3 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.hm-trust__copy p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ds-ink-muted); max-width: 30ch; text-wrap: pretty; }
.hm-trust__copy ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-trust__copy li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ds-ink); }
.hm-trust__copy li .hm-icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 999px; color: #fff; background: var(--sky-accent-solid); }
.hm-trust__visual { position: relative; aspect-ratio: 1; max-height: 440px; width: 100%; display: flex; align-items: center; justify-content: center; }
.hm-trust__visual > img {
  width: 82%;
  height: auto;
  mix-blend-mode: multiply; /* l'illustration a un fond blanc */
  -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 75%, transparent 100%);
}
.hm-trust__chip, .hm-trust__logo {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: var(--ds-ink);
  white-space: nowrap;
}
.hm-trust__chip { padding: 9px 14px; font-size: 14px; font-weight: 600; }
.hm-trust__chip .hm-icon { color: var(--sky-accent-solid); }
.hm-trust__chip--0 { left: 0; top: 10%; }
.hm-trust__chip--1 { right: 0; top: 46%; }
.hm-trust__chip--2 { left: 6%; bottom: 8%; }
.hm-trust__logo { padding: 9px; }
.hm-trust__logo img { width: 28px; height: 28px; }
.hm-trust__logo .hm-icon { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; padding: 2px; border-radius: 999px; color: #fff; background: #248a3d; } /* ds-exception (validé) */
.hm-trust__logo--0 { left: 4%; top: 12%; }
.hm-trust__logo--1 { right: 4%; top: 18%; }
.hm-trust__logo--2 { right: 12%; bottom: 10%; }

/* Ordinateur : chaque carte s'arrête sous la barre et la suivante vient la recouvrir. */
@media (min-width: 900px) {
  .hm-trust__card {
    position: sticky;
    top: calc(max(96px, (100svh - 560px) / 2) + var(--i) * 16px);
    min-height: min(560px, calc(100svh - 140px));
  }
}
@media (max-width: 899px) {
  .hm-trust__card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 24px; }
  .hm-trust__visual { max-height: 340px; }
  .hm-trust__chip { font-size: 12.5px; padding: 7px 11px; }
}

/* ═══ Bento — démos épurées (hm6) : un sujet par carte, uniquement opacité et déplacement ═══ */
.hm6-chat, .hm6-app, .hm6-deb, .hm6-img, .hm6-deck, .hm6-voice, .hm6-vid {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 500ms var(--ds-ease-out), transform 500ms var(--ds-ease-out);
  animation: hm6-in 600ms var(--ds-ease-out) both;
}
.hm6-chat.is-out, .hm6-app.is-out, .hm6-deb.is-out, .hm6-img.is-out, .hm6-deck.is-out { opacity: 0; transform: translate3d(0, -10px, 0); }
@keyframes hm6-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* Discuter */
.hm6-chat { gap: 16px; padding: 0 4px; }
.hm6-chat__q {
  align-self: flex-end;
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 22px 22px 6px 22px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  background: var(--sky-accent-solid);
}
.hm6-chat__a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 88%;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ds-ink);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 500ms var(--ds-ease-out), transform 500ms var(--ds-ease-out);
}
.hm6-chat__a.is-in { opacity: 1; transform: none; }
.hm6-chat__a img { flex: none; width: 26px; height: 26px; margin-top: 1px; }

/* Créer une app */
.hm6-app { align-items: center; gap: 22px; }
.hm6-app__phone {
  width: min(240px, 80%);
  aspect-ratio: 9 / 16;
  max-height: 300px;
  padding: 26px 16px 16px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 0 0 7px var(--ds-ink), var(--ds-shadow-float);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hm6-app__title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.hm6-app__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgb(var(--sky-ink) / 0.04);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 500ms var(--ds-ease-out), transform 500ms var(--ds-ease-out);
}
.hm6-app__row.is-in { opacity: 1; transform: none; }
.hm6-app__row small { font-weight: 500; color: var(--ds-ink-muted); }
.hm6-app__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--sky-accent-solid);
  transition: background-color 400ms var(--ds-ease-out);
}
.hm6-app__pill.is-live { background: #248a3d; } /* ds-exception (validé) */

/* Débattre */
.hm6-deb { gap: 24px; padding: 0 8px; }
.hm6-deb__q { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.03em; text-align: center; }
.hm6-deb__sides {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 500ms var(--ds-ease-out);
}
.hm6-deb__sides.is-in { opacity: 1; }
.hm6-deb__sides span { display: inline-flex; align-items: center; gap: 8px; }
.hm6-deb__sides img { width: 22px; height: 22px; }
.hm6-deb__bar { position: relative; height: 8px; border-radius: 999px; background: rgb(var(--sky-ink) / 0.08); overflow: hidden; }
.hm6-deb__bar b {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--sky-accent-solid);
  transform-origin: left;
  transform: scaleX(var(--share));
  transition: transform 900ms var(--ds-ease-out);
}
.hm6-deb__bar { --share: 0.5; }
.hm6-deb__verdict { text-align: center; font-size: 15px; font-weight: 600; color: var(--ds-ink-muted); opacity: 0; transition: opacity 500ms var(--ds-ease-out) 300ms; }
.hm6-deb__verdict.is-in { opacity: 1; }

/* Parler */
.hm6-voice {
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  background: #0b1020; /* ds-exception (appel vocal) */
  overflow: hidden;
  min-height: 260px;
}
.hm6-voice .hm-voice__wave { width: 100%; height: 150px; }
.hm6-voice__line {
  font-size: 18px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.62);
  animation: hm6-in 600ms var(--ds-ease-out) both;
}
.hm6-voice__line.is-ai { color: #fff; }

/* Images */
.hm6-img { gap: 14px; }
.hm6-img__prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 15px;
  color: var(--ds-ink);
  background: rgb(var(--sky-ink) / 0.04);
}
.hm6-img__prompt .hm-icon { color: var(--sky-accent-solid); }
.hm6-img__frame {
  flex: 1;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  background: rgb(var(--sky-ink) / 0.05);
}
.hm6-img__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 700ms var(--ds-ease-out), transform 1600ms var(--ds-ease-out);
}
.hm6-img__frame.is-in img { opacity: 1; transform: none; }

/* Vidéo */
.hm6-vid video { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 18px; display: block; }

/* Présentations */
.hm6-deck__slide {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(var(--sky-ink) / 0.06), var(--ds-shadow-float);
  aspect-ratio: 4 / 3;
}
.hm6-deck__slide strong { min-height: 1.3em; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.hm6-deck__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm6-deck__grid span {
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 500ms var(--ds-ease-out), transform 500ms var(--ds-ease-out);
  transition-delay: calc(var(--k) * 90ms);
}
.hm6-deck__grid.is-in span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hm6-chat, .hm6-app, .hm6-deb, .hm6-img, .hm6-deck, .hm6-voice__line { animation: none; }
}

/* Vidéo de démo : un voile blanc pleine largeur monte avec elle et recouvre le ciel,
   pour que le fond blanc de la vidéo ne dessine pas de rectangle sur les nuages. */
#hero-video-scroll-root::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -140px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgb(255 255 255 / 0) 0, #fff 140px);
  pointer-events: none;
}

/* Confiance : vraie respiration avant et après la section (la règle d'origine a été retirée avec l'ancien CSS). */
.hm-trust { position: relative; padding: clamp(96px, 12vw, 160px) 0; background: var(--hm-page, transparent); }
.hm-trust .hm-head { margin-bottom: clamp(40px, 5vw, 64px); }
.hm-trust__copy p { max-width: 36ch; }


/* Apparition : l'état « visible » tient aussi par l'attribut data-in, que React ne réécrit pas. */
[data-reveal][data-in] { opacity: 1; transform: none; filter: none; }
.hm-bento__cell[data-reveal][data-in] { transform: none; }

/* FAQ : titre à gauche, qui reste centré verticalement dans l'écran pendant qu'on parcourt les questions. */
.hm-faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; max-width: none; margin: 0; align-items: start; }
.hm-faq__aside { position: sticky; top: calc(50vh - 140px); align-items: flex-start; text-align: left; }
@media (max-width: 899px) {
  .hm-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hm-faq__aside { position: static; }
}

/* Rayons de lumière (Light Rays, React Bits) : légers, depuis le coin haut droit du hero. */
.hero-rays { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; }
.hero-rays .light-rays { position: relative; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.hero-rays .light-rays__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
