/* Illustrations marketing partagées (accueil + documentation) */

.mm-illus {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.mm-illus-line {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.04));
}

.mm-illus-line--wide {
  width: 88%;
  height: 10px;
}

.mm-illus-line--short {
  width: 55%;
}

.mm-illus-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mm-illus-pill--orange {
  background: rgba(255, 133, 0, 0.14);
  color: #c2410c;
}

.mm-illus-pill--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.mm-illus-pill--sm {
  font-size: 0.58rem;
  padding: 0.18rem 0.45rem;
}

.mm-illus-field {
  display: block;
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.mm-illus-field--area {
  height: 28px;
}

.mm-illus-field--text {
  height: 9px;
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08);
}

.mm-illus-field--short {
  width: 62%;
}

.mm-illus-field-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted, #6b7280);
  margin-bottom: -0.15rem;
}

.mm-illus-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8500, #ffb347);
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 800;
  color: #fff;
}

.mm-illus-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 54px;
  margin-top: 0.35rem;
}

.mm-illus-bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ffb347, #ff8500);
  opacity: 0.9;
}

.mm-illus-bars--lg {
  height: 72px;
}

/* QR pattern (réutilisé) */
.mm-illus-hero-qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 34px;
  height: 34px;
  padding: 3px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #1f2937;
  box-sizing: border-box;
}

.mm-illus-hero-qr b {
  display: block;
  border-radius: 1px;
  background: transparent;
}

.mm-illus-hero-qr b:nth-child(1),
.mm-illus-hero-qr b:nth-child(2),
.mm-illus-hero-qr b:nth-child(3),
.mm-illus-hero-qr b:nth-child(4),
.mm-illus-hero-qr b:nth-child(6),
.mm-illus-hero-qr b:nth-child(7),
.mm-illus-hero-qr b:nth-child(9),
.mm-illus-hero-qr b:nth-child(10),
.mm-illus-hero-qr b:nth-child(11),
.mm-illus-hero-qr b:nth-child(13),
.mm-illus-hero-qr b:nth-child(15),
.mm-illus-hero-qr b:nth-child(16),
.mm-illus-hero-qr b:nth-child(17),
.mm-illus-hero-qr b:nth-child(18) {
  background: #1f2937;
}

.mm-illus-hero-qr b:nth-child(5),
.mm-illus-hero-qr b:nth-child(8),
.mm-illus-hero-qr b:nth-child(12),
.mm-illus-hero-qr b:nth-child(14) {
  background: #ff8500;
}

.mm-illus-hero-qr--lg {
  width: 46px;
  height: 46px;
  padding: 4px;
  border-width: 2px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.mm-illus-qr-svg {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.mm-illus-qr-svg--stand {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.1));
}

/* QR table : scan → menu (carte fonctionnalités) */
.mm-illus--qr-flow {
  display: flex;
  justify-content: center;
  padding: 0.15rem 0;
}

.mm-illus-qr-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) auto minmax(0, 1.05fr);
  gap: 0.35rem;
  align-items: center;
  width: min(100%, 290px);
}

.mm-illus-qr-flow-stand {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.2);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mm-illus-qr-flow-table {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.12);
  color: #c2410c;
  font-size: 0.58rem;
  font-weight: 800;
}

.mm-illus-qr-flow-caption {
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #6b7280);
  text-align: center;
  line-height: 1.2;
}

.mm-illus-qr-flow-beam {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  color: rgba(255, 133, 0, 0.75);
}

.mm-illus-qr-flow-beam svg {
  width: 100%;
  height: auto;
  display: block;
}

