/* ============================================================
   A Pérola do Isaías — design system
   Papel creme, tinta navy, filetes finos. Menu impresso de casa
   boa, não app. Mobile-first 320px a 1440px.
   Escrito pelo agente DESIGN. Os outros agentes consomem estas
   classes; não alterar nomes do contrato.
   ============================================================ */

/* ---------- 1. Variáveis ---------- */
:root {
  --navy: #000C40;
  --navy-2: #0A1A5E;
  --paper: #FAF7F0;
  --paper-2: #F3ECE0;
  --paper-gold: #FBF3E2;
  --white: #FFFFFF;
  --border: #E5DCC9;
  --ink: #1B1A17;
  --ink-2: #56534C;
  --muted: #756F66;          /* 4,65:1 sobre paper, AA */
  --gold: #C8973F;           /* SÓ decorativo, nunca texto sobre claro */
  --gold-ink: #8C682A;       /* 4,75:1 — etiquetas sobre papel */
  --gold-bright: #E0B45C;    /* 9,63:1 sobre navy */
  --green: #3F8F5C;
  --red: #C0503A;

  --leader: #CFC3A9;         /* pontilhado decorativo dos preços */

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-label: "DM Sans", "Inter", -apple-system, sans-serif;

  --header-h: 60px;
  --wrap-max: 1080px;
  --wrap-pad: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(27, 26, 23, 0.05);
  --dur: 160ms;
}

@media (min-width: 720px) {
  :root { --header-h: 72px; }
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a { color: var(--navy); }
a:hover { color: var(--navy-2); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

address { font-style: normal; }

[hidden] { display: none !important; }

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

::selection {
  background: var(--navy);
  color: var(--paper);
}

/* ---------- 3. Utilitários ---------- */
.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

.section {
  padding-block: clamp(40px, 7vw, 72px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 16px;
  font-family: var(--font-label);
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: var(--paper);
}

/* Etiqueta em maiúsculas pequenas espaçadas */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow-onnavy { color: var(--gold-bright); }

/* Filete fino. Serve como <div class="rule"> ou <hr class="rule"> */
.rule {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ---------- 4. Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 240, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(15px, 4.4vw, 19px);
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-right: auto;
}
.brand:hover { color: var(--navy); }

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  align-self: center;
}

.site-nav {
  display: none;
}

.site-nav a {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--navy); }

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Selector de idioma */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  padding: 2px;
  flex: none;
}

.lang-switch .lang-btn {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 5px 9px;
  border-radius: 999px;
  line-height: 1;
}

.lang-switch .lang-btn:hover { color: var(--navy); }

.lang-switch .lang-btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

/* Hambúrguer */
.nav-toggle {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Painel móvel: o mesmo .site-nav, aberto por baixo do cabeçalho */
.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(27, 26, 23, 0.08);
  padding: 8px 0 12px;
}

.nav-open .site-nav a {
  padding: 13px var(--wrap-pad);
  border-bottom: 1px solid var(--paper-2);
  font-size: 13px;
}

.nav-open .site-nav a.is-active,
.nav-open .site-nav a[aria-current="page"] {
  border-bottom-color: var(--paper-2);
  color: var(--navy);
  background: var(--paper-gold);
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 26px);
    margin-right: clamp(14px, 2vw, 26px);
  }
  .nav-toggle { display: none; }
}

/* Ecrãs muito estreitos (320px): apertar o cabeçalho sem o partir */
@media (max-width: 380px) {
  .site-header .wrap { gap: 6px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand-dot { width: 5px; height: 5px; }
  .lang-switch .lang-btn { padding: 5px 6px; font-size: 10px; }
  .nav-toggle { width: 34px; }
  .price-tbd { font-size: 9.5px; padding: 4px 6px; }
}

/* ---------- 5. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: rgba(0, 12, 64, 0.06);
  color: var(--navy);
}

/* ---------- 6. Chips (filtros) ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}

.chip:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Barra de filtros sticky, com scroll horizontal no telemóvel */
.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(250, 247, 240, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.filter-bar .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar .wrap::-webkit-scrollbar { display: none; }

/* ---------- 7. Cartões ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-card);
}

/* ---------- 8. Formulários ---------- */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 12px;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 12, 64, 0.12);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field .field-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }

