/* =============================================================
   CasaMia — Feuille de style refonte 2026
   Design : sombre / chaud / éditorial sicilien, zero AI slop
   Tokens : OKLCH, scale 4pt, échelle typo ratio 1.25
   ============================================================= */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Albert+Sans:wght@300;400;500;600;700&display=swap');

/* ===== TOKENS ===== */
:root {
  /* Surfaces — noir chaud teinté brun (jamais pur noir) */
  --surface-0: oklch(15.5% 0.012 60);
  --surface-1: oklch(18.5% 0.014 58);
  --surface-2: oklch(22%   0.014 55);
  --surface-3: oklch(27%   0.013 52);

  /* Encre — cream teinté chaud */
  --ink-1: oklch(94% 0.018 80);
  --ink-2: oklch(76% 0.020 70);
  --ink-3: oklch(56% 0.018 55);
  --ink-4: oklch(42% 0.015 50);

  /* Brand */
  --gold:        oklch(76% 0.118 80);
  --gold-hi:     oklch(84% 0.110 85);
  --gold-lo:     oklch(62% 0.100 75);
  --terracotta:  oklch(60% 0.145 35);
  --terracotta-hi: oklch(68% 0.140 38);
  --olive:       oklch(54% 0.075 115);

  /* Statuts */
  --status-open:   oklch(68% 0.140 145);
  --status-closed: oklch(60% 0.170 28);

  /* Hairlines */
  --rule:        oklch(100% 0 0 / .07);
  --rule-strong: oklch(100% 0 0 / .14);
  --rule-gold:   oklch(from var(--gold) l c h / .35);

  /* Spacing 4pt */
  --s-3xs: 4px;
  --s-2xs: 8px;
  --s-xs:  12px;
  --s-sm:  16px;
  --s-md:  24px;
  --s-lg:  32px;
  --s-xl:  48px;
  --s-2xl: 64px;
  --s-3xl: 96px;
  --s-4xl: 128px;

  /* Type — base 17px pour confort mobile */
  --text-xs:   0.75rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   clamp(1.125rem, 0.95rem + .6vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1rem + 1.4vw, 2rem);
  --text-2xl:  clamp(1.75rem, 1.1rem + 2.6vw, 2.875rem);
  --text-3xl:  clamp(2.25rem, 1rem + 4.5vw, 4.5rem);
  --text-4xl:  clamp(3rem, 1rem + 7vw, 6rem);

  /* Familles */
  --f-display: 'Gilda Display', 'Times New Roman', serif;
  --f-body:    'Albert Sans', system-ui, sans-serif;

  /* Radii */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 12px;
  --r-full: 999px;

  /* Shadows — hue-matched (brun chaud) */
  --sh-color: 30 35% 5%;
  --sh-1: 0 1px 2px hsl(var(--sh-color) / .35);
  --sh-2: 0 2px 4px hsl(var(--sh-color) / .3), 0 6px 12px hsl(var(--sh-color) / .22);
  --sh-3: 0 4px 8px hsl(var(--sh-color) / .28), 0 16px 32px hsl(var(--sh-color) / .18);
  --sh-4: 0 8px 16px hsl(var(--sh-color) / .22), 0 32px 64px hsl(var(--sh-color) / .14);

  /* Motion */
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-out-quart: cubic-bezier(.25,1,.5,1);
  --t-fast: .18s;
  --t-base: .28s;
  --t-slow: .5s;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "ss01", "cv11";
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ===== UTIL ===== */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.container--narrow { max-width: var(--container-narrow); }
.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; }
.flow > * + * { margin-top: var(--s-sm); }

/* ===== TYPOGRAPHY ===== */
.display,
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink-1); }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); line-height: 1.15; }
h4, h5, h6 { font-family: var(--f-body); font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; }
h4 { font-size: var(--text-lg); }
p  { max-width: 70ch; }

/* Eyebrow — l'étiquette éditoriale (remplace le "decorative-line" gold slop) */
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2xs);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--plain::before { display: none; }

/* Italic accent pour certains titres (italiana feel) */
.in-italic { font-style: italic; color: var(--gold); }

