/*
 * Kœurflor — Charte : base du document, utilitaires de mise en ligne et d'espacement
 * Auteur : Jacks Ngalangala
 */
/* --- Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font: 400 16px/24px var(--sans);
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  color: var(--ink);
}
h1 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}
h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}
p {
  margin: 0;
}
a {
  color: var(--brand);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
}
.cache-visuel {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.muet {
  color: var(--ink-muted);
}
.petit {
  font-size: 14px;
  line-height: 20px;
}
.legende {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--ink-muted);
}
.fort {
  font-weight: 700;
}
.droite {
  text-align: right;
}
.ligne {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ligne-entre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pile-l {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.grille-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.grille-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
/* P11 : sur téléphone et petite tablette, statistiques en grille 2 × 2 compacte (les commandes restent visibles) */
@media (max-width: 768px) {
  .grille-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .grille-4 .stat {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .grille-4 .stat-valeur {
    font-size: 22px;
    line-height: 28px;
    overflow-wrap: anywhere;
  }
}
.pousse {
  margin-left: auto;
}
.icone {
  flex-shrink: 0;
}
.chiffre {
  font-variant-numeric: tabular-nums;
}
/* Utilitaires d'espacement et d'alignement (remplacent les styles écrits dans les écrans) */
.pile-0 {
  gap: 0;
}
.pile-2 {
  gap: 2px;
}
.pile-4 {
  gap: 4px;
}
.pile-6 {
  gap: 6px;
}
.pile-8 {
  gap: 8px;
}
.etire {
  flex: 1;
  min-width: 0;
}
.sans-retour {
  flex-wrap: nowrap;
}
.aligne-haut {
  align-items: flex-start;
}
.aligne-centre {
  align-items: center;
}
.centre-x {
  justify-content: center;
}
.sans-marge {
  margin: 0;
}
.largeur-auto {
  width: auto;
}
.texte-pre {
  white-space: pre-wrap;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
