/* Les Deux Bêtes — guide de marque : noir #1B1B1B, blanc, orange #F9B23B.
   Typographie alignée sur lesdeuxbetes.com (Jost) ; touche manuscrite (Caveat) pour le slogan et les accroches. */
:root {
  --noir: #1B1B1B; --encre: #202020; --blanc: #fff; --orange: #F9B23B; --orange-d: #E09A1F; --orange-l: #FFF6E3;
  --gris: #5f5d5d; --gris-l: #ececec; --fond: #F5F5F4; --ligne: #e3e1de; --rouge: #C62828; --vert: #2E7D32;
  --r: 10px; --ombre: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  --titre: 'Jost', 'Segoe UI', Arial, sans-serif;
  --fort: 'Jost', 'Segoe UI', Arial, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 16px/1.55 var(--titre); }
a { color: inherit; }
.hidden { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.script { font-family: var(--script); font-weight: 700; color: var(--orange); font-size: 26px; line-height: 1; margin: 0 0 6px; }

/* ---------- Bandeau et en-tête (comme lesdeuxbetes.com : bandeau sombre, logo centré, menu) */
.topbar { background: var(--noir); color: var(--orange); font-size: 13px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 7px 16px; }
.topbar a { color: var(--blanc); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange); }
.top { background: var(--blanc); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px clamp(16px, 4vw, 40px) 0; border-bottom: 1px solid var(--ligne); }
.brand { display: block; line-height: 0; border-radius: 50%; transition: transform .25s ease; }
.brand:hover { transform: rotate(-6deg) scale(1.04); }
.brand img { width: 96px; height: 96px; }
.topnav { display: flex; gap: clamp(14px, 3vw, 34px); flex-wrap: wrap; justify-content: center; }
.topnav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 2px 12px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.topnav a:hover { color: var(--orange-d); }
.topnav a.on { color: var(--orange-d); border-bottom-color: var(--orange); }
@media (max-width: 600px) {
  .top { gap: 4px; padding-top: 12px; }
  .brand img { width: 76px; height: 76px; }
  .topnav { flex-wrap: nowrap; gap: 22px; }
  .topnav .lg { display: none; }
  .topnav { gap: 16px; }
  .topnav a { font-size: 14px; white-space: nowrap; padding: 8px 0 10px; }
  .topbar { gap: 4px 12px; font-size: 12px; }
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 120px; }
h1 { font-family: var(--titre); font-weight: 600; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; margin: 0 0 8px; letter-spacing: -.3px; }
.lead { color: var(--gris); margin: 0 0 24px; font-size: 17px; }

/* ---------- Bandeaux ardoise (accueil et tête de formulaire) */
.hero, .page-head {
  position: relative; overflow: hidden; color: var(--blanc); border-radius: 14px; margin-bottom: 26px;
  /* l'image est agrandie et calée à gauche pour que son logo central sorte du cadre : seules les illustrations restent */
  background: linear-gradient(90deg, rgba(27,27,27,.95) 0%, rgba(27,27,27,.85) 50%, rgba(27,27,27,.45) 100%), url('/img/fond-ardoise.jpg') 0 35% / max(230%, 1500px) auto no-repeat var(--noir);
}
.hero { padding: clamp(36px, 7vw, 76px) clamp(22px, 5vw, 56px); }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); max-width: 640px; }
.hero .script { font-size: clamp(28px, 3.4vw, 36px); }
.page-head { padding: 22px clamp(20px, 4vw, 40px) 24px; }
.hero .lead, .page-head .lead { color: #d9d6d0; margin: 0; max-width: 620px; }
.page-head .script { margin-top: 14px; font-size: 24px; }

/* ---------- Choix du type */
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.type-card { position: relative; text-align: left; background: var(--blanc); border: 1px solid var(--ligne); border-top: 4px solid var(--orange); border-radius: var(--r); padding: 24px 22px 22px; cursor: pointer; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.type-card:hover, .type-card:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.12); outline: none; }
.type-card .tc-kicker { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; color: var(--orange-d); text-transform: uppercase; }
.type-card h2 { margin: 0; font-weight: 600; font-size: 24px; line-height: 1.15; }
.type-card p { margin: 0; color: var(--gris); font-size: 15px; }
.type-card ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; display: grid; gap: 4px; }
.type-card li::before { content: '▸ '; color: var(--orange-d); }
.type-card .tc-cta { margin-top: auto; padding: 11px 18px; align-self: flex-start; background: var(--orange); border-radius: 6px; font-weight: 600; transition: background .15s; }
.type-card:hover .tc-cta { background: var(--orange-d); }

/* ---------- Mise en page formulaire */
.back { background: none; border: 0; color: #cfcbc4; padding: 0; cursor: pointer; font-size: 14px; }
.back:hover { color: var(--orange); text-decoration: underline; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .col-side { display: none; } }

.card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--ombre); padding: 22px clamp(16px, 3vw, 26px); margin-bottom: 20px; }
.card.has-error { box-shadow: 0 0 0 2px var(--rouge), var(--ombre); }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.card h2 .num { background: var(--noir); color: var(--orange); width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.card .hint { color: var(--gris); font-size: 14px; margin: 0 0 16px; }
.rules { background: var(--orange-l); border-left: 4px solid var(--orange); padding: 10px 14px; border-radius: 0 6px 6px 0; font-size: 14px; margin: 0 0 16px; }
.rules b { font-weight: 700; }

/* ---------- Champs */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label, .lbl { font-weight: 600; font-size: 14px; }
.field .req { color: var(--orange-d); }
.field input, .field select, .field textarea { border: 1.5px solid var(--ligne); border-radius: 8px; padding: 11px 12px; background: var(--blanc); min-height: 46px; width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(249,178,59,.45); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rouge); }
.ferr { color: var(--rouge); font-size: 13px; font-weight: 600; }

