/* ==========================================================
   Saveur X — feuille de style
   ========================================================== */

:root {
  --red: #c8372d;
  --red-dark: #a82a21;
  --gold: #e8a33d;
  --green: #1f7a4d;
  --dark: #15110d;
  --dark-2: #211a14;
  --ink: #2a221c;
  --muted: #6f655c;
  --cream: #faf5ee;
  --sand: #f3ebdf;
  --line: #e6dccd;
  --white: #fff;
  --wa: #25d366;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(30, 20, 10, .06);
  --shadow: 0 12px 32px rgba(30, 20, 10, .10);
  --shadow-lg: 0 24px 60px rgba(30, 20, 10, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::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(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--red);
  margin: 0 0 .1em;
  line-height: 1.1;
}
.kicker--light { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
.section-title--light { color: #fff; }
.section-sub { color: var(--muted); max-width: 560px; margin-inline: auto; }
.section-sub--light { color: rgba(255,255,255,.72); }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .section-title::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--gold) 33% 66%, var(--red) 66%);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(200, 55, 45, .3); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--outline { border-color: var(--dark); color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #1eb956; }
.btn--whatsapp svg { width: 20px; height: 20px; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--dark);
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.75); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info li { display: flex; align-items: center; gap: 6px; }
.topbar__info svg { color: var(--gold); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 999px;
  background: rgba(200,55,45,.18); color: #ffb3ad; font-weight: 700; font-size: .78rem;
}
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.is-open { background: rgba(37,211,102,.15); color: #6be59a; }
.status-pill.is-open::before { animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(107,229,154,.6); } 50% { box-shadow: 0 0 0 6px rgba(107,229,154,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 238, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 2px var(--red);
}
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--dark); line-height: 1; }
.logo__text small { display: block; font-family: var(--font-script); font-weight: 400; font-size: 1.15rem; color: var(--red); margin-top: 2px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__mark { box-shadow: inset 0 0 0 3px var(--dark), 0 0 0 2px var(--red); }
.logo--light .logo__text small { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block;
  padding: 8px 12px;
  font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--gold); color: var(--dark);
  font-size: .72rem; font-weight: 700;
  border: 2px solid var(--cream);
}
.cart-badge.is-empty { background: var(--line); }
.cart-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--dark); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - var(--header-h) - 40px), 860px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 120px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(21,17,13,.94) 0%, rgba(21,17,13,.78) 45%, rgba(21,17,13,.25) 100%),
    url('https://images.unsplash.com/photo-1598103442097-8b74394b95c6?w=1800&q=75&auto=format&fit=crop') center/cover no-repeat;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { max-width: 640px; }
.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero__title span { color: var(--gold); font-style: italic; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  font-size: .85rem;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Features strip ---------- */
.features { position: relative; z-index: 2; margin-top: -72px; }
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature { padding: 36px 32px; text-align: center; transition: background .3s; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: var(--sand); }
.feature__icon {
  width: 68px; height: 68px; margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 1.9rem;
  border-radius: 50%;
  background: var(--sand);
  border: 2px dashed var(--gold);
}
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 0 60px 0; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; }
.about__img--main { width: 82%; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about__img--small {
  position: absolute; right: 0; bottom: 0;
  width: 52%; aspect-ratio: 4/3;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow);
}
.about__badge {
  position: absolute; top: 28px; right: 6%;
  width: 124px; height: 124px;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 8px rgba(200,55,45,.15), var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.about__badge span { font-size: .78rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
@keyframes float { 50% { transform: translateY(-10px); } }
.about__quote {
  margin: 0 0 20px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--gold);
  font-family: var(--font-head);
  font-style: italic; font-size: 1.25rem; color: var(--dark);
}
.about__content > p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 32px; }
.stats li { padding: 18px 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--red); line-height: 1.1; }
.stats span { font-size: .82rem; color: var(--muted); }

/* ---------- Specials ---------- */
.specials {
  background:
    radial-gradient(circle at 15% 20%, rgba(232,163,61,.12), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(200,55,45,.14), transparent 40%),
    var(--dark);
  color: #fff;
}
.specials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.special {
  display: flex; flex-direction: column;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s;
}
.special:hover { transform: translateY(-8px); border-color: rgba(232,163,61,.5); }
.special__media { aspect-ratio: 1; overflow: hidden; }
.special__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.special:hover .special__media img { transform: scale(1.08); }
.special__body { position: relative; padding: 22px; display: flex; flex-direction: column; flex: 1; }
.special__tag {
  position: absolute; top: -14px; left: 22px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold); color: var(--dark);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.special h3 { color: #fff; font-size: 1.2rem; margin-top: 6px; }
.special p { color: rgba(255,255,255,.62); font-size: .9rem; flex: 1; }
.special__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.special__price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--gold); }

