/* Jetons partagés par les maquettes. Changer --accent suffit à ré-habiller le portail pour un autre client. */
:root {
  --accent: #C01E1E;
  --accent-fonce: #8E1014;
  --accent-lavis: #FBE9E9;
  --encre: #1A1A1A;
  --encre-2: #3A3A3A;
  --encre-3: #595959;
  --ligne: #E6E6E6;
  --fond: #F7F7F7;
  --surface: #FFFFFF;
  --ok: #2E6A40;
  --ok-lavis: #EAF3EC;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.conteneur { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }

/* Boutons */
.btn { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--surface); color: var(--encre); font: 600 14px var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--encre-3); }
.btn-plein { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-plein:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.btn svg, .lien svg { width: 16px; height: 16px; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Vignette logo d'application (emplacement du logo importé) */
.vignette { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--accent-lavis); color: var(--accent-fonce); display: flex; align-items: center; justify-content: center; font: 500 13px var(--mono); }
.vignette.petite { width: 44px; height: 44px; border-radius: 10px; font-size: 12px; }
.vignette.neutre { background: var(--surface); border: 1px solid var(--ligne); color: var(--encre-2); }

/* Pastilles d'état */
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pastille.ok { background: var(--ok-lavis); color: #24552F; }
.pastille.ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pastille.etape { background: var(--surface); border: 1px solid var(--ligne); color: var(--encre-2); }

/* Barre haute (direction A et écrans communs) */
.barre { background: var(--surface); border-bottom: 1px solid var(--ligne); }
.barre .conteneur { padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { height: 32px; width: auto; display: block; }
.marque b { display: block; font-size: 15px; line-height: 1.2; }
.marque span { display: block; font-size: 12px; color: var(--encre-3); line-height: 1.2; }
.recherche { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--fond); border: 1px solid var(--ligne); border-radius: 10px; color: var(--encre-3); }
.recherche svg { width: 18px; height: 18px; flex: none; }
.recherche input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; font: 14px var(--sans); color: var(--encre); }
.barre nav { display: flex; align-items: center; gap: 4px; }
.barre nav a { padding: 12px; font-size: 14px; font-weight: 500; text-decoration: none; }
.barre nav a:hover { color: var(--accent-fonce); }
.compte { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--surface); font: 600 13px var(--sans); cursor: pointer; }
