/* ============================================================
   LB LA BRASSERIE — Redesign V7
   Direction : bistrot contemporain — ardoise sombre, laiton,
   vert sauge (céramique), crème. Inspiré des photos du lieu.
   ============================================================ */

/* === TOKENS === */
:root {
  /* Surfaces */
  --noir:    #14110D;   /* fond sombre principal (salle au soir) */
  --ardoise: #1B1813;   /* panneau sombre légèrement plus clair */
  --ardoise2:#221E18;   /* carte / surface élevée */
  --creme:   #F6F1E6;   /* fond clair, papier chaud */
  --creme2:  #EFE7D6;   /* fond clair alterné */

  /* Accents (tirés des photos) */
  --laiton:  #C7A360;   /* lueur dorée des suspensions — accent principal */
  --laiton-l:#E0C896;   /* laiton clair (survol / texte sur sombre) */
  --sauge:   #8A9A78;   /* céramique vert sauge — accent secondaire */
  --sauge-d: #6E7E5C;
  --sauge-text: #4E5B3E; /* vert lisible (texte sur fond clair) */
  --bronze:  #6E5119;   /* or assombri — lisible sur fond clair (AA) */

  /* Texte */
  --ink:        #1A1611;   /* texte sur clair */
  --ink-soft:   #4A4338;
  --paper:      #F3ECDD;   /* texte sur sombre */
  --paper-soft: #B7AC97;   /* texte secondaire sur sombre */
  --muted:      #7C7261;   /* texte secondaire sur clair */
  --line:       #E2D8C4;   /* filets sur clair */
  --line-dark:  #342E25;   /* filets sur sombre */

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --body:    'DM Sans', system-ui, sans-serif;

  --maxw: 1180px;
  --r: 3px;            /* arrondi discret */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100% }
body {
  background: var(--creme); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em }
::selection { background: var(--laiton); color: var(--noir) }

/* === HELPERS === */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px }
.sec  { padding: clamp(72px, 10vw, 128px) 0 }
.eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--bronze);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content:""; width: 26px; height: 1px; background: currentColor; opacity: .7 }
.eyebrow.center { justify-content: center }
.eyebrow.center::after { content:""; width: 26px; height: 1px; background: currentColor; opacity: .7 }
.on-dark .eyebrow { color: var(--laiton-l) }

.shead { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px) }
.shead .eyebrow { margin-bottom: 18px }
.shead h2 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -.02em }
.shead p  { color: var(--muted); margin-top: 16px; font-size: 17px }
.on-dark .shead h2 { color: var(--paper) }
.on-dark .shead p  { color: var(--paper-soft) }

/* === BUTTONS === */
.btn {
  --btn-bg: var(--laiton); --btn-fg: var(--noir);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px; min-height: 48px; border: 1.5px solid transparent;
  border-radius: var(--r); cursor: pointer; background: none;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px }
.btn-fill { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 6px 22px -8px rgba(199,163,96,.6) }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(199,163,96,.7) }
.btn-line { border-color: currentColor; color: var(--ink) }
.btn-line:hover { background: var(--ink); color: var(--creme); transform: translateY(-2px) }
.on-dark .btn-line, .btn-line.light { color: var(--paper); border-color: rgba(243,236,221,.45) }
.on-dark .btn-line:hover, .btn-line.light:hover { background: var(--paper); color: var(--noir); border-color: var(--paper) }
.btn:active { transform: translateY(0) }

/* === REVEAL ANIMATIONS === */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease) }
.js .reveal { opacity: 0; transform: translateY(26px) }
.reveal.in { opacity: 1; transform: none }
.js .reveal.d1 { transition-delay: .08s }
.js .reveal.d2 { transition-delay: .16s }
.js .reveal.d3 { transition-delay: .24s }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000 }
.site-header nav {
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px); position: relative;
  transition: background .35s var(--ease), height .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header nav.scrolled {
  height: 64px; background: rgba(20,17,13,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.brand { display: flex; align-items: baseline; gap: 12px; line-height: 1 }
.brand .mono { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--paper); letter-spacing: .02em }
.brand .mono b { color: var(--laiton); font-weight: 600 }
.brand .sub { font-family: var(--body); font-size: 9.5px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--paper-soft) }
@media (max-width:480px){ .brand .sub { display:none } }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none }
.nav-links a {
  font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--paper); opacity: .82; transition: opacity .2s, color .2s; position: relative; padding: 6px 0;
}
.nav-links a:not(.book)::after {
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px;
  background: var(--laiton); transition: right .3s var(--ease);
}
.nav-links a:hover { opacity: 1; color: var(--laiton-l) }
.nav-links a:hover:not(.book)::after, .nav-links a[aria-current="page"]:not(.book)::after { right: 0 }
.nav-links a[aria-current="page"] { opacity: 1; color: var(--laiton-l) }
.nav-links a.book {
  background: var(--laiton); color: var(--noir); opacity: 1; padding: 11px 22px;
  border-radius: var(--r); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-links a.book:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(199,163,96,.6) }