.mm-illus-qr-flow-phone {
  display: grid;
  gap: 0.28rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.mm-illus-qr-flow-phone-notch {
  width: 28%;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mm-illus-mini-menu {
  display: grid;
  gap: 0.28rem;
  padding: 0.38rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff9f3, #fff);
  border: 1px solid rgba(255, 133, 0, 0.12);
}

.mm-illus-mini-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.mm-illus-mini-menu-head strong {
  font-size: 0.52rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-mini-menu-head span {
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.12);
  color: #c2410c;
  font-size: 0.44rem;
  font-weight: 800;
  white-space: nowrap;
}

.mm-illus-mini-menu-tabs {
  display: flex;
  gap: 0.2rem;
  padding: 0.12rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
}

.mm-illus-mini-menu-tabs span {
  flex: 1;
  text-align: center;
  padding: 0.12rem 0.25rem;
  border-radius: 999px;
  font-size: 0.42rem;
  font-weight: 800;
  color: var(--muted, #6b7280);
}

.mm-illus-mini-menu-tabs span.is-active {
  background: #fff;
  color: var(--secondary, #1f2937);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.mm-illus-mini-menu-list {
  display: grid;
  gap: 0.22rem;
}

.mm-illus-mini-menu-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.28rem;
  align-items: center;
  padding: 0.22rem 0.25rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mm-illus-mini-menu-item.is-active {
  border-color: rgba(255, 133, 0, 0.28);
  background: rgba(255, 133, 0, 0.07);
}

.mm-illus-mini-menu-thumb {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe8cc, #ffb347);
}

.mm-illus-mini-menu-thumb--alt {
  background: linear-gradient(135deg, #fecaca, #f97316);
}

.mm-illus-mini-menu-meta {
  display: grid;
  gap: 0.02rem;
  min-width: 0;
}

.mm-illus-mini-menu-meta strong {
  font-size: 0.46rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
  line-height: 1.15;
}

.mm-illus-mini-menu-meta em {
  font-style: normal;
  font-size: 0.42rem;
  font-weight: 700;
  color: #c2410c;
}

.mm-illus-qr-flow-phone .mm-illus-hero-dish {
  background: rgba(255, 255, 255, 0.95);
}

.mm-illus-qr-flow-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8500, #ffb347);
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
}

.mm-illus-table-chip--open {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

/* Plat menu (réutilisé) */
.mm-illus-hero-dish {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mm-illus-hero-dish i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe8cc, #ffd6a5);
  flex-shrink: 0;
}

.mm-illus-hero-dish span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.mm-illus-hero-dish strong {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
  line-height: 1.2;
}

.mm-illus-hero-dish em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  color: #c2410c;
}

.mm-illus-hero-dish.is-active {
  border-color: rgba(255, 133, 0, 0.35);
  background: rgba(255, 133, 0, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 133, 0, 0.08);
}

/* --- Hero : restaurant qui se digitalise --- */
.mm-illus--hero-scene {
  min-height: 340px;
}

.mm-illus-hero-scene {
  position: relative;
  width: min(380px, 100%);
  min-height: 320px;
  margin: 0 auto;
}

.mm-illus-hero-paper {
  position: absolute;
  top: 4%;
  left: 0;
  width: 34%;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.35rem;
  transform: rotate(-8deg);
  opacity: 0.72;
  z-index: 1;
}

.mm-illus-hero-paper-label {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #6b7280);
}

.mm-illus-hero-paper-x {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mm-illus-hero-flow {
  position: absolute;
  top: 22%;
  left: 28%;
  width: 42px;
  color: rgba(255, 133, 0, 0.55);
  z-index: 2;
  animation: mm-illus-flow 2.4s ease-in-out infinite;
}

.mm-illus-hero-flow svg {
  width: 100%;
  height: auto;
  display: block;
}

.mm-illus-hero-restaurant {
  position: absolute;
  bottom: 8%;
  left: 2%;
  width: 52%;
  z-index: 2;
}

.mm-illus-hero-wall {
  display: block;
  height: 88px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #fff9f3 0%, #ffe8cc 100%);
  border: 1px solid rgba(255, 133, 0, 0.12);
}

.mm-illus-hero-lamp {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #ffb347 45%, #ff8500 100%);
  box-shadow: 0 0 24px rgba(255, 133, 0, 0.45);
}

.mm-illus-hero-table {
  position: relative;
  margin-top: -18px;
  padding: 0 8%;
}

.mm-illus-hero-tabletop {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4a574, #a16207);
  box-shadow: 0 8px 16px rgba(107, 46, 0, 0.18);
}

.mm-illus-hero-chair {
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 22px;
  border-radius: 6px 6px 4px 4px;
  background: #92400e;
  opacity: 0.85;
}

.mm-illus-hero-chair--left { left: 8%; }
.mm-illus-hero-chair--right { right: 8%; }

.mm-illus-hero-plate {
  position: absolute;
  left: 18%;
  top: -14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 2px rgba(255, 133, 0, 0.25), 0 4px 10px rgba(15, 23, 42, 0.08);
}

.mm-illus-hero-qr-tent {
  position: absolute;
  right: 6%;
  top: -38px;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.4rem 0.45rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transform: rotate(2deg);
}

.mm-illus-hero-qr-tent small {
  font-size: 0.48rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c2410c;
}

.mm-illus-hero-phone {
  position: absolute;
  top: 8%;
  right: 0;
  width: 46%;
  padding: 0.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
  z-index: 4;
  animation: mm-illus-float 4s ease-in-out infinite;
}

.mm-illus-hero-phone-notch {
  display: block;
  width: 28%;
  height: 4px;
  margin: 0.1rem auto 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.mm-illus-hero-phone-screen {
  border-radius: 16px;
  background: linear-gradient(180deg, #fff9f3, #fff);
  padding: 0.55rem;
  display: grid;
  gap: 0.35rem;
}

.mm-illus-hero-phone-head {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-hero-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8500, #ffb347);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
}

.mm-illus-hero-live {
  position: absolute;
  bottom: 2%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  z-index: 5;
  animation: mm-illus-float 4s ease-in-out infinite 0.6s;
}

.mm-illus-hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: mm-illus-pulse 1.8s ease-in-out infinite;
}

.mm-illus-hero-live-text {
  display: grid;
  gap: 0.05rem;
}

.mm-illus-hero-live-text small {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16a34a;
}

.mm-illus-hero-live-text strong {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

/* --- QR table --- */
.mm-illus--qr-scene {
  padding: 0.35rem 0;
}

.mm-illus-qr-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0.55rem;
  align-items: end;
  max-width: 300px;
  margin: 0 auto;
}

.mm-illus-qr-table-mini {
  position: relative;
  padding-bottom: 0.35rem;
}

.mm-illus-qr-tabletop {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4a574, #a16207);
}

.mm-illus-qr-stand {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 0.35rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mm-illus-scan-ring {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0.15rem auto 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 133, 0, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 133, 0, 0.08);
  animation: mm-illus-pulse 2s ease-in-out infinite;
}

/* Phone (partagé) */
.mm-illus--phone,
.mm-illus--qr-scene .mm-illus-phone {
  display: flex;
  justify-content: center;
}

.mm-illus-phone {
  width: min(220px, 100%);
  border-radius: 28px;
  padding: 0.55rem;
  background: linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
}

.mm-illus-phone-top {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.15rem 0 0.45rem;
}

.mm-illus-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mm-illus-phone-body {
  border-radius: 22px;
  background: #fff9f3;
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  min-height: 220px;
}

.mm-illus-phone-body--delivery {
  background: linear-gradient(180deg, #eff6ff, #fff);
  min-height: 240px;
}

.mm-illus-table-chip {
  justify-self: start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.14);
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 800;
}

.mm-illus-form {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

/* --- Livraison (carte UI propre) --- */
.mm-illus--delivery-panel {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.mm-illus-delivery-panel {
  width: min(100%, 240px);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  display: grid;
  overflow: hidden;
  box-sizing: border-box;
}

.mm-illus-delivery-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.38rem 0.5rem;
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.mm-illus-delivery-map-svg {
  display: block;
  width: min(100%, 176px);
  height: auto;
  max-height: 62px;
}

.mm-illus-delivery-panel-body {
  display: grid;
  gap: 0.34rem;
  padding: 0.5rem 0.58rem 0.55rem;
}

.mm-illus-delivery-panel-head {
  display: grid;
  gap: 0.08rem;
}

.mm-illus-delivery-panel-head strong {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
  line-height: 1.2;
}

.mm-illus-delivery-panel-head span {
  font-size: 0.48rem;
  font-weight: 600;
  color: var(--muted, #6b7280);
  line-height: 1.25;
}

.mm-illus-delivery-panel-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem;
}

.mm-illus-delivery-panel-chip {
  display: flex;
  align-items: center;
  min-height: 16px;
  padding: 0 0.35rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-size: 0.46rem;
  font-weight: 700;
  color: var(--muted, #6b7280);
}

.mm-illus-delivery-panel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8500, #ffb347);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
}

/* Board */
.mm-illus--board {
  display: flex;
  justify-content: center;
}

.mm-illus-board {
  width: min(300px, 100%);
  padding: 0.85rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff9f3, #fff);
  border: 1px solid rgba(255, 133, 0, 0.16);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.55rem;
}

.mm-illus-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mm-illus-board-kitchen {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-board-live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16a34a;
}

.mm-illus-board-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: mm-illus-pulse 1.8s ease-in-out infinite;
}

.mm-illus-board-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  width: fit-content;
}

.mm-illus-board-tabs span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--muted, #6b7280);
}

.mm-illus-board-tabs span.is-active {
  background: #fff;
  color: var(--secondary, #1f2937);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.mm-illus-board-card {
  padding: 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.14);
  display: grid;
  gap: 0.3rem;
}

.mm-illus-board-card--delivery {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.mm-illus-board-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-board-items {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted, #6b7280);
  line-height: 1.35;
}

.mm-illus-board-time {
  font-size: 0.62rem;
  font-weight: 800;
  color: #c2410c;
}

.mm-illus-board-card--delivery .mm-illus-board-time {
  color: #1d4ed8;
}

/* Accounting */
.mm-illus--accounting {
  display: flex;
  justify-content: center;
}

.mm-illus-accounting {
  width: min(300px, 100%);
  padding: 0.9rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.14);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.65rem;
}

.mm-illus-accounting-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
  font-size: 0.88rem;
}

.mm-illus-filter {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.12);
  color: #c2410c;
  font-size: 0.65rem;
  font-weight: 800;
}

.mm-illus-accounting-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mm-illus-accounting-kpis div {
  padding: 0.55rem;
  border-radius: 12px;
  background: var(--bg-soft, #fff9f3);
  border: 1px solid rgba(255, 133, 0, 0.1);
}

.mm-illus-accounting-kpis small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #6b7280);
}

.mm-illus-accounting-kpis strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: var(--secondary, #1f2937);
}

.mm-illus-accounting-chart {
  display: grid;
  gap: 0.35rem;
}

.mm-illus-accounting-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: #16a34a;
}

.mm-illus-accounting-trend svg {
  width: 16px;
  height: 16px;
}

/* Supplements */
.mm-illus-supplement-card {
  max-width: 280px;
  margin: 0 auto;
  padding: 0.85rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.14);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.45rem;
}

.mm-illus-supplement-dish {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mm-illus-supplement-photo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fcd34d, #f97316);
  flex-shrink: 0;
}

.mm-illus-supplement-dish strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-supplement-dish em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: #c2410c;
}

