/* La Folle Époque — Belle Époque brasserie */
:root {
  --green-900: #142A22;
  --green-800: #1E3B30;
  --green-700: #2A4D3F;
  --cream-50: #F7F1E3;
  --cream-200: #E9DFC6;
  --sand: #D4CDB4;
  --wood: #8A4B2B;
  --wood-dark: #4E2D21;
  --gold: #C9A24A;
  --gold-light: #E3C77E;
  --red: #A3262A;
  --red-dark: #861D21;
  --glass-a: #E3B04B;
  --glass-b: #3E6E8E;

  --f-display: "Federant", "Cormorant Garamond", Georgia, serif;
  --f-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --space: clamp(4rem, 9vw, 7.5rem);
  --wrap: 1200px;
  --arch: 50% 50% 0 0 / 28% 28% 0 0;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--wood-dark);
  background: var(--cream-50);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wood); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; color: var(--green-800); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--green-800); color: var(--cream-50); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

.kicker {
  font-variant: small-caps; text-transform: lowercase;
  letter-spacing: .2em; font-size: 1.05rem; font-weight: 600;
  color: var(--wood); margin-bottom: .6rem;
  display: inline-flex; align-items: center; gap: .75rem;
}
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.section-head { text-align: center; max-width: 52rem; margin: 0 auto 3rem; }
.section-head .kicker::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--f-text); font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  text-decoration: none; border-radius: 2px; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { color: var(--cream-50); border-color: rgba(233, 223, 198, .55); }
.btn-ghost:hover { color: var(--green-900); background: var(--cream-50); }
.btn-outline { color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { color: var(--cream-50); background: var(--green-800); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-light); color: var(--green-900); }
.btn-sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header: bandeau crème de la façade */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--sand);
  border-bottom: 3px double var(--wood);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 42, 34, .18); }
