/* ========================================================================
   METOD · Portail Citoyen — Differdange
   Design system — Sobriété éditoriale (héritage commune)
   ======================================================================== */

/* Importer le design system METOD en premier */
@import url('./metod-tokens.css');

/* ---------- Token bridges (anciens noms → metod tokens) ---------- */
:root {
  /* ── Couleurs neutres ── */
  --cream:          var(--metod-bone);       /* #FAFAF8 — background principal */
  --cream-warm:     var(--metod-paper);      /* #F4F3EF — surface secondaire */
  --paper:          #FFFFFF;                 /* Blanc pur — inputs, topbar, cartes */
  --ink:            var(--metod-ink);        /* #0A0A0A */
  --ink-70:         var(--metod-ash);        /* #6B6B68 */
  --ink-55:         var(--metod-ash);        /* #6B6B68 */
  --ink-40:         var(--metod-stone);      /* #A8A6A0 */
  --ink-25:         var(--metod-fog);        /* #D9D7D1 */
  --ink-10:         var(--metod-mist);       /* #E8E6E0 */
  --ink-06:         rgba(10, 10, 10, 0.06);

  /* ── Couleurs brand ── */
  --orange:         var(--metod-orange);       /* #E85A10 */
  --orange-hover:   var(--metod-orange-deep);  /* #B8440A */
  --orange-soft:    var(--metod-orange-glow);  /* rgba(232,90,16,0.08) */

  /* ── Couleurs sémantiques ── */
  --green:          var(--metod-forest);       /* #3D6B4A */
  --green-soft:     var(--metod-forest-soft);  /* #DDE8DE */
  --yellow-soft:    var(--metod-caramel-soft); /* #F2E6D6 */

  /* ── Polices ── */
  --font-ui:        var(--font-body);    /* General Sans */
  --font-editorial: var(--font-display); /* General Sans (plus de serif) */
  /* --font-mono : déjà défini dans metod-tokens.css — JetBrains Mono */

  /* ── Bordures & radius ── */
  --radius:          var(--radius-sm);        /* 4px */
  --hairline:        var(--border-hairline);  /* 1px solid --metod-mist */
  --hairline-strong: var(--border-soft);      /* 1px solid --metod-fog */

  /* ── Dimensions shell ── */
  --header-h:   var(--shell-topbar-height);  /* 52px */
  --progress-h: 72px;
  --footer-h:   80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
*:focus { outline: none; }
*:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--metod-orange-glow), 0 0 0 1.5px var(--metod-orange); border-radius: var(--radius-sm); }

/* =====================================================================
   COMPOSANTS COMMUNS
   ===================================================================== */

/* Boutons — DS v3.2 */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  letter-spacing: -0.005em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Ripple highlight au survol */
.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 40%);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-secondary:hover::after { opacity: 1; }

/* Accent (orange) — action principale */
.btn-primary {
  background: var(--metod-orange);
  color: var(--metod-bone);
}
.btn-primary:hover {
  background: var(--metod-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 90, 16, 0.3);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-primary:disabled {
  background: var(--metod-fog);
  color: var(--metod-stone);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-primary--ink { background: var(--metod-ink); color: var(--metod-bone); }
.btn-primary--ink:hover { background: var(--metod-graphite); box-shadow: var(--shadow-md); }
.btn-primary--large { font-size: 15px; padding: 14px 22px; }

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--metod-fog);
}
.btn-secondary:hover { border-color: var(--metod-ink); background: var(--metod-bone); }
.btn-secondary--large { font-size: 15px; padding: 14px 22px; }

/* Ghost */
.btn-ghost {
  padding: 8px 12px;
  color: var(--ink-70);
}
.btn-ghost:hover { background: var(--ink-10); color: var(--ink); }

.btn-ghost svg,
.btn-primary svg,
.btn-secondary svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }

/* =====================================================================
   EN-TÊTE PUBLIC
   ===================================================================== */
.pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: var(--hairline);
}
.pub-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pub-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pub-header__city-logo {
  height: 18px;
  width: auto;
  display: block;
  fill: var(--metod-ink);
}
.pub-header__sep {
  width: 1px;
  height: 28px;
  background: var(--ink-25);
}
.pub-header__metod {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.pub-header__service {
  font-size: 12px;
  color: var(--ink-55);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-left: 4px;
}
.pub-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-nav__lang {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-55);
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 100ms ease;
  font-family: var(--font-mono);
}
.pub-nav__lang:hover { color: var(--ink); border-color: var(--ink-25); }
.pub-nav__lang.is-active { color: var(--ink); border-color: var(--ink-25); background: var(--paper); }
.pub-header__nav .btn-secondary {
  margin-left: 12px;
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* =====================================================================
   PAGE D'ACCUEIL — HERO
   ===================================================================== */
.pub-body {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pub-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pub-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  width: 100%;
}
.pub-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-55);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pub-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.pub-hero__title {
  font-family: var(--font-editorial);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.pub-hero__title em {
  font-style: italic;
  color: var(--ink-70);
}
.pub-hero__subtitle {
  font-size: 17px;
  color: var(--ink-70);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
}
.pub-hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Process 4 étapes */
.pub-process-section {
  background: var(--paper);
  border-top: var(--hairline);
  padding: 48px 32px;
  margin-top: auto;
}
.pub-process-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pub-process-section__title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-55);
  margin-bottom: 32px;
}
.pub-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pub-process__step {
  padding: 24px 28px;
  border-right: var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pub-process__step:last-child { border-right: 0; }
.pub-process__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pub-process__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-55);
}
.pub-process__icon svg { width: 24px; height: 24px; stroke: currentColor; }
.pub-process__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.pub-process__desc {
  font-size: 13px;
  color: var(--ink-55);
  line-height: 1.4;
}

