/* ==========================================================================
   Circuit Court — feuille de style

   Direction « bleu de travail » : un seul bleu, celui des bleus de travail,
   porté de la tête aux pieds. Bandeaux bleu vif (accueil, contact),
   sections encre (vidéos, contenu), bande zinc claire pour les explications.
   Une seule famille, Archivo, poussée de l'élargi (titres) au normal (texte).

   Les pages d'applications gardent leur propre univers
   (.theme-frontline, .theme-bandstudio).
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Encre : un bleu nuit, pas un noir */
  --bg: #0c1230;
  --bg-2: #10173b;
  --surface: #141c46;
  --surface-2: #1b2452;
  --line: rgba(214, 222, 255, .11);
  --line-strong: rgba(214, 222, 255, .24);
  --text: #f3f5fc;
  --muted: #aab3d6;
  --faint: #7983b0;

  --blue: #2347e0;            /* bleu de travail */
  --blue-deep: #1636c4;
  --zinc: #e7e9ef;            /* tôle galvanisée */

  --accent: #b4c3ff;          /* liens et repères sur fond encre */
  --accent-2: #2347e0;
  --accent-ink: #ffffff;
  --accent-glow: rgba(35, 71, 224, .4);
  --gradient: linear-gradient(120deg, #2347e0, #2347e0);
  --btn-bg: #ffffff;
  --btn-fg: #1636c4;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display-weight: 800;
  --display-tracking: -.02em;
  --display-stretch: 116%;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --shadow: 0 30px 80px -30px rgba(3, 6, 25, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Bandeau bleu de travail */
.band--blue {
  --bg: #2347e0;
  --bg-2: #1f3fcc;
  --surface: rgba(255, 255, 255, .08);
  --surface-2: rgba(255, 255, 255, .14);
  --line: rgba(255, 255, 255, .22);
  --line-strong: rgba(255, 255, 255, .45);
  --text: #ffffff;
  --muted: #dde4ff;
  --faint: #b9c6ff;
  --accent: #ffffff;
  background-color: var(--bg);
  color: var(--text);
}
/* Bande zinc claire */
.band--zinc {
  color-scheme: light;
  --bg: #e7e9ef;
  --bg-2: #dde0e8;
  --surface: #f6f7fa;
  --surface-2: #ffffff;
  --line: rgba(12, 18, 48, .13);
  --line-strong: rgba(12, 18, 48, .28);
  --text: #0c1230;
  --muted: #464f75;
  --faint: #6a7297;
  --accent: #1f3fcc;
  --btn-bg: #2347e0;
  --btn-fg: #ffffff;
  background-color: var(--bg);
  color: var(--text);
}

/* Thème Frontline 2026 : les couleurs de l'interface du jeu (dépôt game, www/css/style.css) */
.theme-frontline {
  --bg: #0a0d12;
  --bg-2: #0d131b;
  --surface: #0e141c;
  --surface-2: #18202c;
  --line: rgba(140, 170, 200, .18);
  --line-strong: rgba(140, 170, 200, .36);
  --text: #e6edf5;
  --muted: #8fa3b8;
  --faint: #6a7d92;
  --accent: #f0b83c;
  --accent-2: #d99a1e;
  --accent-ink: #1a1406;
  --accent-glow: rgba(240, 184, 60, .3);
  --gradient: linear-gradient(180deg, #f3c14f, #d99a1e);
  --btn-bg: linear-gradient(180deg, #f3c14f, #d99a1e);
  --btn-fg: #1a1406;
  --deck-accent: #f0b83c;
  --font-display: "Roboto", "Segoe UI", system-ui, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, sans-serif;
  --display-weight: 900;
  --display-tracking: 0;
  --display-stretch: 100%;
  --radius: 8px;
  --radius-sm: 6px;
}

/* Thème Band Studio : les couleurs de l'appli (dépôt band, ui/theme/Theme.kt) :
   studio clair, bandeau « console » sombre, écran LCD, régions colorées */
.theme-bandstudio {
  color-scheme: light;
  --bg: #f4f6f9;
  --bg-2: #edf0f5;
  --surface: #ffffff;
  --surface-2: #e3e9f2;
  --line: #d9dee6;
  --line-strong: #aeb7c4;
  --text: #14181f;
  --muted: #475263;
  --faint: #677284;
  --accent: #0a5fc2;
  --accent-2: #0a5fc2;
  --accent-ink: #ffffff;
  --accent-glow: rgba(10, 95, 194, .3);
  --gradient: linear-gradient(120deg, #0a5fc2, #0a5fc2);
  --btn-bg: #0a5fc2;
  --btn-fg: #ffffff;
  --deck-accent: #6cc8f8;
  --font-display: "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -.015em;
  --display-stretch: 100%;
  --radius: 16px;
  --radius-sm: 12px;
}
/* le bandeau de navigation reprend la « console » de l'appli */
.theme-bandstudio .site-header, .bs-hero {
  color-scheme: dark;
  --bg: #151c2c;
  --text: #f2f5fa;
  --muted: #aab6cc;
  --faint: #8592ab;
  --line: rgba(242, 245, 250, .12);
  --line-strong: rgba(242, 245, 250, .3);
  --accent: #6cc8f8;
}
.theme-bandstudio .site-header { background: #151c2c; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose a, li a, dd a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
p a:hover, .prose a:hover, li a:hover, dd a:hover { text-decoration-color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #ffd23f; outline-offset: 3px; border-radius: 4px; }
::selection { background: #ffd23f; color: #0c1230; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--display-tracking);
  line-height: 1.05;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.25; font-stretch: 108%; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* Les mots mis en avant ne changent de couleur que dans l'univers des applis */
em.accent, .text-gradient { font-style: normal; }
.theme-frontline em.accent, .theme-bandstudio em.accent, .showcase em.accent {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.band--blue.section--alt, .band--zinc.section--alt { border: 0; }

/* Petite indication au-dessus d'un titre : discrète, en casse normale */
.eyebrow {
  display: block;
  font: 600 1rem/1.3 var(--font-body);
  color: var(--accent);
  margin-bottom: .9rem;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #ffd23f; color: #0c1230; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh); padding: 0 1.5em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 650 1rem/1 var(--font-body); font-stretch: 105%;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(3, 6, 25, .6); }
.btn--primary:active { transform: none; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { --bh: 58px; font-size: 1.05rem; padding: 0 1.8em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-bandstudio .btn, .theme-bandstudio .nav a { border-radius: 999px; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #ffffff; color: #2347e0; }
.brand__mark svg { width: 27px; height: 27px; }
.theme-frontline .brand__mark, .theme-bandstudio .brand__mark, .site-footer .brand__mark { background: #2347e0; color: #fff; }
.brand__text { display: grid; gap: 5px; }
.brand__text b { font: 800 1.02rem/1 var(--font-display); font-family: "Archivo", sans-serif; font-stretch: 125%; letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.brand__text small { font: 500 .78rem/1 "Archivo", sans-serif; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .97rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: currentColor; }
.nav .nav__cta { margin-left: 10px; color: var(--btn-fg); background: var(--btn-bg); font-weight: 650; }
.nav .nav__cta:hover { color: var(--btn-fg); }
.nav .nav__cta[aria-current="page"]::after { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: transparent; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--text); content: ""; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.08rem; }
  .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
  .nav .nav__cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Panneau perforé (fond des bandeaux bleus) ---------- */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pegboard {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(6, 14, 70, .42) 0 2.6px, transparent 3.2px);
  background-size: 30px 30px;
  background-position: 15px 15px;
}
.pegboard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); opacity: .55; }

/* ---------- Héros de l'accueil ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 9vw, 112px); }
.hero__title {
  font-size: clamp(2.5rem, 6.3vw, 5.7rem);
  font-stretch: 125%;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: none;
}
.hero__title span, .hero__title em { display: block; font-style: normal; }
.hero__title em { color: transparent; -webkit-text-stroke: clamp(1.5px, .22vw, 3px) #fff; }
@supports not (-webkit-text-stroke: 1px #fff) { .hero__title em { color: #fff; opacity: .7; } }
.hero .lead { color: var(--muted); margin-bottom: clamp(32px, 4vw, 44px); }

/* Une seule entrée orchestrée : les deux lignes du titre montent au chargement */
@keyframes rise { from { transform: translateY(.35em); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__title span, .hero__title em { animation: rise .9s var(--ease) both; }
.hero__title em { animation-delay: .18s; }

/* Les deux applis, présentées comme des étiquettes d'atelier */
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 18px; }
.tag-card {
  --cut: 22px;
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px 18px calc(var(--cut) + 30px);
  background: #ffffff; color: #0c1230;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, var(--cut) 100%, 0 50%);
  border-radius: 0 10px 10px 0;
  transition: transform .25s var(--ease);
  transform-origin: 0 50%;
}
.tag-card::before { /* œillet */
  content: ""; position: absolute; left: calc(var(--cut) - 2px); top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%;
  background: #2347e0; box-shadow: inset 0 0 0 3px #c9d3ff;
}
.tag-card:hover, .tag-card:focus-visible { transform: rotate(-2deg); }
.tag-card__icon { width: 50px; height: 50px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.tag-card__icon svg { width: 28px; height: 28px; }
.tag-card--frontline .tag-card__icon { background: #0a0d12; color: #f0b83c; border-radius: 8px; }
.tag-card--bandstudio .tag-card__icon { background: #1b1f27; border-radius: 12px; }
.tag-card--bandstudio .tag-card__icon svg { width: 46px; height: 46px; }
.tag-card strong { display: block; font: 800 1.15rem/1.15 "Archivo", sans-serif; font-stretch: 112%; }
.tag-card span span { display: block; color: #464f75; font-size: .95rem; margin-top: 3px; }
.hero__help { margin: 28px 0 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 720px) { .tags { grid-template-columns: minmax(0, 1fr); } }

/* ---------- En-tête des pages internes ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { color: var(--muted); }
.page-hero + .section { padding-top: clamp(56px, 7vw, 88px) !important; }

/* ---------- Lecteur vidéo ---------- */
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.player video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.player__controls {
  position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 8px; padding: 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.player:hover .player__controls, .player:focus-within .player__controls, .player.is-paused .player__controls, .player.show-controls .player__controls { opacity: 1; transform: none; }
.player__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); color: #fff; transition: background .2s;
}
.player__btn:hover { background: rgba(255, 255, 255, .3); }
.player__btn svg { width: 18px; height: 18px; }
.player__progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; cursor: pointer; }
.player__progress i { display: block; height: 100%; width: 0; background: #fff; }
.theme-frontline .player__progress i, .theme-bandstudio .player__progress i { background: var(--gradient); }
.player__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 7px 11px; border-radius: 6px; font: 600 .82rem/1 var(--font-body);
  background: rgba(0, 0, 0, .55); color: #fff;
}
.player__unmute {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 6px; border: 0;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: .85rem; font-weight: 600;
  transition: opacity .3s, background .2s;
}
.player__unmute svg { width: 16px; height: 16px; }
.player__unmute:hover { background: rgba(0, 0, 0, .75); }
.player.has-sound .player__unmute { opacity: 0; pointer-events: none; }
.icon-pause, .player.is-paused .icon-play { display: block; }
.icon-play, .player.is-paused .icon-pause { display: none; }
.icon-sound-on, .player.has-sound .icon-sound-off { display: none; }
.icon-sound-off, .player.has-sound .icon-sound-on { display: block; }

/* ---------- Vitrine d'applications (accueil) ---------- */
.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: clamp(88px, 11vw, 144px); }
.showcase--reverse { grid-template-columns: 1fr 1.3fr; }
.showcase--reverse .showcase__media { order: 2; }
.showcase__kind { display: block; color: var(--muted); font-size: 1rem; margin-bottom: .5rem; }
.showcase__body h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: .35em; }
.showcase__body .lead { font-size: 1.1rem; }
.showcase--frontline h2 { font-family: "Roboto", sans-serif; font-weight: 900; font-stretch: 100%; text-transform: uppercase; letter-spacing: .01em; color: #e6edf5; }
.showcase--frontline h2 span { color: #f0b83c; }
.showcase--bandstudio h2 { font-family: "Roboto", sans-serif; font-weight: 900; font-stretch: 100%; color: #f2f5fa; }
.showcase--frontline .btn--primary { background: linear-gradient(180deg, #f3c14f, #d99a1e); color: #1a1406; }
.showcase--bandstudio .btn--primary { background: #0a5fc2; color: #fff; border-radius: 999px; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 4px 0 28px; border-block: 1px solid var(--line); }
.facts div { padding: 14px 22px 14px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font-size: .85rem; color: var(--faint); }
.facts dd { margin: 2px 0 0; font-weight: 650; }

.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--tag, var(--accent)); }
.showcase--frontline { --tag: #f0b83c; }
.showcase--bandstudio { --tag: #6cc8f8; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 6px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--muted); }
.tag--accent { border-color: transparent; background: color-mix(in srgb, var(--tag, var(--accent)) 16%, transparent); color: var(--tag, var(--accent)); }
.showcase__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

@media (max-width: 900px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; }
  .showcase--reverse .showcase__media { order: 0; }
}

/* ---------- Pourquoi sans boutique ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.reasons > div { padding: 28px 28px 8px 0; }
.reasons > div + div { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.reasons h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: .45em; }
.reasons p { color: var(--muted); margin: 0; }
@media (max-width: 820px) {
  .reasons { grid-template-columns: 1fr; }
  .reasons > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
}

/* ---------- Installer en trois étapes (accueil) ---------- */
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: h; }
.howto li { counter-increment: h; }
.howto li::before {
  content: counter(h);
  display: block; margin-bottom: 14px;
  font: 800 clamp(3.4rem, 6vw, 4.6rem)/1 "Archivo", sans-serif; font-stretch: 125%;
  color: transparent; -webkit-text-stroke: 2px var(--blue);
}
.howto h3 { margin-bottom: .35em; }
.howto p { color: var(--muted); margin: 0; }
.howto-foot { margin-top: clamp(36px, 5vw, 52px); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.howto-foot p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .howto { grid-template-columns: 1fr; } }

/* ---------- Bandeau contact ---------- */
.contact-band { position: relative; isolation: isolate; overflow: hidden; }
.contact-band .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.contact-band h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-transform: uppercase; font-stretch: 125%; margin: 0 0 .3em; max-width: 14ch; line-height: .95; }
.contact-band p { margin: 0; color: var(--muted); max-width: 46ch; font-size: 1.1rem; }

/* ---------- Cartes / grilles (pages d'applis) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.theme-frontline .card__icon { border-radius: 4px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); width: 54px; }
.card__icon svg { width: 22px; height: 22px; }
.card__num { font-weight: 700; color: var(--accent); margin-bottom: 14px; display: block; }

/* Ancien bandeau CTA (pages d'applis) */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: clamp(36px, 6vw, 72px); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- Pages applications ---------- */
.app-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.app-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.app-hero__id { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.app-icon { width: 76px; height: 76px; flex: none; border-radius: 22px; display: grid; place-items: center; background: var(--gradient); color: var(--accent-ink); box-shadow: 0 16px 40px -14px var(--accent-glow); }
.app-icon svg { width: 40px; height: 40px; }
.theme-frontline .app-icon { border-radius: 8px; background: #11140f; color: var(--accent); border: 1.5px solid var(--accent); }
.app-hero__id small { display: block; font-size: .95rem; color: var(--muted); }
.app-hero__id strong { display: block; font: var(--display-weight) 1.15rem/1.3 var(--font-display); }
.app-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-bottom: .3em; }
.theme-frontline .app-hero h1 { text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.chip svg { width: 15px; height: 15px; color: var(--accent); }

.theme-frontline .app-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(245, 165, 36, .14), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(77, 90, 58, .35), transparent 70%),
    repeating-linear-gradient(0deg, rgba(184, 167, 122, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(184, 167, 122, .05) 0 1px, transparent 1px 64px);
}
.theme-bandstudio .app-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 80% 25%, rgba(139, 92, 246, .32), transparent 65%),
    radial-gradient(40% 55% at 20% 85%, rgba(236, 72, 153, .22), transparent 65%),
    radial-gradient(30% 40% at 55% 10%, rgba(34, 211, 238, .12), transparent 70%);
}
.eq { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.eq i { width: 5px; border-radius: 3px; background: var(--gradient); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.7s; } .eq i:nth-child(5) { animation-delay: -.35s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }

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

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 650; }

.specs { margin: 0; border-top: 2px solid var(--text); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .95rem; }
.specs dd { margin: 0; font-weight: 650; text-align: right; }

/* ---------- Section téléchargement ---------- */
.download {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(32px, 6vw, 64px); border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--surface);
}
.download h2 { margin-bottom: .35em; }
.download__box { padding: 28px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); text-align: center; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 4px; }
.price strong { font: var(--display-weight) clamp(2.6rem, 5vw, 3.4rem)/1 var(--font-display); }
.price span { color: var(--muted); font-size: .95rem; }
.download__box .btn { width: 100%; margin-top: 18px; }
.download__box .btn + .btn { margin-top: 10px; }
.download__note { margin: 16px 0 0; font-size: .85rem; color: var(--faint); }
.download__steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.download__steps li { counter-increment: s; display: flex; gap: 12px; color: var(--muted); font-size: .97rem; }
.download__steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }

/* ---------- Guide d'installation ---------- */
.guide { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 4px 0 0; border-top: 2px solid var(--text); }
.toc p { font-weight: 700; color: var(--text); margin: 14px 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--line); transition: color .2s; }
.toc a::before { content: counter(t); min-width: 1.4em; font-weight: 700; color: var(--faint); }
.toc a:hover, .toc a.is-active { color: var(--text); }
.toc a.is-active::before { color: var(--accent); }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .toc { position: static; } }

.steps { display: grid; gap: 18px; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step__num { width: 64px; height: 64px; display: grid; place-items: center; font: 800 1.9rem/1 "Archivo", sans-serif; font-stretch: 125%; color: var(--accent); }
.step h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .55em; }
.step p, .step li { color: var(--muted); }
.step ol, .step ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.step li::marker { color: var(--accent); font-weight: 650; }
.step > div > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 8px; } .step__num { width: auto; height: auto; place-items: start; font-size: 1.6rem; } }

.path { display: inline; padding: 2px 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font: 500 .86em/1.6 var(--font-mono); color: var(--text); }
.path i { font-style: normal; color: var(--accent); }
kbd { font: 500 .85em var(--font-mono); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); }
code { font: 500 .88em var(--font-mono); padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }

.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); margin: 18px 0 0; border: 1px solid; font-size: .97rem; }
.callout svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.callout p { margin: 0; color: inherit; }
.callout--info { border-color: rgba(180, 195, 255, .3); background: rgba(180, 195, 255, .07); color: #dfe5ff; }
.callout--warn { border-color: rgba(255, 210, 63, .32); background: rgba(255, 210, 63, .07); color: #ffeaa6; }
.callout--ok { border-color: rgba(74, 222, 128, .28); background: rgba(74, 222, 128, .06); color: #c9f5d9; }

.tabs { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tabs__list { display: flex; overflow-x: auto; background: var(--bg-2); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs__list button { flex: none; padding: 12px 18px; border: 0; background: transparent; color: var(--muted); font-size: .93rem; font-weight: 500; border-bottom: 2px solid transparent; }
.tabs__list button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs__panel { padding: 20px 22px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel ol { margin: 0; }

.faq { display: grid; gap: 0; border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 0; border-top: 2px solid var(--text); }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.info-item strong { display: block; margin-bottom: 2px; }
.info-item p { margin: 0; color: var(--muted); font-size: .97rem; }

.form { padding: clamp(24px, 5vw, 44px); border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 650; }
.field label span { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1.5px solid var(--line-strong); color: var(--text);
  font: 400 1rem/1.5 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23aab3d6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #f87171; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot p { margin: 0; font-size: .88rem; color: var(--faint); max-width: 40ch; }
.form__status { min-height: 1.5em; margin: 0; font-size: .95rem; color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 64px 0 40px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__grid h4 { font: 700 1rem/1.2 var(--font-body); font-stretch: 100%; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__grid ul a { color: var(--muted); font-size: .97rem; text-decoration: none; }
.footer__grid ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__about p { color: var(--muted); font-size: .97rem; max-width: 36ch; margin-top: 16px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: .88rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Vidéos du jeu (page Frontline) ---------- */
.player--4x5 { aspect-ratio: 4 / 5; }
.player--9x16 { aspect-ratio: 9 / 16; }
.player--4x5 video, .player--9x16 video { object-fit: contain; }
.video-duo { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(20px, 4vw, 48px); }
.video-duo__item { margin: 0; min-width: 0; }
.video-duo__item:has(.player--4x5) { width: min(100%, calc(min(78vh, 720px) * .8)); }
.video-duo__item:has(.player--9x16) { width: min(100%, calc(min(78vh, 720px) * .5625)); }
.video-duo__item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-top: 16px; }
.video-duo__item figcaption strong { font: var(--display-weight) 1.05rem/1.25 var(--font-display); }
.video-duo__item figcaption span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .video-duo__item:has(.player--9x16) { width: min(100%, 360px); } }

/* ---------- Lecteur « deck » des pages d'applis : la barre de commande reprend celle de l'appli ---------- */
.deck { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(10, 16, 40, .55); }
.deck__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.deck__btn { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: inherit; transition: background .2s; }
.deck__btn svg { width: 22px; height: 22px; }
.deck__btn--big { width: 54px; height: 54px; }
.deck__btn--big svg { width: 26px; height: 26px; }
.deck__btn--right { margin-left: auto; }
.deck.is-playing .i-play, .deck:not(.is-playing) .i-pause { display: none; }
.deck__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.deck__screen video { width: 100%; height: 100%; display: block; object-fit: contain; cursor: pointer; }
.deck__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .18); cursor: pointer; }
.deck__progress i { display: block; height: 100%; width: 0; background: var(--deck-accent, #fff); }
.deck__caption { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }

/* Band Studio : bandeau console + écran LCD */
.deck--console .deck__bar { background: #151c2c; color: #f2f5fa; border-bottom: 1px solid #26304a; }
.deck--console .deck__btn:hover { background: #26304a; }
.deck--console .deck__btn--big { background: #26304a; }
.lcd { display: flex; align-items: center; gap: 18px; margin-left: 8px; padding: 5px 16px; border-radius: 12px; background: #0d1117; border: 1px solid #26304a; color: #6cc8f8; font-family: "Roboto Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.lcd b { font-size: 1.9rem; font-weight: 400; min-width: 3.4ch; }
.lcd > span { display: grid; text-align: right; font-size: .82rem; line-height: 1.25; }
@media (max-width: 520px) {
  .deck__bar [data-deck-action="rewind"] { display: none; }
  .lcd { gap: 10px; padding: 4px 10px; margin-left: 2px; }
  .lcd b { font-size: 1.45rem; }
}

/* Frontline 2026 : barre du haut du jeu */
.deck--hud { border: 1px solid var(--line); border-radius: 8px; }
.deck--hud .deck__bar { background: linear-gradient(#0d131bf2, #0d131bc8); border-bottom: 1px solid var(--line); color: #e6edf5; padding: 6px 10px; }
.deck--hud .deck__btn { border-radius: 8px; width: 40px; height: 40px; }
.deck--hud .deck__btn--big { background: #18202c; border: 1px solid var(--line); }
.deck--hud .deck__btn:hover { background: #22304a; }
.hud-label { color: var(--muted); font-size: .92rem; }
.hud-clock { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }
.deck--hud .deck__btn--right { margin-left: 4px; }

/* ---------- Page Band Studio ---------- */
.bs-hero { background: #151c2c; color: var(--text); padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(120px, 14vw, 170px); }
.bs-hero__id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bs-hero__id p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.bs-icon { width: 56px; height: 56px; border-radius: 14px; background: #1b1f27; display: grid; place-items: center; border: 1px solid #26304a; }
.bs-icon svg { width: 52px; height: 52px; }
.bs-hero h1 { font-size: clamp(3.2rem, 10vw, 7.2rem); font-weight: 900; letter-spacing: -.035em; line-height: .92; margin-bottom: .25em; }
.bs-hero .lead { color: var(--muted); margin-bottom: 32px; }
.bs-hero .btn--ghost { color: var(--text); border-color: var(--line-strong); }
.bs-stage { margin-top: calc(-1 * clamp(90px, 11vw, 130px)); position: relative; }

.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.screens figure { margin: 0; }
.screens img { width: 100%; height: auto; border-radius: 26px; border: 7px solid #151c2c; box-shadow: 0 24px 50px -28px rgba(20, 30, 60, .5); }
.screens figcaption { margin-top: 14px; color: var(--muted); font-size: .97rem; }
.screens figcaption strong { display: block; color: var(--text); font-size: 1.05rem; }
@media (max-width: 860px) {
  .screens { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(64%, 260px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .screens figure { scroll-snap-align: start; }
}

.lanes { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.lane { --lane: #4fc3f7; display: grid; grid-template-columns: 72px 180px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); box-shadow: inset 5px 0 0 var(--lane); }
.lane:last-child { border-bottom: 0; }
.lane--midi { --lane: #81c784; }
.lane--drum { --lane: #ffb74d; }
.lane img { width: 50px; height: 50px; margin-left: 20px; border-radius: 10px; object-fit: cover; }
.lane__head strong { font-weight: 700; }
.lane__region { border: 1px solid var(--lane); border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--lane) 16%, #ffffff); }
.lane__region b { display: block; padding: 5px 12px; background: var(--lane); color: #14181f; font-weight: 700; font-size: .97rem; }
.lane__region span { display: block; padding: 10px 12px; color: var(--muted); font-size: .97rem; }
@media (max-width: 700px) {
  .lane { grid-template-columns: 62px minmax(0, 1fr); row-gap: 10px; }
  .lane__region { grid-column: 1 / -1; margin-left: 18px; }
}

.landscape { margin: 0; }
.landscape img { width: 100%; height: auto; border-radius: 20px; border: 8px solid #151c2c; }
.landscape figcaption { margin-top: 16px; color: var(--muted); max-width: 72ch; }
.landscape figcaption strong { color: var(--text); }

/* ---------- Page Frontline 2026 : menu principal du jeu ---------- */
.fl-hero { text-align: center; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px); background: radial-gradient(ellipse 90% 70% at 50% 115%, #1b2a44 0%, #0a0d12 65%); }
.fl-title { font: 900 clamp(2.9rem, 11vw, 8rem)/.95 "Roboto", "Segoe UI", sans-serif; letter-spacing: .015em; margin: 0; }
.fl-title span { color: #f0b83c; }
.fl-tagline { margin: 14px 0 clamp(32px, 5vw, 48px); color: var(--muted); font-size: clamp(.72rem, 1.6vw, .95rem); letter-spacing: .3em; text-transform: uppercase; }
.fl-menu { display: grid; gap: 8px; width: min(100%, 440px); margin: 0 auto; text-align: left; }
.fl-menu__item { display: block; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); background: rgba(24, 32, 44, .95); font-weight: 500; color: var(--text); transition: border-color .2s; }
.fl-menu__item:hover { border-color: #f0b83c; }
.fl-menu__item--primary { background: linear-gradient(180deg, #f3c14f, #d99a1e); color: #1a1406; border-color: transparent; font-weight: 700; }
.fl-version { margin: 22px 0 0; color: var(--faint); font-size: .88rem; }

.fl-ticker { overflow: hidden; white-space: nowrap; background: rgba(120, 10, 10, .45); color: #ffd6d6; border-block: 1px solid rgba(255, 90, 90, .25); font-size: .9rem; }
.fl-ticker__track { display: inline-flex; gap: 56px; padding: 9px 0; animation: ticker 60s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.fl-stage { padding-top: clamp(48px, 7vw, 80px); }

.objectives { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.objectives li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid #4a8be0; border-radius: 6px; padding: 14px 18px; }
.objectives li:nth-child(1) { border-left-color: #4fd08a; }
.objectives li:nth-child(2) { border-left-color: #f0b83c; }
.objectives li:nth-child(4) { border-left-color: #b07dff; }
.objectives li:nth-child(5) { border-left-color: #ff5a5a; }
.objectives strong { display: block; margin-bottom: 2px; }
.objectives span { color: var(--muted); }

.gauges { display: grid; gap: 14px; }
.gauge { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.gauge__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gauge__top b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.gauge__bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 10px 0 12px; }
.gauge__bar i { display: block; height: 100%; }
.gauge--good .gauge__bar i { background: #4fd08a; }
.gauge--bad .gauge__bar i { background: #ff5a5a; }
.gauge p { margin: 0; color: var(--muted); }

.arsenal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--text); }
.arsenal div { padding: 22px 28px 22px 0; border-bottom: 1px solid var(--line); }
.arsenal div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.arsenal dt { font: 900 1.7rem/1.1 "Roboto", sans-serif; color: var(--accent); }
.arsenal dd { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 700px) { .arsenal { grid-template-columns: 1fr; } .arsenal div:nth-child(even) { padding-left: 0; border-left: 0; } }

.specs--compact { border-top: 0; margin: 18px 0 6px; text-align: left; }
.specs--compact div { padding: 9px 0; }
.specs--compact dt { font-size: .92rem; }

/* ---------- Divers ---------- */
.theme-bandstudio h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); letter-spacing: 0; }
.guide > *, .steps, .step > div, .tabs, .split > *, .contact > *, .showcase > *, .app-hero__grid > *, .download > *, .reasons > *, .howto > * { min-width: 0; }
.scroll-hint { display: none; }

/* Le contenu est visible d'emblée : pas d'apparition au défilement */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Faire un don (pages applis) ---------- */
#telecharger + #don { padding-top: 0; }
.section--alt + #don { padding-top: clamp(56px, 8vw, 96px); }
.donate {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 5vw, 48px); border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong); background: var(--surface);
}
.donate__icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #e5486b; background: rgba(229, 72, 107, .1); border: 1px solid rgba(229, 72, 107, .3); }
.donate__icon svg { width: 30px; height: 30px; }
.donate h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .35em; }
.donate .lead { margin: 0; font-size: 1rem; }
.donate__actions { display: grid; gap: 12px; min-width: 240px; text-align: center; }
.donate__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.donate__amount {
  padding: 12px 0; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  font-weight: 700; color: var(--text); text-decoration: none; transition: border-color .2s, color .2s;
}
.donate__amount:hover { border-color: var(--accent); color: var(--accent); }
.donate .btn svg { width: 18px; height: 18px; }
.donate .download__note { margin: 0; }
@media (max-width: 900px) { .donate { grid-template-columns: 1fr; } .donate__actions { min-width: 0; } }

/* ---------- Boutons de téléchargement Android / Windows ---------- */
.download__box .btn svg { width: 18px; height: 18px; flex: none; }
.download__box .btn--windows { margin-top: 10px; }
.download__box .btn--windows, .theme-frontline .download__box .btn--windows { background: #0067c0; color: #fff; }
.download__box .btn--windows:hover { background: #005aa8; }
.download__steps code { font-size: .85em; }

/* ---------- Retour d'envoi du formulaire ---------- */
.form__status[data-kind="ok"] { color: #34d399; }
.form__status[data-kind="error"] { color: #f87171; }
.form__status a { color: inherit; text-decoration: underline; }
.form button[disabled] { opacity: .7; cursor: wait; }
.form__detail { display: block; margin-top: 6px; font-size: .8rem; opacity: .75; font-family: var(--font-mono); word-break: break-word; }