.field .field-error {
  font-size: 13px;
  color: var(--red);
  margin-top: 5px;
}

/* ---------- 9. Avisos ---------- */
.notice {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.notice a { color: var(--navy); }

.notice-warn {
  background: var(--paper-gold);
  border-color: #DCC28A;
  border-left: 3px solid var(--gold-ink);
  color: var(--ink);
}

/* ---------- 10. Tabela de horários ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.hours-table th,
.hours-table td {
  padding: 9px 4px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.hours-table th {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hours-table td {
  text-align: right;
  font-family: var(--font-serif);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  background: var(--paper-gold);
}

.hours-table tr.is-closed td { color: var(--muted); }

/* Estado aberto/fechado */
.open-status { font-size: 14px; }
.open-status .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--muted);
  vertical-align: baseline;
}
.open-status.is-open .dot { background: var(--green); }
.open-status.is-closed .dot { background: var(--red); }

/* ---------- 11. Ementa: secções ---------- */
.menu-section {
  padding-block: clamp(28px, 5vw, 48px) 4px;
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.menu-section-head {
  margin-bottom: clamp(14px, 3vw, 24px);
}

.menu-section-head .head-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 31px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.005em;
}

/* régua fina a correr até à margem */
.menu-section-head .head-row .rule { flex: 1; }

.section-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ---------- 12. Ementa: linha de prato ---------- */
.menu-list { }

.dish {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}

.menu-list .dish:last-child { border-bottom: 0; }

.dish-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper-2);
}

.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-body { min-width: 0; }

.dish-head {
  display: flex;
  align-items: baseline;
  gap: 2px 10px;
  flex-wrap: wrap; /* em ecrãs estreitos o preço cai para a linha seguinte, alinhado à direita */
}

.dish-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.25;
  color: var(--ink);
}

/* pontilhado entre nome e preço, à moda das ementas impressas */
.dish-lead {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 2px dotted var(--leader);
  transform: translateY(-4px);
}

.dish-price {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
  margin-left: auto;
}

.dish-desc {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 58ch;
}

.dish-meta {
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dish-meta .sep {
  color: var(--muted);
  letter-spacing: 0;
}

/* Prato sem foto: a tipografia carrega a linha, sem caixa vazia.
   Um pequeno ornamento serifado no lugar da imagem dá intenção. */
.dish--nophoto .dish-photo { display: none; }

.dish--nophoto .dish-name::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: 3px;
}

@media (min-width: 560px) {
  .dish {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .dish-photo {
    aspect-ratio: 1 / 1;
    width: 96px;
  }
  .dish--nophoto { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .dish { grid-template-columns: 112px minmax(0, 1fr); }
  .dish-photo { width: 112px; }
  .dish--nophoto { grid-template-columns: 1fr; }
}

/* ---------- 13. Preço por confirmar ----------
   Deliberadamente evidente e feio. Nunca pode passar despercebido
   em produção. Texto ink sobre riscas claras: contraste altíssimo. */
.price-tbd {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: repeating-linear-gradient(
    -45deg,
    #FFE9A8 0px,
    #FFE9A8 7px,
    #FFF7DC 7px,
    #FFF7DC 14px
  );
  border: 1px dashed var(--gold-ink);
  border-radius: 4px;
  padding: 5px 9px;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- 14. Prato em destaque (Costelón) ---------- */
.dish-feature {
  margin-block: 22px;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-2);
  outline: 1px solid rgba(224, 180, 92, 0.45);
  outline-offset: -7px;
  padding: clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 36px);
}

.dish-feature .feature-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.12;
  color: var(--white);
  margin-top: 8px;
}

