/* Athreel — site vitrine (athreel.app)
   Une famille, Archivo (axe de largeur) : étroite et très grasse pour les titres et les chiffres, normale pour le texte.
   Couleurs de la marque : le violet du A, comme le thème par défaut de l'app (noir et violet). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(./archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(./archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'InterDigits';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./inter-digits.woff2) format('woff2');
}

:root {
  --night: #0e0b14;
  --night-2: #17121f;
  --night-3: #221b2e;
  --night-line: #2c2538;
  --on-night: #f3f0fa;
  --on-night-2: #b3abc4;
  --paper: #f3f2f7;
  --paper-2: #ffffff;
  --ink: #17121f;
  --ink-2: #4a4458;
  --line: #e1dde9;
  --violet: #6d3bf5;
  --violet-hi: #9b6bff;
  --grad: linear-gradient(135deg, #b03dff 0%, #3d10d6 100%);
  --lime: #c6ff3d;
  --red: #e5484d;
  --blue: #3b82f6;
  --yellow: #f5b82e;
  --green: #2fbf71;
  --bg: #08070d;
  --surface: #13111c;
  --hair: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--violet-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: var(--paper-2);
  color: var(--ink);
  z-index: 100;
  border-radius: 10px;
}
.skip:focus {
  left: 8px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Titres (étroits, très gras) ---------- */
.display,
h1,
h2,
h3 {
  font-stretch: 62%;
  font-weight: 860;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(56px, 9.2vw, 128px);
  line-height: 0.86;
  font-weight: 900;
}
h2 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.92;
}
h3 {
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1;
  font-weight: 820;
}
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 34em;
}
p {
  margin: 0;
  max-width: 38em;
}

/* ---------- En-tête ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 7, 13, 0.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--on-night);
  view-transition-name: top;
  transition:
    transform 0.55s var(--ease-out),
    background-color 0.4s,
    border-color 0.4s;
}
.top.is-hidden {
  transform: translateY(-101%);
}
.top.at-top {
  background-color: rgba(8, 7, 13, 0);
  border-bottom-color: transparent;
}
.nav a {
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-stretch: 100%;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.brand svg {
  width: 26px;
  height: auto;
}
.brand .reel {
  color: var(--violet-hi);
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-night-2);
}
.nav a:hover {
  color: var(--on-night);
}
.lang {
  display: inline-flex;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  padding: 2px;
}
.lang button {
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--on-night-2);
  background: none;
  border: 0;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--on-night);
  color: var(--night);
}
.top .cta-mini,
.page-hero .cta-mini {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7b4bff, #5f2ef0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 18px -8px rgba(109, 59, 245, 0.9);
  color: #fff;
  white-space: nowrap;
  transition: box-shadow 0.3s, transform 0.2s var(--ease-out);
}
.top .cta-mini:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 24px -8px rgba(139, 92, 255, 1);
}
.top .cta-mini:active {
  transform: scale(0.97);
}
.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--on-night);
  padding: 8px;
  cursor: pointer;
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--on-night);
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 110px);
}
.hero::before {
  /* une seule lueur, derrière le téléphone */
  content: '';
  position: absolute;
  right: -10%;
  top: 8%;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(139, 92, 255, 0.34), rgba(139, 92, 255, 0) 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 .line {
  display: block;
}
.hero h1 .proof {
  color: var(--lime);
}
.hero .lede {
  margin-top: 28px;
  color: var(--on-night-2);
}
.hero .lede strong {
  color: var(--on-night);
  font-weight: 700;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--night-line);
  background: var(--night-2);
  color: var(--on-night);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.store:hover {
  border-color: #4a3f60;
}
.store:active {
  transform: scale(0.98);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-night-2);
  line-height: 1.2;
}
.store b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.store[data-done] small {
  color: var(--lime);
}
.store.light {
  background: var(--paper-2);
  color: var(--ink);
  border-color: transparent;
}
.store.light small {
  color: var(--ink-2);
}
.store.light[data-done] small {
  color: var(--violet);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--on-night-2);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plate {
  width: 7px;
  height: 18px;
  border-radius: 2px;
  flex: none;
}

