/* Accueil « premium » (19/11/2026) — direction artistique : private/design-accueil-premium.md
   Sections générées par tooling/build-home-premium.py ; comportements : js/home-premium.js.
   Une bibliothèque d'ingénieur : fond neutre, filets, Geist (déclarée par home-tunnel.css), JetBrains Mono pour
   les étiquettes ; pour seule couleur, les effets. Mode jour : variables redéfinies sous .theme-light. */

/* JetBrains Mono (fichiers auto-hébergés du site ; la page EN ne charge pas css/fonts.css) */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.hp {
  --hp-bg: #07070b;
  --hp-surface: #0e0e13;
  --hp-surface-2: #14141b;
  --hp-line: rgba(255, 255, 255, .08);
  --hp-line-2: rgba(255, 255, 255, .14);
  --hp-text: #f4f4f5;
  --hp-muted: #a1a1aa;
  --hp-faint: #71717a;
  --hp-cta: #6366f1;
  --hp-cta-text: #a5b4fc;
  --hp-ease: cubic-bezier(.2, .7, .2, 1);
  --hp-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  position: relative;
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: 'Geist', 'Inter', -apple-system, sans-serif;
  padding: 160px 0;
  border-top: 1px solid var(--hp-line);
}
.theme-light .hp {
  --hp-bg: #f3f4f7;
  --hp-surface: #ffffff;
  --hp-surface-2: #f7f7f9;
  --hp-line: rgba(15, 23, 42, .10);
  --hp-line-2: rgba(15, 23, 42, .16);
  --hp-text: #0b0b12;
  --hp-muted: #4b5262;
  --hp-faint: #6b7280;
  --hp-cta-text: #4f46e5;
}
.hp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* Étiquette de section numérotée + filet : la signature de la page (à la place des pastilles à émoji) */
.hp-kicker {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px; border-bottom: 1px solid var(--hp-line);
  font: 500 12px/1 var(--hp-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hp-muted);
}
.hp-kicker b { font-weight: 500; color: var(--hp-text); }
/* .hp devant : passe avant les règles de titres de la page (.section-header h2, mode jour…) */
.hp h2 {
  margin: 44px 0 0; max-width: 17ch;
  font: 600 clamp(2.1rem, 4.2vw, 3.1rem)/1.02 'Geist', 'Inter', sans-serif; letter-spacing: -0.04em;
  color: var(--hp-text); background: none; -webkit-text-fill-color: currentColor; text-shadow: none;
}
.hp h3 { font: 600 1.25rem/1.2 'Geist', 'Inter', sans-serif; letter-spacing: -0.02em; color: var(--hp-text); margin: 0; }
.hp-lead { margin: 18px 0 0; max-width: 56ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.55; color: var(--hp-muted); }

