/* L'Escalié — tokens tirés de l'enseigne et des photos du lieu */
:root {
  --cream: #F4EDE1;
  --paper: #FBF7F0;
  --sand: #EADDC8;
  --ink: #221A17;
  --ink-soft: #5A4B43;
  --oxblood: #7A2226;
  --oxblood-deep: #5E181B;
  --marble: #2E4A3F;
  --marble-deep: #1F342C;
  --ochre: #E2A33E;
  --terracotta: #B8552F;
  --terracotta-text: #9A4228; /* terracotta assombri pour le texte (AA sur crème et sable) */
  --ochre-light: #EBB45A;

  --f-display: "Caprasimo", "Cooper Black", Georgia, serif;
  --f-accent: "Instrument Serif", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step: clamp(14px, 2.2vw, 28px);
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1200px;
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(60, 25, 15, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
h2 { font-family: var(--f-display); font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--oxblood); letter-spacing: -.01em; }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--oxblood); color: var(--paper); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

.eyebrow { font-family: var(--f-accent); font-style: italic; font-size: 1.35rem; color: var(--terracotta-text); margin-bottom: .4rem; }
.eyebrow--light { color: var(--ochre-light); }
.lead { font-size: 1.2rem; }
.muted { color: var(--ink-soft); }
.section-head { max-width: var(--max); margin: 0 auto clamp(2rem, 5vw, 3.5rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--oxblood); color: var(--paper); }
.btn--solid:hover { background: var(--oxblood-deep); }
.btn--ghost { border-color: var(--paper); color: var(--paper); background: rgba(34, 26, 23, .25); }
.btn--ghost:hover { background: var(--paper); color: var(--oxblood); }
.btn--ochre { background: var(--ochre); color: var(--ink); }
.btn--ochre:hover { background: #F0B85A; }
.btn--small { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }

/* Top bar */
.topbar {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad);
  color: var(--paper);
}
.brand { font-family: var(--f-display); font-size: 1.6rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav { display: none; gap: .25rem; }
.nav a { text-decoration: none; padding: .6rem .8rem; min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; border-radius: 999px; }
.nav a:hover { background: rgba(251, 247, 240, .18); }
.topbar__cta { display: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34, 26, 23, .55) 0%, rgba(34, 26, 23, 0) 22%),
    linear-gradient(0deg, rgba(40, 14, 14, .92) 0%, rgba(40, 14, 14, .6) 42%, rgba(40, 14, 14, 0) 72%);
}
.hero__content { padding: 7rem var(--pad) 6.5rem; max-width: 52rem; }
.hero__kicker { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: .75rem; color: var(--ochre); }
.hero__title { font-family: var(--f-display); font-size: clamp(3.6rem, 13vw, 8rem); line-height: .9; letter-spacing: -.01em; }
.hero__sign { font-family: var(--f-accent); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); margin: .2rem 0 1.25rem .2rem; color: var(--sand); }
.hero__promise { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34rem; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__rating {
  position: absolute; right: var(--pad); bottom: 1.5rem; margin: 0;
  font-size: .9rem; font-weight: 500; color: var(--sand);
}
.hero__rating span { color: var(--ochre); }

/* About */
.about {
  max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) var(--pad);
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.about h2 { margin-bottom: 1.5rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 2px solid var(--oxblood); padding-top: 1.25rem; }
.facts strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--oxblood); line-height: 1; }
.facts span { font-size: .9rem; color: var(--ink-soft); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__photo figcaption { font-family: var(--f-accent); font-style: italic; color: var(--ink-soft); margin-top: .6rem; font-size: 1.1rem; }

/* Stepped top edge — l'escalier */
.steps-top {
  clip-path: polygon(
    0 calc(var(--step) * 3), 25% calc(var(--step) * 3), 25% calc(var(--step) * 2), 50% calc(var(--step) * 2),
    50% var(--step), 75% var(--step), 75% 0, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--step) * 3 + clamp(3rem, 8vw, 6rem)) !important;
}

/* Moments */
.moments { padding: clamp(2rem, 6vw, 4rem) var(--pad) clamp(4rem, 10vw, 8rem); }
.stairs { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; gap: 2.5rem; }
.stair { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; }
.stair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stair__body { padding: 1.5rem 1.5rem 1.75rem; border-top: 6px solid var(--ochre); }
.stair:nth-child(2) .stair__body { border-color: var(--terracotta); }
.stair:nth-child(3) .stair__body { border-color: var(--marble); }
.stair__n { font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: .4rem; }
.stair h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; color: var(--oxblood); margin-bottom: .7rem; }
.stair p:last-child { margin-bottom: 0; }
.tbc { font-size: .95rem; color: var(--ink-soft); font-style: italic; }

/* Carte */
.carte {
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(0, 0, 0, .18), transparent 70%),
    linear-gradient(135deg, var(--marble) 0%, var(--marble-deep) 100%);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
}
.carte__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.carte h2 { color: var(--paper); margin-bottom: 1.25rem; }
.carte__intro p { max-width: 30rem; color: #E6E0D4; }
.menu-card {
  background: var(--ochre); color: var(--ink);
  border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  transform: rotate(-1.2deg);
}
.menu-card__title { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--oxblood); text-align: center; margin-bottom: 1.5rem; }
.menu { margin: 0; }
.menu__row { padding: .9rem 0; border-bottom: 1.5px dashed rgba(94, 24, 27, .45); }
.menu__row:last-child { border-bottom: 0; }
.menu dt { font-weight: 600; font-size: 1.15rem; }
.menu dd { margin: .15rem 0 0; font-family: var(--f-accent); font-style: italic; font-size: 1.1rem; color: #3E2A20; }
.menu-card__note { text-align: center; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 1.25rem 0 0; color: var(--oxblood-deep); }

/* Gallery */
.gallery { padding: clamp(4rem, 10vw, 7rem) var(--pad); }
.gallery__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.g img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; border-radius: var(--radius); }
.g--wide { grid-column: span 2; }
.g--wide img { aspect-ratio: 16 / 10; }