/* ---------- Catalogue */
.cat-title { font-weight: 600; font-size: 13px; letter-spacing: 1.6px; color: var(--encre); text-transform: uppercase; margin: 22px 0 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cat-title:first-of-type { margin-top: 4px; }
.cat-title .price { font-family: var(--titre); letter-spacing: 0; text-transform: none; font-size: 14px; background: var(--noir); color: var(--orange); padding: 2px 10px; border-radius: 20px; font-weight: 700; }
.cat-sub { color: var(--gris); font-size: 13px; margin: 0 0 8px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--gris-l); align-items: center; }
.item.on { background: linear-gradient(90deg, var(--orange-l), transparent 70%); margin: 0 -12px; padding: 14px 12px; border-radius: 6px; }
.item-name { font-weight: 600; font-size: 16px; }
.item-desc { color: var(--gris); font-size: 14px; line-height: 1.35; }
.item-ctrls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.item-extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (max-width: 600px) { .item { grid-template-columns: 1fr; } .item-ctrls { justify-content: flex-start; } }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: 8px; overflow: hidden; background: var(--blanc); }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--blanc); font-size: 20px; cursor: pointer; font-weight: 700; }
.stepper button:hover { background: var(--orange-l); }
.stepper button:disabled { color: #bbb; cursor: default; background: var(--blanc); }
.stepper input { width: 52px; height: 40px; border: 0; border-left: 1px solid var(--gris-l); border-right: 1px solid var(--gris-l); text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fmt { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--gris); }
.fmt span b { color: var(--noir); }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--noir); }
.minq { font-size: 12px; color: var(--gris); }