/* Numéros éditoriaux (01, 02, 03) — remplace les icônes génériques au-dessus des h3 */
.num {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  color: var(--gold);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Prix tabulaires */
.price, .mono-num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* ===== HEADER ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center;
  padding-block: var(--s-xs);
  background: color-mix(in oklab, var(--surface-0) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.header--scrolled { border-bottom-color: var(--rule); }
.header__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
}
.header__brand { display: flex; align-items: center; gap: var(--s-xs); }
.header__brand img { height: 40px; width: auto; }
.header__wordmark {
  font-family: var(--f-display); font-size: 1.2rem; line-height: 1;
  color: var(--ink-1); letter-spacing: -0.01em;
  display: none;
}
.nav {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px);
}
.nav__link {
  font-size: var(--text-sm); color: var(--ink-2);
  padding: var(--s-2xs) 0;
  position: relative;
  transition: color var(--t-fast);
}
.nav__link:hover { color: var(--ink-1); }
.nav__link--active { color: var(--ink-1); }
.nav__link--active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
}
.hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--ink-1);
}
.hamburger__line {
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
  position: absolute;
}
.hamburger__line:nth-child(1) { transform: translateY(-6px); }
.hamburger__line:nth-child(3) { transform: translateY( 6px); }
.hamburger.active .hamburger__line:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger__line:nth-child(3) { transform: translateY(0) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .62);
  background: oklch(0% 0 0 / .62);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100svh - 64px); /* header + peek, laisse deviner qu'on peut scroller */
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: 52svh; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  filter: saturate(.95);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, oklch(0% 0 0 / .25) 0%, oklch(0% 0 0 / .10) 30%, oklch(0% 0 0 / .60) 80%, var(--surface-0) 100%),
    linear-gradient(100deg, oklch(0% 0 0 / .55) 0%, oklch(0% 0 0 / .10) 55%, transparent 100%);
}
.hero__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 4vw, 40px) clamp(36px, 6vh, 72px);
  display: grid; gap: var(--s-md);
}
.hero__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-bottom: var(--s-xs);
}
.hero__head-text { display: flex; flex-direction: column; gap: var(--s-xs); min-width: 0; }
@media (max-width: 600px) {
  .hero__head { grid-template-columns: 1fr; justify-items: start; }
}
.hero__logo {
  width: clamp(160px, 16vw, 240px);
  height: auto;
  filter: drop-shadow(0 4px 24px oklch(0% 0 0 / .5));
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  color: var(--gold-hi);
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero__kicker::after {
  content: ""; width: 40px; height: 1px; background: currentColor; opacity: .55;
}
.hero__title {
  font-family: var(--f-display);
  font-size: var(--text-4xl);
  line-height: 0.98;
  max-width: 20ch;
  color: var(--ink-1);
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero__lede {
  font-size: var(--text-md);
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.55;
}
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-sm) var(--s-md);
  margin-top: var(--s-xs);
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-2xs);
  color: var(--ink-2);
  font-size: var(--text-sm);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: var(--s-2xs); }
.hero__meta-sep { opacity: .3; }

