/* ============================================================
   LA VIGUERIE — Aigues-Mortes
   Design : bistrot méditerranéen chaleureux, franco-italien
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  --terracotta:   #9B1515;
  --terracotta-l: #C23030;
  --cream:        #FBF8F2;
  --cream-dark:   #F0EAE0;
  --brown:        #2C1E12;
  --brown-mid:    #5A3E28;
  --olive:        #5C6B3A;
  --olive-l:      #7A8F52;
  --stone:        #A89880;
  --stone-l:      #D4C9B8;
  --text:         #3A2A1A;
  --text-muted:   #7A6A58;
  --border:       rgba(168,152,128,0.3);

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --script: 'Great Vibes', cursive;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fast: 200ms;
  --mid:  400ms;
  --slow: 700ms;
  --radius: 6px;

  --container-pad: 2.5rem;
  --section-pad: 6rem;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body { background:var(--cream); color:var(--text); font-family:var(--sans); font-weight:300; line-height:1.7; overflow-x:hidden; }
img  { display:block; max-width:100%; height:auto; object-fit:cover; }
a    { text-decoration:none; color:inherit; }
button, input, select, textarea { font-family:inherit; background:none; border:none; color:inherit; }
::selection { background:var(--terracotta); color:#fff; }

/* ── PLACEHOLDERS PHOTO ── */
.photo-placeholder {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--stone-l) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--stone);
  border: 2px dashed var(--stone-l);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(168,152,128,0.06) 10px,
    rgba(168,152,128,0.06) 20px
  );
}

.photo-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.photo-placeholder-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.5;
}

.photo-placeholder-hint {
  font-size: 0.65rem;
  opacity: 0.4;
  position: relative;
  z-index: 1;
  font-style: italic;
}

/* ── BADGE STATUT ── */
#status-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-family: var(--sans);
  transition: background var(--mid) var(--ease);
}
#status-bar.open   { background: rgba(155,21,21,0.92);  color: var(--cream); backdrop-filter:blur(8px); }
#status-bar.closed { background: rgba(44,30,18,0.88); color:#c0a888; backdrop-filter:blur(8px); }
.s-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.open  .s-dot { background:#ffd700; animation: blink 2s ease-in-out infinite; }
.closed .s-dot { background:#7A6A58; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 28px; left:0; right:0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  transition: background var(--mid) var(--ease), padding var(--mid) var(--ease), box-shadow var(--mid);
}
#nav.sticky {
  background: rgba(251,248,242,0.96);
  backdrop-filter: blur(14px);
  padding: 0.6rem 3rem;
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 210;
}
.nav-logo small {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.mobile-close-item {
  display: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--brown-mid);
  transition: color var(--fast);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0; height:1px;
  background: var(--terracotta);
  transition: width var(--mid) var(--ease);
}
.nav-links a:hover { color:var(--terracotta); }
.nav-links a:hover::after { width:100%; }

.nav-cta {
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  transition: background var(--fast), transform var(--fast) !important;
}
.nav-cta::after { display:none !important; }
.nav-cta:hover { background: var(--terracotta-l) !important; transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 210;
}
.nav-burger span {
  display:block; width:22px; height:1.5px;
  background: var(--brown);
  transition: transform var(--mid) var(--ease), opacity var(--fast);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center; /* Centré verticalement */
  justify-content: center;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  min-height: 260px;
  border-radius: 0;
  border: none;
}

