/* =========================================================
   MC-ÔMAMIE — Feuille de style principale
   Charte : ivoire/papier, bois chaud, terracotta, noir encre

   Unités : rem pour tout ce qui touche au texte (tailles de police,
   marges, paddings, gaps, largeurs de blocs de contenu) — ça respecte
   le zoom texte / la taille de police définie par l'utilisateur.
   px conservé pour les détails géométriques fixes : bordures fines,
   rayons d'angle, ombres, dimensions d'icônes et de boutons ronds,
   décalages de positionnement.
   ========================================================= */

:root {
  --ivoire: #F3E6D0;
  --sable: #D8C1A0;
  --terracotta: #B85A24;
  --terracotta-clair: #D48A55;
  --encre: #191715;
  --brun-the: #6A4B32;
  --sauge: #73775B;
  --blanc-chaud: #FBF7F0;

  --font-display: 'Cormorant Garamond', serif;
  --font-ui: 'Manrope', sans-serif;
  --font-accent: 'Allura', cursive;

  --content-max: 80rem;
  --radius-ui: 6px;
  --radius-img: 14px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --shadow-soft: 0 12px 32px rgba(25, 23, 21, 0.08);
  --header-height: 5.25rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body, h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

img, svg { max-width: 100%; }

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  color: var(--encre);
  font-weight: 600;
  line-height: 1.05;
}

h1 { font-size: clamp(2.375rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 500; }
h3 { font-size: clamp(1.1875rem, 2.5vw, 1.4375rem); font-family: var(--font-ui); font-weight: 600; }

p { color: var(--encre); }

.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.accent-script {
  font-family: var(--font-accent);
  color: var(--terracotta);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
}

/* Cormorant Garamond dessine son tiret avec un léger angle calligraphique ;
   ce caractère précis reprend la police Manrope pour rester bien horizontal. */
.mc-dash {
  font-family: var(--font-ui);
  font-style: normal;
}

/* Empêche "MC-ÔMAMIE" de se couper au niveau du tiret en fin de ligne */
.brand-name { white-space: nowrap; }

.text-secondary { color: var(--brun-the); }

.section {
  padding: var(--space-7) 0;
}

.section-tight { padding: var(--space-6) 0; }

.section-alt {
  position: relative;
  background: var(--blanc-chaud);
  overflow: hidden;
}
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/textures/fond-bambou-1.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.section-alt.texture-2::before { background-image: url('../images/textures/fond-bambou-2.png'); background-position: right center; }
.section-alt.texture-3::before { background-image: url('../images/textures/fond-bambou-3.png'); background-position: right center; }
.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow { display: block; margin-bottom: var(--space-1); }
.section-header h2 { margin-top: var(--space-1); }
.section-header p { margin-top: var(--space-2); color: var(--brun-the); font-size: 1.0625rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.875rem;
  border-radius: var(--radius-ui);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .1s; }

.btn-primary {
  background: var(--terracotta);
  color: var(--blanc-chaud);
  box-shadow: 0 2px 10px rgba(184,90,36,0.25);
}
.btn-primary:hover { background: #a34e1d; box-shadow: 0 8px 20px rgba(184,90,36,0.32); }
.btn-primary:active { box-shadow: 0 2px 8px rgba(184,90,36,0.28); }

.btn-outline {
  background: transparent;
  color: var(--encre);
  border-color: rgba(25,23,21,0.35);
}
.btn-outline:hover { border-color: var(--encre); background: rgba(25,23,21,0.04); }

.btn-outline-light {
  background: transparent;
  color: var(--blanc-chaud);
  border-color: rgba(251,247,240,0.55);
}
.btn-outline-light:hover { border-color: var(--blanc-chaud); background: rgba(251,247,240,0.1); }

/* ---------- Icônes (traits fins) ---------- */
.icon {
  width: 28px;
  height: 28px;
  stroke: var(--terracotta);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease, height .3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header--overlay {
  background: transparent;
}

.site-header--solid,
.site-header--overlay.is-scrolled,
.site-header--overlay.nav-open {
  background: var(--ivoire);
  box-shadow: 0 1px 0 rgba(25,23,21,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity .25s ease;
}
.brand:hover { opacity: 0.72; }

.brand-mark { width: 34px; height: 34px; object-fit: contain; display: block; }

/* Logo clair/foncé : le mark est une image fixe (pas de currentColor possible),
   donc on affiche la bonne variante selon que le header est transparent
   (sur la photo du hero) ou opaque. */
.brand-mark-light { display: none; }
.site-header--overlay:not(.is-scrolled):not(.nav-open) .brand-mark-dark { display: none; }
.site-header--overlay:not(.is-scrolled):not(.nav-open) .brand-mark-light { display: block; }

.site-header--overlay:not(.is-scrolled):not(.nav-open) .brand,
.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-link {
  color: var(--blanc-chaud);
}

.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-link::after {
  background: var(--blanc-chaud);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.375rem 0.125rem;
  color: var(--encre);
  transition: color .25s ease;
}
.nav-link:hover { color: var(--terracotta); }
.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-link:hover { color: var(--terracotta-clair); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--terracotta);
  transition: right .25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }

.nav-link.is-active { color: var(--terracotta); }

.mobile-nav-footer { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--encre);
  transition: opacity .2s ease;
}
.nav-toggle:hover { opacity: 0.65; }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-toggle { color: var(--blanc-chaud); }
/* Sur une photo, l'icône blanche a besoin d'un peu de contraste ; sur fond uni, ce n'est pas nécessaire. */
.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-toggle span,
.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-toggle span::before,
.site-header--overlay:not(.is-scrolled):not(.nav-open) .nav-toggle span::after {
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.3));
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ivoire);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-3) var(--space-3);
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-link {
    width: 100%;
    padding: 1.125rem 0.25rem;
    border-bottom: 1px solid rgba(25,23,21,0.08);
    font-size: 1.0625rem;
    color: var(--encre) !important;
  }
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    width: 100%;
    margin-top: auto;
    padding: var(--space-4) 0.25rem var(--space-2);
  }
  .mobile-nav-footer .accent-script { font-size: 1.75rem; }
  .mobile-nav-footer a { font-size: 0.9375rem; color: var(--brun-the); transition: color .2s ease; }
  .mobile-nav-footer a:hover { color: var(--terracotta); }
  .mobile-nav-footer .footer-social { color: var(--brun-the); }
  .mobile-nav-footer .footer-social:hover { color: var(--terracotta); }
  .mobile-nav-footer .footer-social .icon { width: 22px; height: 22px; }

  .nav-toggle { display: flex; }
  .nav-toggle.is-active span { background: transparent; }
  .nav-toggle.is-active span::before { transform: rotate(45deg); top: 0; }
  .nav-toggle.is-active span::after { transform: rotate(-45deg); top: 0; }
}