/* Footer */
.pub-footer {
  border-top: var(--hairline);
  padding: 24px 32px;
  background: var(--cream);
}
.pub-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pub-footer p {
  font-size: 12px;
  color: var(--ink-55);
  font-family: var(--font-mono);
}

/* =====================================================================
   WIZARD — BARRE DE PROGRESSION
   ===================================================================== */
.wizard-progress-bar {
  background: var(--paper);
  border-bottom: var(--hairline);
  padding: 0 32px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}
.wizard-progress-bar__inner {
  max-width: 720px;
  margin: 0 auto;
  height: var(--progress-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.wstep__bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ink-25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-55);
  font-family: var(--font-mono);
  transition: all 200ms ease;
  background: var(--paper);
}
.wstep__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-55);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.wstep--active .wstep__bubble {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.wstep--active .wstep__label {
  color: var(--ink);
  font-weight: 600;
}
.wstep--done .wstep__bubble {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.wstep--done .wstep__label { color: var(--green); }
.wstep__line {
  flex: 1;
  height: 1px;
  background: var(--ink-10);
  align-self: center;
  margin: 0 8px;
  margin-bottom: 14px;
}

/* =====================================================================
   WIZARD — CONTENU PRINCIPAL
   ===================================================================== */
.wizard-main {
  padding: 48px 32px;
  padding-bottom: calc(var(--footer-h) + 40px);
  min-height: calc(100vh - var(--header-h) - var(--progress-h));
}
.wizard-content {
  max-width: 920px;
  margin: 0 auto;
}

.wizard-question {
  margin-bottom: 52px;
}
.wizard-question__title {
  font-family: var(--font-editorial);
  font-weight: 300;
  font-style: italic;
  font-size: 42px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 12px;
}
.wizard-question__sub {
  font-size: 15px;
  color: var(--metod-ash);
  max-width: 500px;
  line-height: 1.55;
}

/* =====================================================================
   GROUPES DE TYPES
   ===================================================================== */
.type-group {
  margin-bottom: 52px;
}
.type-group__head {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-hairline);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.type-group__name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
}
.type-group__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--metod-ash);
}
.type-group__hint--energy {
  color: var(--metod-orange);
  font-weight: 600;
}

/* Grille de cartes */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

/* =====================================================================
   CARTES TYPE DE TRAVAUX
   ===================================================================== */
.type-card {
  position: relative;
  background: var(--metod-bone);
  border: 1px solid var(--metod-fog);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: left;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 148px;
}
.type-card:hover {
  border-color: var(--metod-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.type-card.is-selected {
  border-color: var(--metod-orange);
  border-width: 2px;
  background: var(--metod-orange-soft);
  box-shadow: 0 0 0 4px var(--metod-orange-glow);
}

/* Icône */
.type-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--metod-mist);
  color: var(--metod-ash);
  transition: background var(--duration-fast) var(--ease-out);
}
.type-card__icon svg { width: 22px; height: 22px; stroke: currentColor; }
.type-card__icon--energy { background: var(--metod-orange-soft); color: var(--metod-orange-deep); }
.type-card__icon--green { background: var(--metod-forest-soft); color: var(--metod-forest); }
.type-card__icon--yellow { background: var(--metod-caramel-soft); color: var(--metod-caramel); }
.type-card.is-selected .type-card__icon { background: var(--metod-orange-soft); color: var(--metod-orange); }

/* Texte */
.type-card__body { flex: 1; }
.type-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--metod-ink);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.type-card__sub {
  font-size: 12px;
  color: var(--metod-ash);
  line-height: 1.4;
}

/* Badge "Fréquent" */
.type-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: var(--metod-orange-soft);
  color: var(--metod-orange-deep);
  border: 1px solid rgba(232, 90, 16, 0.2);
}
.type-card.is-selected .type-card__badge {
  background: var(--metod-orange);
  color: var(--metod-bone);
  border-color: var(--metod-orange);
}

/* Check mark (visible seulement quand sélectionné) */
.type-card__check {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 150ms ease, transform 150ms ease;
}
.type-card__check svg { width: 11px; height: 11px; stroke: white; stroke-width: 2.5; }
.type-card.is-selected .type-card__check {
  opacity: 1;
  transform: scale(1);
}

/* =====================================================================
   WIZARD — PIED DE PAGE STICKY
   ===================================================================== */
