/* ============================================================
   DESIGN SYSTEM
   ============================================================ */
:root {
  --c-beige:        #f5e9d7;
  --c-beige-soft:   #ede0cc;
  --c-beige-dark:   #d9c5a8;
  --c-terra:        #9d441c;
  --c-terra-soft:   #c78555;
  --c-terra-light:  rgba(157,68,28,0.09);
  --c-terra-border: rgba(157,68,28,0.14);
  --c-dark:         #1a1008;
  --c-dark-soft:    #3a2010;
  --c-white:        #fffaf2;

  --f-display: 'Anton', sans-serif;
  --f-serif:   'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', sans-serif;

  --sp-xs:  6px;
  --sp-sm:  14px;
  --sp-md:  22px;
  --sp-lg:  44px;
  --sp-xl:  48px;
  --sp-2xl: 64px;

  --max-w:      1160px;
  --gutter:     18px;
  --radius:     6px;
  --radius-lg:  12px;
  --transition: 0.28s ease;
  --shadow-md:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-lg:  0 40px 80px rgba(0,0,0,0.42);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; background-color: #f5e9d7; }
html.will-slide-in #page-content { opacity: 0; }

/* ── Body ── */
body {
  background-color: var(--c-beige);
  color: var(--c-dark);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Section titles */
.section-head { text-align: center; margin-bottom: var(--sp-lg); }
.section-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--c-terra-soft); margin-bottom: var(--sp-xs); }
.section-title { font-family: var(--f-display); font-size: clamp(2.2rem, 7vw, 5rem); color: var(--c-terra); letter-spacing: -0.02em; text-transform: uppercase; line-height: 0.9; }
.section-rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: var(--sp-sm); color: var(--c-terra); opacity: 0.3; font-size: 0.7rem; letter-spacing: 4px; }
.section-rule::before, .section-rule::after { content: ''; width: 36px; height: 1px; background: currentColor; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Page transition */
#page-content { will-change: transform, opacity; }


/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--c-beige);
  border-bottom: 1px solid var(--c-terra-border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: var(--sp-md);
}

.header-logo { flex-shrink: 0; display: flex; align-items: center; }
.header-logo img { height: 40px; width: auto; object-fit: contain; }
.logo-fallback { font-family: var(--f-display); font-size: 1.35rem; color: var(--c-terra); letter-spacing: 1px; text-transform: uppercase; display: none; }
.logo-fallback em { font-family: var(--f-serif); font-style: italic; }

/* Nav desktop */
.header-nav { display: none; align-items: center; gap: 0; }
.nav-page {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.3px;
  color: var(--c-dark); position: relative; padding: 6px 18px;
  transition: color var(--transition); white-space: nowrap;
}
.nav-page::after {
  content: ''; position: absolute; bottom: -1px; left: 18px; right: 18px;
  height: 2px; background: var(--c-terra);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-page:hover { color: var(--c-terra); }
.nav-page:hover::after { transform: scaleX(1); }
.nav-page[aria-current="page"] { color: var(--c-terra); }
.nav-page[aria-current="page"]::after { transform: scaleX(1); }
.nav-sep { color: var(--c-terra-border); font-size: 1.1rem; user-select: none; }
.nav-carte {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.3px;
  color: var(--c-dark); opacity: 0.65; padding: 6px 12px;
  transition: opacity var(--transition), color var(--transition);
  cursor: pointer; background: none; border: none;
}
.nav-carte:hover { opacity: 1; color: var(--c-terra); }
.nav-carte[aria-disabled="true"] { cursor: not-allowed; pointer-events: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Icônes sociales sans fond — masquées sur mobile (présentes dans le burger) */
.header-social { display: none; align-items: center; gap: 10px; }
.social-icon {
  color: var(--c-terra);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  transition: color var(--transition), transform var(--transition);
}
.social-icon:hover { color: var(--c-dark); transform: translateY(-2px); }
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; padding: 4px;
  color: var(--c-dark);
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--c-beige); z-index: 190;
  flex-direction: column; padding: var(--sp-lg) var(--sp-md);
  gap: var(--sp-lg); overflow-y: auto;
}
.mobile-drawer.open { display: flex; }

/* Pill switcher de page (mobile) */
.page-switcher {
  display: flex; background: var(--c-terra-light);
  border-radius: 40px; padding: 4px; gap: 2px;
}
.switcher-pill {
  flex: 1; text-align: center; padding: 9px 12px;
  border-radius: 36px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--c-terra);
  transition: background var(--transition), color var(--transition);
}
.switcher-pill.active { background: var(--c-terra); color: var(--c-white); }

.mobile-nav { display: flex; flex-direction: column; gap: var(--sp-sm); align-items: center; }
.mobile-nav a, .mobile-nav button, .mobile-nav-current {
  font-family: var(--f-body);
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 300; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-dark);
  border-bottom: 1px solid var(--c-terra-border); padding-bottom: var(--sp-sm);
  transition: color var(--transition); background: none; border-left: none;
  border-right: none; border-top: none; text-align: center;
  width: fit-content; cursor: pointer; display: block;
}
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--c-terra); }
.mobile-nav-current { color: var(--c-terra); cursor: default; opacity: 0.5; }