.mm-illus-check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted, #6b7280);
}

.mm-illus-check-row i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.mm-illus-check-row.is-on {
  color: var(--secondary, #1f2937);
}

.mm-illus-check-row.is-on i {
  border-color: #ff8500;
  background: #ff8500;
  box-shadow: inset 0 0 0 2px #fff;
}

.mm-illus-total {
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(255, 133, 0, 0.25);
  font-size: 0.72rem;
  font-weight: 800;
  color: #c2410c;
}

/* Editor */
.mm-illus--editor {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mm-illus-editor {
  display: grid;
  grid-template-columns: minmax(36px, 48px) minmax(0, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 0.65rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 133, 0, 0.14);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}

.mm-illus-editor-sidebar {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 0.35rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff3e6, #fff9f3);
  border: 1px solid rgba(255, 133, 0, 0.12);
  min-height: 96px;
}

.mm-illus-editor-sidebar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.mm-illus-editor-sidebar i.is-active {
  background: linear-gradient(90deg, #ff8500, #ffb347);
}

.mm-illus-editor-main {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  align-content: start;
}

.mm-illus-editor-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--secondary, #1f2937);
}

.mm-illus-editor-fields {
  display: grid;
  gap: 0.3rem;
}

.mm-illus-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
}

.mm-illus-thumb {
  display: block;
  width: 100%;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe8cc, #ffd6a5);
  min-width: 0;
  border: 2px solid transparent;
}

.mm-illus-thumb.is-active {
  border-color: #ff8500;
  box-shadow: 0 0 0 2px rgba(255, 133, 0, 0.15);
}

.mm-illus-color-row {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.mm-illus-color-row i {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.mm-illus-color-row i:nth-child(1) { background: #ff8500; }
.mm-illus-color-row i:nth-child(2) { background: #1d4ed8; }
.mm-illus-color-row i:nth-child(3) { background: #16a34a; }

/* Animations */
@keyframes mm-illus-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mm-illus-flow {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@keyframes mm-illus-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Layout doc split */
.mmdoc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
  gap: 1.25rem;
  align-items: center;
  margin: 1.25rem 0;
}

.mmdoc-split--reverse {
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
}

.mmdoc-split--reverse .mmdoc-split-visual {
  order: -1;
}

.mmdoc-split-visual {
  padding: 0.75rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 133, 0, 0.06), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(255, 133, 0, 0.12);
}

@media (max-width: 860px) {
  .mmdoc-split,
  .mmdoc-split--reverse {
    grid-template-columns: 1fr;
  }

  .mmdoc-split--reverse .mmdoc-split-visual {
    order: 0;
  }

  .mm-illus--hero-scene {
    min-height: auto;
  }

  .mm-illus-hero-scene {
    min-height: 300px;
    width: min(340px, 100%);
  }

  .mm-illus-qr-scene {
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .mm-illus-qr-table-mini {
    max-width: 120px;
    margin: 0 auto;
  }
}

/* Cartes fonctionnalités : illustrations calibrées sur la même zone */
.home-capability-visual .mm-illus {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}

.home-capability-visual .mm-illus > * {
  transform-origin: center center;
  max-width: 100%;
}

.home-capability-visual .mm-illus-qr-flow {
  width: min(100%, 260px);
  transform: scale(0.92);
}

.home-capability-visual .mm-illus-qr-flow-stand {
  padding: 0.35rem 0.3rem;
}

.home-capability-visual .mm-illus-qr-flow-beam {
  width: 26px;
}

.home-capability-visual .mm-illus-qr-svg--stand {
  width: 44px;
  height: 44px;
}

.home-capability-visual .mm-illus-qr-flow-phone {
  padding: 0.32rem;
}

.home-capability-visual .mm-illus-mini-menu {
  padding: 0.3rem;
  gap: 0.22rem;
}

.home-capability-visual .mm-illus-mini-menu-head strong {
  font-size: 0.44rem;
}

.home-capability-visual .mm-illus-mini-menu-tabs span {
  font-size: 0.38rem;
}

.home-capability-visual .mm-illus-mini-menu-meta strong {
  font-size: 0.42rem;
}

.home-capability-visual .mm-illus-mini-menu-meta em {
  font-size: 0.38rem;
}

.home-capability-visual .mm-illus-delivery-panel {
  width: min(100%, 220px);
}

.home-capability-visual .mm-illus-delivery-hero {
  min-height: 64px;
  padding: 0.28rem 0.4rem;
}

.home-capability-visual .mm-illus-delivery-map-svg {
  width: min(100%, 168px);
  max-height: 56px;
}

.home-capability-visual .mm-illus-delivery-panel-body {
  gap: 0.26rem;
  padding: 0.38rem 0.46rem 0.42rem;
}

.home-capability-visual .mm-illus-delivery-panel-head strong {
  font-size: 0.54rem;
}

.home-capability-visual .mm-illus-delivery-panel-head span {
  font-size: 0.42rem;
}

.home-capability-visual .mm-illus-delivery-panel-chip {
  min-height: 14px;
  font-size: 0.42rem;
}

.home-capability-visual .mm-illus-delivery-panel-btn {
  min-height: 18px;
  font-size: 0.44rem;
}

.home-capability-visual .mm-illus-board {
  width: min(100%, 210px);
  padding: 0.42rem;
  gap: 0.26rem;
  transform: scale(0.8);
}

.home-capability-visual .mm-illus-accounting {
  width: min(100%, 210px);
  padding: 0.42rem;
  gap: 0.26rem;
  transform: scale(0.78);
}

.home-capability-visual .mm-illus-board-head,
.home-capability-visual .mm-illus-accounting-head {
  font-size: 0.68rem;
}

.home-capability-visual .mm-illus-board-card,
.home-capability-visual .mm-illus-accounting-kpis div {
  padding: 0.32rem;
}

.home-capability-visual .mm-illus-board-items {
  font-size: 0.54rem;
}

.home-capability-visual .mm-illus-bars,
.home-capability-visual .mm-illus-bars--lg {
  height: 34px;
  margin-top: 0.1rem;
}

.home-capability-visual .mm-illus-accounting-kpis strong {
  font-size: 0.66rem;
}

.home-capability-visual .mm-illus-accounting-trend {
  font-size: 0.48rem;
}

.home-capability-visual .mm-illus-supplement-card {
  width: min(100%, 210px);
  padding: 0.4rem;
  gap: 0.24rem;
  transform: scale(0.82);
}

.home-capability-visual .mm-illus-supplement-photo {
  width: 28px;
  height: 28px;
}

.home-capability-visual .mm-illus-supplement-dish strong {
  font-size: 0.58rem;
}

.home-capability-visual .mm-illus-check-row {
  font-size: 0.54rem;
}

.home-capability-visual .mm-illus-total {
  font-size: 0.54rem;
  padding-top: 0.25rem;
}

.home-capability-visual .mm-illus-editor {
  width: min(100%, 200px);
  padding: 0.35rem;
  gap: 0.26rem;
  transform: scale(0.8);
}

.home-capability-visual .mm-illus-editor-sidebar {
  min-height: 64px;
  padding: 0.22rem;
}

.home-capability-visual .mm-illus-thumb {
  height: 20px;
}

.home-capability-visual .mm-illus-editor-title {
  font-size: 0.54rem;
}

@media (prefers-reduced-motion: reduce) {
  .mm-illus-hero-flow,
  .mm-illus-hero-phone,
  .mm-illus-hero-live,
  .mm-illus-scan-ring,
  .mm-illus-board-live i,
  .mm-illus-hero-live-dot {
    animation: none;
  }
}
