/* ─── Meloverse — site de vente (thème cosmos × musique) ─────────────────── */

/* Inter auto-hébergée (variable 400-850) — rapide + conforme RGPD (pas de requête Google) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 850;
  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;
}

:root {
  --bg: #07080e;
  --bg-2: rgba(20, 22, 34, 0.62);
  --border: rgba(165, 180, 255, 0.14);
  --text: #eceefb;
  --dim: #9aa0b4;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --pink: #ff5fa2;
  --blue: #60a5fa;
  --green: #34d399;
  --radius: 16px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out : le « feel » Apple */
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  background: #07080e; color: var(--text); line-height: 1.6;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 0 0 12px 12px;
  background: var(--accent); color: #fff; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@supports (scrollbar-width: thin) { html { scrollbar-color: rgba(139,92,246,0.45) transparent; } }

/* fond animé */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-base { position: absolute; inset: 0;
  background:
    radial-gradient(1200px 820px at 78% -8%, rgba(112, 70, 210, 0.5), transparent 60%),
    radial-gradient(1050px 720px at 6% 30%, rgba(48, 96, 220, 0.32), transparent 60%),
    radial-gradient(900px 800px at 60% 110%, rgba(236, 72, 153, 0.22), transparent 60%),
    linear-gradient(180deg, #0a0b14, #07080e 60%, #060711); }
.bg-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; }
.bg-orb.o1 { width: 520px; height: 520px; left: -140px; top: 6%;
  background: radial-gradient(circle at 35% 35%, rgba(139,92,246,0.5), transparent 70%);
  animation: orb1 26s ease-in-out infinite alternate; }
.bg-orb.o2 { width: 460px; height: 460px; right: -120px; top: 42%;
  background: radial-gradient(circle at 60% 40%, rgba(255,95,162,0.32), transparent 70%);
  animation: orb2 32s ease-in-out infinite alternate; }
@keyframes orb1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 90px) scale(1.15); } }
@keyframes orb2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-80px, -70px) scale(0.95); } }

/* barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 90;
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--pink)); }

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 96px 0; }
.eyebrow { color: var(--accent-2); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h2.title { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 14px; }
.lead { color: var(--dim); font-size: 18px; max-width: 620px; text-wrap: pretty; }
.center { text-align: center; margin-inline: auto; }

/* ── Apparitions au défilement (façon Apple) ─────────────────────────────
   Masqué UNIQUEMENT si le JS est là (html.js) → aucun contenu perdu sans JS. */
html.js [data-reveal] { opacity: 0; transform: translateY(26px) scale(0.985); }
html.js [data-reveal].in { opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 0.9s var(--ease-out) var(--d, 0s); }
html.js [data-reveal="left"] { transform: translateX(-34px); }
html.js [data-reveal="right"] { transform: translateX(34px); }
html.js [data-reveal="zoom"] { transform: scale(0.92); }

/* nav */
header.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 16, 0.6); border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s; }
header.nav.scrolled { background: rgba(7, 8, 14, 0.86); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.nav-in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4), 0 0 22px rgba(139, 92, 246, 0.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 19px; font-weight: 800; background: linear-gradient(90deg, var(--accent-2), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); margin-top: 1px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--dim); font-size: 14.5px; font-weight: 600; transition: color 0.15s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--blue)); border-radius: 2px; transition: right 0.3s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }

/* burger (mobile) */
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); border-radius: 12px; cursor: pointer; position: relative; flex-shrink: 0; }
.nav-burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out); }
.nav-burger i:nth-child(1) { top: 15px; } .nav-burger i:nth-child(2) { top: 21px; } .nav-burger i:nth-child(3) { top: 27px; }
header.nav.open .nav-burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
header.nav.open .nav-burger i:nth-child(2) { opacity: 0; }
header.nav.open .nav-burger i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-mobile { display: none; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text); transition: transform 0.18s var(--ease-out), box-shadow 0.25s, background 0.2s, border-color 0.2s;
  white-space: nowrap; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #6d28d9); border-color: transparent; color: #fff;
  box-shadow: 0 8px 26px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn.primary:hover { box-shadow: 0 14px 38px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease-out); }
.btn.primary:hover::after { left: 130%; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { border-color: rgba(167, 139, 250, 0.5); background: rgba(139, 92, 246, 0.08); }
.btn.small { padding: 9px 15px; font-size: 14px; }
.btn.big { padding: 15px 28px; font-size: 16.5px; }

/* hero */
.hero { padding: 84px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(30px, 8.5vw, 76px); font-weight: 850; }
.hero h1 .grad { background: linear-gradient(100deg, #fff 10%, #c7bfff 35%, #7aa8ff 60%, var(--pink) 85%, #c7bfff);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate; }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero .lead { font-size: 20px; margin: 22px auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--dim); font-size: 13.5px; margin-top: 16px; }

/* capture / maquette (avec inclinaison qui suit la souris) */
.shot { margin: 56px auto 0; max-width: 980px; border-radius: 18px; border: 1px solid var(--border);
  background: rgba(20, 22, 34, 0.92); box-shadow: 0 40px 120px rgba(0,0,0,0.6); overflow: hidden;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--py, 0px));
  transition: box-shadow 0.4s; }
html.js .shot { animation: shotIn 1.1s var(--ease-out) both; }
@keyframes shotIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
.shot .bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #44485c; }
.shot .bar i:nth-child(1){ background:#ff5f57 } .shot .bar i:nth-child(2){ background:#febc2e } .shot .bar i:nth-child(3){ background:#28c840 }
.shot-body { padding: 0; }
.shot-body img { width: 100%; }
.shot-fallback { padding: 60px 24px; text-align: center; color: var(--dim); }

/* maquette animée du cockpit (hero) */
.mock { display: flex; min-height: 380px; text-align: left; background: linear-gradient(160deg, #0b0c16, #090a12); }
.mk-side { width: 64px; border-right: 1px solid var(--border); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mk-logo { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 14px rgba(139,92,246,0.5); }
.mk-logo img { width: 100%; height: 100%; }
.mk-side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.mk-side i.on { background: linear-gradient(135deg, var(--accent), #6d28d9); box-shadow: 0 0 14px rgba(139,92,246,0.5); }
.mk-main { flex: 1; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mk-kick { font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-2); }
.mk-title { font-size: clamp(16px, 2.6vw, 24px); font-weight: 850; margin-top: 3px; }
.mk-clock { font-size: clamp(20px, 3vw, 30px); font-weight: 850; letter-spacing: -0.02em; }
.mk-clock small { color: var(--dim); font-size: 0.55em; font-weight: 700; }
.mk-wave { flex: 1; min-height: 110px; display: flex; align-items: flex-end; gap: 3px; padding: 8px 0; }
.mk-wave b { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; height: calc(var(--h) * 1%);
  background: linear-gradient(180deg, hsl(calc(255 + var(--i) * 1.1), 85%, 66%), rgba(139,92,246,0.25));
  animation: mkbar 1.15s var(--ease) calc(var(--i) * -0.09s) infinite alternate; transform-origin: bottom; }
@keyframes mkbar { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
.mk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-deck { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); min-width: 0; }
.mk-deck > b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #6d28d9); font-size: 15px; }
.mk-meta { min-width: 0; flex: 1; }
.mk-t { display: block; font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-m { display: block; color: var(--dim); font-size: 11.5px; margin-top: 2px; }
.mk-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.6px; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.mk-badge.live { background: rgba(255, 95, 162, 0.16); color: var(--pink); border: 1px solid rgba(255,95,162,0.45); animation: mkpulse 1.6s ease infinite; }
.mk-badge.sync { background: rgba(52, 211, 153, 0.14); color: var(--green); border: 1px solid rgba(52,211,153,0.4); }
@keyframes mkpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,95,162,0.35); } 50% { box-shadow: 0 0 0 6px rgba(255,95,162,0); } }
.mk-transport { display: flex; align-items: center; gap: 9px; padding-top: 4px; border-top: 1px solid var(--border); }
.mk-transport > i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.07); }
.mk-transport > i.play { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), #6d28d9); position: relative; box-shadow: 0 0 18px rgba(139,92,246,0.5); }
.mk-transport > i.play::after { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
  border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mk-pill { font-size: 11px; font-weight: 800; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--dim); }
.mk-pill.on { background: var(--accent); color: #fff; border-color: transparent; }
.mk-vu { margin-left: auto; display: flex; gap: 4px; align-items: flex-end; height: 30px; }
.mk-vu b { width: 7px; height: 100%; border-radius: 3px; background: rgba(255,255,255,0.07); position: relative; overflow: hidden; }
.mk-vu b::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--l);
  background: linear-gradient(180deg, var(--pink), var(--green)); animation: mkvu 0.9s ease-in-out infinite alternate; }
@keyframes mkvu { from { height: calc(var(--l) - 18%); } to { height: var(--l); } }

/* bandeau confiance */
.trust { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; color: var(--dim); font-size: 14px; padding: 0 0 20px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--border); }
.trust b { color: var(--text); }

/* ruban défilant de mots-clés */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 16px 0; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-in { display: flex; gap: 44px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-in, .marquee:focus-within .marquee-in { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.4px; white-space: nowrap; }
.marquee span::before { content: '◆'; font-size: 8px; color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: rgba(20, 22, 34, 0.92); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.35s var(--ease-out), border-color 0.25s, box-shadow 0.35s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.55), transparent); opacity: 0; transition: opacity 0.3s; }
.card:hover { transform: translateY(-5px); border-color: rgba(167,139,250,0.5); box-shadow: 0 22px 56px rgba(76,40,160,0.34); }
.card:hover::before { opacity: 1; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(96,165,250,0.15)); color: var(--accent-2);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.card:hover .ico { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 24px rgba(139,92,246,0.35); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 14.5px; }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 10px; }
.step .n { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 22px; background: linear-gradient(135deg, var(--accent), #6d28d9); color: #fff;
  box-shadow: 0 8px 26px rgba(139,92,246,0.4); }
.step h3 { font-size: 18px; margin-bottom: 6px; } .step p { color: var(--dim); font-size: 14.5px; }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase .panel { aspect-ratio: 16/10; border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 30% 20%, rgba(139,92,246,0.35), transparent 60%), #0a0b16; overflow: hidden; position: relative; }
.showcase ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; color: var(--dim); }
.showcase li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.showcase li b { color: var(--text); }