.dish-feature .feature-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 247, 240, 0.85);
  max-width: 52ch;
}

.feature-stats {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(224, 180, 92, 0.35);
  padding-top: 14px;
}

.feature-stats li {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid rgba(250, 247, 240, 0.2);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-stats li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.feature-stats .stat-value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(19px, 3vw, 24px);
  font-variant-numeric: tabular-nums;
  color: var(--gold-bright);
  line-height: 1.1;
}

.feature-stats .stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.72);
}

.feature-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.feature-price {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.feature-pp {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-bright);
  border-radius: 4px;
  padding: 8px 12px;
  line-height: 1;
}

.feature-note {
  font-size: 13px;
  color: rgba(250, 247, 240, 0.72);
}

@media (min-width: 760px) {
  .dish-feature {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .feature-pricing {
    align-items: flex-end;
    text-align: right;
    border-left: 1px solid rgba(224, 180, 92, 0.35);
    padding-left: clamp(18px, 3vw, 36px);
  }
}

/* ---------- 15. Faixa CTA da ementa ---------- */
.menu-cta {
  margin-block: clamp(36px, 6vw, 64px);
  background: var(--paper-gold);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.menu-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(21px, 3.4vw, 27px);
  color: var(--navy);
}

.menu-cta p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}

.menu-cta .cta-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 16. Cabeça de página (hero pequeno) ---------- */
.page-head {
  padding-block: clamp(32px, 6vw, 60px) clamp(18px, 3vw, 28px);
}

.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  color: var(--navy);
  margin-top: 10px;
}

.page-head .page-intro {
  margin-top: 12px;
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--ink-2);
  max-width: 62ch;
}

.page-head .notice { margin-top: 20px; }

.page-head .head-tools {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- 17. Rodapé ---------- */
.site-footer {
  margin-top: clamp(40px, 8vw, 80px);
  background: var(--navy);
  color: var(--paper);
}

.site-footer a {
  color: var(--paper);
  text-decoration-color: rgba(250, 247, 240, 0.4);
}
.site-footer a:hover { color: var(--gold-bright); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 64px);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--white);
}

.footer-tag {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(250, 247, 240, 0.8);
  max-width: 34ch;
}

.footer-ref {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-h {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.site-footer address,
.site-footer p,
.site-footer li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.88);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.16);
}

.footer-bottom .wrap {
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(250, 247, 240, 0.65);
}

.footer-bottom p { color: rgba(250, 247, 240, 0.65); font-size: 12.5px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-legal a {
  color: rgba(250, 247, 240, 0.65);
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--paper); text-decoration: underline; }

/* ---------- 18. Só para impressão ---------- */
.print-only { display: none; }

/* ---------- 19. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 20. Impressão: ementa de mesa em A4 ----------
   Preto sobre branco, sem navegação, sem fotos, com filetes. */