/* ---------- Téléphones (écrans de l'app recréés en HTML) ---------- */
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 11px;
  background: #1c1724;
  box-shadow:
    0 0 0 1px #3a3247,
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 18px 40px -20px rgba(109, 59, 245, 0.45);
  margin: 0 auto;
}
.phone .screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #0b0a10;
  color: #fff;
  font-stretch: 100%;
  font-size: 12px;
  line-height: 1.3;
}
.phone .island {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 88px;
  height: 24px;
  border-radius: 14px;
  background: #000;
  z-index: 3;
}
.phone .status {
  display: flex;
  justify-content: space-between;
  padding: 13px 24px 0 28px;
  font-size: 12px;
  font-weight: 700;
  height: 40px;
}
.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
}
.app-head .wm {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.app-head .wm span {
  color: #9b6bff;
}
.app-head .dots {
  display: flex;
  gap: 6px;
}
.app-head .dots i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #17151f;
  border: 1px solid #27242f;
}
.pills {
  display: flex;
  gap: 4px;
  padding: 0 12px 8px;
}
.pills span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 11px;
  color: #9c99a8;
}
.pills span.on {
  background: rgba(139, 92, 255, 0.16);
  color: #9b6bff;
}
.post {
  margin: 0 10px;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px 8px;
}
.av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  color: #fff;
  background: var(--grad);
  flex: none;
}
.post-head b {
  display: block;
  font-size: 12px;
}
.post-head small {
  color: #9c99a8;
  font-size: 10.5px;
}
.media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 20%, #2b2340 0%, #120f19 60%),
    #120f19;
}
.media svg.bar {
  position: absolute;
  inset: 22% 6% auto 6%;
  width: 88%;
}
.media .rec {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 10.5px;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 8px;
  border-radius: 8px;
}
.media .rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.reps {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11, 10, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.reps .ticks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.reps .ticks i {
  height: 6px;
  border-radius: 3px;
  background: #2b2638;
  transition: background 0.25s;
}
.reps .ticks i.on {
  background: var(--lime);
}
.reps .verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
}
.reps .verdict .ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #142000;
  background: var(--lime);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10.5px;
  opacity: 0;
  transition: opacity 0.3s;
}
.reps .verdict .ok.on {
  opacity: 1;
}
.post-actions {
  display: flex;
  gap: 14px;
  padding: 9px 4px 4px;
  color: #d9d5e3;
}
.post-actions svg {
  width: 20px;
  height: 20px;
}
.post-caption {
  padding: 0 4px;
  font-size: 11.5px;
  color: #d9d5e3;
}
.post-caption b {
  color: #fff;
}
.tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 50px;
  border-radius: 25px;
  background: rgba(23, 21, 31, 0.92);
  border: 1px solid #27242f;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}
.tabbar i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #3b3647;
}
.tabbar i.on {
  background: #9b6bff;
}
.tabbar .mid {
  width: 52px;
  height: 38px;
  border-radius: 14px;
  background: #8b5cff;
}

/* écran Séance */
.sc-title {
  font-weight: 900;
  font-size: 22px;
  padding: 2px 14px 10px;
  font-stretch: 100%;
}
.card {
  margin: 0 10px 10px;
  padding: 12px;
  border-radius: 18px;
  background: #17151f;
  border: 1px solid #27242f;
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 2px;
}
.week small {
  display: block;
  color: #9c99a8;
  font-weight: 700;
  font-size: 9.5px;
  margin-bottom: 4px;
}
.week i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border-radius: 50%;
  background: #25222f;
  font-style: normal;
  font-weight: 800;
  font-size: 10px;
  color: #9c99a8;
}
.week i.done {
  background: var(--lime);
  color: #142000;
}
.week i.plan {
  background: rgba(139, 92, 255, 0.14);
  box-shadow: inset 0 0 0 2px #8b5cff;
  color: #fff;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.16);
  color: #b39bff;
  font-weight: 800;
  font-size: 10.5px;
}
.today h4 {
  margin: 8px 0 2px;
  font-size: 19px;
  font-weight: 900;
  font-stretch: 100%;
}
.today p {
  color: #9c99a8;
  font-size: 11px;
}
.btn-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  height: 36px;
  border-radius: 12px;
  background: #8b5cff;
  font-weight: 900;
  font-size: 13px;
}
.tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 4px;
  text-align: center;
}
.tools span {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #d9d5e3;
}
.tools span i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(139, 92, 255, 0.16);
}

