/* Chez Smithy — bistro, Place du Prince, Chimay
   Couleurs reprises du lieu : murs noirs, brique, cuivre des suspensions, O jaune de l'enseigne. */

@font-face { font-family: "Zilla Slab"; font-weight: 600; font-display: swap; src: url(/fonts/zilla-slab-600.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 700; font-display: swap; src: url(/fonts/zilla-slab-700.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400 600; font-display: swap; src: url(/fonts/archivo.woff2) format("woff2"); }

:root {
  --noir: #141210;
  --noir-2: #1d1916;
  --ligne: #3a322b;
  --creme: #f0e8dc;
  --gris: #a99e91;
  --cuivre: #c98a4b;
  --brique: #8e3f28;
  --jaune: #f4c21b;
  --vert: #7fbf6a;
  --titre: "Zilla Slab", Rockwell, Georgia, serif;
  --texte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --barre: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font: 400 17px/1.55 var(--texte);
  padding-bottom: calc(var(--barre) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--jaune); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.1; margin: 0; }

.bloc { padding: 0 20px; max-width: 1080px; margin: 0 auto; }

/* ---------- En-tête */

.entete {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20, 18, 16, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ligne);
}
.entete .bloc { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 58px; }
.marque {
  font: 700 22px/1 var(--titre);
  letter-spacing: .07em;
  text-decoration: none;
  white-space: nowrap;
}
.marque span { color: var(--jaune); }
.entete nav { display: none; gap: 26px; font-size: 15px; }
.entete nav a { text-decoration: none; color: var(--gris); }
.entete nav a:hover, .entete nav a[aria-current] { color: var(--creme); }

.statut { font-size: 14px; color: var(--gris); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gris); }
.statut.ouvert { color: var(--creme); }
.statut.ouvert::before { background: var(--vert); }

/* ---------- Barre d'actions (téléphone) */

.actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--noir-2);
  border-top: 1px solid var(--ligne);
  padding-bottom: env(safe-area-inset-bottom);
}
.actions a {
  height: var(--barre);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; font-size: 13px; font-weight: 500; color: var(--creme);
}
.actions a + a { border-left: 1px solid var(--ligne); }
.actions svg { width: 22px; height: 22px; stroke: var(--cuivre); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.actions a.appel svg { stroke: var(--jaune); }

/* ---------- Accueil */

/* Premier écran : tout l'essentiel d'un coup d'œil, avec les photos du lieu */
.une {
  padding: 30px 0 44px;
  background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(201, 138, 75, .13), transparent 70%);
}
.surtitre {
  margin: 0 0 10px; color: var(--cuivre);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.une h1 { font-size: 54px; line-height: .95; letter-spacing: .005em; }
.une h1 span { color: var(--jaune); }
.accroche { font-size: 19px; line-height: 1.45; max-width: 25em; margin: 16px 0 0; }
.aujourdhui {
  margin: 22px 0 0;
  border-left: 3px solid var(--jaune);
  padding: 3px 0 3px 14px;
  font-size: 16px; color: var(--gris);
}
.aujourdhui strong { display: block; font-size: 19px; color: var(--creme); }
.une-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.une-tel { margin: 18px 0 0; font-size: 15px; color: var(--gris); }
.une-tel a { color: var(--creme); }

.une-photos {
  margin-top: 30px;
  display: grid; gap: 8px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "facade facade" "salle biere";
}
.une-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: var(--noir-2); }
.ph-facade { grid-area: facade; aspect-ratio: 16 / 10; object-position: 30% 60%; }
.ph-salle { grid-area: salle; aspect-ratio: 1; object-position: 55% 70%; }
.ph-biere { grid-area: biere; aspect-ratio: 1; object-position: 45% 50%; }

section.partie { border-top: 1px solid var(--ligne); padding: 36px 0 40px; }
section.partie h2 { font-size: 30px; margin-bottom: 18px; }
section.partie h2 small { display: block; font: 400 15px/1.4 var(--texte); color: var(--gris); margin-top: 6px; }

.horaires { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 17px; }
.horaires td { padding: 9px 0; border-bottom: 1px dashed var(--ligne); }
.horaires td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.horaires tr.ferme td:last-child { color: var(--gris); }
.horaires tr.ajd td { color: var(--jaune); font-weight: 600; }
.horaires tr.ajd td:first-child::after { content: " · aujourd’hui"; font-weight: 400; font-size: 14px; }

