/* ==========================================================================
   Ajoya — Landing page
   Charte dérivée du logo : bleu #1A95F0 → violet #7122AF → magenta #EE33AA
   ========================================================================== */

/* Polices hébergées sur ajoyapp.fr (et non chez Google : aucune adresse IP de visiteur transmise à un tiers).
   Jeu de caractères latin (français inclus). Licences libres SIL OFL : voir assets/fonts/OFL-*.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;   /* police variable : un seul fichier pour 400, 500 et 600 */
  font-display: swap;
  src: url('assets/fonts/inter-var-latin.woff2') format('woff2');
  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: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
  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: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  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: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
  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: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/poppins-800-latin.woff2') format('woff2');
  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;
}

/* ==========================================================================
   JETONS
   ========================================================================== */
:root {
  --blue:    #1A95F0;
  --purple:  #7122AF;
  --magenta: #EE33AA;
  --gradient: linear-gradient(120deg, var(--blue) 0%, var(--purple) 52%, var(--magenta) 100%);
  --gradient-soft: linear-gradient(120deg, rgba(26,149,240,.10), rgba(113,34,175,.10), rgba(238,51,170,.10));

  --ink:      #15121d;
  --ink-soft: #4b4659;
  --muted:    #7c768b;
  --line:     #e9e5f2;
  --bg:       #fcfbff;
  --bg-alt:   #f5f2fb;
  --white:    #ffffff;
  --night:    #110d1a;

  --radius:    24px;
  --radius-sm: 16px;
  --shadow:    0 30px 60px -30px rgba(72, 26, 120, .35);
  --shadow-sm: 0 10px 30px -16px rgba(72, 26, 120, .30);
  --ease:      cubic-bezier(.22, .8, .2, 1);

  --container: 1180px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ol, ul { list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid rgba(113, 34, 175, .55); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text.light { background-image: linear-gradient(120deg, #7cc6ff, #c9a2ff 50%, #ff9ad6); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; border-radius: 999px; padding: 12px 22px;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; overflow: hidden;
}
.btn .ic { font-size: 1.15em; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

.btn-gradient { background: var(--gradient); background-size: 160% 100%; color: var(--white); box-shadow: 0 14px 30px -12px rgba(113, 34, 175, .65); }
.btn-gradient:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 38px -14px rgba(113, 34, 175, .75); }
.btn-gradient::after {   /* reflet qui traverse au survol */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: transform .7s var(--ease);
}
.btn-gradient:hover::after { transform: translateX(120%) skewX(-20deg); }

.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--purple); box-shadow: 0 16px 34px -16px rgba(0,0,0,.45); }
.btn-white:hover { transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
a[aria-disabled="true"] { cursor: default; }

/* ==========================================================================
   BARRE DE PROGRESSION + EN-TÊTE FLOTTANT
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gradient); transform-origin: 0 50%; transform: scaleX(0); }

.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 14px; pointer-events: none; }
.header-inner {
  position: relative; pointer-events: auto;
  max-width: 1120px; margin: 0 auto; height: 60px; padding: 0 9px 0 16px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px;
  box-shadow: 0 10px 40px -22px rgba(72, 26, 120, .4);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled .header-inner { background: rgba(255, 255, 255, .9); box-shadow: 0 18px 44px -20px rgba(72, 26, 120, .5); }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-size: 20px; letter-spacing: -.5px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 13px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink-soft); transition: color .18s ease, background .18s ease; }
.nav a:hover { color: var(--ink); background: rgba(113, 34, 175, .07); }
.nav a.active { color: var(--purple); background: rgba(113, 34, 175, .09); }
.nav .nav-cta { display: none; }
.header-cta { flex: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; margin-left: auto; border-radius: 12px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 148px 0 70px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: var(--blue);    top: -160px; left: -140px; animation: drift1 18s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; background: var(--magenta); top: -90px;  right: -140px; animation: drift2 22s ease-in-out infinite alternate; }
.blob-3 { width: 440px; height: 440px; background: var(--purple);  bottom: -220px; left: 36%; opacity: .32; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-80px, 90px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-120px, -60px) scale(1.15); } }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(113, 34, 175, .2) 1px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 65% 45%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 55% at 65% 45%, #000 15%, transparent 72%);
}

.hero-inner { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 36px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(113, 34, 175, .16); color: var(--purple);
  margin-bottom: 22px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill .ic { font-size: 17px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-copy h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1.04; letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero-copy h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-copy h1 .line > span { display: inline-block; }
.js .hero-copy h1 .line > span { animation: rise 1s var(--ease) both; }
.js .hero-copy h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.js .pill, .js .lead, .js .hero-cta, .js .hero-facts { animation: fadeUp .9s var(--ease) both; }
.js .lead { animation-delay: .25s; } .js .hero-cta { animation-delay: .35s; } .js .hero-facts { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.lead { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--ink-soft); max-width: 31em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ic { font-size: 12px; color: #fff; background: var(--gradient); border-radius: 50%; padding: 3px; width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Scène du téléphone ---------- */
.hero-stage { position: relative; display: grid; justify-items: center; perspective: 1400px; padding-top: 6px; }
.hero-stage::before {   /* halo coloré derrière le téléphone */
  content: ""; position: absolute; width: 400px; height: 400px; top: 110px; left: 50%; margin-left: -200px; border-radius: 50%;
  background: var(--gradient); filter: blur(90px); opacity: .34; z-index: -1;
}
.phone-float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-stage .phone { zoom: 1.06; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .3s ease-out; }
.js .hero-stage .phone-float { animation: float 7s ease-in-out 1.1s infinite, phoneIn 1.1s var(--ease) both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }

.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 9px 15px 9px 9px; border-radius: 18px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm);
  translate: var(--px, 0px) var(--py, 0px); transition: translate .35s ease-out;
  animation: bob 6s ease-in-out infinite;
}
.js .float { animation: bob 6s ease-in-out infinite, pop .7s var(--ease) both; }
.float b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.float small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float .fi { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: var(--gradient-soft); color: var(--purple); }
.float .av { width: 36px; height: 36px; font-size: 14px; }
.f1 { top: 96px; left: calc(50% - 338px); animation-delay: 0s, .9s; }
.f2 { top: 318px; right: calc(50% - 348px); animation-delay: -2s, 1.15s; }
.f3 { bottom: 168px; right: calc(50% - 322px); animation-delay: -4s, 1.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

.demo-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 34px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line);
}
.demo-hint .ic { font-size: 18px; color: var(--purple); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.demo-hint button { border: none; background: none; cursor: pointer; font-weight: 600; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; padding: 0 2px; }

/* ==========================================================================
   MAQUETTE iPHONE (dimensions en px pour un écran de 300 × 620 ; agrandie/réduite par `zoom`)
   ========================================================================== */
.phone {
  position: relative; width: 300px; height: 620px; padding: 11px; border-radius: 50px;
  background: linear-gradient(145deg, #2d2839, #0c0a12 42%, #1e1a29);
  box-shadow: 0 50px 80px -44px rgba(60, 20, 110, .6), 0 0 0 1.5px #3b354a, inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone::before, .phone::after {   /* boutons latéraux */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b2636;
}
.phone::before { left: -3px; top: 150px; height: 46px; box-shadow: 0 60px 0 #2b2636; }
.phone::after { right: -3px; top: 190px; height: 74px; }
.phone-island { position: absolute; top: 20px; left: 50%; margin-left: -43px; width: 86px; height: 25px; border-radius: 999px; background: #000; z-index: 20; }
.phone-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); isolation: isolate; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 50px 14px 14px; background: var(--bg); }

/* Barre d'état */
.sb { position: absolute; top: 15px; left: 28px; right: 24px; z-index: 15; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.sb b { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: -.2px; }
.sb i { display: flex; align-items: center; gap: 5px; }
.sig { width: 16px; height: 10px; background:
  linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat,
  linear-gradient(currentColor, currentColor) 4.3px 100% / 3px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 8.6px 100% / 3px 8px no-repeat,
  linear-gradient(currentColor, currentColor) 13px 100% / 3px 10px no-repeat; }
.bat { width: 22px; height: 11px; border-radius: 3.5px; box-shadow: inset 0 0 0 1px currentColor; position: relative; opacity: .95; }
.bat::before { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1.5px; background: currentColor; }

/* ---------- Écran « mur » ---------- */
.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hd-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -.5px; line-height: 1.2; }
.hd-icons { display: flex; gap: 10px; color: var(--purple); font-size: 17px; }

.hd-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 8px 4px; margin-bottom: 8px; }
.hd-stats div { text-align: center; }
.hd-stats b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.hd-stats small { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.hd-stats b.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); color: var(--purple); } }