.hero-photo .photo-placeholder-icon { font-size: 3.5rem; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44,30,18,0.85) 0%,
    rgba(44,30,18,0.4) 55%,
    rgba(44,30,18,0.15) 100%
  );
  z-index: 1;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centré verticalement */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem 4rem; /* Safe padding for header, flexbox centers content */
  z-index: 2;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2.5rem;
  background: rgba(27, 18, 11, 0.45); /* Fond marron bistrot très transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(251, 248, 242, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-logo-right {
  flex-shrink: 0;
  margin-left: 4rem;
  margin-top: 1.5rem;
  z-index: 2;
}

.hero-logo-right img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(251,248,242,0.15);
  box-shadow: 0 14px 45px rgba(0,0,0,0.3);
  background: #fff;
  padding: 8px;
  animation: floatMedallion 6s ease-in-out infinite;
}

@keyframes floatMedallion {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-l);
  margin-bottom: 1.25rem;
}
.hero-tag::before {
  content:'';
  width:28px; height:1px;
  background: var(--terracotta-l);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--terracotta-l); }

.hero-sub {
  font-size: 1rem;
  color: rgba(251,248,242,0.75);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251,248,242,0.1);
  border: 1px solid rgba(251,248,242,0.2);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  color: var(--cream);
  font-size: 0.8rem;
}
.hero-rating-stars { color: #f5c842; letter-spacing: 1px; font-size: 0.9rem; }
.hero-rating-count { color: rgba(251,248,242,0.6); font-size: 0.72rem; }

/* ── BOUTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  transition: all var(--mid) var(--ease);
  padding: 0.75rem 1.75rem;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,21,21,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(251,248,242,0.4);
}
.btn-outline:hover {
  background: rgba(251,248,242,0.12);
  border-color: rgba(251,248,242,0.7);
}
.btn-outline-dark {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-outline-dark:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ── SECTIONS ── */
.section { padding: var(--section-pad) 0; }
.section-alt { background: #130a04; }
.section-alt .section-title { color: var(--cream); }
.section-alt .section-desc { color: var(--stone-l); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.section-eyebrow::before {
  content:'';
  width:20px; height:1px;
  background: var(--terracotta);
  flex-shrink:0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
}

/* ── AMBIANCE ── */
.ambiance-section {
  padding: var(--section-pad) 0;
  background: var(--cream-dark);
}

.ambiance-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ambiance-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,30,18,0.12);
  aspect-ratio: 4 / 3;
}

.ambiance-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.ambiance-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.ambiance-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.ambiance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.badge {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   CARTE — style menu du restaurant
══════════════════════════════════════ */

#carte .section-title { color: #f0e6d0; }
#carte .section-desc  { color: rgba(240,230,208,0.5); }
#carte .section-eyebrow { color: #9B1515; }
#carte .section-eyebrow::before { background: #9B1515; }

/* ---- Formules ---- */
.menu-formule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(155,21,21,0.3);
  border-radius: var(--radius);
  padding: 1.1rem 1.75rem;
  margin-bottom: 0.85rem;
}
.formule-title {
  font-family: var(--script);
  font-size: 1.6rem;
  color: #9B1515;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}
.formule-desc {
  font-size: 0.8rem;
  color: rgba(240,230,208,0.5);
  line-height: 1.55;
  font-style: italic;
}
.formule-price {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: #f0e6d0;
  white-space: nowrap;
}

/* ---- Onglets ---- */
.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(155,21,21,0.25);
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.mtab {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.35);
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms, border-color 200ms;
  background: none;
}
.mtab:hover  { color: rgba(240,230,208,0.75); }
.mtab.active {
  color: #9B1515;
  border-bottom-color: #9B1515;
}

.menu-panel { display: none; }
.menu-panel.active {
  display: block;
  animation: fadeUp 0.35s var(--ease) both;
}

/* ---- Catégories (h3 à l'intérieur des panels) ---- */
#carte h3 {
  font-family: var(--script) !important;
  font-size: 2rem !important;
  color: #9B1515 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center;
  margin-bottom: 1.25rem !important;
  margin-top: 0.5rem;
  position: relative;
}
#carte h3::before, #carte h3::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(155,21,21,0.4);
  vertical-align: middle;
  margin: 0 0.75rem;
}