/* =========================================================
   HERO (Accueil)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--blanc-chaud);
  background: var(--encre) url('../images/hero-accueil.jpg') center / cover no-repeat;
}
/* Sur les écrans étroits, le recadrage "cover" centré coupe l'enseigne
   de la devanture ; on décale le point de recadrage vers la gauche. */
@media (max-width: 980px) {
  .hero { background-position: 20% center; }
}
/* Sur mobile, une hauteur à 100% d'écran forçait un recadrage horizontal
   très serré (moins de 35% de la largeur de la photo visible). Réduire
   légèrement la hauteur laisse voir l'enseigne "MC-ÔMAMIE" en entier —
   mais jamais en dessous de 640px, pour ne pas faire chevaucher le texte
   du hero avec l'enseigne photographiée sur les écrans courts (iPhone SE...). */
@media (max-width: 640px) {
  .hero { min-height: max(82svh, 640px); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,11,0.35) 0%, rgba(15,13,11,0.25) 40%, rgba(15,13,11,0.75) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

.hero-content .accent-script { color: var(--terracotta-clair); }

.hero-content h1 {
  color: var(--blanc-chaud);
  margin-top: var(--space-1);
}

.hero-content .lede {
  max-width: 30rem;
  margin-top: var(--space-3);
  font-size: 1.125rem;
  color: rgba(251,247,240,0.92);
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-content { text-align: center; }
  .hero-content .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(251,247,240,0.6);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-scroll-cue:hover {
  background: rgba(251,247,240,0.12);
  border-color: rgba(251,247,240,0.9);
  transform: translateY(3px);
}
@media (min-width: 640px) { .hero-scroll-cue { display: flex; } }

[id] { scroll-margin-top: var(--header-height); }

/* ---------- Bandeau page intérieure (pages autres qu'accueil) ---------- */
.page-banner {
  padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-5);
  background: var(--blanc-chaud);
  text-align: center;
}
.page-banner .eyebrow { display: block; margin-bottom: var(--space-1); }
.page-banner p { max-width: 35rem; margin: var(--space-2) auto 0; color: var(--brun-the); font-size: 1.0625rem; }

/* =========================================================
   COMPOSANTS PARTAGÉS
   ========================================================= */

/* Grille philosophie */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 860px) {
  .philosophy-grid { grid-template-columns: repeat(4, 1fr); }
}
.philosophy-item { display: flex; flex-direction: column; gap: var(--space-2); }
.philosophy-item h3 { margin-top: 0.25rem; }
.philosophy-item p { color: var(--brun-the); font-size: 0.9375rem; }

