/* Charte Cutizi — piste A : fond blanc, encre, et un orange franc pour « la coupe ».
   Polices auto-hébergées (aucun appel à Google). Pour passer l'accent en bleu, changer --red, --red-hover,
   --red-dark et --accent-soft (ex. #1F5BFF / #1849D6 / #1640B8 / #EAF0FF) puis relancer tools/build-logos.mjs. */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --paper: #FFFFFF;      /* fond principal : blanc */
  --paper-2: #FAFAF8;    /* cartes, panneaux */
  --paper-3: #F1F0EC;    /* zones en creux, survol */
  --line: #E4E2DC;       /* filets */
  --ink: #16181D;        /* texte, aplats */
  --ink-2: #3A3D44;
  --gray: #8A8D93;       /* secondaire, forme d'onde inactive */
  --mute: #5F6168;       /* texte secondaire */
  --red: #FF5A1F;        /* la coupe : accent orange (texte encre dessus, pas blanc) */
  --red-hover: #F04A0E;
  --red-dark: #C2410C;   /* orange foncé pour du texte sur blanc (contraste AA) */
  --accent-soft: #FFF1EA;/* fond teinté orange */
  --accent-line: #FFD3C0;
  --ok: #2F7A4F;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --radius: 10px;
  --radius-lg: 16px;
}

/* Bandeau cookies (partagé par le site et l'app) */
.cz-consent { position: fixed; inset: auto auto 20px 20px; margin: 0; max-width: 420px; width: calc(100% - 40px); z-index: 1000;
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px; font: 14px/1.5 var(--font); box-shadow: 0 10px 30px rgba(22, 24, 29, .12); }
.cz-consent:modal { inset: auto auto 20px 20px; }
.cz-consent::backdrop { background: rgba(22, 24, 29, .35); }
.cz-consent p { margin: 0 0 8px; }
.cz-consent a { color: var(--ink); }
.cz-consent-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cz-consent-actions button { flex: 1; font: inherit; font-weight: 500; padding: 9px 14px; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.cz-consent-actions button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