/* Status — indicateur ouvert/fermé éditorial, pas de glow néon */
.status {
  display: inline-flex; align-items: center; gap: var(--s-2xs);
  font-size: var(--text-sm);
  color: var(--ink-1);
}
.status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3);
  position: relative;
}
.status--open .status__dot { background: var(--status-open); }
.status--open .status__dot::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--status-open);
  opacity: .35;
  animation: statusPulse 2.4s var(--ease-out) infinite;
}
.status--closed .status__dot { background: var(--status-closed); }
.status__label { font-weight: 500; }
.status__note { color: var(--ink-2); }
@keyframes statusPulse {
  0%   { transform: scale(.9); opacity: .4; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status--open .status__dot::after { animation: none; }
}

/* Rating éditorial — sans glassmorphism */
.rating {
  display: inline-flex; align-items: baseline; gap: var(--s-2xs);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.rating__stars { color: var(--gold); letter-spacing: 1px; }
.rating__score {
  color: var(--ink-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2xs);
  padding: 14px 22px;
  font-family: var(--f-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-sm);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gold);
  color: var(--surface-0);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--rule-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--link {
  padding: 0;
  color: var(--gold);
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
  background: none;
}
.btn--link:hover { color: var(--gold-hi); }

.btn--lg { padding: 16px 28px; font-size: var(--text-base); }
.btn--sm { padding: 10px 16px; font-size: var(--text-xs); }

.btn-group { display: inline-flex; flex-wrap: wrap; gap: var(--s-sm); }

/* Icone interne au btn */
.btn svg { width: 16px; height: 16px; }

/* ===== PHONE POPOVER / BOTTOMSHEET UNIFIÉ ===== */
.phone-sheet {
  position: fixed; z-index: 210;
  background: var(--surface-2);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--sh-4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.phone-sheet[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

/* Desktop — centre popover */
@media (min-width: 641px) {
  .phone-sheet {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.97);
    min-width: 380px; max-width: 440px;
    border-radius: var(--r-lg);
  }
  .phone-sheet[aria-hidden="false"] { transform: translate(-50%, -50%) scale(1); }
}
/* Mobile — bottom sheet */
@media (max-width: 640px) {
  .phone-sheet {
    left: 0; right: 0; bottom: 0;
    transform: translateY(100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
  }
  .phone-sheet[aria-hidden="false"] { transform: translateY(0); }
}
.phone-sheet__head {
  padding: var(--s-md);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}
.phone-sheet__title {
  font-family: var(--f-display);
  font-size: var(--text-lg);
}
.phone-sheet__close {
  width: 32px; height: 32px; display: grid; place-items: center;
  color: var(--ink-2); font-size: 1.5rem; line-height: 1;
}
.phone-sheet__close:hover { color: var(--ink-1); }
.phone-sheet__list { padding: var(--s-2xs) 0; }
.phone-sheet__item {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-sm);
  padding: var(--s-sm) var(--s-md);
  border-top: 1px solid var(--rule);
}
.phone-sheet__item:first-child { border-top: 0; }
.phone-sheet__loc {
  font-family: var(--f-display);
  font-size: var(--text-md);
  color: var(--ink-1);
}
.phone-sheet__addr {
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-top: 2px;
}
.phone-sheet__number {
  font-family: var(--f-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding: var(--s-2xs) var(--s-sm);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.phone-sheet__number:hover {
  background: var(--gold);
  color: var(--surface-0);
  border-color: var(--gold);
}

.phone-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0% 0 0 / .55);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.phone-backdrop[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

/* ===== SECTIONS ===== */
.section {
  padding-block: clamp(56px, 9vw, 112px);
}
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt {
  background: var(--surface-1);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-md) var(--s-xl);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__head > :only-child { grid-column: 1 / -1; }
.section__title {
  font-family: var(--f-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
  max-width: 22ch;
  text-wrap: balance;
}
.section__lede {
  max-width: 40ch;
  color: var(--ink-2);
  font-size: var(--text-md);
  justify-self: end;
}
@media (max-width: 720px) {
  .section__head { grid-template-columns: 1fr; }
  .section__lede { justify-self: start; }
}

/* ===== NEWS ===== */
.news {
  display: grid;
  gap: var(--s-xl);
}
.news__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-xl);
  align-items: center;
}
.news__item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.news__item:nth-child(even) .news__figure { order: 2; }
.news__figure {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  line-height: 0;
}
.news__figure img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
}
.news__title {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  line-height: 1.15;
  margin-bottom: var(--s-xs);
}
.news__text {
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 720px) {
  .news__item, .news__item:nth-child(even) { grid-template-columns: 1fr; gap: var(--s-md); }
  .news__item:nth-child(even) .news__figure { order: 0; }
}

/* ===== ADRESSES — tableau éditorial, pas 2 cards identiques ===== */
.addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--surface-1);
}
.addr {
  padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column;
  gap: var(--s-md);
  position: relative;
}
.addr + .addr { border-left: 1px solid var(--rule); }
.addr__label {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.addr__name {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  line-height: 1.1;
}
.addr__services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: calc(-1 * var(--s-sm));
}
.service-badge {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  line-height: 1.4;
}
.service-badge:first-child {
  color: var(--gold);
  border-color: var(--rule-gold);
}
.addr__street {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.addr__phone {
  display: inline-flex; align-items: center; gap: var(--s-2xs);
  font-family: var(--f-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule-gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.addr__phone:hover { color: var(--gold); border-color: var(--gold); }

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s-md);
  row-gap: 2px;
  font-size: var(--text-sm);
  margin-top: auto;
}
.hours__day {
  font-weight: 500;
  color: var(--ink-2);
}
.hours__value {
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.hours__value--closed {
  color: var(--ink-4);
  font-style: italic;
}
.hours__row--today {
  color: var(--gold);
}
.hours__row--today .hours__day,
.hours__row--today .hours__value { color: var(--gold); font-weight: 600; }

@media (max-width: 720px) {
  .addresses { grid-template-columns: 1fr; }
  .addr + .addr { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ===== MENU (carte + traiteur) ===== */
.menu-tabs {
  display: flex;
  gap: var(--s-lg);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s-xl);
}
.menu-tab {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  color: var(--ink-3);
  padding: var(--s-sm) 0;
  position: relative;
  transition: color var(--t-fast);
}
.menu-tab:hover { color: var(--ink-1); }
.menu-tab.active { color: var(--ink-1); }
.menu-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold);
}

.menu-category { margin-bottom: var(--s-3xl); }
.menu-category__head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s-sm);
  margin-bottom: var(--s-md);
}
.menu-category__name {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  letter-spacing: -0.005em;
}
.menu-category__index {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-notice {
  font-style: italic;
  color: var(--ink-2);
  font-size: var(--text-sm);
  margin-block: var(--s-md) var(--s-xl);
  max-width: 65ch;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 0;
}
.menu-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: var(--s-sm);
  padding: var(--s-xs) var(--s-2xs);
  border-top: 1px solid var(--rule);
  transition: background var(--t-fast);
}
.menu-item:last-child { border-bottom: 1px solid var(--rule); }
.menu-item--clickable:hover,
.menu-item--clickable:focus-visible {
  background: color-mix(in oklab, var(--gold) 8%, transparent);
  outline: none;
}
.menu-item__img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.menu-item__img--ph {
  background: color-mix(in oklab, var(--surface-2) 80%, var(--gold) 4%);
  display: grid; place-items: center;
  color: var(--ink-3);
  border: 1px solid var(--rule);
}
.menu-item__img--ph svg {
  width: 26px; height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.traiteur-item__fig--ph {
  display: grid; place-items: center;
  color: var(--gold);
  background: color-mix(in oklab, var(--surface-2) 88%, var(--gold) 6%);
  border: 1px solid var(--rule);
}
.traiteur-item__fig--ph svg {
  width: 56px; height: 56px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
}
.menu-item__body { min-width: 0; }
.menu-item__name {
  font-family: var(--f-body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink-1);
  display: flex; align-items: center; gap: var(--s-2xs); flex-wrap: wrap;
  line-height: 1.25;
}
.menu-item__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.4;
}
.menu-item__price {
  font-family: var(--f-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.menu-item--clickable { cursor: pointer; }
.menu-item--clickable:hover .menu-item__add,
.menu-item--clickable:focus-visible .menu-item__add {
  background: var(--gold); color: var(--surface-0); border-color: var(--gold);
  opacity: 1;
}
.menu-item__add {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--surface-0);
  display: grid; place-items: center;
  font-size: .9rem; line-height: 1; font-weight: 700;
  pointer-events: none;
  transition: all var(--t-fast);
  opacity: 1;
  flex-shrink: 0;
}
@media (hover: hover) {
  .menu-item__add {
    background: transparent;
    border-color: var(--rule-strong);
    color: var(--ink-3);
    font-weight: 600;
    opacity: .45;
  }
}
/* "Voir plus" trigger — mobile only */
.menu-item__more {
  display: none;
  background: none;
  border: 0;
  padding: 2px 0 0;
  margin-top: 2px;
  color: var(--gold);
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  transition: color var(--t-fast);
}
.menu-item__more:hover,
.menu-item__more:focus-visible { color: var(--gold-hi); outline: none; }
.menu-item__more span { transition: transform var(--t-fast); }
.menu-item__more:hover span { transform: translateX(2px); }
@media (max-width: 640px) {
  .menu-item__more { display: inline-flex; }
}

/* Item detail sheet — bottom sheet on mobile, centered modal on desktop */
.item-sheet-backdrop {
  position: fixed; inset: 0;
  background: oklch(0% 0 0 / .62);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out);
  z-index: 209;
}
.item-sheet-backdrop[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

.item-sheet {
  position: fixed; z-index: 210;
  background: var(--surface-1);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--sh-4);
  opacity: 0; pointer-events: none;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.item-sheet[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

@media (min-width: 641px) {
  .item-sheet {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.97);
    width: min(560px, 92vw);
    max-height: 88vh;
    border-radius: var(--r-lg);
  }
  .item-sheet[aria-hidden="false"] { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 640px) {
  .item-sheet {
    left: 0; right: 0; bottom: 0;
    transform: translateY(100%);
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
  }
  .item-sheet[aria-hidden="false"] { transform: translateY(0); }
}

.item-sheet__close {
  position: absolute;
  top: var(--s-xs); right: var(--s-xs);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: oklch(0% 0 0 / .55);
  color: var(--ink-1);
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1;
  border: 0; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--t-fast);
}
.item-sheet__close:hover { background: oklch(0% 0 0 / .75); }

.item-sheet__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.item-sheet__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
  display: block;
}
.item-sheet__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.item-sheet__media--ph {
  display: grid; place-items: center;
  color: var(--gold);
  background: color-mix(in oklab, var(--surface-2) 88%, var(--gold) 6%);
}
.item-sheet__media--ph svg {
  width: 96px; height: 96px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
}

