/* ============================================================================
 * COUNTERS
 * ============================================================================
 * Extrait de home.css lors du nettoyage pré-Bloc 3.
 * Toutes les couleurs/valeurs en dur ont été migrées vers tokens.css.
 * ============================================================================ */

/* ═══════════════════════════════════════════════════════════════
 * COUNTERS
 * ═══════════════════════════════════════════════════════════════ */
.counters { display: flex; flex-direction: column; gap: 12px; }
.counter {
  border-radius: var(--radius-card);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
}
.counter-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--white-soft-04);
  display: grid; place-items: center; flex-shrink: 0;
}
.counter-ico svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px var(--accent-glow-shadow));
}

/* Card counter avec icône trajet — l'icône remplit verticalement la card */
.counter:has(#ico-route) {
  padding: 4px 24px 4px 4px;
  align-items: stretch;
  min-height: 96px;
}

/* v3.4.1 : Card counter Travail (meuleuse) — même traitement que trajet */
.counter:has(#ico-drill) {
  padding: 4px 24px 4px 4px;
  align-items: stretch;
  min-height: 96px;
}

/* Icône trajet — totalement transparente, remplit verticalement la card */
#ico-route {
  width: 96px;
  height: auto;
  align-self: stretch;
  border-radius: 0;
  background: transparent;
  border: none;
  overflow: visible;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ico-route svg {
  width: 96px;
  height: 96px;
  stroke: none;
  fill: none;
  filter: none;
  display: block;
}

/* v3.4.1 : Icône meuleuse — même traitement que trajet (transparent, plein cadre) */
#ico-drill {
  width: 96px;
  height: auto;
  align-self: stretch;
  border-radius: 0;
  background: transparent;
  border: none;
  overflow: visible;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ico-drill svg {
  width: 96px;
  height: 96px;
  stroke: none;
  fill: none;
  filter: none;
  display: block;
}

/* Wrapper label+valeur — disposition HORIZONTALE pour garder la valeur à droite */
.counter-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}
.counter-label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.counter-value {
  font-size: 2.4rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

