:root {
  --bg: #080808;
  --bg-2: #111111;
  --bg-3: #171717;
  --gold: #d6ac2b;
  --gold-soft: #f0c84b;
  --text: #ffffff;
  --muted: #b8b8b8;
  --line: rgba(214, 172, 43, 0.28);
  --radius: 16px;
  --max: 1400px;
  --header: 72px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(214, 172, 43, 0.1), transparent 55%),
    var(--bg);
  color: var(--muted);
  font-family: Outfit, "Segoe UI", sans-serif;
  line-height: 1.45;
  color-scheme: dark;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-main {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav-main a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-main a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  border-color: transparent;
  color: #15110a;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}

.btn-gold:hover {
  box-shadow: 0 0 0 1px rgba(240, 200, 75, 0.35), 0 10px 28px rgba(214, 172, 43, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(214, 172, 43, 0.55);
  color: var(--gold-soft);
}

/* Hero (éléments partagés ; mise en page dans experience.css) */
.hero-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Sticky category nav */
.catnav-wrap {
  position: sticky;
  top: var(--header);
  z-index: 30;
  padding: 10px 0;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.catnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.catnav::-webkit-scrollbar { display: none; }

.catnav button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 172, 43, 0.22);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.catnav button.on {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: #15110a;
  border-color: transparent;
}

/* Sections */
.menu-section {
  padding: 48px 0 8px;
  scroll-margin-top: calc(var(--header) + 64px);
}

.section-head {
  margin-bottom: 22px;
}

.section-head .eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.95;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 48ch;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 172, 43, 0.28);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #151515;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  background: #d6ac2b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Sandwichs : cadrages distincts pour différencier les 4 photos */
.card[data-id="roux"] .card-media img { object-position: 20% 70%; filter: saturate(0.92) contrast(1.08); }
.card[data-id="neruda"] .card-media img { object-position: 50% 45%; filter: saturate(1.15) contrast(1.05); }
.card[data-id="wallace"] .card-media img { object-position: 78% 40%; filter: saturate(1.08) contrast(1.12); }
.card[data-id="malcolm"] .card-media img { object-position: 65% 55%; filter: saturate(0.88) brightness(1.06); }

.card[data-id="roux"] .card-badge { background: #c49a2c; }
.card[data-id="neruda"] .card-badge { background: #e0a824; }
.card[data-id="wallace"] .card-badge { background: #b8892a; }
.card[data-id="malcolm"] .card-badge { background: #d8b44a; }

.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #7a7a7a;
  background:
    linear-gradient(180deg, #1a1a1a, #151515);
}

.placeholder svg {
  width: 28px;
  height: 28px;
  stroke: #8a8a8a;
  fill: none;
  stroke-width: 1.5;
}

.placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}

.card-body h3 {
  font-size: 30px;
  line-height: 1;
}

.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.ingredients {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ingredients li {
  position: relative;
  padding: 6px 0 6px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 14px;
}

.ingredients li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.card.open .ingredients { display: grid; }

.toggle {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--gold);
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prices {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--text);
  font-size: 15px;
}

.price-row strong {
  color: var(--gold-soft);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.price-row.main strong {
  font-size: 22px;
  color: var(--text);
}

.card-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(214, 172, 43, 0.08);
  border: 1px solid rgba(214, 172, 43, 0.18);
  color: var(--muted);
  font-size: 12px;
}

.card .btn {
  width: 100%;
  margin-top: 4px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  margin-top: 56px;
  padding: 36px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 760px) {
  .nav-main { display: flex; }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.burgers,
  .grid.sandwichs,
  .grid.bowls {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid,
  .grid.burgers,
  .grid.sandwichs,
  .grid.bowls,
  .grid.extras,
  .grid.frites,
  .grid.hotdogs {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.enfant,
  .grid.partager {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-media img, .btn { transition: none; }
}