/* ---- Grille items ---- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.menu-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(155,21,21,0.14);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

.menu-item:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid rgba(155,21,21,0.14);
}
.menu-item:nth-child(even) { padding-left: 2rem; }

.mi-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  color: #f0e6d0;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}
.mi-desc {
  font-size: 0.74rem;
  color: rgba(240,230,208,0.38);
  line-height: 1.5;
  max-width: 340px;
  font-style: normal;
}
.mi-tags { display:flex; flex-wrap:wrap; gap:0.3rem; margin-top:0.35rem; }
.mi-tag {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 100px;
}
.t-v { background: rgba(92,107,58,0.25); color: #9bc96a; }
.t-c { background: rgba(155,21,21,0.2);  color: #C23030; }

.mi-price {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(240,230,208,0.75);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

/* Pizzas — présentation spéciale */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.pizza-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid);
}
.pizza-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,30,18,0.1);
}
.pc-name { font-family:var(--serif); font-size:1rem; color:var(--brown); margin-bottom:0.3rem; }
.pc-desc { font-size:0.75rem; color:var(--text-muted); line-height:1.55; margin-bottom:0.6rem; }
.pc-price { font-family:var(--serif); font-size:1rem; font-weight:500; color:var(--terracotta); }

/* ── GALERIE PHOTOS ── */
.galerie-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 6px;
  border-radius: var(--radius);
  overflow: hidden;
}
.galerie-grid .gitem:first-child { grid-row: span 2; }
.gitem {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  min-height: 100%;
}
.gitem img {
  width:100%; height:100%;
  transition: transform var(--slow) var(--ease);
}
.gitem:hover img { transform: scale(1.05); }
.gitem-label {
  position: absolute;
  bottom:0; left:0; right:0;
  padding: 1rem 1.25rem 0.75rem;
  background: linear-gradient(to top, rgba(44,30,18,0.7) 0%, transparent 100%);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream);
  opacity: 0;
  transition: opacity var(--mid);
}
.gitem:hover .gitem-label { opacity:1; }

/* ── AVIS CLIENTS ── */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.avis-card {
  background: #1c130b; /* Marron foncé bistrot légèrement surélevé */
  border: 1px solid rgba(251,248,242,0.07);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: all var(--mid) var(--ease);
}
.avis-card:hover {
  box-shadow: 0 10px 35px rgba(0,0,0,0.3);
  border-color: rgba(251,248,242,0.15);
  transform: translateY(-2px);
}
.avis-card.featured {
  background: var(--terracotta);
  border-color: var(--terracotta);
  grid-column: span 1;
}
.avis-card.featured:hover {
  box-shadow: 0 10px 35px rgba(155,21,21,0.25);
  border-color: var(--terracotta-l);
}

.avis-stars { color:#f5c842; font-size:0.85rem; letter-spacing:2px; margin-bottom:0.75rem; }
.avis-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(251,248,242,0.85); /* Texte clair contrasté */
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.featured .avis-text { color: var(--cream); }

.avis-author { display:flex; align-items:center; gap:0.6rem; }
.avis-av {
  width:34px; height:34px; border-radius:50%;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-l) 100%);
  display:flex; align-items:center; justify-content:center;
  font-size:0.72rem; font-weight:500; color:#fff; flex-shrink:0;
}
.featured .avis-av { background: rgba(251,248,242,0.2); color:var(--cream); }
.avis-name { font-size:0.82rem; font-weight:500; color:var(--cream); }
.featured .avis-name { color:var(--cream); }
.avis-detail { font-size:0.7rem; color:var(--stone-l); }
.featured .avis-detail { color:rgba(251,248,242,0.5); }

.source-ta {
  position:absolute; top:1.25rem; right:1.25rem;
  font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--stone-l);
  display:flex; align-items:center; gap:0.3rem;
}
.featured .source-ta { color: rgba(251,248,242,0.35); }