/* Grille transports (page Accès) */
.transit-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .transit-grid { grid-template-columns: repeat(3, 1fr); } }

/* Cartes plats signature (placeholders photo) */
.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }

.dish-card {
  background: var(--blanc-chaud);
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dish-card:hover, .dish-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(25,23,21,0.12); }
.dish-card:hover .photo-frame img, .dish-card:focus-visible .photo-frame img { transform: scale(1.05); }
.dish-card-photo { position: relative; }

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sable), var(--ivoire));
  overflow: hidden;
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-frame.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--brun-the);
}
.photo-frame.is-placeholder .icon { width: 30px; height: 30px; opacity: 0.25; }
.photo-frame.is-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}
.photo-frame img[data-fallback-active] { display: none; }

.dish-card-body { padding: var(--space-3); }
.dish-card-body .dish-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
}
.dish-card-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; }
.dish-price { color: var(--terracotta); font-weight: 700; font-size: 0.875rem; white-space: nowrap; }
.dish-card-body p { margin-top: 0.375rem; font-size: 0.90625rem; color: var(--brun-the); }

/* Badge "Nouveau" */
.dish-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--terracotta);
  color: var(--blanc-chaud);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid rgba(251,247,240,0.8);
  box-shadow: 0 3px 8px rgba(25,23,21,0.25);
}


/* Story teaser (accueil) */
.story-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .story-teaser { grid-template-columns: 1fr 1fr; }
  .story-teaser.reverse .story-teaser-media { order: 2; }
}
.story-teaser-media .photo-frame { aspect-ratio: 5 / 4; border-radius: var(--radius-img); }
.story-teaser-text blockquote {
  font-family: var(--font-accent);
  color: var(--terracotta);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  margin: var(--space-3) 0;
}
.story-teaser-text p { color: var(--brun-the); font-size: 1.0625rem; }
.story-teaser-text .btn { margin-top: var(--space-3); }

/* Bloc accès teaser */
.access-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 780px) { .access-teaser { grid-template-columns: 1.1fr 0.9fr; } }
@media (max-width: 639px) {
  /* Le texte reste aligné à gauche, mais le bouton d'action se distingue mieux centré. */
  .story-teaser-text .btn,
  .access-teaser .btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
.info-list { display: flex; flex-direction: column; gap: var(--space-3); }
.info-row { display: flex; gap: var(--space-2); align-items: flex-start; }
.info-row h3 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.info-row p { color: var(--brun-the); font-size: 0.9375rem; }
.info-row a { color: var(--encre); transition: color .2s ease; }
.info-row a:hover { color: var(--terracotta); }
.map-embed {
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 0;
  width: 100%;
  min-height: 320px;
}

/* Séparateur signature */
.brand-signature {
  text-align: center;
  padding: var(--space-6) 0;
}
.brand-signature .accent-script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
}
.brand-signature .divider {
  width: 48px; height: 1px;
  background: var(--terracotta);
  margin: var(--space-2) auto;
  opacity: 0.5;
}

/* ---------- Carte / Menu ---------- */

