/* Molécule : tuile chiffre. Fonds du Figma : subtle (sauge clair) · primary (sauge foncé) · inverse (noir) · outline (blanc cerclé).
   Mobile : étiquette courte en Micro. Desktop : numéro 01–04 + description en Small, alignée à droite.
   Chiffre : graisse, interligne et interlettrage du style « UI/Chiffre », taille propre à la tuile (exception du Figma). */
.c-stat { display: flex; flex-direction: column; justify-content: space-between; min-height: var(--stat-height); padding: var(--stat-pad); border: 1px solid transparent; border-radius: var(--card-radius); }
.c-stat--subtle { background: var(--color-bg-subtle); color: var(--color-text-default); --stat-accent: var(--color-text-link); }
.c-stat--primary { background: var(--color-action-primary); color: var(--color-text-inverse); --stat-accent: var(--color-text-inverse-soft); --stat-index: var(--color-text-inverse-muted); }
.c-stat--inverse { background: var(--color-bg-inverse); color: var(--color-text-inverse); --stat-accent: var(--color-text-inverse-soft); --stat-index: var(--color-text-inverse-muted); }
.c-stat--outline { background: var(--color-bg-default); color: var(--color-text-default); border-color: var(--color-border-default); --stat-accent: var(--color-text-link); }
.c-stat__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); }
.c-stat__index, .c-stat__text { display: none; }
.c-stat__short { color: var(--stat-accent); }
.c-stat__number { font-family: var(--type-number-family); font-size: var(--stat-number); font-weight: var(--type-number-weight); line-height: var(--type-number-lh); letter-spacing: var(--stat-number-ls); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (min-width: 1024px) {
	.c-stat__short { display: none; }
	.c-stat__index { display: block; color: var(--stat-index, var(--stat-accent)); }
	.c-stat__text { display: block; max-width: var(--stat-text-max); text-align: right; }
	.c-stat--primary .c-stat__text, .c-stat--inverse .c-stat__text { opacity: 0.85; }
}
