/* ============================================
   1. Variables & Reset
   ============================================ */

:root {
  --accent:      #b5683f;
  --bg:          #f6f1e9;
  --bg-alt:      #f1ebe0;
  --card:        #fffdf9;
  --ink:         #2a2521;
  --text:        #5e564c;
  --muted:       #8a7f72;
  --muted-2:     #a99c87;
  --dark:        #2a2521;
  --footer-bg:   #1f1b17;
  --footer-text: #cfc6b8;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Jost', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --radius-sm:  2px;
  --radius-md:  3px;
  --radius-lg:  4px;

  --section-padding: clamp(72px,10vw,130px) clamp(24px,5vw,48px);
  --max-w:      1180px;
  --max-w-carte: 980px;
  --max-w-form:  720px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ============================================
   2. Typographie de base
   ============================================ */

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; }

h2 {
  font-size: clamp(32px,4.4vw,54px);
  letter-spacing: -.01em;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px,5vw,64px);
}

.section-header .section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-header .section-label::before,
.section-header .section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--accent);
}

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

/* Bouton accent */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
  border: none;
}

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

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}

.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* ============================================
   3. Navigation
   ============================================ */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px clamp(24px,5vw,48px);
  transition: padding .3s ease;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  transition: color .3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  transition: color .3s ease, opacity .2s ease;
}

.nav-links a:hover { opacity: .75; }

.nav-links a.active {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.nav-links .btn-outline-nav {
  border: 1px solid rgba(255,255,255,.55);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  transition: color .3s ease;
  line-height: 1;
}

/* État scrollé */
#nav.scrolled {
  background: rgba(246,241,233,0.95);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(42,37,33,.10);
}

#nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }
#nav.scrolled .nav-brand { color: var(--ink); }
#nav.scrolled .nav-links a { color: var(--ink); }
#nav.scrolled .nav-burger { color: var(--ink); }

/* Menu mobile */
.nav-mobile-menu {
  display: none;
  background: var(--bg);
  box-shadow: 0 18px 40px rgba(31,27,23,.16);
  padding: 24px clamp(24px,5vw,48px) 32px;
}

.nav-mobile-menu ul { list-style: none; }

.nav-mobile-menu a {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid rgba(42,37,33,.10);
}

.nav-mobile-menu a.active { color: var(--accent); }

/* Responsive nav */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

#nav.menu-open .nav-mobile-menu { display: block; }
#nav.menu-open { background: rgba(246,241,233,0.98); border-bottom: 1px solid rgba(42,37,33,.10); }
#nav.menu-open .nav-brand { color: var(--ink); }
#nav.menu-open .nav-burger { color: var(--ink); }

/* ============================================
   4. Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,21,16,.45) 0%,
    rgba(26,21,16,.55) 50%,
    rgba(26,21,16,.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 clamp(24px,5vw,48px);
  max-width: 860px;
  animation: fadeUp .9s ease both;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(54px,9vw,124px);
  line-height: .94;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(18px,2.2vw,26px);
  font-weight: 400;
  opacity: .88;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-caption {
  position: absolute;
  bottom: 24px;
  right: clamp(24px,5vw,48px);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.45);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   5. Notre histoire
   ============================================ */

#histoire {
  padding: var(--section-padding);
}

.histoire-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px,6vw,80px);
  align-items: center;
}

.histoire-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.histoire-text .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.histoire-text .section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: var(--accent);
}

.histoire-text h2 { margin-bottom: 24px; }

.histoire-text p { color: var(--text); margin-bottom: 16px; }

.histoire-signature {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
}

.histoire-signature span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   6. Galerie + Lightbox
   ============================================ */

#galerie {
  padding: var(--section-padding);
  background: var(--bg-alt);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

@media (max-width: 820px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}

.galerie-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.galerie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,21,16,0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background .25s ease;
}

.galerie-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}

.galerie-item:hover img { transform: scale(1.03); }
.galerie-item:hover .galerie-overlay { background: rgba(26,21,16,.45); }
.galerie-item:hover .galerie-caption { opacity: 1; }

/* Lightbox */

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20,16,12,.88);
  align-items: center;
  justify-content: center;
}

#lightbox.open { display: flex; }

.lightbox-content {
  position: relative;
  max-width: min(90vw, 900px);
  width: 100%;
}

#lightbox-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-align: center;
  margin-top: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 101;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: .75;
  transition: opacity .2s ease;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
  z-index: 101;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); }

/* ============================================
   7. Avis
   ============================================ */

#avis {
  padding: var(--section-padding);
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.avis-card {
  background: var(--card);
  border: 1px solid rgba(42,37,33,.08);
  border-radius: var(--radius-md);
  padding: 38px 34px;
}

.avis-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.avis-texte {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 24px;
}

.avis-auteur {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   8. Infos & Horaires
   ============================================ */

#infos {
  padding: var(--section-padding);
  background: var(--bg-alt);
}

.infos-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(48px,6vw,80px);
}

.infos-col > .section-label {
  display: block;
  margin-bottom: 28px;
}

.horaires {
  list-style: none;
}

.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: var(--text);
  padding: 13px 0;
  border-bottom: 1px solid rgba(42,37,33,.10);
}