.item-sheet__body {
  padding: var(--s-md);
  display: grid;
  gap: var(--s-xs);
}
.item-sheet__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-sm); flex-wrap: wrap;
}
.item-sheet__name {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  color: var(--ink-1);
  line-height: 1.15;
  display: flex; align-items: center; gap: var(--s-2xs); flex-wrap: wrap;
}
.item-sheet__price {
  font-family: var(--f-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.item-sheet__desc {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink-2);
}
.item-sheet__note {
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.item-sheet__footer {
  flex-shrink: 0;
  padding: var(--s-sm) var(--s-md) calc(var(--s-sm) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  background: var(--surface-1);
}
.item-sheet__add {
  width: 100%;
  padding: var(--s-sm);
  background: var(--gold);
  color: var(--surface-0);
  border: 0;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.item-sheet__add:hover { background: var(--gold-hi); }
.item-sheet__add:active { transform: scale(.98); }

.menu-badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  background: var(--terracotta);
  color: var(--ink-1);
  vertical-align: 2px;
}
.menu-badge--star {
  background: transparent;
  color: var(--gold);
  padding: 0;
  font-size: var(--text-sm);
  letter-spacing: normal;
}

/* Traiteur — grille éditoriale photo-first */
.traiteur-group { margin-bottom: var(--s-2xl); }
.traiteur-group__head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s-sm);
  margin-bottom: var(--s-md);
}
.traiteur-group__name {
  font-family: var(--f-display);
  font-size: var(--text-xl);
}
.traiteur-group__count {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.traiteur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-md);
}
.traiteur-item {
  display: grid;
  gap: var(--s-xs);
}
.traiteur-item__fig {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.traiteur-item__fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out-quart);
}
.traiteur-item:hover .traiteur-item__fig img { transform: scale(1.04); }
.traiteur-item__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-sm);
}
.traiteur-item__name {
  font-family: var(--f-body);
  font-size: var(--text-md);
  font-weight: 500;
}
.traiteur-item__price {
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.traiteur-item__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  line-height: 1.5;
}

