:root {
  --ink: #191816;
  --paper: #fffaf3;
  --card: #fff;
  --orange: #ff4f32;
  --yellow: #ffc83d;
  --green: #24845c;
  --muted: #746e66;
  --line: #e8dfd4;
  --shadow: 0 20px 60px rgba(43, 29, 17, 0.12);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}
button,
select,
input {
  font: inherit;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font: 800 1.35rem Manrope;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: white;
  border-radius: 12px;
}
.topbar nav {
  display: flex;
  gap: 10px;
}
.territory-switcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 11px;
  border: 1px solid #d9e1e5;
  border-radius: 13px;
  background: #f4f8fa;
  color: #17212b;
  cursor: pointer;
}
.territory-switcher > span:first-child { font-size: 1.35rem; }
.territory-switcher > span:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.territory-switcher small { color: #73808a; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.territory-switcher b { margin-top: 3px; font-size: .78rem; }
.territory-switcher i { color: #79858e; font-style: normal; }
.admin-territory-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  padding: 7px max(5vw, 24px);
  border-bottom: 1px solid #223b4c;
  background: #0b2232;
  color: #fff;
  font-size: .76rem;
}
.admin-territory-ribbon b { color: #ffc15b; font-size: .65rem; letter-spacing: .11em; }
.admin-territory-ribbon small { color: #b8c9d3; }
.admin-territory-ribbon button { border: 0; border-bottom: 1px solid #ff9a4d; background: transparent; color: #ffbd78; font: inherit; font-weight: 800; cursor: pointer; }
.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}
.language-picker span { color: var(--orange); font-size: 1.05rem; }
.language-picker select {
  max-width: 118px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}
.language-picker.compact { min-height: 38px; padding: 0 7px; border-radius: 11px; }
.language-picker.compact select { width: 42px; font-size: .76rem; }
.ghost,
.cart-btn,
.primary,
.icon-btn {
  border: 0;
  cursor: pointer;
}
.ghost {
  background: transparent;
  padding: 12px 16px;
}
.cart-btn {
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 11px 16px;
}
.cart-btn span {
  background: var(--yellow);
  color: var(--ink);
  margin-left: 7px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
}
.intro {
  padding: 70px max(6vw, 24px) 56px;
  background:
    radial-gradient(circle at 85% 15%, #ffd65f 0 10%, transparent 32%),
    linear-gradient(140deg, #fffaf3, #ffede1);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: Manrope;
  margin: 0;
  line-height: 1.06;
}
h1 {
  font-size: clamp(2.7rem, 7vw, 6rem);
  max-width: 880px;
  letter-spacing: -0.055em;
}
h1 em {
  color: var(--orange);
  font-style: normal;
}
.lead {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--muted);
  margin: 18px 0 30px;
}
.finder {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  max-width: 780px;
  box-shadow: var(--shadow);
}
.territory-preview-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: center;
  border-color: #c9dbe5;
  background: linear-gradient(135deg, #fff, #eef7fa);
}
.territory-preview-panel .territory-preview-flag { grid-row: 1 / span 2; font-size: 3rem; }
.territory-preview-panel p:not(.finder-title) { margin: 0 0 7px; color: #44535e; font-weight: 800; }
.territory-preview-panel small { display: block; color: #6c7880; line-height: 1.45; }
.territory-preview-panel .primary { grid-column: 2; justify-self: start; padding-block: 10px; }
.finder > label:first-child {
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.finder-row {
  display: flex;
  gap: 10px;
}
.finder select,
.merchant-card input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 14px;
  background: #fff;
  width: 100%;
}
.primary {
  background: var(--orange);
  color: white;
  font-weight: 700;
  padding: 14px 21px;
  border-radius: 13px;
  white-space: nowrap;
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.results {
  padding: 46px max(6vw, 24px) 90px;
}
.territory-empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px dashed #b7cbd6;
  border-radius: 22px;
  background: linear-gradient(135deg, #f4fafc, #fff);
}
.territory-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; font-size: 2rem; box-shadow: 0 8px 25px rgba(12, 39, 55, .09); }
.territory-empty-state h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.territory-empty-state p:not(.eyebrow) { max-width: 780px; margin: 9px 0 0; color: #68747c; line-height: 1.55; }
.territory-empty-state > span { padding: 8px 12px; border-radius: 999px; background: #e9eef1; color: #63717a; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.territory-picker-overlay { z-index: 120; padding: 24px; }
.territory-picker {
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border-radius: 26px;
  background: #fffaf3;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}
.territory-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.territory-picker-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.territory-picker-head p:not(.eyebrow) { max-width: 680px; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.territory-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.territory-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.territory-card:nth-child(4), .territory-card:nth-child(5) { grid-column: span 3; }
.territory-card:hover { transform: translateY(-2px); border-color: #ff9b70; box-shadow: 0 13px 30px rgba(55, 38, 25, .1); }
.territory-card.selected { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255, 79, 50, .13); }
.territory-flag { font-size: 2.25rem; }
.territory-card-copy { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; }
.territory-card-copy strong { font-size: 1.12rem; }
.territory-card-copy small { color: var(--muted); line-height: 1.35; }
.territory-status { margin-top: auto; padding: 6px 8px; border-radius: 7px; font-size: .66rem; font-weight: 900; }
.territory-status.active { background: #e5f6ed; color: #1d7752; }
.territory-status.development { background: #edf2f5; color: #63727b; }
.territory-picker-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 15px 17px; border-radius: 13px; background: #0b2232; color: #fff; }
.territory-picker-note p { margin: 0; color: #d5e0e6; line-height: 1.45; }
.territory-picker-note strong { color: #ffc15b; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}
.open-pill {
  background: #e8f7ef;
  color: var(--green);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.85rem;
  font-weight: 700;
}
.open-pill i,
.merchant-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.restaurant {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.2s;
  cursor: pointer;
}
.restaurant:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.food-art {
  height: 180px;
  display: grid;
  place-items: center;
  font-size: 4.7rem;
  position: relative;
}
.food-art span {
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.18));
}
.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: white;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.restaurant-body {
  padding: 20px;
}
.restaurant-body h3 {
  font-size: 1.35rem;
}
.meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 10px;
}
.drawer {
  position: fixed;
  right: -460px;
  top: 0;
  height: 100vh;
  width: min(450px, 100%);
  background: white;
  z-index: 40;
  padding: 28px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open {
  right: 0;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
}
.icon-btn {
  width: 38px;
  height: 38px;
  background: #f1ece5;
  border-radius: 50%;
  font-size: 1.5rem;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.cart-bottom {
  margin-top: auto;
}
.total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin: 20px 0;
}
.wide {
  width: 100%;
}
.cart-bottom small {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.4;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}
.modal-card {
  background: white;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal.hidden,
.hidden {
  display: none;
}
.close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.menu-list {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.menu-item button {
  align-self: center;
}
.ordering-modal-overlay {
  place-items: stretch;
  padding: 0;
  background: #fff;
}
.ordering-modal-card {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(20px, 2.2vw, 34px) clamp(20px, 3vw, 52px);
  box-shadow: none;
}
.ordering-modal-card > .close { top: clamp(20px, 2.2vw, 34px); right: clamp(20px, 3vw, 52px); z-index: 2; }
.ordering-modal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-right: 62px; }
.ordering-modal-head h2 { font-size: clamp(1.8rem, 2.35vw, 2.55rem); }
.ordering-modal-head > span { padding: 7px 10px; border-radius: 999px; background: #f2eee8; color: var(--muted); font-size: .75rem; font-weight: 800; }
.ordering-workspace { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(330px, .75fr); gap: clamp(16px, 2vw, 28px); height: calc(100% - 88px); margin-top: 20px; }
.ordering-catalog { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 16px; border: 1px solid var(--line); border-radius: 19px; background: #fffaf7; }
.menu-family-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-family-tabs button { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.menu-family-tabs button.active { border-color: var(--orange); background: #fff0ec; box-shadow: 0 0 0 1px var(--orange); }
.menu-family-tabs button > span { font-size: 1.15rem; }
.menu-family-tabs b { font-size: .86rem; }
.menu-family-tabs small { display: grid; place-items: center; min-width: 25px; height: 25px; border-radius: 999px; background: #f0ebe5; color: #746c65; font-size: .68rem; font-weight: 900; }
.menu-family-tabs button.active small { background: var(--orange); color: #fff; }
.menu-family-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 16px 2px 8px; }
.menu-family-heading .eyebrow { margin-bottom: 4px; }
.menu-family-heading h3 { margin: 0; font-size: 1.14rem; }
.menu-family-heading > span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.compact-menu-list { min-height: 0; margin-top: 0; padding: 2px 4px 2px 2px; overflow-y: auto; }
.compact-menu-list .menu-item { min-height: 92px; padding: 11px; background: #fff; }
.compact-menu-list .product img { width: 70px; height: 70px; }
.compact-menu-list .product-copy strong { font-size: .88rem; }
.compact-menu-list .product-copy small { margin-top: 3px; font-size: .7rem; }
.compact-menu-list .product-copy span { margin-top: 5px; font-size: .83rem; }
.compact-menu-list .primary { padding: 10px 14px; }
.ordering-cart { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 19px; background: #171f27; color: #fff; }
.ordering-cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ordering-cart-head .eyebrow { margin-bottom: 4px; color: #ffab69; }
.ordering-cart-head h3 { margin: 0; font-size: 1.25rem; }
.ordering-cart-head h3 span { display: inline-grid; place-items: center; min-width: 25px; height: 25px; margin-left: 5px; border-radius: 999px; background: #ff6539; font-size: .7rem; }
.clear-cart { padding: 4px 0; border: 0; border-bottom: 1px solid #f88b70; background: transparent; color: #ffae98; font-size: .68rem; font-weight: 800; cursor: pointer; }
.ordering-cart-lines { flex: 1; min-height: 0; overflow-y: auto; padding: 7px 15px; }
.ordering-cart-lines article { display: grid; grid-template-columns: 45px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.ordering-cart-lines article img { width: 45px; height: 45px; border-radius: 10px; object-fit: cover; }
.ordering-cart-lines article div { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.ordering-cart-lines article strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.ordering-cart-lines article span { color: #ffc46b; font-size: .73rem; font-weight: 800; }
.ordering-cart-lines article button { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.ordering-cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; padding: 30px 18px; color: #c9d2d8; text-align: center; }
.ordering-cart-empty > span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border: 1px dashed #6e7a82; border-radius: 50%; font-size: 1.4rem; }
.ordering-cart-empty p { max-width: 220px; margin: 7px 0 0; color: #8e9aa2; font-size: .73rem; line-height: 1.4; }
.ordering-cart-total { padding: 14px 18px 18px; border-top: 1px solid rgba(255,255,255,.11); background: #10171d; }
.ordering-cart-total > div { display: flex; justify-content: space-between; gap: 18px; font-size: .85rem; }
.ordering-cart-total > div strong { color: #ffc46b; font-size: 1.08rem; }
.ordering-cart-total small { display: block; margin: 7px 0 12px; color: #8e9aa2; font-size: .64rem; line-height: 1.35; }
.ordering-cart-total .primary:disabled { opacity: .38; cursor: not-allowed; }
.muted {
  color: var(--muted);
  line-height: 1.5;
}
.merchant-card label {
  display: block;
  font-weight: 600;
  margin: 18px 0;
}
.merchant-card input {
  display: block;
  margin-top: 7px;
}
.merchant-status {
  display: flex;
  justify-content: space-between;
  background: #eef8f2;
  border-radius: 14px;
  padding: 15px;
  margin-top: 18px;
}
.merchant-status strong {
  color: var(--green);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 20px;
  border-radius: 999px;
  z-index: 80;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
}
.empty p {
  color: var(--muted);
}
@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .intro {
    padding-top: 44px;
  }
  .ghost {
    display: none;
  }
  .ordering-modal-card { height: 100vh; height: 100dvh; padding: 18px; }
  .ordering-workspace { grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr); }
}
@media (max-width: 540px) {
  .topbar {
    height: 70px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }
  .finder-row {
    flex-direction: column;
  }
  .food-art {
    height: 150px;
  }
  h1 {
    font-size: 3.15rem;
  }
  .results {
    padding-top: 34px;
  }
  .modal-card {
    padding: 24px;
  }
  .ordering-modal-overlay { padding: 0; }
  .ordering-modal-card { width: 100%; height: 100vh; padding: 14px; border-radius: 0; }
  .ordering-modal-head { align-items: flex-start; flex-direction: column; gap: 5px; padding-right: 46px; }
  .ordering-modal-head > span { display: none; }
  .ordering-workspace { grid-template-columns: 1fr; grid-template-rows: minmax(310px, 1fr) minmax(220px, .68fr); height: calc(100% - 75px); gap: 9px; margin-top: 10px; }
  .ordering-catalog { padding: 10px; border-radius: 15px; }
  .menu-family-heading { margin-top: 10px; }
  .menu-family-heading h3,.menu-family-heading > span { display: none; }
  .compact-menu-list .menu-item { min-height: 76px; padding: 8px; }
  .compact-menu-list .product img { width: 56px; height: 56px; }
  .compact-menu-list .product-copy small { display: none; }
  .compact-menu-list .primary { padding: 9px 10px; font-size: .76rem; }
  .ordering-cart { border-radius: 15px; }
  .ordering-cart-head { padding: 12px 14px 9px; }
  .ordering-cart-lines { padding-inline: 12px; }
  .ordering-cart-empty { min-height: 88px; padding: 12px; }
  .ordering-cart-empty > span,.ordering-cart-empty p { display: none; }
  .ordering-cart-total { padding: 10px 14px 12px; }
  .ordering-cart-total small { display: none; }
  .restaurant:hover {
    transform: none;
  }
}

/* Écran d'accueil optimisé : les choix et les restaurants restent visibles sans défilement. */
@media (min-width: 901px) and (min-height: 700px) {
  .topbar { height: 68px; padding-inline: max(5vw, 24px); }
  .intro { min-height: 270px; padding-top: 24px; padding-bottom: 24px; gap: 30px; }
  .intro h1 { font-size: clamp(2.65rem, 4.25vw, 4.05rem); line-height: .98; }
  .intro .lead { max-width: 560px; margin-top: 10px; }
  .finder { padding: 15px 17px; }
  .fulfillment label { min-height: 54px; }
  .finder select { min-height: 46px; }
  .delivery-disclaimer { margin-top: 9px; padding: 8px 11px; font-size: .75rem; }
  .results { padding-top: 20px; padding-bottom: 36px; }
  .section-head { margin-bottom: 14px; }
  .section-head h2 { font-size: 2.15rem; }
  .food-art { height: 124px; }
  .restaurant-body { padding: 12px 16px 14px; }
}

/* Accueil compact */
.home-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #071524;
}
.home-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.intro {
  padding: 34px max(6vw, 24px) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 620px);
  gap: 38px;
  align-items: center;
  background: radial-gradient(circle at 88% 8%, #ffd65f 0 7%, transparent 25%),
    linear-gradient(140deg, #fffaf3, #ffede1);
}
.intro-copy { max-width:650px; }
.intro h1 { max-width:600px; font-size:clamp(2.5rem,4.5vw,4.25rem); }
.intro h1 em { color:var(--orange); }
.intro .lead { max-width:520px; margin:14px 0 0; color:var(--muted); font-size:clamp(1rem,1.5vw,1.12rem); line-height:1.5; }
.finder { max-width: 620px; }
.finder-title { font-weight: 800; margin: 0 0 12px; }
.zone-label { font-weight: 700; display: block; margin: 14px 0 7px; font-size: 0.86rem; }
.fulfillment { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fulfillment label { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fffaf7; }
.fulfillment label:has(input:checked) { border-color: var(--orange); background: #fff0ec; box-shadow: 0 0 0 1px var(--orange); }
.fulfillment input { accent-color: var(--orange); width: 18px; height: 18px; flex: 0 0 auto; }
.fulfillment span { display: flex; flex-direction: column; gap: 2px; }
.fulfillment b { font-size: 0.91rem; }
.fulfillment small { color: var(--muted); font-size: 0.72rem; }
.results { padding: 28px max(6vw, 24px) 70px; }
.food-art { height: 150px; }
.restaurant-body { padding: 16px 18px 18px; }
.restaurant-join {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding: 32px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 106, 50, .32), transparent 34%),
    linear-gradient(135deg, #071927 0%, #123c50 100%);
  box-shadow: 0 18px 45px rgba(7, 25, 39, .18);
}
.restaurant-join::after {
  content: "V";
  position: absolute;
  right: 22px;
  bottom: -58px;
  color: rgba(255, 255, 255, .045);
  font-size: 13rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}
.restaurant-join-copy,
.restaurant-join-benefits { position: relative; z-index: 1; }
.restaurant-join-copy > p {
  margin: 0 0 10px;
  color: #ff9b59;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.restaurant-join-copy h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}
.restaurant-join-copy > span {
  display: block;
  max-width: 620px;
  margin-top: 13px;
  color: #c9d8e1;
  font-size: .96rem;
  line-height: 1.55;
}
.restaurant-join-benefits { display: grid; gap: 9px; }
.restaurant-join-benefits > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  font-size: .88rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}
.restaurant-join-benefits b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #ff6a32;
  font-size: .67rem;
  letter-spacing: .04em;
}
.public-about-link {
  white-space: nowrap;
  font-size: .84rem;
  font-weight: 800;
}
.public-viaora-presentation {
  margin-top: 50px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 82px;
}
.public-viaora-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}
.public-viaora-heading h2 {
  margin: 0;
  color: #17212b;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
.public-viaora-heading > p {
  max-width: 600px;
  margin: 0;
  color: #66717a;
  font-size: 1rem;
  line-height: 1.65;
}
.public-viaora-presentation.compact { padding-bottom: 2px; }
.public-about-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.public-about-modules button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 15px;
  border: 1px solid #dfe5e8;
  border-radius: 16px;
  background: #fff;
  color: #17212b;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.public-about-modules button:hover { transform: translateY(-2px); border-color: #ff9b70; box-shadow: 0 10px 25px rgba(44, 32, 24, .08); }
.public-about-modules button > span { color: #ed6735; font-family: Georgia, serif; font-size: 1.35rem; }
.public-about-modules button > strong { font-size: .78rem; line-height: 1.25; }
.public-about-modules button > i { color: #f06a36; font-size: 1.15rem; font-style: normal; }
.public-about-overlay { z-index: 115; padding: 20px; }
.public-about-dialog {
  position: relative;
  width: min(1240px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 25px;
  background: #f8f4ee;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}
.public-about-dialog.alsace-about { background: #e9eceb; }
.public-about-territory { display: inline-flex; align-items: center; min-height: 34px; margin: 0 10px 14px 0; padding: 7px 13px; border: 1px solid rgba(177,132,71,.38); border-radius: 999px; background: #152c37; color: #f7ead5; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.alsace-about .public-about-tabs { display: inline-flex; vertical-align: top; background: #d8dddc; }
.alsace-about .public-about-tabs button.active { background: #a56f3a; box-shadow: 0 7px 16px rgba(117,75,35,.24); }
.alsace-about .public-about-page { box-shadow: inset 0 0 0 1px rgba(21,44,55,.08); }
.alsace-about .public-about-page figure { background: #152c37; }
.alsace-about .public-about-page figure::after { background: linear-gradient(0deg,rgba(21,44,55,.62),transparent 58%); }
.alsace-about .public-about-page > article h2 { color: #152c37; }
.public-about-france-principle { display: grid; gap: 3px; margin-top: 18px; padding: 12px 14px; border-left: 3px solid #a56f3a; border-radius: 0 10px 10px 0; background: #f5f0e8; color: #556168; font-size: .76rem; line-height: 1.4; }
.public-about-france-principle b { color: #152c37; }
.alsace-about .public-about-points span { background: #f3e9dc; color: #684723; }
.alsace-about .public-about-controls button { background: #152c37; }
.alsace-about .cockpit-logo { background: #a56f3a; }
.public-about-page.alsace-gallery-page { grid-template-columns: minmax(0,1.18fr) minmax(390px,.82fr); }
.alsace-food-mosaic { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 7px; min-width: 0; min-height: 0; padding: 8px; background: #152c37; }
.public-about-page .alsace-food-mosaic figure { position: relative; min-width: 0; min-height: 0; max-height: none; overflow: hidden; margin: 0; border-radius: 11px; background: #0f242f; }
.public-about-page .alsace-food-mosaic figure.featured { grid-column: span 2; grid-row: span 2; }
.public-about-page .alsace-food-mosaic figure::after { background: linear-gradient(0deg,rgba(8,25,34,.72),transparent 58%); }
.public-about-page .alsace-food-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.public-about-page.alsace-gallery-page > article { padding: 34px; }
.public-about-close { position: absolute; top: 16px; right: 16px; z-index: 3; background: rgba(255, 255, 255, .92); }
.public-about-tabs { display: flex; gap: 7px; width: max-content; margin: 0 48px 14px 0; padding: 5px; border-radius: 999px; background: #e8ecee; }
.public-about-tabs button { display: grid; place-items: center; width: 38px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: #6c7880; font-size: .72rem; font-weight: 900; cursor: pointer; }
.public-about-tabs button.active { background: #ff6533; color: #fff; box-shadow: 0 7px 16px rgba(255, 101, 51, .25); }
.public-about-page { display: grid; grid-template-columns: 1.08fr .92fr; height: min(610px, calc(100vh - 135px)); min-height: 480px; overflow: hidden; border-radius: 20px; background: #fff; touch-action: pan-y; }
.public-about-page figure { position: relative; min-height: 0; margin: 0; background: #0b2232; }
.public-about-page figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 24, 36, .52), transparent 56%); }
.public-about-page figure img { width: 100%; height: 100%; object-fit: cover; }
.public-about-page figcaption { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; color: #fff; font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.public-about-page.comparison-page { grid-template-columns: minmax(0, 1.38fr) minmax(370px, .62fr); }
.public-about-page.cockpits-page { grid-template-columns: minmax(0, 1.42fr) minmax(360px, .58fr); }
.public-about-comparison { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; align-items: stretch; min-height: 0; padding: 18px; background: #eef2f3; }
.public-about-comparison-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 13px; border: 1px solid #dfe5e7; border-radius: 17px; background: #fff; box-shadow: 0 10px 26px rgba(20,36,48,.07); }
.public-about-comparison-card > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; margin-bottom: 10px; }
.public-about-comparison-card > header span { padding: 5px 7px; border-radius: 6px; font-size: .58rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.public-about-comparison-card.before > header span { background: #fff0eb; color: #d84a2a; }
.public-about-comparison-card.after > header span { background: #e6f7f0; color: #14745a; }
.public-about-comparison-card > header strong { color: #4f5960; font-size: .63rem; text-align: right; }
.public-about-comparison .vision-chat,.public-about-comparison .vision-order-ui { flex: 1; min-height: 0; }
.public-about-comparison .vision-chat { padding: 13px; }
.public-about-comparison .chat-top { margin: -13px -13px 12px; }
.public-about-comparison .vision-chat p { max-width: 88%; font-size: .62rem; }
.public-about-comparison .chat-warning { font-size: .55rem; }
.public-about-comparison .vision-order-ui { padding: 14px; }
.comparison-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.comparison-metrics span { padding: 7px 5px; border-radius: 8px; background: #fff0eb; color: #8a6255; font-size: .55rem; font-weight: 800; line-height: 1.25; text-align: center; }
.comparison-metrics b { display: block; color: #d84a2a; font-size: .8rem; }
.comparison-metrics.positive span { background: #e8f7f1; color: #426d60; }
.comparison-metrics.positive b { color: #14745a; }
.public-about-cockpits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; min-height: 0; padding: 18px; background: linear-gradient(145deg,#eef3f5,#e7ecef); }
.cockpit-preview { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #dbe2e5; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(20,36,48,.09); }
.cockpit-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-bottom: 1px solid #e7ecee; }
.cockpit-preview > header > div { display: flex; align-items: center; gap: 9px; }
.cockpit-preview > header > div > div { display: flex; flex-direction: column; gap: 2px; }
.cockpit-preview > header small { color: #7e8990; font-size: .5rem; font-weight: 900; letter-spacing: .12em; }
.cockpit-preview > header strong { color: #17212b; font-size: .76rem; }
.cockpit-preview > header > b { padding: 5px 7px; border-radius: 999px; background: #e8f6f0; color: #28755d; font-size: .55rem; }
.cockpit-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #ff6539; color: #fff; font-family: Georgia,serif; font-weight: 900; }
.cockpit-welcome { display: flex; flex-direction: column; gap: 4px; padding: 15px 14px 10px; }
.cockpit-welcome span { color: #77828a; font-size: .62rem; }
.cockpit-welcome strong { color: #17212b; font-size: 1rem; }
.cockpit-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 0 12px 12px; }
.cockpit-kpis article { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; border-radius: 10px; background: #f4f7f8; }
.cockpit-kpis small { color: #7d8990; font-size: .5rem; }
.cockpit-kpis b { color: #17212b; font-size: 1rem; }
.cockpit-kpis span { color: #268063; font-size: .48rem; font-weight: 800; }
.revenue-kpis article { border: 1px solid #e7ecee; background: linear-gradient(145deg,#fff,#f5f8f8); }
.revenue-kpis article:first-child { border-color: #ffd7c7; background: linear-gradient(145deg,#fff7f2,#fff); }
.revenue-kpis article:last-child { border-color: #0c2231; background: #0c2231; }
.revenue-kpis b { font-size: 1.08rem; }
.revenue-kpis article:last-child small { color: #b7c5cd; }
.revenue-kpis article:last-child b { color: #fff; }
.revenue-kpis article:last-child span { color: #ffb36f; }
.cockpit-orders { margin: 0 12px; padding: 11px; border: 1px solid #e2e8ea; border-radius: 12px; }
.cockpit-orders > div { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: .58rem; }
.cockpit-orders > div span { color: #e96637; font-weight: 800; }
.cockpit-orders article { display: grid; grid-template-columns: 36px 1fr auto; gap: 7px; align-items: center; padding: 8px 0; border-top: 1px solid #edf0f1; }
.cockpit-orders article > i { color: #e96637; font-size: .58rem; font-style: normal; font-weight: 900; }
.cockpit-orders article > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cockpit-orders article > span b { overflow: hidden; color: #253039; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.cockpit-orders article > span small { color: #849098; font-size: .48rem; }
.cockpit-orders em { padding: 4px 5px; border-radius: 5px; background: #fff0e9; color: #da6136; font-size: .46rem; font-style: normal; font-weight: 900; }
.cockpit-orders em.ready { background: #e7f7f0; color: #24775c; }
.cockpit-preview > nav { display: flex; justify-content: space-around; gap: 4px; margin-top: auto; padding: 11px 8px; border-top: 1px solid #e8edef; color: #849098; font-size: .5rem; font-weight: 800; }
.cockpit-preview > nav .active { color: #ed6737; }
.customer-active-order { margin: 14px 14px 10px; padding: 14px; border-radius: 13px; background: #0c2231; color: #fff; }
.customer-active-order > span { color: #ffad6f; font-size: .48rem; font-weight: 900; letter-spacing: .12em; }
.customer-active-order > div { display: flex; justify-content: space-between; margin-top: 7px; }
.customer-active-order > div strong { font-family: Georgia,serif; font-size: 1.15rem; }
.customer-active-order > div b { color: #ffc265; font-size: .8rem; }
.customer-active-order small { display: block; margin-top: 5px; color: #aebcc5; font-size: .52rem; }
.customer-order-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin: 0 14px 10px; }
.customer-order-track span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #9aa4aa; font-size: .48rem; }
.customer-order-track i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #cbd2d6; border-radius: 50%; font-style: normal; }
.customer-order-track .done { color: #28775f; }
.customer-order-track .done i { border-color: #2a8065; background: #2a8065; color: #fff; }
.customer-order-track .active { color: #e56738; }
.customer-order-track .active i { border-color: #ff6a38; background: #ff6a38; color: #fff; }
.customer-space-cards { display: grid; gap: 6px; margin: 0 12px; }
.customer-space-cards article { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 9px; border: 1px solid #e3e8ea; border-radius: 10px; }
.customer-space-cards article > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff0e9; color: #dd6438; font-size: .65rem; font-weight: 900; }
.customer-space-cards article > div { display: flex; flex-direction: column; gap: 2px; }
.customer-space-cards article strong { color: #27323a; font-size: .58rem; }
.customer-space-cards article small { color: #879198; font-size: .48rem; }
.customer-space-cards article > b { color: #e66738; font-size: .68rem; }
.public-about-page.cockpits-page > article { padding: 32px; }
.public-about-page.cockpits-page > article h2 { font-size: clamp(2.2rem,3.2vw,3.55rem); }
.public-about-page.cockpits-page > article > p:not(.eyebrow) { margin-top: 15px; line-height: 1.55; }
.public-about-page.cockpits-page .public-about-points { margin-top: 18px; }
.public-about-page.cockpits-page .public-about-controls { margin-top: 24px; }
.public-about-page > article { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.public-about-page.comparison-page > article { padding: 32px; }
.public-about-page.comparison-page > article h2 { font-size: clamp(2.25rem,3.3vw,3.65rem); }
.public-about-page.comparison-page > article > p:not(.eyebrow) { margin-top: 15px; line-height: 1.55; }
.public-about-page.comparison-page .public-about-points { margin-top: 18px; }
.public-about-page.comparison-page .public-about-controls { margin-top: 24px; }
.public-about-page > article h2 { color: #17212b; font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.public-about-page > article > p:not(.eyebrow) { margin: 19px 0 0; color: #65717a; line-height: 1.65; }
.public-about-points { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.public-about-points span { padding: 8px 10px; border-radius: 999px; background: #fff0e6; color: #7b4934; font-size: .7rem; font-weight: 800; }
.public-about-controls { display: flex; align-items: center; gap: 12px; margin-top: 35px; }
.public-about-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #0b2232; color: #fff; font-size: 1.05rem; cursor: pointer; }
.public-about-controls span { color: #758089; font-size: .72rem; font-weight: 800; }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy { max-width: 760px; }
  .finder { max-width: none; }
  .restaurant-join { grid-template-columns: 1fr; gap: 24px; }
  .public-viaora-heading { grid-template-columns: 1fr; gap: 10px; }
  .public-about-modules { grid-template-columns: 1fr 1fr; }
  .public-about-page { grid-template-columns: 1fr; }
  .public-about-page.comparison-page { grid-template-columns: 1fr; }
  .public-about-page.cockpits-page { grid-template-columns: 1fr; }
  .public-about-page.alsace-gallery-page { grid-template-columns: 1fr; }
  .public-about-page { height: auto; min-height: 0; }
  .alsace-food-mosaic { min-height: 430px; }
  .public-about-comparison { min-height: 350px; }
  .public-about-page figure { min-height: 270px; max-height: 36vh; }
  .public-about-page > article { padding: 28px; }
  .territory-grid { grid-template-columns: 1fr 1fr; }
  .territory-card, .territory-card:nth-child(4), .territory-card:nth-child(5) { grid-column: auto; }
  .territory-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .topbar { height: 66px; padding: 0 16px; }
  .brand { font-size: 1.1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .admin-territory-ribbon { align-items: flex-start; flex-direction: column; gap: 3px; padding: 9px 16px; }
  .admin-territory-ribbon small { display: none; }
  .admin-territory-ribbon button { margin-top: 2px; }
  .cart-btn { padding: 8px 11px; }
  .home-banner { height:auto; aspect-ratio:3 / 1; }
  .intro { padding: 24px 16px 20px; gap: 18px; }
  .intro .eyebrow { margin-bottom: 8px; }
  .intro h1 { font-size: 2.45rem; }
  .intro .lead { margin-top: 10px; font-size: 0.95rem; }
  .finder { padding: 14px; border-radius: 18px; }
  .territory-preview-panel { grid-template-columns: 1fr; }
  .territory-preview-panel .territory-preview-flag { grid-row: auto; }
  .territory-preview-panel .primary { grid-column: auto; width: 100%; }
  .finder-title { font-size: 0.92rem; }
  .fulfillment { gap: 7px; }
  .fulfillment label { padding: 9px; min-height: 58px; }
  .fulfillment small { font-size: 0.67rem; }
  .results { padding: 22px 16px 60px; }
  .restaurant-join { margin-top: 18px; padding: 24px 20px; border-radius: 20px; }
  .restaurant-join-copy h2 { font-size: 1.65rem; }
  .restaurant-join-copy > span { font-size: .9rem; }
  .public-viaora-presentation { margin-top: 36px; padding-top: 30px; scroll-margin-top: 66px; }
  .public-viaora-heading { margin-bottom: 16px; }
  .public-viaora-heading h2 { font-size: 2.2rem; }
  .public-viaora-heading > p { font-size: .92rem; }
  .public-about-modules { grid-template-columns: 1fr; gap: 8px; }
  .public-about-modules button { min-height: 68px; padding: 12px; }
  .public-about-overlay { align-items: stretch; padding: 0; overflow: hidden; }
  .public-about-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border-radius: 0;
  }
  .public-about-territory { min-height: 30px; margin: 0 42px 8px 0; padding: 5px 10px; font-size: .61rem; }
  .public-about-close { position: fixed; top: 10px; right: 10px; width: 34px; height: 34px; }
  .public-about-tabs { width: fit-content; max-width: calc(100% - 44px); margin: 0 44px 8px 0; padding: 3px; }
  .public-about-tabs button { width: 34px; height: 30px; }
  .public-about-page,
  .public-about-page.comparison-page,
  .public-about-page.cockpits-page,
  .public-about-page.alsace-gallery-page { width: 100%; min-width: 0; overflow: hidden; border-radius: 14px; }
  .public-about-page figure { min-height: 145px; max-height: 22vh; }
  .public-about-page .alsace-food-mosaic figure { min-height: 0; max-height: none; }
  .alsace-food-mosaic {
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-template-rows: repeat(2, minmax(0,1fr));
    min-height: 172px;
    max-height: 24vh;
    gap: 4px;
    padding: 5px;
  }
  .public-about-page .alsace-food-mosaic figure.featured { grid-column: auto; grid-row: auto; }
  .public-about-comparison { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; height: 178px; min-height: 0; padding: 6px; overflow: hidden; }
  .public-about-comparison-card { min-width: 0; padding: 6px; border-radius: 10px; overflow: hidden; }
  .public-about-comparison-card > header { min-height: 22px; margin-bottom: 5px; }
  .public-about-comparison-card > header span { padding: 4px; font-size: .48rem; }
  .public-about-comparison .vision-chat,.public-about-comparison .vision-order-ui { min-height: 0; padding: 7px; border-radius: 8px; }
  .public-about-comparison .chat-top { margin: -7px -7px 6px; padding: 5px 7px; font-size: .45rem; }
  .public-about-comparison .vision-chat p { margin: 3px 0; padding: 4px 5px; font-size: .48rem; line-height: 1.2; }
  .public-about-comparison .vision-chat p.small { display: none; }
  .public-about-comparison .chat-warning { display: none; }
  .public-about-comparison .order-ui-product { padding: 7px 0; }
  .public-about-comparison .order-ui-address { display: none; }
  .public-about-comparison .order-ui-track { gap: 2px; margin-top: 7px; }
  .public-about-comparison .order-ui-track span { font-size: .43rem; }
  .comparison-metrics { display: none; }
  .public-about-comparison-card > header strong { display: none; }
  .public-about-cockpits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; height: 185px; min-height: 0; padding: 6px; overflow: hidden; }
  .cockpit-preview { min-width: 0; border-radius: 10px; }
  .cockpit-preview > header { gap: 4px; padding: 6px; }
  .cockpit-preview > header > div { gap: 4px; min-width: 0; }
  .cockpit-preview > header > b { display: none; }
  .cockpit-logo { width: 22px; height: 22px; border-radius: 6px; font-size: .65rem; }
  .cockpit-welcome { gap: 1px; padding: 7px; }
  .cockpit-welcome span,.cockpit-welcome small { display: none; }
  .cockpit-welcome strong { font-size: .63rem; }
  .cockpit-kpis { grid-template-columns: 1fr; gap: 3px; padding: 0 6px; }
  .cockpit-kpis article { display: grid; grid-template-columns: 1fr auto; gap: 2px; padding: 5px; }
  .cockpit-kpis article:nth-child(3) { display: none; }
  .cockpit-kpis small { font-size: .42rem; }
  .cockpit-kpis b { font-size: .62rem; }
  .cockpit-kpis span { display: none; }
  .cockpit-orders,.cockpit-preview > nav,.customer-space-cards { display: none; }
  .customer-active-order { margin: 7px 6px 5px; padding: 7px; }
  .customer-active-order > span { font-size: .4rem; }
  .customer-active-order > div { margin-top: 3px; }
  .customer-active-order > div strong { font-size: .72rem; }
  .customer-active-product { display: none !important; }
  .customer-order-track { gap: 2px; margin: 8px 5px; }
  .customer-order-track span { font-size: .4rem; }
  .customer-order-track i { width: 18px; height: 18px; }
  .public-about-page > article,
  .public-about-page.comparison-page > article,
  .public-about-page.cockpits-page > article,
  .public-about-page.alsace-gallery-page > article { min-width: 0; padding: 15px 14px 13px; }
  .public-about-page > article h2,
  .public-about-page.comparison-page > article h2,
  .public-about-page.cockpits-page > article h2 { font-size: clamp(1.48rem,7vw,1.75rem); line-height: 1.02; }
  .public-about-page > article > p.eyebrow { margin-bottom: 6px; font-size: .62rem; }
  .public-about-page > article > p:not(.eyebrow),
  .public-about-page.comparison-page > article > p:not(.eyebrow),
  .public-about-page.cockpits-page > article > p:not(.eyebrow) { margin-top: 9px; font-size: .82rem; line-height: 1.38; }
  .public-about-france-principle { margin-top: 9px; padding: 7px 9px; font-size: .68rem; line-height: 1.28; }
  .public-about-points { gap: 4px; margin-top: 10px; }
  .public-about-points span { padding: 6px 7px; font-size: .6rem; }
  .public-about-controls { margin-top: 12px; }
  .public-about-controls button { width: 34px; height: 34px; }
  .territory-empty-state { grid-template-columns: 1fr; padding: 22px 18px; }
  .territory-empty-state > span { justify-self: start; }
  .territory-picker-overlay { padding: 10px; }
  .territory-picker { max-height: calc(100vh - 20px); padding: 24px 16px; border-radius: 20px; }
  .territory-picker-head { gap: 12px; }
  .territory-picker-head h2 { font-size: 2.15rem; }
  .territory-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
  .territory-card, .territory-card:last-child { grid-column: auto; min-height: 145px; padding: 16px; }
  .section-head { align-items: center; gap: 10px; flex-direction: row; }
  .section-head h2 { font-size: 1.45rem; }
  .section-head .eyebrow { margin-bottom: 6px; }
  .open-pill { font-size: 0.72rem; padding: 7px 9px; }
.food-art { height: 138px; }
}

.delivery-disclaimer {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: #fff7dd;
  color: #69551d;
  font-size: 0.79rem;
  line-height: 1.45;
}

/* Verrouillage desktop : une seule vue, sans défilement de la page. */
@media (min-width: 901px) and (min-height: 700px) {
  html, body { height: auto; overflow: auto; }
  .viaora { min-height: 100dvh; display: flex; flex-direction: column; overflow: visible; }
  .topbar { height: 64px; flex: 0 0 64px; }
  .home-banner { flex:0 0 auto; }
  .intro { min-height: 0; height: 238px; flex: 0 0 238px; padding: 14px max(6vw, 24px); gap: 28px; }
  .intro .eyebrow { margin-bottom: 7px; }
  .intro h1 { font-size: clamp(2.55rem, 3.8vw, 3.65rem); line-height: .98; }
  .intro .lead { margin-top: 9px; font-size: 1rem; line-height: 1.38; }
  .finder { padding: 13px 16px; border-radius: 18px; }
  .finder-title { margin-bottom: 9px; font-size: .9rem; }
  .fulfillment label { min-height: 48px; padding-block: 7px; }
  .zone-label { margin-top: 10px; margin-bottom: 5px; }
  .finder select { min-height: 42px; }
  .delivery-disclaimer { margin-top: 7px; padding: 7px 10px; font-size: .7rem; line-height: 1.3; }
  .results { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px max(6vw, 24px) 18px; }
  .section-head { margin-bottom: 10px; }
  .section-head .eyebrow { margin-bottom: 5px; }
  .section-head h2 { font-size: 1.85rem; }
  .food-art { height: 112px; }
  .restaurant-body { padding: 10px 15px 12px; }
  .restaurant-body h3 { font-size: 1.18rem; }
  .restaurant-body .meta { margin-top: 7px; font-size: .72rem; }
}
.delivery-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
}

/* Navigation d’accueil par vues : aucune information essentielle sous la ligne de flottaison. */
.home-workspace {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  background: #f7f3ed;
}
.home-tabs {
  z-index: 3;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  min-height: 54px;
  padding: 7px max(5vw, 24px);
  border-bottom: 1px solid #e5ddd3;
  background: rgba(255, 250, 243, .97);
}
.home-tabs button {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #5f5b56;
  font-size: .79rem;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.home-tabs button:hover { background: #f1ebe3; color: #201f1d; }
.home-tabs button.active { background: #172a36; color: #fff; box-shadow: 0 7px 18px rgba(10, 34, 49, .16); }
.home-tabs .home-tabs-about { margin-left: auto; color: #e85e31; }
.home-tabs-about span { margin-left: 4px; }
.home-panel { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.home-landing { position: relative; width: 100%; height: 100%; min-height: 460px; overflow: hidden; background: #071524; }
.home-landing > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-landing-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,19,29,.9) 0%, rgba(5,19,29,.64) 36%, rgba(5,19,29,.06) 70%); }
.home-landing-copy { position: absolute; z-index: 1; top: 50%; left: max(6vw, 28px); width: min(590px, calc(100% - 56px)); transform: translateY(-50%); color: #fff; }
.home-landing-copy .eyebrow { margin-top: 16px; color: #ffc66f; }
.home-landing-copy h1 { max-width: 570px; font-size: clamp(3rem, 5vw, 5rem); line-height: .94; text-shadow: 0 5px 24px rgba(0,0,0,.24); }
.home-landing-copy h1 em { color: #ff7148; }
.home-landing-copy > p:not(.eyebrow) { max-width: 520px; margin: 18px 0 0; color: #ecf1f3; font-size: 1.04rem; line-height: 1.5; }
.home-territory-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: rgba(8,31,44,.67); font-size: .75rem; font-weight: 900; backdrop-filter: blur(10px); }
.home-landing-actions { display: flex; gap: 10px; margin-top: 24px; }
.home-secondary { padding: 12px 17px; border: 1px solid rgba(255,255,255,.42); border-radius: 13px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; cursor: pointer; backdrop-filter: blur(8px); }
.restaurant-browser { display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); gap: 24px; width: 100%; height: 100%; min-height: 0; padding: 22px max(5vw, 24px); background: radial-gradient(circle at 95% 8%, #ffd65f 0 5%, transparent 22%), linear-gradient(140deg,#fffaf3,#ffede1); }
.restaurant-browser.private-territory-layout { grid-template-columns: minmax(0, 1fr); align-content: start; overflow-y: auto; padding-inline: max(2.25vw, 22px); }
.private-territory-layout .restaurant-filters { display: none; }
.private-territory-layout .restaurant-results-pane { align-self: start; width: 100%; }
.private-territory-layout .territory-prospect-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.restaurant-filters { align-self: center; width: 100%; max-width: none; padding: 17px; }
.restaurant-filter-territory { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid #ece4da; }
.restaurant-filter-territory > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #eef4f6; font-size: 1.35rem; }
.restaurant-filter-territory > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.restaurant-filter-territory small { color: #7b7771; font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.restaurant-filter-territory strong { font-size: .91rem; }
.restaurant-filter-territory button { border: 0; background: transparent; color: #e75f35; font-size: .7rem; font-weight: 900; cursor: pointer; }
.restaurant-results-pane { align-self: center; min-width: 0; }
.restaurant-results-pane .section-head { margin-bottom: 13px; }
.restaurant-results-pane .cards { grid-template-columns: minmax(280px, 580px); }
.restaurant-results-pane .restaurant { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.2fr); }
.restaurant-results-pane .food-art { height: 100%; min-height: 250px; background-position: center; background-size: cover; }
.restaurant-results-pane .restaurant-body { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.restaurant-open-menu { align-self: flex-start; margin-top: 18px; padding: 10px 15px; }
.restaurant-results-pane .territory-empty-state { background: rgba(255,255,255,.88); }
.home-professional-panel { display: grid; width: 100%; height: 100%; place-items: center; padding: 26px max(6vw,24px); background: linear-gradient(140deg,#fffaf3,#ffede1); }
.home-professional-panel .restaurant-join { width: min(1120px,100%); margin: 0; }
.home-professional-panel .restaurant-join-copy .primary { margin-top: 22px; }

/* Aperçus produit et paiement de démonstration. */
.cockpit-welcome > small { color: #a0a8ad; font-size: .46rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cockpit-orders article { grid-template-columns: 44px minmax(0,1fr) auto auto; }
.cockpit-orders article > img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; }
.cockpit-order-amount { color: #17212b; font-size: .62rem; white-space: nowrap; }
.customer-active-product { display: grid !important; grid-template-columns: 46px minmax(0,1fr) auto; gap: 9px; align-items: center; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.14); }
.customer-active-product img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.customer-active-product p { display: flex; min-width: 0; flex-direction: column; gap: 3px; margin: 0; }
.customer-active-product p strong { overflow: hidden; font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-active-product p small { margin: 0; color: #aebcc5; font-size: .47rem; }
.customer-active-product em { padding: 4px 6px; border-radius: 999px; background: #287e62; color: #fff; font-size: .44rem; font-style: normal; font-weight: 900; }
.customer-space-cards .payment-card { background: #fbfdfc; }
.customer-space-cards .payment-card > b { color: #218064; white-space: nowrap; }

@media (min-width: 901px) {
  html, body { width: 100%; height: 100%; overflow: hidden; }
  .viaora { display: flex; width: 100%; height: 100dvh; min-height: 0; flex-direction: column; overflow: hidden; }
  .topbar { position: relative; flex: 0 0 64px; height: 64px; }
  .admin-territory-ribbon { flex: 0 0 auto; }
}

@media (max-width: 900px) {
  .home-workspace { min-height: calc(100dvh - 66px); }
  .home-tabs { gap: 3px; overflow-x: auto; padding-inline: 12px; scrollbar-width: none; }
  .home-tabs::-webkit-scrollbar { display: none; }
  .home-tabs .home-tabs-about { margin-left: 0; }
  .home-panel { min-height: calc(100dvh - 120px); }
  .home-landing { min-height: calc(100dvh - 120px); }
  .restaurant-browser { grid-template-columns: 1fr; align-content: start; gap: 16px; overflow: auto; padding: 16px; }
  .private-territory-layout .territory-prospect-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .restaurant-filters { align-self: auto; }
  .restaurant-results-pane { align-self: auto; }
  .restaurant-results-pane .restaurant { grid-template-columns: minmax(130px,.7fr) minmax(0,1.3fr); }
  .restaurant-results-pane .food-art { min-height: 210px; }
}

@media (max-width: 540px) {
  .home-tabs { min-height: 48px; }
  .home-tabs button { min-height: 34px; padding: 7px 10px; font-size: .7rem; }
  .home-tabs .home-tabs-about { display: none; }
  .home-landing-copy { left: 18px; width: calc(100% - 36px); }
  .home-landing-copy h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .home-landing-copy > p:not(.eyebrow) { font-size: .9rem; }
  .home-landing-actions { flex-direction: column; align-items: flex-start; }
  .restaurant-browser { padding: 12px; }
  .restaurant-results-pane .restaurant { grid-template-columns: 1fr; }
  .restaurant-results-pane .food-art { min-height: 135px; }
  .restaurant-results-pane .restaurant-body { padding: 14px; }
  .restaurant-open-menu { margin-top: 12px; }
  .home-professional-panel { align-items: start; overflow: auto; padding: 14px 12px; }
}
.delivery-confirmation input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--orange);
}
