/* B·SET – socle commun du site b-set.app (vitrine + pages légales)
   Identité : Unbounded (titres), Inter (texte), JetBrains Mono (chiffres, timecodes),
   fond nuit #07060A, dégradé de marque orange → rose → violet, accent lilas.
   Contient : polices, couleurs, base, typo, boutons, en-tête, pied de page. */

@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url("/fonts/unbounded-500.woff") format("woff"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url("/fonts/unbounded-600.woff") format("woff"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url("/fonts/unbounded-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/fonts/jetbrainsmono-500.woff") format("woff"); }

:root {
  --bg: #07060A;
  --surface: #121018;
  --surface-2: #1A1722;
  --line: #2C2836;
  --text: #F4F1EA;
  --soft: #C8C3CF;
  --muted: #8D8799;
  --lilac: #C9ADDF;
  --amber: #FFA01C;
  --orange: #FF6A3D;
  --pink: #FF2EA6;
  --violet: #7A2FF0;
  --rec: #FF3B3B;
  --live: #3DDC84;
  --grad: linear-gradient(90deg, var(--amber), var(--orange) 30%, var(--pink) 62%, var(--violet));
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 12px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--lilac);
  margin: 0;
}
.eyebrow.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(34px, 7.4vw, 72px); line-height: 1.02; letter-spacing: -.005em; }
h2 { font-weight: 600; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: .02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--soft); max-width: 36em; margin: 0; }
.lead strong { color: var(--text); font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; color: var(--text); cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
  transition: box-shadow .2s, transform .2s;
}
.btn-primary {
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
  box-shadow: 0 0 24px rgba(255, 46, 136, .4);
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(255, 46, 136, .6); transform: translateY(-1px); }
.btn-ghost { color: var(--muted); padding: 0 8px; min-height: 54px; }
.btn-ghost:hover { color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: rgba(7, 6, 10, .9); z-index: 30; }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(7, 6, 10, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; }
.logo b { font: 700 21px/1 var(--display); letter-spacing: .04em; }
.logo span { font: 600 11px/1 var(--display); letter-spacing: .12em; color: var(--lilac); }
.nav { display: none; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--soft); }
.nav a:hover { color: var(--text); }
.site-head .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (min-width: 900px) { .nav { display: flex; } }

.site-head .head-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch a, .lang-switch span { padding: 6px 7px; text-decoration: none; color: var(--muted); }
.lang-switch span[aria-current] { color: var(--text); }
.lang-switch a:hover { color: var(--text); }
@media (max-width: 420px) { .site-head .btn { padding: 0 14px; } }
.head-link { font-size: 14px; color: var(--soft); text-decoration: none; white-space: nowrap; }
.head-link:hover, .head-link[aria-current] { color: var(--text); }
.nav a[aria-current] { color: var(--text); }
@media (max-width: 560px) { .head-link { font-size: 13px; } .site-head .head-right { gap: 10px; } }
@media (max-width: 359px) { .head-link { display: none; } }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px;
  border-radius: 16px; background: var(--text); color: var(--bg); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255, 46, 166, .25); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 11px; font-weight: 500; }
.store-btn b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store-btn.pending { background: var(--surface); color: var(--text); border: 1px dashed var(--orange); }
.store-btn.soon { background: var(--surface); color: var(--soft); border: 1px solid var(--line); cursor: default; }

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--soft); transition: color .2s, border-color .2s;
}
.socials a:hover { color: var(--text); border-color: var(--lilac); }
.socials svg { width: 20px; height: 20px; }

/* Values still to fill in config/site.json */
.todo {
  color: #FFB59E; background: rgba(255, 106, 61, .12); border: 1px dashed var(--orange);
  border-radius: 8px; padding: 0 6px; font-family: var(--body); font-size: .92em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.foot-brand p { color: var(--soft); font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-title { font: 600 11px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: 0 0 4px; }
.foot-col a { text-decoration: none; color: var(--muted); }
.foot-col a:hover, .foot-col a[aria-current] { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-bottom a { color: var(--muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--text); }

/* Téléchargement : QR code (ordinateur) et liste d'attente hors France (site/home/pays.js) */
.only-desktop { display: none; }
@media (hover: hover) and (pointer: fine) { .only-desktop { display: flex; } }
.qr-dl { align-items: center; gap: 16px; margin: 14px 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.qr-dl img { width: 112px; height: 112px; border-radius: 8px; flex: none; }
.qr-dl p { margin: 0; font-size: 14px; color: var(--soft); }
.qr-dl b { color: var(--text); }
.waitlist { margin: 6px 0 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.waitlist-t { margin: 0 0 12px; color: var(--soft); }
.waitlist-t b { color: var(--text); }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 8px; }
.waitlist input { flex: 1 1 200px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #07060A; color: var(--text); font: inherit; }
.waitlist input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.waitlist-msg { margin: 8px 0 0; min-height: 1em; font-size: 13px; color: var(--soft); }
.waitlist-msg a { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