/* ===== HISTOIRE — principes numérotés, pas d'icônes au-dessus des h3 ===== */
.story {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-block: clamp(48px, 8vw, 96px);
}
.story--reverse { grid-template-columns: 7fr minmax(280px, 5fr); }
.story--reverse .story__fig { order: 2; }
.story__fig {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--r-md);
}
.story__fig img { width: 100%; height: 100%; object-fit: cover; }
.story__body h2 { margin-bottom: var(--s-sm); }
.story__body p { color: var(--ink-2); font-size: var(--text-md); line-height: 1.7; max-width: 55ch; }
.story__body p + p { margin-top: var(--s-sm); }
.story__tag {
  margin-top: var(--s-md);
  display: inline-flex; align-items: center; gap: var(--s-2xs);
  font-family: var(--f-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-hi);
  width: max-content;
  max-width: 100%;
}
@media (max-width: 720px) {
  .story, .story--reverse { grid-template-columns: 1fr; }
  .story--reverse .story__fig { order: 0; }
  .story__fig { aspect-ratio: 4/3; }
}

/* Principes numérotés (remplace value-cards icône-au-dessus) */
.principles {
  display: grid;
  gap: 0;
}
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-md) clamp(24px, 4vw, 56px);
  padding-block: clamp(20px, 3vw, 36px);
  align-items: start;
}
.principle__num {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  color: var(--gold);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.02em;
  min-width: 3ch;
}
.principle__title {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  margin-bottom: var(--s-2xs);
}
.principle__text {
  color: var(--ink-2);
  font-size: var(--text-md);
  line-height: 1.65;
  max-width: 60ch;
}