.mobile-footer { margin-top: auto; display: flex; justify-content: center; gap: 14px; }
.mobile-footer .social-icon { width: 40px; height: 40px; background: var(--c-terra-light); border-radius: 50%; }
.mobile-footer .social-icon svg { width: 18px; height: 18px; }


/* ============================================================
   HERO (index — Les Halles)
   ============================================================ */
/* ── VALEURS VERROUILLÉES — ne pas modifier ── */
#hero {
  position: relative; width: 100%; min-height: 100dvh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-beige-soft);
}
.hero-media {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  bottom: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center calc(50% - 100px) !important;
  display: block;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(245,233,215,0.04) 0%,
    rgba(245,233,215,0.15) 40%,
    rgba(245,233,215,0.82) 78%,
    rgba(245,233,215,1.00) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1; padding: calc(60px + var(--sp-xl)) var(--gutter) 130px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-terra); margin-bottom: 12px; opacity: 0.85;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(5rem, 22vw, 15rem);
  color: var(--c-terra); line-height: 0.82; letter-spacing: -0.02em;
  text-transform: uppercase; text-shadow: 0 6px 40px rgba(157,68,28,0.15);
  margin-bottom: var(--sp-xs);
}
.hero-title em {
  display: inline-block; font-family: var(--f-serif); font-style: italic;
  font-size: 0.52em; font-weight: 700; vertical-align: 0.22em;
  transform: rotate(-3deg);
}
.hero-tagline {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(0.95rem, 3vw, 1.25rem); color: var(--c-dark-soft);
  margin-top: var(--sp-md); opacity: 0.75;
}
.hero-logo {
  display: block; margin-inline: auto;
  width: clamp(200px, 55vw, 520px); height: auto;
  filter: drop-shadow(0 6px 40px rgba(157,68,28,0.25));
}
.hero-logo-exp {
  width: clamp(200px, 60vw, 560px);
}

.hero-scroll-hint {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--c-terra); opacity: 0.45;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll-hint span { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.hero-scroll-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* Infobar */
.hero-infobar {
  background: var(--c-beige); position: relative;
  padding: var(--sp-md) var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: var(--sp-sm); text-align: center;
  margin-top: -2px;
}
.hero-infobar::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 1.5px; width: 100%;
  background: var(--c-terra-border);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.hero-infobar.line-drawn::before { transform: scaleX(1); }

.infobar-item { display: flex; flex-direction: column; gap: 2px; }
.infobar-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-terra-soft); }
.infobar-value { font-family: var(--f-display); font-size: 1rem; letter-spacing: 0.5px; color: var(--c-terra); }
.infobar-sep { padding-inline: 6px; opacity: 0.5; }
.infobar-divider { display: none; width: 1px; background: var(--c-terra-border); align-self: stretch; margin-block: 3px; }
.infobar-emporter { font-size: 0.82rem !important; }
@media (max-width: 619px) {
  #hero         { min-height: 100dvh; }
  .hero-content { min-height: 100dvh; }
  .hero-media   { bottom: -40px !important; }
  .hero-media::after {
    background: linear-gradient(to bottom,
      rgba(245,233,215,0.04) 0%,
      rgba(245,233,215,0.15) 40%,
      rgba(245,233,215,0.82) 78%,
      rgba(245,233,215,1.00) 100%
    );
  }
  .hero-content { padding-bottom: 18dvh; }
  .hero-scroll-hint { bottom: 12dvh; }
  .hero-infobar {
    margin-top: -9dvh;
    border-radius: 20px 20px 0 0;
    position: relative; z-index: 2;
    box-shadow: 0 -6px 24px rgba(157,68,28,0.07);
  }
  .hero-infobar::before { display: none; }
  .hero-infobar .infobar-item:nth-child(3),
  .hero-infobar .infobar-item:nth-child(5) { display: none; }
}


/* ============================================================
   NOTRE HISTOIRE
   ============================================================ */
#histoire { padding: var(--sp-2xl) var(--gutter) var(--sp-xl); }
.histoire-layout {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-lg); max-width: 920px; margin-inline: auto;
  align-items: start;
}
.histoire-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-beige-soft);
}
.histoire-photo img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4/5; transition: transform 0.7s ease;
}
.histoire-photo:hover img { transform: scale(1.03); }
.histoire-body { display: flex; flex-direction: column; gap: var(--sp-md); padding-top: var(--sp-xs); }
.histoire-text { font-size: 0.97rem; color: var(--c-dark-soft); line-height: 1.9; }
.histoire-signature { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--c-terra); opacity: 0.75; padding-top: var(--sp-xs); border-top: 1px solid var(--c-terra-border); }


/* ============================================================
   NOS PLATS (section id="carte")
   ============================================================ */
#carte { padding: var(--sp-xl) var(--gutter); border-top: 1px solid var(--c-terra-border); }
.plats-head-wrap { max-width: 980px; margin-inline: auto; }
.plats-period {
  text-align: right; font-size: 0.72rem; font-style: italic;
  color: var(--c-terra-soft); margin-top: -10px; margin-bottom: var(--sp-lg);
}

