/* Valeurs communes du style « Carnet de route » : seul endroit où se fixent couleurs, polices, tailles et durées. */
:root {
  --logo-fond-haut: #EE9B4F;
  --logo-fond-bas: #8F4519;
  --logo-tasse: #FFF4E0;
  --logo-cafe: #4A2A14;
  --logo-reflet: #FFFFFF;

  --cible: 96px;
  --ecart: 16px;
  --encoche: 11px;
  --rayon-bloc: 4px 4px 14px 14px;
  --rayon-bouton: 48px;
  --epaisseur-ombre: 3px;

  --police: Georgia, 'Times New Roman', serif;
  --machine: 'Courier New', Courier, monospace;
  --texte-s: 14px;
  --texte-m: 17px;
  --texte-l: 20px;
  --texte-xl: 24px;

  --duree-appui: 0.12s;
  --duree-ecran: 0.3s;
  --duree-theme: 0.8s;
  --duree-entree: 0.5s;
  --decalage: 0.07s;
  --courbe: cubic-bezier(0.2, 0.8, 0.2, 1);

  --fond: #d8c3a0;
  --grain: rgba(90, 60, 20, 0.07);
  --ticket: #fbf3df;
  --encre: #3a2a1c;
  --doux: #7a634c;
  --sur-fond: #3a2a1c;
  --sur-fond-doux: #7a634c;
  --rouge: #b5412b;
  --vert: #3f6b4a;
  --bleu: #2f5b78;
  --sur-couleur: #ffffff;
  --ocre: #a8741f;
  --creux: #eadcba;
  --lumiere: rgba(255, 255, 255, 0.45);
  --scotch: rgba(236, 214, 150, 0.7);
  --couture: rgba(90, 60, 20, 0.3);
  --vignette: rgba(90, 50, 10, 0.22);
  --ombre: rgba(60, 35, 10, 0.28);
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

:root[data-theme='nuit'] {
  --fond: #2a1f17;
  --grain: rgba(255, 220, 170, 0.04);
  --ticket: #e9dcc0;
  --encre: #2e2218;
  --doux: #6d5842;
  --sur-fond: #e9dcc0;
  --sur-fond-doux: #c9b898;
  --rouge: #c4492f;
  --vert: #46745a;
  --bleu: #3b6a89;
  --ocre: #8a5a14;
  --creux: #d6c6a0;
  --lumiere: rgba(255, 255, 255, 0.18);
  --scotch: rgba(200, 170, 110, 0.38);
  --couture: rgba(233, 220, 192, 0.34);
  --vignette: rgba(0, 0, 0, 0.55);
  --ombre: rgba(0, 0, 0, 0.5);
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .8 0 0 0 0 .6 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
