/* ─────────────────────────────────────────────────────────────
   ZENO OPTIMISATION — Design Pro / SaaS moderne
   ───────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg: #08090f;
  --bg-elev: #0e1019;
  --surface: #11131d;
  --surface-2: #161927;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --text: #eaedf6;
  --muted: #939bb4;
  --brand1: #a78bfa;
  --brand2: #3b82f6;
  --grad: linear-gradient(135deg, #a78bfa 0%, #7c6cf0 45%, #3b82f6 100%);
  --grad-text: linear-gradient(120deg, #f3f0ff 10%, #c4b5fd 55%, #93c5fd);
  --ok: #34d399;
  --radius: 16px;
  --maxw: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .kpi-v, .plan .pp, .stat .num, .strip .num, .hero h1, .notfound .big {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* halo + grille discrète + grain (rendu premium, moins "plat") */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(124,108,240,.18), transparent 70%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600;
  padding: 12px 22px; border-radius: 10px; cursor: pointer; border: 1px solid transparent;
  font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  font-family: inherit; min-height: 44px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; aspect-ratio: 1 / 1; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 20px rgba(124,108,240,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(59,130,246,.4); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; min-height: 38px; font-size: 14px; }

/* nav — barre flottante détachée, coins arrondis */
header { position: sticky; top: 0; z-index: 100; }
nav {
  display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px;
  margin-top: 16px; padding: 0 12px 0 18px;
  background: rgba(14,16,25,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 34px rgba(0,0,0,.4);
}
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.logo img { width: 34px; height: 34px; }
.nav-mid { display: flex; gap: 30px; }
.nav-mid a { position: relative; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; padding: 4px 0; }
.nav-mid a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; border-radius: 2px; background: var(--grad); transition: right .25s ease; }
.nav-mid a:hover { color: var(--text); }
.nav-mid a:hover::after, .nav-mid a.active::after { right: 0; }
.nav-mid a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
/* auth widget */
.user-menu { position: relative; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; font-family: inherit; transition: background .2s; }
.user-chip:hover { background: var(--surface-2); }
.user-chip img { width: 28px; height: 28px; border-radius: 50%; }
.user-chip .chev { width: 16px; height: 16px; stroke: var(--muted); transition: transform .2s; }
.user-menu.open .user-chip .chev { transform: rotate(180deg); }
.user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; background: rgba(14,16,25,.98); backdrop-filter: blur(14px); border: 1px solid var(--border-strong); border-radius: 12px; padding: 6px; box-shadow: 0 16px 44px rgba(0,0,0,.55); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; z-index: 200; }
.user-menu.open .user-dropdown { opacity: 1; transform: none; pointer-events: auto; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text); }
.user-dropdown a:hover { background: rgba(255,255,255,.06); }
.user-dropdown a svg { width: 17px; height: 17px; stroke: var(--muted); }
.user-dropdown a.danger { color: #f87171; }
.user-dropdown a.danger svg { stroke: #f87171; }
.user-dropdown a.danger:hover { background: rgba(248,113,113,.12); }
.user-dropdown .sep { height: 1px; background: var(--border); margin: 4px 0; }

/* hero */
.hero { padding: 80px 0 64px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #c4b5fd; font-weight: 500; margin-bottom: 26px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hero h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -2px; margin-bottom: 22px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust b { color: var(--text); }
.hero-rating { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.hero-rating .stars { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }
.hero-rating b { color: var(--text); }

/* steps — timeline connectée */
.steps { position: relative; }
.steps::before { content: ''; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--border-strong) 25%, var(--border-strong) 75%, transparent); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .n { margin: 0 auto 18px; box-shadow: 0 0 0 6px var(--bg); }
@media (max-width: 900px) { .steps::before { display: none; } .step { text-align: left; } .step .n { margin-left: 0; } }

/* app mock — moniteur de performances */
.mock { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-strong); border-radius: 18px; padding: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.55); }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--border); }
.mdots { display: flex; gap: 6px; }
.mdots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e40; }
.mock-title { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.mock-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 6px 16px; }
.mock-k { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.mock-fps { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -1px; display: flex; align-items: baseline; gap: 10px; }
.mock-up { font-size: 13px; font-weight: 600; color: var(--ok); font-family: 'Inter', sans-serif; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.spark span { width: 8px; border-radius: 3px; background: var(--grad); height: var(--h); opacity: .92; animation: rise .9s cubic-bezier(.2,.8,.2,1) backwards; }
.spark span:nth-child(2){animation-delay:.06s}.spark span:nth-child(3){animation-delay:.12s}.spark span:nth-child(4){animation-delay:.18s}.spark span:nth-child(5){animation-delay:.24s}.spark span:nth-child(6){animation-delay:.3s}.spark span:nth-child(7){animation-delay:.36s}.spark span:nth-child(8){animation-delay:.42s}
@keyframes rise { from { height: 6px; opacity: .25; } }
.mock-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.mm { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 12px 13px; }
.mm-v { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; }
.mm-v small { font-size: 12px; color: var(--muted); margin-left: 2px; font-family: 'Inter', sans-serif; }

/* micro-interaction : flèche des boutons */
.btn svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

/* bandeau d'alerte maintenance (admins) */
.maint-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 300; background: linear-gradient(90deg, #f59e0b, #f43f5e); color: #fff; text-align: center; font-size: 13.5px; font-weight: 500; padding: 10px 16px; }
.maint-banner a { color: #fff; text-decoration: underline; font-weight: 700; margin-left: 6px; }

/* section */
section { padding: 76px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.sec-head .kick { display: inline-flex; align-items: center; gap: 10px; color: var(--brand1); font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; }
.sec-head .kick::before { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand1)); }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; margin: 14px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }

/* trust strip */
.strip { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip .item { text-align: center; }
.strip .num { font-size: 30px; font-weight: 800; }
.strip .lbl { color: var(--muted); font-size: 14px; }

/* features — grille bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.b { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.b:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.45); box-shadow: 0 14px 34px rgba(124,108,240,.14); }
.b-wide { grid-column: span 2; }
.b-full { grid-column: span 3; display: flex; align-items: center; gap: 24px; }
.b-ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(124,108,240,.12); border: 1px solid rgba(124,108,240,.25); display: grid; place-items: center; margin-bottom: 18px; }
.b-ic svg { width: 24px; height: 24px; stroke: #c4b5fd; }
.b h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.b p { color: var(--muted); font-size: 15px; }
.b-stat { margin-top: 20px; font-size: 15px; color: var(--muted); display: flex; align-items: baseline; gap: 10px; }
.b-stat span { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; letter-spacing: -1px; }
.b-full .b-ic { margin-bottom: 0; flex-shrink: 0; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .b-wide, .b-full { grid-column: span 2; } .b-full { flex-direction: column; align-items: flex-start; gap: 16px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .b-wide, .b-full { grid-column: span 1; } }

/* features (ancien, conservé pour compat) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(167,139,250,.45); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(124,108,240,.14); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(124,108,240,.12); border: 1px solid rgba(124,108,240,.25); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 23px; height: 23px; stroke: #c4b5fd; }
.feature h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .n { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.4); box-shadow: 0 16px 40px rgba(124,108,240,.16); }
.plan.pop { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 18px 50px rgba(124,108,240,.22); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .5px; }
.plan .pn { font-weight: 700; font-size: 19px; }
.plan .pd { color: var(--muted); font-size: 14px; min-height: 42px; margin-top: 4px; }
.plan .pp { font-size: 38px; font-weight: 800; margin: 16px 0 2px; letter-spacing: -1px; }
.plan .pp span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #d2d8ea; }
.plan li svg { width: 18px; height: 18px; stroke: var(--ok); flex-shrink: 0; margin-top: 3px; }
.plan .btn { width: 100%; margin-top: auto; }

/* faq */
.faq { max-width: 740px; margin: 0 auto; display: grid; gap: 12px; }
.q { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.q button { width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer; padding: 18px 20px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: inherit; }
.q button svg { width: 19px; height: 19px; stroke: var(--brand1); transition: transform .25s; flex-shrink: 0; }
.q.open button svg { transform: rotate(45deg); }
.q .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.q .a p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* cta */
.cta { text-align: center; border: 1px solid var(--border-strong); border-radius: 24px; padding: 60px 30px; background: radial-gradient(ellipse at top, rgba(124,108,240,.18), transparent 70%), var(--surface); }
.cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.cta p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }

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

/* footer riche */
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 12px; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.footer-cols a { display: block; color: #c4cbe0; font-size: 14px; padding: 5px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.footer-bottom .tagline { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 1px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* page header (tarifs) */
.page-hero { text-align: center; padding: 70px 0 10px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 auto; }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .mock { max-width: 460px; }
  .grid3, .steps, .pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .nav-mid { display: none; }
  .burger { display: block; }
  .nav-mid.show { display: flex; position: absolute; top: 86px; left: 24px; right: 24px; flex-direction: column; background: rgba(14,16,25,.96); backdrop-filter: blur(16px); padding: 18px 20px; gap: 16px; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
}
/* testimonials */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi .t { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.testi .stars { color: #fbbf24; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testi .t p { font-size: 15px; color: #d2d8ea; margin-bottom: 18px; }
.testi .who { display: flex; align-items: center; gap: 11px; }
.testi .who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; }
.testi .who .nm { font-weight: 600; font-size: 14px; }
.testi .who .rl { color: var(--muted); font-size: 13px; }

/* espace client */
.account-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 30px 28px; }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.acc-head h3 { font-size: 20px; }
.acc-badge { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.acc-badge.on { background: rgba(52,211,153,.15); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.acc-badge.off { background: rgba(248,113,113,.13); color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.acc-lbl { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.acc-val { font-weight: 600; font-size: 16px; }
.acc-key { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.acc-key code { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-family: monospace; font-size: 15px; letter-spacing: 1px; overflow-x: auto; }
.btn-cancel { background: none; border: 0; color: #f87171; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn-cancel:hover { color: #fca5a5; }
.btn-cancel:disabled { opacity: .6; cursor: default; }
.notice { max-width: 640px; margin: 0 auto 18px; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.notice.ok { background: rgba(52,211,153,.13); border: 1px solid rgba(52,211,153,.3); color: #6ee7b7; }

/* barre de réassurance */
.reassure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.reassure .r { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.reassure .r svg { width: 24px; height: 24px; stroke: #c4b5fd; flex-shrink: 0; }
.reassure .r b { display: block; font-size: 14px; }
.reassure .r span { color: var(--muted); font-size: 13px; }

/* tableau comparatif */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { text-align: center; padding: 16px 14px; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { font-weight: 700; font-size: 16px; }
.compare thead th.hl { color: #c4b5fd; }
.compare td svg { width: 20px; height: 20px; stroke: var(--ok); }
.compare td.no { color: #5b6178; }
.compare tbody tr:hover { background: rgba(255,255,255,.02); }

/* barre de progression abonnement */
.progress { margin-top: 18px; }
.progress .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 8px; }
.progress .bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .8s ease; }
.progress .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* bandeau cookies */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto; z-index: 200; background: rgba(14,16,25,.96); backdrop-filter: blur(14px); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px 20px; box-shadow: 0 14px 50px rgba(0,0,0,.5); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie p { font-size: 14px; color: var(--muted); flex: 1; min-width: 200px; }
.cookie a { color: var(--brand1); }
.cookie .btn { padding: 9px 18px; min-height: 38px; font-size: 14px; }

/* retour en haut */
#toTop { position: fixed; bottom: 22px; right: 22px; z-index: 150; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(14,16,25,.85); backdrop-filter: blur(10px); color: var(--text); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { background: rgba(124,108,240,.35); }
#toTop svg { width: 20px; height: 20px; stroke: currentColor; }

/* page 404 */
.notfound { text-align: center; padding: 90px 0 60px; }
.notfound .big { font-size: clamp(80px, 18vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -3px; }
.notfound h1 { font-size: 26px; margin: 10px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }

/* bouton téléchargement */
.btn-download { background: var(--grad); color: #fff; }
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(59,130,246,.4); }

/* tableau de bord admin */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.kpi-v { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.kpi-l { color: var(--muted); font-size: 14px; margin-top: 4px; }
.kpi-s { color: #6b7390; font-size: 12px; margin-top: 2px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } .admin-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .reassure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reassure { grid-template-columns: 1fr; } }

/* pages légales */
.legal { max-width: 760px; padding-top: 50px; padding-bottom: 30px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.legal .upd { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: #c4cbe0; font-size: 15px; }
.legal ul { margin: 8px 0 8px 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand1); }
.legal em { color: #fbbf24; font-style: normal; }

/* animations au scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) { .testi { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .acc-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } }

/* badge satisfait ou remboursé */
.guarantee-strip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  color: #4ade80; border-radius: 8px; padding: 9px 16px; font-size: 14px;
}
.guarantee-strip svg { flex-shrink: 0; stroke: #4ade80; }

/* compteur animé hero-trust */
.hero-trust b { display: inline-block; transition: transform .3s; }

/* profil Discord */
.prof-header { display: flex; align-items: center; gap: 20px; }
.prof-avatar-wrap { position: relative; flex-shrink: 0; }
.prof-avatar { width: 82px; height: 82px; border-radius: 50%; border: 3px solid var(--border-strong); object-fit: cover; transition: box-shadow .3s; }
.prof-avatar.glow-gold { box-shadow: 0 0 0 3px rgba(251,191,36,.5), 0 0 22px rgba(251,191,36,.3); border-color: rgba(251,191,36,.6); }
.prof-avatar.glow-purple { box-shadow: 0 0 0 3px rgba(124,108,240,.5), 0 0 22px rgba(124,108,240,.3); border-color: rgba(124,108,240,.6); }
.prof-avatar.glow-blue { box-shadow: 0 0 0 3px rgba(59,130,246,.5), 0 0 22px rgba(59,130,246,.3); border-color: rgba(59,130,246,.6); }
.prof-status-dot { position: absolute; bottom: 4px; right: 22px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bg); }
.prof-status-dot.on { background: #4ade80; }
.prof-status-dot.off { background: #6b7280; }
.prof-tier { position: absolute; bottom: 2px; right: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 2px solid var(--bg); line-height: 1; }
.prof-tier.gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.prof-tier.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.prof-tier.blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.prof-info { display: flex; flex-direction: column; gap: 5px; }
.prof-info h3 { margin: 0; font-size: 20px; }
.prof-tag { color: var(--muted); font-size: 13px; }

/* thème carte selon le plan */
.account-card.theme-gold { border-color: rgba(251,191,36,.25); background: linear-gradient(135deg, rgba(251,191,36,.06) 0%, var(--surface) 55%); }
.account-card.theme-purple { border-color: rgba(124,108,240,.25); background: linear-gradient(135deg, rgba(124,108,240,.06) 0%, var(--surface) 55%); }
.account-card.theme-blue { border-color: rgba(59,130,246,.25); background: linear-gradient(135deg, rgba(59,130,246,.06) 0%, var(--surface) 55%); }

/* barre de progression urgente */
.progress.urgent .bar i { background: #f87171; }
.progress.urgent .days-left { color: #f87171; font-weight: 700; }
.progress.warning .bar i { background: #fbbf24; }
.progress.warning .days-left { color: #fbbf24; font-weight: 600; }

/* alerte expiration imminente */
.expire-alert { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #fca5a5; border-radius: 10px; padding: 11px 16px; margin-bottom: 18px; font-size: 14px; }
.expire-alert a { color: #f87171; font-weight: 600; text-decoration: underline; }

/* upsell mensuel → trimestriel */
.upsell-banner { background: rgba(124,108,240,.08); border: 1px solid rgba(124,108,240,.2); border-radius: 10px; padding: 11px 16px; margin-top: 16px; font-size: 14px; color: var(--text); }
.upsell-banner a { color: #a78bfa; font-weight: 600; text-decoration: underline; }

/* actions rapides */
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.quick-actions a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 8px 13px; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.quick-actions a:hover { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.07); }

@media (max-width: 480px) {
  .prof-avatar { width: 66px; height: 66px; }
  .prof-info h3 { font-size: 17px; }
  .quick-actions a { font-size: 12px; padding: 7px 10px; }
}

/* page support */
.support-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 60px; }
.support-channel { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .15s; }
.support-channel:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.sc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.sc-icon.discord { background: rgba(88,101,242,.15); color: #5865F2; }
.sc-icon.mail { background: rgba(124,108,240,.12); color: #a78bfa; }
.support-channel h3 { margin: 0 0 4px; font-size: 16px; }
.support-channel p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.sc-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.sc-badge.green { background: rgba(74,222,128,.12); color: #4ade80; }
.sc-badge.muted { background: rgba(255,255,255,.06); color: var(--muted); }
.sc-arrow { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; stroke: var(--muted); }
@media (max-width: 600px) { .support-channels { grid-template-columns: 1fr; } }

/* formulaire contact */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field label { font-size: 14px; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; }
.cf-counter { font-weight: 400; color: var(--muted); font-size: 13px; }
.cf-field input, .cf-field select, .cf-field textarea {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 15px; padding: 11px 14px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--brand1); box-shadow: 0 0 0 3px rgba(124,108,240,.15);
}
.cf-field select option { background: #1a1d2e; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }

/* spinner bouton */
@keyframes spin { to { transform: rotate(360deg); } }

/* page download */
.download-steps { display: grid; gap: 20px; max-width: 580px; margin: 0 auto 40px; }
.dl-step { display: flex; align-items: flex-start; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.dl-step .dl-n { min-width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0; }
.dl-step h4 { margin: 0 0 4px; font-size: 15px; }
.dl-step p { margin: 0; color: var(--muted); font-size: 14px; }
