/* subpages.css — roadmap / changelog / docs / blog / about. Loaded after lume.css. */

body.sub { background: var(--bg); color: var(--ink); }
.nav-logo-link svg { height: 30px; width: auto; display: block; }
.subnav { background: rgba(16,15,20,.82) !important; -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); }
.foot .fl svg { height: 22px; width: auto; display: block; }

.subpage-main { padding-top: calc(var(--announce-h, 0px) + 96px); min-height: 70vh; }

/* page header */
.page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .ph-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(70% 120% at 80% -10%, rgba(142,91,192,.18), transparent 55%),
  radial-gradient(50% 100% at 10% 0%, rgba(244,161,42,.08), transparent 50%); }
.page-head h1 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 68px); letter-spacing: -.03em; margin: 18px 0 0; }
.page-head h1 em { font-style: normal; color: var(--amber); }
.page-head .lead { color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 56ch; margin-top: 20px; }

/* ---------- roadmap board ---------- */
.rm-filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.rm-filter { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft);
  background: rgba(154,146,236,.06); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: .15s; }
.rm-filter:hover { border-color: var(--line-strong); color: var(--ink); }
.rm-filter.on { background: rgba(244,161,42,.14); border-color: rgba(244,161,42,.4); color: var(--amber-lift); }