.nav-tog { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 9px }
.nav-tog span { display: block; height: 2px; background: var(--paper); margin: 5px 0; border-radius: 2px; transform-origin: center; transition: transform .3s var(--ease), opacity .2s }
.nav-tog[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg) }
.nav-tog[aria-expanded="true"] span:nth-child(2){ opacity: 0 }
.nav-tog[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg) }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px clamp(20px,5vw,48px) 96px; overflow: hidden; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2 }
.hero::before { /* voile sombre + dégradé chaud */
  content:""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(199,163,96,.16), transparent 55%),
    linear-gradient(180deg, rgba(20,17,13,.62) 0%, rgba(20,17,13,.72) 55%, rgba(20,17,13,.94) 100%);
}
.hero-in { max-width: 880px; margin: 0 auto; width: 100%; text-align: center; color: var(--paper) }
.hero .eyebrow { color: var(--laiton-l); margin-bottom: 26px }
.hero h1 {
  font-size: clamp(44px, 8.5vw, 104px); line-height: .98; letter-spacing: -.03em;
  color: var(--paper); font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--laiton); font-weight: 300 }
.hero-tag {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--paper-soft);
  max-width: 560px; margin: 26px auto 38px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap }
.scrolldown {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--body); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--paper-soft); display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
}
.scrolldown .line { width: 1px; height: 38px; background: linear-gradient(var(--laiton), transparent); animation: drop 2s var(--ease) infinite }
@keyframes drop { 0%{ transform: scaleY(.3); transform-origin: top; opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } 100%{ transform: scaleY(.3); transform-origin: bottom; opacity:.4 } }

/* bandeau infos sous le hero */
.hero-strip {
  background: var(--noir); color: var(--paper-soft); border-top: 1px solid var(--line-dark);
}
.hero-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px,5vw,64px); padding: 20px 28px }
.hero-strip li { display: inline-flex; align-items: center; gap: 11px; font-size: 13.5px; letter-spacing: .02em }
.hero-strip svg { width: 17px; height: 17px; stroke: var(--laiton); fill: none; stroke-width: 1.6 }
.hero-strip b { color: var(--paper); font-weight: 500 }

/* ============================================================
   À PROPOS / NOTRE MAISON
   ============================================================ */
.about { background: var(--creme) }
.about-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(36px,6vw,80px); align-items: center }
.about h2 { font-size: clamp(30px,4.4vw,48px); margin: 18px 0 22px; letter-spacing: -.02em }
.about p { color: var(--ink-soft); margin-bottom: 16px; max-width: 52ch }
.about .vals { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap }
.about .vals div { flex: 1; min-width: 130px; padding: 18px 18px 16px; background: var(--creme2); border-radius: var(--r); border: 1px solid var(--line) }
.about .vals b { font-family: var(--display); font-size: 22px; color: var(--sauge-text); display: block; margin-bottom: 3px }
.about .vals span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }

.about-media { position: relative }
.about-media .main {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20,17,13,.45);
}
.about-media .main img { width: 100%; height: 100%; object-fit: cover }
.about-media .badge {
  position: absolute; right: -18px; bottom: 32px; background: var(--noir); color: var(--paper);
  padding: 22px 26px; border-radius: var(--r); border: 1px solid var(--line-dark);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,.55); text-align: center; max-width: 200px;
}
.about-media .badge b { font-family: var(--display); font-size: 34px; color: var(--laiton); display: block; line-height: 1 }
.about-media .badge span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); display: block; margin-top: 8px }
@media (max-width:560px){ .about-media .badge { right: 14px; bottom: 14px } }

/* ============================================================
   SIGNATURES (plats mis en avant — grandes photos)
   ============================================================ */
