/* ============================================================================
   COMPOSANTS — boutons, HUD, badges — Editorial Arena (fond clair)
   ============================================================================ */

/* ─── Bouton principal */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 2px solid var(--seam);
  border-radius: var(--radius-xs);
  padding: 14px 28px;
  cursor: pointer;
  color: #FFFFFF;
  background: var(--seam);
  box-shadow: var(--shadow-seam);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(228, 0, 43, 0.30);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-seam);
}

/* ─── Bouton ghost : contour ink sur canvas clair */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: rgba(21, 17, 14, 0.28);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── HUD de progression */
.hud {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(12px, 2vh, 22px);
}

.hud-progress {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: rgba(21, 17, 14, 0.10);
  overflow: hidden;
}
.hud-progress-fill {
  height: 100%;
  border-radius: 0;
  background: var(--seam);
  box-shadow: none;
  width: 0%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hud-meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.hud-meta strong {
  color: var(--ink);
  font-weight: 800;
}

/* ─── Pastilles de séries */
.series-dots { display: flex; gap: 6px; }
.series-dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: rgba(21, 17, 14, 0.14);
  transition: background 0.3s, transform 0.3s;
}
.series-dot.done { background: rgba(21, 17, 14, 0.38); }
.series-dot.active {
  background: var(--seam);
  transform: scale(1.35);
  box-shadow: 0 0 0 1px rgba(228, 0, 43, 0.35);
}

/* ─── Badge thème */
.theme-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0.72;
  padding: 4px 10px;
  border-radius: 0;
}

/* ─── Icônes Lucide (platform/core/icons.js) */
.lucide-icon {
  display: block;
  flex-shrink: 0;
}

.btn--with-icon,
.eyebrow--with-icon,
.admin-tool-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

/* Shell applicatif (marque + bandeaux + slots nav) :
   extrait dans platform/design-system/shell.css (partagé multi-outils). */

/* ─── Mention légale */
.fineprint {
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.55;
  max-width: 52ch;
}