/* ===== GALERIE éditoriale ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(140px, 18vw, 260px);
  gap: var(--s-xs);
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--r-sm);
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out-quart);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 6; }
.gallery__item--half { grid-column: span 6; }
.gallery__item--third { grid-column: span 4; }
.gallery__item--fourth { grid-column: span 3; }
.gallery__item--sixth { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .gallery__item--wide, .gallery__item--half, .gallery__item--third { grid-column: span 3; }
  .gallery__item--fourth { grid-column: span 3; }
  .gallery__item--sixth { grid-column: span 2; }
}

/* ===== REVIEWS ===== */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-md);
}
.review {
  padding: var(--s-md);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.review__stars { color: var(--gold); letter-spacing: 1px; font-size: var(--text-sm); }
.review__text {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-block: var(--s-xs);
  font-family: var(--f-display);
  font-size: var(--text-md);
  line-height: 1.5;
  font-style: italic;
}
.review__text::before { content: "\201C"; color: var(--gold); margin-right: 2px; }
.review__text::after  { content: "\201D"; color: var(--gold); margin-left:  2px; }
.review__author {
  font-size: var(--text-xs);
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--rule);
  padding-block: var(--s-lg) var(--s-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-xl);
  padding-bottom: var(--s-xl);
  align-items: start;
}
.footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer__grid > div:has(.footer__phone) .footer__title { min-height: 2.8em; }
.footer__brand img { height: 140px; width: auto; margin-bottom: var(--s-sm); }
.footer__brand p { font-size: var(--text-sm); color: var(--ink-3); max-width: 36ch; }
.footer__title {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-sm);
}
.footer__list { display: grid; gap: var(--s-2xs); }
.footer__link {
  color: var(--ink-2); font-size: var(--text-sm);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--gold); }
.footer__phone {
  display: block;
  font-family: var(--f-body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  margin-top: var(--s-2xs);
}
.footer__phone:hover { color: var(--gold); }
.footer__bottom {
  padding-top: var(--s-md);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-sm);
  font-size: var(--text-xs);
  color: var(--ink-4);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== CART (drawer réutilisé — restylé sobre) ===== */
.cart-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 1100;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold); color: var(--surface-0);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-3);
  transition: transform var(--t-fast) var(--ease-out);
}
.cart-fab svg {
  display: block;
  transform: translateY(-1px); /* centrage optique — le cart a les roues en bas */
}
.cart-fab:hover { transform: scale(1.08); }
.cart-fab__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: var(--r-full);
  background: var(--terracotta); color: var(--ink-1);
  font-size: 11px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  border: 2px solid var(--surface-0);
}