/* écran Shop */
.chips {
  display: flex;
  gap: 5px;
  padding: 0 12px 10px;
}
.chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #17151f;
  border: 1px solid #27242f;
  font-weight: 800;
  font-size: 10.5px;
}
.chips span.on {
  background: #8b5cff;
  border-color: #8b5cff;
}
.shops {
  display: flex;
  gap: 10px;
  padding: 0 12px 10px;
}
.shops span {
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 800;
}
.shops span i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0b0a10, 0 0 0 3.5px #8b5cff;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
}
.prod .img {
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.prod .img em {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 6px;
}
.prod b {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
}
.prod small {
  font-weight: 900;
  font-size: 12px;
}

/* ---------- Sections ---------- */
section {
  scroll-margin-top: 70px;
}
.sec {
  padding: clamp(80px, 11vw, 150px) 0;
}
.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head p {
  color: var(--ink-2);
}
.dark {
  background: var(--night);
  color: var(--on-night);
}
.dark .sec-head p,
.dark .muted {
  color: var(--on-night-2);
}

/* Fonctions : rangées texte / téléphone en alternance */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(72px, 10vw, 140px);
}
.feature.flip .text {
  order: 2;
}
.feature .text {
  display: grid;
  gap: 18px;
  align-content: center;
}
.feature .text p {
  color: var(--ink-2);
}
.points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 10px;
}
.points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--violet);
}
.phone-stage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: var(--night);
  position: relative;
  overflow: hidden;
}
.phone-stage::after {
  content: '';
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(139, 92, 255, 0.35), transparent);
}
.phone-stage .phone {
  z-index: 1;
  width: 270px;
}

/* Aussi dans l'app */
.also {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.also div {
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--line);
}
.also b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.also span {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Pros */
.pros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pro {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 28px;
  border: 1px solid transparent;
  background:
    linear-gradient(#13111c, #13111c) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 60%) border-box;
  display: grid;
  gap: 16px;
  align-content: start;
}
.pro-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(160deg, #2b2442, #16131f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(139, 92, 255, 0.28);
}
.pro-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #dccfff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pro .who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pro .who .plate {
  height: 30px;
  width: 9px;
}
.pro p {
  color: var(--on-night-2);
}
.pro .points li {
  color: var(--on-night);
}
.pro .points li::before {
  background: var(--violet-hi);
}
.mini {
  margin-top: 6px;
  border-radius: 18px;
  background: var(--night);
  border: 1px solid var(--night-line);
  padding: 14px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.mini .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--night-2);
}
.mini .row time,
.mini .row .num {
  font-stretch: 75%;
  font-weight: 850;
  font-size: 17px;
  min-width: 52px;
  font-variant-numeric: tabular-nums;
}
.mini .row .grow {
  flex: 1;
  min-width: 0;
}
.mini .row small {
  display: block;
  color: var(--on-night-2);
  font-size: 12.5px;
}
.tag {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  color: var(--violet-hi);
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pro-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* Le projet : frise datée (vraie chronologie) */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 150px 22px minmax(0, 1fr);
  gap: 0 22px;
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: calc(150px + 22px + 10px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline li:first-child::before {
  top: 14px;
}
.timeline li:last-child::before {
  bottom: calc(100% - 14px);
}
.timeline time {
  grid-column: 1;
  font-stretch: 75%;
  font-weight: 850;
  font-size: 20px;
  line-height: 1.3;
  text-align: right;
  padding-top: 2px;
}
.timeline .mark {
  grid-column: 2;
  position: relative;
  z-index: 1;
  width: 9px;
  height: 22px;
  border-radius: 3px;
  margin: 4px auto 0 12px;
}
.timeline .what {
  grid-column: 3;
  padding-bottom: 38px;
}
.timeline .what b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}
.timeline .what span {
  color: var(--ink-2);
}
.stack {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}
.stack b {
  font-weight: 800;
  margin-right: 6px;
}
.stack span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split .sec-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}
.big-num {
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.8;
  color: var(--violet);
  letter-spacing: -0.03em;
}