/* ================= 01 — Index ================= */
.hp-idx { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; margin-top: 64px; align-items: start; }
.hp-idx-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.hp-idx-list li { break-inside: avoid; }
.hp-idx-row {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px;
  padding: 14px 0 13px; border-bottom: 1px solid var(--hp-line);
  color: var(--hp-muted); text-decoration: none;
  transition: color .2s;
}
.hp-idx-name { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.hp-idx-kw { grid-column: 1; font-size: .8rem; line-height: 1.4; color: var(--hp-faint); margin-top: 3px; }
.hp-idx-n { grid-column: 2; grid-row: 1; align-self: baseline; font: 400 12px var(--hp-mono); color: var(--hp-faint); }
.hp-idx-row:hover, .hp-idx-row:focus-visible, .hp-idx-row.is-on { color: var(--hp-text); }
.hp-idx-row.is-on .hp-idx-n { color: var(--hp-cta-text); }
.hp-idx-row:focus-visible { outline: 2px solid var(--hp-cta); outline-offset: 4px; border-radius: 4px; }
.hp-idx-peek { position: sticky; top: 96px; }
.hp-idx-main {
  display: block; border: 1px solid var(--hp-line-2); border-radius: 14px; overflow: hidden;
  background: #0b0b10; text-decoration: none;
}
.hp-idx-peek img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #0b0b10; transition: opacity .25s; }
.hp-idx-peek.is-swapping img { opacity: 0; }
.hp-idx-meta {
  display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px;
  border-top: 1px solid var(--hp-line); background: var(--hp-surface);
  font: 400 12px var(--hp-mono); color: var(--hp-muted);
}
.hp-idx-meta b { font-weight: 500; color: var(--hp-text); }
.hp-idx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hp-idx-pair img { border: 1px solid var(--hp-line-2); border-radius: 10px; }

/* ================= 02 — Comment ça marche ================= */
/* Version fixe (sans JS, mouvement réduit) : les 3 étapes puis les 3 fenêtres, tout lisible */
.hp-how-stage { display: grid; gap: 40px; margin-top: 64px; }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hp-step { padding-top: 18px; border-top: 1px solid var(--hp-line-2); }
.hp-step-n { display: block; margin-bottom: 14px; font: 500 12px var(--hp-mono); color: var(--hp-faint); }
.hp-step p { margin: 10px 0 0; font-size: 1rem; line-height: 1.55; color: var(--hp-muted); }
.hp-scene { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Fenêtres (toujours sombres : on y montre des effets lumineux) */
.hp-win {
  --w-bg: #0d0d12; --w-line: rgba(255, 255, 255, .09); --w-text: #e4e4e7; --w-muted: #8b8b95;
  background: var(--w-bg); color: var(--w-text);
  border: 1px solid var(--w-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.theme-light .hp-win { box-shadow: 0 24px 60px rgba(15, 23, 42, .18); border-color: rgba(15, 23, 42, .14); }
.hp-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--w-line); }
.hp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a33; }
.hp-bar span { margin-left: 10px; font: 400 11.5px var(--hp-mono); color: var(--w-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bibliothèque : 6 vignettes, dont l'effet choisi, qui tourne en direct */
.hp-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.hp-lib-tile { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: #0a0a0f; }
.hp-lib-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-lib-pick { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .35s var(--hp-ease); }
.hp-lib-pick em {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  padding: 4px 8px; border-radius: 6px; background: rgba(10, 10, 15, .85);
  font: 500 11px/1.2 var(--hp-mono); font-style: normal; color: #e4e4e7; white-space: nowrap;
}
/* vignette étroite (version fixe, téléphone) : « Gratuit » seul, la carte porte déjà son nom */
.hp-how:not(.is-live) .hp-pick-name { display: none; }
@media (max-width: 900px) { .hp-pick-name { display: none; } }

/* L'effet en direct (fx-0261 Holographic Card, gratuit — code public, recopié tel quel, réduit dans ses cadres) */
.fx-0261-root,.fx-0261-root *,.fx-0261-root *::before,.fx-0261-root *::after{box-sizing:border-box}
.fx-0261-root{--hlc-w:280px;--hlc-h:180px;--hlc-radius:16px;--hlc-c1:#1a1a2e;--hlc-c2:#16213e;--hlc-font:1.25rem;--hlc-speed:3s;--hlc-ring:#0ff;--hlc-bg:#0a0a0f;--hlc-min-h:280px;display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--hlc-min-h);position:relative;background:var(--hlc-bg);color:#fff;font-family:sans-serif}
.fx-0261-root .hlc-card{width:var(--hlc-w);max-width:100%;height:var(--hlc-h);background:linear-gradient(135deg,var(--hlc-c1) 0%,var(--hlc-c2) 100%);background-color:var(--hlc-c1);border-radius:var(--hlc-radius);position:relative;overflow:hidden;cursor:pointer;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--hlc-font);outline:none}
.fx-0261-root .hlc-card::before{content:'';position:absolute;inset:0;background:linear-gradient(125deg,transparent 0%,rgba(255,0,128,.3) 15%,rgba(0,255,255,.3) 30%,rgba(255,255,0,.3) 45%,rgba(0,255,128,.3) 60%,rgba(128,0,255,.3) 75%,transparent 100%);background-size:200% 200%;opacity:0;transition:opacity .3s;mix-blend-mode:color-dodge;pointer-events:none}
.fx-0261-root .hlc-card::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.03) 2px,rgba(255,255,255,.03) 4px);pointer-events:none}
.fx-0261-root .hlc-card:hover::before,.fx-0261-root .hlc-card:focus::before,.fx-0261-root .hlc-card:focus-within::before{opacity:1;animation:hlcShift var(--hlc-speed) linear infinite}
@keyframes hlcShift{0%{background-position:0% 0%}100%{background-position:200% 200%}}
/* Réglages de l'accueil (variables prévues par l'effet) : carte réduite à son cadre, reflets toujours visibles */
.hp-lib-pick .fx-0261-root { --hlc-w: 86%; --hlc-h: 74%; --hlc-min-h: 100%; --hlc-font: .72rem; --hlc-radius: 9px; height: 100%; }
.hp-site-slot .fx-0261-root { --hlc-w: 100%; --hlc-h: 100%; --hlc-min-h: 100%; --hlc-font: .95rem; --hlc-radius: 12px; height: 100%; background: transparent; }
.hp .fx-0261-root .hlc-card::before { opacity: 1; animation: hlcShift var(--hlc-speed) linear infinite; }
@media (prefers-reduced-motion: reduce) { .hp .fx-0261-root .hlc-card::before { animation: none; background-position: 50% 50%; } }

/* Code */
.hp-code {
  margin: 0; padding: 18px 20px; min-height: 200px;
  font: 400 13px/1.7 var(--hp-mono); color: #c9c9d1; white-space: pre-wrap; word-break: break-word; overflow: hidden;
}
.hp-code i { font-style: normal; }
.hp-code .t { color: #f9a8d4; } .hp-code .a { color: #93c5fd; } .hp-code .s { color: #86efac; } .hp-code .c { color: #6b6b76; }
.hp-code-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--w-line);
  font: 400 11.5px var(--hp-mono); color: var(--w-muted);
}
.hp-copy { padding: 6px 12px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .16); color: #e4e4e7; transition: background-color .25s, border-color .25s; }
.hp-copy.is-done { background: #6366f1; border-color: #6366f1; color: #fff; }

/* Votre site : maquette en filets, l'effet s'y pose */
.hp-site { padding: 16px; }
.hp-site i, .hp-site b { display: block; border-radius: 4px; background: #1d1d25; }
.hp-site-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hp-site-nav b { width: 48px; height: 10px; background: #2b2b35; margin-right: auto; }
.hp-site-nav i { width: 32px; height: 7px; }
.hp-site-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: center; }
.hp-site-text { display: grid; gap: 9px; }
.hp-site-text i:nth-child(1) { height: 14px; width: 92%; background: #2b2b35; }
.hp-site-text i:nth-child(2) { height: 14px; width: 70%; background: #2b2b35; }
.hp-site-text i:nth-child(3) { height: 8px; width: 80%; margin-top: 6px; }
.hp-site-slot { aspect-ratio: 14 / 9; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .16); overflow: hidden; }
.hp-site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.hp-site-row i { height: 42px; }
.hp-works { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 16px; }
.hp-works span { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--w-line); font: 400 12px var(--hp-mono); color: var(--w-muted); transition: color .3s, border-color .3s; }
.hp-works span.is-on { color: #e4e4e7; border-color: rgba(255, 255, 255, .28); }

/* ---------- Récit au défilement (.is-live posé par js/home-premium.js) ---------- */
/* La page met overflow-x:hidden sur html ET body : la scène ne collerait pas (sticky). clip masque pareil. */
.hp-on, .hp-on body { overflow-x: clip; }
@supports not (overflow: clip) { .hp-on, .hp-on body { overflow-x: visible; } }
.hp-how.is-live { padding-bottom: 0; }
.hp-how.is-live .hp-how-rail { height: 300vh; }
.hp-how.is-live .hp-how-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-top: 0; max-width: 1360px;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 64px;
}
.hp-how.is-live .hp-steps { display: block; }
.hp-how.is-live .hp-step { border-top: 0; padding: 0 0 0 22px; margin: 0 0 34px; position: relative; opacity: .32; transition: opacity .4s var(--hp-ease); }
.hp-how.is-live .hp-step::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--hp-line-2); }
.hp-how.is-live .hp-step.is-on { opacity: 1; }
.hp-how.is-live .hp-step.is-on::before { background: var(--hp-cta); }
.hp-how.is-live .hp-scene { display: block; position: relative; height: min(660px, 78vh); }
.hp-how.is-live .hp-win { position: absolute; will-change: transform, opacity; }
.hp-how.is-live .hp-win--lib {
  left: 0; top: 0; width: 76%;
  transform: translate(calc(var(--lib-x, 0) * 1%), 0) scale(var(--lib-s, 1)); transform-origin: 0 0; opacity: var(--lib-o, 1);
}
.hp-how.is-live .hp-lib-pick { box-shadow: 0 0 0 calc(var(--pick, 0) * 2px) #6366f1, 0 0 calc(var(--pick, 0) * 30px) rgba(99, 102, 241, .5); }
.hp-how.is-live .hp-win--code {
  right: 0; top: 16%; width: 60%;
  transform: translate(0, calc((1 - var(--code-in, 0)) * 40px)) scale(var(--code-s, 1)); transform-origin: 100% 0;
  opacity: calc(var(--code-in, 0) * var(--code-o, 1));
}
.hp-how.is-live .hp-win--site {
  left: 6%; bottom: 0; width: 84%;
  transform: translate(0, calc((1 - var(--site-in, 0)) * 50px)); opacity: var(--site-in, 0);
}
.hp-how.is-live .hp-site-slot .fx-0261-root { transform: scale(calc(.55 + var(--drop, 0) * .45)); opacity: var(--drop, 0); }
.hp-how.is-live .hp-site-slot { border-color: rgba(255, 255, 255, calc(.16 * (1 - var(--drop, 0)))); }

/* ================= 03 — Au-delà du CSS ================= */
.hp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.hp-feat { border: 1px solid var(--hp-line-2); border-radius: 18px; overflow: hidden; background: var(--hp-surface); display: flex; flex-direction: column; }
.hp-feat-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #0d0f16; border-bottom: 1px solid var(--hp-line); }
.hp-feat-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-feat-media .fx-field { position: absolute; inset: 0; cursor: none; }
.hp-feat-media canvas { display: block; width: 100%; height: 100%; }
.hp-feat-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.hp-feat-body h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.hp-feat-body p { margin: 12px 0 0; font-size: 1rem; line-height: 1.55; color: var(--hp-muted); }
.hp-facts { font: 400 12px/1.5 var(--hp-mono) !important; color: var(--hp-faint) !important; margin-top: 18px !important; }
.hp-link { margin-top: auto; padding-top: 22px; align-self: flex-start; font-weight: 600; color: var(--hp-text); text-decoration: none; }
.hp-link span { display: inline-block; transition: transform .2s var(--hp-ease); }
.hp-link:hover { color: var(--hp-cta-text); }
.hp-link:hover span { transform: translateX(3px); }
.hp-link:focus-visible { outline: 2px solid var(--hp-cta); outline-offset: 4px; border-radius: 4px; }

/* ================= 04 — Tarifs ================= */
.hp-plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border: 1px solid var(--hp-line-2); border-radius: 18px; overflow: hidden; }
.hp-plan { display: flex; flex-direction: column; padding: 32px 30px 30px; border-right: 1px solid var(--hp-line); }
.hp-plan:last-child { border-right: 0; }
.hp-plan.is-feat { background: var(--hp-surface); }
.hp-plan h3 { font: 500 12px/1 var(--hp-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hp-muted); }
.hp-price { margin: 24px 0 0; font: 600 3.4rem/1 'Geist', 'Inter', sans-serif; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--hp-text); }
.hp-price small { margin-left: 8px; font: 400 13px var(--hp-mono); letter-spacing: 0; color: var(--hp-muted); }
.hp-plan-lead { margin: 12px 0 0; min-height: 3em; font-size: .97rem; line-height: 1.5; color: var(--hp-muted); }
.hp-plan ul { list-style: none; margin: 22px 0 28px; padding: 0; border-top: 1px solid var(--hp-line); }
.hp-plan li { border-bottom: 1px solid var(--hp-line); font-size: .93rem; }
.hp-plan li, .hp-plan li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--hp-text); text-decoration: none; }
.hp-plan li:has(a) { padding: 0; }
.hp-plan li a { flex: 1; }
.hp-plan li a:hover { color: var(--hp-cta-text); }
.hp-plan li span { font: 400 13px var(--hp-mono); color: var(--hp-muted); }
.hp-btn {
  margin-top: auto; display: flex; justify-content: center; padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--hp-line-2); color: var(--hp-text); font-weight: 600; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.hp-btn:hover { border-color: var(--hp-muted); }