/* Groups */
.groups { padding: 0 var(--pad) clamp(4rem, 10vw, 7rem); }
.groups__card {
  max-width: var(--max); margin: 0 auto; background: var(--sand);
  border-radius: var(--radius); padding: clamp(2rem, 6vw, 4rem);
  border-left: 10px solid var(--terracotta);
}
.groups h2 { margin-bottom: 1.5rem; max-width: 22ch; }
.groups p { max-width: 40rem; }
.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--paper); border: 1.5px solid var(--oxblood); color: var(--oxblood); border-radius: 999px; padding: .4rem .9rem; font-weight: 500; font-size: .95rem; }

/* Reviews */
.reviews { background: var(--oxblood); color: var(--paper); padding: clamp(4rem, 10vw, 7rem) var(--pad); }
.reviews h2 { color: var(--paper); }
.reviews__list { max-width: var(--max); margin: 0 auto; display: grid; gap: 1.5rem; }
.quote { margin: 0; padding: 1.5rem 0 0; border-top: 1.5px solid rgba(244, 237, 225, .35); }
.quote p { font-family: var(--f-accent); font-style: italic; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.25; margin-bottom: .6rem; }
.quote footer { font-weight: 600; color: var(--ochre); }
.quote footer::before { content: "— "; }
.quote--big p { font-family: var(--f-display); font-style: normal; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }

/* Infos */
.infos { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--pad); display: grid; gap: 2.5rem; }
.infos h2 { margin-bottom: 2rem; }
.infos h3 { font-family: var(--f-display); font-weight: 400; color: var(--oxblood); font-size: 1.4rem; margin: 0 0 .6rem; }
.infos__cols { display: grid; gap: 2rem; }
.infos__cols p + h3 { margin-top: 1.5rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours th, .hours td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid #D8CBB6; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours th { white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--oxblood); }
.hours tr.is-today th::after { content: "aujourd'hui"; display: block; font-size: .85rem; line-height: 1; font-family: var(--f-accent); font-style: italic; font-weight: 400; }
.link { color: var(--oxblood); font-weight: 600; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.infos__map { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.infos__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Footer */
.footer { background: var(--marble-deep); color: #E6E0D4; text-align: center; padding: 3rem var(--pad) 6.5rem; }
.footer__name { font-family: var(--f-display); font-size: 2rem; color: var(--paper); margin-bottom: .5rem; }
.footer a { color: var(--ochre); display: inline-block; padding: .6rem 0; }
.footer__small { font-size: .85rem; opacity: .85; margin-top: 1rem; }

/* Mobile action bar */
.actionbar {
  position: fixed; inset: auto 0 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--paper); border-top: 1px solid #D8CBB6;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .25);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 60px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--oxblood);
}
.actionbar svg { width: 22px; height: 22px; fill: currentColor; }
.actionbar__main { background: var(--oxblood); color: var(--paper) !important; }

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

/* ≥ 720px */
@media (min-width: 720px) {
  .about { grid-template-columns: 1fr 1.1fr; }
  .stairs { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
  .stair:nth-child(2) { margin-top: 4rem; }
  .stair:nth-child(3) { margin-top: 8rem; }
  .stair img { aspect-ratio: 4 / 5; }
  .carte__inner { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .g img { aspect-ratio: auto; }
  .g--wide { grid-column: span 2; grid-row: span 2; }
  .g--wide img { aspect-ratio: auto; }
  .g--tall { grid-row: span 2; }
  .gallery__grid { grid-template-rows: repeat(3, 220px); }
  .g:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
  .g:nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
  .g:nth-child(3) { grid-area: 3 / 1 / 4 / 3; }
  .g:nth-child(4) { grid-area: 1 / 4 / 3 / 5; }
  .g:nth-child(5) { grid-area: 3 / 3 / 4 / 5; }
  .reviews__list { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; }
  .quote--big { grid-column: 1 / -1; padding-bottom: 1rem; }
  .infos { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
  .infos__cols { grid-template-columns: minmax(15rem, 1fr) 1fr; column-gap: 3rem; }
}

/* ≥ 960px : desktop nav, no action bar */
@media (min-width: 960px) {
  .nav { display: flex; }
  .topbar__cta { display: inline-flex; }
  .actionbar { display: none; }
  .footer { padding-bottom: 3rem; }
  .hero__content { padding-bottom: 7rem; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(34, 26, 23, .55) 0%, rgba(34, 26, 23, 0) 22%),
      linear-gradient(90deg, rgba(40, 14, 14, .78) 0%, rgba(40, 14, 14, .45) 38%, rgba(40, 14, 14, 0) 62%),
      linear-gradient(0deg, rgba(40, 14, 14, .85) 0%, rgba(40, 14, 14, 0) 55%);
  }
}

@media (max-width: 959px) {
  .hero__rating { right: auto; left: var(--pad); bottom: 1.25rem; }
  .hero__content { padding-bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
.hours__note { font-size: .9rem; margin-top: .75rem; }