/* Navigation rapide entre rubriques : évite d'avoir à tout défaire au scroll */
.menu-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--space-2) 0;
  margin-bottom: var(--space-4);
}
.menu-quicknav:empty { display: none; }
.menu-quicknav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(184,90,36,0.5);
  background: var(--blanc-chaud);
  box-shadow: var(--shadow-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brun-the);
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Largeur uniforme seulement à partir de cette taille : en mobile, on garde
   des pastilles compactes (moins de hauteur, moins de défilement). */
@media (min-width: 640px) {
  .menu-quicknav-link { width: 13.5rem; }
}
.menu-quicknav-link:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--blanc-chaud);
}

.menu-section { margin-bottom: var(--space-6); }
.menu-section:last-child { margin-bottom: 0; }
.menu-section-title {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(25,23,21,0.12);
}
.menu-section-title h2 { flex-shrink: 0; }
.menu-section-title .accent-script { font-size: 1.375rem; opacity: 0.8; }
@media (max-width: 480px) {
  .menu-section-title { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

.menu-section-note {
  margin: calc(var(--space-3) * -1 + 0.25rem) 0 var(--space-3);
  color: var(--brun-the);
  font-size: 0.875rem;
}
.menu-section-footnote {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(25,23,21,0.15);
  color: var(--brun-the);
  font-size: 0.8125rem;
  font-style: italic;
}

.dish-code {
  font-family: var(--font-ui);
  font-variant-numeric: lining-nums;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.8125rem;
  margin-right: 0.25rem;
}

.menu-list { display: grid; grid-template-columns: 1fr; gap: var(--space-3) var(--space-5); }
@media (min-width: 760px) { .menu-list { grid-template-columns: 1fr 1fr; } }

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  background: var(--blanc-chaud);
  border-radius: var(--radius-img);
  padding: var(--space-2);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-item:hover, .menu-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(25,23,21,0.1);
}
.menu-item-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-ui);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sable), var(--ivoire));
}
.menu-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item:hover .menu-item-thumb img, .menu-item:focus-visible .menu-item-thumb img { transform: scale(1.08); }
.menu-item-thumb .dish-badge-new { top: 4px; left: 4px; font-size: 0.5625rem; padding: 0.125rem 0.375rem; }
.menu-item-thumb.is-placeholder { display: flex; align-items: center; justify-content: center; }
.menu-item-thumb.is-placeholder .icon { width: 22px; height: 22px; opacity: 0.5; }

/* Plat avec photo : vignette compacte à gauche sur tablette/desktop.
   Sur mobile, la vignette passe en bandeau compact au-dessus du texte
   (plutôt qu'à côté) pour que le nom et le prix gardent toute la
   largeur de la carte et ne se retrouvent jamais à l'étroit. */
.menu-item.has-photo .menu-item-thumb { width: 88px; height: 88px; }
@media (max-width: 560px) {
  .menu-item.has-photo { flex-direction: column; }
  .menu-item.has-photo .menu-item-thumb { width: 100%; height: auto; aspect-ratio: 3 / 1; }
}

.menu-item-text { flex: 1; min-width: 0; }
.menu-item-header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.menu-item-text h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; min-width: 0; }
.menu-item-text p { color: var(--brun-the); font-size: 0.90625rem; margin-top: 0.25rem; }
.dish-allergens { font-size: 0.75rem; font-style: italic; opacity: 0.75; margin-top: 0.1875rem !important; }
.menu-item-price {
  font-weight: 700;
  color: var(--terracotta);
  white-space: normal;
  text-align: right;
  font-size: 0.9375rem;
}
.menu-dotted {
  flex: 1;
  border-bottom: 1px dotted rgba(25,23,21,0.35);
  margin-bottom: 0.3125rem;
  min-width: 0.75rem;
}

.menu-note {
  margin-top: var(--space-5);
  padding: var(--space-3);
  background: var(--blanc-chaud);
  border-radius: var(--radius-ui);
  border-left: 3px solid var(--terracotta);
  color: var(--brun-the);
  font-size: 0.90625rem;
}

.story-photo { max-width: 45rem; margin: 0 auto; }
.story-photo .photo-frame { aspect-ratio: 16 / 10; border-radius: var(--radius-img); box-shadow: var(--shadow-soft); }