/* Pied de page : colonnes de liens, puis le nom en très grand */
.foot {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--on-night-2);
  padding: 80px 0 0;
  border-top: 1px solid var(--hair);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}
.foot .brand {
  color: var(--on-night);
}
.foot-brand p {
  margin-top: 16px;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.5;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.foot-cols b {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(243, 240, 250, 0.45);
}
.foot-cols a {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: #e9e4f7;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.foot-cols a:hover {
  color: #fff;
}
.foot-legal {
  padding-top: 56px;
  font-size: 13px;
  color: rgba(243, 240, 250, 0.4);
}
.foot-word {
  margin: 28px 0 -5.6vw;
  font-stretch: 62%;
  font-weight: 900;
  font-size: 26vw;
  line-height: 0.78;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Message « Bientôt disponible » */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  translate: -50% 20px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s, translate 0.25s;
  max-width: calc(100vw - 32px);
}
.toast.on {
  opacity: 1;
  translate: -50% 0;
}

/* ---------- Pages légales et contact ---------- */
.page-hero {
  background: var(--night);
  color: var(--on-night);
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 64px);
}
.page-hero h1 {
  font-size: clamp(48px, 7vw, 92px);
}
.page-hero p {
  margin-top: 18px;
  color: var(--on-night-2);
}
.page-hero.narrow .wrap {
  max-width: 820px;
}
.doc {
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
}
.doc .wrap {
  max-width: 820px;
}
.doc h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin: 48px 0 14px;
}
.doc h2:first-child {
  margin-top: 0;
}
.doc h3 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.doc p,
.doc li {
  color: var(--ink-2);
}
.doc p + p {
  margin-top: 12px;
}
.doc ul {
  padding-left: 20px;
  margin: 12px 0;
  display: grid;
  gap: 8px;
}
.doc strong {
  color: var(--ink);
}
.doc a {
  color: var(--violet);
  font-weight: 700;
}
.doc .updated {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 32px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th {
  color: var(--ink);
  font-weight: 800;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
}
.contact-card b {
  font-size: 20px;
  font-weight: 800;
}
.contact-card p {
  color: var(--ink-2);
}
.contact-card a.big {
  font-stretch: 75%;
  font-weight: 850;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--violet);
  text-decoration: none;
  word-break: break-all;
}
.contact-card a.big:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
[lang-block][hidden] {
  display: none !important;
}

/* ---------- Apparition au chargement (une seule fois) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line {
    opacity: 0;
    transform: translateY(0.35em);
    animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .hero h1 .line:nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero h1 .line:nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero .phone {
    opacity: 0;
    transform: translateY(24px) rotate(2deg);
    animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Petits écrans ---------- */