.wizard-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-h);
  background: var(--paper);
  border-top: var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 200;
  gap: 16px;
}
.wizard-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.wizard-footer__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-55);
}
.wizard-footer__sel {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.wizard-footer__sel.is-empty {
  font-size: 13px;
  color: var(--ink-40);
  font-style: italic;
  font-weight: 400;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --progress-h: 60px;
    --footer-h: 72px;
  }

  .pub-header__service { display: none; }
  .pub-header__inner { padding: 0 20px; }

  .pub-hero__inner { padding: 48px 20px 40px; }
  .pub-hero__ctas { flex-direction: column; align-items: stretch; }
  .pub-hero__ctas .btn-primary--large,
  .pub-hero__ctas .btn-secondary--large { justify-content: center; }

  .pub-process { grid-template-columns: 1fr 1fr; }
  .pub-process__step { border-right: 0; border-bottom: var(--hairline); padding: 16px 20px; }
  .pub-process__step:nth-child(1),
  .pub-process__step:nth-child(2) { border-right: var(--hairline); }

  .wizard-progress-bar { padding: 0 20px; }
  .wstep__label { display: none; }

  .wizard-main { padding: 32px 20px; }
  .wizard-question__title { font-size: 30px; }

  .type-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .type-card { min-height: 120px; padding: 16px; }
  .type-card__icon { width: 36px; height: 36px; border-radius: 8px; }
  .type-card__icon svg { width: 18px; height: 18px; }
  .type-card__title { font-size: 13px; }

  .wizard-footer { padding: 0 20px; }
  .wizard-footer__info { align-items: flex-start; }
}

@media (max-width: 480px) {
  .type-grid { grid-template-columns: 1fr; }
  .type-card { flex-direction: row; min-height: unset; align-items: center; padding: 14px 16px; }
  .type-card__icon { flex-shrink: 0; }
  .type-card__check { position: static; margin-left: auto; opacity: 1; transform: none; background: none; }
  .type-card__check svg { stroke: var(--ink-25); }
  .type-card.is-selected .type-card__check { background: var(--orange); }
  .type-card.is-selected .type-card__check svg { stroke: white; }
}

/* =====================================================================
   STATUS CHIPS
   ===================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
  white-space: nowrap;
}
.chip--green  { background: var(--metod-forest-soft);   color: var(--metod-forest); }
.chip--yellow { background: var(--metod-caramel-soft);  color: var(--metod-caramel); }
.chip--orange { background: var(--metod-orange-soft);   color: var(--metod-orange-deep); }
.chip--red    { background: var(--metod-brick-soft);    color: var(--metod-brick); }
.chip--blue   { background: var(--metod-slate-soft);    color: var(--metod-slate); }
.chip--plum   { background: var(--metod-plum-soft);     color: var(--metod-plum); }
.chip--ink    { background: var(--ink-06);               color: var(--ink-70); }

/* =====================================================================
   COMMUNE CHIP (topbar)
   ===================================================================== */
.commune-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--ink-06);
  border: var(--hairline);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-70);
  letter-spacing: 0.02em;
}
.commune-chip::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* =====================================================================
   LUX SELECTOR — commune selector layout
   ===================================================================== */
.lux-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--metod-bone);
  min-height: 520px;
}

.lux-selector__left {
  display: flex;
  flex-direction: column;
  border-right: var(--hairline);
}

.lux-selector__right {
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Search input */
.commune-search-wrap {
  padding: 16px;
  border-bottom: var(--hairline);
  position: relative;
}
.commune-search-wrap svg {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--ink-40);
  pointer-events: none;
}
.commune-search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  background: var(--cream);
  border: var(--hairline);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 120ms ease;
}
.commune-search-input::placeholder { color: var(--ink-40); }
.commune-search-input:focus { border-color: var(--ink-40); outline: none; }

/* Commune list */
.commune-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  max-height: 420px;
}
.commune-list::-webkit-scrollbar { width: 4px; }
.commune-list::-webkit-scrollbar-track { background: transparent; }
.commune-list::-webkit-scrollbar-thumb { background: var(--ink-10); border-radius: 4px; }

.commune-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-55);
  cursor: default;
  transition: background 80ms ease;
  gap: 12px;
}
.commune-item--active {
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}
.commune-item--active:hover {
  background: var(--orange-soft);
  color: var(--orange);
}
.commune-item--active:hover .commune-item__arrow {
  opacity: 1;
  transform: translateX(2px);
}
.commune-item--active.is-highlighted {
  background: var(--orange-soft);
}
.commune-item--soon {
  color: var(--ink-40);
}
.commune-item__name { flex: 1; }
.commune-item__arrow {
  opacity: 0;
  transition: opacity 100ms ease, transform 100ms ease;
  stroke: var(--orange);
}
.commune-item__arrow svg { width: 14px; height: 14px; stroke: inherit; }

.commune-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--metod-mist);
  color: var(--metod-stone);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* SVG Map */
