/* ============================================================
   MOM'S RESTAURANT — CSS
   Dark luxury · Or & Brun · Khmer authentique
============================================================ */

/* === VARIABLES === */
:root {
  --gold:        #d4af37;
  --gold-light:  #f0d060;
  --gold-dark:   #b8952e;
  --bg:          #080808;
  --bg-card:     #111111;
  --bg-card-2:   #161616;
  --border:      rgba(212, 175, 55, 0.25);
  --border-strong: rgba(212, 175, 55, 0.5);
  --ink:         #f0ece4;
  --ink-muted:   #aca49c;
  --ink-subtle:  #908880;
  --bg-alt:      #121212;

  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --container:   min(1160px, 94vw);
  --nav-h:       72px;
  --radius:      14px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,.4);
  --shadow-md:   0 8px 30px rgba(0,0,0,.5);
  --shadow-gold: 0 0 30px rgba(212,175,55,.15);

  --ease:        cubic-bezier(.4,0,.2,1);
  --t-fast:      180ms;
  --t-med:       320ms;

  --mab-h:       64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle texture — disabled on body, applied only to 2 targeted sections */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; }

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

.container { width: var(--container); margin: 0 auto; }

/* ============================================================
   NAVIGATION
============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-med) var(--ease);
}

#header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}

.brand {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  flex-shrink: 0;
}
.brand span { color: var(--gold-light); }
.brand:hover { color: var(--gold-light); }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 900px) {
  .desktop-nav { display: flex; }
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  position: relative;
  padding-bottom: 4px;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--t-med) var(--ease);
}
.desktop-nav a:hover { color: var(--gold); }
.desktop-nav a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-reserve {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  border: none;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-reserve:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
}
.btn-reserve span { display: none; }
@media (min-width: 480px) { .btn-reserve span { display: inline; } }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 7px 8px;
  transition: all var(--t-fast);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}
.hamburger:hover { background: rgba(212,175,55,.1); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-med) var(--ease), padding var(--t-med);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  max-height: 500px;
  padding: 12px 0 20px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-link {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-link:hover { color: var(--gold); padding-left: 32px; }

.mobile-cta {
  margin: 16px 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 10px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,.95) 35%, rgba(8,8,8,.85) 65%, rgba(8,8,8,.75) 100%),
    url('../photos/angkor-hero.jpg') center 40%/cover no-repeat;
  background-color: #1a120a;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(212,175,55,.06) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(240,236,228,.22);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(240,236,228,.07);
  letter-spacing: .5px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(52px, 10vw, 100px);
  color: #fff;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(240,236,228,.75);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: all var(--t-fast) var(--ease);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.3);
  transition: all var(--t-fast) var(--ease);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}
.hero-info i { color: var(--ink-subtle); }
.dot { color: var(--ink-subtle); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border: 1.5px solid rgba(240,236,228,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-subtle);
  font-size: 14px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION COMMONS
============================================================ */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 50ch;
  margin: 0 auto;
}

/* ============================================================
   NOTRE HISTOIRE
============================================================ */
.section-histoire {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Grid texture limited to this section */
.section-histoire::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .045;
  background-image:
    repeating-linear-gradient(0deg, rgba(212,175,55,.5) 0px, rgba(212,175,55,.5) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(212,175,55,.5) 0px, rgba(212,175,55,.5) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
}

.section-histoire > .container { position: relative; z-index: 1; }

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .histoire-grid { grid-template-columns: 3fr 2fr; gap: 80px; }
}

.histoire-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff;
  margin-bottom: 24px;
}
.histoire-text h2 em { color: var(--gold); font-style: italic; }

.histoire-text p {
  color: var(--ink-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.histoire-text p strong { color: var(--gold); font-weight: 600; }

.histoire-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.histoire-visuel { position: relative; }

.histoire-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--bg-card-2);
}

.histoire-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.histoire-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-subtle);
}
.histoire-img-placeholder i { font-size: 48px; color: var(--border-strong); }
.histoire-img-placeholder p { font-size: 14px; }

.histoire-badge-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  left: auto;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  padding: 16px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(212,175,55,.35);
}
.histoire-badge-float i { display: block; margin-bottom: 4px; font-size: 18px; }

/* ============================================================
   LANG TOGGLE BUTTON
============================================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-body);
}
.lang-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,55,.06);
}
.lang-toggle.en-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,55,.1);
}

/* ============================================================
   MENU
============================================================ */
.section-menu {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(20,15,8,.5) 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

/* Grid texture limited to this section */
.section-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .03;
  background-image:
    repeating-linear-gradient(0deg, rgba(212,175,55,.5) 0px, rgba(212,175,55,.5) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(212,175,55,.5) 0px, rgba(212,175,55,.5) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
}

.section-menu > .container { position: relative; z-index: 1; }

/* --- Tabs --- */
.menu-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  padding-bottom: 18px;
}

