/* Maquette E, Contemporaine : aplat bordeaux, symbole en filigrane, carte en index éditorial. */
:root {
  --bordeaux: #930321;
  --bordeaux-deep: #74021a;
  --beige: #e7dfd4;
  --paper: #f7f3ee;
  --ink: #241416;
  --muted: #625250;
  --rule: rgba(36, 20, 22, 0.14);
  --bleu: #96b7d9;
  --pistache: #aea434;
  --pistache-ink: #565010;
  --open: #24572e;
  --closed: #8c2f12;

  --display: "Cormorant Garamond", Garamond, serif;
  --text: "Montserrat", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { top: 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent;
  font: 500 14.5px/1 var(--text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 38px; padding: 0 16px; }
.btn-light { background: var(--beige); color: var(--bordeaux); }
.btn-ghost { border-color: rgba(231, 223, 212, 0.6); color: var(--beige); }
.btn-primary { background: var(--bordeaux); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.btn-secondary { border-color: var(--bordeaux); color: var(--bordeaux); }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: var(--paper); }
  .btn-ghost:hover { background: rgba(231, 223, 212, 0.1); }
  .btn-primary:hover { background: var(--bordeaux-deep); }
}

/* Hero bordeaux */
.hero { position: relative; overflow: hidden; background: var(--bordeaux); color: var(--beige); padding-bottom: clamp(56px, 8vw, 112px); }
.header-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo { display: block; line-height: 0; }
.logo img { width: 260px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-link { text-decoration: none; font-weight: 500; font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}
.hero-symbol {
  position: absolute; width: clamp(420px, 52vw, 760px); left: -10%; bottom: -28%;
  opacity: 0.07; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 88px); align-items: end;
  padding-top: clamp(32px, 6vw, 88px);
}
.hero-kicker { font-weight: 500; font-size: 15px; color: rgba(231, 223, 212, 0.85); }
.hero-title {
  font: italic 300 clamp(56px, 7.6vw, 112px)/0.98 var(--display);
  letter-spacing: -0.02em; margin-top: 14px; text-wrap: balance;
}
.hero-intro { font-size: 16px; line-height: 1.7; max-width: 34em; margin-top: 26px; color: rgba(231, 223, 212, 0.92); }
.hero .status { margin-top: 22px; font-size: 14.5px; }
.hero .status strong { color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Statut sur fond clair */
.status strong { font-weight: 600; }
.infos .status[data-open="true"] strong { color: var(--open); }
.infos .status[data-open="false"] strong { color: var(--closed); }

/* Infos pratiques */
.infos { padding-block: clamp(48px, 7vw, 88px); }
.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.info { padding: 4px clamp(20px, 3vw, 40px); }
.info:first-child { padding-left: 0; }
.info + .info { border-left: 1px solid var(--rule); }
.info-label { font: 600 13px/1 var(--text); color: var(--bordeaux); margin-bottom: 16px; }
.info-value { font: 500 25px/1.25 var(--display); font-style: normal; font-variant-numeric: lining-nums; }
.hours { display: grid; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hours dt { font-size: 14px; color: var(--muted); }
.hours dd { font: 500 25px/1.3 var(--display); font-variant-numeric: lining-nums; }
.hours-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.infos .status { margin-top: 8px; font-size: 14px; }
.info-link { display: inline-block; margin-top: 12px; font-weight: 500; font-size: 14px; color: var(--bordeaux); text-underline-offset: 4px; }
.info-tel { display: block; font: 500 clamp(28px, 2.8vw, 36px)/1.1 var(--display); text-decoration: none; color: var(--bordeaux); font-variant-numeric: lining-nums; }
.info-small { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .info-tel:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
}

/* Bande photos pleine largeur */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.band img { width: 100%; height: clamp(240px, 36vw, 520px); object-fit: cover; }

/* Carte en index : titre de catégorie à gauche, plats à droite */
.menu { padding-block: clamp(64px, 9vw, 128px); }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.menu-title { font: 300 clamp(60px, 8vw, 120px)/0.9 var(--display); letter-spacing: -0.03em; color: var(--bordeaux); }
.menu-note { color: var(--muted); font-size: 14px; }

.menu-nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); margin-top: 32px; }
.menu-nav-track { position: relative; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.menu-nav-track::-webkit-scrollbar { display: none; }
.menu-nav-link { flex: none; padding: 16px 0 14px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 160ms ease; }
.menu-nav-link[aria-current] { color: var(--ink); }
.menu-nav-indicator { position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--bordeaux); transform-origin: 0 0; transform: scaleX(0); }
.menu-nav-indicator[data-ready] { transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .menu-nav-link:hover { color: var(--ink); }
}

.cat {
  display: grid; grid-template-columns: minmax(200px, 1fr) 2.8fr; gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule);
  scroll-margin-top: 52px;
}
.cat-head { align-self: start; position: sticky; top: 80px; }
.cat-title { font: italic 400 clamp(36px, 3.6vw, 48px)/1 var(--display); color: var(--bordeaux); }
.cat-count { font-size: 13px; color: var(--muted); margin-top: 10px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 4vw, 56px); }
.cat-simple .items { grid-template-columns: repeat(3, 1fr); gap: 18px clamp(24px, 3vw, 40px); }
.item-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.item-name { font: 600 24px/1.15 var(--display); letter-spacing: -0.005em; }
.item-leader { display: none; }
.item-price { font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-ing { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; }
.item-tag { font-size: 12.5px; font-weight: 600; color: var(--pistache-ink); margin-top: 6px; }
.cat-simple .item-name { font-size: 21px; }

/* Avis */
.reviews { padding-block: 0 clamp(56px, 8vw, 104px); }
.reviews-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.reviews-list { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.reviews-title { font: italic 300 clamp(44px, 5.5vw, 76px)/1 var(--display); letter-spacing: -0.02em; color: var(--bordeaux); }

/* Pied de page */
.site-footer { background: var(--bordeaux); color: var(--beige); }
.footer-grid { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 40px; align-items: start; padding-block: 56px 32px; }
.footer-logo { width: 150px; height: auto; }
.footer-grid a { text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; }
.social-link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px;
  border: 1px solid rgba(231, 223, 212, 0.45);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.social-link:active { transform: scale(0.95); }
.icon { width: 19px; height: 19px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .social-link:hover { background: rgba(231, 223, 212, 0.12); }
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(231, 223, 212, 0.25); font-size: 12.5px; color: rgba(231, 223, 212, 0.82); }

.callbar { display: none; }

/* Premier affichage : le titre se pose, le symbole apparaît une fois */
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: monte 800ms var(--ease-out) both; }
  .hero-symbol { animation: filigrane 1400ms var(--ease-out) 200ms both; }
}
@keyframes monte { from { opacity: 0; transform: translateY(16px); } }
@keyframes filigrane { from { opacity: 0; transform: rotate(-12deg) scale(0.96); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .cat { grid-template-columns: 1fr; gap: 20px; }
  .cat-head { position: static; }
  .cat-simple .items { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: auto 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .header-inner { min-height: 68px; }
  .logo img { width: 200px; }
  .header-link[href="#infos"], .header-call { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-symbol { width: 360px; bottom: auto; top: 30%; left: -30%; }
  .infos-grid { grid-template-columns: 1fr; }
  .info, .info:first-child { padding: 20px 0; }
  .info + .info { border-left: 0; border-top: 1px solid var(--rule); }
  .band { grid-template-columns: 1fr; }
  .band img { height: 220px; }
  .items, .cat-simple .items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--rule);
  }
}