/* ---------- Notre histoire ---------- */
.story-article {
  max-width: 45rem;
  margin: 0 auto;
}
.story-article p { margin-bottom: var(--space-3); font-size: 1.09375rem; color: var(--encre); }
.story-article .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3125rem, 2.6vw, 1.625rem);
  line-height: 1.5;
  color: var(--encre);
}
.story-article blockquote {
  font-family: var(--font-accent);
  color: var(--terracotta);
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  text-align: center;
  margin: var(--space-5) 0;
  line-height: 1.3;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-2);
}
.value-chip {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--blanc-chaud);
  color: var(--brun-the);
  border: 1px solid var(--sable);
  transition: border-color .25s ease, color .25s ease;
}
.value-chip:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ---------- Galerie photos ---------- */
.gallery-group { margin-bottom: var(--space-6); }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group h2 { margin-bottom: var(--space-3); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  border: 0;
  background: none;
  padding: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow .3s ease, transform .3s ease;
}
.gallery-item:hover, .gallery-item:focus-visible {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.gallery-item .photo-frame { aspect-ratio: 1 / 1; }
.gallery-item:hover .photo-frame img { transform: scale(1.05); }

.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-2 .photo-frame { aspect-ratio: 2 / 1; }
@media (max-width: 639px) {
  .gallery-item.span-2 { grid-column: span 1; }
  .gallery-item.span-2 .photo-frame { aspect-ratio: 1 / 1; }
}

/* Lightbox — env. 1/4 de la fenêtre : assez grand pour apprécier la photo,
   assez contenu pour ne pas envahir tout l'écran. */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,13,11,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s ease, visibility 0s linear 0s;
}
.lightbox-inner {
  position: relative;
  max-width: 600px;
  width: 90%;
  text-align: center;
  transform: scale(0.94) translateY(10px);
  transition: transform .35s cubic-bezier(.22,.9,.32,1);
}
.lightbox.is-open .lightbox-inner {
  transform: scale(1) translateY(0);
}
.lightbox-inner > img {
  display: block;
  max-width: 100%;
  max-height: 60vh;
  margin: 0 auto;
  border-radius: var(--radius-img);
  border: 1px solid rgba(251,247,240,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.lightbox-inner > .photo-frame.is-placeholder {
  aspect-ratio: 4/3;
  max-height: 60vh;
  border-radius: var(--radius-img);
  border: 1px solid rgba(251,247,240,0.18);
  color: var(--blanc-chaud);
}

/* Vue détail d'un plat (photo + fiche) dans la lightbox */
.dish-detail {
  background: var(--blanc-chaud);
  border-radius: var(--radius-img);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  max-height: 85vh;
  overflow-y: auto;
}
.dish-detail-photo {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.dish-detail-photo img { border-radius: 0; }
.dish-detail-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.dish-detail.no-photo .dish-detail-body { padding: var(--space-4); }
.dish-detail-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.dish-badge-new-inline {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.375rem;
  background: var(--terracotta);
  color: var(--blanc-chaud);
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
}
.dish-detail-body p { color: var(--brun-the); font-size: 0.9375rem; margin-top: var(--space-1); }
.dish-detail-price {
  display: block;
  margin-top: var(--space-2);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1.125rem;
}
.dish-detail-body .dish-allergens { margin-top: var(--space-2) !important; font-size: 0.8125rem; }
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--blanc-chaud);
  border: 1px solid rgba(251,247,240,0.4);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.lightbox-close:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.08);
}
.lightbox-caption { color: var(--sable); margin-top: var(--space-3); font-size: 0.875rem; }

/* ---------- Page Accès ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.4375rem 0; font-size: 0.9375rem; border-bottom: 1px solid rgba(25,23,21,0.08); }
.hours-table td:first-child { color: var(--brun-the); padding-right: var(--space-3); }
.hours-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

/* ---------- Pages légales ---------- */
.legal-content { max-width: 48.75rem; margin: 0 auto; }
.legal-content h2 { margin-top: var(--space-5); margin-bottom: var(--space-2); font-size: 1.5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--brun-the); font-size: 0.96875rem; margin-bottom: var(--space-2); }
.legal-content ul { padding-left: 1.25rem; list-style: disc; }
.legal-content a { color: var(--terracotta); text-decoration: underline; transition: color .2s ease; }
.legal-content a:hover { color: var(--terracotta-clair); }
.legal-placeholder {
  background: var(--sable);
  color: var(--encre);
  padding: 0.0625rem 0.375rem;
  border-radius: 4px;
  font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--encre);
  color: var(--sable);
  padding: var(--space-6) 0 var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (max-width: 639px) {
  /* En une seule colonne, il n'y a plus de balayage entre colonnes à faciliter :
     centrer lit mieux qu'un alignement à gauche qui semble "collé" au bord. */
  .footer-grid > * { text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-info-row { justify-content: center; }
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; }
  .footer-grid > *:not(:first-child) {
    border-left: 1px solid rgba(251,247,240,0.15);
    padding-left: var(--space-4);
  }
}