.band {
  max-width: var(--wrap); margin: 0 auto; padding: .5rem 1.25rem;
  display: flex; align-items: center; gap: 1.5rem; min-height: 64px;
}
.wordmark {
  font-family: var(--f-display); font-size: 1.55rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--wood-dark); text-decoration: none; white-space: nowrap;
  padding: .35rem 0;
}
.wordmark:hover { color: var(--wood); }
.nav { display: none; margin-left: auto; gap: .25rem; }
.nav a {
  color: var(--green-800); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .7rem .8rem; min-height: 44px; display: inline-flex; align-items: center;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .55rem; height: 1px;
  background: var(--wood); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header-call { display: none; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 85% 20%, rgba(227, 176, 75, .16), transparent 60%),
    var(--green-800);
  color: var(--cream-200);
  display: grid; gap: 1.75rem;
  padding: 1.75rem 1.25rem 3rem;
  overflow: hidden;
}
.hero-text { position: relative; z-index: 2; }
.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-variant: small-caps; text-transform: lowercase; letter-spacing: .28em; font-size: 1.05rem;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow .dot { font-size: .6rem; }
.hero h1 {
  color: var(--cream-50);
  font-size: clamp(3.4rem, 13vw, 7.5rem);
  letter-spacing: .02em; line-height: .95; margin-bottom: 1.25rem;
}
.promise { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 30rem; color: var(--cream-200); margin-bottom: 1.75rem; }
.hero-facts {
  list-style: none; margin: 2rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(201, 162, 74, .4);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-size: .95rem;
}
.hero-facts strong { display: block; color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.hero-media { position: relative; margin: 0; z-index: 1; }
.hero-media .arch {
  border-radius: var(--arch); overflow: hidden;
  border: 6px solid var(--wood); outline: 1px solid var(--gold); outline-offset: 5px;
  aspect-ratio: 4 / 4.4;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media figcaption {
  margin-top: 1rem; text-align: center; font-style: italic; color: var(--gold-light); font-size: .95rem;
}
.hero-media { order: -1; }
.hero-media figcaption { display: none; }
.hero-media .arch { aspect-ratio: 4 / 3.1; max-width: 520px; margin-inline: auto; }
.hero-rosace {
  position: absolute; width: 130%; aspect-ratio: 1; left: -15%; top: -18%;
  color: rgba(201, 162, 74, .35); --glass-a: rgba(227, 176, 75, .08); --glass-b: rgba(62, 110, 142, .2);
  z-index: -1; animation: spin 140s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Journée */
.journee { padding: var(--space) 1.25rem; max-width: var(--wrap); margin: 0 auto; }
.moments { list-style: none; padding: 0; margin: 0; display: grid; gap: 3rem; }
.moment { text-align: center; }
.moment-img {
  border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5;
  border: 4px solid var(--cream-200); box-shadow: 0 0 0 1px var(--wood);
  max-width: 340px; margin: 0 auto 1.25rem;
}
.moment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.moment:hover .moment-img img { transform: scale(1.04); }
.moment-hour {
  font-family: var(--f-display); color: var(--red); font-size: 1.15rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .2rem;
}
.moment p:last-child { max-width: 22rem; margin-inline: auto; }

/* Maison */
.maison {
  background: var(--cream-200);
  display: grid; gap: 2.5rem; align-items: center;
  padding: var(--space) 1.25rem;
}
.maison-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--cream-50); box-shadow: 0 0 0 1px var(--wood), 0 24px 48px -20px rgba(78, 45, 33, .45);
}
.maison-text { max-width: 36rem; }
.lede { font-size: 1.25rem; font-style: italic; color: var(--green-800); }

/* Carte */
.carte {
  position: relative; overflow: hidden;
  background: var(--green-800); color: var(--cream-200);
  padding: var(--space) 1.25rem;
}
.carte-rosace {
  position: absolute; width: 640px; height: 640px; right: -260px; top: -200px;
  color: rgba(201, 162, 74, .22); --glass-a: transparent; --glass-b: transparent;
}
.carte-inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.on-dark h2 { color: var(--cream-50); }
.on-dark .kicker { color: var(--gold); }
.note { font-style: italic; color: var(--cream-200); }
.menu-cols { display: grid; gap: 2.5rem; }
.menu-block {
  border: 1px solid rgba(201, 162, 74, .45); padding: 2rem 1.5rem 1.25rem;
  position: relative; background: rgba(20, 42, 34, .35);
}
.menu-block::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 162, 74, .18); pointer-events: none;
}
.menu-block h3 { color: var(--gold); text-align: center; letter-spacing: .08em; margin-bottom: 1.25rem; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li {
  display: grid; grid-template-columns: 1fr auto; gap: 0 1rem;
  padding: .7rem 0; border-bottom: 1px dotted rgba(201, 162, 74, .4);
}
.menu li:last-child { border-bottom: 0; }
.dish { color: var(--cream-50); font-weight: 600; }
.price { color: var(--gold); font-weight: 600; grid-column: 2; grid-row: 1; }
.desc { grid-column: 1 / -1; font-style: italic; font-size: .95rem; color: var(--cream-200); }
.carte-cta { text-align: center; margin: 3rem 0 0; }

/* Galerie */
.galerie { padding: var(--space) 1.25rem; max-width: var(--wrap); margin: 0 auto; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-auto-flow: dense; gap: .75rem; }
.g { margin: 0; overflow: hidden; background: var(--cream-200); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Avis */
.avis { background: var(--cream-200); padding: var(--space) 1.25rem; }
.quotes { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 1.5rem; }
.quote {
  margin: 0; padding: 1.75rem 1.5rem; background: var(--cream-50);
  border-top: 3px solid var(--red);
}
.quote p { font-size: 1.1rem; font-style: italic; color: var(--green-800); margin-bottom: .75rem; }
.quote footer { font-weight: 600; color: var(--wood); letter-spacing: .04em; }
.quote-lg { background: var(--green-800); border-top-color: var(--gold); }
.quote-lg p { color: var(--cream-50); font-family: var(--f-display); font-style: normal; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; }
.quote-lg footer { color: var(--gold); }

/* Infos */
.infos { display: grid; max-width: var(--wrap); margin: 0 auto; padding: var(--space) 1.25rem; gap: 2rem; }
.infos-list { margin: 1.5rem 0; }
.infos-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--cream-200); }
.infos-list dt { font-variant: small-caps; text-transform: lowercase; letter-spacing: .14em; font-weight: 600; color: var(--wood); }
.infos-list dd { margin: 0; }
.infos-list a { display: inline-block; padding: .55rem 0; margin: -.55rem 0; font-weight: 600; }
.hours-title { font-size: 1.35rem; margin-top: 1rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.75rem; }
.hours th, .hours td { text-align: left; padding: .45rem .5rem; border-bottom: 1px dotted var(--sand); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today { background: var(--green-800); color: var(--cream-50); }
.hours tr.today th { font-weight: 600; }
.hours tr.today th::after { content: " · aujourd'hui"; color: var(--gold); font-style: italic; }
.infos-map { position: relative; min-height: 360px; background: var(--cream-200); border: 1px solid var(--wood); }
.infos-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-link {
  position: absolute; right: .75rem; bottom: .75rem; background: var(--cream-50);
  padding: .7rem 1rem; min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 600; text-decoration: none; border: 1px solid var(--wood);
}

/* Footer */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--green-900); color: var(--cream-200);
  text-align: center; padding: 4rem 1.25rem 7rem; font-size: .95rem;
}
.site-footer a { color: var(--gold-light); display: inline-block; padding: .6rem 0; margin: -.6rem 0; }
.footer-rosace { width: 72px; height: 72px; color: var(--gold); margin: 0 auto 1rem; display: block; --glass-a: #E3B04B; --glass-b: #3E6E8E; }
.footer-name { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-50); }
.credit { margin-top: 1.5rem; font-size: .85rem; color: var(--sand); }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--green-900); border-top: 2px solid var(--gold);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 60px; color: var(--cream-50); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.action-bar svg { width: 20px; height: 20px; fill: var(--gold); }
.action-bar .ab-primary { background: var(--red); }
.action-bar .ab-primary svg { fill: #fff; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ≥ 640 */
@media (min-width: 640px) {
  .moments { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .g-tall-md { grid-row: span 2; }
  .quote-lg { grid-column: 1 / -1; }
}

/* ≥ 960 : desktop */
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-call { display: inline-flex; }
  .action-bar { display: none; }
  .site-footer { padding-bottom: 4rem; }
  .hero {
    grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.5rem;
    padding: 4rem max(2rem, calc((100vw - var(--wrap)) / 2)) 4.5rem;
    min-height: calc(100vh - 67px);
  }
  .hero-media { order: 0; }
  .hero-media figcaption { display: block; }
  .hero-media .arch { aspect-ratio: 4 / 4.6; max-height: 72vh; max-width: none; margin-left: auto; }
  .maison { grid-template-columns: 1.1fr 1fr; padding-inline: max(2rem, calc((100vw - var(--wrap)) / 2)); gap: 4rem; }
  .menu-cols { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .gallery { grid-auto-rows: 260px; }
  .quotes { grid-template-columns: 1.3fr 1fr 1fr; }
  .quote-lg { grid-column: 1; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
  .quotes .quote:nth-child(4) { grid-column: 2 / span 2; }
  .infos { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