.signatures { background: var(--noir); color: var(--paper) }
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.sig-card {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4;
  border: 1px solid var(--line-dark); background: var(--ardoise);
}
.sig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.sig-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 38%, rgba(20,17,13,.88) 100%); transition: opacity .4s }
.sig-card:hover img { transform: scale(1.06) }
.sig-cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2 }
.sig-cap .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--laiton-l); display: block; margin-bottom: 6px }
.sig-cap h3 { font-size: 24px; color: var(--paper); line-height: 1.1 }
.sig-cap p { font-size: 13.5px; color: var(--paper-soft); margin-top: 6px; opacity: 0; max-height: 0; transition: opacity .4s var(--ease), max-height .4s var(--ease) }
.sig-card:hover .sig-cap p, .sig-card:focus-within .sig-cap p { opacity: 1; max-height: 60px }
.sig-foot { text-align: center; margin-top: 44px }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery { background: var(--creme) }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px }
.gtile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--creme2); border: 1px solid var(--line) }
.gtile.tall { grid-row: span 2 }
.gtile.wide { grid-column: span 2 }
.gtile img,
.gtile video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease) }
.gtile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(20,17,13,.7)); opacity: 0; transition: opacity .35s }
.gtile:hover img,
.gtile:hover video { transform: scale(1.07) }
.gtile:hover::after { opacity: 1 }
.gtile .vid-badge { position:absolute; top:12px; right:12px; z-index:3; background:rgba(20,17,13,.55); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.18); border-radius:6px; padding:4px 8px 4px 6px; display:flex; align-items:center; gap:5px; color:#fff; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; pointer-events:none }
.gtile .vid-badge svg { width:13px; height:13px; fill:currentColor }
.gtile figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(8px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gtile:hover figcaption { transform: none; opacity: 1 }

/* ============================================================
   ÉVÉNEMENTS
   ============================================================ */
.events { position: relative; background: var(--ardoise); color: var(--paper); overflow: hidden }
.events::before { content:""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 85% 0%, rgba(138,154,120,.14), transparent 60%); z-index: 0 }
.events .wrap { position: relative; z-index: 1 }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,72px); align-items: center }
.events h2 { font-size: clamp(30px,4.6vw,50px); color: var(--paper); margin: 18px 0 18px }
.events p { color: var(--paper-soft); margin-bottom: 28px; max-width: 48ch }
.ev3 { list-style: none; display: grid; gap: 2px }
.ev3 li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line-dark) }
.ev3 li:last-child { border-bottom: 1px solid var(--line-dark) }
.ev3 .ic { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--sauge); border-radius: var(--r); display: grid; place-items: center }
.ev3 .ic svg { width: 20px; height: 20px; stroke: var(--sauge); fill: none; stroke-width: 1.5 }
.ev3 b { font-family: var(--display); font-size: 19px; color: var(--paper); display: block; margin-bottom: 2px }
.ev3 span { font-size: 14px; color: var(--paper-soft) }
.events-cta { margin-top: 34px }

/* ============================================================
   AVIS
   ============================================================ */
.reviews { background: var(--creme2) }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px }
.avis-card {
  background: var(--creme); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 30px; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.avis-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(20,17,13,.3) }
