:root {
  --red: #6e0f1f; --red-2: #8b1a2b; --red-soft: #f6e6e3;
  --gold: #b8914a; --gold-2: #d6b878; --gold-soft: #f1e4c8;
  --cream: #fbf5ec; --paper: #fffdf8; --ink: #3a1a12; --muted: #8a6b5a; --line: #ecdcc0;
  --ok: #2f7d4f; --warn: #b7791f; --bad: #b3261e;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Montserrat', system-ui, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 22px 50px -24px rgba(58, 26, 18, .45); --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 4px; padding: .9em 1.6em; font-weight: 600; letter-spacing: .04em; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #f8ecd6; box-shadow: 0 10px 24px -12px var(--red); }
.btn-red:hover { background: var(--red-2); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2b120c; }
.btn-ghost { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn-ghost:hover { background: var(--gold-soft); }
.btn-wa { background: #25d366; color: #fff; }
.btn-sm { padding: .5em 1em; font-size: .82rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.label, .field label { font-size: .76rem; font-weight: 700; color: var(--red); letter-spacing: .12em; text-transform: uppercase; }
.input { width: 100%; padding: .8em 1em; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 145, 74, .18); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.badge { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.b-pending { background: #fdf0d6; color: #8a5a00; } .b-confirmed { background: #e3f1e8; color: #1f6b3f; } .b-preparing { background: #e6eefb; color: #2849a5; }
.b-en_route { background: #efe4fa; color: #6a2fb0; } .b-delivered { background: #dff3e6; color: #0f6b39; } .b-cancelled { background: #fbe3e1; color: #9b1c14; }
.b-unpaid { background: #fbe3e1; color: #9b1c14; } .b-declared { background: #fdf0d6; color: #8a5a00; } .b-paid { background: #dff3e6; color: #0f6b39; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140px); background: var(--ink); color: #fff; padding: .9em 1.4em; border-radius: 10px; z-index: 100; transition: transform .35s cubic-bezier(.2,.9,.3,1.3); max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--bad); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 640px; background: var(--paper); overflow: hidden; }
.hero-img { background: url('/img/table.jpg') center 30% / cover no-repeat; position: relative; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--paper)); }
.hero-text { padding: 56px 6vw 56px 3vw; display: flex; flex-direction: column; justify-content: center; text-align: center; align-items: center; }
.brand { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 6.5vw, 5.4rem); color: var(--red); line-height: 1; letter-spacing: .01em; margin: 0; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--ink); margin: 14px 0 6px; }
.period { display: inline-block; background: var(--red); color: #f6e7c8; font-family: var(--serif); font-size: 1.6rem; padding: .25em 1.2em; letter-spacing: .08em; margin: 18px 0; }
.cd-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.countdown { display: flex; gap: 10px; justify-content: center; margin: 10px 0 4px; }
.countdown div { min-width: 70px; padding: 10px 6px; border: 1px solid var(--gold); border-radius: 6px; background: #fff; }
.countdown b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--red); line-height: 1; }
.countdown small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero-img { min-height: 320px; } .hero-img::after { background: linear-gradient(180deg, transparent 55%, var(--paper)); } .hero-text { padding: 10px 20px 40px; } }

.infobar { background: var(--red); color: #f6e7c8; }
.infobar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.infobar .it { padding: 18px 16px; display: flex; gap: 12px; align-items: center; border-right: 1px solid rgba(246, 231, 200, .2); font-size: .88rem; }
.infobar .it:last-child { border: 0; }
.infobar .it b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.infobar .ic { font-size: 1.5rem; }
@media (max-width: 860px) { .infobar .wrap { grid-template-columns: 1fr 1fr; } .infobar .it:nth-child(2) { border-right: 0; } }

.section { padding: 70px 0; }
.section h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--red); text-align: center; margin: 0; }
.section .lead { text-align: center; color: var(--muted); margin: 6px 0 36px; font-style: italic; font-family: var(--serif); font-size: 1.25rem; }

/* ---------- Menus ---------- */
.menus { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 880px) { .menus { grid-template-columns: 1fr; } }
.menu { overflow: hidden; display: flex; flex-direction: column; }
.menu .ph { height: 220px; background-size: cover; background-position: center; position: relative; }
.menu .ph .persons { position: absolute; top: 14px; right: 14px; background: var(--paper); color: var(--red); font-weight: 700; padding: .35em .9em; border-radius: 999px; font-size: .8rem; }
.menu .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.menu h3 { font-family: var(--serif); font-size: 2.3rem; margin: 0; color: var(--ink); font-weight: 600; text-align: center; }
.menu .sub { font-family: var(--serif); font-style: italic; text-align: center; color: var(--muted); margin: 0 0 10px; font-size: 1.1rem; }
.menu .sec { text-align: center; margin: 8px 0 2px; }
.menu .sec:last-of-type { margin-bottom: 18px; }
.menu .sec h4 { margin: 0; font-size: .74rem; letter-spacing: .2em; color: var(--red); text-transform: uppercase; }
.menu .sec p { margin: 2px 0; font-family: var(--serif); font-size: 1.15rem; }
.menu .sec p.or { font-style: italic; color: var(--muted); font-size: 1rem; }
.menu .foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, #f8ecd6, #f1e0bd); border-radius: 10px; }
.menu .price { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); font-weight: 700; line-height: 1; }
.menu .price small { font-size: .9rem; font-weight: 600; }
.menu .pp { font-size: .78rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--gold); border-radius: 8px; }
.stepper button { border: 0; background: transparent; width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; color: var(--red); }
.stepper b { min-width: 34px; text-align: center; font-size: 1.15rem; }

