/* ==========================================================================
   NOVIX — feuille de style principale (site public, auth, pages légales, pages hébergées)
   Palette « Prisme » : encre nocturne + violet électrique + cyan glacé + or (chiffres d'argent)
   ========================================================================== */
:root {
  --bg: #070614; --bg-2: #0c0a1f; --surface: #120f2a; --surface-2: #1a1638; --surface-3: #241f4a;
  --border: rgba(190,175,255,.09); --border-2: rgba(190,175,255,.17);
  --text: #f4f2ff; --text-2: #b0aacb; --text-3: #7a7499; --text-4: #4c4768;
  --accent: #a586ff; --accent-2: #46dcff; --accent-3: #ff6fd8; --accent-soft: rgba(165,134,255,.14); --accent-border: rgba(165,134,255,.42); --accent-glow: rgba(150,110,255,.45);
  --amber: #ffd166; --amber-soft: rgba(255,209,102,.13); --rose: #ff5c8a; --rose-soft: rgba(255,92,138,.14); --lime: #7cf5c8; --mint: #5ff2c0;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --head: 'Unbounded', 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 16px; --r-lg: 24px; --r-sm: 10px; --shadow: 0 24px 70px rgba(4,2,20,.6), 0 1px 0 rgba(255,255,255,.05) inset; --max: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: .85em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.grad { background: linear-gradient(95deg, #c9b6ff 0%, var(--accent) 30%, var(--accent-3) 62%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pos { color: var(--mint); } .amber { color: var(--amber); } .neg { color: var(--rose); }
.mini { font-size: .8rem; color: var(--text-3); }
.center { text-align: center; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #0b0620; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%); }
body::before { content: ""; position: fixed; inset: -20% -10% auto; height: 70vh; z-index: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 20% 30%, rgba(165,134,255,.16), transparent 70%), radial-gradient(40% 50% at 80% 20%, rgba(255,111,216,.10), transparent 70%); filter: blur(10px); }
.page { position: relative; z-index: 1; }

/* ---------- pills / badges / buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); white-space: nowrap; }
.pill .dot, .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(165,134,255,.2); display: inline-block; }
.pill-muted { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.pill-amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(255,181,69,.4); }
.pill-ok { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-border); }
.pill-err { background: var(--rose-soft); color: var(--rose); border-color: rgba(255,92,122,.4); }
.pill small { opacity: .7; margin-left: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--font); padding: 13px 20px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--surface-3); border-color: rgba(255,255,255,.22); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(120deg, #7d55ff, #9b5cff 45%, #e04fc4); color: #fff; border-color: transparent; box-shadow: 0 8px 24px -8px var(--accent-glow), 0 0 0 1px rgba(255,255,255,.06) inset; }
.btn-primary:hover { background: linear-gradient(120deg, #8d68ff, #ab6dff 45%, #f060d2); box-shadow: 0 12px 32px -8px var(--accent-glow); }
.btn-ghost { background: rgba(255,255,255,.03); }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 8px 12px; font-size: .8rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.cta-row.center { justify-content: center; }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; }
.topbar-in { max-width: var(--max); margin: 0 auto; width: calc(100% - 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 18px; border-radius: 16px; background: rgba(12,16,22,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--border); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.15rem var(--head); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.topnav { display: flex; align-items: center; gap: 8px; }
.subnav { position: sticky; top: 74px; z-index: 40; padding: 10px 0; }
.subnav-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.subnav a { font-size: .78rem; font-weight: 600; color: var(--text-2); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(12,16,22,.7); backdrop-filter: blur(10px); }
.subnav a.on, .subnav a:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 20%, rgba(255,255,255,.018) 80%, transparent); }
.section-h { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { font: 700 .74rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 60ch; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(30px, 5vw, 70px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.tier-strip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.tier-strip .tier { font: 600 .9rem var(--mono); padding: 6px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.tier-strip .tier.hot { color: var(--accent); background: var(--accent-soft); }
.tier-strip i { color: var(--text-4); font-style: normal; }
.tier-strip .tier-txt { font-size: .85rem; color: var(--text-2); }
.tier-strip .tier-note { font-size: .78rem; color: var(--text-3); padding-left: 10px; border-left: 1px solid var(--border); }
.hero-badges { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
/* hero — plan 3D en perspective + parallaxe qui suit la souris */
.hero-visual { position: relative; min-height: 540px; perspective: 1300px; perspective-origin: 55% 45%; }
.hero-plane { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 7deg)); transition: transform .5s var(--ease); will-change: transform; }
.hero-visual.tracking .hero-plane { transition: transform .12s linear; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -28px rgba(0,0,0,.85); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.card .k, .k { font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.huge { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; display: block; }
.big { font-size: 1.5rem; line-height: 1.1; display: block; }
.big small { font: 500 .8rem var(--font); color: var(--text-3); letter-spacing: 0; -webkit-text-fill-color: var(--text-3); }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero-plane .card { position: absolute; transform: translateZ(var(--z, 0px)); transition: box-shadow .3s; }
.hero-plane .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px var(--accent-border) inset; opacity: 0; transition: opacity .3s; pointer-events: none; }
.float-a { top: 0; right: 2%; left: 6%; --z: 18px; }
.float-a { animation: floatZ 9s ease-in-out infinite; }
.float-b { left: 0; top: 48%; width: 47%; --z: 60px; animation: floatZ 8s ease-in-out infinite .6s; }
.float-c { left: 3%; bottom: 0; width: 40%; --z: 80px; animation: floatZ 10s ease-in-out infinite 1.2s; }
.float-c .k { white-space: nowrap; }
.float-d { right: 0; bottom: 5%; width: 45%; --z: 44px; animation: floatZ 9.5s ease-in-out infinite .3s; }
@keyframes floatZ { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.chart { width: 100%; height: auto; display: block; margin-top: 8px; }
.hero-visual .chart-line { stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); }
.hero-visual.in .chart-line { animation: drawLine 1.6s var(--ease) .3s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.chart-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.chart-label { fill: var(--text-3); font: 500 11px var(--mono); }
.chart-bars .bar { fill: var(--accent); opacity: .85; } .chart-bars .bar-empty { fill: rgba(255,255,255,.08); }

/* ---------- coverflow 3D & phones ---------- */
.coverflow { position: relative; margin: 8px 0 14px; }
.coverflow-stage { position: relative; height: 560px; perspective: 2000px; perspective-origin: 50% 42%; touch-action: pan-y; cursor: grab; overflow: hidden; }
.coverflow-stage.dragging { cursor: grabbing; }
.coverflow-stage::before, .coverflow-stage::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16%; z-index: 30; pointer-events: none; }
.coverflow-stage::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.coverflow-stage::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.cf-item { position: absolute; top: 20px; left: 50%; width: 250px; margin-left: -125px; transform-style: preserve-3d; transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease); will-change: transform, opacity; }
.coverflow-stage.dragging .cf-item { transition: none; }
.cf-item figcaption { position: absolute; left: 50%; bottom: -6px; transform: translate(-50%, 100%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); font-size: .82rem; opacity: 0; transition: opacity .4s; box-shadow: 0 10px 30px -14px rgba(0,0,0,.9); }
.cf-item.active figcaption { opacity: 1; }
.cf-item figcaption b { color: var(--text); } .cf-item figcaption span { color: var(--text-3); }
.cf-item .phone { margin: 0; transition: box-shadow .4s; }
.cf-item { cursor: pointer; }
.cf-item:not(.active) .phone { box-shadow: 0 0 0 2px #1d2530, 0 0 0 5px #0a0d12, 0 30px 60px -26px rgba(0,0,0,.95); }
.cf-item.active .phone { box-shadow: 0 0 0 2px #232c39, 0 0 0 5px #0a0d12, 0 40px 80px -24px rgba(0,0,0,.95), 0 0 90px -26px var(--t1); }
.coverflow-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.coverflow-nav button[data-dir] { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1.05rem; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.coverflow-nav button[data-dir]:hover { background: var(--surface-3); border-color: var(--accent-border); transform: translateY(-2px); }
.coverflow-dots { display: flex; gap: 7px; align-items: center; }
.cf-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--surface-3); cursor: pointer; transition: transform .25s var(--ease), background .25s, width .25s; }
.cf-dot:hover { background: var(--text-3); }
.cf-dot.on { background: var(--accent); width: 22px; border-radius: 6px; }

.phone { --t1: var(--accent); --t2: var(--accent-2); width: 250px; aspect-ratio: 250 / 520; background: #0a0d12; border-radius: 40px; padding: 10px; position: relative; box-shadow: 0 0 0 2px #1d2530, 0 0 0 5px #0a0d12, 0 30px 60px -20px rgba(0,0,0,.9), 0 0 60px -20px var(--t1); margin: 0 auto; user-select: none; }
.phone .notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #0a0d12; border-radius: 12px; z-index: 3; }
.scr { position: absolute; inset: 10px; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #0f141b, #0b0f15); color: #eef2f6; font-size: 10.5px; line-height: 1.35; }
.scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 32px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.sb { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; font: 600 10px var(--mono); }
.sb .sig { display: inline-flex; gap: 2px; align-items: flex-end; } .sb .sig i { width: 3px; background: #fff; border-radius: 1px; display: block; } .sb .sig i:nth-child(1) { height: 4px; } .sb .sig i:nth-child(2) { height: 6px; } .sb .sig i:nth-child(3) { height: 8px; }
.scr-in { position: absolute; inset: 30px 0 0; overflow: hidden; padding: 8px 12px 14px; }
.scr .cover { position: relative; height: 84px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 55%, #000), color-mix(in srgb, var(--t2) 55%, #000)); margin-bottom: 8px; }
.scr .cover.xl { height: 150px; }
.blob { position: absolute; border-radius: 50%; filter: blur(14px); opacity: .8; pointer-events: none; }
.blob.b1 { width: 80px; height: 80px; background: var(--t1); top: -20px; left: -10px; }
.blob.b2 { width: 100px; height: 100px; background: var(--t2); right: -30px; bottom: -40px; }
.blob.b3 { width: 60px; height: 60px; background: #fff; opacity: .18; left: 45%; top: 30%; }
.cover-txt { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.cover-txt b { font-size: 14px; font-family: var(--head); } .cover-txt span { font-size: 9.5px; color: rgba(255,255,255,.85); }
.scr .chip { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); font: 600 8.5px var(--font); letter-spacing: .04em; text-transform: uppercase; }
.scr .head { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.scr .head.sm { margin-bottom: 8px; }
.scr .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scr .who b { font-size: 12px; font-family: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .scr .who span { font-size: 9px; color: rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: 3px; }
.scr .v { font-style: normal; display: inline-grid; place-items: center; width: 11px; height: 11px; border-radius: 50%; background: var(--t1); color: #041; font-size: 8px; font-weight: 800; }
.scr .on { width: 5px; height: 5px; border-radius: 50%; background: #3ddc84; display: inline-block; box-shadow: 0 0 0 2px rgba(61,220,132,.25); }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #051; font: 800 14px var(--head); box-shadow: 0 0 0 2px #0b0f15, 0 0 0 3.5px var(--t1); flex: 0 0 auto; }
.av span { text-shadow: 0 1px 0 rgba(255,255,255,.3); }
.av.lg { width: 44px; height: 44px; font-size: 18px; margin-top: -26px; margin-left: 4px; }
.av.xl { width: 58px; height: 58px; font-size: 24px; } .av.sm { width: 22px; height: 22px; font-size: 10px; box-shadow: 0 0 0 1.5px #0b0f15; }
.scr .bio { margin: 0 0 6px; font-size: 10px; color: rgba(255,255,255,.75); }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 6px 0 8px; }
.tstats > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 9px; padding: 5px 4px; text-align: center; }
.tstats b { display: block; font: 700 12px var(--mono); color: #fff; } .tstats span { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.tstats.line > div { background: none; border: 0; border-right: 1px solid rgba(255,255,255,.08); border-radius: 0; } .tstats.line > div:last-child { border: 0; }
.tstats.big b { font-size: 16px; }
.tcta { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 10px; border-radius: 11px; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #03110f; font: 700 11px var(--head); text-decoration: none !important; box-shadow: 0 8px 20px -8px var(--t1); margin: 4px 0 8px; }
.tcta span { opacity: .8; }
.row-h { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 5px; }
.row-h b { font-size: 10.5px; } .row-h span { font-size: 8.5px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; grid-auto-rows: 64px; grid-auto-flow: dense; }
.grid2 .tile.tall { grid-row: span 2; }
.masonry { columns: 2; column-gap: 6px; }
.masonry .tile { break-inside: avoid; margin-bottom: 6px; height: 64px; } .masonry .tile.tall { height: 96px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: linear-gradient(var(--r, 30deg), color-mix(in srgb, var(--t1) 40%, #111), color-mix(in srgb, var(--t2) 40%, #111)); isolation: isolate; }
.tile.st { aspect-ratio: 3 / 4; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--t1); }
.tile.fill { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.tile .blob { filter: blur(8px); opacity: .7; }
.tile .blob.b1 { width: 60%; height: 60%; top: -10%; left: -10%; background: hsl(var(--h) 80% 65%); }
.tile .blob.b2 { width: 70%; height: 70%; right: -20%; bottom: -25%; background: var(--t2); }
.tile .blob.b3 { width: 40%; height: 40%; left: 30%; top: 35%; background: #fff; opacity: .15; }
.tile::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(8,10,14,.28); z-index: 1; }
.tile .lock { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: #fff; }
.tile .lock svg { width: 16px; height: 16px; opacity: .9; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.tile .tl { position: absolute; left: 5px; bottom: 4px; font: 600 7.5px var(--mono); color: rgba(255,255,255,.85); z-index: 2; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.tile.st .lock svg { width: 13px; }
.grid3.soft .tile { opacity: .8; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0; }
.price s { color: rgba(255,255,255,.4); font-size: 10px; } .price b { font: 800 18px var(--head); color: #fff; } .price em { font: 700 9px var(--mono); font-style: normal; color: var(--t1); background: color-mix(in srgb, var(--t1) 18%, transparent); padding: 2px 5px; border-radius: 5px; }
.price.inline { margin: 0; }
.offer { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; padding: 9px 10px 4px; margin: 6px 0; }
.offer .k { display: block; margin-bottom: 3px; font-size: 7.5px; color: var(--t1); }
.offer .big { font: 700 12px var(--head); margin-bottom: 4px; }
.offer.top { margin-top: 0; }
.mini.center { text-align: center; }
.scr .mini { font-size: 8.5px; color: rgba(255,255,255,.5); }
.tben { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 3px; }
.tben li { font-size: 9px; color: rgba(255,255,255,.8); padding-left: 14px; position: relative; }
.tben li::before { content: "✓"; position: absolute; left: 0; color: var(--t1); font-weight: 800; }
.tfoot { margin-top: auto; padding-top: 8px; font-size: 7.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); display: flex; gap: 5px; align-items: center; }
.tfoot span { border: 1px solid rgba(255,255,255,.3); padding: 1px 4px; border-radius: 4px; font-weight: 700; }
.scr-in { display: flex; flex-direction: column; }
.scr-in > * { flex-shrink: 0; }
.sticky { position: sticky; bottom: 0; background: linear-gradient(transparent, #0b0f15 30%); padding-top: 12px; margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sticky .tcta { flex: 0 0 auto; margin: 0; padding: 8px 14px; }
/* ---- pages réelles (carrousel accueil) ---- */
.scr .nsfw { font-style: normal; display: inline-grid; place-items: center; padding: 1px 4px; border-radius: 5px; background: color-mix(in srgb, var(--t1) 22%, transparent); color: var(--t1); font: 800 7px var(--mono); vertical-align: middle; }
.chip.rp-plat { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.rp-dist { font-size: 8.5px; color: rgba(255,255,255,.5); margin: -2px 0 4px; }
.rp-chips { display: flex; gap: 5px; margin: 0 0 7px; }
.rp-chips span { flex: 1; text-align: center; padding: 5px 2px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: 8px; color: rgba(255,255,255,.72); }
.rp-offer { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 7px 10px; margin: 7px 0; }
.rp-plan { display: flex; align-items: baseline; gap: 5px; }
.rp-plan > span { font-size: 7.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--t1); }
.rp-plan b { font: 800 16px var(--head); color: #fff; } .rp-plan em { font-style: normal; font-size: 8px; color: rgba(255,255,255,.5); }
.rp-then { text-align: right; } .rp-then s { display: block; font-size: 9px; color: rgba(255,255,255,.4); }
.rp-disc { font: 700 8.5px var(--mono); font-style: normal; color: var(--t1); }
.rp-models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.rp-model > span { display: block; margin-top: 2px; font-size: 7px; color: rgba(255,255,255,.6); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .hub-h b { font-size: 11px; font-family: var(--head); } .hub-h span { font-size: 8.5px; color: rgba(255,255,255,.6); display: inline-flex; gap: 4px; align-items: center; }
.hub-card { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); margin-bottom: 5px; }
.hub-tile { position: relative; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: 0 0 auto; }
.hub-card .av { margin-left: -22px; width: 24px; height: 24px; font-size: 10px; }
.hub-more { text-align: center; padding: 6px 0 2px; } .hub-more b { display: block; font-size: 10.5px; font-family: var(--head); } .hub-more span { font-size: 8.5px; color: rgba(255,255,255,.55); }
.float { position: absolute; left: 12px; right: 12px; bottom: 26px; } .float .tcta { margin: 0; box-shadow: 0 10px 30px -6px #000, 0 8px 20px -8px var(--t1); }
.scr-studio .masonry { padding-bottom: 48px; }
.live { position: relative; height: 130px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--t1) 50%, #000), color-mix(in srgb, var(--t2) 45%, #000)); margin-bottom: 8px; padding: 8px; display: flex; flex-direction: column; }
.live-b { background: #ff2d55; color: #fff; } .live-b i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.viewers { position: absolute; top: 8px; right: 8px; font: 700 9px var(--mono); background: rgba(0,0,0,.45); padding: 3px 6px; border-radius: 6px; }
.live-txt { margin-top: auto; text-shadow: 0 2px 8px rgba(0,0,0,.7); } .live-txt b { display: block; font-size: 13px; font-family: var(--head); } .live-txt span { font-size: 9.5px; }
.chat { display: grid; gap: 4px; margin-bottom: 6px; }
.chat .m { display: flex; gap: 6px; align-items: center; font-size: 9px; }
.chat .m i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font: 700 8px var(--font); font-style: normal; flex: 0 0 auto; }
.chat .m span { background: rgba(255,255,255,.05); padding: 3px 7px; border-radius: 8px; color: rgba(255,255,255,.85); } .chat .m b { color: #fff; margin-right: 3px; }
.chat .gift span { background: color-mix(in srgb, var(--amber) 22%, transparent); } .chat .me i { background: var(--t1); color: #041; } .chat .me span { background: color-mix(in srgb, var(--t1) 18%, transparent); }
.chat-in { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 5px 10px; font-size: 9px; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.bubbles { display: grid; gap: 5px; margin: 4px 0 8px; }
.bub { background: rgba(255,255,255,.07); border-radius: 12px 12px 12px 3px; padding: 7px 9px; font-size: 9.5px; max-width: 85%; }
.bub.media { padding: 0; width: 110px; height: 80px; position: relative; overflow: hidden; border-radius: 12px; }
.quick { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; } .quick span { font-size: 8.5px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--t1); color: var(--t1); }
.story-full { position: relative; height: 230px; border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.story-bars { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 3px; z-index: 3; } .story-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); } .story-bars i.done { background: #fff; } .story-bars i.cur { background: linear-gradient(90deg, #fff 60%, rgba(255,255,255,.3) 60%); }
.story-top { position: absolute; top: 16px; left: 8px; display: flex; align-items: center; gap: 5px; z-index: 3; font-size: 9px; } .story-top b { font-size: 10px; } .story-top span { color: rgba(255,255,255,.6); }
.story-bot { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; flex-direction: column; gap: 4px; } .story-bot b { font-size: 13px; font-family: var(--head); text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.story-full .tile::before { backdrop-filter: blur(9px); }
.muse-h { text-align: center; padding: 10px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.muse-h h3 { font: 800 18px var(--head); margin: 6px 0 0; letter-spacing: -.02em; } .muse-h span { font-size: 9.5px; color: var(--t1); } .muse-h p { font-size: 9.5px; color: rgba(255,255,255,.65); margin: 2px 0 0; }
.members { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; } .avs { display: inline-flex; } .avs .av { margin-right: -6px; } .members b { font-size: 11px; font-family: var(--head); } .members span { font-size: 8.5px; color: var(--t1); }
.pass { border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.pass-top { padding: 10px 10px 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--t1) 35%, #111), color-mix(in srgb, var(--t2) 35%, #111)); display: flex; flex-direction: column; gap: 2px; }
.pass-top b { font: 800 14px var(--head); } .pass-top .sub { font-size: 8.5px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .05em; }
.pass-cut { height: 0; border-top: 2px dashed rgba(255,255,255,.15); position: relative; }
.pass-cut::before, .pass-cut::after { content: ""; position: absolute; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: #0d1219; } .pass-cut::before { left: -6px; } .pass-cut::after { right: -6px; }
.pass-bot { padding: 8px 10px 4px; }

/* ---------- steps / tiers ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .7; }
.step-n { font: 700 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 10px 0 8px; } .step p { color: var(--text-2); font-size: .95rem; }
.step-viz { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.tiers { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.tiers-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.tiers-h .eyebrow { margin: 0; }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.tier-card { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.tier-card strong { font-size: 1.6rem; } .tier-card span { font-size: .85rem; color: var(--text-2); }
.tier-card.hot { border-color: var(--accent-border); background: linear-gradient(135deg, var(--accent-soft), transparent); } .tier-card.hot strong { color: var(--accent); }

/* ---------- pilotage / simulateur ---------- */
.dash-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.dash-preview .card .mini { display: block; margin-top: 6px; }
.simulator { padding: clamp(20px, 3vw, 32px); }
.sim-h { margin-bottom: 20px; } .sim-h h3 { font-size: 1.5rem; margin-bottom: 6px; }
.sim-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.sim-legend { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sim-legend span { font: 600 .74rem var(--mono); padding: 4px 9px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-2); }
.sim-ctl label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.sim-ctl output { color: var(--accent); font-size: 1.1rem; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.sim-ticks { display: flex; justify-content: space-between; font: 500 .7rem var(--mono); color: var(--text-4); margin: 2px 0 10px; }
.sim-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat-label { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.stat-value { font-size: 1.5rem; line-height: 1.1; }
.stat-sub { font-size: .78rem; color: var(--text-3); }
.sim-axis { display: flex; justify-content: space-between; font: 500 .7rem var(--mono); color: var(--text-4); padding: 4px 6px 0; }

/* ---------- features / soon / final ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; position: relative; }
.feature-n { position: absolute; top: 20px; right: 22px; font: 700 .8rem var(--mono); color: var(--text-4); }
.feature .eyebrow { margin-bottom: 8px; } .feature h3 { font-size: 1.35rem; margin-bottom: 12px; } .feature .big { margin-bottom: 10px; font-size: 1.9rem; } .feature p { color: var(--text-2); font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.checks li { font-size: .88rem; color: var(--text-2); padding-left: 22px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.soon { margin-top: 28px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px dashed var(--border-2); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.soon .eyebrow { margin: 0; color: var(--amber); }
.soon ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.soon li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.final { padding-bottom: clamp(70px, 9vw, 130px); }
.final-in { text-align: center; padding: clamp(36px, 6vw, 70px) clamp(20px, 5vw, 60px); border-radius: 28px; background: radial-gradient(60% 120% at 50% 0%, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.final-in h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
.final-in .lead { margin: 0 auto 18px; }
.chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips li { font-size: .82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-2); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 36px 0 40px; background: var(--bg); }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; } .footer-brand div { display: flex; flex-direction: column; } .footer-brand strong { font-family: var(--head); } .footer-brand span { font-size: .78rem; color: var(--text-3); }
.footer-links { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center; } .footer-links a { font-size: .85rem; color: var(--text-2); } .footer-links a:hover { color: var(--text); }
.footer-meta { display: flex; gap: 14px; align-items: center; justify-content: flex-end; font-size: .8rem; color: var(--text-3); flex-wrap: wrap; }
.badge-18 { font: 700 .7rem var(--mono); border: 1px solid var(--border-2); padding: 2px 6px; border-radius: 6px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form label, .form .label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.form small { font-weight: 400; color: var(--text-3); font-size: .76rem; }
.form input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), .form select, .form textarea, .copy input, .range-form input, .range-form select {
  width: 100%; font: 500 .95rem var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 11px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form input:disabled { opacity: .55; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form textarea { resize: vertical; min-height: 90px; }
.form input.mono, .copy input { font-family: var(--mono); font-size: .88rem; }
.form input.sm { padding: 6px 8px; width: 120px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form fieldset { border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 18px; margin: 0; display: grid; gap: 12px; }
.form legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.form legend .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font: 700 .8rem var(--mono); }
.form legend b { display: block; color: var(--text); font-size: .95rem; } .form legend small { display: block; }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: 0 0 auto; }
.check.accept { font-size: .82rem; color: var(--text-2); }
.checks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.checks-grid .check { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; font-size: .84rem; }
.checks-grid .check:has(input:checked) { border-color: var(--accent-border); background: var(--accent-soft); }
.pw { position: relative; display: block; } .pw input { padding-right: 44px !important; }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 1rem; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: .9rem; margin: 0 0 16px; border: 1px solid; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-err { background: var(--rose-soft); color: #ffb3c0; border-color: rgba(255,92,122,.35); }
.alert-ok { background: var(--accent-soft); color: #bff6ea; border-color: var(--accent-border); }
.alert-info { background: var(--amber-soft); color: #ffe0ad; border-color: rgba(255,181,69,.35); }
.page > .alert { max-width: var(--max); margin: 16px auto 0; }
.copy { display: flex; gap: 8px; align-items: center; }
.copy input { flex: 1; min-width: 0; }
.copy .btn.copied { border-color: var(--accent-border); color: var(--accent); }

/* ---------- auth pages ---------- */
.auth-page .page { padding: clamp(24px, 5vw, 60px) 0 60px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.auth-side { padding-top: 24px; position: sticky; top: 110px; }
.auth-side h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 26px; }
.auth-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.auth-points i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); font: 700 .8rem var(--mono); font-style: normal; color: var(--accent); }
.auth-points b { color: var(--text); }
.auth-card { padding: clamp(20px, 3vw, 32px); }
.auth-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.auth-head .ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 1.2rem var(--head); }
.auth-head h2 { font-size: 1.5rem; margin-bottom: 4px; } .auth-head p { margin: 0; color: var(--text-2); font-size: .92rem; }

/* ---------- legal ---------- */
.legal { max-width: 800px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: 80px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.15rem; margin: 2em 0 .6em; }
.legal p, .legal li { color: var(--text-2); font-size: .97rem; }
.legal ul { padding-left: 20px; }
.legal .form-wide { max-width: 640px; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font: 600 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.table tr:last-child td { border-bottom: 0; }
.table.compact th, .table.compact td { padding: 7px 8px; font-size: .84rem; }
.table tr.hl td { background: rgba(25,230,193,.05); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal .table td { color: var(--text-2); }

/* ---------- hosted page ---------- */
body.hosted { background: #070614; min-height: 100vh; display: flex; flex-direction: column; }
.hosted-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; opacity: .5; }
.hosted-bg .blob { filter: blur(90px); opacity: .55; } .hosted-bg .b1 { width: 50vw; height: 50vw; top: -10vw; left: -10vw; } .hosted-bg .b2 { width: 55vw; height: 55vw; right: -15vw; bottom: -20vw; }
.hosted-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px 20px; gap: 16px; }
.hosted-phone { width: min(380px, 100%); aspect-ratio: 380 / 790; }
.hosted-phone .scr { font-size: 15px; } .hosted-phone .scr-in { inset: 44px 0 0; padding: 12px 18px 20px; overflow-y: auto; }
.hosted-phone .sb { padding: 18px 32px 0; font-size: 14px; } .hosted-phone .notch { top: 22px; width: 120px; height: 30px; }
.hosted-phone .scr .who b { font-size: 18px; } .hosted-phone .scr .who span, .hosted-phone .scr .bio, .hosted-phone .tben li, .hosted-phone .bub, .hosted-phone .chat .m { font-size: 13px; }
.hosted-phone .tstats b { font-size: 17px; } .hosted-phone .tstats span, .hosted-phone .row-h span, .hosted-phone .tfoot, .hosted-phone .scr .mini { font-size: 11px; }
.hosted-phone .tcta { font-size: 15px; padding: 14px; border-radius: 14px; } .hosted-phone .price b { font-size: 26px; } .hosted-phone .price s { font-size: 14px; } .hosted-phone .price em { font-size: 12px; }
.hosted-phone .row-h b, .hosted-phone .offer .big, .hosted-phone .hub-h b, .hosted-phone .hub-more b { font-size: 15px; } .hosted-phone .offer .k, .hosted-phone .scr .chip { font-size: 11px; }
.hosted-phone .av { width: 48px; height: 48px; font-size: 20px; } .hosted-phone .av.lg { width: 66px; height: 66px; font-size: 28px; margin-top: -36px; } .hosted-phone .av.xl { width: 84px; height: 84px; font-size: 34px; } .hosted-phone .av.sm { width: 30px; height: 30px; font-size: 13px; }
.hosted-phone .scr .cover { height: 120px; } .hosted-phone .scr .cover.xl { height: 210px; } .hosted-phone .cover-txt b { font-size: 20px; } .hosted-phone .cover-txt span { font-size: 13px; }
.hosted-phone .tile .lock svg { width: 24px; height: 24px; } .hosted-phone .tile .tl { font-size: 10px; }
.hosted-phone .grid2 { grid-auto-rows: 96px; } .hosted-phone .masonry .tile { height: 96px; } .hosted-phone .masonry .tile.tall { height: 140px; }
.hosted-phone .live { height: 190px; } .hosted-phone .live-txt b { font-size: 19px; } .hosted-phone .live-txt span { font-size: 13px; } .hosted-phone .viewers { font-size: 13px; }
.hosted-phone .story-full { height: 340px; } .hosted-phone .story-bot b { font-size: 19px; } .hosted-phone .story-top { font-size: 13px; }
.hosted-phone .muse-h h3 { font-size: 26px; } .hosted-phone .muse-h span, .hosted-phone .muse-h p { font-size: 13px; } .hosted-phone .tstats.big b { font-size: 22px; }
.hosted-phone .members b { font-size: 16px; } .hosted-phone .members span { font-size: 12px; } .hosted-phone .pass-top b { font-size: 20px; } .hosted-phone .pass-top .sub { font-size: 12px; }
.hosted-phone .quick span { font-size: 12px; padding: 6px 12px; } .hosted-phone .chat-in { font-size: 13px; padding: 8px 14px; } .hosted-phone .chat .m i { width: 22px; height: 22px; font-size: 11px; }
.hosted-phone .hub-tile { width: 48px; height: 48px; } .hosted-phone .hub-card .av { width: 32px; height: 32px; font-size: 13px; } .hosted-phone .hub-more span, .hosted-phone .hub-h span { font-size: 12px; }
.hosted-phone .float { bottom: 36px; }
.hosted-preview { display: flex; gap: 10px; align-items: center; }
.hosted-foot { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 10px 20px 30px; text-align: center; font-size: .78rem; color: var(--text-3); }
.hosted-foot nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 8px 0; } .hosted-foot nav a { color: var(--text-2); }

/* ---------- misc ---------- */
.empty { color: var(--text-3); font-size: .9rem; padding: 14px 0; text-align: center; }
.inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 640px; margin: 10px auto 0; width: 100%; }
  .features { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; } .auth-side { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar-in { width: calc(100% - 20px); padding: 8px 10px 8px 14px; }
  .topnav .btn { padding: 9px 12px; font-size: .82rem; } .topnav .btn .arrow { display: none; }
  .brand span { font-size: 1rem; }
  .steps, .tiers-grid, .dash-preview { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .checks-grid { grid-template-columns: 1fr 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; perspective: none; }
  .hero-plane { position: static; inset: auto; transform: none !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform-style: flat; }
  .hero-plane .card { position: static; transform: none !important; animation: none; width: auto !important; padding: 14px; }
  .float-a { grid-column: 1 / -1; }
  .footer-in { grid-template-columns: 1fr; text-align: center; } .footer-brand { justify-content: center; } .footer-meta { justify-content: center; }
  .tier-strip .tier-note { border: 0; padding-left: 0; width: 100%; }
  .sim-results { grid-template-columns: 1fr; }
  .phone { width: 220px; }
  .coverflow-stage { height: 470px; }
  .cf-item { width: 220px; margin-left: -110px; }
  .soon { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) { .checks-grid { grid-template-columns: 1fr; } .hero-plane { grid-template-columns: 1fr; } }

/* ---------- page hébergée : cadre sur desktop, plein écran sur mobile ---------- */
.phone.hosted-phone { width: min(400px, 100%); aspect-ratio: auto; height: min(820px, calc(100vh - 120px)); min-height: 560px; }
.hosted-phone .scr-in { overflow-y: auto; scrollbar-width: none; }
.hosted-phone .scr-in::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  body.hosted .hosted-main { padding: 0; display: block; }
  .phone.hosted-phone { width: 100%; height: auto; min-height: 100vh; border-radius: 0; padding: 0; box-shadow: none; background: transparent; }
  .hosted-phone .notch, .hosted-phone .sb { display: none; }
  .hosted-phone .scr { position: static; border-radius: 0; min-height: 100vh; background: transparent; }
  .hosted-phone .scr::after { display: none; }
  .hosted-phone .scr-in { position: static; padding: 22px 18px 40px; overflow: visible; }
  .hosted-phone .float { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 5; }
  .hosted-preview { position: fixed; top: 10px; right: 10px; z-index: 6; }
  .hosted-foot { padding-top: 20px; }
}

/* ==========================================================================
   NOVIX v3 « PRISME » — couche 3D : aurore, verre, orbe, rubans, flips,
   podium, anneau, cube. (ajoutée par-dessus la base, garde tous les composants)
   ========================================================================== */
::selection { background: rgba(165,134,255,.4); color: #fff; }
html { scrollbar-color: #2e2760 var(--bg); }
h1, h2 { letter-spacing: -.03em; }
h1 { font-size: clamp(1.9rem, 3.9vw, 3.15rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.15; }
h3 { letter-spacing: -.015em; }
.bg-grid { background-image: linear-gradient(rgba(165,134,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(165,134,255,.06) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 0%, transparent 72%); }
body.site::before { display: none; }
.bg-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; mix-blend-mode: screen; animation: aur 26s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(1) { background: radial-gradient(circle, #7b4dff, transparent 62%); top: -30vmax; left: -18vmax; }
.bg-aurora i:nth-child(2) { background: radial-gradient(circle, #ff4fc8, transparent 62%); top: -26vmax; right: -24vmax; opacity: .2; animation-duration: 32s; animation-delay: -8s; }
.bg-aurora i:nth-child(3) { background: radial-gradient(circle, #2fc8ff, transparent 62%); top: 40vh; left: 30vw; opacity: .14; animation-duration: 38s; animation-delay: -14s; }
@keyframes aur { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw, 6vh) scale(1.15); } 100% { transform: translate(-6vw, 10vh) scale(.95); } }
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 60; background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2)); box-shadow: 0 0 14px var(--accent-glow); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(165,134,255,.13), transparent 60%); transform: translate3d(var(--mx, -999px), var(--my, -999px), 0); transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* topbar en verre + liens */
.topbar-in { background: rgba(14,11,34,.62); border-color: rgba(190,175,255,.12); box-shadow: 0 12px 50px -22px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06) inset; }
.brand { font-size: 1.02rem; letter-spacing: .02em; }
.topnav-links { display: inline-flex; gap: 2px; margin-right: 8px; }
.topnav-links a { color: var(--text-2); font-size: .86rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.topnav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
@media (max-width: 960px) { .topnav-links { display: none; } }

/* boutons */
.btn-primary { position: relative; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(150,100,255,.7), 0 0 0 1px rgba(255,255,255,.14) inset; text-shadow: 0 1px 0 rgba(40,0,80,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(190,175,255,.18); }
[data-magnetic] { transition: transform .25s var(--ease), box-shadow .2s, background .2s; }
.pill .dot, .dot { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.pill-ok { background: rgba(95,242,192,.1); color: var(--mint); border-color: rgba(95,242,192,.35); }
.eyebrow { color: #c4b2ff; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(95,242,192,.18), 0 0 14px var(--mint); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95,242,192,0), 0 0 22px var(--mint); } }

/* cartes verre */
.card.glass, .glass { background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 45%), rgba(20,16,46,.62); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(200,185,255,.16); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 70px -30px rgba(3,0,20,.95); }
.chart-line { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(165,134,255,.6)); }
.chart-dot { fill: var(--accent-3); }

/* ---------- HERO ---------- */
.hero-x { position: relative; padding-top: clamp(36px, 6vw, 80px); min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; }
.hero-x h1 { margin-bottom: 22px; }
.h1-outline { color: transparent; -webkit-text-stroke: 1.4px rgba(220,210,255,.75); }
.hero-x .lead { font-size: 1.08rem; }
.hero-x .tier-strip { margin-top: 26px; background: rgba(20,16,46,.6); backdrop-filter: blur(10px); }
.tier-strip .tier.hot { color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-3)); box-shadow: 0 6px 20px -8px var(--accent-glow); }
.hero-x .hero-visual { min-height: 560px; }
.orb { position: absolute; inset: -14% -18%; width: 136%; height: 128%; z-index: 0; pointer-events: none; }
.hero-x .hero-plane { z-index: 1; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(200,185,255,.35); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: sh 1.8s ease-in-out infinite; }
@keyframes sh { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- RUBANS 3D ---------- */
.ribbons { position: relative; height: 170px; margin: 10px 0 0; perspective: 900px; overflow: hidden; z-index: 1; }
.ribbon { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ribbon.r1 { transform: translateY(-50%) rotate(-3.2deg) rotateX(18deg); background: linear-gradient(90deg, #7a52ff, #c757ff 45%, #ff5fcf); box-shadow: 0 20px 50px -20px rgba(150,90,255,.8); z-index: 2; }
.ribbon.r2 { transform: translateY(-50%) rotate(3deg) rotateX(-22deg) translateZ(-60px); background: rgba(20,16,46,.92); border-block: 1px solid rgba(200,185,255,.18); }
.ribbon-track { display: inline-flex; gap: 26px; align-items: center; animation: marq 38s linear infinite; padding-left: 26px; }
.ribbon.r2 .ribbon-track { animation-direction: reverse; animation-duration: 46s; }
.ribbon span { font: 700 1rem var(--head); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.ribbon.r2 span { color: var(--text-2); }
.ribbon b { color: rgba(255,255,255,.75); font-size: .9rem; } .ribbon.r2 b { color: var(--accent-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- KPIs ---------- */
.section-tight { padding: clamp(30px, 5vw, 60px) 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { position: relative; padding: 24px 22px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)), var(--surface); border: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(165,134,255,.28), transparent 70%); }
.kpi-v { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1; background: linear-gradient(95deg, #fff, #cbbcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi-l { font-size: .86rem; color: var(--text-2); }

/* ---------- TILT 3D générique ---------- */
[data-tilt] { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0); transition: transform .5s var(--ease), border-color .3s, box-shadow .3s; will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear, border-color .3s, box-shadow .3s; border-color: rgba(200,185,255,.3); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.12), transparent 45%); opacity: 0; transition: opacity .3s; }
[data-tilt].tilting::after { opacity: 1; }
.reveal[data-tilt] { transform: perspective(900px) translateY(18px); }
.reveal.in[data-tilt] { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }

/* ---------- COVERFLOW : sol réfléchissant ---------- */
.coverflow { isolation: isolate; }
.cf-floor { position: absolute; left: 10%; right: 10%; bottom: 40px; height: 180px; z-index: -1; transform: perspective(600px) rotateX(70deg); background: linear-gradient(rgba(165,134,255,.22) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(165,134,255,.22) 1px, transparent 1px) 0 0 / 40px 40px; mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000, transparent 75%); }
.coverflow-nav button[data-dir] { background: rgba(20,16,46,.7); border-color: rgba(200,185,255,.2); }
.cf-dot.on { background: linear-gradient(90deg, var(--accent), var(--accent-3)); }

/* ---------- FLIP CARDS ---------- */
.steps-3d { gap: 18px; }
.flip { perspective: 1200px; min-height: 330px; outline: none; }
.flip-in { position: relative; height: 100%; min-height: 330px; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip:hover .flip-in, .flip:focus-visible .flip-in, .flip.flipped .flip-in { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.flip-face.step { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)), var(--surface); border: 1px solid var(--border-2); }
.flip-face.step .step-viz { margin-top: auto; }
.step-big { position: absolute; top: 14px; right: 20px; font-size: 3.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200,185,255,.25); }
.flip-back { transform: rotateY(180deg); background: radial-gradient(120% 90% at 100% 0%, rgba(255,111,216,.35), transparent 55%), radial-gradient(120% 90% at 0% 100%, rgba(70,220,255,.28), transparent 55%), linear-gradient(160deg, #2a1f63, #170f3d); border: 1px solid rgba(200,185,255,.3); justify-content: center; gap: 10px; }
.flip-back p { font-size: 1.12rem; color: #fff; line-height: 1.5; }
.flip-back .step-n { color: #e0d6ff; }
.flip-ico { position: absolute; right: 22px; bottom: 20px; opacity: .55; }
.flip:not(:hover):not(:focus-visible):not(.flipped) .flip-in { animation: wob 6s ease-in-out infinite; }
.flip:nth-child(2) .flip-in { animation-delay: -2s; } .flip:nth-child(3) .flip-in { animation-delay: -4s; }
@keyframes wob { 0%, 100% { transform: rotateY(-6deg) rotateX(3deg); } 50% { transform: rotateY(6deg) rotateX(-2deg); } }

/* ---------- PODIUM 3D ---------- */
.podium-wrap { margin-top: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)), var(--surface); border: 1px solid var(--border-2); overflow: hidden; }
.podium-txt h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.podium { --u: 2.2px; height: 330px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 4vw, 44px); perspective: 900px; perspective-origin: 50% -30%; padding-bottom: 30px; }
.pillar { position: relative; width: clamp(70px, 10vw, 104px); display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; }
.pillar-top { margin-bottom: 18px; transform: translateY(20px); opacity: 0; transition: all .8s var(--ease) calc(var(--d, 0) * 1s + .5s); }
.pillar-top strong { font-size: clamp(1.1rem, 2vw, 1.5rem); padding: 6px 12px; border-radius: 10px; background: rgba(20,16,46,.8); border: 1px solid var(--border-2); display: inline-block; }
.pillar.hot .pillar-top strong { background: linear-gradient(120deg, var(--accent), var(--accent-3)); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -8px var(--accent-glow); }
.pillar-box { position: relative; width: 100%; height: 0; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(-24deg); transition: height 1.1s var(--ease) calc(var(--d, 0) * 1s); }
.podium.in .pillar-box { height: calc(var(--h) * var(--u)); }
.podium.in .pillar-top { transform: none; opacity: 1; }
.p1 { --d: 0; } .p2 { --d: .15; } .p3 { --d: .3; }
.pillar-box i { position: absolute; display: block; }
.pillar-box .f { inset: 0; background: linear-gradient(180deg, #8f6bff, #4b2fb8); border-radius: 4px 4px 0 0; transform: translateZ(26px); }
.pillar-box .s { top: 0; bottom: 0; left: 100%; width: 52px; background: linear-gradient(180deg, #5e3fd6, #2c1a7a); transform-origin: left center; transform: translateZ(26px) rotateY(90deg); }
.pillar-box .t { left: 0; right: 0; top: 0; height: 52px; background: linear-gradient(135deg, #c9b6ff, #9c7bff); transform-origin: center top; transform: translateZ(26px) rotateX(-90deg); }
.pillar.hot .pillar-box .f { background: linear-gradient(180deg, #ff7fe0, #8a3cff); box-shadow: 0 0 60px -10px rgba(255,111,216,.7); }
.pillar.hot .pillar-box .s { background: linear-gradient(180deg, #d55ad6, #5b23b5); }
.pillar.hot .pillar-box .t { background: linear-gradient(135deg, #ffd0f4, #ff8ee2); }
.pillar-l { position: absolute; bottom: -30px; font: 600 .74rem var(--mono); color: var(--text-3); white-space: nowrap; }

/* ---------- ANNEAU 3D « bientôt » ---------- */
.soon-3d { margin-top: 30px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 28px; border: 1px dashed rgba(200,185,255,.22); background: rgba(14,11,34,.5); overflow: hidden; }
.soon-txt .eyebrow { color: var(--amber); } .soon-txt h3 { font-size: 1.5rem; }
.ring-scene { position: relative; height: 260px; isolation: isolate; }
.ring-scene::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(76%, 520px); height: 112px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(200,185,255,.18); box-shadow: 0 0 40px -10px rgba(165,134,255,.5) inset; }
.ring-scene::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b49bff 30%, #6a3fe0 60%, #2a1670); box-shadow: 0 0 60px rgba(165,134,255,.7); z-index: 50; }
.ring { position: relative; width: 100%; height: 100%; }
.ring-item { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); will-change: transform, opacity; }
.ring-item span { display: block; font-size: .86rem; font-weight: 600; padding: 11px 16px; border-radius: 14px; white-space: nowrap; color: #fff; background: linear-gradient(140deg, rgba(140,100,255,.55), rgba(255,111,216,.28)), rgba(20,16,46,.9); border: 1px solid rgba(200,185,255,.4); box-shadow: 0 16px 34px -14px rgba(120,80,255,.9), 0 1px 0 rgba(255,255,255,.15) inset; }
@keyframes spinR { from { transform: rotateX(-10deg) rotateY(0); } to { transform: rotateX(-10deg) rotateY(-360deg); } }

/* ---------- CUBE final ---------- */
.final-in { background: radial-gradient(60% 120% at 50% 0%, rgba(165,134,255,.22), transparent 70%), radial-gradient(40% 80% at 100% 100%, rgba(255,111,216,.14), transparent 70%), var(--surface); border-color: rgba(200,185,255,.18); }
.cube-scene { width: 110px; height: 110px; margin: 10px auto 44px; perspective: 700px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cube 14s linear infinite; }
.cube i { position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.5rem var(--head); font-style: normal; color: #fff; border-radius: 18px; border: 1px solid rgba(220,210,255,.4); background: linear-gradient(140deg, #6f4be0, #b24fd0 60%, #3a8fd8); box-shadow: 0 0 36px -4px rgba(255,255,255,.35) inset; backface-visibility: hidden; }
.cube .c1 { transform: translateZ(55px); } .cube .c2 { transform: rotateY(180deg) translateZ(55px); } .cube .c3 { transform: rotateY(90deg) translateZ(55px); font-size: 1.05rem; }
.cube .c4 { transform: rotateY(-90deg) translateZ(55px); font-size: 1.1rem; } .cube .c5 { transform: rotateX(90deg) translateZ(55px); } .cube .c6 { transform: rotateX(-90deg) translateZ(55px); }
.cube-logo { filter: drop-shadow(0 0 10px rgba(255,255,255,.5)); }
.cube-logo .lm-bg { stroke: rgba(255,255,255,.6); stroke-width: 2; }
.brand-word { display: block; flex: 0 0 auto; overflow: visible; }
.brand .brand-word { color: #fff; }
.footer-brand strong .brand-word { margin-bottom: 4px; }
@keyframes cube { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

/* ---------- responsive v3 ---------- */
@media (max-width: 1024px) {
  .hero-x { min-height: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .podium-wrap, .soon-3d { grid-template-columns: 1fr; }
  .orb { inset: -10% -10%; width: 120%; height: 120%; }
}
@media (max-width: 760px) {
  .hero-x .hero-visual { min-height: 0; }
  .orb { opacity: .55; }
  .ribbons { height: 130px; } .ribbon span { font-size: .8rem; }
  .steps-3d { grid-template-columns: 1fr; }
  .flip, .flip-in { min-height: 290px; }
  .podium { height: 290px; --u: 1.8px; }
  .ring-item span { font-size: .74rem; }
  .scroll-hint { display: none; }
  .h1-outline { -webkit-text-stroke-width: 1px; }
}
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .bg-aurora i, .ribbon-track, .cube, .flip-in, .eyebrow-dot { animation: none !important; }
  .podium .pillar-box { height: calc(var(--h) * var(--u)); } .pillar-top { opacity: 1; transform: none; }
}

main.page { overflow-x: clip; }
.brand svg, .logo-mark { flex: 0 0 auto; }
@media (max-width: 440px) { .topnav .btn-ghost { display: none; } .ring-item span { font-size: .74rem; padding: 9px 12px; } }

/* ---------- mobile / iPhone : finitions v3 ---------- */
.on-touch { display: none; }
@media (hover: none) { .on-desk { display: none; } .on-touch { display: inline; } }
@media (max-width: 760px) {
  .hero-x { padding-top: 26px; padding-bottom: 10px; }
  .hero-x .eyebrow { font-size: .66rem; letter-spacing: .1em; }
  .hero-x .lead { font-size: 1rem; }
  .hero-x .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-x .cta-row .btn { width: 100%; }
  .hero-x .tier-strip { width: 100%; justify-content: flex-start; }
  .hero-x .hero-visual { margin-top: 26px; padding: 6px 0 4px; }
  .orb { inset: -12% -20%; width: 140%; height: 124%; opacity: .7; }
  .hero-plane { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .hero-plane .card { padding: 14px; border-radius: 18px; }
  .float-a, .float-d { grid-column: 1 / -1; }
  .float-b .huge { font-size: 1.55rem; }
  .float-b .card-h { flex-wrap: wrap; gap: 6px; }
  .section { padding: 54px 0; }
  .section-h { margin-bottom: 22px; }
  .kpi-v { font-size: 1.7rem; }
  .flip, .flip-in { min-height: 250px; }
  .flip-face { padding: 22px; }
  .step-big { font-size: 2.8rem; }
  .podium-wrap { padding: 22px 16px 26px; gap: 10px; }
  .podium { gap: 22px; height: 270px; --u: 1.65px; padding-bottom: 40px; }
  .pillar { width: 72px; }
  .pillar-box .s { width: 36px; transform: translateZ(18px) rotateY(90deg); }
  .pillar-box .t { height: 36px; transform: translateZ(18px) rotateX(-90deg); }
  .pillar-box .f { transform: translateZ(18px); }
  .pillar-top strong { font-size: 1.05rem; padding: 5px 9px; }
  .pillar-l { bottom: -36px; width: 90px; left: 50%; margin-left: -45px; white-space: normal; text-align: center; font-size: .64rem; line-height: 1.3; }
  .dash-preview { gap: 12px; }
  .simulator { padding: 20px 16px; }
  .feature { padding: 22px 20px; }
  .soon-3d { padding: 22px 16px; }
  .ring-scene { height: 230px; }
  .ring-scene::before { width: 88%; height: 96px; }
  .ring-scene::after { width: 54px; height: 54px; }
  .final-in { padding: 34px 18px; border-radius: 24px; }
  .final-in .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .final-in .cta-row .btn { width: 100%; }
  .cube-scene { width: 86px; height: 86px; }
  .cube i { border-radius: 14px; font-size: 1.2rem; }
  .cube .c1 { transform: translateZ(43px); } .cube .c2 { transform: rotateY(180deg) translateZ(43px); } .cube .c3 { transform: rotateY(90deg) translateZ(43px); font-size: .85rem; }
  .cube .c4 { transform: rotateY(-90deg) translateZ(43px); font-size: .9rem; } .cube .c5 { transform: rotateX(90deg) translateZ(43px); } .cube .c6 { transform: rotateX(-90deg) translateZ(43px); }
  .cube-logo { width: 48px; height: 48px; }
  .coverflow-stage { height: 480px; }
  .chips li { font-size: .74rem; }
}
@media (max-width: 380px) {
  h1 { font-size: 1.75rem; }
  .podium { gap: 14px; } .pillar { width: 64px; }
  .tier-strip .tier { font-size: .8rem; padding: 5px 8px; }
}
/* iPhone : zone de sécurité (encoche / barre d'accueil) */
@supports (padding: max(0px)) {
  .topbar-in { margin-top: env(safe-area-inset-top); }
  .footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}
.ring-scene.ring-flat { height: auto; }
.ring-flat::before, .ring-flat::after { display: none; }
.ring-flat .ring { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; perspective: 700px; }
.ring-flat .ring-item { position: static; transform: rotateX(8deg); animation: chipIn .7s var(--ease) both; animation-delay: calc(var(--i) * .08s); }
.ring-flat .ring-item span { white-space: normal; text-align: center; min-height: 54px; display: grid; place-items: center; font-size: .78rem; }
@keyframes chipIn { from { opacity: 0; transform: rotateX(60deg) translateY(16px); } to { opacity: 1; transform: rotateX(8deg); } }
/* aperçus des pages en ligne floutés le temps de refaire les visuels */
.coverflow .scr-real .scr-in { filter: blur(7px) saturate(1.1); transform: scale(1.04); }
.foot-star { margin-top: 18px; opacity: .8; }