@media (min-width: 480px) {
  .menu-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 700px) {
  .menu-tabs { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1000px) {
  .menu-tabs {
    display: flex;
    flex-wrap: wrap;
  }
}

.menu-tab {
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  white-space: nowrap;
  text-align: center;
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

@media (min-width: 1000px) {
  .menu-tab {
    padding: 14px 24px;
    font-size: 16px;
    letter-spacing: .4px;
    flex-shrink: 0;
  }
}

.menu-tab::after { display: none; }
.menu-tab:hover { color: var(--gold-light); border-color: var(--border-strong); background: rgba(212,175,55,.05); }
.menu-tab.active { color: var(--gold); background: rgba(212,175,55,.10); border-color: var(--gold); }

/* --- Category bar --- */
.menu-category-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px 4px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  gap: 12px;
  flex-wrap: wrap;
}
.cat-title {
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
}
.cat-desc {
  font-size: 14px;
  color: var(--ink-muted);
  font-style: italic;
}
.cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

/* --- Card grid --- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 500px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Card item --- */
.menu-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: visible; /* never clip the price bar */
  padding: 0;
  gap: 0;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.4);
  border-color: var(--gold);
}
.menu-item:last-child { border-bottom: unset; }

/* --- Image area --- */
.menu-item-img {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  /* clip image to card's top rounded corners */
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
.menu-item-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(8,8,8,.5) 100%);
  pointer-events: none;
  opacity: .8;
  transition: opacity var(--t-med);
}
.menu-item:hover .menu-item-img::after { opacity: .4; }
.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.menu-item:hover .menu-item-img img { transform: scale(1.08); }

/* --- Text content --- */
.menu-item-info {
  flex: 1;
  padding: 16px 18px 10px;
}
.menu-item-info h4 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color var(--t-fast);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}
.menu-item:hover .menu-item-info h4 { color: var(--gold); }
.menu-item-info p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.menu-item-info p em { color: var(--ink-subtle); }

/* --- Price pinned to bottom --- */
.menu-price {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  padding: 11px 18px 15px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  letter-spacing: .3px;
  flex-shrink: 0;
  border-radius: 0 0 calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px);
}

/* --- Items without images (boissons) keep a compact row layout --- */
.menu-item:not(:has(.menu-item-img)) {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 20px;
  gap: 10px;
}
.menu-item:not(:has(.menu-item-img)) .menu-item-info { padding: 0; }
.menu-item:not(:has(.menu-item-img)) .menu-price {
  padding: 0;
  border-top: none;
  margin-top: 0;
  font-size: 16px;
}

/* --- Tags --- */
.menu-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  background: rgba(212,175,55,.12);
  color: var(--gold);
  border: 1px solid var(--border-strong);
  padding: 2px 8px;
  border-radius: 999px;
}
.veggie-tag {
  background: rgba(74, 222, 128, .1);
  color: #4ade80;
  border-color: rgba(74, 222, 128, .3);
}

.menu-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 52px;
  padding: 16px 20px;
  background: rgba(212,175,55,.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}
.menu-note i { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   FORMULES MENUS DU SOIR
============================================================ */
.formules-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  padding: 12px 24px;
  background: rgba(212,175,55,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.formules-intro i { font-size: 12px; opacity: .8; }

.formules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .formules-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.formule-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.formule-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.35);
  border-color: var(--border-strong);
}
.formule-card.featured {
  border-color: var(--gold);
}
.formule-card.featured:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 40px rgba(212,175,55,.25);
}

.formule-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.formule-badge i { font-size: 9px; }

/* Header section of the card */
.formule-header {
  position: relative;
  padding: 40px 28px 32px;
  text-align: center;
  background: linear-gradient(160deg, #1c1400 0%, #0d0900 100%);
  overflow: hidden;
}
.formule-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.22) 0%, transparent 65%);
  pointer-events: none;
}
.formule-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}
.formule-card.featured .formule-header {
  background: linear-gradient(160deg, #2a1d00 0%, #160f00 100%);
}
.formule-card.featured .formule-header::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.32) 0%, transparent 65%);
}

.formule-ornament {
  position: relative;
  font-size: 14px;
  color: var(--gold-dark);
  letter-spacing: 8px;
  margin-bottom: 16px;
  opacity: .9;
}

.formule-name {
  position: relative;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: .2px;
}
.formule-card.featured .formule-name { color: #fff; }

.formule-price-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 8px;
}
.formule-price {
  font-family: var(--font-head);
  font-size: 68px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.formule-currency {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 10px;
  margin-left: 2px;
}

.formule-pp {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-subtle);
}