.avis-card .quote { font-family: var(--display); font-size: 56px; line-height: .5; color: var(--laiton); opacity: .45; display: block; height: 26px }
.stars { color: var(--bronze); letter-spacing: 3px; font-size: 15px; margin: 8px 0 14px }
.avis-card p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 18px }
.avis-card .who { display: flex; align-items: center; gap: 12px }
.avis-card .ava { width: 38px; height: 38px; border-radius: 50%; background: var(--sauge); color: var(--noir); display: grid; place-items: center; font-weight: 700; font-size: 15px }
.avis-card .who b { font-weight: 600; font-size: 14px }
.avis-card .who span { display: block; font-size: 12px; color: var(--muted) }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--noir); color: var(--paper) }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,56px); align-items: stretch }
.cinfo { display: grid; gap: 26px; align-content: start }
.cblock { display: flex; gap: 16px }
.cblock .ic { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--r); display: grid; place-items: center }
.cblock .ic svg { width: 19px; height: 19px; stroke: var(--laiton); fill: none; stroke-width: 1.5 }
.cblock .cl { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--laiton); margin-bottom: 5px }
.cblock p { font-size: 15.5px; line-height: 1.6; color: var(--paper) }
.cblock a { color: var(--paper); border-bottom: 1px solid var(--line-dark); transition: border-color .2s }
.cblock a:hover { border-color: var(--laiton) }
.socials { display: flex; gap: 10px; margin-top: 10px }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: var(--r); display: grid; place-items: center; color: var(--laiton); transition: background .2s, color .2s, border-color .2s }
.socials a:hover { background: var(--laiton); color: var(--noir); border-color: var(--laiton) }
.socials svg { width: 18px; height: 18px; fill: currentColor }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-dark); min-height: 360px }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.4) contrast(1.05) brightness(.9) }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--noir); color: var(--paper-soft); padding: 64px 28px 34px; border-top: 1px solid var(--line-dark); text-align: center }
.foot-brand { font-family: var(--display); font-size: 40px; color: var(--paper); letter-spacing: .04em }
.foot-brand b { color: var(--laiton) }
.foot-sub { font-size: 10px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--paper-soft); margin-top: 4px }
.ftag { font-style: italic; font-family: var(--display); color: var(--paper-soft); margin: 18px 0 22px; font-size: 18px }
.flinks { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px }
.flinks a { font-size: 12.5px; letter-spacing: .04em; color: var(--paper-soft); transition: color .2s }
.flinks a:hover { color: var(--laiton-l) }
.fcop { font-size: 12px; letter-spacing: .03em; color: #8A8270; border-top: 1px solid var(--line-dark); padding-top: 22px; margin-top: 4px; max-width: 600px; margin-left:auto; margin-right:auto }

/* === TO TOP === */
.toTop { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; background: var(--laiton); color: var(--noir); border: 0; border-radius: var(--r); cursor: pointer; display: none; place-items: center; z-index: 900; box-shadow: 0 10px 26px -10px rgba(199,163,96,.7); transition: transform .2s var(--ease) }
.toTop svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2 }
.toTop:hover { transform: translateY(-3px) }
.toTop.show { display: grid }

/* === ACCESSIBILITÉ === */
.skip { position: absolute; left: -9999px; top: 0; background: var(--laiton); color: var(--noir); font-weight: 600; padding: 12px 18px; z-index: 9999; border-radius: var(--r) }
.skip:focus { left: 12px; top: 12px }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--laiton); outline-offset: 3px; border-radius: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-grid, .events-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px }
  .sig-grid { grid-template-columns: 1fr 1fr }
  .avis-grid { grid-template-columns: 1fr }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px }
  .gtile.wide { grid-column: span 2 }
  .gtile.tall { grid-row: span 2 }
  .nav-tog { display: block }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(20,17,13,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 8px 0 18px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto }
  .nav-links li { width: 100% }
  .nav-links a { display: block; padding: 15px 28px; width: 100%; text-align: center }
  .nav-links a:not(.book)::after { display: none }
  .nav-links a.book { margin: 10px auto 4px }
}
@media (max-width: 560px) {
  body { font-size: 16px }
  .sig-grid { grid-template-columns: 1fr }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px }
  .about-media .badge { padding: 16px 18px }
  .hero-strip ul { gap: 14px 24px }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important }
  .js .reveal { opacity:1 !important; transform:none !important }
  .hero-video { display: none }
}

/* ============================================================
   PAGES INTÉRIEURES — carte, réservation, click & collect,
   fidélité, 404. Mêmes hooks que app.js, design V7.
   ============================================================ */

/* --- En-tête de page (bandeau sombre sous la nav) --- */
.page-head { position: relative; background: var(--noir); color: var(--paper); text-align: center; overflow: hidden; padding: calc(76px + clamp(46px,8vw,84px)) 28px clamp(46px,8vw,74px) }
.page-head::before { content:""; position:absolute; inset:0; background: radial-gradient(115% 130% at 50% 0%, rgba(199,163,96,.16), transparent 60%); z-index:0 }
.page-head > * { position: relative; z-index: 1 }
.page-head .eyebrow { color: var(--laiton-l); justify-content: center; margin-bottom: 16px }
.page-head h1 { font-size: clamp(38px,6.4vw,68px); color: var(--paper); letter-spacing: -.02em }
.page-head p { color: var(--paper-soft); max-width: 580px; margin: 16px auto 0 }