/* ---------- Menu ---------- */
.menu__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500; font-size: .92rem;
  transition: all .2s;
}
.tab:hover { border-color: var(--red); color: var(--red); }
.tab.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 14px rgba(200,55,45,.28); }
.search {
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px;
  min-width: 280px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,55,45,.12); }
.search svg { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; padding: 11px 0; min-width: 0; }

.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dish {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: fadeUp .45s var(--ease) both;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.dish__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(21,17,13,.78); color: #fff; backdrop-filter: blur(4px);
  font-size: .74rem; font-weight: 700;
}
.dish__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dish__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish__name { font-size: 1.12rem; margin: 0 0 6px; }
.dish__price { flex-shrink: 0; font-weight: 700; color: var(--red); font-size: .98rem; }
.dish__desc { color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 16px; }
.btn--add {
  align-self: flex-start;
  padding: 9px 18px;
  background: var(--sand); color: var(--dark);
  font-size: .88rem;
}
.btn--add svg { width: 18px; height: 18px; }
.btn--add:hover { background: var(--red); color: #fff; }
.btn--add.is-added, .special .btn.is-added { background: var(--green); color: #fff; }
.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Steps ---------- */
.steps { background: var(--sand); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.step {
  position: relative;
  padding: 40px 28px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: -68px auto 18px;
  border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  box-shadow: 0 0 0 6px var(--sand);
}
.step:nth-child(2) .step__num { background: var(--gold); color: var(--dark); }
.step:nth-child(3) .step__num { background: var(--green); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  isolation: isolate;
  color: #fff;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.service::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(21,17,13,.92) 100%); }
.service:hover img { transform: scale(1.08); }
.service__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.service h3 { color: #fff; font-size: 1.3rem; }
.service h3::before { content: ''; display: block; width: 30px; height: 3px; background: var(--gold); margin-bottom: 12px; border-radius: 2px; }
.service p { margin: 0; color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- Reservation ---------- */
.reservation {
  position: relative;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(rgba(21,17,13,.88), rgba(21,17,13,.88)),
    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1800&q=70&auto=format&fit=crop') center/cover fixed;
}
.reservation__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hours { margin: 32px 0; border-top: 1px dashed rgba(255,255,255,.2); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.hours dt { color: rgba(255,255,255,.75); }
.hours dd { margin: 0; font-weight: 700; color: var(--gold); }
.reservation__phone { display: inline-flex; flex-direction: column; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; }
.reservation__phone span { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.65); }
.reservation__phone:hover { color: var(--gold); }

.card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }

/* ---------- Forms ---------- */
.form__title { font-size: 1.6rem; margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--dark); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: 1rem; /* évite le zoom iOS */
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200,55,45,.12); }
.field__error { display: none; color: var(--red); font-size: .8rem; }
.field.has-error input, .field.has-error select { border-color: var(--red); background: #fff5f4; }
.field.has-error .field__error { display: block; }
.form__hint { text-align: center; font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  position: relative;
  margin: 0;
  padding: 32px 28px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.testimonial::before {
  content: '“';
  position: absolute; top: 4px; right: 24px;
  font-family: var(--font-head); font-size: 6rem; line-height: 1;
  color: var(--sand);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 22px; color: var(--ink); flex: 1; position: relative; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption small { display: block; color: var(--muted); }
.avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #fff; font-weight: 700; font-size: .9rem;
}

/* ---------- Location ---------- */
.location { padding-top: 0; }
.location__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--sand);
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-list { display: grid; gap: 18px; margin: 24px 0 30px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon {
  flex-shrink: 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm);
  font-size: 1.2rem;
}
.contact-list strong { display: block; font-size: .95rem; color: var(--dark); }
.contact-list span, .contact-list a { color: var(--muted); font-size: .94rem; }
.contact-list a:hover { color: var(--red); }
.location__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.65); font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.footer__brand p { margin: 18px 0 20px; max-width: 280px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: var(--gold); }
.footer__pay { margin-top: 8px; font-size: .85rem; color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: #fff;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 160px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { outline: 0; border-color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; text-align: center; }

/* ---------- Floating / mobile cart ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-cart {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 41;
  align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px;
  border: 0; border-radius: 16px;
  background: var(--red); color: #fff;
  font-size: .92rem;
  box-shadow: 0 12px 28px rgba(200,55,45,.4);
  animation: slideUp .35s var(--ease);
}
@keyframes slideUp { from { transform: translateY(120%); } }

/* ---------- Drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(21,17,13,.55); opacity: 0; transition: opacity .3s; }
.overlay.is-visible { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform .35s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--white); }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-empty div { font-size: 3rem; margin-bottom: 8px; }
.cart-list { display: grid; gap: 12px; margin-bottom: 24px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info strong { display: block; font-size: .92rem; line-height: 1.3; color: var(--dark); }
.cart-item__info span { font-size: .86rem; color: var(--red); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--sand); border-radius: 999px; padding: 3px; }
.qty button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--white); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.qty button:hover { background: var(--red); color: #fff; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }

.segmented { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented legend { font-size: .86rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: block; text-align: center;
  padding: 11px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white);
  font-weight: 500; font-size: .92rem;
  transition: all .2s; cursor: pointer;
}
.segmented input:checked + span { border-color: var(--red); background: #fff1ef; color: var(--red); font-weight: 700; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.totals { margin: 0 0 16px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; font-size: .94rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals__grand { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line); }
.totals__grand dt, .totals__grand dd { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--dark); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  transform: translate(-50%, 140%);
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--dark); color: #fff;
  font-size: .92rem;
  box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease);
  pointer-events: none;
  visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.features__grid .reveal:nth-child(2), .steps__list .reveal:nth-child(2), .testimonials__grid .reveal:nth-child(2), .services__grid .reveal:nth-child(2), .specials__grid .reveal:nth-child(2) { transition-delay: .1s; }
.features__grid .reveal:nth-child(3), .steps__list .reveal:nth-child(3), .testimonials__grid .reveal:nth-child(3), .services__grid .reveal:nth-child(3), .specials__grid .reveal:nth-child(3) { transition-delay: .2s; }
.services__grid .reveal:nth-child(4), .specials__grid .reveal:nth-child(4) { transition-delay: .3s; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .specials__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 12px; }
  .nav__link { padding: 8px; font-size: .9rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    /* le header (backdrop-filter) sert de bloc conteneur : on se place sous lui */
    position: fixed; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 24px 16px 40px;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 4px; font-size: 1.15rem; font-family: var(--font-head); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 24px; padding: 16px; }

  .about__grid, .reservation__grid, .location__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 540px; margin-inline: auto; width: 100%; }
  .features__grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .feature { display: grid; grid-template-columns: 60px 1fr; gap: 4px 16px; text-align: left; padding: 22px 24px; }
  .feature__icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.5rem; }
  .feature h3 { margin: 0; align-self: end; font-size: 1.1rem; }
  .steps__list, .testimonials__grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonials__grid { gap: 20px; }
  .reservation { background-attachment: scroll; }
  .location { padding-top: clamp(72px, 10vw, 120px); }
  .location__map { order: 2; }
}