.hp-btn--primary { background: var(--hp-cta); border-color: var(--hp-cta); color: #fff; }
.hp-btn--primary:hover { background: #5458e8; border-color: #5458e8; }
.hp-btn:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; }
.hp-free { margin: 20px 0 0; font-size: 1rem; color: var(--hp-muted); }
.hp-free b { color: var(--hp-text); font-weight: 600; }
.hp-trust { margin: 28px 0 0; font: 400 12px/1.6 var(--hp-mono); color: var(--hp-faint); }

/* Comment marche un pack : raconté au défilement (--pk : 0 → 1, js/home-premium.js) */
.hp-pack { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 48px; align-items: center; margin-top: 56px; padding: 32px; border: 1px solid var(--hp-line); border-radius: 18px; }
.hp-pack-copy h3 { font-size: 1.15rem; }
.hp-pack-copy p { margin: 10px 0 0; font-size: .95rem; line-height: 1.55; color: var(--hp-muted); }
.hp-pack-visual { display: grid; grid-template-columns: auto auto 1fr; gap: 22px; align-items: center; }
.hp-pk-label { display: block; margin-bottom: 10px; font: 400 11.5px var(--hp-mono); color: var(--hp-muted); white-space: nowrap; }
.hp-pk-items, .hp-pk-slots { display: grid; gap: 6px; }
.hp-pk-items { grid-template-columns: repeat(2, var(--tw)); }
.hp-pk-slots { grid-template-columns: repeat(5, var(--tw)); }
.hp-pack { --tw: 54px; --th: 36px; }
.hp-pk-thumb, .hp-pk-slot {
  display: block; width: var(--tw); height: var(--th); border-radius: 6px;
  background: var(--atlas) calc(var(--c) * var(--tw) * -1) calc(var(--r) * var(--th) * -1) / calc(var(--tw) * 10) auto no-repeat, #0b0b10;
}
.hp-pk-slot { border: 1px dashed var(--hp-line-2); background: transparent; transition: background-color .35s, border-color .35s, opacity .35s; position: relative; }
.hp-pk-slot.is-filled {
  border: 1px solid transparent;
  background: var(--atlas) calc(var(--c) * var(--tw) * -1) calc(var(--r) * var(--th) * -1) / calc(var(--tw) * 10) auto no-repeat, #0b0b10;
}
.hp-pk-slot.is-credit { border: 1px solid rgba(99, 102, 241, .55); background: rgba(99, 102, 241, .12); }
.hp-pk-slot.is-credit::after { content: "+1"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px var(--hp-mono); color: var(--hp-cta-text); }
.hp-pk-thumb { transition: opacity .35s, transform .35s var(--hp-ease); }
.hp-pk-thumb.is-moved { opacity: .18; transform: scale(.9); }
.hp-pk-arrow { font: 400 18px var(--hp-mono); color: var(--hp-faint); }
.hp-pk-credits { display: block; margin-top: 10px; font: 500 12px var(--hp-mono); color: var(--hp-cta-text); opacity: 0; transition: opacity .4s; }
.hp-pk-credits.is-on { opacity: 1; }

/* ================= 05 — Questions ================= */
.hp-faq-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: start; }
.hp-faq-grid h2 { position: sticky; top: 110px; }
.hp-qas { margin-top: 44px; border-top: 1px solid var(--hp-line); }
.hp-qa { border-bottom: 1px solid var(--hp-line); }
.hp-qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; color: var(--hp-text);
}
.hp-qa summary::-webkit-details-marker { display: none; }
.hp-qa summary::after { content: "+"; flex: none; font: 400 18px/1 var(--hp-mono); color: var(--hp-faint); transition: transform .25s var(--hp-ease); }
.hp-qa[open] summary::after { transform: rotate(45deg); }
.hp-qa summary:hover { color: var(--hp-cta-text); }
.hp-qa summary:focus-visible { outline: 2px solid var(--hp-cta); outline-offset: 4px; border-radius: 4px; }
.hp-qa p { margin: 0 0 22px; max-width: 62ch; font-size: 1rem; line-height: 1.6; color: var(--hp-muted); }