.plats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm); max-width: 980px; margin-inline: auto;
}
@media (max-width: 619px) {
  .plats-grid { grid-template-columns: 1fr 1fr; }
  .plat-img { aspect-ratio: 4/5; }
}
.plat-card { cursor: pointer; transition: transform var(--transition); outline: none; }
.plat-card[data-actif="false"] { display: none; }
.plat-card:hover { transform: translateY(-5px); }
.plat-card:focus-visible { outline: 2px solid var(--c-terra); outline-offset: 4px; border-radius: var(--radius); }
.plat-img { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--c-beige-soft); margin-bottom: 8px; }
.plat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.plat-card:hover .plat-img img { transform: scale(1.06); }
.plat-label {
  background: var(--c-terra); color: var(--c-white);
  padding: 10px 12px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.3px;
  transition: background var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  height: 64px; overflow: hidden;
}
.plat-card:hover .plat-label { background: var(--c-beige-dark); color: var(--c-dark); }
.plat-price { font-family: var(--f-display); font-size: 1rem; opacity: 0.9; flex-shrink: 0; }

/* ── Sur place / À emporter ── */
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }

.mention-underline svg path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}
.mention-circle svg path {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
}
.plats-service-mention.visible .mention-underline svg path {
  animation: draw-stroke 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}
.plats-service-mention.visible .mention-circle svg path {
  animation: draw-stroke 1.05s cubic-bezier(0.4, 0, 0.2, 1) 0.68s forwards;
}

.plats-service-mention {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-xs);
  font-family: var(--f-display);
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-terra);
}
.mention-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.mention-underline svg {
  position: absolute;
  bottom: 0;
  left: -4px;
  width: calc(100% + 8px);
  height: 12px;
  overflow: visible;
  pointer-events: none;
}
.mention-ou {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.7em;
  letter-spacing: 1px;
  opacity: 0.6;
  text-transform: lowercase;
  align-self: center;
}
.mention-circle {
  position: relative;
  display: inline-block;
  padding: 0.2em 0.6em;
}
.mention-circle svg {
  position: absolute;
  inset: -10px -14px;
  width: calc(100% + 28px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}


/* ============================================================
   TICKER
   ============================================================ */
#ticker { background: var(--c-terra); padding: 13px 0; overflow: hidden; white-space: nowrap; margin-top: var(--sp-xl); }
.ticker-track { display: inline-flex; animation: ticker-scroll 26s linear infinite; }
.ticker-track span {
  font-family: var(--f-display); font-size: 0.95rem;
  letter-spacing: 5px; text-transform: uppercase;
  padding: 0 26px; color: var(--c-white);
}
.ticker-track span::after { content: '✦'; margin-left: 26px; color: rgba(245,233,215,0.45); font-size: 0.7em; vertical-align: 2px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ============================================================
   TAPAS & DESSERTS
   ============================================================ */
#tapas { padding: var(--sp-xl) 0; overflow: hidden; }
.tapas-header {
  text-align: center;
  padding-inline: var(--gutter); margin-bottom: var(--sp-lg);
}
.tapas-desc { font-size: 0.8rem; color: var(--c-terra-soft); font-style: italic; margin-top: 6px; }
.fait-maison-tag {
  display: inline-flex; align-items: center; gap: 5px;
  width: fit-content; margin-inline: auto;
  font-family: var(--f-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--c-terra);
  background: rgba(157,68,28,0.07); border: 1px solid var(--c-terra-border);
  border-radius: 40px; padding: 4px 12px;
  margin-top: var(--sp-xs); margin-bottom: 4px;
}
.modal-maison-tag { margin-top: 4px; margin-bottom: var(--sp-sm); align-self: flex-start; margin-inline: 0; }
.tapas-a-venir { text-align: center; padding: var(--sp-xl) var(--gutter); border: 1.5px dashed var(--c-terra-border); border-radius: var(--radius-lg); margin-top: var(--sp-lg); }
.tapas-av-label { font-family: var(--f-display); font-size: 2rem; color: var(--c-terra); letter-spacing: 2px; text-transform: uppercase; opacity: 0.4; }
.tapas-av-sub { font-size: 0.85rem; color: var(--c-dark-soft); font-style: italic; margin-top: 10px; line-height: 1.7; }
.tapas-arrows {
  display: flex; gap: 8px;
  justify-content: center;
  padding-inline: var(--gutter);
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.tapas-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--c-terra-border);
  background: transparent; color: var(--c-terra);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.tapas-arrow:hover { background: var(--c-terra); color: var(--c-white); border-color: var(--c-terra); }
.tapas-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tapas-scroll {
  display: flex; gap: var(--sp-sm); overflow-x: auto;
  justify-content: safe center;
  padding: 6px var(--gutter) var(--sp-sm);
  scrollbar-width: none; cursor: grab;
  touch-action: pan-x;
}
.tapas-scroll:active { cursor: grabbing; }
.tapas-scroll::-webkit-scrollbar { display: none; }

.tapas-scroll .plat-card { flex: 0 0 175px; }
.desserts-header {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; margin-top: var(--sp-lg); margin-bottom: var(--sp-sm);
}
.desserts-header:first-of-type {
  margin-top: var(--sp-sm);
}
.desserts-title {
  font-family: var(--f-display); font-size: 1.1rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-terra); opacity: 0.7;
}
.desserts-track {
  overflow-x: auto;
}

/* ============================================================
   HORAIRES
   ============================================================ */
#horaires { background: var(--c-beige-soft); padding: var(--sp-xl) var(--gutter); border-top: 1px solid var(--c-terra-border); }
.horaires-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; max-width: 840px; margin-inline: auto;
}
@media (max-width: 619px) {
  .horaires-grid .horaire-card:last-child { grid-column: span 2; }
}
.horaire-card {
  background: var(--c-white); border-radius: var(--radius);
  padding: 16px var(--sp-md); border-left: 2.5px solid var(--c-terra);
  transition: transform var(--transition), box-shadow var(--transition);
}
.horaire-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.horaire-card.closed { opacity: 0.45; border-left-color: #b0a090; }
.horaire-day { font-family: var(--f-display); font-size: 0.88rem; letter-spacing: 1.5px; color: var(--c-terra); text-transform: uppercase; margin-bottom: 3px; }
.horaire-card.closed .horaire-day { color: #7a6050; }
.horaire-time { font-size: 0.85rem; font-weight: 500; color: var(--c-dark-soft); display: flex; flex-direction: column; gap: 0; }
.horaire-time span { line-height: 1.5; }
.horaire-time span + span { border-top: 1px solid rgba(139,80,50,0.15); margin-top: 5px; padding-top: 5px; }
.horaire-card.closed .horaire-time { font-style: italic; color: #9a8070; }
.horaires-emporter {
  text-align: center; margin-top: var(--sp-lg);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--c-terra);
}
.horaires-emporter svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.horaires-emporter span { font-size: 0.85rem; font-weight: 500; }


/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--c-beige-soft); color: var(--c-dark);
  padding: var(--sp-lg) var(--gutter) var(--sp-md);
  border-top: 1px solid var(--c-terra-border);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-md); max-width: var(--max-w); margin-inline: auto; text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: var(--sp-md); }