@media (max-width: 980px) {
  .nav,
  .top .cta-mini {
    display: none;
  }
  .burger {
    display: block;
  }
  .top.open .nav {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid var(--night-line);
    padding: 8px var(--pad) 18px;
  }
  .top.open .nav a {
    padding: 12px 0;
    font-size: 17px;
  }
  .hero .wrap,
  .feature,
  .split,
  .band .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature.flip .text {
    order: 0;
  }
  .split .sec-head {
    position: static;
  }
  .pros,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .also {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .band .stores {
    justify-content: flex-start;
  }
  .foot .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot nav {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .also {
    grid-template-columns: minmax(0, 1fr);
  }
  .timeline li {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .timeline li::before {
    left: 10px;
  }
  .timeline time {
    grid-column: 2;
    text-align: left;
    font-size: 17px;
  }
  .timeline .mark {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 4px 0 0 6px;
  }
  .timeline .what {
    grid-column: 2;
  }
  .store {
    min-width: 0;
    flex: 1 1 200px;
  }
  .lang {
    display: none;
  }
}

/* ---------- Compte (en-tête) ---------- */
.top .account {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top .acc-login {
  color: var(--on-night-2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.top .acc-login:hover {
  color: var(--on-night);
}
@media (max-width: 980px) {
  .top .account {
    margin-left: auto;
  }
  .top .account .cta-mini {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13px;
  }
  .top .acc-login {
    display: none;
  }
  .burger {
    margin-left: 4px;
  }
}
@media (max-width: 420px) {
  .top .lang {
    display: none;
  }
}
@media (max-width: 420px) {
  .top.open .lang {
    display: flex;
    position: absolute;
    top: 72px;
    right: var(--pad);
    z-index: 2;
  }
}

/* ---------- Page compte ---------- */
.acc-body {
  background: #0b0a10;
  color: var(--on-night);
}
.acc {
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(109, 59, 245, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(198, 255, 61, 0.06), transparent 70%);
}
.acc-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.acc-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: rgba(23, 18, 31, 0.86);
  border: 1px solid var(--night-line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.acc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--night);
}
.acc-tabs button {
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--on-night-2);
  font: 800 14px/1 var(--font);
  cursor: pointer;
}
.acc-tabs button[aria-selected='true'] {
  background: var(--night-3);
  color: var(--on-night);
}
.acc-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  font-stretch: 80%;
}
.acc-sub {
  margin: 0 0 22px;
  color: var(--on-night-2);
  font-size: 15px;
}
.oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid var(--night-line);
  background: #fff;
  color: #17121f;
  font: 800 15px/1 var(--font);
  cursor: pointer;
}
.oauth svg {
  width: 20px;
  height: 20px;
}
.oauth[data-provider='apple'] {
  background: #000;
  color: #fff;
}
.acc-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--on-night-2);
  font-size: 13px;
}
.acc-or::before,
.acc-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--night-line);
}
.acc-form {
  display: grid;
  gap: 14px;
}
.acc-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-night-2);
}
.acc-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--night-line);
  background: var(--night);
  color: var(--on-night);
  font: 600 16px var(--font);
}
.acc-form input:focus {
  outline: 2px solid var(--violet-hi);
  outline-offset: 1px;
}
.acc-code {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 22px !important;
  font-weight: 800 !important;
}
.acc-at {
  display: flex;
  align-items: center;
  border-radius: 14px;
  border: 1px solid var(--night-line);
  background: var(--night);
}
.acc-at b {
  padding-left: 14px;
  color: var(--on-night-2);
}
.acc-at input {
  border: 0 !important;
  padding-left: 4px !important;
}
.acc-hint {
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--on-night-2);
}
.acc-submit {
  width: 100%;
  margin-top: 4px;
}
.acc-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.acc-link {
  justify-self: center;
  border: 0;
  background: none;
  color: var(--violet-hi);
  font: 700 14px var(--font);
  cursor: pointer;
  padding: 6px;
}
.acc-row {
  display: flex;
  justify-content: space-between;
}
.acc-legal {
  margin: 18px 0 0;
  font-size: 12px;
  color: #8a83a0;
}
.acc-legal a {
  color: var(--on-night-2);
}
.acc-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(229, 72, 77, 0.12);
  color: #ffb4b6;
  font-size: 14px;
  font-weight: 600;
}
.acc-me {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.acc-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad) center / cover;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.acc-avatar.has-photo {
  color: transparent;
}
.acc-name {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
}
.acc-handle {
  margin: 0;
  color: var(--on-night-2);
}
.acc-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
.acc-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--night-line);
  font-size: 14px;
}
.acc-facts dt {
  color: var(--on-night-2);
}
.acc-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.acc-console {
  width: 100%;
  margin-bottom: 8px;
}
.acc-big {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 0.95;
  font-weight: 900;
  font-stretch: 75%;
}
.acc-aside .points li {
  color: var(--on-night-2);
}
@media (max-width: 860px) {
  .acc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .acc-aside {
    order: -1;
  }
  .acc-big {
    font-size: 34px;
    margin-bottom: 10px;
  }
  .acc-aside .points {
    display: none;
  }
}

