/* Vector Street Dynamics — identité « signalisation routière ».
   Barlow (OFL, styles/fonts/OFL.txt) est dessinée d'après la signalétique routière ;
   les fichiers sont locaux : le jeu reste jouable hors ligne. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(./fonts/Barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url(./fonts/Barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(./fonts/Barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-style: normal; font-display: swap; src: url(./fonts/BarlowCondensed-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(./fonts/BarlowCondensed-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: italic; font-display: swap; src: url(./fonts/BarlowCondensed-700i.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url(./fonts/BarlowCondensed-800i.woff2) format('woff2'); }

:root {
  /* Matières de la route */
  --asphalt: #121b21;          /* fond des panneaux sombres */
  --asphalt-2: #1d2931;
  --asphalt-3: #30404a;
  --gravel: #a5b0b7;           /* textes secondaires */
  --line-white: #f2f3ee;       /* marquage blanc, liserés des panneaux */
  /* Couleurs de signalisation */
  --balise: #ffc21a;           /* jaune balisage : action principale, aiguille */
  --balise-ink: #241a00;
  --sign-blue: #1d4f9c;        /* panneau de direction */
  --sign-green: #1e6b45;       /* itinéraire de col */
  --sign-brown: #7a4a2a;       /* site touristique / région réelle */
  --stop-red: #d8262e;         /* frein, zone rouge, alertes */
  --pmv: #ffb21a;              /* panneau à message variable */

  --panel: rgba(27, 31, 35, .88);
  --panel-soft: rgba(27, 31, 35, .66);
  --hairline: rgba(242, 243, 238, .14);

  --display: 'Barlow Condensed', 'DIN Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  /* Échelle typographique (rapport 1,25) */
  --t-xs: .72rem;
  --t-s: .82rem;
  --t-m: 1rem;
  --t-l: 1.25rem;
  --t-xl: 1.95rem;
  --t-xxl: 3.05rem;

  --r-sign: 9px;     /* coins de panneau */
  --r-ctl: 6px;      /* commandes */
  --inset: 0 0 0 2px var(--line-white) inset; /* liseré blanc intérieur */
  --safe-l: max(14px, env(safe-area-inset-left));
  --safe-r: max(14px, env(safe-area-inset-right));
  --safe-b: max(12px, env(safe-area-inset-bottom));
  --top-h: 56px;
}