.footer-logo-img { height: 56px; width: auto; object-fit: contain; }
.footer-logo-text { font-family: var(--f-display); font-size: 1.6rem; color: var(--c-terra); letter-spacing: 1px; text-transform: uppercase; display: none; }
.footer-logo-text em { font-family: var(--f-serif); font-style: italic; }
.footer-brand p { font-size: 0.86rem; line-height: 1.8; color: var(--c-dark-soft); max-width: 260px; }

.footer-social-row { display: flex; gap: 10px; justify-content: center; }
.footer-icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--c-terra); transition: color var(--transition), transform var(--transition);
  padding: 4px;
}
.footer-icon:hover { color: var(--c-terra-soft); transform: translateY(-2px); }
.footer-icon svg { width: 22px; height: 22px; fill: currentColor; }

.footer-col h4 { font-family: var(--f-display); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--c-terra); margin-bottom: var(--sp-md); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li { font-size: 0.88rem; color: var(--c-dark-soft); line-height: 1.5; }
.footer-col ul li a { color: var(--c-dark-soft); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--c-terra); }

/* ── Google Reviews widget ── */
.reviews-header { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-sm); flex-wrap: wrap; justify-content: center; }
.reviews-score { font-family: var(--f-display); font-size: 2rem; color: var(--c-terra); line-height: 1; }
.reviews-stars, .review-stars { display: flex; gap: 2px; }
.reviews-stars .rv-star, .review-stars .rv-star { width: 14px; height: 14px; }
.rv-stars-text { color: var(--c-terra); letter-spacing: 1px; font-size: 0.95rem; line-height: 1; }
.rv-stars-sm { font-size: 0.7rem; letter-spacing: 0.5px; }
.reviews-carousel { overflow: hidden; margin-top: var(--sp-sm); }
.reviews-track { display: flex; transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.review-slide { min-width: 100%; padding-bottom: 4px; }
.review-header { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.review-author { font-size: 0.75rem; font-weight: 600; color: var(--c-terra); }
.review-text { font-size: 0.72rem; color: var(--c-dark-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-slide-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding-block: 8px; }
.review-cta-label { font-size: 0.78rem; color: var(--c-dark-soft); font-style: italic; line-height: 1.4; }
.reviews-write-btn { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--c-terra); border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--c-terra); text-decoration: none; transition: background var(--transition), color var(--transition); }
.reviews-write-btn:hover { background: var(--c-terra); color: var(--c-white); }
.reviews-dots { display: flex; justify-content: flex-start; gap: 6px; margin-top: 10px; }
.reviews-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-terra-border); cursor: pointer; transition: background 0.3s, transform 0.3s; border: none; padding: 0; }
.reviews-dot.active { background: var(--c-terra); transform: scale(1.3); }
.reviews-total { font-size: 0.72rem; color: var(--c-terra-soft); letter-spacing: 0.3px; }
.reviews-link { display: inline-block; margin-top: var(--sp-sm); font-size: 0.7rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-terra); text-decoration: none; transition: opacity var(--transition); }
.reviews-link:hover { opacity: 0.7; }