/* Courses list */
.formule-courses {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.formule-course {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(212,175,55,.07);
}
.formule-course:last-child { border-bottom: none; padding-bottom: 0; }
.formule-course:first-child { padding-top: 0; }

.formule-course-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.formule-card.featured .formule-course-icon {
  background: rgba(212,175,55,.14);
  border-color: rgba(212,175,55,.3);
}

.formule-course-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold);
  margin-bottom: 5px;
}

.formule-course-content p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.formules-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-subtle);
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.formules-note i { color: var(--gold); }
.formules-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.formules-note a:hover { color: var(--gold-light); }

/* ============================================================
   SPÉCIALITÉS
============================================================ */
.section-specialites {
  padding: 100px 0;
  background: var(--bg-alt);
}

.specialites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .specialites-grid { grid-template-columns: repeat(3, 1fr); }
}

.specialite-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.specialite-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), var(--shadow-gold);
  border-color: var(--border-strong);
}

.specialite-img {
  position: relative;
  height: 260px;
  background: var(--bg-card-2);
  overflow: hidden;
}
.specialite-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.specialite-card:hover .specialite-img img { transform: scale(1.06); }

.specialite-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.specialite-body {
  padding: 24px;
}

.specialite-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.specialite-body h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}

.specialite-body p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.specialite-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.specialite-price {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}

.specialite-stars {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
}

/* ============================================================
   AVIS
============================================================ */
.section-avis {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(18,13,5,.6) 50%, var(--bg) 100%);
}

.avis-global {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.avis-note {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stars-row { font-size: 20px; color: var(--gold); letter-spacing: 3px; }
.avis-global small { font-size: 12px; color: var(--ink-subtle); }

.avis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .avis-grid { grid-template-columns: repeat(3, 1fr); }
}

.avis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  display: flex;
  flex-direction: column;
}
.avis-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-gold);
}

.avis-stars {
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.avis-card blockquote {
  position: relative;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 28px;
  flex: 1;
}

/* Guillemet décoratif en or léger */
.avis-card blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: -4px;
  font-family: var(--font-head);
  font-size: 80px;
  font-style: normal;
  line-height: 1;
  color: rgba(212, 175, 55, 0.22);
  pointer-events: none;
  user-select: none;
}

.avis-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex-shrink: 0;
}

.avis-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212,175,55,.15);
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.avis-author strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

/* Lien "Voir sur Google" : gris clair lisible, or seulement au survol */
.avis-author a {
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--t-fast);
}
.avis-author a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.avis-google-icon {
  font-size: 11px;
  opacity: .75;
}

.avis-cta {
  text-align: center;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1.5px solid var(--border-strong);
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
.btn-outline-gold:hover {
  background: rgba(212,175,55,.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT
============================================================ */
.section-contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-infos { display: flex; flex-direction: column; gap: 28px; }

.info-block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212,175,55,.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.info-block h4 {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 5px;
  font-weight: 600;
}
.info-block p, .info-block a {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.info-block a:hover { color: var(--gold); }

.horaires {
  display: grid;
  grid-template-columns: 90px 68px 68px;
  gap: 6px 10px;
  font-size: 14px;
}
.horaire-row { display: contents; }
.horaire-day { font-weight: 600; color: var(--ink); align-self: center; }
.horaire-midi, .horaire-soir { color: var(--ink-muted); align-self: center; text-align: center; }
.horaire-row.closed > * { opacity: .5; color: var(--ink-muted); }
.horaire-row.closed .horaire-day { font-weight: 600; }

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: invert(90%) hue-rotate(180deg) sepia(20%) saturate(1.4) brightness(0.85);
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-muted);
  text-align: center;
}
.map-placeholder i { font-size: 36px; color: var(--border-strong); }
.map-placeholder p { font-size: 15px; color: var(--ink-muted); }

/* ============================================================
   SECTION RÉSERVER — CTA FINAL
============================================================ */
.section-reserver {
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #0f0a00 0%, #1a1000 50%, #0a0700 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.section-reserver::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.20) 0%, transparent 60%);
  pointer-events: none;
}

/* Séparateur décoratif interne à la section réserver */
.section-reserver::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,.45) 30%, rgba(212,175,55,.6) 50%, rgba(212,175,55,.45) 70%, transparent 100%);
}

.reserver-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.reserver-icon {
  width: 68px;
  height: 68px;
  background: rgba(212,175,55,.12);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin: 0 auto 28px;
}

.reserver-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  color: #fff;
  margin-bottom: 16px;
}

