/* ═══════════════════════════════════════════════════════════════
   R3STO Mini — Style FINAL conforme spec
   - Palette : quasi-noir froid #0b0d12 (vs navy bleuté #0f1620 du bundle)
   - Or chaud aligné (déjà OK dans bundle)
   - Radius corporate 12px
   - Charge APRES bundle CSS → variables redéfinies gagnent
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces — quasi-noir froid */
  --bg:            #0b0d12;
  --bg2:           #14161e;
  --surf:          #15181f;
  --surf2:         #1e2230;
  --surf3:         #262b3a;
  --surf4:         #2a2f3d;

  /* Textes */
  --text:          #e8e9ed;
  --t2:            #b0b4be;
  --t-2:           #b0b4be;
  --t3:            #8b8f9a;
  --t-3:           #8b8f9a;
  --t4:            #5d6170;
  --muted:         #8b8f9a;

  /* Bordures */
  --border:        #2a2f3d40;
  --border2:       #2a2f3d60;
  --border-strong: #3a3f4d;
  --brd:           #2a2f3d;

  /* Navy logo LOCKED */
  --navy:          #1c2e58;
  --navy-dark:     #142447;

  /* Or chaud (préservé) */
  --accent:        #c89752;
  --accent-2:      #a07e2a;
  --or:            #c89752;
  --or-deep:       #a07e2a;
  --or-bright:     #d4af37;
  --or-soft:       #c897521f;
  --or-strong:     #c8975266;
  --ac:            #c89752;

  /* Charts palette locked (or vif/or sobre/vert/rouge/gris) */
  --bl:            #a07e2a;
  --bp:            #a07e2a1f;
  --b2:            #a07e2a66;
  --am:            #c89752;
  --ap:            #c897521f;
  --ab:            #c8975266;
  --pu:            #8b8f9a;
  --pp:            #8b8f9a1f;
  --pb:            #8b8f9a66;
  --vt:            #d4af37;
  --vp:            #d4af371f;
  --vb:            #d4af3766;
  --gn:            #10b981;
  --rd:            #d4574e;

  /* Radius */
  --br:            12px;
  --br2:           8px;

  /* Shadow */
  --shadow:        0 8px 32px rgba(0,0,0,0.45);
}

/* ─── Light mode (toggle) ─── */
[data-theme="light"] {
  --bg:            #f6f5f1;
  --bg2:           #efece5;
  --surf:          #ffffff;
  --surf2:         #efece5;
  --surf3:         #e3dfd5;
  --text:          #1a1d24;
  --t2:            #3d4452;
  --t3:            #5a5f6b;
  --muted:         #5a5f6b;
  --border:        #d8d3c640;
  --border-strong: #c5ccd6;
  --accent:        #a07e2a;
  --accent-2:      #7d6220;
  --or:            #a07e2a;
  --or-deep:       #7d6220;
  --bl:            #7d6220;
  --am:            #a07e2a;
}

/* ─── PATCH ULTIME : forcer le badge MINI rectangulaire en italic serif ─── */
/* Cible tout element petit avec border + text uppercase + mono */
[class*="badge"],
[class*="-mini"],
.mini-badge,
.plan-badge,
.pill {
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: none !important;
  background: transparent !important;
  padding: 0 0 0 4px !important;
  font-weight: 400 !important;
  color: #c89752 !important;
}