.rm-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.rm-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rm-col-head .orb { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.rm-col.now .orb { background: radial-gradient(circle at 65% 65%, #FBD884, #F4A12A 60%, #E8731A); }
.rm-col.next .orb { background: radial-gradient(circle at 65% 65%, #FBD884 0%, #F4A12A 30%, #8E5BC0 75%); }
.rm-col.later .orb { background: linear-gradient(150deg, #6E64C8, #2E2966); }
.rm-col-head h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: -.01em; }
.rm-col-head .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-left: auto; }

.rm-card { background: var(--bg-1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px; margin-bottom: 14px; transition: box-shadow .2s, transform .2s; }
.rm-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.rm-card .tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-lift); background: rgba(154,146,236,.12); padding: 3px 9px; border-radius: 6px; margin-bottom: 12px; }
.rm-card h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.2; margin-bottom: 8px; }
.rm-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.rm-card .foot { display: flex; align-items: center; margin-top: 16px; }
.vote-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(154,146,236,.06); border: 1px solid var(--line);
  border-radius: 10px; padding: 7px 13px; color: var(--ink-soft); font-family: var(--font-mono); font-size: 13px; cursor: pointer; transition: .15s; }
.vote-btn:hover { border-color: rgba(244,161,42,.4); color: var(--amber-lift); }
.vote-btn.voted { background: rgba(244,161,42,.14); border-color: rgba(244,161,42,.4); color: var(--amber-lift); }
.vote-btn .tri { font-size: 11px; }
.rm-empty { color: var(--ink-faint); font-size: 14px; padding: 24px 0; }
@media (max-width: 820px) { .rm-board { grid-template-columns: 1fr; } }

/* ---------- roadmap view toggle ---------- */
.rm-views { display: inline-flex; background: rgba(154,146,236,.07); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-left: auto; }
.rm-views button { appearance: none; border: 0; background: none; color: var(--ink-mute); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: .15s; }
.rm-views button.on { background: rgba(244,161,42,.16); color: var(--amber-lift); }
.rm-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.rm-bar .rm-filters { margin-bottom: 0; }

/* ---------- fresque (horizontal timeline) ---------- */
.fresque-scroll { overflow-x: auto; overflow-y: hidden; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 12px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(154,146,236,.3) transparent; }
.fresque-scroll::-webkit-scrollbar { height: 8px; }
.fresque-scroll::-webkit-scrollbar-thumb { background: rgba(154,146,236,.25); border-radius: 4px; }
.fresque { position: relative; display: flex; align-items: center; gap: 30px; min-width: min-content; padding: 230px 8px; }
.fresque .beam { position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  background: var(--travel); border-radius: 3px; box-shadow: 0 0 22px rgba(244,161,42,.35); }
.fresque .beam::after { content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: #473FA2; box-shadow: 0 0 14px rgba(110,100,200,.8); }

.fnode { position: relative; flex: none; width: 252px; height: 0; }
.fnode .dot { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); box-shadow: 0 0 0 3px var(--amber), 0 0 16px rgba(244,161,42,.6); z-index: 2; }
.fnode .stem { position: absolute; left: 50%; width: 2px; background: var(--line-strong); transform: translateX(-50%); z-index: 1; }
.fnode.up .stem { bottom: 0; height: 40px; }
.fnode.down .stem { top: 0; height: 40px; }
.fnode .fcard { position: absolute; left: 0; width: 100%; background: var(--bg-1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px; transition: transform .2s, box-shadow .2s; }
.fnode .fcard:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.fnode.up .fcard { bottom: 40px; }
.fnode.down .fcard { top: 40px; }
.fnode .fcard .tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--indigo-lift); background: rgba(154,146,236,.12); padding: 2px 8px; border-radius: 5px; margin-bottom: 9px; }
.fnode .fcard h3 { font-family: var(--font-display); font-size: 15.5px; line-height: 1.18; margin-bottom: 12px; }
.fnode .fcard .vote-btn { padding: 5px 11px; font-size: 12px; }

/* station = phase marker on the beam */
.fstation { position: relative; flex: none; width: 64px; height: 0; }
.fstation .orb { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; z-index: 3; box-shadow: 0 0 30px -4px rgba(244,161,42,.5); }
.fstation.now .orb { background: radial-gradient(circle at 64% 64%, #FBD884, #F4A12A 60%, #E8731A); }
.fstation.next .orb { background: radial-gradient(circle at 64% 64%, #FBD884 0%, #F4A12A 28%, #8E5BC0 78%); }
.fstation.later .orb { background: linear-gradient(150deg, #6E64C8, #2E2966); box-shadow: 0 0 30px -4px rgba(110,100,200,.55); }
.fstation .slabel { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.fstation .slabel.top { top: 0; margin-top: -92px; }
.fstation .slabel .ph { font-family: var(--font-display); font-size: 17px; }
.fstation .slabel .pn { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.fresque-hint { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
@media (max-width: 760px) { .fnode { width: 210px; } }

/* ---------- changelog ---------- */
.cl-list { max-width: 760px; }
.cl-entry { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding-block: 30px; border-top: 1px solid var(--line); }
.cl-entry:first-child { border-top: 0; }
.cl-meta .ver { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.cl-meta .date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.cl-meta .ctag { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.ctag.feature { background: rgba(244,161,42,.14); color: var(--amber-lift); }
.ctag.fix { background: rgba(154,146,236,.16); color: var(--indigo-lift); }
.ctag.beta { background: rgba(91,201,138,.14); color: #5BC98A; }
.ctag.perf { background: rgba(224,86,107,.14); color: #E0566B; }
.cl-body h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 14px; }
.cl-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.cl-body li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 15px; }
.cl-body li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: 8px; flex: none; }
@media (max-width: 640px) { .cl-entry { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- docs ---------- */
.docs-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.docs-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 4px; }
.docs-side a { color: var(--ink-mute); font-size: 14.5px; padding: 7px 12px; border-radius: 8px; transition: .15s; }
.docs-side a:hover, .docs-side a.on { background: rgba(154,146,236,.08); color: var(--ink); }
.docs-side .dgrp { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); padding: 16px 12px 6px; }
.docs-body { max-width: 660px; }
.docs-body h2 { font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; margin: 8px 0 14px; scroll-margin-top: 120px; }
.docs-body h3 { font-family: var(--font-display); font-size: 19px; margin: 32px 0 10px; }
.docs-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.docs-body pre { background: #0c0b10; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-soft); margin: 16px 0; }
.docs-body code { font-family: var(--font-mono); color: var(--amber-lift); }
.docs-body pre code { color: var(--ink-soft); }
.callout { background: rgba(154,146,236,.07); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 14px 18px; margin: 18px 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .docs-grid { grid-template-columns: 1fr; } .docs-side { position: static; flex-direction: row; flex-wrap: wrap; } .docs-side .dgrp { display: none; } }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post { background: var(--bg-1); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.post .thumb { aspect-ratio: 16/9; background:
  repeating-linear-gradient(135deg, rgba(154,146,236,.08) 0 12px, rgba(154,146,236,.03) 12px 24px), var(--bg-2); display: grid; place-items: center; position: relative; }
.post .thumb .glyph { width: 56px; height: 56px; border-radius: 50%; }
.post .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: .04em; }
.post h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.18; }
.post p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.post .more { margin-top: auto; color: var(--amber); font-weight: 600; font-size: 14px; }
/* Carte « à venir » : pas encore un article publié -> ni curseur main, ni effet
   de survol qui soulève (ne pas faire croire que c'est cliquable). Badge atténué. */
.post.soon { cursor: default; }
.post.soon:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
.post.soon .more { color: var(--ink-mute); font-weight: 600; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- compare.html (comparatif détaillé) ---------- */
/* Réutilise .ctable de lume.css ; ici on densifie + on affiche la nuance vérifiée
   sous chaque verdict (la .ctable de base reste celle de la landing). */
.ctable.cmp-full { min-width: 880px; }
.ctable.cmp-full td { vertical-align: top; }
.ctable.cmp-full td .cmp-note {
  display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.4;
  color: var(--ink-mute); max-width: 24ch; margin-inline: auto;
  font-family: var(--font-body); font-weight: 400; text-align: center;
}
.ctable.cmp-full td.lume .cmp-note { color: var(--ink-soft); }
.cmp-concede {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(244,161,42,.08); border: 1px solid rgba(244,161,42,.24);
  border-radius: 14px; padding: 16px 20px; margin-top: 28px;
  color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 70ch;
}
.cmp-concede-pip { width: 8px; height: 8px; border-radius: 50%; flex: none;
  margin-top: 7px; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.cmp-foot { margin-top: 22px; color: var(--ink-mute); font-size: 13px;
  font-family: var(--font-mono); max-width: 80ch; line-height: 1.6; }
/* Verdict « en cours de conception » (roadmap Lume) : pastille ambre, pas un ✗. */
.cmp-soon { display: inline-block; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--amber);
  background: rgba(244,161,42,.12); border: 1px solid rgba(244,161,42,.34);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap; font-weight: 600; }
.ctable.cmp-full td.lume .cmp-soon { color: var(--amber-lift); }

/* ---------- about ---------- */
.about-narr { max-width: 720px; }
.about-narr p { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; margin-bottom: 22px; }
.about-narr p strong { color: var(--ink); font-weight: 600; }
.about-narr .big { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin-bottom: 28px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.trio .who { background: var(--bg-1); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.trio .who .orb { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; }
.trio .who h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.trio .who .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.trio .who p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* ---------- forms (beta request / redeem / privacy) ---------- */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-card { background: var(--bg-1); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 40px); }
.scarcity { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; color: var(--amber-lift);
  background: rgba(244,161,42,.1); border: 1px solid rgba(244,161,42,.28); border-radius: 999px; padding: 7px 14px; margin-bottom: 24px; }
.scarcity .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.ff { margin-bottom: 16px; }
.ff > label { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 7px; font-weight: 500; }
.ff > label .req { color: var(--amber); }
.ff > label .opt { color: var(--ink-faint); font-weight: 400; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.finput { width: 100%; background: rgba(154,146,236,.05); color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 11px; padding: 13px 15px; font-size: 15px; font-family: var(--font-body); transition: border-color .15s, box-shadow .15s; }
.finput::placeholder { color: var(--ink-faint); }
.finput:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244,161,42,.16); }
textarea.finput { min-height: 76px; resize: vertical; line-height: 1.5; }
/* Le popup natif d'un <select> ne suit pas le theme : les <option> heritaient
   d'un texte clair sur le fond clair par defaut du systeme = illisible. On
   force un fond sombre + texte clair sur les options. */
select.finput { color: var(--ink); }
.finput option { background: #17151f; color: #ECEAF6; }
.fhint { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 6px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--amber); }
.consent label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.consent a { color: var(--amber); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 20px; }
.form-err { color: #E0566B; font-size: 13.5px; margin-top: 10px; min-height: 1px; }
.form-alt { text-align: center; color: var(--ink-mute); font-size: 14px; margin-top: 22px; }
.form-alt a { color: var(--amber-lift); }

/* success / code states */
.success-card { text-align: center; }
.success-card .big-ecl { width: 64px; height: 64px; margin: 0 auto 22px; }
.success-card .big-ecl svg { width: 100%; height: 100%; display: block; }
.success-card h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.success-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 46ch; margin: 0 auto 10px; }
.discord-cta { display: inline-flex; align-items: center; gap: 10px; background: #5865F2; color: #fff; font-weight: 700;
  border-radius: 12px; padding: 13px 22px; margin-top: 18px; }
.discord-cta:hover { filter: brightness(1.08); }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0c0b10;
  border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-family: var(--font-mono); }
.code-box .code { font-size: 18px; color: var(--amber-lift); letter-spacing: .04em; }
.plan-badge { display: inline-block; font-family: var(--font-mono); font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.plan-badge.premium { background: var(--travel); color: #1a1206; font-weight: 700; }

/* privacy / legal prose */
.legal { max-width: 720px; }
.legal h2 { font-family: var(--font-display); font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 18px; margin: 8px 0; }
.legal .upd { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-mute); }