.lux-map-wrap {
  width: 100%;
  max-width: 380px;
  position: relative;
}
.lux-map-container {
  position: relative;
  width: 100%;
}
.lux-map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) brightness(1.12) contrast(0.65);
  opacity: 0.82;
  border-radius: var(--radius);
}
.lux-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.lux-map {
  width: 100%;
  height: auto;
  display: block;
}
.map-border {
  fill: var(--cream);
  stroke: var(--ink-25);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.map-dot {
  fill: var(--ink-25);
  cursor: pointer;
  transition: fill 120ms ease, r 120ms ease;
}
.map-dot--active {
  fill: var(--orange);
  cursor: pointer;
}
.map-dot--soon {
  fill: var(--ink-25);
  cursor: default;
}
.map-dot--active:hover { fill: var(--orange-hover); }
.map-label {
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 600;
  fill: var(--ink-55);
  pointer-events: none;
  user-select: none;
}
.map-label--active {
  fill: var(--orange);
  font-weight: 700;
  font-size: 9px;
}

/* Rivière intérieure */
.map-river {
  stroke: var(--ink-25);
  stroke-width: 1.2;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 3 3;
}

/* Labels pays voisins */
.map-country-label {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  fill: var(--ink-25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

/* Indicateur Nord */
.map-north-arrow { fill: var(--ink-40); }
.map-north-text {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  fill: var(--ink-40);
  text-anchor: middle;
}

/* Label capitale */
.map-label--capital {
  fill: var(--ink-70);
  font-weight: 700;
  font-size: 8.5px;
}

/* Pulse animation for active dot */
@keyframes pulse-ring {
  0%   { r: 22; opacity: 0.5; }
  100% { r: 54; opacity: 0; }
}
.map-dot-pulse {
  fill: var(--orange);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  margin-top: -8px;
  transition: opacity 100ms ease;
  z-index: 50;
}
.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--ink);
}
.map-tooltip.is-visible { opacity: 1; }

/* =====================================================================
   AUTH SHELL — login / signup 2-col layout
   ===================================================================== */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 1fr;
}

.auth-brand {
  background: var(--ink);
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.auth-brand__logo {
  margin-bottom: 48px;
}
.auth-brand__logo svg {
  height: 28px;
  width: auto;
  display: block;
  fill: var(--metod-bone);
}
.auth-brand__title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 20px;
}
.auth-brand__desc {
  font-size: 14px;
  color: rgba(250,250,245,0.55);
  line-height: 1.6;
  max-width: 280px;
  flex: 1;
}
.auth-brand__commune {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(250,250,245,0.12);
}
.auth-brand__commune-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,245,0.4);
  margin-bottom: 8px;
}
.auth-brand__commune-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.auth-form-side {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  min-height: 100vh;
}
.auth-form-inner {
  width: 100%;
  max-width: 400px;
}
.auth-form-side__back {
  align-self: flex-start;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-55);
  font-weight: 500;
  transition: color 100ms ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.auth-form-side__back:hover { color: var(--ink); }
.auth-form-side__back svg { width: 16px; height: 16px; stroke: currentColor; }

.auth-form-title {
  font-family: var(--font-editorial);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.auth-form-sub {
  font-size: 14px;
  color: var(--ink-55);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
}
.form-group--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ink);
  margin-bottom: var(--space-2);
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--metod-bone);
  border: 1px solid var(--metod-fog);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--metod-ink);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.form-input::placeholder { color: var(--metod-stone); }
.form-input:focus {
  border-color: var(--metod-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
.form-input:read-only {
  background: var(--metod-mist);
  color: var(--metod-ash);
  cursor: default;
}
.form-input--error { border-color: var(--metod-brick) !important; }
.form-input-wrap {
  position: relative;
}
.form-input-wrap .form-input { padding-right: 44px; }
.form-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--ink-40);
  display: flex;
  align-items: center;
}
.form-input-toggle:hover { color: var(--ink); }
.form-input-toggle svg { width: 16px; height: 16px; stroke: currentColor; }
.form-input-icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-40);
  display: flex;
  align-items: center;
}
.form-input-icon-left svg { width: 16px; height: 16px; stroke: currentColor; }
.form-input-wrap--icon .form-input { padding-left: 40px; }

textarea.form-input {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.form-hint {
  font-size: 12px;
  color: var(--metod-ash);
  margin-top: 5px;
  line-height: 1.4;
}
.form-error {
  font-size: 12px;
  color: var(--metod-brick);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Password strength */
.pwd-strength {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pwd-strength__bars {
  display: flex;
  gap: 4px;
  flex: 1;
}
.pwd-strength__bar {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: var(--ink-10);
  transition: background 200ms ease;
}
.pwd-strength__bar.is-filled-weak   { background: var(--metod-brick); }
.pwd-strength__bar.is-filled-medium { background: var(--metod-caramel); }
.pwd-strength__bar.is-filled-strong { background: var(--green); }
.pwd-strength__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-40);
  min-width: 40px;
  text-align: right;
}

/* Form divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--ink-40);
  font-size: 12px;
  font-weight: 500;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-10);
}

/* Checkbox */
.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 20px;
}
.form-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--orange);
  flex-shrink: 0;
  cursor: pointer;
}
.form-checkbox-label {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.4;
}
.form-checkbox-label a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Auth footer text */
.auth-link-row {
  text-align: center;
  font-size: 13px;
  color: var(--ink-55);
  margin-top: 20px;
}
.auth-link-row a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-secure {
  text-align: center;
  font-size: 11px;
  color: var(--ink-40);
  margin-top: 16px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.auth-secure svg { width: 12px; height: 12px; stroke: currentColor; }

/* Alert / error box */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.form-alert--error {
  background: rgba(192,40,40,0.08);
  color: var(--metod-brick);
  border: 1px solid rgba(192,40,40,0.2);
}
.form-alert.is-visible { display: flex; align-items: center; gap: 8px; }
.form-alert svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }

/* =====================================================================
   DASHBOARD SHELL
   ===================================================================== */
.dash-shell {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

/* Topbar */
.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: var(--hairline);
}
.dash-topbar__inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.dash-topbar__logo {
  height: 28px;
  width: auto;
  margin-right: 4px;
}
.dash-topbar__logo img { height: 100%; }
.dash-topbar__spacer { flex: 1; }
.dash-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.dash-topbar__username {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.dash-topbar__logout {
  font-size: 13px;
  color: var(--ink-55);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background 100ms, color 100ms;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.dash-topbar__logout:hover { background: var(--ink-06); color: var(--ink); }

/* Dashboard content */
.dash-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  width: 100%;
  flex: 1;
}

.dash-hero {
  margin-bottom: 48px;
}
.dash-hero__greeting {
  font-family: var(--font-editorial);
  font-weight: 300;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}
.dash-hero__sub {
  font-size: 15px;
  color: var(--metod-ash);
  margin-bottom: var(--space-6);
}

.dash-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
  margin-bottom: var(--space-4);
  margin-top: var(--space-12);
}

/* Dossier cards */
.dossier-card {
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-3);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.dossier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.dossier-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  gap: var(--space-3);
  flex-wrap: wrap;
}
.dossier-card__type {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--metod-ink);
  letter-spacing: -0.02em;
}
.dossier-card__address {
  font-size: 13px;
  color: var(--metod-ash);
  margin-bottom: var(--space-4);
}
.dossier-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--metod-ash);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.dossier-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--metod-fog);
}

/* Timeline progress bar */
.dossier-card__timeline {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-4);
}
.timeline-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--metod-mist);
}
.timeline-step--done { background: var(--metod-forest); }
.timeline-step--active { background: var(--metod-orange); }
.timeline-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--metod-ash);
  margin-left: var(--space-2);
  white-space: nowrap;
}

.dossier-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: var(--border-hairline);
}
.dossier-card__action {
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ink);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration-fast) var(--ease-out);
}
.dossier-card__action:hover { color: var(--metod-orange); }
.dossier-card__action svg { width: 14px; height: 14px; stroke: currentColor; }

.action-needed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--metod-orange);
  font-family: var(--font-mono);
}
.action-needed::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--metod-orange);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  color: var(--metod-stone);
}
.empty-state__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--metod-fog);
}
.empty-state__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.empty-state__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--metod-ash);
  margin-bottom: 6px;
}
.empty-state__sub { font-size: 13px; }

/* Dashboard footer */
.dash-footer {
  padding: 24px 32px;
  border-top: var(--hairline);
  background: var(--paper);
}
.dash-footer p {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-footer a { color: var(--ink-55); transition: color 100ms; }
.dash-footer a:hover { color: var(--ink); }
.dash-footer__sep { color: var(--ink-25); }

/* =====================================================================
   WIZARD ADDITIONS — progress bar + back link + step indicator
   ===================================================================== */
.progress-bar-top {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--metod-orange);
  z-index: 500;
  transition: width 400ms ease;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ash);
  margin-bottom: var(--space-8);
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.back-link:hover { color: var(--metod-ink); }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; }

.wizard-step-indicator {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--metod-stone);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

/* =====================================================================
   UPLOAD ZONE
   ===================================================================== */
.upload-zone {
  border: 1.5px dashed var(--metod-fog);
  border-radius: var(--radius-md);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  background: var(--metod-bone);
  margin-bottom: var(--space-6);
}
.upload-zone:hover {
  border-color: var(--metod-ink);
  background: var(--metod-paper);
}
.upload-zone.is-dragging {
  border-color: var(--metod-orange);
  background: var(--metod-orange-soft);
}
.upload-zone__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  color: var(--metod-stone);
}
.upload-zone__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.upload-zone__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--metod-ash);
  margin-bottom: 4px;
}
.upload-zone__hint {
  font-size: 12px;
  color: var(--metod-stone);
  font-family: var(--font-mono);
}

/* File list */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-6);
}
.file-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-sm);
}
.file-item__status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-item__status--done {
  background: var(--metod-forest-soft);
  color: var(--metod-forest);
}
.file-item__status--pending {
  background: var(--metod-mist);
  color: var(--metod-stone);
}
.file-item__status svg { width: 14px; height: 14px; stroke: currentColor; }
.file-item__name {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  color: var(--metod-ink);
}
.file-item__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.file-item__badge--required {
  background: var(--metod-brick-soft);
  color: var(--metod-brick);
}
.file-item__badge--optional {
  background: var(--metod-mist);
  color: var(--metod-ash);
}
.file-item__btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--metod-ash);
  padding: 5px 12px;
  border: var(--border-hairline);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.file-item__btn:hover { border-color: var(--metod-ink); color: var(--metod-ink); }
.file-item__btn--done { color: var(--metod-forest); border-color: var(--metod-forest-soft); background: var(--metod-forest-soft); }

/* Uploaded file chips */
.uploaded-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.uploaded-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--metod-mist);
  border: var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 400;
  color: var(--metod-ash);
}
.uploaded-file-chip__remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--metod-stone);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.uploaded-file-chip__remove:hover { color: var(--metod-brick); }