/* ================= Fin de page ================= */
.hp-end { padding: 140px 0 120px; }
.hp-end h2 { max-width: 14ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.hp-end .hp-lead { max-width: 52ch; }
.hp-end-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hp-end-cta .hp-btn { margin-top: 0; padding: 15px 22px; }

/* ================= Menu et pied de page de l'accueil (body.home-premium) ================= */
.home-premium .nav-logo {
  font: 600 1.35rem/1 'Geist', 'Inter', sans-serif; letter-spacing: -0.03em;
  background: none; -webkit-text-fill-color: currentColor; color: #f4f4f5;
}
.theme-light.home-premium .nav-logo, .home-premium.theme-light .nav-logo { color: #0b0b12; }
.home-premium .nav-link { font-family: 'Geist', 'Inter', sans-serif; }
.home-premium .nav-premium-cta {
  background: none; box-shadow: none; padding: 0; border-radius: 0;
  color: var(--text-muted) !important; font-weight: 500; font-size: .9rem;
}
.home-premium .nav-premium-cta:hover { color: var(--text) !important; filter: none; }
.home-premium .nav-cta.auth-btn {
  font-family: 'Geist', 'Inter', sans-serif; font-weight: 600;
  background: #6366f1; border: 1px solid #6366f1; border-radius: 8px; box-shadow: none; color: #fff;
}
.home-premium .nav-cta.auth-btn:hover { background: #5458e8; transform: none; box-shadow: none; }
.home-premium .nav.scrolled { background: rgba(7, 7, 11, .82); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.theme-light.home-premium .nav.scrolled, .home-premium.theme-light .nav.scrolled { background: rgba(243, 244, 247, .85); border-bottom-color: rgba(15, 23, 42, .1); }
.home-premium .efl-cart svg { display: block; }

.home-premium .footer { background: #07070b; border-top: 1px solid rgba(255, 255, 255, .08); font-family: 'Geist', 'Inter', sans-serif; }
.theme-light.home-premium .footer, .home-premium.theme-light .footer { background: #f3f4f7; border-top-color: rgba(15, 23, 42, .1); }
.home-premium .footer-brand h3 { font: 600 1.3rem/1 'Geist', 'Inter', sans-serif; letter-spacing: -0.03em; background: none; -webkit-text-fill-color: currentColor; }
.home-premium .footer-col h4 { font: 500 11.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .06em; color: var(--text-muted); }
.home-premium .footer-bottom { font: 400 12px 'JetBrains Mono', ui-monospace, monospace; }
@media (min-width: 1025px) { .home-premium .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; } }

/* ================= Téléphone ================= */
@media (max-width: 900px) {
  .hp { padding: 96px 0; }
  .hp-idx { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .hp-idx-peek { display: none; }
  .hp-idx-list { columns: 1; }
  .hp-steps, .hp-scene { grid-template-columns: 1fr; }
  .hp-how.is-live .hp-how-rail { height: 280vh; }
  .hp-how.is-live .hp-how-stage { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 18px; align-content: center; padding-top: 76px; padding-bottom: 20px; }
  .hp-how.is-live .hp-scene { order: -1; height: min(420px, 56vh); }
  .hp-how.is-live .hp-steps { min-height: 150px; position: relative; }
  .hp-how.is-live .hp-step { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; }
  .hp-how.is-live .hp-step.is-on { opacity: 1; }
  .hp-how.is-live .hp-win--lib { width: 86%; }
  .hp-how.is-live .hp-win--code { width: 84%; top: 20%; }
  .hp-how.is-live .hp-win--site { left: 4%; width: 92%; }
  .hp-code { min-height: 0; font-size: 11px; }
  .hp-feats { grid-template-columns: 1fr; margin-top: 40px; }
  .hp-plans { grid-template-columns: 1fr; margin-top: 40px; }
  .hp-plan { border-right: 0; border-bottom: 1px solid var(--hp-line); }
  .hp-plan:last-child { border-bottom: 0; }
  .hp-plan-lead { min-height: 0; }
  .hp-pack { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .hp-pack > * { min-width: 0; }
  .hp-faq-grid { grid-template-columns: 1fr; gap: 0; }
  .hp-faq-grid h2 { position: static; }
  .hp-qas { margin-top: 32px; }
  .hp-end { padding: 96px 0 88px; }
  .hp-pack-visual { grid-template-columns: 1fr; gap: 16px; }
  .hp-pk-arrow { display: none; }
  .hp-pack { --tw: 48px; --th: 32px; }
  .hp-pk-items { grid-template-columns: repeat(4, var(--tw)); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-idx-peek img, .hp-idx-row, .hp-copy, .hp-works span { transition: none; }
}
