/* Maquette B, Insegna : l'enseigne de rue, store rayé et capitales étroites. */
:root {
  --beige: #e7dfd4;
  --paper: #fbf8f4;
  --ink: #1e1214;
  --muted: #5f4f4d;
  --rule: rgba(30, 18, 20, 0.18);
  --bordeaux: #930321;
  --bordeaux-deep: #74021a;
  --bleu: #96b7d9;
  --pistache: #aea434;
  --pistache-ink: #5e5714;
  --open: #24572e;
  --closed: #8c2f12;

  --font: "Archivo", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--beige); color: var(--ink);
  font: 400 16px/1.5 var(--font); font-stretch: 100%;
  -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: 3px solid var(--ink); outline-offset: 2px; }

.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; }

/* Capitales étroites, comme une enseigne peinte */
.menu-title, .cat-title, .item-name, .infos-tel, .infos-label {
  font-stretch: 62%; text-transform: uppercase;
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 3px; border: 2px solid transparent;
  font: 700 16px/1 var(--font); font-stretch: 100%; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.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(--ink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--bordeaux-deep); }
  .btn-secondary:hover { background: rgba(30, 18, 20, 0.06); }
}

/* Bandeau d'enseigne et store */
.signbar { background: var(--bordeaux); color: var(--paper); }
.signbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 16px; }
.signbar-nav { display: flex; gap: 24px; }
.signbar a { text-decoration: none; font-weight: 600; font-size: 15px; }
.signbar-tel { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .signbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.awning {
  height: 58px;
  background: repeating-linear-gradient(90deg, var(--bordeaux) 0 40px, var(--paper) 40px 80px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 20px) no-repeat,
    radial-gradient(circle at 50% 0, #000 19.5px, #0000 20px) bottom / 40px 20px repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 20px) no-repeat,
    radial-gradient(circle at 50% 0, #000 19.5px, #0000 20px) bottom / 40px 20px repeat-x;
  filter: drop-shadow(0 3px 0 rgba(30, 18, 20, 0.12));
}

/* Hero */
.hero { padding-block: clamp(20px, 4vw, 48px) clamp(32px, 5vw, 56px); }
.hero-logo { padding-block: clamp(16px, 3vw, 40px) clamp(8px, 2vw, 24px); }
.hero-logo img { width: 100%; height: auto; }
.hero-row {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(20px, 3vw, 32px); padding-top: 20px; border-top: 4px solid var(--ink);
}
.hero-sub { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.2; }
.hero-sub span { font-weight: 400; color: var(--muted); }
.hero-side { display: grid; gap: 14px; justify-items: end; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status { font-size: 15px; }
.status strong { font-weight: 700; }
.status[data-open="true"] strong { color: var(--open); }
.status[data-open="false"] strong { color: var(--closed); }

/* Bande photos */
.strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; background: var(--ink); }
.strip img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }

/* Présentation */
.intro { padding-block: clamp(48px, 8vw, 104px); }
.intro-text {
  font-size: clamp(28px, 3.8vw, 54px); font-weight: 600; font-stretch: 87%;
  line-height: 1.1; letter-spacing: -0.015em; max-width: 24em; text-wrap: pretty;
}

/* Infos pratiques */
.infos { background: var(--bleu); padding-block: clamp(40px, 6vw, 72px); }
.infos-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.infos-label { font-size: 26px; font-weight: 800; line-height: 1; margin-bottom: 14px; }
.infos-tel {
  display: block; font-weight: 800; font-size: clamp(48px, 6.4vw, 96px); line-height: 0.9;
  text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.infos-call p { margin-top: 12px; font-size: 17px; }
.infos-block address { font-style: normal; }
.infos-link { display: inline-block; margin-top: 12px; font-weight: 700; text-underline-offset: 3px; }
.hours { display: grid; gap: 4px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid rgba(30, 18, 20, 0.2); }
.hours dt { font-weight: 600; }
.hours dd { font-variant-numeric: tabular-nums; }
.hours-note { font-size: 14px; margin-top: 8px; }
.infos-block .status { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .infos-tel:hover { color: var(--bordeaux); }
}

/* Carte */
.menu { background: var(--paper); padding-block: clamp(48px, 7vw, 96px); }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.menu-title { font-weight: 800; font-size: clamp(72px, 12vw, 168px); line-height: 0.82; color: var(--bordeaux); }
.menu-note { color: var(--muted); font-weight: 500; }

.menu-nav { position: sticky; top: 0; z-index: 10; background: var(--paper); margin-top: 24px; border-block: 4px solid var(--ink); }
.menu-nav-track { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.menu-nav-track::-webkit-scrollbar { display: none; }
.menu-nav-link {
  flex: none; padding: 8px 14px; border-radius: 3px; text-decoration: none;
  font-weight: 700; font-size: 15px;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.menu-nav-link:active { transform: scale(0.97); }
.menu-nav-link[aria-current] { background: var(--bordeaux); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .menu-nav-link:not([aria-current]):hover { background: rgba(30, 18, 20, 0.07); }
}

.menu-pizzas { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(32px, 5vw, 72px); align-items: start; padding-top: 48px; }
.menu-autres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 4vw, 56px); margin-top: 72px; align-items: start; }
.cat { scroll-margin-top: 76px; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 4px solid var(--bordeaux); padding-bottom: 8px; }
.cat-title { font-weight: 800; font-size: clamp(40px, 4vw, 56px); line-height: 0.9; color: var(--bordeaux); }
.cat-count { font-weight: 600; color: var(--muted); }

.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.item-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.item-name { font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.005em; }
.item-leader { display: none; }
.item-price {
  flex: none; background: var(--pistache); color: var(--ink);
  font-weight: 800; font-size: 17px; line-height: 1; padding: 7px 9px 6px; border-radius: 3px;
  font-variant-numeric: tabular-nums;
}
.item-ing { color: var(--muted); font-size: 15.5px; margin-top: 6px; max-width: 46ch; }
.item-tag { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--pistache-ink); border: 1.5px solid var(--pistache); padding: 2px 6px; border-radius: 3px; }
.cat-simple .item-name { font-size: 24px; }
.cat-simple .item { padding: 12px 0; }
.cat-simple .item-price { font-size: 15px; background: var(--beige); }

/* Avis */
.reviews { background: var(--paper); border-top: 4px solid var(--ink); padding-block: clamp(40px, 6vw, 64px); }
.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-stretch: 62%; text-transform: uppercase; font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 0.85; color: var(--bordeaux); }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--beige); padding-top: 48px; }
.footer-logo { width: min(100%, 520px); height: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 2px solid rgba(231, 223, 212, 0.3); }
.footer-grid a { text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; }
.social-link {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 3px;
  background: rgba(231, 223, 212, 0.1);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.social-link:active { transform: scale(0.95); }
.icon { width: 20px; height: 20px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .social-link:hover { background: var(--bordeaux); }
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 13px; color: rgba(231, 223, 212, 0.75); }

.callbar { display: none; }

/* Premier affichage : l'enseigne s'allume une fois */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: pose 600ms var(--ease-out) both; }
}
@keyframes pose { from { opacity: 0; transform: translateY(0.12em); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .infos-call { grid-column: 1 / -1; }
  .menu-autres { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .signbar-tel { display: none; }
  .awning { height: 44px; }
  .hero-logo img { width: min(64vw, 260px); }
  .hero-side { justify-items: start; }
  .hero-actions { display: none; }
  .strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip img { flex: none; width: 82vw; height: 260px; scroll-snap-align: start; }
  .infos-grid { grid-template-columns: 1fr; }
  .menu-pizzas, .menu-autres { grid-template-columns: 1fr; }
  .menu-autres { margin-top: 48px; }
  .item-name { font-size: 27px; }
  .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: 4px solid var(--ink);
  }
}