.footer-bottom {
  max-width: var(--max-w); margin: var(--sp-lg) auto 0;
  padding-top: var(--sp-md); border-top: 1px solid var(--c-terra-border);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-bottom p { font-size: 0.72rem; color: var(--c-terra-soft); letter-spacing: 0.5px; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-bottom nav a { font-size: 0.72rem; color: var(--c-terra-soft); transition: color var(--transition); }
.footer-bottom nav a:hover { color: var(--c-terra); }


/* ============================================================
   MODAL
   ============================================================ */
#modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-md);
  background: rgba(10,5,2,0.88); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
#modal.open { opacity: 1; pointer-events: all; }

/* ── Layout 2 colonnes (desktop) ── */
.modal-box {
  position: relative;
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  width: 100%; max-width: 660px; max-height: 82vh;
  display: grid; grid-template-columns: 45% 55%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
  box-shadow: var(--shadow-lg);
}
#modal.open .modal-box { transform: none; }
.modal-box.no-img { grid-template-columns: 1fr; }

/* ── Image : colonne gauche fixe ── */
.modal-img-wrap { background: #1e110a; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Texte : colonne droite scrollable ── */
.modal-body {
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto; overflow-x: hidden;
  word-break: break-word; overflow-wrap: break-word;
}
.modal-name {
  font-family: var(--f-display); font-size: 1.55rem;
  color: var(--c-terra); text-transform: uppercase;
  letter-spacing: -0.5px; line-height: 1.05;
  margin-bottom: 5px;
}
.modal-mention {
  font-size: 0.74rem; color: var(--c-terra-soft);
  font-style: italic; margin-bottom: var(--sp-sm);
}
.modal-price {
  font-family: var(--f-display); font-size: 1.9rem;
  color: var(--c-terra); letter-spacing: 0.5px;
  margin-bottom: var(--sp-md);
}
.modal-rule {
  border: none; border-top: 1px solid var(--c-terra-border);
  margin-bottom: var(--sp-md);
}
.modal-desc {
  font-size: 0.88rem; color: var(--c-dark-soft);
  line-height: 1.85; margin-bottom: var(--sp-md);
}
.modal-allergens {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.72rem; line-height: 1.6;
  background: var(--c-terra-light);
  border: 1px solid var(--c-terra-border);
  border-radius: var(--radius);
  padding: 10px var(--sp-sm);
  color: var(--c-dark-soft);
}
.modal-allergens::before {
  content: 'Allergènes';
  font-weight: 700; font-style: normal;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--c-terra); white-space: nowrap;
  font-size: 0.65rem; padding-top: 1px;
}

.plat-label > div > span:first-child { line-height: 1.15; }
.plat-mention { display: block; font-size: 0.6rem; font-style: italic; opacity: 0.75; margin-top: 2px; letter-spacing: 0.2px; }
.mousse-split { display: none; }
@media (max-width: 959px) {
  .mousse-full { display: none; }
  .mousse-split { display: block; }
}

/* Unique bouton × dans le coin de la modale */
.modal-x {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10,5,2,0.45); border: none; color: #fff;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  line-height: 1;
}
.modal-x:hover { background: var(--c-terra); transform: rotate(90deg); }


/* ============================================================
   ANIMATIONS D'ENTRÉE
   ============================================================ */
@keyframes anim-hero-img {
  from { opacity: 0; transform: scale(1.07); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes anim-logo-pop {
  from { opacity: 0; transform: scale(0.82) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes anim-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes anim-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anim-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Index : hero Les Halles ── */
body.hero-enter .hero-media img,
body.hero-enter .hero-media video {
  animation: anim-hero-img 1.8s cubic-bezier(0.22,1,0.36,1) 0s both;
}
body.hero-enter .hero-eyebrow {
  animation: anim-wipe 1s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}
body.hero-enter .hero-logo {
  animation: anim-logo-pop 1.2s cubic-bezier(0.34,1.2,0.64,1) 0.9s both;
}
body.hero-enter .hero-tagline {
  animation: anim-wipe 1s cubic-bezier(0.22,1,0.36,1) 1.3s both;
}
body.hero-enter .hero-scroll-hint {
  animation: anim-fade 0.8s ease 2s both;
}
body.hero-enter .hero-infobar .infobar-item:nth-child(1) {
  animation: anim-fade-up 0.65s ease 1.7s both;
}
body.hero-enter .hero-infobar .infobar-item:nth-child(3) {
  animation: anim-fade-up 0.65s ease 1.9s both;
}
body.hero-enter .hero-infobar .infobar-item:nth-child(5) {
  animation: anim-fade-up 0.65s ease 2.1s both;
}

/* ── Expérience : hero ── */
body.hero-enter .hero-exp-bg img {
  animation: anim-hero-img 1.8s cubic-bezier(0.22,1,0.36,1) 0s both;
}
body.hero-enter .hero-exp-eyebrow {
  animation: anim-wipe 1s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}
body.hero-enter .hero-logo-exp {
  animation: anim-logo-pop 1.2s cubic-bezier(0.34,1.2,0.64,1) 0.9s both;
}
body.hero-enter .hero-exp-tagline {
  animation: anim-wipe 1s cubic-bezier(0.22,1,0.36,1) 1.3s both;
}
body.hero-enter .hero-exp-cta {
  animation: anim-fade 0.8s ease 1.9s both;
}


/* ============================================================
   HERO EXPÉRIENCE
   ============================================================ */
#hero-exp {
  position: relative; width: 100%; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--c-beige-soft);
}
.hero-exp-bg { position: absolute; inset: 0; z-index: 0; }
.hero-exp-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-exp-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(245,233,215,0.08) 0%,
    rgba(245,233,215,0.55) 60%,
    rgba(245,233,215,0.95) 100%
  );
}
.hero-exp-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: calc(60px + var(--sp-xl)) var(--gutter) var(--sp-xl);
  width: 100%; max-width: 820px;
}
.hero-exp-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-terra); margin-bottom: var(--sp-md); opacity: 0.85;
}
.hero-exp-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 14vw, 10rem);
  color: var(--c-terra); line-height: 0.85; letter-spacing: -0.02em;
  text-transform: uppercase; text-shadow: 0 6px 40px rgba(157,68,28,0.15);
  margin-bottom: var(--sp-sm);
}
.hero-exp-title em {
  display: block; font-family: var(--f-serif); font-style: italic;
  font-size: 0.45em; font-weight: 700; letter-spacing: 0.06em;
  text-transform: none; margin-top: 6px;
}
.hero-exp-tagline {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1rem, 3vw, 1.3rem); color: var(--c-dark-soft);
  margin-top: var(--sp-lg); opacity: 0.75; line-height: 1.7;
  word-break: break-word;
}
.hero-exp-cta {
  margin-top: var(--sp-xl);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--c-terra); opacity: 0.45;
  font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-exp-cta:hover { opacity: 0.7; }