/* --- Champs de formulaire (communs) --- */
.fld { display: flex; flex-direction: column; gap: 7px }
.fld.full { grid-column: 1 / -1 }
.fld label { font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze) }
.fld input, .fld select, .fld textarea { font-family: var(--body); font-size: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 12px 13px; border-radius: var(--r); transition: border-color .2s, box-shadow .2s }
.fld textarea { resize: vertical; min-height: 92px }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(199,163,96,.18) }

/* --- Spinner de chargement --- */
.loading { text-align: center; padding: 48px 20px; color: var(--muted); font-style: italic; font-family: var(--display) }
.loading::after { content:""; display: block; width: 30px; height: 30px; margin: 16px auto 0; border: 3px solid var(--line); border-top-color: var(--laiton); border-radius: 50%; animation: spin .8s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

/* ============================================================ CARTE ============================================================ */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 52px }
.tab { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .05em; padding: 12px 26px; min-height: 46px; border: 1.5px solid var(--line); background: none; cursor: pointer; color: var(--ink-soft); border-radius: var(--r); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease) }
.tab:hover { border-color: var(--laiton); color: var(--ink) }
.tab.on { background: var(--noir); color: var(--paper); border-color: var(--noir) }
.tabpane { display: none }
.tabpane.on { display: block; animation: fade .5s ease }
.cat { margin-bottom: 52px }
.cathead { text-align: center; margin-bottom: 10px }
.cathead h3 { font-family: var(--display); font-size: 26px; color: var(--ink) }
.orn3 { display: inline-block; width: 40px; height: 8px; margin-top: 8px; background: radial-gradient(circle 2.5px at 8px center, var(--laiton) 96%, transparent 0), radial-gradient(circle 3.5px at 20px center, var(--sauge-d) 96%, transparent 0), radial-gradient(circle 2.5px at 32px center, var(--laiton) 96%, transparent 0) }
.cnote { text-align: center; font-style: italic; color: var(--muted); margin-bottom: 18px }
.dishes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 56px; margin-top: 12px }
.dishes.one { grid-template-columns: 1fr; max-width: 720px; margin: 12px auto 0 }
.dish { padding: 15px 2px; border-bottom: 1px solid var(--line) }
.drow { display: flex; align-items: baseline; gap: 8px }
.dn { font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--ink) }
.dn .vol { font-size: 12px; color: var(--muted); font-weight: 400; font-style: normal; margin-left: 4px }
.lead { flex: 1; border-bottom: 1px dotted #C9BDA8; min-width: 14px; transform: translateY(-4px) }
.pp { font-family: var(--display); font-size: 17px; color: var(--bronze); white-space: nowrap }
.pmul { display: inline-flex; gap: 14px; white-space: nowrap; align-items: baseline }
.pl { font-family: var(--body); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--sauge-text); margin-right: 5px }
.dd { font-style: italic; font-size: 14.5px; color: var(--muted); margin-top: 3px; padding-right: 30px }

/* Formule midi (encart sombre) */
.formule { max-width: 720px; margin: 0 auto 52px; background: var(--noir); color: var(--paper); border-radius: var(--r); padding: 4px; position: relative }
.finner { border: 1px solid var(--line-dark); border-radius: calc(var(--r) - 1px); padding: 30px 28px 26px; text-align: center }
.finner h3 { font-family: var(--display); font-size: 27px; color: var(--paper) }
.fprice { font-family: var(--display); font-style: italic; color: var(--laiton-l); font-size: 17px; margin-top: 6px }
.fsub { font-family: var(--body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft); margin-top: 6px }
.fdays { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; margin-top: 22px; text-align: left }
.fday { border-top: 1px solid var(--line-dark); padding-top: 10px }
.fdl { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--laiton); display: block; margin-bottom: 2px }
.fdd { font-size: 15px; color: var(--paper) }
.carte-foot { text-align: center; margin-top: 44px }
.carte-foot p { font-size: 14px; color: var(--muted); font-style: italic }

/* ============================================================ RÉSERVATION ============================================================ */
.resa-box { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px,4vw,42px); box-shadow: 0 26px 50px -34px rgba(20,17,13,.4) }
.resa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px }
.resa-box .btn { width: 100%; margin-top: 22px; justify-content: center }
.resa-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; font-style: italic }
.resa-alt a { color: var(--bronze); border-bottom: 1px solid var(--line) }
.resa-ok { display: none; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--laiton); border-radius: var(--r); padding: clamp(28px,4vw,44px); text-align: center }
.resa-ok.show { display: block }
.resa-ok h3 { font-family: var(--display); font-size: 27px; color: var(--ink); margin-bottom: 10px }
.resa-ok > p { color: var(--ink-soft) }
.resa-ok .recap { font-size: 15.5px; color: var(--ink-soft); margin: 18px 0; line-height: 1.9; background: var(--creme2); border-radius: var(--r); padding: 18px }
.resa-ok .btn { margin-top: 8px }
.resa-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; font-style: italic }

