/* ============================================================================
 * Site public Bickas — accueil, boutique, documentation, changelog, roadmap, support.
 * Complète style.css (mêmes variables de thème).
 * ========================================================================== */
body { min-height: 100vh; display: flex; flex-direction: column; }
#site { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.st-main { flex: 1; }
.st-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; width: 100%; }
.st-narrow { max-width: 820px; }

/* ---------------------------------------------------------------- bandeau + navigation */
.st-banner {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b) 60%, var(--pink));
  color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; padding: 9px 14px; letter-spacing: -.01em;
}
.st-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.st-nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.st-nav .st-wrap { display: flex; align-items: center; gap: 8px; height: 66px; }
.st-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--head); margin-right: 16px; letter-spacing: -.03em; }
.st-brand img { width: 34px; height: 34px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line2), 0 8px 22px -10px rgba(139, 92, 246, .9); }
.st-links { display: flex; gap: 2px; flex: 1; }
.st-links a { position: relative; padding: 8px 13px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color .15s, background .15s; }
.st-links a:hover { color: var(--head); background: rgba(255, 255, 255, .05); }
.st-links a.active { color: var(--head); background: rgba(139, 92, 246, .16); }
.st-nav .burger { display: none; }
@media (max-width: 960px) {
  .st-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--bg2); padding: 12px; border-bottom: 1px solid var(--line2); box-shadow: var(--sh-3);
  }
  .st-links.open { display: flex; animation: pop .16s; }
  .st-nav .burger { display: inline-flex; }
  .st-nav .hide-sm { display: none; }
}
[data-theme="light"] .st-nav { background: rgba(255, 255, 255, .82); }
[data-theme="light"] .st-brand { color: var(--head); }

