/* ═══════════════════════════════════════════════
   07 · MINIMALISME
   Tout ce qui est essentiel, rien d'autre :
   blanc, filets, respirations, une seule couleur.
   ═══════════════════════════════════════════════ */

html[data-theme="minimal"], [data-theme-scope="minimal"].sc {
  /* couleurs — presque rien */
  --bg: #fafafa;
  --bg-2: #f2f2f2;
  --surface: #ffffff;
  --surface-2: #f4f4f4;
  --text: #0a0a0a;
  --muted: #626262;
  --primary: #0a0a0a;
  --on-primary: #fafafa;
  --accent: #d93025;
  --line: #e4e4e4;
  --line-w: 1px;

  /* aucune ombre */
  --shadow-1: none;
  --shadow-2: 0 24px 48px -34px rgba(0, 0, 0, .4);
  --card-shadow: none;
  --card-shadow-hover: none;
  --card-lift: none;
  --card-strip: transparent;
  --card-img: none;

  /* formes — quasi vives */
  --r: 3px;
  --r-sm: 3px;
  --r-lg: 3px;

  /* typographie */
  --f-body: "Inter", system-ui, sans-serif;
  --f-display: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --h-weight: 600;
  --h-transform: none;
  --h-tracking: -0.035em;
  --h-shadow: none;
  --em-c: #d93025;
  --fs-hero: clamp(2.5rem, 6.4vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 4vw, 2.9rem);
  --fs-h3: clamp(1.1rem, 1.4vw, 1.25rem);

  /* boutons : carrés, noirs */
  --btn-bg: #0a0a0a;
  --btn-bg-hover: #333333;
  --btn-fg: #fafafa;
  --btn-img: none;
  --btn-radius: 3px;
  --btn-border: transparent;
  --btn-shadow: none;
  --btn-shadow-hover: none;
  --btn-shadow-press: none;

  /* cartes & chips */
  --card-bg: #ffffff;
  --chip-bg: transparent;
  --chip-fg: #0a0a0a;
  --chip-border: #e4e4e4;
  --chip-w: 1px;

  /* liens & focus */
  --link-c: #0a0a0a;
  --link-deco: underline;
  --focus: #0a0a0a;

  /* kicker : simple mention grise */
  --kicker-bg: transparent;
  --kicker-fg: #626262;

  /* fond : rien */
  --pattern: none;
  --pattern-size: auto;

  /* code — monochrome */
  --code-bg: #0a0a0a;
  --code-fg: #ededed;
  --code-kw: #ffffff;
  --code-str: #a7c4a0;
  --code-com: #7a7a7a;

  /* rythme — l'espace est le luxe */
  --sec-pad: clamp(84px, 10vw, 150px);
  --card-pad: clamp(24px, 3vw, 36px);
  --cta-bg: #0a0a0a;
  --cta-fg: #fafafa;
  --cta-kicker-bg: rgba(255, 255, 255, .14);
}

/* Filet éditorial au-dessus de chaque titre de section */
html[data-theme="minimal"] .section-head {
  border-top: 1px solid var(--text);
  padding-top: 28px;
}

/* Boutons en petites capitales espacées */
html[data-theme="minimal"] .btn {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 16px 30px;
}
[data-theme-scope="minimal"].sc .pv-btn {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Nav discrète, en capitales */
html[data-theme="minimal"] .nav a {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* Cartes : simple filet, pas de décor */
html[data-theme="minimal"] .card,
html[data-theme="minimal"] .path,
html[data-theme="minimal"] .bac,
html[data-theme="minimal"] .ancestors,
html[data-theme="minimal"] .premiere {
  border-color: #e9e9e9;
}

/* Numéros de section en gris — l'important est le titre */
html[data-theme="minimal"] .card-index,
html[data-theme="minimal"] .path-index {
  color: var(--muted);
}

/* Panneau d'évaluation : bloc blanc, filet seul */
html[data-theme="minimal"] .bac-list li { border-color: #ececec; }