/* =====================================================================
   CONFIRMATION PAGE
   ===================================================================== */
.confirmation-card {
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}
.confirm-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--metod-forest-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  animation: scale-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.confirm-check svg { width: 32px; height: 32px; stroke: var(--metod-forest); stroke-width: 2.5; }
@keyframes scale-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.confirm-ref {
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  margin-bottom: var(--space-6);
}
.confirm-ref__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
  margin-bottom: var(--space-2);
}
.confirm-ref__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--metod-ink);
  letter-spacing: 0.04em;
}
.confirm-summary {
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}
.confirm-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: 13px;
  border-bottom: var(--border-hairline);
}
.confirm-summary__row:last-child { border-bottom: 0; }
.confirm-summary__key { color: var(--metod-ash); font-weight: 400; }
.confirm-summary__val { color: var(--metod-ink); font-weight: 500; font-family: var(--font-mono); font-size: 12px; }
.confirm-info-box {
  background: var(--metod-forest-soft);
  border: 1px solid rgba(61, 107, 74, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 13px;
  color: var(--metod-forest);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: var(--space-8);
}
.confirm-info-box svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; margin-top: 1px; }
.confirm-delay {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--metod-paper);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--metod-ash);
  margin-bottom: var(--space-4);
}
.confirm-delay__icon { color: var(--metod-orange); flex-shrink: 0; }
.confirm-delay__icon svg { width: 18px; height: 18px; stroke: currentColor; }
.confirm-delay strong { color: var(--metod-ink); }

/* =====================================================================
   TRACKING PAGE
   ===================================================================== */
.suivi-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.suivi-main-col {}
.suivi-side-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.tracking-timeline {
  position: relative;
  padding-left: 28px;
}
.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: var(--metod-mist);
}

.tracking-step {
  position: relative;
  padding-bottom: 28px;
}
.tracking-step:last-child { padding-bottom: 0; }

.tracking-step__dot {
  position: absolute;
  left: -24px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--metod-fog);
  background: var(--metod-bone);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.tracking-step__dot svg { width: 8px; height: 8px; stroke: currentColor; }

.tracking-step--done .tracking-step__dot {
  background: var(--metod-forest);
  border-color: var(--metod-forest);
  color: var(--metod-bone);
}
.tracking-step--active .tracking-step__dot {
  background: var(--metod-orange);
  border-color: var(--metod-orange);
  width: 18px;
  height: 18px;
  left: -25px;
  top: 2px;
}
.tracking-step--active .tracking-step__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--metod-orange-glow);
}
.tracking-step--pending .tracking-step__dot { background: var(--metod-bone); border-color: var(--metod-mist); }

.tracking-step__content {}
.tracking-step__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--metod-ink);
  margin-bottom: 2px;
}
.tracking-step--pending .tracking-step__title { color: var(--metod-stone); }
.tracking-step__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--metod-stone);
}
.tracking-step--active .tracking-step__date { color: var(--metod-orange); }
.tracking-step__note {
  font-size: 12px;
  color: var(--metod-ash);
  margin-top: 4px;
  line-height: 1.4;
}

/* Side cards */
.suivi-card {
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.suivi-card__title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
  margin-bottom: var(--space-3);
}
.suivi-card__body {
  font-size: 13px;
  color: var(--metod-ash);
  line-height: 1.5;
}
.suivi-card__body strong { color: var(--metod-ink); }
.suivi-card__contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: 13px;
  color: var(--metod-ash);
}
.suivi-card__contact-row svg { width: 14px; height: 14px; stroke: currentColor; flex-shrink: 0; }

/* QR placeholder */
.qr-placeholder {
  width: 80px;
  height: 80px;
  background: var(--ink-06);
  border: var(--hairline);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Status message box */
.status-message-box {
  background: var(--metod-orange-soft);
  border: 1px solid rgba(232, 90, 16, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 13px;
  color: var(--metod-ash);
  line-height: 1.5;
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

/* Title row with status chip */
.suivi-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.suivi-ref {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--metod-stone);
  margin-bottom: 4px;
}
.suivi-address {
  font-size: 14px;
  color: var(--metod-ash);
  margin-bottom: var(--space-8);
}

/* Select input */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Radio group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--metod-fog);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.radio-item:hover { border-color: var(--metod-ink); background: var(--metod-bone); }
.radio-item input[type="radio"] { accent-color: var(--metod-orange); cursor: pointer; }
.radio-item.is-selected { border-color: var(--metod-orange); background: var(--metod-orange-soft); }
.radio-item__label { font-size: 14px; font-weight: 400; color: var(--metod-ink); }

/* Input with unit */
.input-unit-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.input-unit-wrap .form-input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: 0;
}
.input-unit {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--metod-mist);
  border: 1px solid var(--metod-fog);
  border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--metod-ash);
  white-space: nowrap;
}

/* Textarea char counter */
.textarea-counter {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--metod-stone);
  margin-top: 4px;
}

/* Type chip in project step */
.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--metod-orange-soft);
  border: 1px solid rgba(232, 90, 16, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--metod-orange-deep);
  margin-bottom: var(--space-6);
}

/* =====================================================================
   RESPONSIVE ADDITIONS
   ===================================================================== */