/* ---------------------------------------------------------------- accueil : héros */
.st-hero { position: relative; overflow: hidden; padding: 92px 0 70px; }
.st-hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 760px;
  background:
    radial-gradient(42% 46% at 22% 28%, rgba(139, 92, 246, .42), transparent 70%),
    radial-gradient(38% 42% at 78% 18%, rgba(34, 211, 238, .22), transparent 70%),
    radial-gradient(44% 46% at 60% 76%, rgba(236, 72, 153, .22), transparent 70%);
  filter: blur(14px); pointer-events: none;
}
.st-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.st-hero .st-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.st-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px;
  background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .38);
  color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.st-hero h1 {
  font-size: clamp(38px, 5.6vw, 66px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02;
  background: linear-gradient(170deg, #fff 10%, #ddd6fe 55%, var(--primary) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.st-hero p { font-size: clamp(16px, 1.7vw, 19px); color: #c7cbe0; margin: 20px 0 30px; max-width: 560px; line-height: 1.6; }
.st-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.st-stats { display: flex; gap: clamp(22px, 5vw, 58px); margin-top: 42px; flex-wrap: wrap; }
.st-stats b { display: block; font-size: 31px; font-weight: 900; letter-spacing: -.035em; color: var(--head); font-variant-numeric: tabular-nums; }
.st-stats span { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
[data-theme="light"] .st-hero h1 { background: linear-gradient(170deg, #15132e, #6d3fe0 90%); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"] .st-hero p { color: #4a5272; }
@media (max-width: 960px) { .st-hero .st-wrap { grid-template-columns: 1fr; } .st-hero { padding: 54px 0 48px; } }

/* fausse fenêtre de dashboard (décor) */
.st-mock {
  border: 1px solid var(--line2); border-radius: var(--r-lg); background: var(--panel);
  box-shadow: 0 40px 90px -30px rgba(80, 30, 160, .55), 0 0 0 1px rgba(139, 92, 246, .14);
  overflow: hidden; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-10px); } }
.st-mock .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.st-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.st-mock .bar i:first-child { background: #fb7185; } .st-mock .bar i:nth-child(2) { background: #fbbf24; } .st-mock .bar i:nth-child(3) { background: #34d399; }
.st-mock .body { display: grid; grid-template-columns: 124px 1fr; min-height: 310px; }
.st-mock .side { border-right: 1px solid var(--line); padding: 14px 11px; display: flex; flex-direction: column; gap: 7px; }
.st-mock .side span { height: 10px; border-radius: 6px; background: var(--line); }
.st-mock .side span.on { background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); box-shadow: 0 0 14px -2px var(--primary); }
.st-mock .grid { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.st-mock .tile { border: 1px solid var(--line); border-radius: 13px; padding: 12px; background: var(--panel2); }
.st-mock .tile b { font-size: 20px; display: block; margin-bottom: 6px; }
.st-mock .tile span { display: block; height: 7px; border-radius: 5px; background: var(--line2); margin-top: 6px; }
.st-mock .tile em { display: inline-block; font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 20px; background: rgba(52, 211, 153, .14); color: #6ee7b7; margin-top: 9px; font-weight: 600; }

/* ---------------------------------------------------------------- sections */
.st-section { padding: 60px 0; }
.st-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; }
.st-block.flip .st-visual { order: -1; }
.st-block h2 { font-size: clamp(25px, 3.3vw, 35px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.st-block p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; line-height: 1.65; }
.st-block ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.st-block li { display: flex; gap: 10px; color: #d3d6e8; font-size: 15px; }
.st-block li::before { content: '✓'; color: var(--ok); font-weight: 800; flex: none; }
[data-theme="light"] .st-block li { color: #3a4064; }
.st-visual {
  aspect-ratio: 16 / 11; border-radius: var(--r-lg); border: 1px solid var(--line2);
  display: grid; place-items: center; font-size: clamp(60px, 9vw, 108px); position: relative; overflow: hidden;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 28% 18%, rgba(168, 85, 247, .42), transparent 62%),
    radial-gradient(circle at 82% 88%, rgba(34, 211, 238, .3), transparent 58%),
    var(--panel);
  box-shadow: var(--sh-2);
}
.st-visual::after { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(255, 255, 255, .13); border-radius: 16px; pointer-events: none; }
.st-visual:has(.ill-img) { background: var(--panel); padding: 0; }
.st-visual:has(.ill-img)::after { inset: 0; border: 0; box-shadow: inset 0 0 70px 20px rgba(7, 8, 14, .55); border-radius: inherit; }
@media (max-width: 880px) { .st-block { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; } .st-block.flip .st-visual { order: 0; } }

.st-title { text-align: center; font-size: clamp(27px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.st-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 12px auto 34px; font-size: 16px; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.st-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--panel); box-shadow: var(--sh-1); transition: .18s; }
.st-card h3 { font-size: 16.5px; margin: 6px 0; letter-spacing: -.02em; }
.st-card p { margin: 0; color: var(--muted); font-size: 14px; }
a.st-card:hover { border-color: rgba(139, 92, 246, .5); box-shadow: var(--glow); transform: translateY(-3px); }

.st-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 10px; overflow: hidden; }
.st-faq summary { padding: 16px 18px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; color: var(--head); }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after { content: '+'; color: var(--primary2); font-size: 21px; line-height: 1; transition: transform .2s; }
.st-faq details[open] summary::after { content: '−'; }
.st-faq details p { margin: 0; padding: 0 18px 17px; color: var(--muted); animation: fade .2s; }

.st-band {
  margin: 56px 0 0; padding: 62px 20px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #4c1d95, var(--grad-a) 35%, #c026d3 75%, var(--pink));
}
.st-band::after { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 420px; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); pointer-events: none; }
.st-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 20px; position: relative; }
.st-band .st-cta { position: relative; }
.st-band .btn { background: #fff; color: #4c1d95; border-color: #fff; }

/* ---------------------------------------------------------------- pied de page */
.st-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 50px 0 30px; }
.st-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.st-footer h4 { margin: 0 0 13px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.st-footer a { display: block; color: #c3c8dc; padding: 4px 0; font-size: 14.5px; }
.st-footer a:hover { color: var(--head); }
.st-footer .copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
[data-theme="light"] .st-footer a { color: #4a5272; }
@media (max-width: 760px) { .st-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- pages intérieures */
.st-page { padding: 58px 0 36px; }
.st-page > .st-wrap > header { text-align: center; margin-bottom: 38px; }
/* en-tête illustré d'une page intérieure */
.st-page > .st-wrap > header.art { position: relative; padding: 118px 20px 10px; margin-bottom: 30px; }
.st-pagehero {
  position: absolute; left: 50%; top: -24px; transform: translateX(-50%);
  width: min(1180px, 100vw - 24px); height: 290px; border-radius: var(--r-lg);
  background-position: center 42%; background-size: cover; opacity: .85; z-index: -1;
  mask-image: linear-gradient(#000 20%, rgba(0, 0, 0, .35) 62%, transparent 92%);
  -webkit-mask-image: linear-gradient(#000 20%, rgba(0, 0, 0, .35) 62%, transparent 92%);
}
.st-page > .st-wrap > header.art h1 { text-shadow: 0 6px 30px rgba(5, 6, 14, .9); }
.st-page > .st-wrap > header.art p { text-shadow: 0 2px 14px rgba(5, 6, 14, .9); }
[data-theme="light"] .st-pagehero { opacity: .75; mask-image: linear-gradient(#000 12%, rgba(0, 0, 0, .25) 55%, transparent 88%); -webkit-mask-image: linear-gradient(#000 12%, rgba(0, 0, 0, .25) 55%, transparent 88%); }
[data-theme="light"] .st-page > .st-wrap > header.art h1,
[data-theme="light"] .st-page > .st-wrap > header.art p { text-shadow: none; }
@media (max-width: 760px) { .st-page > .st-wrap > header.art { padding-top: 86px; } .st-pagehero { height: 220px; } }
.st-page h1 { font-size: clamp(29px, 4.4vw, 45px); font-weight: 900; letter-spacing: -.04em; }
.st-page header p { color: var(--muted); max-width: 640px; margin: 12px auto 0; font-size: 16.5px; }

/* boutique */
.st-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; margin-bottom: 40px; }
.st-plans:has(.st-planbox) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
div.st-plan {
  border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 30px 24px; background: var(--panel);
  display: flex; flex-direction: column; position: relative; box-shadow: var(--sh-1); transition: .18s;
}
div.st-plan:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
div.st-plan.best { border-color: var(--primary); box-shadow: var(--glow); }
div.st-plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
div.st-plan h3 { font-size: 19px; }
div.st-plan .price { font-size: 42px; font-weight: 900; margin: 16px 0 2px; letter-spacing: -.045em; color: var(--head); }
div.st-plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
div.st-plan p { color: var(--muted); margin: 0 0 22px; flex: 1; font-size: 14.5px; }
.st-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.st-table th, .st-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table th { background: var(--panel2); color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.st-table td.vip { color: #fde68a; font-weight: 700; }
[data-theme="light"] .st-table td.vip { color: #92610a; }
.st-perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 14px; }
.st-perk { display: flex; gap: 11px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); font-size: 14px; }
.st-perk small { display: block; color: var(--muted); margin-top: 3px; }

/* documentation */
.st-docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 190px; gap: 34px; padding: 36px 22px 64px; max-width: 1340px; margin: 0 auto; width: 100%; align-items: start; }
.st-docs nav.side { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow: auto; padding: 0 6px 0 0; border: 0; background: none; height: auto; }
.st-docs nav.side h5 { margin: 18px 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.st-docs nav.side a { display: flex; gap: 8px; padding: 6px 11px; border-radius: var(--r-xs); color: #c3c8dc; font-size: 14.3px; margin: 0; }
.st-docs nav.side a:hover { background: rgba(139, 92, 246, .1); color: var(--head); }
.st-docs nav.side a.active { background: rgba(139, 92, 246, .2); color: var(--head); font-weight: 650; }
.st-docs nav.side a.active::before { display: none; }
.st-docs aside.toc { position: sticky; top: 86px; font-size: 13.5px; }
.st-docs aside.toc h5 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.st-docs aside.toc a { display: block; padding: 4px 0 4px 13px; color: var(--muted); border-left: 2px solid var(--line); }
.st-docs aside.toc a:hover { color: var(--head); border-color: var(--primary); }
.st-docs code { font-family: var(--mono); }
.st-docsart {
  height: 190px; border-radius: var(--radius); background-size: cover; background-position: center 45%;
  margin: 0 0 26px; border: 1px solid var(--line2); box-shadow: var(--sh-2);
}
@media (max-width: 760px) { .st-docsart { height: 130px; } }
@media (max-width: 1140px) { .st-docs { grid-template-columns: 230px minmax(0, 1fr); } .st-docs aside.toc { display: none; } }
@media (max-width: 820px) { .st-docs { grid-template-columns: 1fr; } .st-docs nav.side { position: static; max-height: none; } }
[data-theme="light"] .st-docs nav.side a { color: #4a5272; }

/* référence des commandes */
.st-cmd { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 17px 19px; margin-bottom: 12px; }
.st-cmd h3 { font-size: 16.5px; font-family: var(--mono); color: #e4dcff; letter-spacing: -.01em; }
.st-cmd .desc { color: var(--muted); margin: 4px 0 9px; font-size: 14px; }
.st-cmd .sub { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.st-cmd .sub code { font-size: 13px; }
[data-theme="light"] .st-cmd h3 { color: #4c1d95; }
.st-opt { display: inline-block; margin: 3px 4px 0 0; padding: 1px 9px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line2); font-size: 12px; color: var(--muted); }
.st-opt.req { border-color: rgba(251, 113, 133, .5); color: #fda4af; }

/* changelog */
.st-timeline { position: relative; padding-left: 28px; }
.st-timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--line2) 60%, transparent); }
.st-entry { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 22px 24px; margin-bottom: 18px; scroll-margin-top: 92px; box-shadow: var(--sh-1); }
.st-entry::before { content: ''; position: absolute; left: -28px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--primary), 0 0 16px var(--primary); }
.st-entry > h2 { font-size: clamp(21px, 3vw, 26px); letter-spacing: -.03em; margin: 8px 0 14px; }
.st-entry .md h2 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary2); margin: 22px 0 8px; }
.st-entry .md ul { margin-bottom: 8px; }
.st-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; margin-right: 6px; }
.st-tag.new { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
.st-tag.improved { background: rgba(96, 165, 250, .15); color: #93c5fd; }
.st-tag.fixed { background: rgba(251, 191, 36, .15); color: var(--gold); }
.st-tag.removed { background: rgba(251, 113, 133, .15); color: #fda4af; }
.st-tag.security { background: rgba(168, 85, 247, .2); color: #d8b4fe; }
.st-sub-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; margin: 0 auto 32px; }
.st-sub-form input { flex: 1; min-width: 200px; }

/* roadmap */
.st-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.st-col { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); padding: 14px; }
.st-col h3 { font-size: 14px; display: flex; justify-content: space-between; margin-bottom: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.st-col .item { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); padding: 13px 14px; margin-bottom: 10px; }
.st-col .item b { display: block; font-size: 14.5px; color: var(--head); }
.st-col .item p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.st-col .item .cat { font-size: 11.5px; color: var(--primary2); }
.st-col .item.click { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .15s, transform .15s; }
.st-col .item.click:hover, .st-col .item.click:focus-visible { border-color: var(--primary2); transform: translateY(-2px); outline: none; }
.st-col .item .more { display: inline-block; margin-top: 9px; font-size: 12px; color: var(--primary2); font-weight: 600; }
@media (max-width: 1000px) { .st-board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .st-board { grid-template-columns: 1fr; } }

.st-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 20px; }
.st-search { flex: 0 1 280px; min-width: 200px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; cursor: pointer; font-weight: 600; transition: .14s; }
.st-chip:hover { border-color: var(--line3); color: var(--text); }
.st-chip.on { border-color: var(--primary); background: rgba(139, 92, 246, .16); color: var(--head); }

span.st-plan { display: inline-block; padding: 1px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
span.st-plan.free { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
span.st-plan.vip { background: rgba(251, 191, 36, .16); color: var(--gold); }
span.st-plan.super { background: rgba(236, 72, 153, .18); color: #f9a8d4; }
.st-status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; background: rgba(139, 92, 246, .16); color: var(--primary2); }
.st-status.done { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
.st-status.doing { background: rgba(251, 191, 36, .15); color: var(--gold); }

/* fenêtre de détail (roadmap) */
.st-noscroll { overflow: hidden; }
.st-modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 14, .7); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 14px; overflow-y: auto; animation: fade .16s; }
.st-modal-box { width: 100%; max-width: 760px; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 22px 26px 26px; box-shadow: var(--sh-3); animation: pop .2s cubic-bezier(.2, 1.1, .4, 1); }
.st-modal-box h2 { font-size: clamp(20px, 3vw, 25px); margin: 12px 0 6px; }
.st-modal-box .lead { color: var(--muted); margin: 0 0 14px; }
.st-close { border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px 9px; border-radius: 9px; }
.st-close:hover { color: var(--text); background: var(--panel); }
.st-md h2, .st-sub { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary2); margin: 22px 0 8px; }
.st-planbox { border: 1px solid var(--line); border-radius: 13px; background: var(--panel); padding: 11px 13px; }
.st-planbox small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.st-planbox b { font-size: 14px; }
.st-planbox.off { opacity: .5; }
.st-planbox.free { border-color: rgba(52, 211, 153, .35); }
.st-planbox.vip { border-color: rgba(251, 191, 36, .35); }
.st-planbox.super { border-color: rgba(236, 72, 153, .4); }
@media (max-width: 560px) { .st-plans:has(.st-planbox) { grid-template-columns: 1fr; } .st-modal-box { padding: 18px 16px; } }

/* support */
.st-form { display: grid; gap: 15px; }
.st-form label { font-size: 12.5px; color: var(--muted); font-weight: 650; display: block; margin-bottom: 6px; }
.st-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .st-form .two { grid-template-columns: 1fr; } }
.st-form textarea { min-height: 160px; }
.st-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.st-thread { display: grid; gap: 12px; margin: 22px 0; }
.st-msg { max-width: 88%; padding: 14px 17px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); white-space: pre-wrap; word-break: break-word; }
.st-msg .who { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; font-weight: 650; }
.st-msg.staff { justify-self: end; background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .38); }

/* ---------------------------------------------------------------- apparition au défilement */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } .st-mock { animation: none; } }


/* ============================================================================
 * Décor 3D : scène du héros, pastilles flottantes, illustrations isométriques.
 * ========================================================================== */
.st-scene { position: relative; perspective: 1400px; perspective-origin: 60% 40%; }
.st-scene > * { will-change: transform; }
.st-orb { position: absolute; border-radius: 50%; filter: blur(42px); pointer-events: none; }
.st-orb.o1 { width: 280px; height: 280px; right: -40px; top: -60px; background: radial-gradient(closest-side, rgba(139, 92, 246, .75), transparent); }
.st-orb.o2 { width: 240px; height: 240px; left: -60px; bottom: -40px; background: radial-gradient(closest-side, rgba(34, 211, 238, .5), transparent); }

.st-pill {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 16px; background: color-mix(in srgb, var(--panel) 78%, transparent);
  border: 1px solid var(--line2); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 22px 45px -22px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: pillFloat 6s ease-in-out infinite; white-space: nowrap;
}
.st-pill .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; background: linear-gradient(145deg, rgba(139, 92, 246, .4), rgba(34, 211, 238, .16)); border: 1px solid var(--line2); }
.st-pill b { display: block; font-size: 13.5px; color: var(--head); }
.st-pill span:not(.ico) { font-size: 11.5px; color: var(--muted); }
.st-pill.p1 { left: -34px; top: 54px; animation-delay: -1.5s; }
.st-pill.p2 { right: -26px; top: 42%; animation-delay: -3s; }
.st-pill.p3 { left: 6%; bottom: -22px; animation-delay: -4.5s; }
@keyframes pillFloat { 50% { transform: translateY(-12px); } }
@media (max-width: 1100px) { .st-pill.p1 { left: -10px; } .st-pill.p2 { right: -6px; } }
@media (max-width: 760px) { .st-pill { display: none; } }

/* illustrations isométriques */
.ill-box { width: 100%; height: 100%; display: grid; place-items: center; }
.ill-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.st-visual:hover .ill-img { transform: scale(1.04); }
.ill-box.ill-emoji { font-size: inherit; }
.ill { width: 92%; height: auto; overflow: visible; }
.ill-halo { animation: haloPulse 6s ease-in-out infinite; transform-origin: center; }
.ill-float { animation: illFloat 5.5s ease-in-out infinite; transform-origin: center; }
.ill-orbit { animation: illOrbit 9s ease-in-out infinite; transform-origin: 210px 160px; }
.ill-wave path { animation: waveFade 2.6s ease-in-out infinite; }
.ill-wave path:nth-child(2), .ill-wave path:nth-child(4) { animation-delay: .5s; }
.ill-dash { animation: dashMove 1.6s linear infinite; }
.ill-draw { stroke-dashoffset: 300; animation: drawLine 2.4s ease-out forwards; }
@keyframes illFloat { 50% { transform: translateY(-11px); } }
@keyframes illOrbit { 50% { transform: rotate(6deg) translateY(-7px); } }
@keyframes haloPulse { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes waveFade { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes dashMove { to { stroke-dashoffset: -36; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* cartes inclinables */
.tiltable { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .2s; transform-style: preserve-3d; }
.tiltable:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), var(--glow); }
a.st-card.tiltable:hover { transform: perspective(900px) translateY(-3px); }
.st-card.tiltable::after, div.st-plan.tiltable::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 70%);
}
.st-card, div.st-plan { position: relative; }
.st-card.tiltable:hover::after, div.st-plan.tiltable:hover::after { opacity: 1; }

/* barre de navigation compacte au défilement */
.st-nav { transition: height .2s, box-shadow .2s, background .2s; }
.st-nav.shrink { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9); }
.st-nav.shrink .st-wrap { height: 56px; }
.st-nav .st-wrap { transition: height .2s; }

/* grain discret sur tout le site */
#site::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .3; mix-blend-mode: overlay;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
[data-theme="light"] #site::after { opacity: .18; }
@media (prefers-reduced-motion: reduce) {
  .ill-float, .ill-orbit, .ill-halo, .ill-wave path, .ill-dash, .st-pill { animation: none; }
  .ill-draw { stroke-dashoffset: 0; animation: none; }
}
