/* Mima Délices — site public. Vert profond + or du logo, carte sur papier crème. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --g950: #03221a;
  --g900: #052e22;
  --g800: #06392a;
  --g700: #0b4a37;
  --g600: #14614a;
  --gold: #d6b15e;
  --gold-hi: #f1dca2;
  --gold-ink: #7d5f14;
  --cream: #f6f0e2;
  --paper: #fffdf8;
  --ink: #17251e;
  --muted: #5b6a61;
  --line: #e4dac4;
  --wa: #1faa59;
  --radius: 16px;
  --head-h: 64px;
  --dock-h: 0px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d6b15e' stroke-width='1'%3E%3Cpath d='M36 6l8.8 21.2L66 36l-21.2 8.800L36 66l-8.800-21.200L6 36l21.200-8.800z'/%3E%3Cpath d='M14.800 14.800l21.200 8.700 21.200-8.700-8.700 21.200 8.700 21.200-21.200-8.700-21.200 8.700 8.700-21.200z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--g900);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--g950); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.anchor { display: block; position: relative; top: calc(-1 * var(--head-h)); }

/* ── boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: .97rem; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #c39a45); color: var(--g950); box-shadow: 0 6px 20px -8px rgba(214, 177, 94, .7); }
.btn-gold:hover { box-shadow: 0 10px 26px -8px rgba(214, 177, 94, .9); transform: translateY(-1px); }
.btn-gold:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-ghost { border-color: rgba(241, 220, 162, .45); color: var(--gold-hi); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold-hi); background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--g800); color: #fff; }
.btn-dark:hover { background: var(--g700); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.07); }
.btn-danger { background: #a63a2b; color: #fff; margin-top: 20px; }
.link { color: var(--g700); font-weight: 600; text-underline-offset: 3px; }
.link-gold { color: var(--gold-hi); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }

/* ── en-tête ── */
.top {
  position: sticky; top: 0; z-index: 100; height: var(--head-h);
  background: rgba(5, 46, 34, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 177, 94, .18);
}
.top-in { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(214, 177, 94, .6); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.brand-txt small { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: #e9efe9; text-decoration: none; font-size: .93rem; font-weight: 550; padding: 10px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav .nav-lang { border: 1px solid rgba(214, 177, 94, .4); color: var(--gold-hi); padding: 6px 10px; margin-left: 6px; font-size: .8rem; letter-spacing: .08em; }
.top-cta { min-height: 42px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 12px 10px; margin-right: -8px; }
.burger span { display: block; height: 2px; background: var(--gold-hi); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(20, 97, 74, .75), transparent 65%),
    linear-gradient(160deg, var(--g800), var(--g950));
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .07; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 20px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 4px rgba(88, 214, 141, .22); }
.status.closed .dot { background: #e0a23c; box-shadow: 0 0 0 4px rgba(224, 162, 60, .2); }
h1 { font-family: var(--serif); font-weight: 560; font-size: clamp(2.15rem, 5.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.eyebrow { display: block; font-family: var(--sans); font-size: clamp(.74rem, 1.6vw, .86rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; line-height: 1.5; }
.lead { margin-top: 20px; font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: #d8e3dc; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: .88rem; color: #c5d3ca; }
.chips li { display: flex; align-items: center; gap: 8px; }
.chips li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }
.hero-art { display: grid; justify-items: center; gap: 18px; }
.arch {
  width: min(100%, 300px); aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  border: 1.5px solid rgba(214, 177, 94, .65);
  box-shadow: 0 0 0 10px rgba(214, 177, 94, .08), 0 40px 80px -30px rgba(0, 0, 0, .8);
  background: linear-gradient(160deg, #01523f, #00290e);
  display: grid; place-items: center;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-ar { font-size: 1.5rem; color: var(--gold-hi); font-family: "Amiri", "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif; }

/* lanternes + réservation express */
.hero-art { position: relative; padding-top: 34px; }
.lantern { position: absolute; top: -90px; width: 46px; height: auto; transform-origin: 50% 0; filter: drop-shadow(0 0 18px rgba(233, 180, 76, .55)); }
.lantern.l1 { left: 2%; animation: sway 7s ease-in-out infinite; }
.lantern.l2 { right: 4%; top: -120px; width: 36px; animation: sway 9s ease-in-out -3s infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.hero-txt > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-txt > :nth-child(2) { animation-delay: .08s; }
.hero-txt > :nth-child(3) { animation-delay: .16s; }
.hero-txt > :nth-child(4) { animation-delay: .24s; }
.hero-txt > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.quickbook {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 6px; align-items: stretch;
  background: var(--paper); border-radius: 22px; padding: 8px; margin-bottom: -44px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75); border: 1px solid rgba(214, 177, 94, .5);
}
.quickbook label { display: grid; gap: 2px; padding: 8px 16px; border-radius: 16px; color: var(--ink); cursor: pointer; }
.quickbook label:hover { background: var(--cream); }
.quickbook label + label { border-left: 1px solid var(--line); border-radius: 0 16px 16px 0; }
.quickbook label span { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.quickbook label span svg { width: 13px; height: 13px; }
.quickbook input, .quickbook select { border: 0; background: none; font-size: 1.05rem; font-weight: 600; min-height: 30px; width: 100%; padding: 0; color: var(--ink); cursor: pointer; }
.quickbook input:focus, .quickbook select:focus { outline: 0; }
.quickbook label:focus-within { background: var(--cream); box-shadow: inset 0 0 0 2px var(--g700); }
.quickbook .btn { border-radius: 16px; height: 100%; }
.proofs { padding-top: 44px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.stats div { border-top: 2px solid var(--g800); padding-top: 10px; }
.stats dt { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 560; line-height: 1; color: var(--g800); }
.stats dt small { font-size: .5em; color: var(--gold-ink); }
.stats dd { margin: 6px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.35; }

/* ── preuves ── */
.proofs { background: var(--g950); border-block: 1px solid rgba(214, 177, 94, .18); color: #fff; }
.proofs-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proofs-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid rgba(214, 177, 94, .14); }
.proofs-grid li:first-child { border-left: 0; padding-left: 0; }
.proof-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 177, 94, .12); color: var(--gold); flex: none; }
.proofs-grid strong { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.proofs-grid div span { display: block; font-size: .88rem; color: #b9c8be; line-height: 1.45; margin-top: 3px; }

/* ── titres de section ── */
.sec-head { max-width: 720px; margin-bottom: 36px; }
.tag { font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.75rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.sec-lead { margin-top: 12px; color: var(--muted); font-size: 1.04rem; }
.sec-head--light .tag { color: var(--gold); }
.sec-head--light h2 { color: #fff; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* ── favoris ── */
.favs { background: var(--cream); padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); }
.favs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fav-card { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 18px; transition: transform .2s, box-shadow .2s; }
.fav-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(6, 57, 42, .45); }
.fav-rank { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; font-style: italic; line-height: 1; color: var(--gold); width: 34px; flex: none; text-align: center; }
.fav-txt { flex: 1; min-width: 0; }
.fav-txt h3 { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; line-height: 1.2; }
.fav-txt p { font-size: .82rem; color: var(--muted); }

/* ── prix (bouton d'ajout au panier) ── */
.price {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 8px 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: background .15s, border-color .15s, transform .12s;
}
.price:hover { border-color: var(--g700); background: #fff; }
.price:active { transform: scale(.94); }
.price-val { font-family: var(--serif); font-weight: 650; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.price-size { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-cur { font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.price-plus { align-self: center; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--g800); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1; padding-bottom: 1px; }
.price.added .price-plus { background: var(--gold); color: var(--g950); }
.price--solid { background: var(--g800); border-color: var(--g800); color: #fff; padding-left: 16px; }
.price--solid:hover { background: var(--g700); border-color: var(--g700); }
.price--solid .price-plus { background: var(--gold); color: var(--g950); }

/* ── histoire ── */
.story { background: var(--cream); padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 110px); }
.story-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 64px); }
.story-side { position: sticky; top: calc(var(--head-h) + 28px); }
.quote { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p[lang="ar"] { font-size: 1.6rem; color: var(--g700); font-family: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif; line-height: 1.5; }
.quote p + p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--muted); margin-top: 4px; }
.story-txt p { font-size: 1.06rem; color: #2c3b33; }
.story-txt p + p { margin-top: 1.1em; }
.story-txt p.first { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.42rem); line-height: 1.5; color: var(--ink); }
.story-txt p:last-child { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--g700); }

/* ── carte ── */
.menu { background: var(--paper); padding-block: clamp(64px, 9vw, 110px) clamp(56px, 8vw, 96px); }
.menu .sec-head { margin-bottom: 22px; }
.tabs { position: sticky; top: var(--head-h); z-index: 50; background: rgba(255, 253, 248, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.tabs-in { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a { flex: none; scroll-snap-align: start; padding: 9px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--muted); border: 1px solid transparent; }
.tabs a:hover { color: var(--ink); background: var(--cream); }
.tabs a.on { background: var(--g800); color: #fff; }
.menu-body { padding-top: 8px; }
.fam { padding-top: 44px; scroll-margin-top: calc(var(--head-h) + 62px); }
.menu-body { scroll-margin-top: calc(var(--head-h) + 62px); min-height: 40vh; }
.fam-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--g800); margin-bottom: 8px; }
.fam-head h3 { font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.15; }
.fam-head p { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 1.02rem; }
.fam-cols { columns: 2; column-gap: 56px; }
.fam-cols--one .dishes { columns: 2; column-gap: 56px; }
.fam-cols--one { columns: 1; }
.sec { break-inside: avoid; padding-top: 14px; }
.fam-cols--one .sec { break-inside: auto; }
.sec-label { font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); padding: 10px 0 2px; }
.dish { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.dish-body { flex: 1; min-width: 0; }
.dish-line { display: flex; align-items: center; gap: 10px; }
.dish-name { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.dish-dots { flex: 1; min-width: 12px; border-bottom: 2px dotted #cfc4a9; transform: translateY(4px); }
.dish-prices { display: flex; gap: 6px; flex: none; }
.dish-desc { font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 2px; max-width: 46ch; }
.dish-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.fav { display: inline-flex; align-items: center; gap: 3px; vertical-align: 2px; margin-left: 4px; font-size: .64rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: #f5e9c8; border-radius: 999px; padding: 2px 8px 2px 6px; white-space: nowrap; }
.fav svg { width: 11px; height: 11px; }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* une rubrique à la fois (avec JavaScript) ; sans JavaScript, toute la carte reste affichée */
.js .fam { display: none; }
.js .fam.on, .js .searching .fam { display: block; }
.js .fam { padding-top: 26px; }
.js .searching .fam + .fam { padding-top: 34px; }
.tabs.searching a.on { background: none; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .js .fam.on { animation: famIn .28s ease; } }
@keyframes famIn { from { opacity: 0; transform: translateY(8px); } }

/* recherche */
.search { position: relative; display: block; max-width: 460px; margin-bottom: 18px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 50px; padding: 0 18px 0 46px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 1rem; }
.search input:focus { outline: 0; border-color: var(--g700); box-shadow: 0 0 0 4px rgba(11, 74, 55, .14); }
.menu-empty { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); padding: 40px 0 10px; text-align: center; }

/* note de disponibilité (ex. couscous du vendredi) */
.sec-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.avail { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--g800); color: var(--gold-hi); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: none; vertical-align: 1px; }
.cart-note { display: block; color: var(--gold-ink); font-weight: 600; font-size: .8rem; }

/* tableaux à plusieurs prix : pizzas (petite / grande), pâtes (penne / spaghetti / tagliatelles) */
.sec--matrix { --cell: 92px; max-width: 680px; }
.fam-cols--one .sec--matrix .dishes { columns: 1; }
.dish-cells { display: grid; grid-auto-flow: column; grid-auto-columns: var(--cell); gap: 6px; flex: none; justify-items: stretch; }
.matrix-head { display: flex; justify-content: flex-end; padding: 10px 0 4px; border-bottom: 1px solid var(--line); position: sticky; top: calc(var(--head-h) + 61px); background: var(--paper); z-index: 2; }
.matrix-head span span { text-align: center; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.dish--matrix .dish-line { justify-content: space-between; }
.dish--matrix .dish-name { flex: 1; min-width: 0; }
.price--cell { justify-content: space-between; padding: 6px 7px 6px 12px; gap: 4px; }
.cell-empty { text-align: center; color: #c9bfa6; align-self: center; }

/* ── galerie ── */
.gallery { background: var(--g900); padding-block: clamp(56px, 8vw, 96px); background-image: linear-gradient(180deg, var(--g800), var(--g950)); }
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px max(16px, calc((100vw - 1160px) / 2)) 18px; scroll-snap-type: x mandatory; scrollbar-color: rgba(214, 177, 94, .5) transparent; scrollbar-width: thin; }
.strip img { height: clamp(220px, 34vw, 320px); width: auto; max-width: none; border-radius: var(--radius); scroll-snap-align: center; flex: none; background: var(--g700); }

/* ── cartes & formulaires ── */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.form { display: grid; gap: 14px; align-content: start; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 650; color: #32433a; }
.form input, .form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #d9cfb8; border-radius: 12px; background: #fff;
  font-size: 1rem; font-weight: 400; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 76px; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--g700); box-shadow: 0 0 0 4px rgba(11, 74, 55, .14); }
.form input:disabled { background: #f0ece0; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 14px; }
.note { font-size: .9rem; color: #3c4d44; background: #f3ecd9; border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.done { text-align: center; padding: 18px 6px; display: grid; gap: 12px; justify-items: center; }
.done h4 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: #dff3e6; color: #15803d; display: grid; place-items: center; font-size: 1.6rem; }

/* ── commander ── */
.order { background: var(--cream); padding-block: clamp(64px, 9vw, 110px); }
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
.cart { position: sticky; top: calc(var(--head-h) + 20px); }
.cart-empty { color: var(--muted); display: grid; gap: 14px; justify-items: start; padding: 6px 0 10px; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-line-name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; }
.cart-line-name small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; font-weight: 600; color: var(--g700); border-radius: 50%; }
.qty button:hover { background: var(--cream); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line-sum { width: 78px; text-align: right; font-family: var(--serif); font-weight: 650; font-variant-numeric: tabular-nums; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 1.02rem; }
.cart-total strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 650; }

/* ── réservation ── */
.book { position: relative; color: #fff; background: linear-gradient(160deg, var(--g800), var(--g950)); padding-block: clamp(64px, 9vw, 110px); overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .06; pointer-events: none; }
.book-in { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.book .tag { color: var(--gold); }
.book .sec-lead { color: #cddbd2; }
.quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.book .card { color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }

/* ── avis ── */
.reviews { background: var(--paper); padding-block: clamp(64px, 9vw, 110px); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.badges li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 650; font-size: .92rem; }
.badges img { height: 44px; width: auto; max-width: 120px; border-radius: 8px; object-fit: contain; }
.rev-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.rev-list { display: grid; gap: 14px; }
.rev { background: var(--cream); border-radius: var(--radius); padding: 22px 24px; }
.rev blockquote { font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; white-space: pre-line; }
.rev blockquote::before { content: "“"; display: block; font-size: 2.6rem; line-height: .6; color: var(--gold); margin-bottom: 6px; }
.rev figcaption { margin-top: 12px; font-weight: 700; font-size: .92rem; display: flex; gap: 10px; align-items: baseline; }
.rev time { font-weight: 400; color: var(--muted); font-size: .84rem; }
.rev-empty { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* ── infos pratiques ── */
.infos { position: relative; color: #fff; background: linear-gradient(180deg, var(--g800), var(--g950)); padding-block: clamp(64px, 9vw, 110px); }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nap { font-style: normal; display: grid; gap: 4px; align-content: start; }
.nap-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(214, 177, 94, .16); }
.nap-item > svg { width: 24px; height: 24px; color: var(--gold); margin-top: 3px; }
.nap-item div { display: grid; gap: 2px; justify-items: start; }
.nap-item strong { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nap-item span { font-size: 1.08rem; color: #eef3ef; line-height: 1.5; }
.map { position: relative; min-height: 320px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(214, 177, 94, .3); display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--pattern), radial-gradient(circle at 50% 40%, var(--g600), var(--g900)); background-blend-mode: soft-light; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.write { margin-top: 28px; border: 1px solid rgba(214, 177, 94, .25); border-radius: 20px; padding: 4px 22px; }
.write summary { cursor: pointer; padding: 16px 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold-hi); }
.write form { padding: 6px 0 22px; max-width: 720px; }
.form--dark label { color: #cddbd2; }

/* ── FAQ ── */
.faq { background: var(--cream); padding-block: clamp(64px, 9vw, 110px); }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 56px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--gold-ink); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list h3 { font-family: var(--serif); font-size: 1.14rem; font-weight: 600; line-height: 1.3; }
.faq-list p { padding: 0 0 20px; color: #3c4d44; max-width: 62ch; }

/* ── pied de page ── */
.foot { background: var(--g950); color: #b9c8be; font-size: .93rem; padding-top: 48px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.foot strong { color: var(--gold); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.foot-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.foot-brand span { color: var(--gold); font-style: italic; }
.foot a { color: var(--gold-hi); text-underline-offset: 3px; }
.social { display: flex; gap: 16px; margin-top: 8px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 18px 22px; border-top: 1px solid rgba(214, 177, 94, .15); font-size: .84rem; }

/* ── barre d'action mobile, panier flottant ── */
.dock { display: none; }
.cartbar {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  background: var(--g800); color: #fff; text-decoration: none;
  padding: 12px 20px; min-height: 54px; border-radius: 999px;
  border: 1px solid rgba(214, 177, 94, .5);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
  font-size: .95rem; animation: pop .3s ease;
}
.cartbar strong { color: var(--gold-hi); }
.cartbar svg { width: 22px; height: 22px; color: var(--gold); }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }

/* ── fenêtres ── */
.modal { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(3, 34, 26, .78); overflow-y: auto; padding: 24px 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--paper); border-radius: 20px; max-width: 460px; margin: 4vh auto; padding: 28px 24px; }
.modal-box--wide { max-width: 860px; }
.modal-box h2 { font-size: 1.7rem; margin-bottom: 18px; }
.modal-box h3 { font-family: var(--serif); font-size: 1.2rem; margin: 26px 0 12px; }
.modal-x { position: absolute; top: 8px; right: 8px; width: 46px; height: 46px; border: 0; background: none; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--muted); border-radius: 50%; z-index: 2; }
.modal-x:hover { background: var(--cream); color: var(--ink); }
.modal-alt { text-align: center; margin-top: 16px; font-size: .93rem; }
.modal-alt a { color: var(--g700); font-weight: 650; }
.adresse-card, .commande-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-size: .93rem; }
.btn-primary, .btn-secondary { /* boutons générés par client.js */ min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--g800); color: #fff; cursor: pointer; }
.pdf-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 52px 12px 0; font-weight: 600; color: var(--muted); min-height: 36px; }
.pdf-view { display: flex; align-items: center; gap: 8px; }
.pdf-canvas { flex: 1; min-width: 0; overflow: auto; display: grid; place-items: center; min-height: 300px; }
.pdf-canvas canvas { max-width: 100%; height: auto !important; border-radius: 8px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .4); }
.pdf-nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.2rem; flex: none; }
.pdf-nav:disabled { opacity: .3; cursor: default; }

.toasts { position: fixed; left: 50%; top: calc(var(--head-h) + 12px); transform: translateX(-50%); z-index: 400; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--g950); color: #fff; padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(214, 177, 94, .4); font-size: .93rem; font-weight: 550; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); animation: pop .25s ease; text-align: center; }
.toast.error { background: #7a251a; border-color: #e1a093; }

/* ── apparition douce au défilement (seulement si JS actif et mouvements acceptés) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ═════════════ tablette ═════════════ */
@media (max-width: 1020px) {
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--g900); border-bottom: 1px solid rgba(214, 177, 94, .25);
    padding: 8px 16px 20px; max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .22s, opacity .22s, visibility .22s;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 8px; font-size: 1.08rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav .nav-lang { align-self: flex-start; margin: 16px 0 0; border-radius: 999px; padding: 10px 18px; border-bottom: 1px solid rgba(214, 177, 94, .4); }
  .burger { display: block; }
  .proofs-grid { grid-template-columns: 1fr 1fr; }
  .proofs-grid li { padding: 20px 16px; }
  .proofs-grid li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proofs-grid li:nth-child(n+3) { border-top: 1px solid rgba(214, 177, 94, .14); }
  .favs-grid { grid-template-columns: 1fr 1fr; }
  .fam-cols, .fam-cols--one .dishes { column-gap: 36px; }
}

/* ═════════════ mobile ═════════════ */
@media (max-width: 760px) {
  :root { --head-h: 58px; --dock-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: min(1160px, 100% - 32px); }
  .brand img { width: 38px; height: 38px; }
  .brand-txt strong { font-size: 1.06rem; }
  .top-cta { display: none; }

  .hero-in { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 36px; }
  .hero-art { padding-top: 0; }
  .lantern.l1 { display: none; }
  .lantern.l2 { right: 6px; top: -70px; width: 34px; }
  .quickbook { grid-template-columns: 1fr 1fr; margin-bottom: -36px; }
  .quickbook label:first-of-type { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
  .quickbook label + label { border-left: 0; border-radius: 0; }
  .quickbook label:nth-of-type(3) { border-left: 1px solid var(--line); }
  .quickbook .btn { grid-column: 1 / -1; min-height: 52px; }
  .hero-art { order: -1; grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 16px; }
  .arch { width: 84px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 5px rgba(214, 177, 94, .1); }
  .hero-ar { font-size: 1.25rem; }
  .status { margin-bottom: 14px; }
  .cta-row .btn { flex: 1 1 100%; }
  .chips { flex-direction: column; gap: 8px; }

  .proofs-grid { grid-template-columns: 1fr; }
  .proofs-grid li, .proofs-grid li:nth-child(odd) { padding: 16px 0; border-left: 0; }
  .proofs-grid li + li { border-top: 1px solid rgba(214, 177, 94, .14); }

  .favs-grid { grid-template-columns: 1fr; gap: 10px; }
  .story-in, .order-grid, .book-in, .rev-grid, .infos-grid, .faq-in, .foot-in { grid-template-columns: 1fr; }
  .story-side, .cart { position: static; }
  .sec-head { margin-bottom: 26px; }

  .tabs-in { width: 100%; padding-inline: 16px; }
  .fam { padding-top: 34px; }
  .fam-cols, .fam-cols--one .dishes { columns: 1; }
  .dish { padding: 8px 0; }
  .dish-dots { display: none; }
  .dish-line { justify-content: space-between; }
  .dish-name { flex: 1; min-width: 0; }
  .sec--matrix { --cell: 70px; }
  .dish-cells { gap: 4px; }
  .price--cell { padding: 6px 5px 6px 9px; }
  .price--cell .price-plus { width: 22px; height: 22px; }
  .matrix-head span span { font-size: .56rem; letter-spacing: 0; }
  .search { max-width: none; }
  .price { min-height: 44px; }
  .menu-foot .btn { width: 100%; }

  .row2, .row3 { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 label:first-child { grid-column: 1 / -1; }
  .quick .btn { flex: 1 1 100%; }
  .cart-line-sum { width: 66px; }
  .map { min-height: 260px; }
  .write { padding-inline: 16px; }
  .foot-base { padding-bottom: 20px; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 95;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 34, 26, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(214, 177, 94, .3);
  }
  .dock-btn { display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 14px; text-decoration: none; font-weight: 650; font-size: .9rem; color: #fff; background: rgba(255, 255, 255, .08); }
  .dock-btn svg { width: 19px; height: 19px; color: var(--gold); }
  .dock-main { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--g950); }
  .cartbar { left: 12px; right: 12px; bottom: calc(var(--dock-h) + 10px); justify-content: space-between; border-radius: 16px; }
  .cartbar span { flex: 1; white-space: nowrap; }
  .cartbar { padding-inline: 16px; gap: 10px; }
  .modal { padding: 0; }
  .modal-box { margin: 0; min-height: 100dvh; border-radius: 0; padding: 26px 16px 40px; }
  .pdf-nav { display: none; }
}

@media (max-width: 380px) {
  .brand-txt small { display: none; }
  .price { padding-left: 11px; gap: 5px; }
  .dock-btn span { font-size: .84rem; }
}

@media print {
  .top, .dock, .cartbar, .hero-art, .order, .book, .tabs, .gallery, .write, .price-plus, .modal, .toasts { display: none !important; }
  body { background: #fff; padding: 0; }
  .menu, .favs, .story, .faq { padding-block: 16px; }
}