/* Star rating interactive styles */
.star-rating .star {
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating .star:hover {
  transform: scale(1.25);
  color: #f5c842;
}
.star-rating .star.active {
  color: #f5c842;
}

/* ── INFOS PRATIQUES ── */
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-card-title span { font-size: 1.2rem; }

.horaires { display:flex; flex-direction:column; gap:0.55rem; }
.h-row { display:flex; justify-content:space-between; align-items:baseline; font-size:0.85rem; gap:1rem; }
.h-row .hday { color:var(--text-muted); }
.h-row .htime { color:var(--brown); font-weight:400; }
.h-row .hclosed { color:var(--stone); font-style:italic; }
.h-sep { width:100%; height:1px; background:var(--border); margin:0.4rem 0; }

.contact-list { display:flex; flex-direction:column; gap:0.85rem; }
.contact-item { display:flex; align-items:flex-start; gap:0.75rem; font-size:0.85rem; }
.contact-icon { color:var(--terracotta); font-size:1rem; flex-shrink:0; margin-top:0.1rem; }
.contact-item a { color:var(--brown); transition:color var(--fast); }
.contact-item a:hover { color:var(--terracotta); }

.map-placeholder {
  height: 240px;
  min-height: unset;
  margin-top: 1rem;
  border-radius: var(--radius);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.service-badge {
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── RÉSERVATION CTA ── */
#reservation {
  background: var(--brown);
  position: relative;
  overflow: hidden;
}
#reservation::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,21,21,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.res-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.res-text .section-eyebrow { color:var(--terracotta-l); }
.res-text .section-eyebrow::before { background:var(--terracotta-l); }
.res-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.res-title em { font-style:italic; color:var(--terracotta-l); }
.res-sub { font-size:0.9rem; color:rgba(251,248,242,0.6); line-height:1.7; max-width:380px; }

.res-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.res-tel {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--cream);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.res-tel a { color:inherit; transition:color var(--fast); }
.res-tel a:hover { color:var(--terracotta-l); }
.res-note { font-size:0.75rem; color:rgba(251,248,242,0.4); }

/* ── FOOTER ── */
#footer {
  background: #1e1208;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo { font-family:var(--serif); font-size:1.6rem; font-weight:400; color:var(--cream); margin-bottom:0.6rem; }
.footer-tag  { font-size:0.8rem; color:#8a7060; line-height:1.7; max-width:210px; margin-bottom:1.25rem; }
.footer-socials { display:flex; gap:0.5rem; }
.fsoc {
  width:32px; height:32px; border-radius:50%;
  border:1px solid rgba(168,152,128,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:0.7rem; color:#8a7060;
  transition: all var(--fast); cursor:pointer;
}
.fsoc:hover { border-color:var(--terracotta); color:var(--terracotta); }

.fcol-title { font-size:0.62rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--terracotta); margin-bottom:1rem; }
.fcol-links { list-style:none; display:flex; flex-direction:column; gap:0.55rem; }
.fcol-links a { font-size:0.82rem; color:#8a7060; transition:color var(--fast); }
.fcol-links a:hover { color:var(--cream); }

.fh-row { display:flex; justify-content:space-between; font-size:0.78rem; gap:1rem; margin-bottom:0.45rem; }
.fhday  { color:#8a7060; }
.fhtime { color:var(--cream-dark); }
.fhclosed { color:#5a4838; font-style:italic; }

.footer-bottom {
  border-top: 1px solid rgba(168,152,128,0.12);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy { font-size:0.7rem; color:#5a4838; }

/* ── REVEAL SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.vis { opacity:1; transform:translateY(0); }
.rd1 { transition-delay:.1s; }
.rd2 { transition-delay:.2s; }
.rd3 { transition-delay:.3s; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-logo-right {
    display: none; /* Cache le médaillon flottant plus tôt pour éviter la compression */
  }
  .hero-container {
    justify-content: center;
  }
  .hero-content {
    max-width: 720px;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  :root {
    --section-pad: 5rem;
    --container-pad: 2rem;
  }
  
  .hero-container {
    flex-direction: column;
    align-items: center;
    padding: 10rem var(--container-pad) 4rem;
  }
  
  .ambiance-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ambiance-img-wrap {
    aspect-ratio: 16 / 9;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
  }
  .galerie-grid .gitem:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .infos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  :root {
    --section-pad: 4rem;
    --container-pad: 1.25rem;
  }

  #nav {
    padding: 0.75rem var(--container-pad);
    top: 28px;
  }
  #nav.sticky {
    padding: 0.5rem var(--container-pad);
  }
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(251, 248, 242, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 190;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    overflow-y: auto; /* Permet le scroll interne du menu si besoin */
    padding: 5rem 1.5rem; /* Marges intérieures pour respirer */
  }
  .nav-links.open a {
    font-size: 1.4rem;
  }
  .mobile-close-item {
    display: block;
    margin-top: 1.5rem;
  }
  .nav-close-btn {
    color: var(--terracotta) !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    border: 1px solid var(--terracotta);
    padding: 0.5rem 1.75rem;
    border-radius: 100px;
    background: transparent;
    transition: background var(--fast);
  }
  .nav-close-btn:hover {
    background: rgba(155, 21, 21, 0.05);
  }
  
  .hero-container {
    padding: 8rem var(--container-pad) 3rem;
    min-height: 100dvh;
    justify-content: center;
    align-items: center;
  }
  .hero-content {
    padding: 1.75rem var(--container-pad);
    text-align: center;
    max-width: 100%;
  }
  .hero-tag {
    justify-content: center;
  }
  .hero-tag::before {
    display: none;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .hero-rating {
    width: 100%;
    justify-content: center;
  }
  
  .ambiance-text {
    text-align: center;
  }
  .ambiance-badges {
    justify-content: center;
  }
  .ambiance-img-wrap {
    max-width: 100%;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .menu-item:nth-child(even) {
    padding-left: 0;
  }
  
  .menu-formule {
    padding: 1.25rem;
    text-align: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  .formule-price {
    font-size: 1.6rem;
  }

  .avis-grid {
    grid-template-columns: 1fr;
  }
  .avis-card {
    padding: 1.25rem;
  }
  
  .info-card {
    padding: 1.25rem;
  }
  .h-row {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .res-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .res-actions {
    align-items: center;
  }
  
  /* Admin Modal */
  #admin-dashboard {
    padding: 1rem 0.5rem;
    margin: 2rem auto;
  }
  #admin-dashboard > div {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .galerie-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .galerie-grid .gitem {
    height: 200px;
  }
  .galerie-grid .gitem:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 360px) {
  .h-row {
    font-size: 0.74rem;
    gap: 0.25rem;
  }
  .htime {
    font-size: 0.72rem;
  }
}

/* ── GRANDS ÉCRANS (LARGE SCREEN OPTIMIZATIONS) ── */
@media (min-width: 1200px) {
  #nav {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 6rem);
    max-width: 1200px;
    border-radius: 100px;
    background: rgba(251, 248, 242, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(168, 152, 128, 0.15);
    box-shadow: 0 8px 32px rgba(44, 30, 18, 0.04);
    padding: 0.75rem 2.5rem;
    top: 40px;
  }
  #nav.sticky {
    top: 40px;
    padding: 0.6rem 2.5rem;
    background: rgba(251, 248, 242, 0.94);
    box-shadow: 0 10px 40px rgba(44, 30, 18, 0.08);
    border-color: rgba(168, 152, 128, 0.2);
  }
}

@media (min-width: 1400px) {
  :root {
    --container-pad: 3.5rem;
    --section-pad: 8rem;
  }
  .container {
    max-width: 1360px;
  }
  #nav {
    max-width: 1360px;
    width: calc(100% - 8rem);
  }
  #nav.sticky {
    max-width: 1360px;
  }
  .hero-container {
    max-width: 1360px;
    padding: 8rem var(--container-pad) 6rem;
  }
  .hero-content {
    max-width: 720px;
  }
  .hero-logo-right img {
    width: 260px;
    height: 260px;
  }
  .ambiance-container {
    gap: 6rem;
  }
  .menu-grid {
    gap: 0 4rem;
  }
  .galerie-grid {
    grid-template-rows: 280px 280px;
    gap: 10px;
  }
  .avis-grid {
    gap: 2rem;
  }
}

/* ── MOBILE MENU SQUISHING FIX ── */
/* Désactive le contexte de confinement de la nav (backdrop-filter / transform) quand le menu mobile est ouvert */
#nav:has(.nav-links.open) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
