/* =====================================================================
   VEYRA WEB — site public : noir profond, quadrillage, réseau de points,
   bleu Veyra, grand V en 3D
   ===================================================================== */
:root {
    --bg: #05060a; --bg-2: #090b11; --card: #0b0e15; --card-2: #10141d;
    --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
    --text: #f3f5f9; --soft: #a6aebd; --muted: #687184;
    --accent: #4b8be0; --accent-2: #7db2ff; --accent-deep: #1d4f9c;
    --ok: #3ddc84; --warn: #f5b546; --bad: #ff5d6c;
    --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --mono: 'JetBrains Mono', Consolas, monospace;
    --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--text); font: 15px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(75, 139, 224, .4); }
code { font-family: var(--mono); font-size: .9em; }

/* Barre de défilement : fine, sans flèches, pouce bleu arrondi */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 12px; background: padding-box rgba(75, 139, 224, .38); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(110, 168, 255, .75); }
::-webkit-scrollbar-button { display: none; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: rgba(75, 139, 224, .5) var(--bg); } }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.i { width: 16px; height: 16px; flex: none; }
.blue { color: var(--accent); }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad { background: linear-gradient(92deg, var(--accent-2), var(--accent) 55%, #3a6fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Boutons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s, color .2s; }
.btn:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(2px); }
.btn.primary { border-color: transparent; background: linear-gradient(180deg, #5c9cf0, var(--accent) 45%, #2f6fcf); color: #fff; box-shadow: 0 8px 28px -8px rgba(75, 139, 224, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { box-shadow: 0 12px 36px -8px rgba(75, 139, 224, .95), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn.light { border-color: transparent; background: #fff; color: #07080c; }
.btn.light:hover { background: #e8edf6; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn.block { width: 100%; }
.btn.ok { border-color: rgba(61, 220, 132, .5); color: var(--ok); }

/* ── Menu ──────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 68px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(5, 6, 10, .72); border-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2), 0 4px 16px -4px rgba(75, 139, 224, .6); }
.nav .links { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.nav .links a { padding: 7px 14px; border-radius: 8px; color: var(--soft); font-size: 13.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav .links a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.nav-cta { display: flex; justify-content: flex-end; gap: 8px; }

/* ── Fonds : quadrillage + lueur ───────────────────────────────────── */
.gridbg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); }

/* ── Héros ─────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 110px 0 90px; border-bottom: 1px solid var(--line); }
.hero canvas.plexus { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero .glow.a { width: 760px; height: 520px; right: -120px; top: 12%; background: radial-gradient(circle, rgba(46, 110, 230, .42), transparent 65%); }
.hero .glow.b { width: 900px; height: 360px; left: 50%; bottom: -220px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(46, 110, 230, .35), transparent 70%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 32px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill b { color: var(--text); font-weight: 700; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin: 26px 0 22px; font-family: var(--display); font-size: clamp(46px, 6.4vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero h1 em { display: block; margin-top: 4px; font-size: 1.04em; line-height: 1; }
.hero .lead { max-width: 540px; color: var(--soft); font-size: 17.5px; line-height: 1.65; }
.hero .lead b { color: var(--text); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.checks-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--soft); font-size: 13.5px; }
.checks-row span { display: inline-flex; align-items: center; gap: 7px; }
.checks-row .i { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: rgba(75, 139, 224, .15); color: var(--accent-2); stroke-width: 3; }
.hero-meta { position: absolute; z-index: 2; bottom: 26px; left: 0; right: 0; display: flex; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Grand V en 3D (couches empilées) */
.logo3d { position: relative; justify-self: center; width: min(560px, 42vw); aspect-ratio: 1; }
.logo3d .halo { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(46, 110, 255, .32), rgba(30, 80, 200, .1) 45%, transparent 68%); animation: pulse 6s ease-in-out infinite; }
.logo3d .stage { position: absolute; inset: 0; perspective: 1600px; }
.spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.layer { position: absolute; inset: 0; background: center / contain no-repeat; }
.layer.front, .layer.back { filter: drop-shadow(0 0 18px rgba(70, 140, 255, .85)); }
.logo3d .floor { position: absolute; left: 50%; top: 100%; width: 50%; height: 5%; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(46, 110, 255, .4), transparent 70%); animation: floor 8s ease-in-out infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
@keyframes pulse { 50% { opacity: .65; transform: scale(1.05); } }
@keyframes floor { 25%, 75% { transform: translateX(-50%) scaleX(.4); opacity: .55; } 50% { transform: translateX(-50%) scaleX(1); } }

/* ── Bandeau défilant des ressources ───────────────────────────────── */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 44px; animation: marquee 48s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 44px; color: var(--soft); font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.marquee span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ──────────────────────────────────────────────────────── */
.section { position: relative; padding: 130px 0; border-bottom: 1px solid var(--line); }
.tag { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.title { margin: 14px 0 16px; font-family: var(--display); font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.title.upper { text-transform: uppercase; letter-spacing: -.02em; }
.sub { max-width: 600px; color: var(--soft); font-size: 17px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

/* Manifeste (colonne étiquette + grand texte) */
.statement { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement p.big { font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; line-height: 1.18; letter-spacing: -.03em; }
.statement p.big .blue { color: var(--accent); }
.statement p.small { max-width: 520px; margin-top: 28px; color: var(--soft); }

/* Mosaïque de cartes */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 330px; gap: 16px; margin-top: 56px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .3s, transform .3s; }
.tile:hover { border-color: rgba(75, 139, 224, .35); transform: translateY(-3px); }
.tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; } .tile.tall { grid-row: span 2; }
.tile .num { position: absolute; top: 18px; right: 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.tile h3 { position: relative; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.tile p { position: relative; max-width: 420px; margin-top: 6px; color: var(--soft); font-size: 14.5px; }
.tile code { position: relative; margin-bottom: 8px; color: var(--accent-2); font-size: 12px; }
.tile .art { position: absolute; left: 0; right: 0; top: 18px; height: calc(100% - 178px); display: flex; align-items: center; justify-content: center; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.tile .shot { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .55; }
.tile .shot + .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 10, .95)); }

/* Illustrations en HTML dans les tuiles */
.art-inv { display: grid; grid-template-columns: repeat(5, 46px); gap: 7px; transform: perspective(700px) rotateX(18deg) rotateZ(-6deg); }
.art-inv i { height: 46px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, .025); }
.art-inv i.f { border-color: rgba(75, 139, 224, .5); background: radial-gradient(circle at 50% 40%, rgba(75, 139, 224, .4), rgba(75, 139, 224, .06)); box-shadow: 0 0 18px -6px var(--accent); }
.art-core { width: 78%; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; color: var(--soft); transform: perspective(800px) rotateX(14deg); }
.art-core div { padding: 2px 12px; border-left: 2px solid transparent; }
.art-core div.hl { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(75, 139, 224, .14), transparent); color: var(--text); }
.art-core .k { color: var(--accent-2); } .art-core .s { color: #9fd0ff; } .art-core .c { color: var(--muted); }
.art-jobs { display: flex; gap: 12px; }
.art-jobs span { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, .03); color: var(--accent-2); box-shadow: 0 10px 30px -14px rgba(75, 139, 224, .8); }
.art-jobs span:nth-child(2) { transform: translateY(-14px); } .art-jobs span:nth-child(3) { transform: translateY(-4px); }
.art-jobs .i { width: 26px; height: 26px; }
.art-list { width: 76%; display: grid; gap: 8px; }
.art-list div { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); color: var(--soft); font-size: 13px; }
.art-list .tg { width: 30px; height: 17px; border-radius: 9px; background: rgba(255, 255, 255, .12); position: relative; }
.art-list .tg::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.art-list .tg.on { background: var(--accent); } .art-list .tg.on::after { left: 15px; }
.art-card { width: 230px; height: 140px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #2f6fcf, #13305f 70%); box-shadow: 0 20px 50px -18px rgba(75, 139, 224, .8); transform: rotate(-7deg); color: rgba(255, 255, 255, .85); font-family: var(--mono); font-size: 12px; }
.art-card b { display: block; margin: 26px 0 6px; font-size: 15px; letter-spacing: .12em; color: #fff; }
.art-chart { width: 82%; height: 120px; color: var(--accent); }
.art-chart .chart-svg { height: 120px; }
.chart-svg { width: 100%; overflow: visible; }
.chart-svg .stroke { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(75, 139, 224, .6)); }
.chart-svg .grid { stroke: var(--line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }

/* Liste complète des ressources */
.res-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.res-group { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.res-group h4 { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.res-group h4 b { color: var(--accent-2); }
.res-group li { list-style: none; padding: 9px 0; border-top: 1px solid var(--line); }
.res-group li code { display: block; color: var(--text); font-size: 13px; }
.res-group li span { color: var(--muted); font-size: 12.5px; }

/* Chiffres */
.stats { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 14px; align-items: stretch; }
.stats .title { margin: 0; font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; letter-spacing: -.02em; }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; }
.stat b { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Aperçu du panel */
.panel-wrap { position: relative; margin-top: 56px; }
.panel-wrap .glow { width: 80%; height: 60%; left: 10%; top: 20%; background: radial-gradient(ellipse, rgba(46, 110, 230, .35), transparent 70%); }
.mock { position: relative; display: grid; grid-template-columns: 210px 1fr; overflow: hidden; border: 1px solid var(--line-2); border-radius: 18px; background: #f7f8fa; color: #0d1017; box-shadow: 0 40px 120px -40px rgba(46, 110, 230, .6), 0 0 0 6px rgba(255, 255, 255, .03); font-size: 12.5px; }
.mock-side { padding: 16px 12px; border-right: 1px solid #e6e8ec; background: #fbfbfc; }
.mock-side .h { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.mock-side .h img { width: 28px; height: 28px; border-radius: 7px; }
.mock-side .h b { display: block; font-size: 12.5px; } .mock-side .h span { color: #8a909c; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.mock-side small { display: block; margin: 14px 8px 6px; color: #9aa0ab; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mock-side a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; color: #4a5160; }
.mock-side a.on { background: #eef0f4; color: #0d1017; font-weight: 600; }
.mock-side .i { width: 14px; height: 14px; }
.mock-main { padding: 18px 22px 22px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: #8a909c; }
.mock-top b { color: #0d1017; }
.mock .chip-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #e3e6eb; border-radius: 999px; color: #0d1017; font-weight: 600; }
.mock .chip-live i { width: 7px; height: 7px; border-radius: 50%; background: #16b364; box-shadow: 0 0 0 3px rgba(22, 179, 100, .18); }
.mock-hero { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 20px; border: 1px solid #e6e8ec; border-radius: 12px; background: #fff; }
.mock-hero .st { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: #e8f8ef; color: #12804a; font-size: 10.5px; font-weight: 600; }
.mock-hero h5 { margin-top: 6px; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.mock-kpis { display: flex; gap: 26px; text-align: right; }
.mock-kpis span { display: block; color: #8a909c; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; }
.mock-kpis b { font-family: var(--display); font-size: 24px; }
.mock-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 12px; }
.mock-card { padding: 14px 16px; border: 1px solid #e6e8ec; border-radius: 12px; background: #fff; }
.mock-card h6 { font-size: 12.5px; }
.mock-card p { color: #8a909c; font-size: 11px; }
.mock-card .chart-svg { height: 110px; margin-top: 10px; color: var(--accent); }
.mock-card .chart-svg .stroke { stroke-width: 2; }
.mock-card .chart-svg .grid { stroke: #eceef2; }
.mock-list div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #f0f1f4; }
.mock-list div:first-of-type { border-top: 0; }
.mock-list span { color: #8a909c; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.step .n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 40px; border: 1px solid rgba(75, 139, 224, .4); border-radius: 10px; background: rgba(75, 139, 224, .1); color: var(--accent-2); font-family: var(--mono); font-size: 13px; }
.step h3 { margin-bottom: 6px; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.step p { color: var(--soft); font-size: 14px; }
.step code { color: var(--accent-2); }

/* Bloc de code */
.code { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #07090e; }
.code-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; }
.code-top i { width: 10px; height: 10px; border-radius: 50%; background: #262b36; }
.code-top span { margin-left: 8px; }
.code pre { overflow-x: auto; padding: 18px 20px; color: #cfd8e6; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; }
.code .c { color: #5b6476; } .code .k { color: var(--accent-2); } .code .s { color: #9fd0ff; } .code .g { color: var(--ok); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; max-width: 980px; margin: 56px auto 0; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.plan.best { border-color: rgba(75, 139, 224, .55); background: radial-gradient(120% 80% at 50% 0%, rgba(46, 110, 230, .22), transparent 60%), var(--card); box-shadow: 0 30px 80px -40px rgba(46, 110, 230, .8); }
.plan .ribbon { position: absolute; top: 22px; right: 24px; padding: 4px 10px; border: 1px solid rgba(75, 139, 224, .5); border-radius: 999px; color: var(--accent-2); font-size: 11.5px; font-weight: 600; }
.plan h3 { color: var(--soft); font-size: 15px; font-weight: 600; }
.plan .price { margin: 12px 0 2px; font-family: var(--display); font-size: 68px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.plan .price small { margin-left: 4px; color: var(--muted); font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 13.5px; }
.plan hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.plan ul { display: grid; gap: 12px; margin-bottom: 30px; list-style: none; }
.plan li { display: flex; gap: 10px; color: var(--soft); font-size: 14.5px; }
.plan li .i { width: 18px; height: 18px; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(75, 139, 224, .15); color: var(--accent-2); stroke-width: 3; }
.plan li b { color: var(--text); font-weight: 600; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; padding: 22px 0; font-size: 16.5px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { color: var(--accent); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.faq summary .pm { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--soft); transition: transform .25s, background .25s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: rgba(75, 139, 224, .15); color: var(--accent-2); }
.faq details p { padding: 0 40px 22px 44px; color: var(--soft); }
.faq details p code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: #07090e; color: #9fd0ff; }

/* Appel final */
.final { position: relative; overflow: hidden; padding: 80px 40px; border: 1px solid rgba(75, 139, 224, .3); border-radius: 28px; background: radial-gradient(80% 120% at 50% 110%, rgba(46, 110, 230, .45), transparent 60%), var(--card); text-align: center; }
.final .gridbg { -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000 10%, transparent 70%); }
.final .title { position: relative; }
.final .sub { position: relative; }
.final .ctas { position: relative; justify-content: center; }

/* ── Pied de page ──────────────────────────────────────────────────── */
.foot { padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 14px; color: var(--soft); font-size: 14px; }
.foot h4 { margin-bottom: 14px; font-size: 13.5px; font-weight: 600; }
.foot-grid a:not(.brand) { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.foot-bottom a:hover { color: var(--text); }

/* ── Connexion (écran coupé en deux, façon espace client) ──────────── */
.auth-split { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 100vh; }
.auth-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 60px max(40px, 7vw); border-right: 1px solid var(--line); }
.auth-brand .glow { width: 600px; height: 600px; left: 10%; top: 20%; background: radial-gradient(circle, rgba(46, 110, 230, .3), transparent 65%); }
.auth-brand > :not(.gridbg):not(.glow):not(.back) { position: relative; }
.auth-brand .back { position: absolute; top: 28px; left: max(40px, 7vw); }
.auth-brand .logo3d { justify-self: start; width: 150px; margin: 0 0 28px -10px; }
.auth-brand h1 { font-family: var(--display); font-size: clamp(34px, 3.4vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.auth-brand p { max-width: 440px; margin-top: 16px; color: var(--soft); font-size: 16px; }
.feats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.feats div { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.feats span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text); }
.feats .i { width: 20px; height: 20px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 60px 40px; background: #f6f7f9; color: #0d1017; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h2 { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.auth-box > p { margin: 4px 0 26px; color: #6b7280; font-size: 14.5px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 26px; padding: 4px; border-radius: 11px; background: #e9ebef; }
.seg button { height: 36px; border: 0; border-radius: 8px; background: transparent; color: #6b7280; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.seg button.on { background: #fff; color: #0d1017; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.pane { display: none; } .pane.on { display: block; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 7px; color: #6b7280; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.input-wrap { position: relative; }
.input-wrap .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #9aa0ab; }
.input { width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid #dfe2e7; border-radius: 10px; background: #fff; color: #0d1017; font-size: 14.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(75, 139, 224, .18); }
.auth-box .btn.primary { width: 100%; height: 48px; margin-top: 8px; }
.hint-light { margin-top: 18px; color: #6b7280; font-size: 13px; text-align: center; }
.hint-light a { color: #2f6fcf; font-weight: 600; }
.error { margin-bottom: 16px; padding: 11px 14px; border: 1px solid #ffc9cf; border-radius: 10px; background: #fff1f2; color: #b4232f; font-size: 14px; }

/* ── Pages simples (achat, merci, licence) ─────────────────────────── */
.page { position: relative; padding: 140px 0 100px; }
.page .gridbg { height: 600px; }
.page-in { position: relative; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.card h3 { margin-bottom: 14px; font-family: var(--display); font-size: 19px; letter-spacing: -.02em; }
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 16px; align-items: start; margin-top: 40px; }
.line-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.line-item.total { border: 0; color: var(--text); font-family: var(--display); font-size: 22px; font-weight: 800; }
.check { display: flex; gap: 10px; margin: 12px 0; color: var(--soft); font-size: 13.5px; cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); }
.check a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.page .error { border-color: rgba(255, 93, 108, .35); background: rgba(255, 93, 108, .08); color: #ffb3bb; }
.small { margin-top: 14px; color: var(--muted); font-size: 12.5px; text-align: center; }
.keybox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid rgba(75, 139, 224, .4); border-radius: 14px; background: rgba(75, 139, 224, .08); }
.keybox code { flex: 1; min-width: 0; font-size: 19px; letter-spacing: .08em; overflow-wrap: anywhere; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--soft); }
.prose p + p { margin-top: 10px; }
.prose ul { display: grid; gap: 8px; margin: 10px 0 0 20px; }

/* Messages flash */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; gap: 8px; width: min(380px, calc(100vw - 40px)); }
.toast { position: relative; padding: 13px 40px 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #11151e; box-shadow: 0 20px 50px -20px #000; font-size: 14px; animation: toast 7s ease forwards; }
.toast::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); }
.toast.success::before { background: var(--ok); } .toast.error::before { background: var(--bad); }
.toast.secret { font-family: var(--mono); font-size: 13px; animation: none; }
.toast-x { position: absolute; right: 10px; top: 12px; border: 0; background: none; color: var(--muted); cursor: pointer; }
@keyframes toast { 0% { opacity: 0; transform: translateY(8px); } 5%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; visibility: hidden; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
    .nav { grid-template-columns: 1fr auto; }
    .nav .links { display: none; }
    .hero-in { grid-template-columns: 1fr; }
    .logo3d { order: -1; width: min(340px, 70vw); margin-bottom: -10px; }
    .statement, .faq-grid, .pricing, .split, .checkout, .auth-split { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
    .tile.w2, .tile.w3, .tile.w4 { grid-column: span 2; } .tile.tall { grid-row: span 1; }
    .res-groups, .steps { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; } .stats .title { grid-column: 1 / -1; margin-bottom: 8px; }
    .mock { grid-template-columns: 1fr; } .mock-side { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .auth-brand { min-height: auto; padding-top: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    .nav { padding: 0 18px; }
    .nav-cta .ghost { display: none; }
    .hero { padding-top: 92px; }
    .hero .lead { font-size: 16px; }
    .ctas .btn { flex: 1; }
    .hero-meta { display: none; }
    .section { padding: 90px 0; }
    .bento { grid-template-columns: 1fr; } .tile.w2, .tile.w3, .tile.w4 { grid-column: span 1; }
    .res-groups, .steps, .stats { grid-template-columns: 1fr; }
    .mock-row { grid-template-columns: 1fr; } .mock-kpis { gap: 14px; } .mock-hero { flex-direction: column; align-items: flex-start; gap: 12px; } .mock-kpis { text-align: left; }
    .faq summary { grid-template-columns: 34px 1fr 28px; } .faq details p { padding: 0 0 20px 34px; }
    .final { padding: 56px 22px; border-radius: 22px; }
    .foot-grid { grid-template-columns: 1fr; }
    .auth-form { padding: 40px 18px; } .auth-brand { padding: 90px 22px 40px; } .auth-brand .back { left: 22px; }
    .plan { padding: 26px 22px; } .plan .price { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