/* ---------- Boutons (partagés) ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 800 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.35s,
    background-color 0.3s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #7b4bff 0%, #5f2ef0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 12px 32px -12px rgba(109, 59, 245, 0.95);
}
.btn-primary::before {
  /* reflet qui traverse le bouton au survol */
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: transform 0.9s var(--ease-out);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 16px 42px -12px rgba(139, 92, 255, 1);
}
.btn-primary:hover::before {
  transform: skewX(-18deg) translateX(420%);
}
.btn-ghost {
  color: var(--on-night);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}
.btn:focus-visible,
.claim input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- Grain de pellicule (très léger, évite les dégradés en escalier) ---------- */
.grain {
  position: fixed;
  inset: -120px;
  z-index: 70;
  pointer-events: none;
  background: url(./grain.png);
  opacity: 0.045;
}
@media (prefers-reduced-motion: no-preference) {
  .grain {
    animation: grain 1.4s steps(6) infinite;
  }
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  17% {
    transform: translate(-36px, 22px);
  }
  33% {
    transform: translate(28px, -40px);
  }
  50% {
    transform: translate(-14px, 44px);
  }
  67% {
    transform: translate(40px, 14px);
  }
  83% {
    transform: translate(-44px, -24px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ---------- Halo qui suit le curseur sur les cartes ---------- */
.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 255, 0.13), transparent 46%);
  opacity: 0;
  transition: opacity 0.45s;
}
.spot:hover::after {
  opacity: 1;
}