@media (max-width: 640px) {
  .topbar__info li:last-child { display: none; }
  .topbar__inner { white-space: nowrap; }
  .hide-sm { display: none; }
  .hero { padding: 56px 0 120px; text-align: left; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .menu__grid, .specials__grid { grid-template-columns: 1fr; }
  .menu__grid { gap: 12px; }
  /* Cartes compactes : plus de plats visibles à l'écran */
  .dish { flex-direction: row; border-radius: var(--radius); }
  .dish__media { flex: 0 0 112px; aspect-ratio: auto; }
  .dish__tag { top: 8px; left: 8px; padding: 2px 8px; font-size: .66rem; }
  .dish__body { padding: 12px 14px; }
  .dish__top { flex-direction: column; gap: 0; }
  .dish__name { font-size: 1rem; margin-bottom: 2px; }
  .dish__price { font-size: .9rem; }
  .dish__desc { font-size: .84rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .btn--add { padding: 7px 14px; font-size: .82rem; }
  .services__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service__body { padding: 16px; }
  .service h3 { font-size: 1.05rem; }
  .service p { display: none; }
  .search { min-width: 0; width: 100%; }
  .menu__toolbar { flex-direction: column-reverse; align-items: stretch; }
  .tabs { margin: 0 -16px; padding: 4px 16px; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 8px; }
  .stats li { padding: 14px 6px; }
  .stats strong { font-size: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .mobile-cart { display: flex; }
  .mobile-cart[hidden] { display: none !important; }
  body:has(.mobile-cart:not([hidden])) .wa-float { bottom: 88px; }
  body:has(.mobile-cart:not([hidden])) .footer__bottom { padding-bottom: 96px; }
  .about__badge { width: 100px; height: 100px; }
  .about__badge strong { font-size: 2rem; }
}

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