/* Maquette indicative, données fictives. Axiom Marketing. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/archivo-narrow-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/archivo-narrow-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --felt: #232a31;
  --felt-2: #2e363f;
  --felt-3: #3a444e;
  --letter: #f3f5f2;
  --letter-2: #b9c2c9;
  --ground: #e9ece8;
  --card: #ffffff;
  --rule: #d3d8d2;
  --rule-2: #e3e7e2;
  --ink: #1b2127;
  --ink-2: #4a545d;
  --muted: #646e76;
  --changed: #f2c230;
  --changed-tint: #fdf1c7;
  --changed-ink: #5c4500;
  --ok: #2e7a3c;
  --ok-tint: #e3f0e4;
  --warn: #a8660a;
  --warn-tint: #f8ecd8;
  --full: #c8321f;
  --full-tint: #f9e3df;
  --focus: #2b6cb0;

  --r-s: 8px; --r-m: 12px; --r-l: 18px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: "Archivo", system-ui, sans-serif;
  --font-letter: "Archivo Narrow", "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--ground);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
img, svg { display: block; }
::selection { background: var(--changed); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
input, textarea { caret-color: var(--felt); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.sm { width: 16px; height: 16px; }

/* Boutons : une seule famille */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: var(--r-m); border: 1px solid var(--felt); background: var(--felt); color: var(--letter);
  font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn.line { background: var(--card); color: var(--ink); border-color: var(--rule); }
.btn.quiet { background: transparent; color: var(--ink); border-color: transparent; padding: 0 10px; }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled], .btn[aria-disabled="true"] { background: #c9cfd3; border-color: #c9cfd3; color: #4f5961; cursor: not-allowed; transform: none; }
.btn.danger { background: var(--card); color: var(--full); border-color: #e6b3ab; }
@media (hover: hover) and (pointer: fine) {
  .btn:not([disabled]):hover { background: var(--felt-2); border-color: var(--felt-2); }
  .btn.line:not([disabled]):hover { background: #f4f6f3; border-color: #bfc6c0; }
  .btn.quiet:not([disabled]):hover { background: rgba(35, 42, 49, 0.06); border-color: transparent; }
  .btn.danger:not([disabled]):hover { background: var(--full-tint); border-color: var(--full); }
}

.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.input {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-m); border: 1px solid var(--rule); background: var(--card);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.input::placeholder { color: #6f7880; }
.input:focus { outline: none; border-color: var(--felt); box-shadow: 0 0 0 3px rgba(35, 42, 49, 0.14); }
.input[aria-invalid="true"] { border-color: var(--full); box-shadow: 0 0 0 3px rgba(200, 50, 31, 0.12); }
.hint { font-size: 13px; color: var(--muted); }
.err { font-size: 13px; color: var(--full); font-weight: 600; }
.okmsg { font-size: 13px; color: var(--ok); font-weight: 600; }

/* Pastilles d'état et jauge (forme + couleur) */
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.state.ok { background: var(--ok-tint); color: #1f5a2a; }
.state.warn { background: var(--warn-tint); color: #7a4a06; }
.state.full { background: var(--full-tint); color: #9a2414; }
.gauge { position: relative; height: 8px; border-radius: 999px; background: var(--rule-2); overflow: hidden; }
.gauge i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--ok); }
.gauge.warn i { background: var(--warn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M-2 10 10 -2M-2 2 2 -2M6 10 10 6' stroke='%23d9a24a' stroke-width='2'/%3E%3C/svg%3E"); }
.gauge.full i { background: var(--full); }
.gauge.full::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #fff; opacity: 0.8; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #eef1ed; color: var(--ink-2); border: 1px solid var(--rule-2); }
.chip.ban { background: var(--full-tint); color: #8f2414; border-color: #f1c9c2; }

.price { font-variant-numeric: tabular-nums; font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: clip; clip: rect(0 0 0 0); white-space: nowrap; }

.g-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-letter); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; }
.g-brand small { font-family: var(--font); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--letter-2); font-weight: 500; margin-left: 2px; }
.g-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--letter); position: relative; flex: none; }
.g-mark::before, .g-mark::after { content: ""; position: absolute; left: 4px; height: 3px; border-radius: 2px; background: var(--felt); }
.g-mark::before { top: 6px; width: 14px; }
.g-mark::after { top: 13px; width: 9px; }
.mfoot { font-size: 12px; color: var(--muted); text-align: center; padding: 18px 16px 8px; }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
}