.menu-court { list-style: none; margin: 0 0 24px; padding: 0; }
.menu-court li { padding: 12px 0; border-bottom: 1px dashed var(--ligne); }
.menu-court b { display: block; font-family: var(--titre); font-size: 20px; color: var(--cuivre); margin-bottom: 2px; }

.bouton {
  display: inline-block; text-decoration: none;
  background: var(--jaune); color: #1a1406;
  font-weight: 600; padding: 13px 22px; border-radius: 3px;
}
.bouton.creux { background: none; color: var(--creme); border: 1px solid var(--ligne); }

/* Photos : on fait défiler au doigt sur téléphone */
.photos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%;
  gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -20px; padding: 0 20px 8px;
  scrollbar-width: none;
}
.photos::-webkit-scrollbar { display: none; }
.photos figure { margin: 0; scroll-snap-align: start; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--noir-2); }
.photos figcaption { font-size: 14px; color: var(--gris); padding-top: 6px; }
.credit { font-size: 13px; color: var(--gris); margin-top: 14px; }

.venir { margin-top: 40px; }
.venir address { font-style: normal; font-size: 19px; margin-bottom: 18px; }
.venir .liens { display: flex; flex-wrap: wrap; gap: 10px; }

.pied { border-top: 1px solid var(--ligne); padding: 26px 0 30px; font-size: 14px; color: var(--gris); }
.pied p { margin: 4px 0; }
.pied a { color: var(--gris); }

/* ---------- La carte */

.carte-tete { padding-top: 26px; padding-bottom: 8px; }
.carte-tete h1 { font-size: 40px; }
.carte-tete p { color: var(--gris); margin: 6px 0 0; font-size: 15px; }

.onglets {
  position: sticky; top: 58px; z-index: 10;
  background: var(--noir); border-bottom: 1px solid var(--ligne);
}
.onglets .bloc { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.onglets .bloc::-webkit-scrollbar { display: none; }
.onglets a {
  flex: none; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 7px 14px; border: 1px solid var(--ligne); border-radius: 99px; color: var(--gris);
}
.onglets a.actif { background: var(--creme); color: var(--noir); border-color: var(--creme); }

.onglet { padding-top: 30px; scroll-margin-top: 110px; }
.onglet > h2 { font-size: 32px; color: var(--jaune); margin-bottom: 4px; }
.section-carte { margin-top: 24px; break-inside: avoid; }
.section-carte h3 {
  font-size: 21px; color: var(--cuivre);
  padding-bottom: 6px; border-bottom: 1px solid var(--ligne); margin-bottom: 4px;
}
.section-carte .note { font-size: 15px; color: var(--gris); margin: 8px 0 4px; }
.article { padding: 9px 0; border-bottom: 1px dashed #2a241f; }
.article .ligne { display: flex; align-items: baseline; gap: 8px; }
.article .nom { font-weight: 500; }
.article .points { flex: 1; border-bottom: 1px dotted #4a4038; transform: translateY(-4px); min-width: 12px; }
.article .prix { font-variant-numeric: tabular-nums; white-space: nowrap; }
.article .sous { font-size: 14px; color: var(--gris); margin-top: 1px; }
.article .formats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.article .formats span { color: var(--gris); }
.article .formats b { font-weight: 500; color: var(--creme); }
.fin-carte { color: var(--gris); font-size: 14px; margin: 36px 0 10px; }

/* ---------- Écrans larges */

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .actions { display: none; }
  .entete nav { display: flex; }
  .entete .bloc { height: 64px; }
  .onglets { top: 64px; }
  .onglet { scroll-margin-top: 120px; }
  html { scroll-padding-top: 80px; }
  .marque { font-size: 25px; }

  .photos { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
  .menu-court { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }

  .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .venir { margin-top: 0; }
  .onglet-sections { columns: 2; column-gap: 56px; }
  .section-carte:first-child { margin-top: 12px; }
}

/* Premier écran côte à côte sur ordinateur */
@media (min-width: 900px) {
  .une { padding: 48px 0 64px; }
  .une-grille {
    display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center;
    min-height: min(calc(100vh - 64px - 112px), 640px);
  }
  .une h1 { font-size: clamp(64px, 6.6vw, 92px); }
  .accroche { font-size: 21px; }
  .une-photos {
    margin-top: 0; height: min(66vh, 580px);
    grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr;
    grid-template-areas: "salle facade" "salle biere";
  }
  .une-photos img { aspect-ratio: auto; }
  .ph-salle { object-position: 42% 60%; }
}