.hero-exp-cta svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ============================================================
   FORMULES
   ============================================================ */
#formules {
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--c-terra-border);
}

/* ─── MOBILE : carousel une ligne ─── */
.formules-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px var(--gutter) var(--sp-md);
  scroll-padding-left: var(--gutter);
}
.formules-grid::-webkit-scrollbar { display: none; }

.formule-card {
  flex: 0 0 80vw;
  min-width: 0;
  scroll-snap-align: start;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--c-terra);
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  user-select: none;
  transition: box-shadow var(--transition);
}
.formule-card:hover { box-shadow: var(--shadow-md); }

.formule-num {
  font-family: var(--f-display); font-size: 0.72rem;
  letter-spacing: 4px; color: var(--c-terra); opacity: 0.45;
}
.formule-name {
  font-family: var(--f-display); font-size: clamp(1.3rem, 5vw, 1.8rem);
  color: var(--c-terra); text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1;
  min-height: 2em;
}
.formule-desc {
  font-size: 0.88rem; color: var(--c-dark-soft);
  line-height: 1.7; flex: 1;
}
.formule-price {
  font-size: 0.82rem; color: var(--c-terra-soft); letter-spacing: 0.3px;
  padding-top: var(--sp-sm); border-top: 1px solid var(--c-terra-border);
}
.formule-price strong {
  font-family: var(--f-display); font-size: 1.4rem; color: var(--c-terra);
  letter-spacing: -0.5px; font-weight: 400;
}
.formule-btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: var(--sp-sm);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--c-terra); border: 1.5px solid var(--c-terra);
  padding: 8px 20px; border-radius: 40px;
  background: transparent; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.formule-btn:hover { background: var(--c-terra); color: var(--c-white); }

/* ─── Flèches mobile (centrées sous le carousel) ─── */
.formules-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px var(--gutter) var(--sp-xl);
}

/* ─── TABLET / DESKTOP : flex centré ─── */
@media (min-width: 620px) {
  .formules-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
    overflow: visible;
    scroll-snap-type: none;
    padding: 0 var(--gutter);
    max-width: var(--max-w);
    margin-inline: auto;
  }
  .formule-card {
    flex: 1 1 240px;
    max-width: 320px;
    scroll-snap-align: none;
    cursor: pointer;
  }
  .formules-nav { display: none; }
}

@media (min-width: 960px) {
  .formule-card { flex-basis: 280px; max-width: 380px; }
  #formules { padding-bottom: var(--sp-2xl); }
}

/* ─── Formule Modal ─── */
.formule-modal {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.formule-modal.open { opacity: 1; pointer-events: all; }

.formule-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,16,8,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.formule-modal-panel {
  position: relative; z-index: 1;
  width: min(520px, 88vw);
  max-height: 84vh;
  background: var(--c-white);
  border-radius: 16px;
  padding: var(--sp-lg) var(--sp-md);
  overflow-y: auto;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.formule-modal.open .formule-modal-panel { transform: scale(1) translateY(0); }

.formule-modal-handle { display: none; }

.formule-modal-close {
  position: absolute; top: var(--sp-md); right: var(--sp-md);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--c-terra-border);
  background: transparent; color: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.formule-modal-close:hover {
  background: var(--c-terra); color: var(--c-white); border-color: var(--c-terra);
}
.formule-modal-num {
  font-family: var(--f-display); font-size: 0.7rem;
  letter-spacing: 5px; color: var(--c-terra); opacity: 0.45;
}
.formule-modal-name {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--c-terra); text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1;
}
.formule-modal-divider {
  height: 1px; background: var(--c-terra-border); margin-block: var(--sp-xs);
}
.formule-modal-detail { font-size: 0.88rem; color: var(--c-dark-soft); line-height: 1.85; }
.formule-modal-detail p + p { margin-top: var(--sp-sm); }

/* Suppléments dans la modale */
.formule-modal-items {
  display: flex; flex-direction: column; gap: var(--sp-sm);
  margin-top: var(--sp-xs);
}
.fm-item {
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(157,68,28,0.04);
  border: 1px solid var(--c-terra-border);
  border-radius: var(--radius);
}
.fm-item-title {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-body); font-size: 0.88rem; font-weight: 600;
  color: var(--c-dark); letter-spacing: 0.1px;
}
.fm-item--devis .fm-item-title::after {
  content: 'Sur devis';
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--c-terra);
  background: rgba(157,68,28,0.1); border: 1px solid var(--c-terra-border);
  border-radius: 3px; padding: 1px 6px;
}
.fm-item-desc {
  font-size: 0.82rem; color: var(--c-dark-soft); line-height: 1.7;
  margin-top: 5px;
}
.formule-modal-cta { align-self: flex-start; margin-top: var(--sp-xs); }