/* ============================================================ CLICK & COLLECT ============================================================ */
.cc-intro { text-align: center; font-style: italic; color: var(--muted); max-width: 560px; margin: -8px auto 44px }
.cc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start }
.cc-menu { min-height: 200px }
.cc-cat { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 30px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--laiton) }
.cc-cat:first-child { margin-top: 0 }
.cc-item { display: flex; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line) }
.cci-n { flex: 1; font-weight: 500; font-size: 16.5px }
.cci-p { font-family: var(--display); font-size: 16px; color: var(--bronze); white-space: nowrap }
.cc-add { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 10px 16px; min-height: 42px; border: 1.5px solid var(--bronze); background: none; color: var(--bronze); cursor: pointer; border-radius: var(--r); transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); white-space: nowrap }
.cc-add:hover { background: var(--bronze); color: #fff }
.cc-add.on { background: var(--noir); color: var(--paper); border-color: var(--noir) }
.cc-cart { background: var(--noir); color: var(--paper); border-radius: var(--r); position: sticky; top: 88px; padding: 4px }
.cc-cart-in { border: 1px solid var(--line-dark); border-radius: calc(var(--r) - 1px); padding: 26px 24px }
.cc-cart h3 { font-family: var(--display); font-size: 23px; color: var(--paper) }
.cc-cart .csub { font-family: var(--body); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-soft); margin-bottom: 16px }
.cc-line { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: var(--paper) }
.ccl-n { flex: 1; line-height: 1.3 }
.ccl-q { display: flex; align-items: center; gap: 8px }
.ccl-q button { width: 34px; height: 34px; border: 1px solid var(--line-dark); background: var(--ardoise2); cursor: pointer; font-size: 18px; line-height: 1; color: var(--laiton); padding: 0; border-radius: var(--r) }
.ccl-q button:hover { border-color: var(--laiton) }
.ccl-q b { min-width: 16px; text-align: center; font-family: var(--body); font-size: 14px; color: var(--paper) }
.ccl-p { font-family: var(--display); color: var(--laiton-l); min-width: 60px; text-align: right }
.cc-empty { color: var(--paper-soft); font-style: italic; font-size: 14px; padding: 18px 0 }
.cc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 4px; padding-top: 15px; border-top: 1px solid var(--laiton) }
.cc-total span { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-soft) }
.cc-total b { font-family: var(--display); font-size: 27px; color: var(--laiton-l) }
.cc-fields { display: grid; gap: 12px; margin-top: 16px }
.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.cc-fields .fld label { color: var(--paper-soft) }
.cc-fields .fld input, .cc-fields .fld select { background: var(--ardoise2); border: 1px solid var(--line-dark); color: var(--paper); color-scheme: dark }
.cc-fields .fld input:focus, .cc-fields .fld select:focus { border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(199,163,96,.22) }
.cc-cart .btn { width: 100%; margin-top: 16px; justify-content: center }
.cc-note { font-size: 11.5px; color: var(--paper-soft); font-style: italic; text-align: center; margin-top: 14px }
.cc-ok { display: none; max-width: 640px; margin: 40px auto 0; background: #fff; border: 1px solid var(--laiton); border-radius: var(--r); padding: clamp(28px,4vw,40px); text-align: center }
.cc-ok.show { display: block }
.cc-ok h3 { font-family: var(--display); font-size: 25px; margin-bottom: 8px }
.cc-ok > p { color: var(--ink-soft) }
.recap-cc { margin: 18px 0 22px; font-size: 15px; line-height: 1.9; background: var(--creme2); border-radius: var(--r); padding: 18px }

/* ============================================================ FIDÉLITÉ ============================================================ */
.fid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,64px); align-items: start }
.fid-intro-h { font-family: var(--display); font-size: clamp(24px,3vw,32px); color: var(--ink); margin-bottom: 10px; line-height: 1.15 }
.lead-p { color: var(--ink-soft); margin-bottom: 8px }
.fid-steps { list-style: none; margin-top: 24px }
.fid-steps li { display: flex; gap: 16px; margin-bottom: 22px }
.fid-steps .num { font-family: var(--display); font-size: 20px; color: var(--bronze); border: 1.5px solid var(--laiton); width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50% }
.fid-steps b { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 2px }
.fid-steps span { font-size: 14.5px; color: var(--muted) }
.fid-rewards { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap }
.fid-rewards span { font-size: 13px; color: var(--ink-soft); background: var(--creme2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 14px }
.fid-rewards b { color: var(--bronze); font-family: var(--display) }
.fid-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px,3vw,34px) }
.fid-panel > h3 { font-family: var(--display); font-size: 23px; margin-bottom: 4px }
.fid-panel .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px }
.fid-panel .fld { margin-bottom: 14px }
.fid-panel .btn { width: 100%; justify-content: center; margin-top: 6px }

