/* ==========================================================
   Le Petit Baobab — feuille de style
   Charte « Terre & Saveurs » : Desert Sand, Ember Clay,
   Spice Brown, Charcoal Earth · Inter / Archivo / Instrument Serif
   ========================================================== */

:root {
  --sand: #a99c8e;
  --clay: #a0563a;
  --clay-dark: #8a4630;
  --spice: #562e23;
  --charcoal: #1c140f;
  --cream: #f4f1eb;
  --cream-2: #ece5da;
  --paper: #fbf9f5;
  --ink: #1c140f;
  --ink-soft: #5b4d44;
  --line: rgba(28, 20, 15, .12);
  --line-light: rgba(244, 236, 224, .16);
  --on-dark: #f4ece0;
  --on-dark-soft: rgba(244, 236, 224, .72);

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-title: "Archivo", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(28, 20, 15, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--clay); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--f-title);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}
.eyebrow-light { color: #d9a487; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-title); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-clay { --bg: var(--clay); --fg: #fff; --bd: var(--clay); }
.btn-clay:hover { --bg: var(--clay-dark); --bd: var(--clay-dark); }
.btn-ghost { --fg: var(--on-dark); --bd: rgba(244,236,224,.45); }
.btn-ghost:hover { --bg: var(--on-dark); --fg: var(--charcoal); --bd: var(--on-dark); }
.btn-line { --fg: var(--ink); --bd: var(--line); }
.btn-line:hover { --bd: var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background .3s var(--ease), box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(28, 20, 15, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; }
.brand-text { font-family: var(--f-serif); font-size: 1.55rem; line-height: .9; letter-spacing: .08em; text-transform: uppercase; }
.brand-text small { display: block; font-family: var(--f-title); font-size: .58rem; letter-spacing: .32em; font-weight: 500; margin-bottom: 3px; opacity: .85; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.main-nav a:not(.btn) {
  font-family: var(--f-title); font-size: .9rem; font-weight: 500; text-decoration: none;
  position: relative; padding: 6px 0; opacity: .88;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover { opacity: 1; }
.main-nav a:not(.btn):hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.nav-cta { padding: .6em 1.2em; font-size: .88rem; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: var(--charcoal);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 85% 20%, rgba(160, 86, 58, .35), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(86, 46, 35, .7), transparent 60%),
    linear-gradient(160deg, #2a1b14 0%, var(--charcoal) 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .035;
  background-image: url("../../img/kuba.jpg"); background-size: 420px; mix-blend-mode: screen;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin-bottom: .4em;
}
.hero h1 em { font-family: var(--f-serif); font-weight: 400; color: #e0a27f; letter-spacing: -.01em; }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--on-dark-soft); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.6rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: .88rem; color: var(--on-dark-soft); }
.hero-facts li { padding-left: 14px; border-left: 1px solid var(--line-light); }
.hero-facts strong { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; color: var(--on-dark); line-height: 1.1; }
.hero-visual { margin: 0; position: relative; justify-self: end; width: min(100%, 440px, calc((100svh - 200px) * .75)); min-width: 280px; }
.hero-visual img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 58%;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid rgba(224, 162, 127, .4);
  border-radius: 250px 250px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(244,236,224,.4); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--on-dark); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Valeurs ---------- */
.values { background: var(--spice); color: var(--on-dark); padding: 56px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.value { padding: 8px clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-light); }
.value:first-child { border-left: 0; padding-left: 0; }
.value-letter { font-family: var(--f-serif); font-size: 2.4rem; line-height: 1; color: #e0a27f; display: block; margin-bottom: 10px; }
.value h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }
.value p { color: var(--on-dark-soft); font-size: .94rem; margin: 0; }

/* ---------- La Maison ---------- */
.maison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.maison-photos { position: relative; aspect-ratio: 1 / 1.05; }
.maison-photos .ph { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ph-1 { left: 0; top: 0; width: 64%; height: 82%; border-radius: 200px 200px var(--radius-lg) var(--radius-lg) !important; }
.ph-2 { right: 0; bottom: 0; width: 52%; height: 58%; border: 8px solid var(--cream); }
.ph-leaf { position: absolute; right: 6%; top: 4%; width: 70px; opacity: .9; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(6deg); } }
.maison-copy p { color: var(--ink-soft); }
.quote {
  margin: 1.8rem 0 .6rem;
  padding-left: 20px; border-left: 2px solid var(--clay);
  font-family: var(--f-serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--spice);
}
.signature { font-family: var(--f-title); font-size: .9rem; color: var(--clay) !important; }

/* ---------- Signatures ---------- */
.signatures { background: var(--charcoal); color: var(--on-dark); position: relative; overflow: hidden; }
.signatures::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: url("../../img/leaf-cream.png") center / contain no-repeat; opacity: .04; transform: rotate(-20deg);
}
.signatures .section-head h2 { color: var(--on-dark); }
.signatures .serif { color: #e0a27f; }
.sig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sig-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #2a1e17; color: var(--on-dark);
  border: 1px solid var(--line-light);
  transition: transform .4s var(--ease), border-color .3s;
}
.sig-photo { position: relative; display: block; padding: 0; border: 0; background: #e9dccb; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; }
.sig-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s var(--ease); }
.sig-card:hover { transform: translateY(-4px); border-color: rgba(224,162,127,.5); }
.sig-card:hover .sig-img { transform: scale(1.08); }
.sig-num {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--f-serif); font-size: 1rem; color: var(--on-dark);
  background: rgba(28,20,15,.75); border-radius: 999px; padding: 2px 10px;
}
.sig-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.sig-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.sig-card p { font-size: .85rem; color: var(--on-dark-soft); margin-bottom: 1rem; flex: 1; }
.sig-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sig-price { font-family: var(--f-serif); font-size: 1.6rem; }
.sig-add {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--on-dark); color: var(--charcoal); font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s, color .2s, transform .2s;
}
.sig-add:hover { background: var(--clay); color: #fff; transform: rotate(90deg); }

/* ---------- La Carte ---------- */
.carte { background: var(--cream); }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 4px; margin: 0 calc(var(--gutter) * -1) 36px; padding-inline: var(--gutter);
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: .7em 1.2em; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer;
  font-family: var(--f-title); font-weight: 500; font-size: .92rem; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.menu-panel { display: none; animation: fadeUp .5s var(--ease); }
.menu-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.panel-head .num { font-family: var(--f-serif); font-size: 2.4rem; color: var(--clay); line-height: 1; }
.panel-head h3 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 4px 0 2px; }
.panel-head .lead { font-family: var(--f-serif); font-size: 1.2rem; color: var(--spice); margin: 0; }
.panel-head img { width: 54px; opacity: .9; }
.menu-group-title { font-family: var(--f-title); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sand); margin: 28px 0 0; grid-column: 1 / -1; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.menu-item h4 { font-family: var(--f-title); font-weight: 600; font-size: 1.02rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.menu-item .desc { grid-column: 1; grid-row: 2; font-size: .88rem; color: var(--ink-soft); margin: 0; }
.menu-item .price { font-family: var(--f-title); font-weight: 600; color: var(--clay); white-space: nowrap; }
.menu-item .price.market { font-family: var(--f-body); font-weight: 400; font-size: .82rem; color: var(--sand); }
.menu-item .add-mini {
  grid-column: 2; grid-row: 2; justify-self: end; align-self: start;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  cursor: pointer; color: var(--clay); font-size: 1.1rem; line-height: 1; display: grid; place-items: center;
  transition: all .2s;
}
.menu-item .add-mini:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.menu-item.has-photo { grid-template-columns: 76px 1fr auto; column-gap: 16px; }
.menu-item.has-photo .menu-thumb { grid-row: 1 / span 2; grid-column: 1; align-self: start; }
.menu-item.has-photo h4 { grid-column: 2; }
.menu-item.has-photo .price { grid-column: 3; grid-row: 1; }
.menu-item.has-photo .desc { grid-column: 2; }
.menu-item.has-photo .add-mini { grid-column: 3; }
.menu-thumb {
  width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--cream-2); box-shadow: 0 6px 14px -8px rgba(28,20,15,.45);
}
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.menu-thumb:hover img { transform: scale(1.1); }
.thumb-empty { display: grid; place-items: center; background: var(--cream-2); }
.thumb-empty img { width: 45% !important; height: auto !important; opacity: .55; }
.tag { font-family: var(--f-body); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tag-veg { background: #e3e8d6; color: #4b5a2a; }
.tag-sig { background: #f1dccf; color: var(--clay-dark); }
.panel-note { margin-top: 28px; font-family: var(--f-serif); font-size: 1.2rem; color: var(--spice); max-width: 640px; }
.carte-cta {
  margin-top: 56px; padding: 28px clamp(20px, 4vw, 40px); border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.carte-cta p { margin: 0; max-width: 620px; }

/* ---------- Galerie ---------- */
.gallery { overflow: hidden; background: var(--cream); padding-bottom: 8px; }
.gallery-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.gallery-track img { height: clamp(200px, 26vw, 320px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery:hover .gallery-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Réservation ---------- */
.reservation { background: var(--paper); }
.stepper { list-style: none; padding: 0; margin: 0 auto 36px; max-width: 720px; display: flex; justify-content: space-between; position: relative; counter-reset: s; }
.stepper::before { content: ""; position: absolute; left: 6%; right: 6%; top: 19px; height: 1px; background: var(--line); }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.stepper span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--f-title); font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  transition: all .3s var(--ease); position: relative;
}
.stepper em { font-style: normal; font-family: var(--f-title); font-size: .8rem; color: var(--ink-soft); }
.stepper li.is-active span { background: var(--clay); border-color: var(--clay); color: #fff; box-shadow: 0 0 0 6px rgba(160,86,58,.15); }
.stepper li.is-active em { color: var(--ink); font-weight: 600; }
.stepper li.is-done span { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }

.resa {
  max-width: 1100px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(28,20,15,.35);
}
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-family: var(--f-title); font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.field small { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; padding: .85em 1em; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: 1rem;
}
textarea { resize: vertical; min-height: 100px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23562e23' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.5em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(160,86,58,.12); }
.is-invalid { border-color: #b3261e !important; }
.field-error { color: #b3261e; font-size: .82rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }
.stepper-input { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper-input output { min-width: 48px; text-align: center; font-family: var(--f-title); font-weight: 600; font-size: 1.15rem; }
.qty-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-size: 1.3rem; color: var(--clay); }
.qty-btn:hover { background: var(--cream-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-group-title { grid-column: 1 / -1; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); font-family: var(--f-title); font-weight: 600; margin-top: 6px; }
.slot input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.slot span, .chip span {
  display: block; text-align: center; padding: .6em .9em; border-radius: 10px;
  border: 1px solid var(--line); cursor: pointer; font-family: var(--f-title); font-weight: 500; font-size: .92rem;
  transition: all .2s var(--ease); background: var(--paper);
}
.chip span { border-radius: 999px; }
.slot span:hover, .chip span:hover { border-color: var(--ink); }
.slot input:checked + span, .chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.slot input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.slot input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-family: var(--f-body) !important; font-weight: 400 !important; font-size: .9rem !important; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--clay); width: 18px; height: 18px; flex: 0 0 auto; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Composition */
.compose-intro { margin-bottom: 22px; }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { flex: 0 0 auto; width: 48px; height: 28px; border-radius: 999px; background: var(--cream-2); position: relative; transition: background .25s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.switch input:checked + .switch-ui { background: var(--clay); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--clay); outline-offset: 3px; }
.switch small { color: var(--ink-soft); }
.compose { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; transition: opacity .3s; }
.compose > * { min-width: 0; }
.compose.is-off { opacity: .35; pointer-events: none; filter: grayscale(.4); }
.compose-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.compose-tabs::-webkit-scrollbar { display: none; }
.compose-tabs .tab { padding: .5em 1em; font-size: .85rem; }
.compose-search { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.compose-search input { flex: 1; }
.veg-filter { display: flex; align-items: center; gap: 6px; font-size: .85rem; white-space: nowrap; cursor: pointer; }
.veg-filter input { accent-color: var(--clay); }
.compose-list { list-style: none; padding: 0; margin: 0; max-height: 560px; overflow-y: auto; padding-right: 6px; }
.c-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-item-body { flex: 1; min-width: 0; }
.c-thumb { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.line-thumb { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.cart-line-top h5 { flex: 1; }
.c-item h4 { margin: 0; font-family: var(--f-title); font-size: .98rem; font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.c-item p { margin: 2px 0 0; font-size: .82rem; color: var(--ink-soft); }
.c-item .price { font-family: var(--f-title); font-weight: 600; color: var(--clay); font-size: .95rem; white-space: nowrap; }
.c-add {
  flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--clay);
  background: transparent; color: var(--clay); cursor: pointer; font-family: var(--f-title); font-weight: 600; font-size: .85rem;
  transition: all .2s;
}
.c-add:hover { background: var(--clay); color: #fff; }
.c-add.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.12); } }
.c-cat-title { font-family: var(--f-title); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); padding-top: 18px; font-weight: 600; }
.compose-empty { padding: 24px 0; color: var(--ink-soft); }

.compose-cart {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--cream); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line);
}
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cart-head h3 { margin: 0; font-size: 1.1rem; }
.cart-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--charcoal); color: var(--on-dark); display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.cart-guests { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.guest-pill { font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.guest-pill b { color: var(--clay); }
.cart-lines { list-style: none; padding: 0; margin: 0; max-height: 430px; overflow-y: auto; }
.cart-line { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line); animation: fadeUp .3s var(--ease); }
.cart-line-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cart-line h5 { margin: 0; font-family: var(--f-title); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.cart-line .line-price { font-family: var(--f-title); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.cart-line-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.cart-line-opts select { padding: .45em 2em .45em .7em; font-size: .8rem; border-radius: 8px; background-position: right .6em center; }
.cart-line-opts label { display: flex; flex-direction: column; gap: 2px; font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.mini-qty button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; color: var(--clay); font-size: 1rem; border-radius: 50%; }
.mini-qty button:hover { background: var(--cream-2); }
.mini-qty span { min-width: 22px; text-align: center; font-size: .85rem; font-weight: 600; }
.line-remove { border: 0; background: transparent; color: var(--ink-soft); font-size: .78rem; cursor: pointer; text-decoration: underline; }
.line-remove:hover { color: #b3261e; }
.cart-empty { font-size: .86rem; color: var(--ink-soft); margin: 8px 0; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 8px; border-top: 1px dashed rgba(28,20,15,.25); font-family: var(--f-title); }
.cart-total strong { font-size: 1.4rem; color: var(--clay); }
.cart-note { font-size: .76rem; color: var(--ink-soft); margin: 6px 0 0; }
.cart-note:empty { display: none; }
.cart-fab, .cart-close { display: none; }
.cart-head h3 { flex: 1; }
.cart-head { gap: 10px; }

/* Récapitulatif */
.recap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.recap-card { background: var(--cream); border-radius: var(--radius); padding: 22px; }
.recap-card h4 { font-family: var(--f-title); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin: 0 0 12px; }
.recap-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.recap-card dt { color: var(--ink-soft); }
.recap-card dd { margin: 0; font-weight: 500; }
.recap-big { font-family: var(--f-serif); font-size: 1.9rem; line-height: 1.1; margin-bottom: 14px; color: var(--spice); }
.recap-dishes { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.recap-dishes li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.recap-dishes small { display: block; color: var(--ink-soft); }
.recap-guest { font-family: var(--f-title); font-weight: 600; font-size: .8rem; color: var(--sand); text-transform: uppercase; letter-spacing: .12em; padding-top: 12px !important; border: 0 !important; }
.recap-total { display: flex; justify-content: space-between; font-family: var(--f-title); font-weight: 600; padding-top: 12px; font-size: 1.05rem; }
.recap-total strong { color: var(--clay); }
.recap-full { grid-column: 1 / -1; }

.resa-success { text-align: center; padding: 40px 10px; animation: fadeUp .5s var(--ease); }
.resa-success img { margin: 0 auto 16px; }
.resa-success h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.resa-success p { color: var(--ink-soft); max-width: 520px; margin-left: auto; margin-right: auto; }
.success-ref strong { font-family: var(--f-title); color: var(--clay); letter-spacing: .08em; }
.resa.is-success .stepper { display: none; }

/* ---------- Contact ---------- */
.contact { background: var(--charcoal); color: var(--on-dark); }
.contact h2 { color: var(--on-dark); }
.contact .serif { color: #e0a27f; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg { width: 44px; height: 44px; padding: 11px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-light); fill: none; stroke: #e0a27f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info-list span { display: block; font-family: var(--f-title); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }
.info-list a, .info-list div > div { font-size: 1.05rem; text-decoration: none; }
.info-list a:hover { color: #e0a27f; }
.hours-row { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: space-between; max-width: 300px; }
.hours-row span { font-family: var(--f-body) !important; font-size: 1rem !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--on-dark) !important; }
.map { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-light); background: #2a1e17; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.25) contrast(.95); }
.contact-form { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.contact-form h3 { font-size: 1.6rem; margin: 0; }
.form-lead { color: var(--ink-soft); margin: -6px 0 4px; font-size: .95rem; }
.contact-form .field { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { background: #fff; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .9rem; }
.form-status.ok { color: #3d6b2d; }
.form-status.err { color: #b3261e; }

/* ---------- Pied de page ---------- */
.site-footer { background: #140e0a; color: var(--on-dark-soft); padding: 64px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { width: 130px; height: auto; margin-bottom: 8px; }
.footer-tag { font-family: var(--f-serif); font-size: 1.4rem; color: var(--on-dark); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 8px 0 16px; }
.footer-nav a { text-decoration: none; font-family: var(--f-title); font-size: .9rem; }
.footer-nav a:hover { color: var(--on-dark); }
.footer-small { font-size: .82rem; margin: 0; }
.footer-small a { text-decoration: none; }

/* ---------- Fenêtre « Composer mon plat » ---------- */
.composer {
  width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden;
}
.composer[open] { display: flex; flex-direction: column; animation: fadeUp .35s var(--ease); }
.composer::backdrop { background: rgba(28,20,15,.6); backdrop-filter: blur(3px); }
body.dialog-open { overflow: hidden; }
.composer-close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.18);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.composer-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow-y: auto; flex: 1; min-height: 0; }
.cmp-media { background: var(--cream-2); position: sticky; top: 0; align-self: start; }
.cmp-media > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cmp-noimg { aspect-ratio: 1 / 1; display: grid; place-items: center; }
.cmp-noimg img { width: 30%; opacity: .5; }
.cmp-main { padding: 28px 28px 8px; }
.cmp-main .eyebrow { margin-bottom: .5rem; }
.cmp-main h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3em; padding-right: 40px; }
.cmp-desc { color: var(--ink-soft); font-size: .92rem; margin-bottom: .6rem; }
.cmp-price { font-family: var(--f-serif); font-size: 1.6rem; color: var(--clay); margin-bottom: 1rem; }
.cmp-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.cmp-group legend { font-family: var(--f-title); font-weight: 600; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.cmp-group legend small { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.cmp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-choice, .cmp-side { position: relative; cursor: pointer; }
.cmp-choice input, .cmp-side input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-choice span {
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font-family: var(--f-title); font-weight: 500; font-size: .88rem;
  transition: all .2s var(--ease);
}
.cmp-choice.with-photo span { padding: 4px 14px 4px 4px; }
.cmp-choice span img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.cmp-choice em, .cmp-side em { font-style: normal; }
.cmp-choice span:hover { border-color: var(--ink); }
.cmp-choice input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.cmp-choice input:focus-visible + span, .cmp-side input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.cmp-sides { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.cmp-side span {
  display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 2px solid transparent;
  background: var(--paper); font-size: .76rem; font-weight: 500; line-height: 1.25; transition: border-color .2s, transform .2s;
}
.cmp-side span img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cmp-side em { padding: 6px 8px; }
.cmp-side span::after {
  content: "+"; position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--clay); font-weight: 700; font-size: .95rem;
}
.cmp-side:hover span { transform: translateY(-2px); }
.cmp-side input:checked + span { border-color: var(--clay); }
.cmp-side input:checked + span::after { content: "✓"; background: var(--clay); color: #fff; font-size: .8rem; }
.composer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: #fff;
}
.composer-foot .btn { flex: 1; max-width: 360px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--charcoal); color: var(--on-dark); padding: 12px 20px; border-radius: 999px;
  font-size: .9rem; box-shadow: var(--shadow); transition: transform .35s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #e0a27f; font-weight: 600; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .sig-grid { grid-template-columns: repeat(2, 1fr); }
  .compose { grid-template-columns: 1fr 320px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; z-index: 2;
  }
  .nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 24px;
    background: var(--charcoal);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 400; }
  .nav-cta { margin-top: 12px; font-size: 1rem; padding: .9em 1.6em; }
  .brand { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 360px); min-width: 0; order: -1; }
  .hero-visual img { aspect-ratio: 4 / 4.4; }
  .scroll-cue { display: none; }

  .values-grid { grid-template-columns: 1fr; gap: 28px; }
  .value { border-left: 0; padding: 0; border-top: 1px solid var(--line-light); padding-top: 24px; }
  .value:first-child { border-top: 0; padding-top: 0; }

  .maison-grid { grid-template-columns: 1fr; }
  .maison-photos { max-width: 520px; width: 100%; margin: 0 auto; }

  .menu-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .compose { grid-template-columns: minmax(0, 1fr); }
  .compose-list { max-height: none; overflow: visible; }
  .compose-cart {
    position: fixed; width: 100%; max-width: 100vw; left: 0; right: 0; bottom: 0; top: auto; z-index: 60;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 82vh; overflow-y: auto;
    transform: translateY(105%); transition: transform .4s var(--ease);
    box-shadow: 0 -20px 50px -10px rgba(0,0,0,.35);
  }
  .compose-cart.is-open { transform: none; }
  .cart-lines { max-height: none; }
  .cart-fab {
    position: sticky; bottom: 14px; z-index: 55; margin: 16px auto 0;
    display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px;
    padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--charcoal); color: var(--on-dark); font-family: var(--f-title); font-weight: 600; box-shadow: var(--shadow);
  }
  .cart-fab span { flex: 1; text-align: left; }
  .cart-fab b { background: var(--clay); border-radius: 999px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: .8rem; }
  .cart-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; }
  .cart-backdrop { position: fixed; inset: 0; background: rgba(28,20,15,.5); z-index: 59; }

  .recap { grid-template-columns: 1fr; }

  .composer { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .composer-body { grid-template-columns: 1fr; }
  .cmp-media { position: static; }
  .cmp-media > img, .cmp-noimg { aspect-ratio: 16 / 10; }
  .cmp-main { padding: 20px 18px 4px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 12px 20px; }
  .sig-grid { grid-template-columns: 1fr; }
  .sig-photo { aspect-ratio: 4 / 3; }
  .step-grid, .field-row { grid-template-columns: 1fr; }
  .stepper em { font-size: .7rem; }
  .panel-head img { display: none; }
  .carte-cta { flex-direction: column; align-items: flex-start; }
  .carte-cta .btn { width: 100%; }
  .step-actions .btn { flex: 1; padding-left: 1em; padding-right: 1em; }
  .compose-search { flex-direction: column; align-items: stretch; }
  .veg-filter { align-self: flex-start; }
  .cart-line-opts { grid-template-columns: 1fr; }
  .resa { border-radius: var(--radius); }
  .ph-2 { border-width: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