.cart-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: oklch(0% 0 0 / .55);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.cart-overlay--visible { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: -480px; width: 440px; max-width: 100vw;
  height: 100dvh; z-index: 1300;
  background: var(--surface-1);
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: right var(--t-slow) var(--ease-out-quart);
}
.cart-drawer--open { right: 0; }
.cart-drawer__header {
  padding: var(--s-md);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.cart-drawer__header h2 {
  font-family: var(--f-display);
  font-size: var(--text-lg);
  display: inline-flex; align-items: center; gap: var(--s-2xs);
}
.cart-drawer__close {
  width: 32px; height: 32px; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; color: var(--ink-2);
}
.cart-drawer__close:hover { color: var(--ink-1); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: var(--s-md); }
.cart-empty {
  text-align: center; color: var(--ink-3);
  padding: var(--s-2xl) 0;
  font-size: var(--text-sm);
}
.cart-item-row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-sm);
  padding: var(--s-xs) 0;
  border-top: 1px solid var(--rule);
}
.cart-item-row:first-child { border-top: 0; }
.cart-item-row__name { font-weight: 500; font-size: var(--text-sm); }
.cart-item-row__line-total { color: var(--gold); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.cart-item-row__controls { display: flex; align-items: center; gap: var(--s-2xs); flex-shrink: 0; }
.cart-qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--ink-1); font-size: 1rem;
  display: grid; place-items: center;
  transition: border-color var(--t-fast);
}
.cart-qty-btn:hover { border-color: var(--gold); }
.cart-qty-val { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.cart-drawer__footer {
  border-top: 1px solid var(--rule);
}
.cart-sticky-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-sm) var(--s-md);
  background: var(--gold); color: var(--surface-0);
}
.cart-sticky-total__label {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.cart-sticky-total__price {
  font-size: var(--text-lg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cart-next-btn {
  display: block; width: 100%;
  padding: var(--s-sm);
  background: var(--surface-0); color: var(--gold);
  font-family: var(--f-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast);
}
.cart-next-btn:hover { background: var(--gold); color: var(--surface-0); }

.cart-back-btn {
  display: inline-flex; align-items: center; gap: var(--s-3xs);
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0 0 var(--s-sm);
}
.cart-back-btn:hover { color: var(--gold-hi); }

.cart-order-recap {
  padding: var(--s-sm);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  color: var(--ink-2);
  margin-bottom: var(--s-md);
}
.cart-order-recap strong { color: var(--ink-1); }

.cart-section-title {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: var(--s-md) 0 var(--s-2xs);
}

.cart-location-choice { display: flex; flex-direction: column; gap: var(--s-2xs); }
.cart-location-option {
  display: flex; gap: var(--s-xs); align-items: center;
  padding: var(--s-xs) var(--s-sm);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.cart-location-option:has(input:checked) { border-color: var(--gold); }
.cart-location-option input { accent-color: var(--gold); }
.cart-location-option__info { display: flex; flex-direction: column; }
.cart-location-option__info strong { font-size: var(--text-sm); font-weight: 600; }
.cart-location-option__info span { font-size: var(--text-xs); color: var(--ink-3); }

/* Notice d'avertissement commande — hyper importante (brief Tony) */
.order-warning {
  display: flex; gap: var(--s-xs); align-items: flex-start;
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.45;
  color: oklch(from var(--terracotta-hi) 92% c h);
  background: color-mix(in oklab, var(--terracotta) 22%, var(--surface-2));
  padding: var(--s-sm) var(--s-md);
  border-radius: var(--r-md);
  border: 1px solid color-mix(in oklab, var(--terracotta) 70%, transparent);
  margin-block: var(--s-md);
}
.order-warning::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/><line x1='12' y1='9' x2='12' y2='13'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/><line x1='12' y1='9' x2='12' y2='13'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>") center/contain no-repeat;
  color: var(--terracotta-hi);
}

.cart-input {
  display: block; width: 100%;
  padding: var(--s-xs) var(--s-sm);
  background: var(--surface-2);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  color: var(--ink-1);
  font-size: var(--text-sm);
  margin-bottom: var(--s-2xs);
  transition: border-color var(--t-fast);
}
.cart-input:focus { outline: none; border-color: var(--gold); }

.cart-radio-group { display: flex; gap: var(--s-md); margin-bottom: var(--s-2xs); }
.cart-radio {
  display: inline-flex; align-items: center; gap: var(--s-3xs);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.cart-radio input { accent-color: var(--gold); }

.cart-drawer__actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-2xs);
  padding: var(--s-sm) var(--s-md) var(--s-md);
}
.cart-send-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3xs);
  padding: var(--s-xs) var(--s-2xs);
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--r-sm);
  color: var(--ink-1);
  transition: filter var(--t-fast), transform var(--t-fast);
}
.cart-send-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cart-send-btn--whatsapp { background: #1E8D4E; }
.cart-send-btn--sms { background: #2F5DB0; }
.cart-send-btn--call { background: var(--terracotta); }
.cart-send-btn--copy { background: transparent; border: 1px solid var(--rule-strong); color: var(--ink-1); }
.cart-send-btn svg { width: 14px; height: 14px; }

.cart-step { display: flex; flex-direction: column; flex: 1; overflow: hidden; }

@keyframes cartBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.22); }
  60%  { transform: scale(.94); }
  100% { transform: scale(1); }
}
.cart-fab--bounce { animation: cartBounce .45s var(--ease-out); }