/* pricing */
.billing { display: flex; justify-content: center; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.bill-opt { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--dim); font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s var(--ease); }
.bill-opt:hover { color: var(--text); }
.bill-opt.on { background: linear-gradient(135deg, var(--accent), #6d28d9); color: #fff; border-color: transparent; }
.bill-save { font-size: 11px; background: rgba(52,211,153,0.18); color: var(--green); padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.bill-opt.on .bill-save { background: rgba(0, 0, 0, 0.35); color: #fff; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.price { background: rgba(20, 22, 34, 0.92); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.price:hover { transform: translateY(-4px); }
.price.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(139,92,246,0.25); }
.price .tag { position: absolute; top: -12px; right: 22px; background: linear-gradient(135deg, #6d28d9, #be185d);
  color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 20px; }
.price .amt { font-size: 42px; font-weight: 850; letter-spacing: -0.02em; }
.price .amt small { font-size: 15px; color: var(--dim); font-weight: 600; }
.amt-equiv { display: block; font-size: 13.5px; font-weight: 700; color: var(--green); margin-top: 2px; }
.price .desc { color: var(--dim); font-size: 14px; }
.trial-note { font-size: 12.5px; color: var(--green); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25);
  border-radius: 9px; padding: 7px 10px; line-height: 1.4; }
/* passage Standard → Pro : discret, sous le bouton, jamais un 2e appel à l'achat */
.upgrade-note { font-size: 12px; color: var(--dim); line-height: 1.45; margin-top: 8px; text-align: center; }
.upgrade-note b { color: var(--text); }
.upgrade-note a { color: var(--accent-2); }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }
.price li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price .btn { width: 100%; justify-content: center; }

/* download */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dl .card { text-align: center; }
.dl .card .ico { margin-inline: auto; }
.dl .card .btn { margin-top: 14px; }
.note { background: rgba(139,92,246,0.08); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px;
  color: var(--dim); font-size: 14px; margin-top: 22px; }
.note b { color: var(--text); }

/* faq */
.faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: rgba(20, 22, 34, 0.92); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px;
  transition: border-color 0.25s; }
.faq details[open] { border-color: rgba(167,139,250,0.4); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; content: '+' / ''; color: var(--accent-2); font-size: 22px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--dim); padding: 0 0 16px; font-size: 14.5px; }
.faq details[open] p { animation: faqIn 0.4s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* cta final */
.final { text-align: center; background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(96,165,250,0.1));
  border: 1px solid var(--border); border-radius: 24px; padding: 60px 30px; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(139,92,246,0.22), transparent 70%);
  animation: finalGlow 7s ease-in-out infinite alternate; pointer-events: none; }