.reserver-inner p {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 44px;
  letter-spacing: .2px;
}

.reserver-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-reserver-cta {
  padding: 17px 36px;
  font-size: 17px;
}

.reserver-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 17px;
  font-weight: 600;
  padding: 17px 28px;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
}
.reserver-phone i { color: var(--gold); }
.reserver-phone:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .reserver-actions { flex-direction: column; width: 100%; }
  .reserver-actions .btn-gold,
  .reserver-phone { width: 100%; justify-content: center; }
}

/* ============================================================
   MOBILE ACTION BAR (mobile uniquement)
============================================================ */
.mobile-action-bar {
  /* Positionnement déclaré ici, visibility gérée par media query */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--mab-h);
  background: rgba(8,8,8,.97);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -4px 24px rgba(0,0,0,.6);
  /* Caché sur desktop par défaut */
  display: none;
}

/* Visible uniquement sur mobile */
@media (max-width: 899px) {
  .mobile-action-bar {
    display: flex;
  }
  body { padding-bottom: var(--mab-h); }
  #backToTop { bottom: calc(var(--mab-h) + 16px); right: 16px; }
}

/* Toujours caché sur desktop, même avec zoom navigateur */
@media (min-width: 900px) {
  .mobile-action-bar {
    display: none !important;
  }
}

.mab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-right: 1px solid var(--border);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.mab-btn:last-child { border-right: none; }
.mab-btn i { font-size: 20px; }

.mab-reserve {
  background: var(--gold);
  color: #111;
  font-weight: 800;
}
.mab-reserve:hover { background: var(--gold-light); color: #111; }
.mab-call:hover,
.mab-directions:hover {
  color: var(--gold);
  background: rgba(212,175,55,.08);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #050505;
  border-top: 3px solid var(--border-strong);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--gold-light); }

.footer-brand p {
  font-size: 14px;
  color: var(--ink-subtle);
  line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h5,
.footer-contact h5,
.footer-hours h5 {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-subtle);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 14px;
  color: var(--ink-subtle);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--gold); }

.footer-hours p {
  font-size: 14px;
  color: var(--ink-subtle);
  line-height: 1.5;
}
.closed-tag { color: var(--ink-subtle) !important; opacity: .5; }

.footer-schedule {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fsch-group {
  margin-bottom: 10px;
}
.fsch-group-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: .85;
}

.fsch-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 8px;
}
.fsch-days {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.fsch-sep {
  height: 1px;
  background: rgba(212,175,55,.18);
  border-radius: 1px;
}
.fsch-time {
  font-size: 12px;
  color: var(--ink-subtle);
  white-space: nowrap;
  text-align: right;
}
.fsch-closed .fsch-days { color: var(--ink-subtle); }
.fsch-closed .fsch-days,
.fsch-closed .fsch-time { opacity: .45; }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* ============================================================
   BACK TO TOP
============================================================ */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,175,55,.35);
  transition: all var(--t-fast) var(--ease);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  z-index: 800;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,175,55,.5);
}

/* ============================================================
   ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .35s; }
.delay-4 { transition-delay: .5s; }

/* ============================================================
   PERFORMANCE
============================================================ */
/* GPU compositing for sections below fold */
.section-specialites,
.section-avis,
.section-contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Section grids are static elements — no GPU promo needed */

/* Promote only few key hover-animated elements to compositor layer */
.specialite-card,
.formule-card {
  will-change: transform;
}

/* For menu items: activate GPU only on hover to avoid memory waste on 50+ items */
.menu-item:hover,
.avis-card:hover {
  will-change: auto;
}

/* Avoid expensive image transitions on low-power devices */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .menu-item, .specialite-card, .formule-card { transition: none; }
  .menu-item-img img { transition: none; }
  @keyframes bounce { 0%,100%,50% { transform: translateX(-50%); } }
}

/* Contain layout/paint for menu panels to reduce reflow */
.menu-panel {
  contain: layout style;
}
.menu-panel.active {
  contain: layout;
}

/* ============================================================
   RESPONSIVE UTILITIES
============================================================ */
@media (max-width: 480px) {
  /* Hero: réduire la surcharge or sur petit écran */
  .hero-content { padding: 36px 0; }
  .hero-title { font-size: 40px; letter-spacing: -.5px; }
  .hero-badge { font-size: 11px; padding: 5px 14px; margin-bottom: 20px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
  .hero-info .dot { display: none; }
  .hero-info { flex-direction: column; gap: 8px; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
  .histoire-badge-float { display: none; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn-gold,
  .contact-actions .btn-outline { justify-content: center; }
  /* Grille menu : forcer 1 colonne sous 480px */
  .menu-grid { grid-template-columns: 1fr !important; }
}