.footer-brand { display: flex; align-items: center; gap: 0.625rem; font-family: var(--font-display); font-size: 1.375rem; color: var(--blanc-chaud); margin-bottom: var(--space-2); }
.footer-tagline { font-family: var(--font-accent); color: var(--terracotta-clair); font-size: 1.375rem; }

.footer-col h3 { color: var(--blanc-chaud); font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a, .footer-col p { color: var(--sable); font-size: 0.90625rem; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--terracotta-clair); }

.footer-info-row { display: flex; align-items: flex-start; gap: 0.625rem; }
.footer-info-row + .footer-info-row { margin-top: 0.625rem; }
.footer-info-row .icon { width: 17px; height: 17px; stroke: var(--terracotta-clair); flex-shrink: 0; margin-top: 2px; }
.footer-info-row p, .footer-info-row a { font-size: 0.90625rem; color: var(--sable); line-height: 1.5; }
.footer-info-row a { transition: color .2s ease; }
.footer-info-row a:hover { color: var(--terracotta-clair); }

.footer-social-group { display: flex; align-items: center; gap: var(--space-2); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sable);
  transition: color .2s ease;
}
.footer-social:hover { color: var(--terracotta-clair); }
.footer-social .icon { width: 20px; height: 20px; stroke: currentColor; }

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(251,247,240,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(216,193,160,0.75);
}
.footer-bottom .legal-links { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--terracotta-clair); }
@media (max-width: 639px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .legal-links { justify-content: center; }
}

/* Navigation au clavier : repère visuel cohérent avec la charte */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Utilitaires */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: var(--space-1); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-4 { margin-bottom: var(--space-4); }

.hero-scroll-cue .icon { stroke: var(--blanc-chaud); width: 16px; height: 16px; }

/* =========================================================
   PAGE "OUVERTURE PROCHAINE"
   ========================================================= */
.coming-soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) 0;
}
.coming-soon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
}
.coming-soon .brand-mark { width: 52px; height: 52px; }
.coming-soon-brand { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--encre); margin-top: var(--space-2); }
.coming-soon .eyebrow { margin-top: var(--space-5); }
.coming-soon h1 { margin-top: var(--space-1); }
.coming-soon-text { color: var(--brun-the); margin-top: var(--space-2); }

.coming-soon-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
  width: 100%;
}
.coming-soon-points .philosophy-item { align-items: center; text-align: center; }

.coming-soon-tagline {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  color: var(--terracotta);
  font-size: clamp(1.625rem, 4vw, 2.25rem);
}

.coming-soon-info { display: flex; flex-direction: column; gap: 0.625rem; margin-top: var(--space-5); }
.coming-soon-info .info-row { display: flex; align-items: center; justify-content: center; gap: 0.625rem; }
.coming-soon-info .icon { width: 20px; height: 20px; }
.coming-soon-info p, .coming-soon-info a { color: var(--brun-the); font-size: 0.9375rem; }
.coming-soon-info a { transition: color .2s ease; }
.coming-soon-info a:hover { color: var(--terracotta); }

.coming-soon-map { margin-top: var(--space-4); width: 100%; }

.coming-soon-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.coming-soon-links {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: var(--space-4);
}
.coming-soon-divider { color: var(--sable); }

.coming-soon-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color .2s ease;
}
.coming-soon-social .icon { width: 20px; height: 20px; stroke: currentColor; }
.coming-soon-social:hover { color: var(--brun-the); }

.coming-soon-copy { margin-top: var(--space-6); font-size: 0.8125rem; color: var(--sauge); }
