/* ===========================================================
   Cartes Bouillon — feuille de style partagée
   (restaurants : Pigalle / République)
   =========================================================== */

@font-face {
  font-family: "Tired";
  src: url("fonts/TiredOfCourier-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tired";
  src: url("fonts/TiredOfCourier-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Point";
  src: url("fonts/Point.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Millie";
  src: url("fonts/Millie-Medium.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --rouge: #d61217;
  --noir: #1a1a1a;
  --papier: #fffdf9;
  --ligne: #ece4d8;
  --tired: "Tired", "Courier New", monospace;
  --point: "Point", "Poppins", sans-serif;
  --script: "Millie", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--noir);
  font-family: var(--tired);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ---------- Bandeau retour ---------- */
.retour {
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: var(--rouge);
  color: #fff;
  font-family: var(--tired);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.retour:hover { background: #b60f14; }

/* ---------- En-tête ---------- */
.carte-header {
  text-align: center;
  padding: 44px 0 18px;
}
.carte-header img.logo {
  width: min(300px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Navigation rapide ---------- */
.nav-rapide {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  background: var(--papier);
  border-bottom: 1px solid var(--ligne);
}
.nav-rapide a {
  font-family: var(--tired);
  font-weight: 700;
  font-size: 13px;
  color: var(--rouge);
  text-decoration: none;
  padding: 6px 13px;
  border: 1.5px solid var(--rouge);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-rapide a:hover,
.nav-rapide a:active { background: var(--rouge); color: #fff; }

/* ---------- Adresses ---------- */
.adresses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 22px 0 10px;
  padding: 16px 10px;
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  font-size: 14.5px;
  text-align: center;
}
.adresses b { color: var(--rouge); display: block; font-size: 14.5px; }

/* ---------- Sections ---------- */
.section-titre {
  font-family: var(--script);
  font-weight: 600;
  color: var(--rouge);
  font-size: clamp(32px, 5.6vw, 42px);
  letter-spacing: 0.02em;
  text-align: center;
  margin: 48px 0 20px;
  scroll-margin-top: 70px;
}
.sous-bloc { scroll-margin-top: 70px; }

.titre-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
  flex-wrap: wrap;
}
.titre-deco .section-titre { margin: 48px 0 20px; }
.titre-deco .deco {
  width: 48px;
  height: auto;
  flex: 0 0 auto;
}
.titre-deco .deco.r1 { transform: rotate(-9deg); }
.titre-deco .deco.r2 { transform: rotate(7deg); }

.mets {
  list-style: none;
  margin: 0 auto 8px;
  padding: 0;
  text-align: center;
  max-width: 720px;
}
.mets li {
  padding: 9px 10px;
  line-height: 1.4;
  font-weight: 700;
}
.mets li .prix {
  font-weight: 700;
  color: var(--rouge);
  white-space: nowrap;
}
.mets li .prix::before {
  content: " - ";
  font-weight: 700;
}
.mets li .desc {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  color: #8a8a8a;
  font-style: italic;
  margin-top: 2px;
}
@media (min-width: 680px) {
  .mets.colonnes { column-count: 2; column-gap: 30px; }
  .mets.colonnes li { break-inside: avoid; }
}

.mets li.speciale {
  font-style: italic;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mets li.speciale .prix { color: var(--rouge); }

/* ---------- Lignes groupées (fidèle à la mise en page du PDF) ---------- */
.mets.lignes { max-width: 1200px; }
.mets.lignes li.ligne {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px 30px;
  padding: 3px 10px;
}
.mets.lignes .plat {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.mets.lignes .plat.note {
  font-size: 13.5px;
  font-weight: 400;
  font-style: italic;
  color: #8a8a8a;
}
.mets.lignes .plat.note .prix {
  font-weight: 400;
  color: #8a8a8a;
}
.mets.lignes li.ligne.speciale .plat {
  font-style: italic;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mets.lignes li.ligne.speciale .plat .prix { color: var(--rouge); }

.vedette {
  margin: 18px auto 0;
  max-width: 640px;
  text-align: center;
  font-weight: 700;
  font-style: italic;
  color: var(--rouge);
  text-transform: uppercase;
  font-size: 14.5px;
  letter-spacing: 0.02em;
}
.vedette::before { content: "✦ "; }
.vedette::after { content: " ✦"; }
.vedette span.prix { margin-left: 6px; }

.sous-bloc {
  margin-top: 22px;
  text-align: center;
}
.sous-bloc h3 {
  font-family: var(--tired);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--rouge);
  margin: 0 0 6px;
}
.sous-bloc h3::after { content: " :"; }
.sous-bloc .note {
  font-size: 13.5px;
  font-style: italic;
  color: #8a8a8a;
  margin: -2px auto 10px;
  max-width: 560px;
}

/* ---------- Tableau boissons ---------- */
.boissons-table-wrap { overflow-x: auto; margin: 10px 0 30px; }
table.boissons {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
table.boissons th, table.boissons td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid var(--ligne);
  white-space: nowrap;
}
table.boissons th:first-child, table.boissons td:first-child {
  text-align: left;
  white-space: normal;
}
table.boissons th {
  font-family: var(--point);
  font-weight: 900;
  color: var(--rouge);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.boissons td:first-child { font-weight: 700; }
table.boissons td.prix { font-weight: 700; color: var(--rouge); }
table.boissons td.vide { color: #ccc; font-weight: 400; }

.vins-grid { display: grid; gap: 22px; margin: 10px 0 30px; }
@media (min-width: 640px) { .vins-grid { grid-template-columns: 1fr 1fr; } }
.vins-grid h3 {
  font-family: var(--point);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rouge);
  margin: 0 0 8px;
}
.vins-grid h3:not(:first-child) { margin-top: 24px; }
.vins-grid .sub-label {
  font-style: italic;
  font-weight: 700;
  color: var(--rouge);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  margin: 10px 0 2px;
}
.vins-grid ul { list-style: none; margin: 0; padding: 0; }
.vins-grid li.ligne {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 2px 24px;
  padding: 3px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}
.vins-grid .plat {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.vins-grid .plat .prix { font-weight: 700; white-space: nowrap; }
.vins-grid .plat .prix::before { content: " - "; font-weight: 700; }
.vins-grid li.vedette-ligne .plat { color: var(--rouge); }
.vins-grid li.vedette-ligne .plat .prix { color: var(--rouge); }

.encart {
  margin: 20px 0;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
  text-align: center;
  font-size: 13.5px;
  color: #6b6b6b;
}
.encart b { color: var(--rouge); font-weight: 700; }
.encart a { color: var(--rouge); text-decoration: none; }
.encart.boxed {
  border: 1px solid var(--rouge);
  border-radius: 6px;
}

.bulles-ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 2px 10px;
  text-align: left;
  margin: 8px 0;
  font-size: 13.5px;
  color: #6b6b6b;
}
.bulles-ligne .label {
  font-family: var(--script);
  font-weight: 600;
  color: var(--rouge);
  font-size: 22px;
}

/* ---------- Pied ---------- */
.carte-footer {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  text-align: center;
  font-size: 12.5px;
  color: #8a8a8a;
}
.carte-footer a { color: var(--rouge); }