.hd-credits { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--purple); background: var(--gradient-soft); border: 1px solid rgba(113,34,175,.16); padding: 4px 11px 4px 8px; border-radius: 999px; margin-bottom: 9px; }
.hd-credits .ic { font-size: 13px; }

.hd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; align-content: start; }
.hd-cell { position: relative; aspect-ratio: 1; border-radius: 11px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 0; }
.hd-slot { position: relative; aspect-ratio: 1; }
.hd-slot > .hd-cell { width: 100%; height: 100%; }

/* Apparition en cascade des cases (mur du hero) */
.js .hd-grid.cascade > * { animation: cellIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 700ms); }
@keyframes cellIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30), transparent 40%, transparent 72%, rgba(0,0,0,.20)); }
.hd-cell .d { position: absolute; top: 4px; left: 0; right: 0; text-align: center; font-size: 8.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); z-index: 2; }
.hd-cell .d.dk { color: var(--muted); text-shadow: none; }
.hd-cell .like { position: absolute; bottom: 4px; left: 4px; z-index: 2; font-size: 8.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.42); padding: 1px 5px; border-radius: 999px; }
.hd-cell .play { position: absolute; z-index: 2; width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); margin-left: 3px; }
.hd-cell .avd { position: absolute; bottom: 4px; left: 4px; z-index: 2; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.hd-cell .new { position: absolute; top: 4px; right: 4px; z-index: 2; font-size: 7.5px; font-weight: 800; color: #fff; letter-spacing: .2px; background: var(--gradient); padding: 2px 5px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* Case « mois » / « jour » (dégradé) */
.hd-sep, .hd-day { background: var(--gradient); color: #fff; flex-direction: column; gap: 1px; text-align: center; padding: 3px; }
.hd-sep b { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .3px; line-height: 1.2; }
.hd-sep small { font-size: 10px; opacity: .92; font-variant-numeric: tabular-nums; }
.hd-day b { font-family: var(--font-head); font-weight: 800; font-size: 7.5px; letter-spacing: -.1px; line-height: 1.15; white-space: nowrap; }
.hd-day small { font-size: 8.5px; opacity: .92; margin-top: 1px; }

/* Case du jour à remplir / jour à rattraper / case vide */
.hd-add, .hd-miss, .hd-empty { flex-direction: column; gap: 2px; background: var(--gradient-soft); box-shadow: inset 0 0 0 1.5px rgba(113,34,175,.35); color: var(--purple); font-family: var(--font-body); }
.hd-add .plus, .hd-miss .plus { font-size: 18px; font-weight: 700; line-height: 1; }
.hd-add small, .hd-miss small { font-size: 8.5px; font-weight: 600; }
button.hd-add { cursor: pointer; animation: pulse 2s ease-in-out infinite; }
button.hd-add:hover { background: rgba(113,34,175,.14); }
@keyframes pulse { 0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(113,34,175,.35), 0 0 0 0 rgba(238,51,170,.45); } 50% { box-shadow: inset 0 0 0 1.5px rgba(113,34,175,.7), 0 0 0 7px rgba(238,51,170,0); } }
.hd-miss { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(113,34,175,.3); color: var(--muted); }
.hd-miss .plus { color: rgba(113,34,175,.55); }
.hd-miss .tkt { position: absolute; top: 4px; right: 4px; font-size: 12px; color: var(--magenta); }
.story-screen.is-active .hd-miss { animation: pulse 2s ease-in-out infinite; }
.hd-empty { color: rgba(113,34,175,.45); font-size: 18px; box-shadow: inset 0 0 0 1.5px rgba(113,34,175,.18); }
.hd-picked { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--magenta); z-index: 3; overflow: visible; }

/* Humeur */
.hd-emo { background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.hd-emo b { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 1px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 6px; }
.hd-cell.popin { animation: popin .7s var(--ease); }
@keyframes popin { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }

/* Barre d'onglets */
.hd-tabs { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 5; display: flex; align-items: center; justify-content: space-around; height: 50px; border-radius: 20px; background: var(--gradient); box-shadow: 0 10px 22px -10px rgba(113,34,175,.7), 0 0 0 5px rgba(252,251,255,.85); }
.hd-tabs span { position: relative; display: grid; place-items: center; opacity: .62; color: #fff; font-size: 19px; }
.hd-tabs span.on { opacity: 1; transform: scale(1.14); }
.hd-tabs .ic { stroke-width: 1.8; }
.hd-tabs .dot { position: absolute; top: -2px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 1.5px #fff; }

/* ---------- Photos : petites scènes dessinées en CSS ---------- */
.sc-sunset { background:
  linear-gradient(90deg, transparent 40%, rgba(255,222,140,.6) 50%, transparent 60%) 0 100% / 100% 37% no-repeat,
  linear-gradient(180deg, #2a6fa8, #143b68) 0 100% / 100% 37% no-repeat,
  radial-gradient(circle at 50% 63%, #fff7d6 0 7%, #ffd66e 8% 12%, rgba(255,214,110,0) 34%),
  linear-gradient(180deg, #2b2a70 0%, #8a3f9e 28%, #f0638a 50%, #ffb46b 63%, #ffb46b 100%); }
.sc-sunrise { background:
  radial-gradient(ellipse 80% 34% at 22% 108%, #2f7d58 0 99%, transparent 100%),
  radial-gradient(ellipse 90% 30% at 82% 110%, #3c9a66 0 99%, transparent 100%),
  radial-gradient(circle at 50% 70%, #fffbe0 0 8%, #ffe07a 9% 14%, rgba(255,224,122,0) 40%),
  linear-gradient(180deg, #6fb7f5 0%, #ffd7a8 55%, #ffb37f 100%); }
.sc-mountain { background:
  radial-gradient(ellipse 80% 36% at 12% 106%, #256b52 0 99%, transparent 100%),
  radial-gradient(ellipse 85% 38% at 92% 108%, #2f8a63 0 99%, transparent 100%),
  conic-gradient(from 142deg at 64% 34%, #7c8cb4 0 76deg, transparent 76deg),
  conic-gradient(from 135deg at 30% 46%, #9fadd0 0 90deg, transparent 90deg),
  radial-gradient(circle at 82% 17%, #fff7d1 0 6%, rgba(255,247,209,0) 7%),
  linear-gradient(180deg, #74bff4, #d4ecff); }
.sc-beach { background:
  radial-gradient(ellipse 95% 34% at 28% 112%, #f6dca0 0 99%, transparent 100%),
  linear-gradient(180deg, transparent 58%, #2aa7c9 58%, #1b86b5 100%),
  radial-gradient(circle at 76% 24%, #fffef0 0 7%, #ffe08a 8% 12%, rgba(255,224,138,0) 13%),
  linear-gradient(180deg, #49b3f2, #c6eaff 58%, #c6eaff); }
.sc-night { background:
  radial-gradient(circle at 70% 26%, #fdf6d8 0 8%, rgba(253,246,216,0) 9%),
  radial-gradient(circle at 20% 20%, #fff 0 1.3%, transparent 1.8%),
  radial-gradient(circle at 44% 12%, #fff 0 1.1%, transparent 1.6%),
  radial-gradient(circle at 86% 52%, #fff 0 1.1%, transparent 1.6%),
  radial-gradient(circle at 30% 44%, #fff 0 1%, transparent 1.5%),
  radial-gradient(ellipse 100% 28% at 50% 112%, #0d0f2e 0 99%, transparent 100%),
  linear-gradient(180deg, #151847, #3b2a7a 70%, #6a3f9a); }
.sc-city { background:
  linear-gradient(#17143a, #17143a) 4% 100% / 17% 46% no-repeat,
  linear-gradient(#221c52, #221c52) 26% 100% / 15% 62% no-repeat,
  linear-gradient(#17143a, #17143a) 48% 100% / 18% 40% no-repeat,
  linear-gradient(#2a2362, #2a2362) 72% 100% / 14% 70% no-repeat,
  linear-gradient(#1c1746, #1c1746) 96% 100% / 16% 52% no-repeat,
  radial-gradient(circle at 34% 30%, #ffe9b0 0 5%, rgba(255,233,176,0) 6%),
  linear-gradient(180deg, #3a2a7c 0%, #b5488f 55%, #ff9a6b 100%); }
.sc-coffee { background:
  radial-gradient(circle at 50% 52%, #4e2d1b 0 15%, #f6efe6 16% 23%, rgba(246,239,230,0) 24%),
  radial-gradient(circle at 50% 52%, #eadccb 0 33%, rgba(234,220,203,0) 34%),
  radial-gradient(circle at 84% 20%, rgba(255,255,255,.35) 0 14%, transparent 15%),
  linear-gradient(135deg, #dcab72, #b57741); }
.sc-park { background:
  radial-gradient(circle at 20% 72%, #ff6fa5 0 5%, transparent 6%),
  radial-gradient(circle at 42% 84%, #ffd84d 0 5%, transparent 6%),
  radial-gradient(circle at 66% 74%, #ff8f5a 0 5%, transparent 6%),
  radial-gradient(circle at 86% 86%, #d79bff 0 5%, transparent 6%),
  radial-gradient(circle at 26% 22%, #fff 0 9%, rgba(255,255,255,0) 10%),
  linear-gradient(180deg, #93d6ff 0 50%, #6fcf7a 50%, #3fa858 100%); }
.sc-autumn { background:
  radial-gradient(ellipse 62% 46% at 18% 102%, #c8552b 0 99%, transparent 100%),
  radial-gradient(ellipse 72% 52% at 78% 106%, #e08a2e 0 99%, transparent 100%),
  radial-gradient(ellipse 50% 38% at 48% 104%, #9c3d22 0 99%, transparent 100%),
  radial-gradient(circle at 72% 22%, #fff3c9 0 7%, rgba(255,243,201,0) 8%),
  linear-gradient(180deg, #ffd9a0, #ffb37a); }
.sc-party { background:
  radial-gradient(circle at 18% 26%, #ffd84d 0 4%, transparent 5%),
  radial-gradient(circle at 76% 18%, #7cc6ff 0 4%, transparent 5%),
  radial-gradient(circle at 44% 46%, #fff 0 3.4%, transparent 4.4%),
  radial-gradient(circle at 84% 60%, #ffd84d 0 4%, transparent 5%),
  radial-gradient(circle at 26% 76%, #7cc6ff 0 4%, transparent 5%),
  radial-gradient(circle at 60% 82%, #fff 0 3%, transparent 4%),
  linear-gradient(135deg, #7122AF, #EE33AA); }

/* ---------- Avatars ---------- */
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff; }
.av-l { background: linear-gradient(135deg, #ffb86b, #ff5e8a); }
.av-t { background: linear-gradient(135deg, #46b0f0, #3b6fe0); }
.av-i { background: linear-gradient(135deg, #43c59e, #1f9d8a); }
.av-m { background: linear-gradient(135deg, #9b8cf0, #6a4fd0); }
.av-z { background: linear-gradient(135deg, #ffd36b, #ff9a3c); }
.av-me { background: var(--gradient); }
.av-x { background: #d9d5e3; color: #7c768b; }

/* ---------- Feuille de choix + annonce (démo du hero) ---------- */
.sheet { position: absolute; inset: 0; z-index: 30; display: flex; align-items: flex-end; padding: 10px; background: rgba(15, 10, 25, 0); opacity: 0; pointer-events: none; transition: opacity .25s ease, background .25s ease; }
.sheet.open { opacity: 1; pointer-events: auto; background: rgba(15, 10, 25, .4); }
.sheet-card { width: 100%; background: rgba(250, 248, 255, .97); border-radius: 24px; padding: 13px 12px 12px; transform: translateY(115%); transition: transform .42s var(--ease); }
.sheet.open .sheet-card { transform: none; }
.sheet-title { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.sheet-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-opt { border: 0; cursor: pointer; background: #fff; border-radius: 16px; padding: 12px 4px 10px; display: grid; justify-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 11.5px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: transform .18s ease, box-shadow .18s ease; }
.sheet-opt .ico { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--gradient); font-size: 19px; }
.sheet-opt:hover, .sheet-opt.is-pressed { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--purple), var(--shadow-sm); }

.toast { position: absolute; top: 46px; left: 11px; right: 11px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 18px; background: rgba(20, 14, 34, .93); color: #fff; transform: translateY(-150%); opacity: 0; transition: transform .55s var(--ease), opacity .3s ease; }
.toast.show { transform: none; opacity: 1; }
.toast-badge { width: 36px; height: 36px; border-radius: 12px; background: var(--gradient); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 14px; flex: none; }
.toast b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.toast small { display: block; font-size: 10px; opacity: .8; line-height: 1.3; }

.confetti { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 25; pointer-events: none; }
.confetti i { position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 2px; animation: confetti 1s var(--ease) forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

/* ---------- Feuille « Qui peut voir ce moment ? » (parcours) ---------- */
.asheet { position: absolute; inset: 0; z-index: 12; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px; background: rgba(15, 10, 25, .38); }
.asheet-card { background: rgba(248, 246, 252, .97); border-radius: 16px; overflow: hidden; }
.asheet-title { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--line); }
.asheet-row { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 500; color: #1677f2; padding: 13px 10px; border-bottom: 1px solid var(--line); }
.asheet-row:last-child { border-bottom: 0; }
.asheet-row .ic { font-size: 17px; }
.asheet-row.is-tap { background: rgba(113,34,175,.08); color: var(--purple); font-weight: 600; }
.asheet-row.is-tap::after { content: ""; position: absolute; right: 44px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: rgba(113,34,175,.22); box-shadow: 0 0 0 0 rgba(113,34,175,.35); animation: tap 1.8s ease-out infinite; }
@keyframes tap { 0% { transform: scale(.6); opacity: 0; } 30% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(113,34,175,.35); } 100% { transform: scale(1); opacity: 0; box-shadow: 0 0 0 14px rgba(113,34,175,0); } }
.asheet-cancel { background: #fff; border-radius: 16px; text-align: center; font-size: 16px; font-weight: 700; color: #1677f2; padding: 13px; }

/* ---------- Visionneuse plein écran ---------- */
.screen-viewer { padding: 0; }
.screen-viewer .sb { color: #fff; }
.vw-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 52px 16px 30px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); color: #fff; }
.vw-x { font-size: 17px; opacity: .92; }
.vw-date { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.vw-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 62px 22px 16px; background: linear-gradient(0deg, rgba(0,0,0,.68), transparent); color: #fff; display: grid; gap: 8px; justify-items: start; }
.vw-vis, .vw-place { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; }
.vw-vis { background: rgba(255,255,255,.2); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vw-place { opacity: .9; }
.vw-desc { font-size: 13.5px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.vw-rail { position: absolute; right: 12px; bottom: 30px; z-index: 3; display: grid; justify-items: center; gap: 4px; color: #fff; }
.vw-rail small { font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.vw-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vw-heart .ic { fill: #ff4d7d; stroke: #ff4d7d; }
.vw-heart i { position: absolute; left: 50%; bottom: 60%; width: 12px; height: 12px; margin-left: -6px; opacity: 0;
  background: #ff4d7d; -webkit-mask: radial-gradient(circle at 30% 35%, #000 0 34%, transparent 35%), radial-gradient(circle at 70% 35%, #000 0 34%, transparent 35%), conic-gradient(from 135deg at 50% 92%, #000 0 90deg, transparent 90deg);
  mask: radial-gradient(circle at 30% 35%, #000 0 34%, transparent 35%), radial-gradient(circle at 70% 35%, #000 0 34%, transparent 35%), conic-gradient(from 135deg at 50% 92%, #000 0 90deg, transparent 90deg); }
.story-screen.is-active .vw-heart .ic { animation: beat 1.6s ease-in-out infinite; }
.story-screen.is-active .vw-heart i { animation: rise-heart 2.4s ease-out infinite; }
.story-screen.is-active .vw-heart i:nth-child(3) { animation-delay: .8s; --hx: -14px; }
.story-screen.is-active .vw-heart i:nth-child(4) { animation-delay: 1.6s; --hx: 12px; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.28); } 30% { transform: scale(1); } }
@keyframes rise-heart { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--hx, 6px), -90px) scale(1.2); opacity: 0; } }

/* ---------- Classement ---------- */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #ebe7f3; border-radius: 10px; padding: 2px; margin-bottom: 10px; }
.seg span { text-align: center; font-size: 10.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 2px; border-radius: 8px; }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.lb-me { display: flex; align-items: baseline; gap: 7px; background: var(--gradient-soft); border: 1px solid rgba(113,34,175,.16); border-radius: 14px; padding: 9px 12px; margin-bottom: 8px; }
.lb-me span { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.lb-me b { font-family: var(--font-head); font-weight: 800; font-size: 19px; }
.lb-me small { font-size: 11px; color: var(--muted); }
.lb { display: grid; gap: 2px; }
.lb li { display: grid; grid-template-columns: 24px 30px 1fr auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; }
.lb li.me { background: #fff; box-shadow: 0 6px 16px -10px rgba(72,26,120,.5), inset 0 0 0 1.5px rgba(113,34,175,.3); }
.lb i { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 11.5px; color: var(--muted); }
.lb .av { width: 30px; height: 30px; font-size: 12px; }
.lb b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; line-height: 1.2; }
.lb small { display: block; font-size: 10px; color: var(--muted); line-height: 1.2; }
.lb em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tro-title { margin-top: auto; padding-top: 12px; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.tro-row { display: flex; justify-content: center; gap: 7px; padding-top: 8px; }
.tro { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 11.5px; color: #b9b3c8; background: #f1eef7; box-shadow: inset 0 0 0 1.5px #e3deef; position: relative; }
.tro.on { color: #fff; background: var(--gradient); box-shadow: 0 8px 16px -8px rgba(113,34,175,.8); }
.tro.on::after { content: "🔥"; position: absolute; top: -7px; right: -5px; font-size: 13px; }

/* ==========================================================================
   BANDEAU DÉFILANT
   ========================================================================== */
.marquee { overflow: hidden; padding: 20px 0; background: #fff; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2vw, 22px); letter-spacing: -.01em; color: var(--ink); }
.marquee-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding: clamp(72px, 9vw, 124px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); padding: 6px 13px; border-radius: 999px;
  background: var(--gradient-soft); border: 1px solid rgba(113, 34, 175, .14); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }
.eyebrow.light { color: #e9dcff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.section-sub { margin-top: 16px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Parcours « Comment ça marche » ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.story-tabs { display: none; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.story-step:first-child { min-height: 620px; }   /* aligné sur le téléphone au départ */
.js .story-step { opacity: .28; transform: translateX(-10px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .story-step.is-active { opacity: 1; transform: none; }
.story-step .num { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: .12em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: flex-start; }
.story-step h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 14px; }
.story-step p { font-size: 17.5px; color: var(--ink-soft); max-width: 29em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }

.story-stage { position: sticky; top: max(96px, calc(50vh - 310px)); display: grid; justify-items: center; }
.story-stage::before { content: ""; position: absolute; width: 380px; height: 380px; top: 120px; left: 50%; margin-left: -190px; border-radius: 50%; background: var(--gradient); filter: blur(90px); opacity: .28; z-index: -1; }
.js .story-screen { opacity: 0; visibility: hidden; transform: translateY(22px) scale(.985); transition: opacity .45s ease, transform .6s var(--ease), visibility 0s .45s; }
.js .story-screen.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.story-screen:not(.is-active) { z-index: 0; }
.story-screen.is-active { z-index: 1; }
html:not(.js) .story-screen:not(:first-of-type) { display: none; }

/* ---------- Le jeu ---------- */
.game { display: grid; grid-template-columns: 1fr 1.02fr; gap: 22px; align-items: stretch; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.score { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.score:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.score .pts { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.04em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score h3 { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; margin: 12px 0 4px; }
.score p { font-size: 14.5px; color: var(--ink-soft); }
.score-wide { grid-column: 1 / -1; }
.score-tro { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.score-tro .tro { width: 46px; height: 46px; font-size: 12.5px; }

.sim { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; border-radius: 30px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.sim-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(420px circle at 12% 0%, rgba(26,149,240,.4), transparent 60%),
  radial-gradient(460px circle at 100% 100%, rgba(238,51,170,.38), transparent 60%),
  radial-gradient(360px circle at 70% 20%, rgba(113,34,175,.5), transparent 62%); }
.sim-eyebrow { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e9dcff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px; }
.sim h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 22px; max-width: 18em; }
.sim-read { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 14px; }
.sim-label { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.sim-read b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim-read #sim-points { background-image: linear-gradient(120deg, #7cc6ff, #d0a8ff 50%, #ff9ad6); }
.sim-eq { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: rgba(255,255,255,.4); padding-bottom: 6px; }

.sim-slider { position: relative; margin: 24px 0 44px; }
#sim-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; background: transparent; cursor: pointer; --p: 57.7%; }
#sim-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #47aef5, #c06be6 60%, #ff6ec4) 0 / var(--p) 100% no-repeat, rgba(255,255,255,.16); }
#sim-range::-moz-range-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
#sim-range::-moz-range-progress { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #47aef5, #c06be6 60%, #ff6ec4); }
#sim-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 6px 14px rgba(0,0,0,.4); transition: transform .15s ease, box-shadow .15s ease; }
#sim-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(255,255,255,.2), 0 6px 14px rgba(0,0,0,.4); }
#sim-range:hover::-webkit-slider-thumb, #sim-range:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255,255,255,.2), 0 6px 14px rgba(0,0,0,.4); }
.sim-marks { position: absolute; left: 13px; right: 13px; top: 30px; height: 26px; pointer-events: none; }
.mark { position: absolute; left: calc(var(--pos) * 100%); transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: 12px; color: rgba(255,255,255,.45); transition: color .25s ease, transform .25s var(--ease); }
.mark i { width: 2px; height: 7px; border-radius: 2px; background: currentColor; }
.mark.on { color: #fff; transform: translateX(-50%) scale(1.12); }
.mark.on::after { content: "🔥"; position: absolute; top: 14px; left: 100%; margin-left: 1px; font-size: 11px; }

.sim-lines { display: grid; gap: 8px; }
.sim-lines li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.82); padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); }
.sim-lines b { font-family: var(--font-head); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.sim-next { margin-top: 16px; font-size: 14.5px; font-weight: 500; color: #fff; }
.sim-note { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ---------- Cercle privé : qui voit quoi ---------- */
.circle { display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.circle-copy h2 { margin-bottom: 0; }
.levels { display: grid; gap: 10px; margin-top: 26px; }
.level { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 13px 16px 13px 13px; border-radius: 20px; cursor: pointer; border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--line), var(--line)) border-box; transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease; }
.level:hover { transform: translateX(4px); }
.level .ico { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 20px; background: var(--gradient-soft); color: var(--purple); transition: background .2s ease, color .2s ease; }
.level .txt { display: grid; }
.level b { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.level .txt span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.level.is-on { background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box; box-shadow: var(--shadow-sm); }
.level.is-on .ico { background: var(--gradient); color: #fff; }
.level-desc { display: none; }
.always { display: grid; gap: 8px; margin-top: 22px; }
.always li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.always .ic { font-size: 18px; color: var(--purple); margin-top: 2px; }

.aud { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.aud-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.aud-photo { width: 64px; height: 64px; border-radius: 18px; flex: none; box-shadow: var(--shadow-sm); }
.aud-head b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.aud-head small { font-size: 14px; color: var(--muted); }
.aud-level { display: inline-block; font-weight: 700; color: #fff; background: var(--gradient); padding: 1px 10px; border-radius: 999px; font-size: 12.5px; }
.people { display: grid; gap: 2px; margin-top: 8px; }
.person { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 16px; transition: background .3s ease, opacity .3s ease; }
.person .av { width: 40px; height: 40px; font-size: 15px; transition: filter .3s ease; }
.person .who b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.person .who small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.person .sees { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.person .sees-label { min-width: 74px; text-align: right; }
.person .thumb { position: relative; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; flex: none; display: grid; place-items: center; }
.person .thumb::before { content: ""; position: absolute; inset: 0; background: #e6e1ef; transition: opacity .35s ease; }
.person .thumb .ic { position: relative; font-size: 16px; color: #9a94a9; transition: opacity .25s ease, transform .35s var(--ease); }
.person.can { background: rgba(30, 158, 106, .07); }
.person.can .sees { color: #188a5b; }
.person.can .thumb::before { opacity: 0; }
.person.can .thumb .ic { opacity: 0; transform: scale(.4); }
.person:not(.can) .av { filter: grayscale(.85) opacity(.7); }
.aud-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- Grille « Et aussi » ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card {
  grid-column: span 2; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.bento-card.wide { grid-column: span 3; min-height: 360px; }
.bento-card::before {   /* lueur qui suit le pointeur */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(113, 34, 175, .11), rgba(238, 51, 170, .05) 40%, transparent 65%);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(113, 34, 175, .22); }
.bento-card:hover::before { opacity: 1; }
.b-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; background: var(--gradient-soft); color: var(--purple); margin-bottom: 16px; }
.bento-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.bento-card p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; max-width: 30em; }
.bento-visual { margin-top: auto; padding-top: 24px; position: relative; }

/* PDF */
.v-pdf { height: 170px; margin: 0 -26px -26px; padding: 0; overflow: hidden; }
.page { position: absolute; left: 50%; top: 26px; width: 250px; margin-left: -125px; background: #fff; border-radius: 12px 12px 0 0; padding: 14px 14px 30px; box-shadow: 0 -6px 30px -8px rgba(72,26,120,.4); border: 1px solid var(--line); transform: rotate(-3deg); transition: transform .5s var(--ease); }
.page-back { transform: rotate(5deg) translate(24px, 6px); height: 200px; background: #faf8fd; }
.bento-card:hover .page:not(.page-back) { transform: rotate(-1deg) translateY(-8px); }
.bento-card:hover .page-back { transform: rotate(7deg) translate(34px, 4px); }
.page b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 14px; margin-bottom: 9px; text-transform: capitalize; }
.pgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pgrid i { aspect-ratio: 1; border-radius: 5px; }

/* Vidéo souvenir */
.v-film { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto; align-items: end; gap: 10px 18px; }
.reel { position: relative; grid-row: 1 / -1; width: 104px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.reel i { position: absolute; inset: 0; opacity: 0; animation: reel 12s linear infinite; }
.reel i:nth-child(2) { animation-delay: 3s; } .reel i:nth-child(3) { animation-delay: 6s; } .reel i:nth-child(4) { animation-delay: 9s; }
@keyframes reel { 0% { opacity: 0; transform: scale(1.14); } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.reel-title { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); text-transform: capitalize; }
.reel-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: end; }
.reel-chips span { font-size: 12.5px; font-weight: 600; color: var(--purple); background: var(--gradient-soft); border: 1px solid rgba(113,34,175,.14); padding: 5px 11px; border-radius: 999px; }
.reel-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.reel-bar span { display: block; height: 100%; border-radius: 999px; background: var(--gradient); transform-origin: 0 50%; animation: bar 12s linear infinite; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.eq i { width: 8px; border-radius: 4px; background: var(--gradient); animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 40%; } .eq i:nth-child(2) { height: 90%; animation-delay: -.3s; } .eq i:nth-child(3) { height: 60%; animation-delay: -.6s; } .eq i:nth-child(4) { height: 100%; animation-delay: -.15s; } .eq i:nth-child(5) { height: 50%; animation-delay: -.45s; } .eq i:nth-child(6) { height: 80%; animation-delay: -.75s; } .eq i:nth-child(7) { height: 35%; animation-delay: -.2s; }
@keyframes eq { to { transform: scaleY(.35); } }
.eq i { transform-origin: 50% 100%; }

/* Rappel */
.notif { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 20px; background: rgba(245, 242, 251, .9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif b { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.notif b small { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--muted); }
.notif span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.notif div { flex: 1; min-width: 0; }
.js .reveal .notif { transform: translateY(-16px) scale(.96); opacity: 0; transition: transform .7s var(--ease) .35s, opacity .5s ease .35s; }
.js .reveal.in .notif { transform: none; opacity: 1; }

/* Rattrapages */
.v-tickets { display: flex; align-items: center; gap: 10px; }
.tk { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--gradient); box-shadow: 0 12px 22px -12px rgba(113,34,175,.8); transform: rotate(-8deg); transition: transform .4s var(--ease); }
.tk + .tk { transform: rotate(7deg); margin-left: -14px; }
.bento-card:hover .tk { transform: rotate(-14deg) translateY(-4px); }
.bento-card:hover .tk + .tk { transform: rotate(12deg) translate(6px, -4px); }
.v-tickets small { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-left: 6px; }

/* Recherche */
.v-search { display: grid; gap: 8px; }
.sfield { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 13px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.sfield .ic { font-size: 16px; color: var(--muted); }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--purple); width: 3ch; animation: typing 4.5s steps(3) infinite, caret .8s step-end infinite; }
@keyframes typing { 0%, 10% { width: 0; } 40%, 85% { width: 3ch; } 100% { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
.srow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.srow b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.2; }
.srow small { display: block; font-size: 12px; color: var(--muted); }
.srow em { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: #fff; background: var(--gradient); padding: 6px 13px; border-radius: 999px; }

/* J'aime */
.v-like { height: 150px; display: grid; place-items: center; }
.like-card { position: relative; width: 190px; height: 126px; border-radius: 20px; box-shadow: var(--shadow-sm); transform: rotate(-3deg); transition: transform .4s var(--ease); }
.bento-card:hover .like-card { transform: rotate(0deg) scale(1.04); }
.like-pill { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #e0245e; font-size: 15px; }
.like-pill .ic { fill: currentColor; animation: beat 1.6s ease-in-out infinite; }
.like-pill b { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 14px; }
.lh { position: absolute; bottom: 30px; left: calc(50% + 60px); font-size: 20px; color: #ff4d7d; opacity: 0; animation: rise-heart 3s ease-out infinite; }
.lh .ic { fill: currentColor; }
.lh2 { animation-delay: 1s; --hx: -26px; font-size: 15px; } .lh3 { animation-delay: 2s; --hx: 24px; font-size: 24px; }

/* Modération */
.v-mod { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mstep { font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-soft); }
.mstep.on { background: var(--gradient); color: #fff; border-color: transparent; }
.mline { flex: 1 1 14px; min-width: 14px; max-width: 46px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line), rgba(113,34,175,.5)); }

/* ==========================================================================
   CONFIDENTIALITÉ (panneau sombre)
   ========================================================================== */
.privacy { position: relative; overflow: hidden; isolation: isolate; margin: clamp(28px, 4vw, 56px) 14px 0; border-radius: 44px; padding: clamp(72px, 9vw, 120px) 0; background: var(--night); color: #fff; }
.privacy-bg { position: absolute; inset: 0; z-index: -1; }
.privacy-bg span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.privacy-bg span:nth-child(1) { width: 560px; height: 560px; left: -160px; top: -200px; background: var(--blue); animation: drift1 20s ease-in-out infinite alternate; }
.privacy-bg span:nth-child(2) { width: 600px; height: 600px; right: -180px; bottom: -260px; background: var(--magenta); animation: drift3 24s ease-in-out infinite alternate; }
.privacy .section-sub { color: rgba(255,255,255,.78); }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.commit { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); border-radius: 24px; padding: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease), background .3s ease, border-color .3s ease; }
.commit:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); }
.commit .ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--gradient); margin-bottom: 16px; box-shadow: 0 12px 24px -12px rgba(238,51,170,.8); }
.commit h3 { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.commit p { font-size: 14.5px; color: rgba(255,255,255,.74); }
.privacy-link { text-align: center; margin-top: 36px; }
.privacy-link a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: #fff; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 3px; transition: border-color .2s ease, gap .2s ease; }
.privacy-link a:hover { border-color: #fff; gap: 12px; }

/* ==========================================================================
   QUESTIONS FRÉQUENTES
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; transition: border-color .25s ease, box-shadow .25s ease; }
.faq details[open] { border-color: rgba(113, 34, 175, .32); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-soft) , linear-gradient(var(--purple), var(--purple)) center / 12px 2px no-repeat, linear-gradient(var(--purple), var(--purple)) center / 2px 12px no-repeat; transition: transform .3s var(--ease), background-size .3s ease; }
.faq details[open] summary::after { transform: rotate(180deg); background-size: auto, 12px 2px, 2px 0; }
.faq details p { padding: 0 0 20px; font-size: 16px; color: var(--ink-soft); max-width: 42em; }
.faq-more { text-align: center; margin-top: 30px; }

/* ==========================================================================
   TÉLÉCHARGEMENT
   ========================================================================== */
.cta { padding: 0 0 clamp(60px, 8vw, 100px); }
.cta-panel { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; border-radius: 44px; padding: clamp(48px, 7vw, 92px) 24px; background: var(--gradient); box-shadow: 0 40px 80px -40px rgba(113, 34, 175, .7); }
.cta-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.cta-orb.o1 { width: 380px; height: 380px; left: -100px; top: -140px; background: rgba(124, 198, 255, .7); animation: drift1 16s ease-in-out infinite alternate; }
.cta-orb.o2 { width: 420px; height: 420px; right: -120px; bottom: -180px; background: rgba(255, 154, 214, .7); animation: drift2 18s ease-in-out infinite alternate; }
.cta-logo { height: 44px; width: auto; margin: 0 auto 24px; }
.cta-panel h2 { max-width: 15em; margin: 0 auto 14px; }
.cta-panel p { font-size: clamp(16px, 1.4vw, 18.5px); color: rgba(255,255,255,.92); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.cta-note { margin-top: 20px; font-size: 14.5px !important; }
.cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { padding: 20px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 44px; border-top: 1px solid var(--line); }
.footer-brand p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col b { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.footer-col a { font-size: 14.5px; color: var(--ink-soft); transition: color .18s ease; justify-self: start; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ==========================================================================
   APPARITION AU DÉFILEMENT
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   ADAPTATION AUX ÉCRANS
   ========================================================================== */
/* Écrans peu hauts (petits portables) : téléphones réduits pour tenir dans la fenêtre */
@media (max-height: 820px) and (min-width: 960px) {
  .hero { padding-top: 120px; padding-bottom: 54px; }
  .hero-stage .phone { zoom: .92; }
  .f1 { top: 70px; } .f2 { top: 270px; } .f3 { bottom: 150px; }
}
@media (max-height: 760px) and (min-width: 960px) { .story-stage .phone { zoom: .9; } .story-stage { top: max(88px, calc(50vh - 279px)); } }
@media (max-height: 700px) and (min-width: 960px) {
  .hero-stage .phone { zoom: .82; }
  .hero-copy h1 { font-size: clamp(38px, 5vw, 60px); }
}
@media (max-height: 680px) and (min-width: 960px) { .story-stage .phone { zoom: .8; } .story-stage { top: max(84px, calc(50vh - 248px)); } }

@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .f1 { left: calc(50% - 296px); } .f2 { right: -14px; } .f3 { display: none; }
}

@media (max-width: 959px) {
  /* Menu */
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; margin-left: 0; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,.97); padding: 10px; border-radius: 26px;
    border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px 16px; font-size: 16px; border-radius: 16px; }
  .nav.open .nav-cta { display: flex; margin-top: 6px; color: #fff; }

  .hero { padding-top: 124px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .pill { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-facts { justify-content: center; }
  .hero-stage .phone { zoom: 1; }
  .f1 { top: 70px; left: calc(50% - 330px); } .f2 { right: calc(50% - 340px); } .f3 { right: calc(50% - 318px); }

  /* Parcours : onglets + un seul texte + le téléphone */
  .story { grid-template-columns: 1fr; gap: 20px; }
  .story-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 4px 24px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .story-tabs::-webkit-scrollbar { display: none; }
  .story-tab { position: relative; overflow: hidden; flex: none; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-soft); transition: color .2s ease, background .2s ease, border-color .2s ease; }
  .story-tab.is-active { color: #fff; background: var(--gradient); border-color: transparent; }
  .story.is-auto .story-tab.is-active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.75); transform-origin: 0 50%; animation: bar 5s linear both; }
  .story-step, .story-step:first-child { min-height: 0; padding: 0; text-align: center; align-items: center; }
  .story-step .num { align-self: center; }
  .story-step p { margin-inline: auto; font-size: 16.5px; }
  .tags { justify-content: center; }
  .js .story-steps { display: grid; }
  .js .story-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease), visibility 0s .4s; }
  .js .story-step.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .story-stage { position: relative; top: auto; margin-top: 8px; }

  .game { grid-template-columns: 1fr; }
  /* Cercle privé : le sélecteur (compact) juste au-dessus de la liste, les deux rappels en dessous */
  .circle { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .circle-copy { display: contents; }
  .circle-copy .eyebrow { justify-self: center; }
  .levels { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
  .level { flex-direction: column; gap: 7px; text-align: center; padding: 12px 6px 10px; border-radius: 18px; }
  .level:hover { transform: none; }
  .level .txt span { display: none; }
  .level b { font-size: 14.5px; }
  .level-desc { display: block; margin: 12px 0 16px; font-size: 14.5px; color: var(--ink-soft); min-height: 2.9em; }
  .aud { order: 2; text-align: left; }
  .always { order: 3; text-align: left; margin-top: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.wide { grid-column: span 1; min-height: 300px; }
  .bento-card.wide:last-child { grid-column: 1 / -1; min-height: 0; }
  .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .story-stage .phone { zoom: .86; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero { padding-bottom: 54px; }
  .btn-lg { padding: 15px 22px; font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .float { display: none; }   /* sur téléphone, les bulles masqueraient la maquette */
  .story-tabs { margin: 0 -20px; padding-inline: 20px; }
  .scores { grid-template-columns: 1fr 1fr; gap: 12px; }
  .score { padding: 20px 16px; }
  .score .pts { font-size: 38px; }
  .sim-read { grid-template-columns: 1fr; gap: 10px; }
  .sim-eq { display: none; }
  .person { grid-template-columns: auto 1fr; }
  .person .sees { grid-column: 1 / -1; justify-content: flex-start; padding-left: 52px; margin-top: -4px; }
  .person .sees-label { min-width: 0; text-align: left; }
  .person .thumb { width: 28px; height: 28px; border-radius: 8px; }
  .bento { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: 1fr; }
  .privacy { margin: 0 8px; border-radius: 32px; }
  .cta-panel { border-radius: 32px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .faq summary { font-size: 16px; }
}

@media (max-width: 380px) {
  .hero-stage .phone { zoom: .9; }
  .story-stage .phone { zoom: .8; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .reel i:first-child { opacity: 1; }
  .typed { width: 3ch; }
}