@keyframes finalGlow { from { transform: translate(-8%, -6%) scale(1); } to { transform: translate(8%, 6%) scale(1.12); } }
.final > * { position: relative; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--dim); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
/* nav : burger dès 1080px (à 1024 la barre complète déborde) */
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 100% 0 auto 0; /* 100% du header : il est le bloc conteneur (backdrop-filter) */ z-index: 49; flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px 18px 18px; margin: 0; background: #0a0b12;
    border-bottom: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.3s, visibility 0.3s; }
  header.nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(165,180,255,0.08); }
  .nav-links a::after { display: none; }
  .nav-burger { display: block; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn.ghost { display: none; }
}
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 44px; }
  .shot { margin-top: 40px; }
}
@media (max-width: 720px) {
  .mk-row { grid-template-columns: 1fr; }
  .mock { min-height: 320px; }
  .hero .lead { font-size: 17px; }
  .lead { font-size: 16px; }
  .hero-cta .btn.big { width: 100%; max-width: 380px; }
  .trust { gap: 10px; font-size: 13px; }
  .final { padding: 44px 20px; }
  .price .amt { font-size: 36px; }
  .foot-in { flex-direction: column; text-align: center; justify-content: center; }
  .foot-in > div:first-child .brand { justify-content: center; }
  .foot-links { justify-content: center; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  /* « DJ Studio » reste visible même en petit : juste au-dessus, le bandeau du
     multivers affiche déjà MELOVERSE. Sans ce qualificatif, deux fois le même
     mot se suivaient à 60 px d'écart, avec deux logos différents. */
  .brand-text small { font-size: 8.5px; letter-spacing: 1.3px; }
  .nav-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-text b { font-size: 17px; }
  .nav-cta .btn.small { padding: 8px 11px; font-size: 12.5px; }
  .nav-burger { width: 40px; height: 40px; }
  .nav-burger i { left: 10px; right: 10px; }
  .nav-burger i:nth-child(1) { top: 13px; } .nav-burger i:nth-child(2) { top: 19px; } .nav-burger i:nth-child(3) { top: 25px; }
  header.nav.open .nav-burger i:nth-child(1), header.nav.open .nav-burger i:nth-child(3) { top: 19px; }
  .bill-opt, .btn.small { min-height: 44px; }
  .foot-links a { padding: 10px 2px; display: inline-block; }
  .mk-side { display: none; }
  .mock { min-height: 280px; }
  .mk-main { padding: 14px 14px; }
  .step { padding: 4px; }
  .billing { gap: 8px; }
  .bill-opt { padding: 9px 13px; font-size: 13px; }
}

@media (max-width: 379px) {
  .brand-text { display: none; } /* le logo rond reste comme repère */
}

/* ── Windows High Contrast / forced-colors ──────────────────────────────── */
@media (forced-colors: active) {
  .nav-burger i { forced-color-adjust: none; background: CanvasText; }
  .bill-opt.on { border: 3px solid ButtonText; }
  .progress { background: Highlight; }
}

/* ── Impression (surtout legal.html) ────────────────────────────────────── */
@media print {
  .bg-fx, .progress, .nav-cta, .nav-burger, .marquee, .shot, .hero-cta, .final, .skip-link { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .lead, .card p, .faq p, .note, .step p { color: #333 !important; }
  .card, .price, .faq details, .note { background: #fff !important; border-color: #bbb !important; box-shadow: none !important; }
  h1, h2, h3, .card h3 { color: #000 !important; }
  .brand-text b { -webkit-text-fill-color: #000; color: #000; background: none; }
  header.nav { position: static; background: #fff; }
  a { color: #000; }
}

/* ── Accessibilité : réduction des animations ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mk-wave b, .mk-vu b::after, .mk-badge.live, .marquee-in, .bg-orb, .hero h1 .grad,
  .final::before, html.js .shot, .tour-panel.on { animation: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .price, .shot, .tour-tab, .vj-view { transition: none !important; }
  .shot { transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PASSE BEAUTÉ v3 — lumière, matière, détails premium (additif)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Titres de sections : même lumière que le hero */
h2.title {
  background: linear-gradient(100deg, #fff 15%, #c7bfff 55%, #93c5fd 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrows : encadrés de deux tirets lumineux */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2)); }
.eyebrow::after { background: linear-gradient(90deg, var(--accent-2), transparent); }

/* Offre mise en avant : vraie bordure en dégradé violet → rose → bleu */
.price.feat {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(20, 22, 34, 0.94), rgba(20, 22, 34, 0.94)) padding-box,
    linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(255, 95, 162, 0.7) 55%, rgba(96, 165, 250, 0.8)) border-box;
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.28);
}

/* Maquette du hero : cadre légèrement irisé */
.shot {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(20, 22, 34, 0.92), rgba(20, 22, 34, 0.92)) padding-box,
    linear-gradient(160deg, rgba(167, 139, 250, 0.5), rgba(165, 180, 255, 0.12) 40%, rgba(255, 95, 162, 0.35)) border-box;
}

/* Étapes : ligne de progression entre les pastilles (desktop) */
@media (min-width: 900px) {
  .step { position: relative; }
  .step:not(:last-child)::after { content: ''; position: absolute; top: 36px; left: calc(50% + 44px);
    width: calc(100% - 88px); height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.55), rgba(96, 165, 250, 0.15)); }
}

/* Icônes des cartes : anneau discret */
.card .ico { border: 1px solid rgba(167, 139, 250, 0.28); }

/* CTA final : même bordure irisée que l'offre vedette */
.final {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(15, 16, 26, 0.86), rgba(15, 16, 26, 0.86)) padding-box,
    linear-gradient(135deg, rgba(139, 92, 246, 0.65), rgba(96, 165, 250, 0.45) 60%, rgba(255, 95, 162, 0.5)) border-box;
}

/* Boutons ghost : halo violet au survol */
.btn.ghost:hover { box-shadow: 0 8px 24px rgba(139, 92, 246, 0.18); }

/* Prix : chiffres lumineux */
.price .amt { background: linear-gradient(180deg, #fff 30%, #c7bfff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .amt small, .price .amt .amt-equiv { -webkit-text-fill-color: initial; background: none; }
.price .amt small { color: var(--dim); }
.price .amt .amt-equiv { color: var(--green); }

/* Pied de page : ligne de lumière centrale */
footer { position: relative; border-top: none; }
footer::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent); }

/* Grain cinéma très léger (matière premium) */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}
@media print {
  body::after, .step::after { display: none !important; }
  h2.title, .price .amt { -webkit-text-fill-color: #000; color: #000; background: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PASSE « WOW » — signature d'agence premium (additif)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Halo qui suit le curseur (desktop) — la page semble éclairée par la souris */
.spotlight { position: fixed; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(139, 92, 246, 0.13), rgba(96, 165, 250, 0.05) 45%, transparent 65%);
  opacity: 0; transition: opacity 0.6s; }
.spotlight.on { opacity: 1; }
@media (pointer: coarse) { .spotlight { display: none; } }

/* Titre du hero : révélation ligne par ligne (masque + montée) */
.hero h1 .l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .li { display: inline-block; }
html.js .hero h1 .li { transform: translateY(118%); animation: lineUp 0.95s var(--ease-out) forwards; }
html.js .hero h1 .l:nth-child(2) .li { animation-delay: 0.18s; }
@keyframes lineUp { to { transform: translateY(0); } }

/* Rubans jumeaux en sens opposés */
.marquee-in.rev { animation-direction: reverse; margin-top: 14px; opacity: 0.75; }

/* Bande « en chiffres » : les stats d'un produit sérieux */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
  padding-top: 70px; padding-bottom: 8px; text-align: center; }
.stat b { display: block; font-size: clamp(38px, 5vw, 58px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.05;
  background: linear-gradient(180deg, #fff 25%, #c7bfff 75%, #93c5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; color: var(--dim); font-size: 13.5px; margin-top: 8px; line-height: 1.45; }

/* CTA magnétiques : le bouton vient légèrement vers le curseur */
.btn.magnetic { transition: transform 0.18s var(--ease-out), box-shadow 0.25s; will-change: transform; }

/* L'offre vedette respire (halo qui pulse doucement) */
.price.feat { animation: featGlow 4.5s ease-in-out infinite alternate; }
@keyframes featGlow {
  from { box-shadow: 0 24px 60px rgba(139, 92, 246, 0.24); }
  to { box-shadow: 0 24px 72px rgba(139, 92, 246, 0.42), 0 0 34px rgba(255, 95, 162, 0.14); }
}

/* Footer signature : filigrane géant + colonnes */
.foot-big { position: relative; overflow: hidden; padding: 64px 0 34px; }
.foot-mark { position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%);
  font-size: clamp(90px, 17vw, 250px); font-weight: 850; letter-spacing: 0.02em; line-height: 1;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.13), rgba(167, 139, 250, 0.015) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none; white-space: nowrap; }
/* 4e colonne ajoutée à l'intégration : la sortie vers les autres univers Meloverse.
   Le bandeau du haut disparaît au défilement — sans ce bloc, le bas de page serait
   un cul-de-sac pour qui a lu la page en entier. */
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 34px; margin-bottom: 22px; border-bottom: 1px solid rgba(165, 180, 255, 0.1); }
.foot-brand p { color: var(--dim); font-size: 13.5px; margin-top: 12px; max-width: 300px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col b { color: var(--text); font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 4px; }
.foot-col a { color: var(--dim); font-size: 14px; width: fit-content; transition: color 0.15s, transform 0.15s var(--ease-out); }
.foot-col a:hover { color: var(--text); transform: translateX(3px); }
.foot-note { color: var(--dim); font-size: 13px; }
/* Entre 721 et 1040 px, quatre colonnes deviendraient illisibles : on passe à deux. */
@media (max-width: 1040px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 34px; }
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight { display: none; }
  html.js .hero h1 .li { transform: none; animation: none; }
  .marquee-in.rev { animation: none; }
  .price.feat { animation: none; }
  .btn.magnetic { transition: none; }
}
@media print { .foot-mark, .spotlight { display: none !important; } }

/* ── Page Télécharger : encadré « première ouverture » ── */
.dl-first { margin: 28px auto 0; max-width: 820px; text-align: left; padding: 20px 22px;
  border: 1px solid transparent; border-radius: 16px;
  background:
    linear-gradient(rgba(20, 22, 34, 0.92), rgba(20, 22, 34, 0.92)) padding-box,
    linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(96, 165, 250, 0.35)) border-box; }
.dl-first > b { display: block; margin-bottom: 12px; font-size: 15px; }
.dl-first-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-first p { color: var(--dim); font-size: 14px; margin-top: 5px; }
.dl-first .sec { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(165, 180, 255, 0.12); }
.dl-os { font-weight: 800; color: var(--accent-2); font-size: 13.5px; }
.dl-steps { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;
  color: var(--dim); font-size: 14px; }
.dl-steps li { line-height: 1.5; }
.dl-steps b { color: var(--text); }
@media (max-width: 700px) { .dl-first-grid { grid-template-columns: 1fr; } }

/* ── Ligne de version sous le hero ── */
.hero-ver { color: var(--dim); font-size: 12.5px; margin-top: 8px; opacity: 0.85; }
.hero-ver b { color: var(--accent-2); }

/* ─── Offre de lancement (bandeau + prix barré) ────────────────────────────── */
/* Verre sombre + halos violet/rose (même famille que le hero), hairline dégradée
   en bas et reflet lumineux qui balaie lentement — pas d'aplat criard. */
.promo-bar { position: relative; z-index: 60; color: var(--text); overflow: hidden;
  background:
    radial-gradient(60% 220% at 10% 50%, rgba(139, 92, 246, 0.30), transparent 62%),
    radial-gradient(52% 220% at 90% 50%, rgba(190, 24, 93, 0.22), transparent 62%),
    rgba(9, 10, 18, 0.94); }
.promo-bar::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--accent), #be185d, transparent 96%);
  opacity: 0.65; }