@media print {
  @page { margin: 14mm; }

  :root { --header-h: 0px; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .filter-bar,
  .site-footer,
  .menu-cta,
  .nav-toggle,
  .lang-switch,
  .btn,
  .skip-link,
  .print-hide {
    display: none !important;
  }

  .print-only { display: block; }

  .print-head {
    text-align: center;
    border-bottom: 1.5pt solid #000;
    padding-bottom: 12pt;
    margin-bottom: 6pt;
  }

  .print-head .print-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 22pt;
    color: #000;
  }

  .print-head .print-sub {
    font-family: var(--font-label);
    font-size: 8pt;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #000;
    margin-top: 4pt;
  }

  .page-head { padding-block: 0; }
  .page-head h1 { display: none; }
  .page-head .eyebrow { display: none; }
  .page-head .page-intro { display: none; }
  .page-head .notice { display: none; }

  .menu-section {
    padding-block: 10pt 0;
    break-inside: auto;
  }

  .menu-section-head { break-after: avoid; margin-bottom: 4pt; }
  .menu-section-head h2 { color: #000; font-size: 15pt; }
  .menu-section-head .rule { background: #000; height: 0.75pt; }
  .section-desc { color: #333; font-size: 9.5pt; }

  .dish {
    grid-template-columns: 1fr !important;
    gap: 2pt;
    padding-block: 7pt;
    border-bottom: 0.5pt solid #999;
    break-inside: avoid;
  }

  .dish-photo { display: none !important; }

  .dish-name { color: #000; font-size: 12pt; }
  .dish-name::before { display: none !important; }
  .dish-lead { border-bottom-color: #777; }
  .dish-price { color: #000; font-size: 12pt; }
  .dish-desc { color: #222; font-size: 9.5pt; max-width: none; }
  .dish-meta { color: #444; }
  .dish-meta .sep { color: #444; }

  .price-tbd {
    background: none;
    border: 0.75pt dashed #000;
    color: #000;
  }

  .dish-feature {
    background: #fff;
    color: #000;
    border: 1.5pt solid #000;
    outline: 0.5pt solid #000;
    outline-offset: -4pt;
    border-radius: 0;
    break-inside: avoid;
    grid-template-columns: 1fr;
    gap: 8pt;
    padding: 14pt;
    margin-block: 10pt;
  }

  .dish-feature .eyebrow-onnavy,
  .dish-feature .feature-name,
  .dish-feature .feature-desc,
  .feature-stats .stat-value,
  .feature-stats .stat-label,
  .feature-price,
  .feature-note {
    color: #000;
  }

  .feature-stats { border-top-color: #000; }
  .feature-stats li { border-right-color: #999; }

  .feature-pp {
    background: none;
    border: 1pt solid #000;
    color: #000;
  }

  .feature-pricing {
    border-left: 0;
    padding-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  /* imprimir sempre a carta toda, mesmo com um filtro activo */
  .menu-section[hidden] { display: block !important; }

  a { color: #000; text-decoration: none; }
}

/* ─────────────────────────────────────────────────────────────
   Vitrina da ementa
   Cinco pratos fotografados, sessenta na carta. Em vez de espalhar
   as miniaturas por uma lista que fica aos soluços, as fotografias
   sobem para aqui e a carta abaixo é lista tipográfica limpa.
   ───────────────────────────────────────────────────────────── */
.vitrina { margin-block: 8px 32px; }
.vitrina .section-desc { margin-bottom: 16px; }

.vitrina-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.vitrina-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.vitrina-foto {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper-2);
}
.vitrina-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.vitrina-item a:hover .vitrina-foto img,
.vitrina-item a:focus-visible .vitrina-foto img { transform: scale(1.04); }
.vitrina-item a:focus-visible .vitrina-foto { outline: 2px solid var(--gold); outline-offset: 2px; }

.vitrina-nome {
  display: block;
  margin-top: 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--navy);
}
.vitrina-preco {
  display: block;
  margin-top: 2px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-ink, #8C682A);
}

@media (max-width: 560px) {
  .vitrina-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vitrina-nome { font-size: .92rem; }
}

/* ─────────────────────────────────────────────────────────────
   Barra de secções da ementa: navegação, não filtro
   Clicar salta para a secção; o scroll acende o chip da secção
   em que se está. Os chips são <a> para continuarem a funcionar
   com teclado, com o link partilhado e sem JavaScript.
   ───────────────────────────────────────────────────────────── */
a.chip { text-decoration: none; }
.chip[aria-current="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.chip-ic {
  font-size: 14px;
  line-height: 1;
  /* as bandeiras vêm em pares (🇻🇪🇵🇪): não deixar quebrar linha */
  white-space: nowrap;
  letter-spacing: -0.06em;
}
@media (prefers-reduced-motion: reduce) {
  .filter-bar .wrap { scroll-behavior: auto; }
}