/* Carte membre (sombre, masquée jusqu'à connexion via app.js) */
.fid-panel.card { display: none; background: var(--noir); color: var(--paper); border-color: var(--line-dark); position: relative; overflow: hidden }
.fid-panel.card::before { content:""; position:absolute; inset:0; background: radial-gradient(125% 100% at 100% 0%, rgba(199,163,96,.18), transparent 55%); z-index:0 }
.fid-panel.card > * { position: relative; z-index: 1 }
.crow { display: flex; justify-content: space-between; align-items: center }
.card-mono { font-family: var(--display); font-size: 26px; color: var(--paper); letter-spacing: .02em }
.card-mono b { color: var(--laiton) }
.ctier { font-family: var(--body); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--laiton-l); border: 1px solid var(--laiton); padding: 6px 11px; border-radius: 100px }
.cname { font-family: var(--display); font-size: 25px; color: var(--paper); margin: 22px 0 2px }
.cnum { font-family: var(--body); font-size: 11px; letter-spacing: .16em; color: var(--paper-soft) }
.cpts { display: flex; align-items: baseline; gap: 8px; margin-top: 18px }
.cpts b { font-family: var(--display); font-size: 44px; color: var(--laiton-l); line-height: 1 }
.cpts span { font-family: var(--body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-soft) }
.bar { height: 6px; background: var(--line-dark); border-radius: 100px; margin: 16px 0 8px; overflow: hidden }
.bar i { display: block; height: 100%; background: var(--laiton); border-radius: 100px; transition: width .6s var(--ease) }
.cnext { font-size: 12.5px; color: var(--paper-soft); font-style: italic }
.cbtns { display: flex; gap: 10px; margin-top: 22px }
.cbtns button { flex: 1; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 12px; min-height: 44px; cursor: pointer; border-radius: var(--r); border: 1px solid }
.bout { background: none; color: var(--paper-soft); border-color: var(--line-dark) !important }
.bout:hover { border-color: var(--laiton) !important; color: var(--laiton-l) }
.bvisit { background: var(--laiton); color: var(--noir); border-color: var(--laiton) !important }

/* ============================================================ 404 ============================================================ */
.notfound { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 28px; background: var(--noir); color: var(--paper); position: relative; overflow: hidden }
.notfound::before { content:""; position:absolute; inset:0; background: radial-gradient(100% 80% at 50% 0%, rgba(199,163,96,.16), transparent 60%) }
.notfound > * { position: relative; z-index: 1 }
.notfound-num { font-family: var(--display); font-size: clamp(96px, 22vw, 180px); color: var(--laiton); line-height: 1; opacity: .9; letter-spacing: -.03em }
.notfound h1 { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); color: var(--paper); margin: 6px 0 14px }
.notfound p { color: var(--paper-soft); margin: 0 0 36px; max-width: 420px }
.notfound-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center }

/* ============================================================ RESPONSIVE — pages intérieures ============================================================ */
@media (max-width: 960px) {
  .cc-grid { grid-template-columns: 1fr; gap: 30px }
  .cc-cart { position: static }
  .fid-grid { grid-template-columns: 1fr; gap: 40px }
  .dishes { grid-template-columns: 1fr }
}
@media (max-width: 560px) {
  .resa-grid, .cc-two, .fdays { grid-template-columns: 1fr }
  .cc-item { flex-wrap: wrap }
  .cci-n { flex: 1 0 70% }
}