.horaires li:first-child { border-top: 1px solid rgba(42,37,33,.10); }
.fermé { color: var(--muted); }

.infos-adresse {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 28px;
}

.infos-adresse a { color: var(--accent); }
.infos-adresse a:hover { text-decoration: underline; }

.infos-adresse-rue {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  line-height: 1.3;
}

.infos-metro { color: var(--muted); font-size: 14px; }

.infos-map-placeholder {
  height: 200px;
  background: repeating-linear-gradient(
    135deg,
    rgba(42,37,33,.06) 0 10px,
    rgba(42,37,33,.03) 10px 20px
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.infos-map-placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* ============================================
   9. Réservation
   ============================================ */

#reserver {
  padding: var(--section-padding);
  background: var(--dark);
  color: var(--bg);
}

#reserver .section-header h2 { color: var(--bg); }

.reserver-note {
  font-size: 15px;
  color: var(--footer-text);
  opacity: .75;
  margin-top: 12px;
  max-width: 480px;
  margin-inline: auto;
}

.reserver-inner { max-width: var(--max-w-form); }

.resa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.resa-field { display: flex; flex-direction: column; gap: 8px; }

.resa-full { grid-column: 1 / -1; }

.resa-field label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--footer-text);
}

.resa-field input,
.resa-field select {
  background: rgba(246,241,233,.06);
  border: 1px solid rgba(246,241,233,.2);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s ease;
  appearance: none;
}

.resa-field input::placeholder { color: rgba(246,241,233,.35); }

.resa-field input:focus,
.resa-field select:focus { border-color: rgba(246,241,233,.5); }

.resa-field select option { background: var(--dark); color: var(--bg); }

.resa-submit {
  width: 100%;
  font-size: 14px;
}

/* Confirmation */

.resa-confirmation {
  text-align: center;
  background: rgba(246,241,233,.07);
  border: 1px solid rgba(246,241,233,.15);
  border-radius: var(--radius-md);
  padding: 48px 32px;
}

.resa-check {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.resa-confirmation h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--bg);
  margin-bottom: 12px;
}

.resa-confirmation p {
  color: var(--footer-text);
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   10. Footer
   ============================================ */

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(56px,8vw,96px) clamp(24px,5vw,48px) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(32px,5vw,64px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-baseline {
  font-size: 13px;
  color: #7a7164;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9a9082;
  margin-bottom: 16px;
}

footer address { font-style: normal; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
footer address a { color: var(--footer-text); transition: color .2s ease; }
footer address a:hover { color: var(--accent); }

footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { font-size: 14px; color: var(--footer-text); transition: color .2s ease; }
footer ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  font-size: 12px;
  color: #7a7164;
}

.footer-mention { font-family: var(--font-mono); }
.footer-signature { color: var(--accent); text-decoration: none; }
.footer-signature:hover { text-decoration: underline; }

/* ============================================
   11. Page Carte
   ============================================ */

.carte-bandeau {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carte-bandeau-bg {
  position: absolute;
  inset: 0;
}

.carte-bandeau-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.carte-bandeau-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 80px clamp(24px,5vw,48px) 48px;
  animation: fadeUp .9s ease both;
}

.carte-bandeau-content h1 {
  font-size: clamp(48px,7vw,96px);
  line-height: .96;
  margin-bottom: 20px;
}

.carte-menu {
  padding: var(--section-padding);
  padding-top: clamp(32px,4vw,48px);
}

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

/* Catégorie */

.carte-categorie { margin-bottom: 56px; }

.carte-cat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42,37,33,.10);
}

.carte-cat-header h2 {
  font-size: clamp(28px,3.5vw,40px);
  white-space: nowrap;
}

.carte-cat-line {
  flex: 1;
  height: 1px;
  background: rgba(42,37,33,.12);
}

.carte-cat-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Items */

.carte-items { list-style: none; display: flex; flex-direction: column; gap: 24px; }

.carte-item-top {
  display: flex;
  align-items: baseline;
  gap: 0;
  width: 100%;
}

.carte-item-nom {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  max-width: 65%;
}

@media (max-width: 600px) {
  .carte-item-nom { white-space: normal; max-width: 70%; }
}

.carte-item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(42,37,33,.30);
  margin: 0 10px;
  height: 1em;
}

.carte-item-prix {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.carte-item-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 4px;
}

/* Formule midi */

.carte-formule {
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: clamp(40px,5vw,64px) clamp(24px,5vw,48px);
  margin: 0 0 32px;
}

.carte-formule-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.carte-formule-plats {
  font-family: var(--font-serif);
  font-size: clamp(24px,3vw,36px);
  margin-bottom: 8px;
}

.carte-formule-desc {
  font-size: 14px;
  color: rgba(246,241,233,.6);
  margin-bottom: 28px;
}

.carte-formule-prix {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--bg-alt);
}

.carte-formule-prix strong {
  font-size: 32px;
  color: var(--accent);
}

/* Mention & CTA */

.carte-mention {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 40px;
}

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

/* Footer simplifié */

.footer-simple {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px clamp(24px,5vw,48px) 0;
}

.footer-simple-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-simple-adresse { font-size: 14px; color: #7a7164; }
