/* ============================================================
   Cloudbizz AI — Pages commande / configurateur (.cmd-)
   Partagé par commande-ovastack.html, commande-go.html,
   commande-serenia.html. Ne modifie aucun style global.
   ============================================================ */

.cmd-body { background: var(--cb-bg, #f7f7fe); }

.cmd-main {
  width: var(--main-container, min(calc(100% - 238px), 1434px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

/* ---------- Breadcrumb ---------- */
.cmd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #6a6d9c;
  margin: 4px 0 18px;
}
.cmd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6a6d9c;
  text-decoration: none;
}
.cmd-breadcrumb a:hover { color: var(--cb-primary); }
.cmd-breadcrumb svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cmd-breadcrumb b { color: var(--cb-ink); font-weight: 600; }
.cmd-breadcrumb .cmd-breadcrumb__sep { color: #b9bce0; }

/* ---------- Hero ---------- */
.cmd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}
.cmd-hero__copy { position: relative; min-width: 0; }

.cmd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border: 1px solid #d9d8f6;
  border-radius: 999px;
  background: #fff;
  color: var(--cb-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cmd-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.cmd-hero h1 {
  font-family: var(--cb-display-font);
  margin: 0 0 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: var(--cb-display-leading);
  letter-spacing: var(--cb-display-tracking);
  font-weight: var(--cb-display-weight);
  color: var(--cb-ink);
}
.cmd-lead {
  margin: 0 0 8px;
  color: var(--cb-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  max-width: 56ch;
}
.cmd-sub {
  margin: 0;
  color: #575a8c;
  font-size: 14px;
  line-height: 1.55;
  max-width: 62ch;
}

/* Annotation manuscrite */
.cmd-annotation {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--cb-primary);
  font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 17px;
  line-height: 1.3;
  transform: rotate(-2deg);
}
.cmd-annotation svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; margin-top: 8px; }
.cmd-annotation span { border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Stepper d'étapes */
.cmd-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin: 22px 0 0;
  padding: 0;
}
.cmd-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #575a8c;
  white-space: nowrap;
}
.cmd-steps li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #c9cbe8;
  background: #fff;
  color: #575a8c;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  flex: none;
}
.cmd-steps li.is-active i {
  background: var(--cb-primary);
  border-color: var(--cb-primary);
  color: #fff;
}
.cmd-steps li.is-active { color: var(--cb-ink); font-weight: 600; }
.cmd-steps li:not(:last-child)::after {
  content: "";
  display: block;
  width: clamp(14px, 3vw, 46px);
  height: 1.5px;
  background: #d5d7ef;
  margin: 0 10px;
}

/* Cartes hero droites */
.cmd-hero__cards {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.cmd-hero__cards--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }

.cmd-help-card,
.cmd-includes-card {
  background: #fff;
  border: 1px solid #e4e4f4;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(19, 16, 90, 0.05);
}
.cmd-help-card { display: flex; gap: 12px; align-items: flex-start; }
.cmd-help-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: #efedff;
  color: var(--cb-primary);
}
.cmd-help-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cmd-help-card h2 { margin: 0 0 4px; font-size: 15px; color: var(--cb-ink); }
.cmd-help-card p { margin: 0 0 8px; font-size: 13px; color: #575a8c; line-height: 1.45; }
.cmd-help-card__contacts { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-weight: 600; }
.cmd-help-card__contacts a { color: var(--cb-ink); text-decoration: none; }
.cmd-help-card__contacts a:hover { color: var(--cb-primary); }
.cmd-help-card__contacts span { color: #b9bce0; }

.cmd-includes-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--cb-ink);
}
.cmd-includes-card h2 svg { width: 18px; height: 18px; fill: none; stroke: var(--cb-primary); stroke-width: 1.8; flex: none; }
.cmd-includes-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cmd-includes-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #3c3f6e;
  line-height: 1.35;
}
.cmd-check {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  fill: none;
  stroke: #12b76a;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Carte "Ce pack inclut" (Serenia, dynamique) */
.cmd-includes-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cmd-includes-card__head h2 { margin: 0; }
.cmd-includes-card__head h2 small { display: block; font-size: 11.5px; font-weight: 400; color: #7d80ad; margin-top: 3px; }
.cmd-min-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efedff;
  color: var(--cb-primary);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cmd-min-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.cmd-onboarding-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1f0fe;
  color: var(--cb-primary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}
.cmd-onboarding-note svg { width: 15px; height: 15px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Layout principal ---------- */
.cmd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 26px;
  align-items: start;
}

/* ---------- Formulaire / sections ---------- */
.cmd-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; min-width: 0; }
.cmd-form > * { grid-column: 1 / -1; }
.cmd-form--cols .cmd-card--half { grid-column: auto / span 1; }

.cmd-card {
  background: #fff;
  border: 1px solid #e4e4f4;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 28px rgba(19, 16, 90, 0.04);
  min-width: 0;
}
.cmd-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--cb-ink);
}
.cmd-card__lead { margin: -8px 0 14px; font-size: 13px; color: #575a8c; }
.cmd-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #eaf7f0;
  color: #0e9f5d;
}
.cmd-chip--info { background: #efedff; color: var(--cb-primary); }
.cmd-chip--warn { background: #fef3e6; color: #c07617; }

/* Radio-cartes */
.cmd-radio-cards { display: grid; gap: 14px; }
.cmd-radio-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmd-radio-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmd-radio-card {
  position: relative;
  display: block;
  border: 1.5px solid #e0e1f2;
  border-radius: 14px;
  padding: 16px 16px 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-width: 0;
}
.cmd-radio-card:hover { border-color: #b9b4f7; }
.cmd-radio-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.cmd-radio-card__dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c9cbe8;
  background: #fff;
}
.cmd-radio-card input:checked ~ .cmd-radio-card__dot {
  border-color: var(--cb-primary);
  background: radial-gradient(circle, var(--cb-primary) 0 45%, #fff 50%);
}
.cmd-radio-card input:checked ~ * { position: relative; }
.cmd-radio-card:has(input:checked) {
  border-color: var(--cb-primary);
  background: #f7f6ff;
  box-shadow: 0 0 0 1px var(--cb-primary) inset;
}
.cmd-radio-card input:focus-visible ~ .cmd-radio-card__dot { outline: 2px solid var(--cb-primary); outline-offset: 2px; }
.cmd-radio-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #efedff;
  color: var(--cb-primary);
  margin-bottom: 10px;
}
.cmd-radio-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmd-radio-card__name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 22px 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--cb-ink);
}
.cmd-radio-card__flag {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cb-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cmd-radio-card__price { margin: 0 0 6px; font-size: 13px; color: #575a8c; }
.cmd-radio-card__price strong { color: var(--cb-ink); font-size: 16px; }
.cmd-radio-card__desc { margin: 0 0 6px; font-size: 12.5px; color: #575a8c; line-height: 1.4; }
.cmd-radio-card__desc b { color: var(--cb-ink); display: block; }
.cmd-radio-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.cmd-radio-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: #3c3f6e;
  line-height: 1.35;
}
.cmd-radio-card__min {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7d80ad;
}
.cmd-radio-card__min svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Ligne OS (icône + nom + prix côte à côte) */
.cmd-radio-card--os { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cmd-radio-card--os .cmd-radio-card__icon { margin: 0; flex: none; }
.cmd-radio-card--os .cmd-radio-card__name { margin: 0; display: block; }
.cmd-radio-card--os .cmd-radio-card__price { margin: 2px 0 0; }

/* Steppers quantité */
.cmd-qty-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cmd-qty {
  border: 1px solid #e4e4f4;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fcfcff;
  min-width: 0;
}
.cmd-qty__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cmd-qty__head b { font-size: 13.5px; color: var(--cb-ink); }
.cmd-qty__head small { font-size: 11.5px; color: #7d80ad; text-align: right; }
.cmd-stepper {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #d9daf0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cmd-stepper__btn {
  width: 42px;
  border: 0;
  background: #fff;
  color: var(--cb-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 9px 0;
  transition: background 0.12s ease;
}
.cmd-stepper__btn:hover { background: #f1f0fe; }
.cmd-stepper__btn:disabled { color: #c3c5e4; cursor: default; background: #fff; }
.cmd-stepper__btn:focus-visible { outline: 2px solid var(--cb-primary); outline-offset: -2px; }
.cmd-stepper__value {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1.5px solid #d9daf0;
  border-right: 1.5px solid #d9daf0;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--cb-ink);
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}
.cmd-qty__note { margin: 10px 0 0; font-size: 12px; color: #7d80ad; line-height: 1.4; }
.cmd-qty__side { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #575a8c; }

/* Encarts info (inclus / stockage / bande passante) */
.cmd-info-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f0fe;
  border: 1px solid #e2e0fc;
  min-width: 0;
}
.cmd-info-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  color: var(--cb-primary);
  border: 1px solid #e2e0fc;
}
.cmd-info-tile__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmd-info-tile b { display: block; font-size: 13px; color: var(--cb-ink); line-height: 1.35; }
.cmd-info-tile p { margin: 3px 0 0; font-size: 12px; color: #575a8c; line-height: 1.35; }
.cmd-info-tile p.is-check { display: flex; align-items: center; gap: 6px; color: #0e9f5d; font-weight: 600; }
.cmd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: stretch; }

/* Note info pleine largeur */
.cmd-note-band {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f1f0fe;
  font-size: 12.5px;
  color: #454880;
  line-height: 1.45;
}
.cmd-note-band svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: var(--cb-primary); stroke-width: 1.8; }

/* Applications (Go) */
.cmd-apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.cmd-app-group {
  border: 1px solid #e4e4f4;
  border-radius: 12px;
  padding: 14px;
  background: #fcfcff;
  min-width: 0;
}
.cmd-app-group__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--cb-ink);
  flex-wrap: wrap;
}
.cmd-app-group__head svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cb-primary); stroke-width: 1.7; }
.cmd-app-group__head b { font-weight: 700; }
.cmd-app-group__head small { color: #7d80ad; font-size: 11.5px; }
.cmd-app-list { display: grid; gap: 9px; }
.cmd-app {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e0e1f2;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cmd-app:hover { border-color: #b9b4f7; }
.cmd-app:has(input:checked) { border-color: var(--cb-primary); background: #f7f6ff; }
.cmd-app input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--cb-primary);
  flex: none;
}
.cmd-app b { display: block; font-size: 13px; color: var(--cb-ink); }
.cmd-app small { display: block; margin-top: 2px; font-size: 11.5px; color: #7d80ad; line-height: 1.3; }

/* Champs formulaire */
.cmd-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cmd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cmd-field label { font-size: 12.5px; font-weight: 600; color: var(--cb-ink); }
.cmd-field input,
.cmd-field select {
  border: 1.5px solid #d9daf0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  color: var(--cb-ink);
  background: #fff;
  width: 100%;
}
.cmd-field input::placeholder { color: #a9abce; }
.cmd-field input:focus,
.cmd-field select:focus { outline: 2px solid var(--cb-primary); outline-offset: 1px; border-color: var(--cb-primary); }
.cmd-field input[aria-invalid="true"] { border-color: #e5484d; }
.cmd-field__error { font-size: 11.5px; color: #e5484d; min-height: 0; }
.cmd-field__error:empty { display: none; }

.cmd-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  color: #3c3f6e;
  line-height: 1.45;
  cursor: pointer;
}
.cmd-terms input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--cb-primary); flex: none; }
.cmd-terms b { color: var(--cb-primary); font-weight: 600; }

/* Options & préférences (Serenia) */
.cmd-options { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cmd-options__list { display: grid; gap: 10px; }
.cmd-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #3c3f6e;
  cursor: pointer;
  line-height: 1.4;
}
.cmd-option input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--cb-primary); flex: none; }

/* Actions */
.cmd-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cmd-actions .btn { display: inline-flex; align-items: center; gap: 9px; }
.cmd-actions .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cmd-form-error {
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fdecec;
  border: 1px solid #f5c2c4;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}
.cmd-form-error:empty { display: none; padding: 0; border: 0; }

/* ---------- Résumé (sticky) ---------- */
.cmd-summary { position: sticky; top: 96px; min-width: 0; }
.cmd-summary__card {
  background: #fff;
  border: 1px solid #e4e4f4;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(19, 16, 90, 0.06);
}
.cmd-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cmd-summary__head h2 { margin: 0; font-size: 17px; color: var(--cb-ink); }
.cmd-summary__pill {
  display: inline-flex;
  padding: 4px 11px;
  border-radius: 999px;
  background: #efedff;
  color: var(--cb-primary);
  font-size: 11px;
  font-weight: 700;
}
.cmd-summary__product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cmd-summary__product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #efedff;
  color: var(--cb-primary);
}
.cmd-summary__product-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmd-summary__product b { display: block; font-size: 15.5px; color: var(--cb-ink); }
.cmd-summary__product small { display: block; font-size: 12px; color: #7d80ad; margin-top: 2px; }

.cmd-summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cmd-summary__lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #575a8c;
}
.cmd-summary__lines li > span:first-child { min-width: 0; }
.cmd-summary__lines li b { color: var(--cb-ink); font-weight: 600; white-space: nowrap; }
.cmd-summary__lines li.cmd-line--section {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7d80ad;
}
.cmd-summary__lines li.cmd-line--strong { font-size: 13px; }
.cmd-summary__lines li.cmd-line--strong b { font-size: 14px; }
.cmd-summary__sep { border: 0; border-top: 1px solid #e7e8f5; margin: 14px 0; }

.cmd-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cmd-summary__total > span { font-size: 13px; font-weight: 600; color: var(--cb-ink); }
.cmd-summary__total > span small { font-weight: 400; color: #7d80ad; }
.cmd-summary__total strong { font-size: 24px; color: var(--cb-ink); letter-spacing: -0.01em; white-space: nowrap; }
.cmd-summary__total strong small { font-size: 13px; font-weight: 600; color: #575a8c; }
.cmd-summary__onetime {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--cb-primary);
  text-align: right;
}
.cmd-summary__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--cb-primary);
  font-weight: 600;
}
.cmd-summary__note svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cmd-summary__legal { margin: 10px 0 0; font-size: 11.5px; color: #7d80ad; line-height: 1.45; }

.cmd-summary__chips { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.cmd-summary__chips li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: #3c3f6e;
}

.cmd-deploy-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f0fe;
  border: 1px solid #e2e0fc;
}
.cmd-deploy-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  color: var(--cb-primary);
  border: 1px solid #e2e0fc;
}
.cmd-deploy-card__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmd-deploy-card b { display: block; font-size: 13px; color: var(--cb-ink); margin-bottom: 6px; }
.cmd-deploy-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.cmd-deploy-card li { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; color: #3c3f6e; }
.cmd-deploy-card p { margin: 0; font-size: 12px; color: #3c3f6e; line-height: 1.4; }

.cmd-paylogos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
}
.cmd-paylogos svg { height: 22px; width: auto; }

/* ---------- Bandeau preuves ---------- */
.cmd-proof {
  display: grid;
  grid-template-columns: repeat(var(--cmd-proof-cols, 4), minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e4e4f4;
  border-radius: 18px;
}
.cmd-proof article { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.cmd-proof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: #efedff;
  color: var(--cb-primary);
}
.cmd-proof__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmd-proof__icon--flag { background: transparent; }
.cmd-proof__flag {
  display: inline-flex;
  width: 34px;
  height: 24px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(7, 8, 63, 0.18);
}
.cmd-proof__flag i { flex: 1; }
.cmd-proof__flag i:nth-child(1) { background: #1a1a1a; }
.cmd-proof__flag i:nth-child(2) { background: #ffd90c; }
.cmd-proof__flag i:nth-child(3) { background: #f31830; }
.cmd-proof h3 { margin: 0 0 3px; font-size: 13.5px; color: var(--cb-ink); }
.cmd-proof p { margin: 0; font-size: 12px; color: #575a8c; line-height: 1.4; }

/* Note aria-live Deskio OneApp */
.cmd-app-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #c07617;
  font-weight: 600;
}
.cmd-app-note:empty { display: none; }

/* ---------- Confirmation d'envoi ---------- */
.cmd-confirm {
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #eaf7f0;
  border: 1px solid #bfe6d2;
}
.cmd-confirm__title {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #0b6b41;
}
.cmd-confirm p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #2e5f4a;
  line-height: 1.5;
}
.cmd-confirm__actions {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}
.cmd-confirm .cmd-confirm__copy {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0b6b41;
  background: #fff;
  border-color: #9fd8ba;
  cursor: pointer;
}
.cmd-confirm .cmd-confirm__copy:hover { border-color: #12b76a; }
.cmd-confirm .cmd-confirm__copy:focus-visible { outline: 2px solid #0e9f5d; outline-offset: 2px; }
.cmd-confirm__mail {
  font-size: 13px;
  font-weight: 600;
  color: #0b6b41;
  text-decoration: none;
}
.cmd-confirm__mail:hover { text-decoration: underline; }

/* ---------- Confort numérique & tactile ---------- */
.cmd-summary__total strong,
.cmd-summary__lines b,
.cmd-stepper__value { font-variant-numeric: tabular-nums; }
.cmd-stepper__btn,
.cmd-radio-card { touch-action: manipulation; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cmd-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .cmd-hero { grid-template-columns: minmax(0, 1fr); }
  .cmd-hero__cards--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .cmd-main { width: min(calc(100% - 48px), 960px); }
  .cmd-layout { grid-template-columns: minmax(0, 1fr); }
  .cmd-summary { position: static; top: auto; }
  .cmd-radio-cards--3 { grid-template-columns: minmax(0, 1fr); }
  .cmd-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .cmd-form { grid-template-columns: minmax(0, 1fr); }
  .cmd-form--cols .cmd-card--half { grid-column: 1 / -1; }
  .cmd-qty-row,
  .cmd-split,
  .cmd-apps,
  .cmd-options,
  .cmd-radio-cards--2,
  .cmd-hero__cards--two { grid-template-columns: minmax(0, 1fr); }
  .cmd-fields { grid-template-columns: minmax(0, 1fr); }
  .cmd-steps li:not(:last-child)::after { width: 10px; margin: 0 6px; }
}

@media (max-width: 480px) {
  .cmd-main { width: min(calc(100% - 32px), 960px); padding-top: 14px; }
  .cmd-card { padding: 16px; }
  .cmd-summary__card { padding: 18px 16px; }
  .cmd-proof { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .cmd-actions .btn { width: 100%; justify-content: center; }
  .cmd-annotation { font-size: 15px; }
  .cmd-steps { gap: 8px 0; }
  .cmd-steps li { font-size: 11.5px; }
  .cmd-steps li i { width: 22px; height: 22px; font-size: 11px; }
}

/* Story system cohesion 2026-07-16 */
body.story-skin .cmd-hero h1 {
  color: #080942;
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
}
body.story-skin .cmd-submit,
body.story-skin .btn--primary {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(37,16,243,.22);
}