.choices { grid-column: 1 / -1; display: grid; gap: 10px; background: var(--fond); border-radius: 8px; padding: 12px; }
.choices .lbl { display: flex; justify-content: space-between; }
.choices .lbl small { color: var(--gris); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--ligne); background: var(--blanc); border-radius: 20px; padding: 6px 12px; font-size: 13px; cursor: pointer; line-height: 1.25; text-align: left; }
.chip[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.chip:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Mode / options en tuiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { position: relative; border: 2px solid var(--ligne); border-radius: var(--r); padding: 14px 16px; cursor: pointer; background: var(--blanc); display: flex; flex-direction: column; gap: 2px; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile b { font-size: 16px; }
.tile small { color: var(--gris); font-size: 13px; }
.tile:has(input:checked) { border-color: var(--noir); box-shadow: inset 0 0 0 1px var(--noir); background: var(--orange-l); }
.tile:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(249,178,59,.6); }
.tile .tprice { position: absolute; top: 12px; right: 14px; font-weight: 700; font-size: 13px; }

/* ---------- Calendrier */
.cal { border: 1.5px solid var(--ligne); border-radius: var(--r); padding: 12px; max-width: 420px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head b { text-transform: capitalize; }
.cal-head button { border: 0; background: var(--fond); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 11px; color: var(--gris); font-weight: 700; text-transform: uppercase; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--blanc); cursor: pointer; font-weight: 700; font-size: 15px; }
.cal-grid button.ok { background: var(--orange-l); }
.cal-grid button.ok:hover { background: var(--orange); }
.cal-grid button.sel { background: var(--noir); color: var(--orange); }
.cal-grid button:disabled { color: #c4c0b8; font-weight: 400; cursor: not-allowed; background: transparent; text-decoration: line-through; text-decoration-color: #e0dcd4; }
.cal-legend { font-size: 12px; color: var(--gris); margin-top: 8px; display: flex; gap: 14px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; background: var(--orange-l); }
.datetime { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 20px; }
@media (max-width: 760px) { .datetime { grid-template-columns: 1fr; } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; align-content: start; }
.slot { border: 1.5px solid var(--ligne); background: var(--blanc); border-radius: 8px; padding: 9px 0; cursor: pointer; font-weight: 700; }
.slot[aria-pressed="true"] { background: var(--noir); color: var(--orange); border-color: var(--noir); }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.sel-date { font-weight: 700; margin-bottom: 8px; }
.muted { color: var(--gris); font-size: 14px; }

/* ---------- Résumé */
.summary { position: sticky; top: 20px; background: var(--noir); color: var(--blanc); border-radius: var(--r); padding: 22px; box-shadow: var(--ombre); }
.summary h3 { margin: 0 0 12px; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.sum-lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: 14px; max-height: 38vh; overflow: auto; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; }
.sum-lines li small { display: block; color: #aaa; }
.sum-empty { color: #aaa; font-size: 14px; margin: 0 0 12px; }
.sum-when { font-size: 14px; border-top: 1px solid #333; padding-top: 10px; margin-bottom: 10px; color: #ddd; }
.sum-tot { border-top: 1px solid #333; padding-top: 10px; display: grid; gap: 4px; font-size: 14px; }
.sum-tot div { display: flex; justify-content: space-between; }
.sum-tot .grand { font-size: 22px; font-weight: 700; color: var(--orange); margin-top: 6px; }
.sum-note { font-size: 12px; color: #aaa; margin: 12px 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 6px; padding: 15px 18px; background: var(--orange); color: var(--noir); font-weight: 600; font-size: 16px; letter-spacing: .2px; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--orange-d); }
.btn:active { transform: translateY(1px); }
a.btn { text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; border: 2px solid var(--noir); }
.errbox { background: #fff0f0; color: var(--rouge); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.errbox ul { margin: 4px 0 0; padding-left: 18px; }
.summary .errbox { background: #3a1d1d; color: #ffb4b4; }

/* ---------- Barre mobile */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--noir); color: var(--blanc); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: none; gap: 12px; align-items: center; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
.mobilebar .mb-tot { flex: 1; line-height: 1.15; }
.mobilebar .mb-tot small { color: #aaa; display: block; font-size: 12px; }
.mobilebar .mb-tot b { color: var(--orange); font-size: 20px; }
.mobilebar .btn { width: auto; padding: 13px 18px; }
@media (max-width: 960px) { .mobilebar:not(.hidden) { display: flex; } }
@media (min-width: 961px) { .mobile-summary { display: none; } }

/* ---------- Confirmation */
.done { max-width: 680px; margin: 30px auto; background: var(--blanc); border-radius: var(--r); box-shadow: var(--ombre); padding: 36px clamp(20px, 5vw, 44px); text-align: center; }
.done .big { font-size: 56px; line-height: 1; }
.done .no { display: inline-block; background: var(--noir); color: var(--orange); font-weight: 600; letter-spacing: 1.5px; padding: 8px 16px; border-radius: 6px; margin: 10px 0 18px; }
.done p { color: var(--gris); }
.done .btn { width: auto; margin-top: 12px; }

/* ---------- Pied de page (comme lesdeuxbetes.com : bloc noir en 3 colonnes) */
.foot { background: var(--noir); color: #cfcbc4; font-size: 14px; padding: 44px clamp(16px, 4vw, 40px) 0; }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; gap: 22px; } }
.foot p { margin: 0 0 10px; max-width: 360px; }
.foot-logo { width: 64px; height: 64px; margin-bottom: 10px; }
.foot .foot-title { color: var(--blanc); font-weight: 600; font-size: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--orange); }
.foot a.hl { color: var(--orange); font-weight: 600; }
.foot-copy { max-width: 1180px !important; margin: 34px auto 0 !important; border-top: 1px solid #333; padding: 16px 0 110px; font-size: 13px; color: #8f8b85; }
@media (min-width: 961px) { .foot-copy { padding-bottom: 18px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* intégration iframe : ?embed=1 masque en-tête et pied */
body.embed .top, body.embed .topbar, body.embed .foot { display: none; }
body.embed .summary { top: 16px; }
.mt { margin-top: 18px; } .lbl.mb { margin-bottom: 6px; } .mb2 { margin-bottom: 16px; }
.mobile-summary h3 { color: var(--noir); margin: 0 0 12px; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.mobile-summary .sum-lines li small, .mobile-summary .sum-note, .mobile-summary .sum-empty { color: var(--gris); }
.mobile-summary .sum-when, .mobile-summary .sum-tot { border-color: var(--gris-l); color: var(--noir); }
.mobile-summary .sum-tot .grand { color: var(--noir); background: var(--orange); padding: 6px 10px; border-radius: 6px; }

.demo-band { background: var(--orange); color: var(--noir); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }
.demo-band a { color: var(--noir); }
.outbox { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.outbox ul { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--r); box-shadow: var(--ombre); overflow: hidden; }
.outbox li { padding: 10px 12px; border-top: 1px solid var(--gris-l); cursor: pointer; font-size: 14px; }
.outbox li.on, .outbox li:hover { background: var(--orange-l); }
.outbox li small { display: block; color: var(--gris); }
.outbox iframe { width: 100%; height: 75vh; border: 0; border-radius: var(--r); background: #f4f1ea; box-shadow: var(--ombre); }
@media (max-width: 900px) { .outbox { grid-template-columns: 1fr; } }

/* ---------- Adresse en champs séparés et bloc de facturation */
.grid-addr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 14px; }
@media (max-width: 600px) { .grid-addr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
[data-f$="postalCode"] input { text-transform: uppercase; }
.billing-toggle { margin: 4px 0 2px; font-weight: 500; }
.billing { margin-top: 14px; padding: 16px 18px 4px; border-left: 4px solid var(--orange); background: var(--fond); border-radius: 0 8px 8px 0; }
.billing-title { font-weight: 600; font-size: 16px; }
.billing .hint { margin: 2px 0 12px; }
#delivery { margin-bottom: 18px; }

/* ---------- Dates sur approbation */
.cal-grid button.appro { background: repeating-linear-gradient(135deg, #fff 0 5px, #f3efe7 5px 10px); color: #8a6d3b; font-weight: 600; box-shadow: inset 0 0 0 1px #e8dcc4; }
.cal-grid button.appro:hover { background: var(--orange-l); color: var(--encre); }
.cal-grid button.appro.sel { background: var(--noir); color: var(--orange); box-shadow: none; }
.cal-legend { flex-wrap: wrap; }
.cal-legend i.lg-appro { background: repeating-linear-gradient(135deg, #fff 0 3px, #e8dcc4 3px 6px); box-shadow: inset 0 0 0 1px #e8dcc4; }
.slot.appro { border-style: dashed; color: #8a6d3b; }
.slot.appro[aria-pressed="true"] { border-style: solid; color: var(--orange); }
.appro-note { display: grid; gap: 4px; margin-top: 12px; padding: 12px 14px; background: var(--orange-l); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.45; text-align: left; }
.appro-note b { font-size: 15px; }
.sum-appro { color: var(--orange); font-weight: 600; }
.mobile-summary .sum-appro { color: #8a4b00; }

/* ---------- Sélecteur d'heure (heures + minutes 00/15/30/45) */
.time-select { display: inline-flex; align-items: center; gap: 6px; }
.time-select select { width: auto; min-height: 46px; padding: 0 30px 0 12px; border: 1.5px solid var(--ligne); border-radius: 8px; background: var(--blanc); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.time-select select:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(249,178,59,.45); }
.time-sep { font-weight: 600; color: var(--gris); }
.t .time-select select { width: auto; min-height: 34px; padding: 0 24px 0 8px; }
.datetime .grid2 { align-items: end; }

.topnav .sm { display: none; }
@media (max-width: 600px) { .topnav .sm { display: inline; } }

/* ---------- Accueil : lien vers les autres demandes traiteur */
.type-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.type-other { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; color: var(--gris); }
.type-other a { color: var(--encre); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* ---------- Menu composé (Méchoui, Table d'hôte) */
.menu-incl { background: var(--fond); border-radius: 8px; padding: 9px 12px; font-size: 14px; margin: 0 0 14px; }
.msec { border-top: 1px solid var(--gris-l); padding: 16px 0 6px; }
.msec.off .msec-head b { color: var(--gris); }
.msec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.msec-head b { font-size: 17px; font-weight: 600; display: block; }
.msec-head small { color: var(--gris); font-size: 13px; }
.msec-head .check { white-space: nowrap; font-weight: 600; }
.mchoices { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mchoice { position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left; background: var(--blanc); border: 1.5px solid var(--ligne); border-radius: var(--r); padding: 11px 13px 11px 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.mchoice:hover { border-color: var(--orange); }
.mchoice[aria-pressed="true"] { border-color: var(--noir); background: var(--orange-l); box-shadow: inset 0 0 0 1px var(--noir); }
.mchoice[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--noir); color: var(--orange); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.mc-name { font-weight: 600; font-size: 15px; line-height: 1.3; padding-right: 22px; }
.mc-desc { color: var(--gris); font-size: 13px; line-height: 1.35; }
.mc-price { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 13px; color: var(--orange-d); }
.msec.has-error, [data-f^="menu."].invalid { }
.msec .ferr { display: block; margin: 6px 0 4px; }
.extras-box { margin: 6px 0 12px; border: 1.5px solid var(--ligne); border-radius: var(--r); padding: 10px 14px; }
.extras-box summary { cursor: pointer; font-weight: 600; }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 18px; margin-top: 12px; }
.extra-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.extra-row small { color: var(--gris); display: block; }
.extra-row input { width: 80px; min-height: 40px; border: 1.5px solid var(--ligne); border-radius: 8px; padding: 6px 8px; text-align: center; }
.sum-note.dark { color: var(--gris); }
.col-side { align-self: stretch; }

/* ---------- Photos : tête de page des boîtes et bols, bandeau de la catégorie Bols repas */
body[data-family="lunch"] .page-head {
  background: linear-gradient(90deg, rgba(27,27,27,.94) 0%, rgba(27,27,27,.82) 45%, rgba(27,27,27,.35) 100%), url('/img/bols.jpg') center 40% / cover var(--noir);
}
.cat-promo { position: relative; margin: 22px 0 6px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 6; background: var(--noir); }
.cat-promo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; transition: transform .6s ease; }
.cat-promo:hover img { transform: scale(1.03); }
.cat-promo img[src$="boites.jpg"] { object-position: center 52%; }
.cat-promo figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 28px 18px 12px; background: linear-gradient(transparent, rgba(27,27,27,.85));
  color: var(--blanc); font-family: var(--script); font-weight: 700; font-size: 30px; line-height: 1; }
@media (max-width: 600px) { .cat-promo { aspect-ratio: 16 / 8; } .cat-promo figcaption { font-size: 26px; } }

/* ---------- Photos de la table d'hôte */
/* image recadrée sur les assiettes (assiette nette à droite) ; dégradé sombre sous le titre */
body[data-family="tablehote"] .page-head {
  background: linear-gradient(90deg, rgba(27,27,27,.96) 0%, rgba(27,27,27,.88) 38%, rgba(27,27,27,.35) 62%, rgba(27,27,27,0) 85%), url('/img/th/entete.jpg') center 42% / cover no-repeat var(--noir);
}
@media (max-width: 760px) {
  body[data-family="tablehote"] .page-head {
    background: linear-gradient(180deg, rgba(27,27,27,.55) 0%, rgba(27,27,27,.9) 60%), url('/img/th/entete.jpg') 80% center / cover no-repeat var(--noir);
  }
}
.mchoice:has(.mc-img) { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.mc-img { grid-row: 1 / span 3; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; display: block; }
.mchoice:has(.mc-img) > span { grid-column: 2; }


/* ---------- Vitrine (réalisations) : mosaïque sous-titrée et diaporama */
.showcase { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; box-shadow: var(--ombre); padding: 22px clamp(16px, 3vw, 26px) 24px; margin: 32px 0 0; }
.sc-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.sc-head .script { margin: 0 0 2px; }
.sc-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.sc-sub { margin: 4px 0 0; color: var(--gris); }
.sc-all { width: auto; padding: 10px 16px; font-size: 14px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 10px; }
.sc-tile { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--noir); }
.sc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s; }
.sc-tile:hover img, .sc-tile:focus-visible img { transform: scale(1.06); filter: brightness(.92); }
.sc-tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sc-big { grid-column: span 2; grid-row: span 2; }
.sc-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left; color: var(--blanc); font-size: 13px; line-height: 1.3; font-weight: 500;
  background: linear-gradient(transparent, rgba(20,20,20,.85)); transform: translateY(6px); opacity: .92; transition: transform .3s, opacity .3s; }
.sc-big .sc-cap { font-size: 16px; padding: 40px 16px 14px; }
.sc-tile:hover .sc-cap { transform: none; opacity: 1; }
@media (max-width: 760px) {
  .sc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -4px; padding: 0 4px 6px; scrollbar-width: thin; }
  .sc-tile, .sc-big { flex: 0 0 78%; height: 230px; scroll-snap-align: start; }
  .sc-cap, .sc-big .sc-cap { transform: none; opacity: 1; font-size: 14px; padding: 30px 12px 10px; }
  .sc-all { width: 100%; }
}
body.embed .showcase { margin-top: 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(12,12,12,.96); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 70px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #eee; font-size: 16px; text-align: center; display: grid; gap: 4px; max-width: 760px; }
.lb-count { color: var(--orange); font-size: 13px; font-weight: 600; }
.lb-close, .lb-nav { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--orange); color: var(--noir); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 600px) { .lightbox figure { padding: 60px 12px 20px; } .lb-nav { top: auto; bottom: 16px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lightbox img { max-height: calc(100vh - 200px); } }

/* ---------- Montage de photos en tête de section (2 ou 3 photos) */
.sec-montage { display: grid; gap: 8px; height: 190px; margin: 0 0 14px; }
.sec-montage.n1 { grid-template-columns: 1fr; }
.sec-montage.n2 { grid-template-columns: 3fr 2fr; }
.sec-montage.n3 { grid-template-columns: 2fr 1fr 1fr; }
.sec-montage figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--noir); min-width: 0; }
.sec-montage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sec-montage figure:hover img { transform: scale(1.05); }
@media (max-width: 600px) {
  .sec-montage { height: 140px; gap: 6px; }
  .sec-montage.n3 { grid-template-columns: 3fr 2fr; }
  .sec-montage.n3 figure:nth-child(3) { display: none; }
}

/* ---------- Fiche d'un bol (« Voir le bol ») */
.see-item { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px 4px 8px; border: 1px solid var(--ligne); border-radius: 999px; background: var(--blanc); color: var(--noir); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.see-item svg { color: var(--orange); transition: color .2s; }
.see-item:hover, .see-item:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--noir); }
.see-item:hover svg, .see-item:focus-visible svg { color: var(--noir); }
.fiche { border: 0; padding: 0; background: transparent; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; }
.fiche::backdrop { background: rgba(12,12,12,.82); backdrop-filter: blur(5px); }
.fiche[open] .fi-box { animation: fiIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes fiIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.fi-box { position: relative; background: #faf8f5; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.fi-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-height: calc(100vh - 32px); }
.fi-main { margin: 0; background: var(--noir); position: relative; min-height: min(560px, calc(100vh - 32px)); }
.fi-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; animation: fiFade .35s ease; }
@keyframes fiFade { from { opacity: .3; } }
.fi-side { padding: 34px 30px 26px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.fi-side h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 300; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.fi-side h2::before { content: ''; display: block; width: 44px; height: 3px; background: var(--orange); margin-bottom: 14px; }
.fi-cat { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); }
.fi-desc { margin: 0; font-size: 16px; line-height: 1.5; color: #333; }
.fi-thumbs { display: flex; gap: 8px; }
.fi-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 86px; height: 62px; cursor: pointer; background: var(--noir); opacity: .7; transition: opacity .2s, border-color .2s; }
.fi-thumbs button[aria-pressed="true"], .fi-thumbs button:hover { opacity: 1; border-color: var(--orange); }
.fi-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fi-price { background: #efe9e2; border-radius: 10px; padding: 14px 16px; display: grid; gap: 6px; }
.fi-lbl { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.fi-fmts { display: flex; gap: 22px; font-size: 24px; font-weight: 300; }
.fi-fmts small { font-size: 15px; margin-right: 6px; color: var(--gris); }
.fi-nav { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; }
.fi-nav button { flex: 1; border: 1px solid var(--ligne); background: var(--blanc); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.fi-nav button:hover { background: var(--orange); border-color: var(--orange); }
.fi-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(27,27,27,.75); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.fi-close:hover { background: var(--orange); color: var(--noir); }
@media (max-width: 720px) {
  .fiche { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .fi-body { grid-template-columns: 1fr; max-height: calc(100vh - 16px); overflow-y: auto; }
  .fi-main { min-height: 0; aspect-ratio: 4 / 3; max-height: 46vh; }
  .fi-side { padding: 20px 18px 18px; overflow: visible; }
}

/* ---------- Secteur de livraison déduit du code postal */

/* ---------- Règles de section en pastilles (remplace l'encadré orange) */
.facts { list-style: none; margin: 12px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 16px; background: #f6f3ee; border: 1px solid var(--ligne); font-size: 13.5px; color: #3a3a3a; line-height: 1.25; }
.facts li svg { color: var(--orange-d); flex: none; }
.facts b { font-weight: 600; color: var(--noir); }

/* Tuiles Récupération / Livraison : icône + une ligne de texte */
.tiles.modes .tile { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; transition: border-color .2s, background .2s; }
.tiles.modes .tile:hover { border-color: #bdb6ab; }
.tiles.modes .t-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tiles.modes .t-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #f6f3ee; color: var(--gris); transition: background .2s, color .2s; }
.tiles.modes .tile:has(input:checked) .t-ico { background: var(--orange); color: var(--noir); }
.tiles.modes .tprice { position: static; display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 8px; font-weight: 600; letter-spacing: .02em; border-radius: 999px; background: #e6f4ea; color: #1f6b35; font-size: 12px; }

/* ---------- Lien « Télécharger le menu (PDF) » dans la tête du formulaire */
.pdf-dl { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(27,27,27,.55); backdrop-filter: blur(4px); color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.pdf-dl svg { color: var(--orange); transition: color .2s; }
.pdf-dl small { font-size: 11px; letter-spacing: .12em; color: #cfcbc4; margin-left: 2px; transition: color .2s; }
.pdf-dl:hover, .pdf-dl:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--noir); transform: translateY(-1px); }
.pdf-dl:hover svg, .pdf-dl:hover small, .pdf-dl:focus-visible svg, .pdf-dl:focus-visible small { color: var(--noir); }

/* ---------- Livraison : une ligne (adresse + pastille de frais) */
.dlv { display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin: -4px 0 16px; border-radius: var(--r); background: var(--fond); }
.dlv-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.dlv-addr { margin: 0; font-size: 14px; color: var(--gris); }
.dlv-addr b { color: var(--encre); font-weight: 600; }
.dlv-alt { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange-d); cursor: pointer; justify-self: start; }
.dlv-alt input { accent-color: var(--orange-d); margin: 0; }
.dlv-alt:hover { text-decoration: underline; }
.dlv-fee { margin: 0; flex: none; display: grid; justify-items: end; text-align: right; gap: 1px; max-width: 46%; }
.dlv-fee:empty { display: none; }
.dlv-fee b { font-size: 15px; padding: 2px 10px; border-radius: 999px; background: var(--noir); color: var(--orange); }
.dlv-fee small { font-size: 12px; color: var(--gris); }
.dlv-fee.warn b { background: #fff1d6; color: #8a5a00; box-shadow: inset 0 0 0 1px #e8c27a; }
#delivery-other { margin: -6px 0 16px; }
@media (max-width: 600px) { .dlv { flex-wrap: wrap; row-gap: 8px; } .dlv-main { flex-basis: 100%; } .dlv-fee { display: flex; align-items: center; gap: 8px; max-width: none; text-align: left; } }

/* ---------- Desserts : combien d'articles avec dessert (par format) */
.item-extra.dessert { gap: 10px 18px; padding: 10px 12px; margin-top: 2px; background: var(--blanc); border: 1px dashed #e8c27a; border-radius: 8px; }
.dz-lbl { display: grid; gap: 1px; margin-right: auto; font-size: 14px; }
.dz-lbl small { color: var(--gris); font-size: 12.5px; }
.dz-fmt { display: inline-flex; align-items: center; gap: 8px; }
.dz-tag { font-weight: 700; font-size: 13px; background: var(--noir); color: var(--orange); border-radius: 999px; padding: 1px 9px; }
.dz-sur { font-size: 13px; color: var(--gris); }
.dz-all { border: 0; background: none; padding: 2px 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--orange-d); cursor: pointer; }
.dz-all:hover { text-decoration: underline; }
.stepper.sm button { width: 32px; height: 32px; font-size: 17px; }
.stepper.sm input { width: 40px; height: 32px; font-size: 14px; }
/* Articles sans description (breuvages) : rangées plus serrées */
.item.compact { padding: 8px 0; }
.item.compact.on { padding: 8px 12px; }
.item.compact .item-name { font-weight: 500; font-size: 15px; }
.item-extra.dessert.multi .dz-lbl { flex-basis: 100%; }
.item.compact .item-name + .item-desc:empty { display: none; }
.item.compact .minq { margin-top: 0; }

/* ---------- Assistant par étapes */
.wz-off { display: none !important; }
.wz { margin: 0 0 18px; }
.wz-head { display: none; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--gris); margin-bottom: 8px; }
.wz-head .wz-cur { color: var(--noir); font-size: 15px; }
.wz-bar { height: 4px; border-radius: 4px; background: var(--gris-l); overflow: hidden; margin-bottom: 12px; }
.wz-bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 4px; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.wz ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.wz li { flex: 1 1 auto; min-width: 0; }
.wz li button { width: 100%; display: flex; justify-content: flex-start; align-items: center; gap: 7px; padding: 6px 11px 6px 6px; border: 1px solid var(--ligne); border-radius: 999px; background: var(--blanc); font: inherit; font-size: 13px; font-weight: 600; color: var(--gris); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.wz li button:disabled { cursor: default; opacity: .65; }
.wz-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--gris-l); color: var(--gris); transition: background .2s, color .2s; }
.wz-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz li.wz-is-done button { color: var(--encre); }
.wz li.wz-is-done .wz-n { background: var(--orange-l); color: var(--orange-d); box-shadow: inset 0 0 0 1px #f0d39a; }
.wz li.wz-is-done button:hover { border-color: var(--orange); }
.wz li.wz-is-cur button { border-color: var(--noir); background: var(--noir); color: var(--blanc); }
.wz li.wz-is-cur .wz-n { background: var(--orange); color: var(--noir); }
.wz li.wz-is-err .wz-n { background: #fdecea; color: var(--rouge); box-shadow: inset 0 0 0 1px #f3b7b1; }
#sections > section.card:not(.wz-off) { animation: wzIn .3s ease; }
@keyframes wzIn { from { opacity: 0; transform: translateY(8px); } }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gris-l); }
.wz-nav .btn { width: auto; }
.wz-next { padding: 13px 22px; }
.wz-next small { font-weight: 500; font-size: 13px; opacity: .75; margin-left: 2px; }
.wz-next small::before { content: '· '; }
.wz-back { padding: 12px 16px; font-size: 14px; }
.wz-err .errbox { margin: 16px 0 0; }
.sum-step { margin: 14px 0 0; font-size: 13px; color: #bdb8b0; text-align: center; }
.cat-meta { margin-top: 4px; text-transform: none; letter-spacing: 0; }
.cat-meta .cat-sub { margin: 0; font-weight: 400; }
@media (max-width: 760px) {
  .wz-head { display: flex; }
  .wz ol { display: none; }
  .wz-next small { display: none; }
  .wz-back { font-size: 0; padding: 12px 14px; }
  .wz-back::before { content: '← Retour'; font-size: 14px; }
}

/* ---------- Mode démo : client fictif et courriels simulés */
.demo-fill { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 14px; padding: 8px 12px; border-radius: 8px; background: var(--orange-l); border: 1px dashed #e8c27a; font-size: 13.5px; color: var(--encre); }
.demo-fill b, .demo-mails-t b { background: var(--orange); color: var(--noir); border-radius: 4px; padding: 1px 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.demo-fill button { margin-left: auto; border: 1px solid var(--orange-d); background: var(--blanc); color: var(--orange-d); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.demo-fill button:hover { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.demo-mails { margin-top: 28px; padding-top: 22px; border-top: 1px dashed #e8c27a; text-align: left; }
.demo-mails-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; color: var(--gris); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.demo-tabs button { display: grid; gap: 1px; text-align: left; padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 10px; background: var(--blanc); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.demo-tabs button small { font-weight: 400; font-size: 12px; color: var(--gris); }
.demo-tabs button[aria-selected="true"] { border-color: var(--noir); background: var(--noir); color: var(--blanc); }
.demo-tabs button[aria-selected="true"] small { color: #cfcbc4; }
.demo-subj { margin: 0 0 8px; font-size: 13px; color: var(--gris); }
.demo-frame { display: block; width: 100%; height: 640px; border: 1px solid var(--ligne); border-radius: 10px; background: #f4f1ea; }
.done:has(.demo-mails) { max-width: 780px; }

/* ---------- Étape « Votre menu » : choix des menus affichés (un ou plusieurs) */
.tiles.menu-pick { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tile.pick { padding: 0; overflow: hidden; gap: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile.pick:hover { border-color: #bdb6ab; transform: translateY(-2px); }
.tile.pick img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.tile.pick .t-txt { display: grid; gap: 3px; padding: 14px 16px 16px; }
.tile.pick .t-txt b { font-size: 17px; padding-right: 34px; }
.tile.pick .pick-price { font-weight: 700; font-size: 14px; color: var(--orange-d); }
.pick-ck { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.94); border: 2px solid var(--ligne); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.tile.pick:has(input:checked) .pick-ck { background: var(--noir); border-color: var(--noir); }
.tile.pick:has(input:checked) .pick-ck::after { content: ''; width: 7px; height: 12px; border: solid var(--orange); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.pick-more { margin: 4px 0 0; }
.wz-skip { display: none !important; }

/* Particularités alimentaires : cases à cocher avec nombre de personnes */
.diets-hint { margin: 0 0 4px; font-size: 13px; color: var(--gris); }
.diets { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-bottom: 10px; }
.diet { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1.5px solid var(--ligne); border-radius: var(--r);
  background: var(--blanc); transition: border-color .15s, background .15s, box-shadow .15s; }
.diet:hover { border-color: #cfccc8; }
.diet.on { border-color: var(--orange); background: var(--orange-l); box-shadow: 0 0 0 1px var(--orange) inset; }
.diet .check { flex: 1; min-width: 0; font-weight: 500; line-height: 1.25; padding: 4px 0; }
.field .diet input[type=number] { width: 68px; flex: none; min-height: 38px; padding: 6px 8px; text-align: center; }
.diet:not(.on) input[type=number] { opacity: .55; }
.diet:not(.on) input[type=number]:focus { opacity: 1; }

/* Texte d'information sur les allergies */
.diets-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 8px; padding: 10px 14px; border-radius: var(--r);
  background: #F3F1EE; border-left: 3px solid var(--orange); font-size: 13px; line-height: 1.45; color: var(--encre); }
.diets-note svg { flex: none; margin-top: 1px; color: var(--orange-d); }

/* Boîtes et bols : particularités par repas */
.ldiets { display: grid; gap: 8px; margin-bottom: 12px; }
.ldiet { border: 1.5px solid var(--ligne); border-radius: var(--r); background: var(--blanc); transition: border-color .15s, box-shadow .15s; }
.ldiet.has { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.ldiet[open] { box-shadow: var(--ombre); }
.ldiet summary { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "q n a" "q s a"; column-gap: 12px; align-items: center;
  padding: 10px 14px; cursor: pointer; list-style: none; }
.ldiet summary::-webkit-details-marker { display: none; }
.ld-q { grid-area: q; font-weight: 700; font-size: 15px; min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--fond); }
.ldiet.has .ld-q { background: var(--orange); }
.ld-n { grid-area: n; font-weight: 600; font-size: 14px; }
.ld-s { grid-area: s; font-size: 13px; color: var(--gris); }
.ldiet.has .ld-s { color: #9A3412; font-weight: 600; }
.ld-add { grid-area: a; font-size: 13px; font-weight: 600; white-space: nowrap; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--ligne); }
.ldiet summary:hover .ld-add { border-color: var(--noir); }
.ldiet[open] .ld-add { visibility: hidden; }
.ld-body { padding: 4px 14px 14px; border-top: 1px dashed var(--ligne); }
.ld-body .diets { margin-top: 10px; }
.field .ld-other { min-height: 40px; padding: 8px 12px; }
@media (max-width: 560px) { .ldiet summary { grid-template-areas: "q n n" "q s a"; } }

/* Particularités dans la carte du repas (boîtes et bols) */
.item-diets { grid-column: 1 / -1; display: grid; gap: 8px; }
.ld-ico { grid-area: q; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--fond); color: var(--gris); }
.ldiet.has .ld-ico { background: var(--orange); color: var(--noir); }
.ldiet summary { padding: 8px 10px 8px 10px; }
.ldiet .diet input[type=number] { width: 68px; flex: none; min-height: 38px; padding: 6px 8px; text-align: center;
  border: 1.5px solid var(--ligne); border-radius: 8px; background: var(--blanc); }
.ldiet .ld-other { width: 100%; min-height: 40px; padding: 8px 12px; border: 1.5px solid var(--ligne); border-radius: 8px; background: var(--blanc); }
.ldiet input:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(249,178,59,.45); }
.ld-body .diets-hint { margin-top: 10px; }
.ld-note { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--gris); }
.ldiets-recap ul { margin: 6px 0 12px; padding: 10px 14px 10px 30px; background: var(--orange-l); border-radius: var(--r); font-size: 14px; line-height: 1.6; }

/* Repas adaptés : une fiche = des repas identiques, plusieurs particularités cumulables */
.ld-hint b { color: var(--encre); }
.ldgs { display: grid; gap: 10px; margin-top: 10px; }
.ldg { border: 1.5px dashed var(--ligne); border-radius: 10px; padding: 10px 12px; background: var(--fond); transition: border-color .15s, background .15s; }
.ldg.on { border-style: solid; border-color: var(--orange); background: var(--orange-l); }
.ldg-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ldg-t { font-weight: 700; font-size: 14px; }
.ldg-n { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris); margin: 0; font-weight: 500; }
.ldiet .ldg-n input[type=number] { width: 60px; min-height: 34px; padding: 4px 6px; text-align: center; border: 1.5px solid var(--ligne); border-radius: 8px; background: var(--blanc); }
.ldg-x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--blanc); font-size: 18px; line-height: 1; cursor: pointer; }
.ldg-x:hover { border-color: var(--noir); }
.ldg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--ligne);
  background: var(--blanc); font-size: 13px; font-weight: 500; cursor: pointer; user-select: none; transition: border-color .15s, background .15s; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip::before { content: '+'; font-weight: 700; color: var(--gris); }
.chip:hover { border-color: var(--noir); }
.chip.on { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.chip.on::before { content: '✓'; color: var(--orange); }
.chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(249,178,59,.45); }
.ldg-s { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #9A3412; }
.ldg-s:empty { display: none; }
.ldg-s::before { content: '→ '; }
.ld-addg { margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1.5px dashed var(--noir); background: transparent; font-weight: 600; font-size: 13px; cursor: pointer; }
.ld-addg:hover { background: var(--fond); }
.ld-addg[hidden] { display: none; }

/* Menu saisonnier : carte mise en avant et options payantes par article */
/* carte en vedette, sur toute la largeur de la grille */
.type-card.tc-saison { grid-column: 1 / -1; background: var(--noir); color: var(--blanc); border-color: var(--noir); border-top-color: var(--orange);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; grid-template-areas: 'k u c' 'h u c' 'p u c'; gap: 8px 36px; align-items: center; padding: 28px 30px; }
.type-card.tc-saison .tc-kicker { grid-area: k; color: var(--orange); }
.type-card.tc-saison h2 { grid-area: h; font-size: 30px; }
.type-card.tc-saison p { grid-area: p; color: #D8D3CB; }
.type-card.tc-saison ul { grid-area: u; margin: 0; border-left: 1px solid rgba(255,255,255,.15); padding-left: 28px; font-size: 15px; gap: 8px; }
.type-card.tc-saison li::before { color: var(--orange); }
.type-card.tc-saison .tc-cta { grid-area: c; margin: 0; align-self: center; color: var(--noir); white-space: nowrap; }
@media (max-width: 860px) {
  .type-card.tc-saison { grid-template-columns: 1fr; grid-template-areas: 'k' 'h' 'p' 'u' 'c'; padding: 24px 22px; }
  .type-card.tc-saison ul { border-left: 0; padding-left: 0; }
  .type-card.tc-saison .tc-cta { justify-self: start; }
}
#topnav a.nav-saison .lg::before, #topnav a.nav-saison .sm::before { content: '★ '; color: var(--orange); }
.item-extra.addons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.addon-list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; }
.addon { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--blanc);
  font: inherit; font-size: 14px; text-align: left; cursor: pointer; line-height: 1.3; transition: border-color .15s, background .15s; }
.addon:hover { border-color: var(--noir); }
.addon-ck { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #BDB8B0; display: grid; place-items: center; }
.addon[aria-pressed="true"] { border-color: var(--noir); background: #FFF6E3; }
.addon[aria-pressed="true"] .addon-ck { background: var(--noir); border-color: var(--noir); }
.addon[aria-pressed="true"] .addon-ck::after { content: '✓'; color: var(--orange); font-size: 13px; font-weight: 800; line-height: 1; }
.addon-p { font-weight: 700; white-space: nowrap; margin-left: auto; text-align: right; }
.addon-p small { display: block; font-weight: 500; font-size: 12px; color: var(--gris); }
@media (max-width: 640px) { .addon { width: 100%; } }
/* jour choisi : reste lisible au survol */
.cal-grid button.sel:hover, .cal-grid button.sel:focus-visible { background: var(--noir); color: var(--orange); }
.addon-p.addon-0 { font-weight: 600; font-size: 12.5px; color: #1E7B34; }
.addon-tot { color: var(--noir); }
@media (max-width: 640px) { .addon { flex-wrap: wrap; } .addon-p { flex-basis: 100%; margin-left: 30px; text-align: left; } }
.addon-n { flex: 1 1 0; min-width: 0; }
