/* ---------- Accueil : choix sur place / à emporter ---------- */
.landing { max-width: 720px; margin: 10px auto 0; text-align: center; }
.landing h1 { color: var(--navy); font-size: 26px; margin: 8px 0 4px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.choice { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.choice:hover { border-color: var(--gold); transform: translateY(-2px); }
.choice .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 8px; }
.choice .ico svg { width: 32px; height: 32px; }
.choice strong { font-size: 19px; color: var(--navy); }
.choice span:last-child { color: var(--muted); font-size: 14px; }
.mine { margin-top: 26px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.mine-row { display: flex; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mine-row:first-of-type { border-top: 0; }
.mine-row span { margin-left: auto; color: var(--navy); font-weight: 700; }

/* ---------- Réservation en étapes ---------- */
.wizard { max-width: 620px; margin: 0 auto; padding: 0; overflow: hidden; }
.wizard-body { padding: 22px 22px 18px; }
.wizard-body h2 { font-size: 18px; text-transform: none; letter-spacing: 0; margin: 0 0 16px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); }
.step { border: 0; background: none; color: #8f9bb3; padding: 12px 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; border-bottom: 3px solid transparent; }
.step small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.step strong { font-size: 15px; color: #fff; }
.step.on { border-bottom-color: var(--gold); }
.step.on small { color: var(--gold); }
.step.done small { color: #c3cad8; }
.step:disabled { cursor: default; }
.step:disabled strong { color: #5b6886; }
.small { font-size: 14px; }
.back { margin-top: 18px; min-height: 44px; }
.narrow { max-width: 560px; margin: 0 auto 16px; }

.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.pick { border: 1px solid #d8d4cc; background: #fff; border-radius: 14px; min-height: 60px; font-size: 22px; font-weight: 700; color: var(--navy); }
.pick:hover { border-color: var(--navy); }
.pick.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav strong { font-size: 17px; color: var(--navy); }
.cal-nav .nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; color: var(--navy); }
.cal-nav .nav:disabled { opacity: 0.3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-h { text-align: center; font-size: 12px; color: var(--muted); text-transform: uppercase; padding-bottom: 4px; }
.cal-d { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: none; font-size: 16px; font-weight: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 42px; }
.cal-d.open { background: #ecfdf5; border-color: #a7e3c6; color: var(--navy); font-weight: 700; }
.cal-d.open:hover { border-color: var(--navy); }
.cal-d.full { background: #fff1f2; color: #c4a3a8; text-decoration: line-through; }
.cal-d.closed { background: repeating-linear-gradient(135deg, #f4f2ee 0 6px, #ece9e3 6px 12px); color: #b4ada3; }
.cal-d.off { color: #d2cdc4; }
.cal-d.today::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-d.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-d em, .slot em, .cal-legend em { font-style: normal; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; border-radius: 99px; padding: 0 5px; line-height: 15px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid; }
.lg.open { background: #ecfdf5; border-color: #a7e3c6; }
.lg.full { background: #fff1f2; border-color: #f4c9cf; }
.lg.closed { background: #ece9e3; border-color: #d8d4cc; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { border: 1px solid #d8d4cc; background: #fff; border-radius: 12px; min-height: 50px; font-size: 16px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.slot:hover { border-color: var(--navy); }
.slot.on { background: var(--navy); color: #fff; }

.recap-box { background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--navy); }
.recap-box .recap-offer { background: #fff; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 10px; }
.done-actions .btn, .manage .btn { min-height: 46px; text-decoration: none; }
.done .small a, .manage a { color: var(--navy); word-break: break-all; }
.manage .big { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.status-pill { display: inline-block; border-radius: 99px; padding: 4px 12px; font-weight: 700; font-size: 14px; background: #f1f5f9; color: var(--muted); }
.status-pill.confirmee { background: #d1fae5; color: var(--ok); }
.status-pill.en_attente { background: #fef3c7; color: #a16207; }
.status-pill.annulee { background: #fee2e2; color: var(--danger); }
.btn.danger { color: var(--danger); border-color: #f3caca; }

/* ---------- Mode widget (intégration dans un autre site) ---------- */
body.widget { background: #fff; }
body.widget .top { padding: 10px 14px; }
body.widget .logo { height: 34px; }
body.widget .top-info, body.widget .foot { display: none; }
body.widget main { padding: 14px 10px 90px; }
body.widget .wizard { border: 0; }
body.widget .landing h1 { font-size: 21px; }

@media (max-width: 520px) {
  .choices { grid-template-columns: 1fr; }
  .wizard-body { padding: 18px 14px 14px; }
  .cal { gap: 4px; }
  .cal-d { border-radius: 9px; font-size: 15px; }
  .step strong { font-size: 13px; }
}

/* Calendrier compact (largeur maximale) */
.cal, .cal-nav, .cal-legend { max-width: 440px; margin-left: auto; margin-right: auto; }
.cal-d { aspect-ratio: auto; height: 52px; }