@media (max-width: 768px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    position: static;
    height: auto;
    padding: 32px 24px;
    min-height: unset;
  }
  .auth-brand__title { font-size: 28px; }
  .auth-brand__desc { display: none; }
  .auth-brand__commune { padding-top: 20px; }
  .auth-form-side {
    padding: 40px 24px;
    min-height: unset;
    justify-content: flex-start;
  }

  .lux-selector {
    grid-template-columns: 1fr;
  }
  .lux-selector__left { border-right: 0; border-bottom: var(--hairline); }
  .lux-selector__right { display: none; }

  .dash-topbar__inner { padding: 0 20px; }
  .dash-topbar__username { display: none; }
  .dash-content { padding: 32px 20px 60px; }
  .dash-hero__greeting { font-size: 28px; }

  .suivi-layout { grid-template-columns: 1fr; }
  .suivi-side-col { position: static; }

  .form-group--row { grid-template-columns: 1fr; gap: 8px; }
}


/* ═══════════════════════════════════════════════════════════
   APP SHELL v3 — Design System v3.2 aligned
   ═══════════════════════════════════════════════════════════ */

html { height: 100%; }
body.app-body { height: 100%; overflow: hidden; margin: 0; }

.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--metod-paper);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.app-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--metod-bone);
  border-right: var(--border-hairline);
  display: flex;
  flex-direction: column;
  transition: width var(--duration-base) var(--ease-out);
  position: relative;
  z-index: 20;
  overflow: hidden;
}
.app-sidebar.is-collapsed {
  width: 56px;
  overflow: visible; /* permet au popover profil de dépasser */
}

/* Header: hauteur fixe = topbar pour alignement parfait des lignes */
.app-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-3);
  height: var(--shell-topbar-height); /* 52px — aligne avec app-topbar */
  border-bottom: var(--border-hairline);
  gap: var(--space-2);
  flex-shrink: 0;
}
/* Logo brand in sidebar header */
.app-sidebar__brand {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.app-sidebar__logo-full {
  height: 18px;
  width: auto;
  display: block;
  fill: var(--metod-ink);
  flex-shrink: 0;
}
.app-sidebar__logo-mono {
  height: 16px;
  width: auto;
  display: none;
  fill: var(--metod-ink);
  flex-shrink: 0;
}
.app-sidebar.is-collapsed .app-sidebar__logo-full { display: none; }
.app-sidebar.is-collapsed .app-sidebar__logo-mono { display: block; }

/* Toggle dans le header — gardé pour compatibilité mais masqué */
.app-sidebar__toggle { display: none; }

/* ── Bas de sidebar : séparateur + bouton toggle orange ── */
.app-sidebar__nav-bottom {
  padding: var(--space-3);
  border-top: var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-sidebar__toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--metod-orange);
  color: var(--metod-bone);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}
.app-sidebar__toggle-btn:hover { background: var(--metod-orange-deep); transform: scale(1.05); }
.app-sidebar__toggle-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--metod-bone);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  transition: transform var(--duration-base) var(--ease-out);
}
.app-sidebar.is-collapsed .app-sidebar__toggle-btn svg { transform: rotate(180deg); }

/* ── Zone droite du topbar : search + notif ── */
.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  flex-shrink: 0;
}

/* Barre de recherche topbar */
.topbar-search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 34px;
  padding: 0 12px;
  background: var(--metod-paper);
  border: var(--border-hairline);
  border-radius: var(--radius-sm);
  width: 220px;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.topbar-search:focus-within {
  border-color: var(--metod-ash);
  box-shadow: 0 0 0 2px rgba(10,10,10,0.05);
}
.topbar-search svg {
  width: 14px;
  height: 14px;
  stroke: var(--metod-stone);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.topbar-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--metod-ink);
  min-width: 0;
}
.topbar-search__input::placeholder { color: var(--metod-stone); }
.topbar-search__input:focus { outline: none; }

/* ── Notification bell dans la topbar ── */
.topbar-notif {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: var(--border-hairline);
  background: transparent;
  color: var(--metod-ash);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}
.topbar-notif:hover { background: var(--metod-mist); color: var(--metod-ink); }
.topbar-notif svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.topbar-notif__badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--metod-orange);
  border: 1.5px solid var(--metod-bone);
}

/* Nav area */
.app-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Group labels */
.app-sidebar__group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--metod-stone);
  padding: var(--space-2) var(--space-2);
  margin-top: var(--space-3);
}
.app-sidebar__group-label:first-child { margin-top: 0; }
.app-sidebar.is-collapsed .app-sidebar__group-label { display: none; }

/* Nav items */
.app-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--metod-ash);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.app-nav-item:hover { background: var(--metod-mist); color: var(--metod-ink); }
.app-nav-item.is-active {
  background: var(--metod-mist);
  color: var(--metod-ink);
  font-weight: 500;
}
.app-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: var(--metod-orange);
  border-radius: 0 2px 2px 0;
}
.app-nav-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: block;
}
.app-nav-item__label { flex: 1; overflow: hidden; text-overflow: ellipsis; }