/* Card Options & Suppléments */
.formule-options-list {
  list-style: none; padding: 0; margin: 0; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.formule-options-list li {
  font-size: 0.82rem; color: var(--c-dark-soft);
  padding-left: 14px; position: relative; line-height: 1.5;
}
.formule-options-list li::before {
  content: '✦'; position: absolute; left: 0;
  font-size: 0.5rem; color: var(--c-terra); top: 3px;
}


/* Bandeau "bientôt" */
.exp-soon {
  background: var(--c-beige-soft); border-top: 1px solid var(--c-terra-border);
  padding: var(--sp-xl) var(--gutter); text-align: center;
}
.exp-soon-badge {
  display: inline-block; background: var(--c-terra-light);
  color: var(--c-terra); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 40px; border: 1px solid var(--c-terra-border);
  margin-bottom: var(--sp-md);
}
.exp-soon h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 5vw, 3.5rem); color: var(--c-terra); text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: var(--sp-md); }
.exp-soon p { font-size: 0.95rem; color: var(--c-dark-soft); max-width: 520px; margin-inline: auto; line-height: 1.8; }


/* ============================================================
   RESPONSIVE ≥ 480px
   ============================================================ */
@media (min-width: 480px) {
  .tapas-scroll .plat-card { flex: 0 0 195px; }
}

/* ============================================================
   RESPONSIVE ≥ 620px
   ============================================================ */
@media (min-width: 620px) {
  :root { --gutter: 28px; --sp-2xl: 76px; }

  .hero-infobar {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0; padding-inline: var(--sp-lg); text-align: left;
  }
  .hero-infobar .infobar-item:nth-child(3) { text-align: center; }
  .hero-infobar .infobar-item:nth-child(5) { text-align: right; }
  .infobar-divider { display: block; }

  .histoire-layout { grid-template-columns: 260px 1fr; gap: var(--sp-xl); }
  .histoire-photo img { aspect-ratio: auto; height: 100%; min-height: 400px; }

  #carte .container { max-width: 1600px; }
  .plats-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 16px; max-width: none;
  }
  .plats-grid .plat-card { flex: 0 0 calc((100% - 5 * 16px) / 6); }
  .plat-img { aspect-ratio: 2/3; }
  .horaires-grid { grid-template-columns: repeat(3, 1fr); }

  .modal-box { grid-template-columns: 45% 55%; max-width: 640px; height: 460px; }
  .modal-img-wrap { height: 100%; }
  .modal-body { overflow-y: auto; }
}

/* ============================================================
   RESPONSIVE ≥ 960px
   ============================================================ */
@media (min-width: 960px) {
  :root { --gutter: 44px; --sp-2xl: 88px; }

  .header-inner { height: 68px; }
  .header-logo img { height: 46px; }
  .header-nav { display: flex; }
  .header-social { display: flex; }
  .hamburger { display: none; }

  .hero-infobar { padding-inline: var(--sp-xl); }
  .hero-eyebrow { font-size: 1rem; letter-spacing: 4px; }
  .infobar-value { font-size: 1.15rem; }

  .horaires-grid { grid-template-columns: repeat(4, 1fr); }

  .modal-box { max-width: 700px; height: 480px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; text-align: left; gap: var(--sp-2xl); }
  .footer-brand { align-items: flex-start; }
  .footer-social-row { justify-content: flex-start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .reviews-header { justify-content: flex-start; }
  .reviews-dots { justify-content: flex-start; }
}

/* ── Footer mobile : brand pleine largeur + contact | avis en 2 col ── */
@media (min-width: 480px) and (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; gap: var(--sp-lg); }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer-social-row { justify-content: center; }
  .reviews-header { justify-content: flex-start; }
  .reviews-dots { justify-content: flex-start; }
}

/* ── Footer petit mobile : compact, carrousel masqué ── */
@media (max-width: 479px) {
  .footer-reviews .reviews-carousel,
  .footer-reviews .reviews-dots { display: none; }
  .footer-reviews .reviews-link { display: block; margin-top: 6px; }
  .reviews-header { justify-content: center; }
}

@media (min-width: 1200px) {
  :root { --gutter: 56px; }
}