.promo-bar::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.07) 50%, transparent 58%);
  transform: translateX(-70%); animation: promo-sheen 6s ease-in-out infinite; }
@keyframes promo-sheen { 0% { transform: translateX(-70%); } 60%, 100% { transform: translateX(70%); } }
.promo-in { position: relative; display: flex; align-items: center; justify-content: center;
  gap: 10px 14px; padding: 10px 44px; flex-wrap: wrap; }
.promo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent), #be185d);
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.45); }
.promo-txt { font-size: 14.5px; line-height: 1.45; }
.promo-txt s { color: var(--dim); font-size: 13px; margin-right: 2px; }
.promo-price { font-weight: 850; font-size: 16.5px;
  background: linear-gradient(90deg, #fff 25%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.promo-code { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px;
  border: 1px dashed rgba(167, 139, 250, 0.55); border-radius: 9px; font-size: 12.5px;
  color: var(--accent-2); background: rgba(139, 92, 246, 0.10); white-space: nowrap; }
.promo-code b { letter-spacing: 1px; }
.promo-close { position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--dim); font-size: 15px;
  cursor: pointer; padding: 8px 10px; transition: color 0.15s; }
.promo-close:hover { color: var(--text); }

/* prix barré sur la carte Pro (le .amt est en texte-dégradé : on le neutralise ici) */
.price .amt .amt-old { font-size: 20px; font-weight: 700; text-decoration: line-through;
  margin-right: 8px; -webkit-text-fill-color: initial; background: none; color: var(--dim); }
.price .tag.launch { background: linear-gradient(135deg, #d97706, #be185d); }
.trial-note.launch { color: var(--accent-2); background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3); }

/* pastille « voir l'offre » sous le sélecteur mensuel/annuel/à vie */
.launch-hint { display: block; margin: -16px auto 26px; padding: 9px 18px;
  border-radius: 999px; border: 1px dashed rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.1); color: var(--accent-2); font-weight: 700;
  font-size: 13.5px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.launch-hint:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--accent-2); }
/* `display: block` ci-dessus écraserait l'attribut hidden : on le rétablit */
.launch-hint[hidden] { display: none; }

@media (max-width: 760px) {
  /* mobile : l'essentiel sur une ligne compacte — la pastille code disparaît
     (le code est de toute façon appliqué automatiquement au paiement) */
  .promo-code { display: none; }
  .promo-txt { font-size: 13px; }
  .promo-badge { font-size: 10.5px; padding: 3px 10px; }
  .promo-in { gap: 8px 10px; padding: 9px 40px; }
}
@media (prefers-reduced-motion: reduce) { .promo-bar::after { animation: none; } }
@media print { .promo-bar, .launch-hint { display: none !important; } }

/* ─── Passe mobile : raffinements (juillet 2026) ───────────────────────────── */
@media (max-width: 720px) {
  /* Tarifs en 1 colonne : la carte vedette (Pro + offre de lancement) passe en
     PREMIER — c'est elle qu'on met en avant, pas question de la faire scroller */
  .price.feat { order: -1; }
  /* cartes fonctionnalités : moins d'air en colonne unique, la liste respire mieux */
  .card { padding: 20px 18px; }
  .card .ico { width: 42px; height: 42px; margin-bottom: 12px; }
}
@media (max-width: 480px) {
  /* l'unité de prix (« à vie · paiement unique ») passe SOUS le montant :
     à côté du prix barré + du prix, elle se repliait mot à mot */
  .price .amt small { display: block; margin-top: 4px; }
  /* bandeau de lancement compact : le bouton disparaît, TOUT le bandeau est
     cliquable (voir app.js) — deux lignes au lieu de trois au premier écran */
  #promo-cta { display: none; }
  .promo-bar { cursor: pointer; }
  .promo-in { padding: 8px 40px; }
  /* cibles tactiles du grand pied de page (liens empilés) */
  .foot-col a { padding: 7px 0; display: inline-block; }
  .promo-close { padding: 12px; }
}

/* ─── VISITE GUIDÉE : le logiciel expliqué écran par écran ─────────────────
   Une seule section, beaucoup de contenu : on navigue le logiciel comme dans
   l'app (menu à gauche, écran à droite). Rien n'est visible en trop — le
   visiteur choisit ce qu'il veut voir au lieu de lire une page à rallonge. */
.tour { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.tour-nav { display: flex; flex-direction: column; gap: 5px; position: sticky; top: calc(var(--nav-h) + 20px);
  max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.tour-grp { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--dim); opacity: 0.75; padding: 14px 12px 5px; }
.tour-tab { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 10px 12px;
  border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--dim);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.18s var(--ease); }
.tour-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.tour-tab.on { color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, 0.26), rgba(139, 92, 246, 0.05));
  border-color: rgba(139, 92, 246, 0.5); }