/* ===== ENTRANCE (une seule fois, orchestrée) ===== */
@keyframes entranceUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.entrance > * {
  opacity: 0;
  animation: entranceUp .8s var(--ease-out-quart) forwards;
}
.entrance > *:nth-child(1) { animation-delay: 0ms; }
.entrance > *:nth-child(2) { animation-delay: 80ms; }
.entrance > *:nth-child(3) { animation-delay: 160ms; }
.entrance > *:nth-child(4) { animation-delay: 240ms; }
.entrance > *:nth-child(5) { animation-delay: 320ms; }
.entrance > *:nth-child(6) { animation-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .entrance > * { animation: none; opacity: 1; }
  .hero__bg { transform: none; }
}

/* Scroll-reveal discret — n'agit QUE si JS prêt (sinon contenu visible par défaut) */
.js-ready .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out-quart), transform .7s var(--ease-out-quart);
}
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 820px) {
  /* IMPORTANT : pas de backdrop-filter sur le header en mobile.
     backdrop-filter crée un containing block pour les descendants
     `position: fixed`, ce qui piège le drawer à l'intérieur du header. */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(24, 20, 15, .96);
    background: color-mix(in oklab, var(--surface-0) 94%, transparent);
  }
  .hamburger { display: inline-flex; position: relative; -webkit-tap-highlight-color: transparent; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    height: 100%;
    width: min(84vw, 340px);
    padding: 88px var(--s-md) var(--s-md);
    background-color: #1f1a14;
    background-color: var(--surface-1);
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, .45);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: transform var(--t-base) var(--ease-out);
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 75;
  }
  .nav.open {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
  .nav__link {
    padding: var(--s-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid var(--rule);
    font-size: var(--text-md);
    color: #f0e7d6;
    color: var(--ink-1);
  }
  .nav__link--active::after { display: none; }
}

/* ===== ADMIN ===== */
.admin-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.admin-side {
  background: var(--surface-1);
  border-right: 1px solid var(--rule);
  padding: var(--s-md);
  display: flex; flex-direction: column; gap: var(--s-md);
}
.admin-side__brand {
  display: flex; align-items: center; gap: var(--s-2xs);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--rule);
}
.admin-side__brand img { height: 32px; }
.admin-side__title {
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.admin-nav { display: grid; gap: 2px; }
.admin-nav__link {
  padding: var(--s-xs) var(--s-sm);
  font-size: var(--text-sm);
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.admin-nav__link:hover { background: var(--surface-2); color: var(--ink-1); }
.admin-nav__link.active { background: var(--surface-2); color: var(--gold); }
.admin-main { padding: var(--s-lg) clamp(24px, 4vw, 48px); }

.admin-head {
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-sm);
  margin-bottom: var(--s-lg);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--rule);
}
.admin-head h1 { font-size: var(--text-xl); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.admin-table th {
  text-align: left;
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: var(--s-xs) var(--s-sm);
  border-bottom: 1px solid var(--rule);
}
.admin-table td {
  padding: var(--s-xs) var(--s-sm);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-1);
  vertical-align: middle;
}
.admin-table tr:hover td { background: oklch(100% 0 0 / .02); }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--r-sm); }

.admin-form {
  display: grid; gap: var(--s-md);
  max-width: 720px;
}
.admin-field label {
  display: block;
  font-family: var(--f-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s-2xs);
}
.admin-field input,
.admin-field textarea,
.admin-field select {
  display: block; width: 100%;
  padding: var(--s-xs) var(--s-sm);
  background: var(--surface-2);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  color: var(--ink-1);
  font-size: var(--text-sm);
}
.admin-field textarea { min-height: 120px; resize: vertical; }
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus { outline: none; border-color: var(--gold); }

.admin-login {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: var(--s-md);
}
.admin-login__card {
  width: 100%; max-width: 380px;
  padding: var(--s-xl);
  background: var(--surface-1);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}

@media (max-width: 720px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: sticky; top: 0; z-index: 10;
    flex-direction: row; align-items: center; gap: var(--s-md);
    border-right: 0; border-bottom: 1px solid var(--rule);
    padding: var(--s-xs) var(--s-sm);
    overflow-x: auto;
  }
  .admin-side__brand { border: 0; padding: 0; flex-shrink: 0; }
  .admin-nav { display: flex; gap: var(--s-2xs); }
  .admin-nav__link { white-space: nowrap; padding: var(--s-3xs) var(--s-xs); font-size: var(--text-xs); }
}

/* ===== FOCUS RING ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