/* Tooltip on collapsed */
.app-nav-item__tooltip {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--metod-ink);
  color: var(--metod-bone);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
  z-index: 50;
}
.app-nav-item__tooltip::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--metod-ink);
}
.app-sidebar.is-collapsed .app-nav-item {
  justify-content: center;
  padding: 10px 0;
}
.app-sidebar.is-collapsed .app-nav-item__label { display: none; }
.app-sidebar.is-collapsed .app-nav-item.is-active::before { display: none; }
.app-sidebar.is-collapsed .app-nav-item.is-active {
  background: var(--metod-ink);
  color: var(--metod-bone);
}
.app-sidebar.is-collapsed .app-nav-item:hover .app-nav-item__tooltip { opacity: 1; }

/* Badge on nav item */
.app-nav-item__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--metod-brick);
  background: var(--metod-brick-soft);
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1;
}
.app-sidebar.is-collapsed .app-nav-item__badge { display: none; }

/* Footer: profile */
.app-sidebar__footer {
  border-top: var(--border-hairline);
  padding: var(--space-3);
  position: relative;
  flex-shrink: 0;
}
.app-profile {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.app-profile:hover { background: var(--metod-mist); }
.app-profile__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--metod-ink);
  color: var(--metod-bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0;
}
.app-profile__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-profile__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-profile__role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--metod-ash);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-profile__chevron {
  color: var(--metod-ash);
  flex-shrink: 0;
}
.app-sidebar.is-collapsed .app-profile { justify-content: center; padding: 4px; }
.app-sidebar.is-collapsed .app-profile__info,
.app-sidebar.is-collapsed .app-profile__chevron { display: none; }

/* Profile popover */
.app-profile-popover {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  left: var(--space-3);
  right: var(--space-3);
  background: var(--metod-bone);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 40;
  display: none;
}
.app-profile-popover.is-open { display: block; }
.app-sidebar.is-collapsed .app-profile-popover {
  position: fixed;
  left: 64px; /* 56px sidebar + 8px gap */
  bottom: 12px;
  right: auto;
  top: auto;
  min-width: 220px;
  z-index: 200;
}
.app-profile-popover__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-bottom: var(--border-hairline);
  margin-bottom: var(--space-2);
}
.app-profile-popover__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ink);
  margin-bottom: 2px;
}
.app-profile-popover__email {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--metod-ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-profile-popover__separator {
  height: 1px;
  background: var(--metod-mist);
  margin: var(--space-2) 0;
}
.app-profile-popover__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--metod-graphite);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.app-profile-popover__item:hover { background: var(--metod-mist); }
.app-profile-popover__item svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.app-profile-popover__item--danger { color: var(--metod-brick); }
.app-profile-popover__item--danger:hover { background: var(--metod-brick-soft); }

/* ── Main Column ──────────────────────────────────────────── */
.app-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.app-topbar {
  height: var(--shell-topbar-height);
  flex-shrink: 0;
  background: var(--metod-bone);
  border-bottom: var(--border-hairline);
  display: flex;
  align-items: center;
  padding: 0 var(--space-8);
  gap: var(--space-5);
}
.app-topbar__breadcrumb {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px;
}
.app-topbar__commune { color: var(--metod-ash); }
.app-topbar__sep { color: var(--metod-fog); }
.app-topbar__page { color: var(--metod-ink); font-weight: 500; }
.app-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

/* ── Main Scrollable Area ─────────────────────────────────── */
.app-main {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-8);
  background: var(--metod-paper);
}

/* ── Dashboard Page ───────────────────────────────────────── */
.dash2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-hairline);
}
.dash2-greeting {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--metod-ink);
  line-height: 1;
  margin-bottom: 4px;
}
.dash2-sub {
  font-size: 13px;
  color: var(--metod-ash);
  line-height: 1.4;
}
.dash2-section {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.dash2-section::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--metod-orange);
  border-radius: 1px;
}
.dash2-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

/* ── Wizard Steps Bar ─────────────────────────────────────── */
.app-wizard-steps {
  flex-shrink: 0;
  height: 48px;
  background: var(--metod-bone);
  border-bottom: var(--border-hairline);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
}
.wstep2 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--metod-ash);
  white-space: nowrap;
}
.wstep2 + .wstep2::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--metod-fog);
  margin-right: var(--space-2);
}
.wstep2.is-active { color: var(--metod-ink); font-weight: 500; }
.wstep2.is-done   { color: var(--metod-ash); }
.wstep2__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--metod-mist);
  color: var(--metod-ash);
  flex-shrink: 0;
}
.wstep2.is-active .wstep2__num {
  background: var(--metod-orange);
  color: var(--metod-bone);
  box-shadow: 0 0 0 4px var(--metod-orange-glow);
}
.wstep2.is-done .wstep2__num {
  background: var(--metod-forest);
  color: var(--metod-bone);
}

/* ── Wizard Footer Bar ────────────────────────────────────── */
.app-wizard-footer {
  flex-shrink: 0;
  height: 60px;
  background: var(--metod-bone);
  border-top: var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}
.app-wizard-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.app-wizard-footer__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metod-ash);
}
.app-wizard-footer__sel {
  font-size: 13px;
  font-weight: 500;
  color: var(--metod-ink);
}
.app-wizard-footer__sel.is-empty {
  font-size: 13px;
  font-weight: 400;
  color: var(--metod-stone);
}