.tour-tab .ti { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06); font-size: 14px; line-height: 1; }
.tour-tab.on .ti { background: linear-gradient(135deg, var(--accent), #6d28d9); box-shadow: 0 0 14px rgba(139, 92, 246, 0.45); }
.tp { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; padding: 3px 7px; border-radius: 999px;
  background: linear-gradient(135deg, #b45309, #d97706); color: #fff; vertical-align: middle; white-space: nowrap; }
.tour-tab .tp { margin-left: auto; }
.card h3 .tp { margin-left: 7px; }
.tour-panel { display: none; }
.tour-panel.on { display: block; animation: tourin 0.4s var(--ease-out); }
@keyframes tourin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tour-cap { margin-top: 18px; }
.tour-cap h3 { font-size: clamp(19px, 2.6vw, 23px); font-weight: 850; letter-spacing: -0.02em; }
.tour-cap p { color: var(--dim); margin-top: 7px; font-size: 15px; line-height: 1.6; max-width: 60ch; }
.tour-pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tour-pt { font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text); }
.tour-pt b { color: var(--accent-2); }

/* ── Maquettes d'écran (mêmes codes visuels que le logiciel) ── */
.scr { background: linear-gradient(160deg, #0b0c16, #090a12); border-radius: 15px; border: 1px solid var(--border);
  overflow: hidden; display: flex; aspect-ratio: 16 / 8.7; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.scr-side { width: 52px; border-right: 1px solid var(--border); padding: 12px 0; display: flex;
  flex-direction: column; align-items: center; gap: 11px; flex-shrink: 0; }
.scr-side i { width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.scr-side i.on { background: linear-gradient(135deg, var(--accent), #6d28d9); box-shadow: 0 0 12px rgba(139, 92, 246, 0.5); }
.scr-body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.scr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.scr-h b { font-size: clamp(13px, 1.8vw, 16px); font-weight: 850; }
.scr-h span { font-size: 10.5px; color: var(--dim); font-weight: 700; }
.scr-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.scr-chip { font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.07); color: var(--dim); white-space: nowrap; }
.scr-chip.on { background: linear-gradient(135deg, var(--accent), #6d28d9); color: #fff; border-color: transparent; }
.scr-chip.pink { background: rgba(255, 95, 162, 0.16); color: var(--pink); border-color: rgba(255, 95, 162, 0.4); }
.scr-chip.green { background: rgba(52, 211, 153, 0.15); color: var(--green); border-color: rgba(52, 211, 153, 0.38); }
.scr-chip.gold { background: rgba(217, 119, 6, 0.18); color: #f3b64b; border-color: rgba(217, 119, 6, 0.45); }
.scr-list { display: flex; flex-direction: column; gap: 5px; min-height: 0; flex: 1 1 auto; }
.scr-tr { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.05); font-size: 11.5px; }
.scr-tr.on { border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.13); }
.scr-tr .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.scr-tr .ar { color: var(--dim); font-size: 10.5px; white-space: nowrap; }
.scr-tr .mt { margin-left: auto; display: flex; gap: 5px; flex-shrink: 0; }
.scr-k { font-size: 9.5px; font-weight: 800; padding: 3px 6px; border-radius: 5px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.07); color: var(--dim); }
.scr-k.b { background: rgba(96, 165, 250, 0.16); color: var(--blue); }
.scr-k.g { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.scr-k.p { background: rgba(255, 95, 162, 0.16); color: var(--pink); }
.scr-cols { display: grid; gap: 10px; flex: 1; min-height: 0; }
.scr-card { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px; padding: 11px 12px; display: flex; flex-direction: column; gap: 7px; min-width: 0;
  overflow: hidden; }
.scr-card > b { font-size: 11.5px; font-weight: 800; }
.scr-card .sm { font-size: 10.5px; color: var(--dim); line-height: 1.5; }
.scr-tl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scr-mom { padding: 8px 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06); }
.scr-mom.on { border-color: rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.16); }
.scr-mom u { display: block; font-size: 9px; color: var(--dim); text-decoration: none; font-weight: 700; }
.scr-mom b { display: block; font-size: 11px; margin-top: 2px; }
.scr-eq { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.scr-eq b { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--accent-2), rgba(139, 92, 246, 0.25));
  height: calc(var(--h) * 1%); }
.scr-curve { height: 62px; width: 100%; display: block; }
.scr-foot { display: flex; align-items: center; gap: 6px; padding-top: 4px; flex-wrap: wrap; }

/* ── Écran téléphone (invités QR) + vues du studio VJ ── */
.qr-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: center; }
.phone { width: 235px; margin: 0 auto; border-radius: 30px; border: 8px solid #14151f; background: #0a0b12;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); overflow: hidden; position: relative; }
.phone::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 5px; border-radius: 999px; background: #23242f; }
.phone-in { padding: 22px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.phone-h { text-align: center; }
.phone-h b { font-size: 17px; background: linear-gradient(90deg, var(--pink), var(--accent)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.phone-h span { display: block; font-size: 10px; letter-spacing: 2px; color: var(--dim); margin-top: 1px; }
.phone-card { background: #15151f; border: 1px solid #262633; border-radius: 12px; padding: 10px; }
.phone-card b { font-size: 11px; display: block; margin-bottom: 7px; }
.phone-field { height: 26px; border-radius: 8px; border: 1px solid #33334a; background: #0e0e16;
  font-size: 9.5px; color: var(--dim); display: flex; align-items: center; padding: 0 9px; margin-bottom: 6px; }
.phone-btn { height: 28px; border-radius: 8px; background: linear-gradient(90deg, var(--pink), var(--accent));
  font-size: 10px; font-weight: 800; color: #fff; display: grid; place-items: center; }
.vj-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; margin-top: 28px; }
.vj-view { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; transition: all 0.25s var(--ease); }
.vj-view:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.45); }
.vj-dia { height: 92px; border-radius: 10px; background: #090a12; border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px; display: grid; gap: 5px; }
.vj-dia i { border-radius: 5px; background: rgba(255, 255, 255, 0.07); display: block; }
.vj-dia i.a { background: linear-gradient(135deg, rgba(139, 92, 246, 0.75), rgba(109, 40, 217, 0.5)); }
.vj-dia i.g { background: rgba(52, 211, 153, 0.45); }
.vj-dia i.p { background: rgba(255, 95, 162, 0.4); }
.vj-view h3 { font-size: 15.5px; font-weight: 850; }
.vj-view p { font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.vj-view .use { font-size: 12px; font-weight: 700; color: var(--accent-2); margin-top: auto; }


/* ── Briques d'écran : calendrier, visuel promo, zone de dépôt ── */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; flex: 1 1 auto; min-height: 0; align-content: start; }
.cal .cal-d { font-size: 10px; font-weight: 800; color: var(--dim); text-align: center; letter-spacing: 0.5px; }
.cal i { min-height: 32px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.045);
  padding: 3px 4px; min-height: 26px; display: flex; flex-direction: column; gap: 2px; font-style: normal; }
/* `flex: none` : dans une case de 26 px de haut, la pastille d'événement était
   compressée à 4 px — le rendez-vous devenait un trait de couleur illisible.
   Elle garde donc sa hauteur, c'est la case qui s'adapte. */
.cal i u { flex: none; font-size: 10px; color: var(--dim); text-decoration: none; font-weight: 700; }
.cal i em { flex: none; font-size: 10px; font-style: normal; font-weight: 700; padding: 2px 4px; border-radius: 4px;
  background: rgba(139, 92, 246, 0.3); color: #ded4ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal i.today { border-color: rgba(139, 92, 246, 0.7); }
.cal i.ev.g em { background: rgba(52, 211, 153, 0.26); color: #b6f0da; }
.cal i.ev.b em { background: rgba(96, 165, 250, 0.26); color: #cfe1ff; }
.scr-card.dropz { border-style: dashed; border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.07); }
.promo { border-radius: 10px; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: radial-gradient(120% 90% at 25% 15%, rgba(255, 95, 162, 0.5), transparent 60%),
    linear-gradient(160deg, #2a0a4f, #0b0616); border: 1px solid rgba(255, 255, 255, 0.08); min-height: 0; }
.promo-k { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: #ffb3d9; }
.promo-t { font-size: clamp(17px, 3.4vw, 27px); font-weight: 850; line-height: 1.02; letter-spacing: -0.02em; }
.promo-s { font-size: 9.5px; color: rgba(255, 255, 255, 0.72); }
.promo-dj { margin-top: 5px; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; color: var(--accent-2); }

/* ── Régie : moniteurs aperçu/antenne, tuiles de source, faux QR ── */
.mon { border-radius: 9px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; min-height: 0; }
.mon u { font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-decoration: none; padding: 4px 7px;
  background: rgba(0, 0, 0, 0.45); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mon i { flex: 1; min-height: 0; display: block;
  background: radial-gradient(120% 120% at 30% 25%, rgba(139, 92, 246, 0.5), transparent 62%), #0a0b14; }
.mon.prev { border-color: #e6a23c; } .mon.prev u { color: #f0be74; }
.mon.prog { border-color: #43a047; } .mon.prog u { color: #86d68a; }
.mon i.live { background: radial-gradient(120% 120% at 65% 30%, rgba(255, 95, 162, 0.55), transparent 60%),
  linear-gradient(160deg, #2a0a4f, #0a0512); }
.src { border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.035);
  padding: 6px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  position: relative; min-height: 0; }
.src u { position: absolute; top: 3px; left: 5px; font-size: 10px; font-weight: 800; color: var(--dim); text-decoration: none; }
.src b { font-size: 17px; line-height: 1; }
.src span { font-size: 10px; color: var(--dim); font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.src.on { border-color: rgba(255, 95, 162, 0.75); background: rgba(255, 95, 162, 0.14);
  box-shadow: 0 0 14px rgba(255, 95, 162, 0.25); }
.src.on span { color: #ffc2da; }
.qrfake { display: block; width: 54px; height: 54px; border-radius: 6px; margin: 2px 0;
  background-color: #fff;
  background-image: repeating-linear-gradient(90deg, #000 0 6px, #fff 6px 12px),
    repeating-linear-gradient(0deg, #000 0 6px, transparent 6px 12px);
  background-blend-mode: multiply; }
/* Pas-à-pas de la visite, injecté par app.js. Caché sur grand écran : la
   colonne de gauche montre déjà les 12 écrans d'un coup d'œil. */
.tour-pager { display: none; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; grid-column: 1 / -1; }
.tour-pager button { width: 40px; height: 40px; flex: none; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--text);
  font-size: 21px; line-height: 1; cursor: pointer; transition: all 0.2s var(--ease); }
.tour-pager button:hover { border-color: var(--accent); color: var(--accent-2); }
.tp-lbl { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 13.5px; font-weight: 800;
  color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tour-note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--dim); }
.tour-note b { color: #f3b64b; }

/* ── Conversation de l'assistant ── */
.chat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column; gap: 9px; }
.chat-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding-bottom: 4px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.chat-b { font-size: 13.5px; line-height: 1.55; padding: 10px 13px; border-radius: 14px; max-width: 88%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }
.chat-b b { color: var(--accent-2); }
.chat-b.me { align-self: flex-end; background: linear-gradient(135deg, var(--accent), #6d28d9); border-color: transparent; color: #fff; }
.chat-b.me b { color: #fff; }
.chat-f { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.chat-f span { font-size: 11.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; color: var(--dim);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }

/* ── Adaptations écran étroit : APRÈS les règles de base, sinon elles sont écrasées ── */
@media (max-width: 1100px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tour-nav { position: static; flex-direction: row; overflow-x: auto; gap: 7px; padding-bottom: 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    /* le dégradé de droite dit qu'il reste des onglets au-delà du bord */
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
    mask-image: linear-gradient(to right, #000 88%, transparent); }
  .tour-pager { display: flex; }
  .tour-nav::-webkit-scrollbar { display: none; }
  .tour-grp { display: none; }
  .tour-tab { width: auto; flex-shrink: 0; padding: 9px 13px; font-size: 13px; border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03); }
  .tour-tab .ti { width: 22px; height: 22px; font-size: 12px; }
  .scr { aspect-ratio: 16 / 11.5; }
  .scr-side { display: none; }
  .qr-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  /* sans hauteur de référence, un enfant `flex:1` s'effondre à zéro : on donne
     un plancher aux moniteurs de la régie pour qu'ils restent visibles */
  /* !important : le ratio est pose en style inline sur certains ecrans, et
     combine a min-height il imposait une LARGEUR superieure au telephone */
  .scr { aspect-ratio: auto !important; min-height: 300px; }
  .mon { min-height: 96px; }
  .mon i { min-height: 74px; }
  .scr-body { padding: 11px 12px; gap: 8px; }
  .scr-tl { grid-template-columns: repeat(3, 1fr); }
  .scr-tl > :nth-child(n + 4) { display: none; }
  /* les grilles de cartes sont en style inline (3-4 colonnes) : on force 2 colonnes */
  .tour-panel[data-panel="creer"] .scr-cols,
  .tour-panel[data-panel="argent"] .scr-cols,
  .tour-panel[data-panel="clients"] .scr-cols,
  .tour-panel[data-panel="exporter"] .scr-cols { grid-template-columns: 1fr 1fr !important; }
}
.hero-claim { margin-top: 14px; font-size: 16px; color: var(--dim); }
.hero-claim b { color: var(--text); }

/* ── Positionnement : « pas de X ? » ── */
.swap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.swap-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 9px; transition: all 0.25s var(--ease); }
.swap-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.45); }
.swap-no { font-size: 11.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--pink); }
.swap-card h3 { font-size: 17px; font-weight: 850; letter-spacing: -0.01em; }
.swap-card p { font-size: 14px; color: var(--dim); line-height: 1.6; }
.swap-note { margin-top: 26px; text-align: center; font-size: 15px; color: var(--dim); line-height: 1.65;
  max-width: 74ch; margin-inline: auto; }
.swap-note b { color: var(--text); }

/* ─── Bac à sable VJ : le moteur du logiciel, éditable dans la page ───────── */
.pg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pg-screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #07080e; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.pg-screen canvas { width: 100%; height: 100%; display: block; }
.pg-screen:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; border-radius: 0; border: 0; }
.pg-full { position: absolute; top: 12px; right: 12px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(8, 9, 16, 0.66); color: var(--text); font: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; backdrop-filter: blur(6px); transition: all 0.18s var(--ease); }
.pg-full:hover { background: rgba(139, 92, 246, 0.4); border-color: rgba(139, 92, 246, 0.6); }
.pg-ctl { display: flex; flex-direction: column; gap: 13px; }
.pg-field { display: flex; flex-direction: column; gap: 5px; }
.pg-field > span { font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dim); }
.pg-field > span em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; opacity: 0.75; }
.pg-field input { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; font-size: 14.5px; transition: all 0.18s var(--ease); }
.pg-field input:focus { outline: none; border-color: rgba(139, 92, 246, 0.7); background: rgba(139, 92, 246, 0.08); }
.pg-row { display: flex; flex-direction: column; gap: 6px; }
.pg-lbl { font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--dim); }
.pg-lbl em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; opacity: 0.75; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--dim);
  cursor: pointer; transition: all 0.16s var(--ease); }
.pg-chip:hover { color: var(--text); border-color: rgba(139, 92, 246, 0.45); }
.pg-chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), #6d28d9); color: #fff; border-color: transparent; }
.pg-chip.fx[aria-pressed="true"] { background: linear-gradient(135deg, var(--pink), #b4246e); }
.pg-chip .sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) {
  .pg { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ─── Respiration entre les sections ──────────────────────────────────────
   `section { padding: 96px 0 }` (élément) était écrasé par `.wrap` (classe) :
   toutes les sections se retrouvaient collées, et le CTA final touchait le
   pied de page. On remet une respiration explicite, hors hero qui a la sienne. */
main > section.wrap:not(.hero) { padding-block: 62px; }
main > section.wrap:last-of-type { padding-bottom: 92px; }
@media (max-width: 900px) {
  main > section.wrap:not(.hero) { padding-block: 44px; }
  main > section.wrap:last-of-type { padding-bottom: 64px; }
}

/* ══ MENU DU MULTIVERS ══════════════════════════════════════════════════════
   Le site de vente est un des quatre univers Meloverse : un seul haut de page,
   avec à gauche du logo produit un petit menu « MELOVERSE ▾ » qui ramène vers
   les autres univers. (Le bandeau séparé donnait l'impression de deux barres.) */
.mv-menu { position: relative; flex: 0 0 auto; margin-right: 6px; padding-right: 14px;
  border-right: 1px solid rgba(150, 165, 230, 0.16); }
.mv-menu-btn { display: flex; align-items: center; gap: 8px; text-decoration: none;
  color: #a4abc9; font-weight: 700; letter-spacing: 2.2px; font-size: 11px; padding: 6px 4px;
  border-radius: 8px; transition: color 0.2s; }
.mv-menu-btn:hover, .mv-menu:focus-within .mv-menu-btn { color: #f0f2fd; }
.mv-astre { width: 18px; height: 18px; position: relative; flex: 0 0 auto; }
.mv-astre i { position: absolute; inset: 0; border-radius: 50%; border: 1.4px solid #8b5cf6; opacity: 0.75;
  animation: mv-tourne 9s linear infinite; }
.mv-astre i::after { content: ''; position: absolute; top: -2px; left: 50%; margin-left: -2px;
  width: 4px; height: 4px; border-radius: 50%; background: #e8c873; box-shadow: 0 0 6px #e8c873; }
.mv-astre b { position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #c4b5fd, #8b5cf6); }
@keyframes mv-tourne { to { transform: rotate(360deg); } }
.mv-chev { font-size: 10px; opacity: 0.6; transition: transform 0.25s; }
.mv-menu:hover .mv-chev, .mv-menu:focus-within .mv-chev { transform: rotate(180deg); }
.mv-menu-liste { position: absolute; top: calc(100% + 8px); left: 0; min-width: 190px; z-index: 60;
  display: flex; flex-direction: column; padding: 8px; border-radius: 12px;
  background: rgba(8, 9, 16, 0.96); border: 1px solid rgba(150, 165, 230, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0s 0.22s; }
.mv-menu:hover .mv-menu-liste, .mv-menu:focus-within .mv-menu-liste { opacity: 1; transform: none;
  pointer-events: auto; visibility: visible; transition: opacity 0.22s, transform 0.22s, visibility 0s; }
.mv-menu-liste a { padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: #a4abc9;
  text-decoration: none; transition: background 0.18s, color 0.18s; }
.mv-menu-liste a:hover { background: rgba(150, 165, 230, 0.1); color: #f0f2fd; }
.mv-menu-liste a.ici { color: #f0f2fd; background: rgba(139, 92, 246, 0.16); }
@media (max-width: 720px) {
  .mv-menu { margin-right: 2px; padding-right: 8px; }
  .mv-menu-txt { display: none; }  /* l'astre suffit sur téléphone */
  .mv-menu-liste { left: -8px; }
}
@media (prefers-reduced-motion: reduce) { .mv-astre i { animation: none; } }

/* Le lien « Pour qui ? » ajouté à l'intégration faisait passer la barre à sept
   entrées : entre 1080 et 1280 px, cinq d'entre elles se cassaient sur deux
   lignes. Un lien de barre ne se coupe JAMAIS ; on resserre l'espace et on
   laisse la barre déborder proprement plutôt que d'empiler les mots. */
@media (min-width: 1081px) {
  .nav-links a { white-space: nowrap; }
  .nav-links { gap: 16px; }
  .nav-cta .btn.ghost.small { display: none; } /* « Télécharger » existe déjà dans la barre */
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 13.5px; }
  .brand-text small { display: none; }
}

/* ══ CAPTURE D'E-MAIL (Brevo) — copie du composant du site marque ═══════════
   Règles reprises de ../../styles.css (.capture…), variables traduites dans
   celles de cette feuille : --texte → #f0f2fd, --texte-2 → var(--dim),
   --texte-3 → #6f7796, --ligne-2 → var(--border), --nuit-0 → #07080e.
   Le JS est dans mv-capture.js (site.js n'est pas chargé ici). */
.capture { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.capture-ligne { display: flex; gap: 8px; }
.capture input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #f0f2fd;
  background: rgba(6, 8, 16, 0.82); border: 1px solid var(--border); border-radius: 999px;
  padding: 14px 20px; transition: border-color 0.25s, box-shadow 0.25s;
}
.capture input[type="email"]::placeholder { color: #6f7796; }
.capture input[type="email"]:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
.capture .btn { flex: 0 0 auto; padding-inline: 22px; white-space: nowrap; }
.capture-note { font-size: 12.5px; color: #6f7796; line-height: 1.5; }
.capture-note a { color: var(--dim); text-decoration: underline; }
.capture-ok { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; color: #f0f2fd;
  background: rgba(139, 92, 246, 0.12);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.38);
  animation: mv-monte 0.5s var(--ease-out) both; }
.capture-ko { padding: 12px 16px; border-radius: 12px; font-size: 13.5px; color: #fecaca;
  background: rgba(239, 68, 68, 0.12); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35); }
.capture.centre { margin-inline: auto; }
.capture.centre .capture-note { text-align: center; }
.capture-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--dim); cursor: pointer; }
.capture-consent input { margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
@keyframes mv-monte { from { opacity: 0; transform: translateY(26px); } }
@media (max-width: 480px) {
  .capture-ligne { flex-direction: column; }
  .capture .btn { width: 100%; }
}
/* l'étage avant la carte, sous les boutons du héros */
.mv-sortie b { color: var(--accent-2); }
.mv-sortie sup { font-size: 0.7em; }
.mv-capture-hero { max-width: 560px; margin: 30px auto 0; padding: 22px 22px 18px; border-radius: 18px;
  background: rgba(20, 22, 34, 0.62); border: 1px solid var(--border); text-align: center; }
.mv-capture-titre { color: var(--dim); font-size: 14.5px; margin-bottom: 14px; text-wrap: pretty; }
@media (max-width: 480px) { .mv-capture-hero { padding: 18px 14px 14px; } }

/* ══ LES VRAIS ÉCRANS (galerie de captures, section #ecrans) ═══════════════
   Deux colonnes au-dessus de 900 px, une seule en dessous. Les images portent
   width/height dans le HTML : le navigateur réserve la place avant de les
   charger, donc rien ne saute au défilement même en chargement différé. */
.mv-ecrans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.mv-ecran {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: rgba(18, 20, 34, 0.6);
  box-shadow: inset 0 0 0 1px rgba(150, 165, 230, 0.14), 0 24px 60px -34px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.mv-ecran:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4), 0 34px 76px -34px rgba(0, 0, 0, 0.9);
}
.mv-ecran picture { display: block; }
.mv-ecran img {
  display: block; width: 100%; height: auto;
  border-bottom: 1px solid rgba(150, 165, 230, 0.12);
  background: #0b0d16; /* le fond de l'app : évite un flash blanc avant chargement */
}
.mv-ecran figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; }
.mv-ecran figcaption b { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.mv-ecran figcaption span { font-size: 14.5px; line-height: 1.6; color: var(--dim, #a4abc9); }
.mv-ecrans-note {
  margin: 26px auto 0; max-width: 760px; text-align: center;
  font-size: 13.5px; line-height: 1.65; color: var(--dim, #a4abc9);
}
@media (max-width: 900px) {
  .mv-ecrans { grid-template-columns: 1fr; gap: 20px; }
  .mv-ecran figcaption { padding: 15px 16px 17px; }
}
/* Six captures en deux colonnes tomberaient 2+1+2+1 : la troisième (le live, la
   plus parlante) et la sixième passent donc en pleine largeur — sinon la dernière
   reste seule sur sa ligne, à moitié vide, et ça fait « bug ». */
@media (min-width: 1100px) {
  .mv-ecrans > .mv-ecran:nth-child(3),
  .mv-ecrans > .mv-ecran:nth-child(6) { grid-column: 1 / -1; }
  .mv-ecrans > .mv-ecran:nth-child(3) figcaption,
  .mv-ecrans > .mv-ecran:nth-child(6) figcaption { padding: 20px 26px 24px; }
}

/* ══ mv- : boutons d'en-tête des pages secondaires ══════════════════════════
   Deux règles génériques masquent .nav-cta .btn.ghost à TOUTES les largeurs
   (≤1080 px l. ~341, ≥1081 px l. ~1010) — pensées pour index.html, où
   « Télécharger » serait en double dans la barre. download.html (« Mon
   compte ») et legal.html (« ← Accueil ») n'ont pas ce doublon : leurs
   boutons portent .mv-visible et restent affichés partout. */
.nav-cta .btn.ghost.mv-visible { display: inline-flex; }

/* ══ mv- : menu « MELOVERSE ▾ » ouvert au doigt ═════════════════════════════
   Sans survol (téléphone/tablette), mv-menu.js pose .mv-ouvert au premier
   appui : même rendu que l'ouverture au survol/focus. */
.mv-menu.mv-ouvert .mv-menu-liste { opacity: 1; transform: none; pointer-events: auto;
  visibility: visible; transition: opacity 0.22s, transform 0.22s, visibility 0s; }
.mv-menu.mv-ouvert .mv-chev { transform: rotate(180deg); }
.mv-menu.mv-ouvert .mv-menu-btn { color: #f0f2fd; }
/* Au doigt, SEUL .mv-ouvert ouvre la liste : sans ça, le bouton garde le focus
   après l'appui et la règle :focus-within (l. ~990) maintenait la liste ouverte
   — le second appui ne la refermait jamais visuellement. */
@media (hover: none) {
  .mv-menu:not(.mv-ouvert) .mv-menu-liste { opacity: 0; transform: translateY(-6px);
    pointer-events: none; visibility: hidden;
    transition: opacity 0.22s, transform 0.22s, visibility 0s 0.22s; }
  .mv-menu:not(.mv-ouvert) .mv-chev { transform: none; }
}

/* ══ mv- : bac à sable VJ, cibles tactiles ══════════════════════════════════
   Les puces font ~35 px de haut : trop peu au doigt (44 px recommandés).
   On n'élargit qu'aux pointeurs grossiers — le rendu souris ne bouge pas. */
@media (pointer: coarse) {
  .pg-chip { min-height: 44px; padding-block: 10px; }
}

/* ══ mv- : protection de la grille de la visite guidée ══════════════════════
   .tour-stage est un enfant de grille (colonne 1fr) sans min-width:0 : un
   contenu large (les faux écrans .scr) peut forcer la colonne à s'étirer
   au-delà de sa place au lieu de scroller dans son propre conteneur. */
.tour-stage { min-width: 0; }

/* ── BARRE D'ACTION PERMANENTE ─────────────────────────────────────────────
   Le tunnel avait deux zones de 600+ lignes sans un seul bouton : convaincu
   au milieu de la page, on n'avait rien à cliquer. Cette barre apparaît dès
   qu'on a dépassé le hero et ne repart plus. Elle porte DEUX actions et pas
   plus : télécharger (sans carte) et voir les tarifs.
   Masquée à l'impression et pour qui préfère moins d'animations. */
.barre-achat {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(8, 10, 18, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .34s cubic-bezier(.22,1,.36,1);
}
.barre-achat.on { transform: translateY(0); }
.barre-achat-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.barre-achat-txt b { font-size: 14.5px; color: var(--text); line-height: 1.2; }
.barre-achat-txt span { font-size: 12.5px; color: var(--dim); line-height: 1.25; }
.barre-achat .btn { padding: 11px 18px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 720px) {
  .barre-achat { gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .barre-achat-txt { display: none; }           /* sur mobile, place aux boutons */
  /* L'action principale prend les deux tiers : sur un écran de 352 px, deux
     boutons à parts égales coupaient « Télécharger gratuitement » en plein mot. */
  .barre-achat .btn { padding: 13px 8px; font-size: 14px; }
  .barre-achat .btn.primary { flex: 1 1 62%; }
  .barre-achat .btn.ghost   { flex: 0 1 38%; }
}
/* Sous 380 px, le mot « gratuitement » ne rentre plus : on garde la promesse
   dans un libellé plus court plutôt que de la tronquer. */
.barre-achat .court { display: none; }
@media (max-width: 380px) {
  .barre-achat .long { display: none; }
  .barre-achat .court { display: inline; }
}
@media print { .barre-achat { display: none; } }
@media (prefers-reduced-motion: reduce) { .barre-achat { transition: none; } }

/* ── RELANCE EN COURS DE PAGE ──────────────────────────────────────────── */
.relance {
  margin: 54px auto 0; max-width: 760px; text-align: center;
  padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-2);
}
.relance p { color: var(--dim); font-size: 15.5px; margin: 0 0 18px; line-height: 1.5; }
.relance p b { color: var(--text); }
.relance .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Bande de compatibilité (section #compatibilite) ────────────────────────
   La piste est dupliquée par script au chargement : l'animation translate de
   -50 %, donc la copie prend exactement la place de l'original et la boucle
   est invisible. Sans JS, la bande ne défile pas mais reste lisible et
   cliquable — c'est le comportement voulu, pas une panne.
   Le défilement s'arrête au survol ET au focus clavier : sans ça, un lien
   atteint en tabulation s'échapperait sous le doigt de l'utilisateur. */
.compat-bande {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  /* Les bords s'estompent au lieu d'être coupés net. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.compat-piste {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: compat-defile 46s linear infinite;
}
.compat-bande:hover .compat-piste,
.compat-piste:focus-within { animation-play-state: paused; }

@keyframes compat-defile {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.compat-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, background .2s;
}
.compat-item b { font-size: 17px; letter-spacing: -0.01em; }
.compat-item span { font-size: 12.5px; color: var(--muted); }
.compat-item:hover,
.compat-item:focus-visible {
  border-color: var(--accent-2);
  background: var(--card-2, var(--card));
  transform: translateY(-2px);
}

.compat-detail {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.compat-detail p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; }
.compat-detail p:last-child { margin-bottom: 0; }
.compat-detail code {
  font-size: 13px; padding: 1px 6px; border-radius: 5px;
  background: rgba(255,255,255,.06);
}
.compat-note { color: var(--muted); font-size: 14px !important; }

/* Mouvement réduit : la bande ne bouge plus et se remet à la ligne, sinon la
   moitié des logiciels resterait invisible hors écran. */
@media (prefers-reduced-motion: reduce) {
  .compat-piste {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .compat-bande { -webkit-mask-image: none; mask-image: none; }
}
@media print { .compat-piste { animation: none; flex-wrap: wrap; width: auto; } }


/* L'autre période de facturation, sous le prix principal : la comparaison
   « 12 €/mois » contre « 150 € une fois » était impossible tant qu'un seul
   des deux prix pouvait être à l'écran à la fois. */
.price .amt-alt{margin:-4px 0 10px;font-size:.86rem;opacity:.66;line-height:1.4}