.offer { margin-top: 30px; padding: 22px 26px; display: flex; align-items: center; gap: 20px; background: var(--paper); border: 1.5px solid var(--gold); border-radius: 14px; }
.offer .book { flex: none; width: 74px; height: 92px; background: linear-gradient(135deg, #7a1424, #4c0712); border-radius: 4px 8px 8px 4px; color: #f2d9a0; font-family: var(--serif); font-size: .85rem; display: grid; place-items: center; text-align: center; box-shadow: 6px 8px 18px -8px rgba(0,0,0,.5); line-height: 1.1; padding: 6px; }
.offer h3 { margin: 0; font-family: var(--serif); color: var(--red); font-size: 1.6rem; }
.offer p { margin: 2px 0 0; }

/* ---------- Assistant ---------- */
.assistant { padding: 28px; display: grid; gap: 18px; }
.assistant .ask { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; font-family: var(--serif); font-size: 1.5rem; }
.assistant .ask input { width: 110px; text-align: center; font-size: 1.3rem; font-weight: 700; }
.sugg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .sugg { grid-template-columns: 1fr; } }
.sug { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; cursor: pointer; transition: .2s; position: relative; text-align: left; }
.sug:hover { border-color: var(--gold); transform: translateY(-2px); }
.sug.best { border-color: var(--red); }
.sug.best::before { content: '★ Notre conseil'; position: absolute; top: -11px; left: 14px; background: var(--red); color: #f6e7c8; font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 2px 10px; border-radius: 999px; }
.sug .what { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: block; }
.sug .tot { font-family: var(--serif); font-size: 1.7rem; color: var(--red); font-weight: 700; display: block; }
.sug small { color: var(--muted); display: block; }

/* ---------- Commande ---------- */
.order-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
@media (max-width: 980px) { .order-grid { grid-template-columns: 1fr; } }
.wizard { padding: 28px; }
@media (max-width: 560px) { .wizard { padding: 20px 16px; } }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps .s { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.steps .s i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); font-style: normal; flex: none; }
.steps .s.on { color: var(--red); } .steps .s.on i { background: var(--red); color: #f6e7c8; border-color: var(--red); }
.steps .s.done i { background: var(--gold); color: #fff; }
.steps .bar { flex: 1; height: 1px; background: var(--line); align-self: center; }
@media (max-width: 560px) { .steps .s span { display: none; } }
.step { display: grid; gap: 18px; animation: up .3s ease; }
@keyframes up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.line-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.line-item b { font-family: var(--serif); font-size: 1.3rem; display: block; }
.line-item small { color: var(--muted); }
.split { padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); display: grid; gap: 10px; }
.split .row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.split input[type=range] { width: 100%; accent-color: var(--red); }
.split .n { font-weight: 700; min-width: 92px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 14px; cursor: pointer; text-align: left; min-width: 140px; }
.chip b { display: block; font-family: var(--serif); font-size: 1.15rem; }
.chip small { color: var(--muted); }
.chip.on { border-color: var(--red); background: var(--red-soft); }
.chip.full { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.chip .few { color: var(--bad); font-weight: 700; }
.geo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .88rem; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.pay-method.on { border-color: var(--red); background: var(--red-soft); }
.pay-method .logo { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .72rem; flex: none; }
.pay-method .num { margin-left: auto; font-weight: 700; color: var(--red); font-size: .9rem; }
.hint { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff7e6; border: 1px solid #f0dcae; font-size: .9rem; }
.nav { display: flex; justify-content: space-between; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }

.summary { position: sticky; top: 16px; padding: 24px; display: grid; gap: 12px; }
.summary h3 { margin: 0; font-family: var(--serif); font-size: 1.8rem; color: var(--red); text-align: center; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.summary .row.disc { color: var(--red); font-weight: 600; }
.summary .row.gift { color: var(--gold); font-weight: 600; }
.summary .total { border-top: 1px solid var(--gold); padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-family: var(--serif); font-size: 2.3rem; color: var(--red); }
.summary .upsell { padding: 12px 14px; border-radius: 10px; background: var(--red); color: #f6e7c8; font-size: .88rem; }
.summary .empty { text-align: center; color: var(--muted); font-style: italic; margin: 0; }
@media (max-width: 980px) { .summary { position: static; } }

.lookup { padding: 24px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 700px) { .lookup { grid-template-columns: 1fr; } }
footer { background: var(--ink); color: #e9dccb; padding: 40px 0; margin-top: 30px; text-align: center; }
footer .sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-2); }
footer a { color: var(--gold-2); }

/* ---------- Page commande ---------- */
.page-order { min-height: 100vh; padding: 24px 0 60px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-top .brand { font-size: 2.2rem; text-decoration: none; }
.order-layout { display: grid; grid-template-columns: 460px 1fr; gap: 28px; align-items: start; margin-top: 22px; }
@media (max-width: 940px) { .order-layout { grid-template-columns: 1fr; } }
.bon { overflow: hidden; }
.bon .top { height: 170px; background: linear-gradient(180deg, rgba(42, 5, 9, .15), rgba(42, 5, 9, .55)), url('/img/festif.jpg') center / cover; color: #fff; text-align: center; display: grid; place-content: center; }
.bon .top .brand { color: #fff; font-size: 2.8rem; }
.bon .top i { font-family: var(--serif); font-size: 1.15rem; }
.bon .ttl { text-align: center; margin: -16px auto 0; background: var(--red); color: #f6e7c8; width: max-content; padding: .35em 1.4em; letter-spacing: .3em; font-size: .78rem; position: relative; }
.bon .inner { padding: 22px 26px 26px; display: grid; gap: 10px; }
.bon .who { text-align: center; font-family: var(--serif); font-size: 1.6rem; font-style: italic; margin: 0; }
.bon .li { display: flex; justify-content: space-between; gap: 10px; font-family: var(--serif); font-size: 1.15rem; }
.bon .li small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.bon .li.disc { color: var(--red); } .bon .li.gift { color: var(--gold); }
.bon .tot { border-top: 1px solid var(--gold); padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 1.3rem; }
.bon .tot b { font-size: 2rem; color: var(--red); }
.bon .deliv { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.bon .deliv span { display: block; font-size: .66rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; font-weight: 700; margin-top: 6px; }
.bon .deliv span:first-child { margin-top: 0; }
.bon .qr img { width: 132px; height: 132px; border: 3px solid var(--gold-soft); border-radius: 8px; }
.bon .qr code { display: block; text-align: center; font-weight: 700; font-size: .8rem; }
.bon .stamp { width: 132px; height: 132px; border: 3px solid var(--red); color: var(--red); border-radius: 10px; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .78rem; transform: rotate(-7deg); padding: 6px; }
.banner { padding: 18px 20px; border-radius: 14px; display: flex; gap: 14px; align-items: center; }
.banner .ic { font-size: 2rem; }
.banner p { margin: 2px 0 0; font-size: .92rem; }
.banner.ok { background: #e3f1e8; color: #14532d; } .banner.wait { background: #fdf0d6; color: #6b4600; } .banner.bad { background: #fbe3e1; color: #7f1d1d; } .banner.route { background: #efe4fa; color: #4c1d95; }
.panel { padding: 22px; display: grid; gap: 12px; }
.panel h3 { margin: 0; font-family: var(--serif); font-size: 1.6rem; color: var(--red); }
.side { display: grid; gap: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--muted); padding-bottom: 14px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-style: normal; font-size: .85rem; z-index: 1; }
.timeline li.done { color: var(--ink); } .timeline li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.now { color: var(--ink); font-weight: 600; } .timeline li.now i { background: var(--gold); border-color: var(--gold); color: #fff; animation: pulse 1.6s infinite; }
.timeline li small { display: block; font-weight: 400; color: var(--muted); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,145,74,.5); } 100% { box-shadow: 0 0 0 12px rgba(184,145,74,0); } }
@media print { body * { visibility: hidden; } #bon, #bon * { visibility: visible; } #bon { position: absolute; inset: 0 auto auto 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