/* ---------- Transition douce entre les pages ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.38s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

[hidden] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

/* ---------- Accessibilité ---------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Champ piège pour les robots : jamais visible */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Bêta : feuille d'inscription (feuille du bas sur téléphone, fenêtre au centre sur ordinateur) ---------- */
html.sheet-open {
  overflow: hidden;
}
.beta-sheet {
  --kb: 0px;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-night);
  overflow: hidden;
}
.beta-sheet[open] {
  display: grid;
  place-items: center;
}
.beta-sheet::backdrop {
  background: rgba(4, 3, 9, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease;
}
.beta-sheet.is-open::backdrop {
  background: rgba(4, 3, 9, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.bs-card {
  position: relative;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 40px 32px 30px;
  border-radius: 30px;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(139, 92, 255, 0.22), transparent 60%),
    #121019;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 40px 120px -30px rgba(0, 0, 0, 0.9);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease-out);
}
.beta-sheet.is-open .bs-card {
  opacity: 1;
  transform: none;
}
.bs-grab {
  display: none;
}
.bs-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-night);
  cursor: pointer;
  transition: background 0.2s;
}
.bs-x:hover {
  background: rgba(255, 255, 255, 0.13);
}
.bs-x svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.bs-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #b03dff, #3d10d6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 34px -12px rgba(139, 92, 255, 0.9);
}
.bs-icon svg {
  width: 30px;
  height: 30px;
}
.beta-sheet h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 38px);
  line-height: 1;
  font-stretch: 72%;
  font-weight: 900;
}
.bs-text {
  max-width: 34ch;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-night-2);
}
.bs-note {
  margin: 14px auto 0;
  padding: 10px 14px;
  max-width: 36ch;
  border-radius: 14px;
  background: rgba(155, 107, 255, 0.12);
  color: #d9ccff;
  font-size: 14px;
  line-height: 1.45;
}
.bs-form {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.bs-field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 700 17px/1 var(--font);
  text-align: center;
  transition: box-shadow 0.25s;
}
.bs-field input::placeholder {
  color: rgba(243, 240, 250, 0.32);
}
.bs-field input:focus {
  box-shadow:
    inset 0 0 0 1px rgba(155, 107, 255, 0.85),
    0 0 0 5px rgba(139, 92, 255, 0.18);
}
.bs-form.shake {
  animation: bs-shake 0.42s;
}
@keyframes bs-shake {
  20%,
  60% {
    transform: translateX(-7px);
  }
  40%,
  80% {
    transform: translateX(7px);
  }
}
.bs-submit {
  width: 100%;
  height: 56px;
  justify-content: center;
}
.btn.is-busy {
  pointer-events: none;
  color: transparent !important;
}
.btn.is-busy::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: bs-spin 0.7s linear infinite;
}
@keyframes bs-spin {
  to {
    transform: rotate(360deg);
  }
}
.bs-msg:empty,
[data-beta-msg]:empty {
  display: none;
}
.bs-msg {
  margin: 2px 0 0;
  font-size: 14px;
  color: #ff9db0;
}
.bs-legal {
  margin: 18px auto 0;
  max-width: 36ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(243, 240, 250, 0.42);
}
.bs-legal a {
  color: inherit;
}
.bs-done {
  padding-top: 6px;
}
.bd-check {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
}
.bd-check svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bd-check circle {
  stroke: rgba(198, 255, 61, 0.9);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.bd-check path {
  stroke: #c6ff3d;
  stroke-width: 4;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}
[data-beta-done]:not([hidden]) .bd-check circle {
  animation: bd-draw 0.6s var(--ease-out) forwards;
}
[data-beta-done]:not([hidden]) .bd-check path {
  animation: bd-draw 0.45s var(--ease-out) 0.38s forwards;
}
@keyframes bd-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.bs-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.bs-actions .btn {
  height: 52px;
  justify-content: center;
  padding: 0 14px;
}
.bs-actions .btn:only-child {
  grid-column: 1 / -1;
}
.bs-text b {
  color: #fff;
}

/* Barre « Rejoindre la bêta » en bas de l'écran (téléphone) */
.beta-bar {
  display: none;
}
@media (max-width: 820px) {
  .beta-sheet[open] {
    place-items: end center;
  }
  .bs-card {
    width: 100%;
    max-height: calc(100% - 40px);
    padding: 30px 22px calc(26px + env(safe-area-inset-bottom));
    border-radius: 30px 30px 0 0;
    transform: translateY(105%);
    opacity: 1;
    translate: 0 calc(-1 * var(--kb));
    transition:
      transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
      translate 0.25s ease;
  }
  .beta-sheet.is-open .bs-card {
    transform: none;
  }
  .bs-grab {
    display: block;
    width: 38px;
    height: 5px;
    margin: -14px auto 18px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.22);
  }
  .bs-x {
    top: 12px;
    right: 12px;
  }
  .beta-bar {
    display: block;
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(calc(100% + 30px));
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    pointer-events: none;
  }
  .beta-bar.on {
    transform: none;
    pointer-events: auto;
  }
  .beta-bar .btn {
    width: 100%;
    height: 54px;
    justify-content: center;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 18px 40px -10px rgba(0, 0, 0, 0.8),
      0 10px 30px -12px rgba(109, 59, 245, 0.9);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bs-card,
  .beta-bar,
  .beta-sheet::backdrop {
    transition: none;
  }
}
.beta-again {
  display: block;
  margin: 16px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: rgba(243, 240, 250, 0.5);
  font: 600 14px/1.3 var(--font);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.beta-again:hover {
  color: #fff;
}