/* ============================================================
   BOTTOM NAV MOBILE
   ============================================================ */
.bottom-nav { display: none; }

@media (max-width: 959px) {
  /* Masquer le header et le drawer mobile */
  #site-header  { display: none; }
  #mobile-drawer { display: none; }

  .bottom-nav {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    background: var(--c-beige);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.13), 0 1px 6px rgba(0,0,0,0.07);
    height: 66px;
    padding-top: env(safe-area-inset-top, 0px);
    align-items: stretch;
  }
}

.bottom-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  color: var(--c-terra);
  text-align: center;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.25s ease;
  cursor: pointer;
}
.bottom-nav-tab.active,
.bottom-nav-tab[aria-current] { opacity: 1; cursor: default; }

.bottom-nav-indicator {
  position: absolute;
  bottom: 6px;
  left: 0;
  height: 2px;
  width: 22px;
  background: var(--c-terra);
  border-radius: 1px;
  pointer-events: none;
  transition: left 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav-label {
  font-family: var(--f-display);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-terra);
  line-height: 1;
}
.bottom-nav-sub {
  font-family: var(--f-body);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: var(--c-terra);
  line-height: 1.3;
}

.bottom-nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--sp-md);
}
.bottom-nav-logo img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* ============================================================
   CONTACT POPUP
   ============================================================ */
.contact-popup {
  position: fixed; inset: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity 0.25s ease;
}
.contact-popup.open { pointer-events: auto; opacity: 1; }
.contact-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,16,8,0.72);
  backdrop-filter: blur(4px);
}
.contact-popup-box {
  position: relative; z-index: 1;
  background: var(--c-beige);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  width: min(360px, 88vw);
  display: flex; flex-direction: column; gap: var(--sp-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(8px);
  transition: transform 0.25s ease;
}
.contact-popup.open .contact-popup-box { transform: scale(1) translateY(0); }
.contact-popup-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none;
  color: var(--c-dark-soft); cursor: pointer; padding: 6px;
  opacity: 0.5; transition: opacity var(--transition);
}
.contact-popup-close:hover { opacity: 1; }
.contact-popup-title {
  font-family: var(--f-display);
  font-size: 0.82rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-terra); text-align: center;
  margin-bottom: var(--sp-xs);
}
.contact-popup-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px var(--sp-md);
  border-radius: var(--radius);
  border: 1.5px solid var(--c-terra-border);
  text-decoration: none; color: var(--c-dark);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.contact-popup-call {
  background: var(--c-terra); border-color: var(--c-terra); color: var(--c-white);
}
.contact-popup-call:hover { background: var(--c-dark); border-color: var(--c-dark); }
.contact-popup-mail:hover { background: var(--c-terra-light); border-color: var(--c-terra); }
.cp-btn-label { font-weight: 600; font-size: 0.9rem; flex: 1; }
.cp-btn-sub { font-size: 0.72rem; opacity: 0.65; }

/* ============================================================
   PAGES LÉGALES (mentions-légales, confidentialité)
   ============================================================ */
.legal-hero {
  background: var(--c-dark);
  padding: calc(60px + var(--sp-xl)) var(--gutter) var(--sp-xl);
  text-align: center;
}
.legal-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--c-terra-soft);
  margin-bottom: var(--sp-sm);
}
.legal-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--c-white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.legal-body {
  padding: var(--sp-xl) var(--gutter) var(--sp-2xl);
  max-width: 780px;
  margin: 0 auto;
}
.legal-body h2 {
  font-family: var(--f-display);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
  padding-bottom: var(--sp-xs);
  border-bottom: 1px solid var(--c-terra-border);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--c-dark-soft);
}
.legal-body p + p { margin-top: var(--sp-sm); }
.legal-body ul {
  padding-left: 1.1rem;
  margin-top: var(--sp-xs);
  list-style: disc;
}
.legal-body li { margin-bottom: 4px; }
.legal-body a { color: var(--c-terra); text-decoration: underline; }
.legal-body a:hover { opacity: 0.7; }
.legal-todo {
  display: inline-block;
  background: rgba(157,68,28,0.08);
  border: 1px dashed var(--c-terra);
  border-radius: 4px;
  padding: 1px 7px;
  color: var(--c-terra);
  font-style: italic;
  font-size: 0.85em;
}

/* ── Modale mobile — safe areas iPhone ── */
@media (max-width: 959px) {
  #modal {
    padding-top:    max(env(safe-area-inset-top,    0px), 20px);
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 20px);
    padding-left:  16px;
    padding-right: 16px;
  }
  .modal-box {
    grid-template-columns: 1fr;
    width: 94%;
    max-width: none;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .modal-img-wrap { aspect-ratio: 16/9; height: auto; }
  .modal-img-wrap img { object-position: center center; }
  .modal-body { padding: 12px 14px 14px; gap: 6px; overflow-y: visible; overflow-x: hidden; }
  .modal-name { font-size: 1.2rem; }
  .modal-desc { font-size: 0.82rem; line-height: 1.55; }
  .modal-price { font-size: 1.2rem; padding-top: 8px; margin-top: 4px; }
  .modal-allergens { font-size: 0.7rem; }
}
