/* ==========================================================
   Ementa Digital — estilos públicos (mobile-first)
   ========================================================== */
:root {
  --primary: #8c2f39;
  --on-primary: #fff;
  --primary-soft: color-mix(in srgb, var(--primary) 10%, #fff);
  --primary-strong: color-mix(in srgb, var(--primary) 82%, #000);
  --bg: #f7f3ee;
  --surface: #ffffff;
  --text: #1d1815;
  --muted: #7a6e64;
  --line: #ebe3d9;
  --chip: #f3ede6;
  --ok: #2f7a4b;
  --ok-soft: #e7f3eb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(40, 25, 15, .05), 0 6px 20px rgba(40, 25, 15, .06);
  --shadow-lg: 0 10px 40px rgba(40, 25, 15, .16);
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hw: 600;            /* peso dos títulos */
  --h-adjust: none;     /* uniformiza a altura das minúsculas entre fontes */
  --h-track: 0;         /* espaçamento entre letras dos títulos */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(72px + var(--safe-b));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-synthesis: none; font-family: var(--font-head); font-weight: var(--hw); line-height: 1.15; margin: 0; letter-spacing: var(--h-track); font-size-adjust: var(--h-adjust); }
p { margin: 0; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.block { margin-top: 32px; }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; }
.empty .ic { width: 40px; height: 40px; opacity: .4; margin-bottom: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-strong); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { background: var(--chip); }
.btn .ic { width: 18px; height: 18px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 999px; border: 0; background: transparent; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--chip); }
.icon-btn.floating {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow);
}
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; text-decoration: none; font-size: .92rem; }
.link .ic { width: 16px; height: 16px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 8px; height: var(--topbar-h); max-width: 1120px; margin: 0 auto; padding: 0 10px 0 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.brand span { font-family: var(--font-head); font-weight: var(--hw); font-size: 1.12rem; font-size-adjust: var(--h-adjust); letter-spacing: var(--h-track); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav { display: none; }

.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
  height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; background: var(--surface);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary .ic { width: 17px; height: 17px; }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; z-index: 40;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.lang-switch li a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-size: .95rem; }
.lang-switch li a:hover { background: var(--chip); }
.lang-switch li a[aria-current] { color: var(--primary); font-weight: 600; background: var(--primary-soft); }

/* ---------- Navegação inferior (telemóvel) ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 6px 4px calc(6px + var(--safe-b));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 2px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 500; border-radius: 12px;
}
.bottomnav a .ic { width: 23px; height: 23px; }
.bottomnav a[aria-current] { color: var(--primary); }
.bottomnav a[aria-current] .ic { stroke-width: 2.2; }

/* ---------- Capa ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--primary) 70%, #fff) 0%, var(--primary) 45%, var(--primary-strong) 100%);
  overflow: hidden;
}
.hero.has-cover { background: #1a1410 var(--cover) center/cover no-repeat; }
.hero.has-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,8,.35) 0%, rgba(15,10,8,.45) 50%, rgba(15,10,8,.78) 100%);
}
.hero-inner { position: relative; padding: 48px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 300px; justify-content: center; }
.hero-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.3); border: 3px solid rgba(255,255,255,.9); }
.hero h1 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); font-weight: var(--hw); letter-spacing: var(--h-track); text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-slogan { font-size: 1.05rem; opacity: .92; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 500;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill:hover { background: rgba(255,255,255,.26); }
.pill .ic { width: 16px; height: 16px; }

/* ---------- Barra de pesquisa e filtros ---------- */
.sticky-tools {
  position: sticky; top: var(--topbar-h); z-index: 20;
  background: var(--bg); margin: 0 -16px; padding: 12px 16px 8px;
}
.toolbar { display: flex; gap: 8px; }
.searchbox {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.searchbox .ic { color: var(--muted); width: 19px; height: 19px; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); }
.searchbox:focus-within { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.btn-filter {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 46px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: .92rem;
}
.btn-filter.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-filter .count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; font-size: .72rem; background: var(--on-primary); color: var(--primary);
}
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; align-items: center; }
.active-filters .af-label { font-size: .78rem; color: var(--muted); font-weight: 500; margin-right: 2px; }
.active-filters button {
  display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 12px;
  border-radius: 999px; border: 0; cursor: pointer; font-size: .8rem; font-weight: 500;
  background: var(--primary-soft); color: var(--primary-strong);
}
.active-filters button .ic { width: 14px; height: 14px; }
.active-filters .af-clear { background: transparent; color: var(--muted); text-decoration: underline; }

/* ---------- Títulos de secção ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 14px; }
.section-head .section-title { margin-bottom: 0; }
.section-title .ic { color: var(--primary); width: 24px; height: 24px; }

/* ---------- Grelha de famílias ---------- */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.family-card {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--primary);
  box-shadow: var(--shadow); isolation: isolate;
  animation: rise .5s both; animation-delay: calc(var(--i, 0) * 40ms);
}
.family-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -1; }
.family-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(12,8,6,.82) 100%);
}
.family-card:hover img { transform: scale(1.06); }
.family-card.no-img { background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 85%, #fff), var(--primary-strong)); }
.family-card.no-img::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%); }
.family-initial {
  position: absolute; right: -6px; top: -18px; z-index: -1;
  font: var(--hw) 7.5rem/1 var(--font-head); opacity: .16; text-transform: uppercase;
}
.family-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.family-name { font: var(--hw) 1.12rem/1.2 var(--font-head); font-size-adjust: var(--h-adjust); letter-spacing: var(--h-track); text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.family-count { font-size: .76rem; opacity: .85; font-weight: 500; }

/* ---------- Página de família ---------- */
.family-hero { padding: 28px 0 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.family-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.family-hero p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.family-hero.has-cover {
  position: relative; color: #fff; border: 0; min-height: 190px; display: flex; align-items: flex-end;
  background: #1a1410 var(--cover) center/cover no-repeat;
}
.family-hero.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(10,7,5,.78)); }
.family-hero.has-cover .wrap { position: relative; }
.family-hero.has-cover p { color: rgba(255,255,255,.88); }
.chef-hero { background: linear-gradient(140deg, var(--primary-soft), var(--surface)); }
.hero-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--primary); color: var(--on-primary); margin-bottom: 12px; }
.hero-icon .ic { width: 28px; height: 28px; }

.scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.scroller::-webkit-scrollbar { display: none; }
.scroller a { scroll-snap-align: start; flex: none; white-space: nowrap; text-decoration: none; }

.family-switch { padding-top: 14px; }
.family-switch a {
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); background: var(--surface);
}
.family-switch a[aria-current] { background: var(--text); color: #fff; border-color: var(--text); }

.sub-chips { margin-top: 10px; }
.sub-chips a {
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--chip); color: var(--text); transition: background .2s, color .2s;
}
.sub-chips a.active { background: var(--primary); color: var(--on-primary); }

.menu-block { margin-top: 18px; scroll-margin-top: calc(var(--topbar-h) + 128px); }
.sub-head { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; }
.sub-head img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex: none; }
.sub-head h2 { font-size: 1.4rem; }
.sub-head p { color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* ---------- Artigos ---------- */
.items { display: grid; grid-template-columns: 1fr; gap: 10px; }
.item {
  display: flex; gap: 14px; align-items: stretch;
  padding: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; text-align: left;
  transition: box-shadow .2s, transform .15s, border-color .2s;
  animation: rise .4s both;
}
.item:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 18%, var(--line)); }
.item:active { transform: scale(.995); }
.item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-name { font-size: 1.06rem; font-weight: var(--hw); font-synthesis: none; }
.item-fam { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.item-desc {
  color: var(--muted); font-size: .88rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 1.02rem; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price.muted { color: var(--muted); font-weight: 500; font-size: .9rem; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 26px; height: 26px; padding: 0 5px; border-radius: 999px;
  background: var(--chip); font-size: .82rem; line-height: 1;
}
.badge.diet { background: var(--ok-soft); color: var(--ok); padding: 0 9px 0 7px; font-size: .74rem; font-weight: 600; }
.badge.diet span { display: none; }
.item-img { flex: none; width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--chip); align-self: flex-start; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.chef-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px; border-radius: 999px; margin-bottom: 2px;
  background: var(--primary-soft); color: var(--primary); font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.chef-tag .ic { width: 14px; height: 14px; }
.item.is-filtered { display: none; }
.section-empty { grid-column: 1 / -1; padding: 18px; text-align: center; color: var(--muted); font-size: .9rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Bloco "Sobre nós" (início) ---------- */
.about-teaser { display: grid; gap: 0; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-teaser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about-teaser > div { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.about-teaser .section-title { margin: 0; }
.about-teaser p { color: var(--muted); }

/* ---------- Página Sobre nós ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .22em;
  color: var(--primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: rgba(255,255,255,.85); }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.ab-hero {
  position: relative; display: flex; align-items: flex-end; color: #fff;
  min-height: min(72vh, 640px); min-height: min(72svh, 640px); padding: 64px 0 48px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 80%, #fff), var(--primary-strong));
}
.ab-hero.has-cover { background: #15100d var(--cover) center/cover no-repeat; }
.ab-hero.has-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,8,6,.25) 0%, rgba(12,8,6,.35) 40%, rgba(12,8,6,.85) 100%);
}
.ab-hero-inner { position: relative; }
.ab-hero h1 { font-size: clamp(3rem, 13vw, 6.5rem); line-height: .95; text-shadow: 0 4px 30px rgba(0,0,0,.3); }
.ab-lead { margin-top: 16px; max-width: 560px; font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.9); }

.ab-section { padding-top: 64px; }
.ab-story { display: grid; gap: 40px; padding-top: 64px; align-items: center; }
.ab-story h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; margin-bottom: 24px; }
.ab-prose p { font-size: 1.04rem; line-height: 1.85; color: #4a3f37; margin-bottom: 1.2em; max-width: 62ch; }
.ab-prose p:first-child { font-size: 1.16rem; color: var(--text); }
.ab-prose p:last-child { margin-bottom: 0; }
.ab-story-img { position: relative; margin: 0 14px 14px 0; }
.ab-story-img::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, transparent); border-radius: 6px;
}
.ab-story-img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }

.ab-values { margin-top: 72px; padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-values-grid { display: grid; gap: 36px; margin-top: 12px; }
.ab-values-grid article { text-align: center; padding: 0 8px; }
.ab-num { display: block; font: var(--hw) 2.6rem/1 var(--font-head); color: var(--primary); letter-spacing: var(--h-track); margin-bottom: 10px; }
.ab-values-grid h3 { font-size: 1.55rem; margin-bottom: 8px; }
.ab-values-grid p { color: var(--muted); line-height: 1.7; max-width: 34ch; margin: 0 auto; }

.ab-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ab-g { padding: 0; border: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 1; background: var(--chip); cursor: zoom-in; }
.ab-g.big { grid-column: span 2; aspect-ratio: 16 / 10; }
.ab-g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; }
.ab-g:hover img { transform: scale(1.05); }

.ab-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 32px 28px; border-radius: 14px; color: var(--on-primary);
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--primary) 75%, #fff) 0%, var(--primary) 45%, var(--primary-strong) 100%);
}
.ab-cta h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1; }
.ab-cta p { margin-top: 8px; opacity: .88; max-width: 52ch; }
.btn.light { background: #fff; color: var(--primary-strong); flex: none; }
.btn.light:hover { background: rgba(255,255,255,.88); }

.ab-visit { margin-top: 72px; padding: 64px 0 56px; background: #1b1613; color: #d8cfc6; }
.ab-visit h2 { color: #fff; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; margin-bottom: 36px; }
.ab-visit-grid { display: grid; gap: 28px; }
.ab-visit-grid > div { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.ab-visit h3 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font: 600 .76rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .18em; color: #fff;
}
.ab-visit h3 .ic { width: 17px; height: 17px; color: color-mix(in srgb, var(--primary) 45%, #fff); }
.ab-visit p { line-height: 1.75; }
.ab-visit a { color: #fff; text-decoration: none; }
.ab-visit a:hover { text-decoration: underline; }
.ab-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .9rem; }
.ab-link .ic { width: 15px; height: 15px; }
.ab-socials { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.ab-socials span { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; margin-right: 6px; }
.ab-socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .2s, border-color .2s; }
.ab-socials a:hover { background: var(--primary); border-color: var(--primary); text-decoration: none; }
.ab-map iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(.35) contrast(1.05); }
.about-page .site-footer { margin-top: 0; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 56px; background: #1b1613; color: #d8cfc6; padding: 36px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 24px; }
.footer-name { font: var(--hw) 1.4rem/1.2 var(--font-head); font-size-adjust: var(--h-adjust); letter-spacing: var(--h-track); color: #fff; margin-bottom: 4px; }
.site-footer .muted { color: #a59a90; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .ic { width: 18px; height: 18px; margin-top: 2px; color: #a59a90; }
.footer-contacts a { text-decoration: none; }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; font-size: .8rem; color: #a59a90; }
.legal p:first-child { display: flex; gap: 8px; align-items: flex-start; }
.legal .ic { width: 16px; height: 16px; margin-top: 1px; }

/* ---------- Diálogos (folha inferior no telemóvel) ---------- */
dialog { padding: 0; border: 0; color: var(--text); }
dialog h2:focus { outline: none; }
dialog::backdrop { background: rgba(20, 14, 10, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet {
  width: 100%; max-width: 100%; max-height: 90vh; max-height: 90dvh;
  margin: auto 0 0; border-radius: 24px 24px 0 0; background: var(--surface);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.sheet[open] { animation: sheet-up .28s cubic-bezier(.2,.8,.2,1); }
.sheet-inner { position: relative; display: flex; flex-direction: column; max-height: 90vh; max-height: 90dvh; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 8px 20px; }
.sheet-head h2 { font-size: 1.3rem; }
.sheet-body { overflow-y: auto; padding: 4px 20px 20px; overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: 10px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--surface); }
.sheet-foot .btn { flex: 1; }
.sheet fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.sheet legend { font-weight: 600; font-size: 1rem; padding: 0; }
.help { color: var(--muted); font-size: .84rem; margin: 2px 0 12px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .9rem; cursor: pointer; transition: all .15s; user-select: none;
}
.chip i { font-style: normal; font-size: 1.05rem; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); }
.disclaimer { display: flex; gap: 8px; align-items: flex-start; margin-top: 20px !important; padding: 12px; border-radius: 12px; background: #fdf6e7; color: #7a5b16; font-size: .82rem; }
.disclaimer .ic { width: 18px; height: 18px; }

.item-dialog-img:empty { display: none; }
.item-dialog-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.item-dialog-body { padding-top: 20px; padding-bottom: calc(24px + var(--safe-b)); }
.item-dialog-body h2 { font-size: 1.6rem; padding-right: 40px; }
.item-dialog-img:not(:empty) + .item-dialog-body h2 { padding-right: 0; }
.item-dialog-body .price { display: block; font-size: 1.3rem; margin-top: 8px; }
.item-dialog-body .d-desc { margin-top: 14px; color: #4a413a; line-height: 1.65; white-space: pre-line; }
.item-dialog-body .d-fam { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.d-group { margin-top: 18px; }
.d-group h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.d-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--chip); font-size: .86rem; }
.d-tags.ok span { background: var(--ok-soft); color: var(--ok); font-weight: 500; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; background: rgba(10,8,6,.95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- Ecrãs maiores ---------- */
@media (min-width: 600px) {
  .family-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .family-card { aspect-ratio: 4 / 3.4; }
  .item-img { width: 116px; height: 116px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .about-teaser { grid-template-columns: 42% 1fr; }
  .about-teaser img { height: 100%; aspect-ratio: auto; }
  .about-teaser > div { padding: 32px; justify-content: center; }
  .sheet { margin: auto; width: 560px; border-radius: 24px; max-height: 86vh; }
  .sheet[open] { animation: pop .22s ease-out; }
  .sheet-foot { padding-bottom: 14px; }
  .item-dialog-body { padding-bottom: 24px; }
  .badge.diet span { display: inline; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottomnav { display: none; }
  .topbar-inner { padding: 0 16px; gap: 12px; }
  .topnav { display: flex; gap: 4px; margin-right: 8px; }
  .topnav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--muted); }
  .topnav a:hover { color: var(--text); background: var(--chip); }
  .topnav a[aria-current] { color: var(--primary); background: var(--primary-soft); }
  .hero-inner { min-height: 420px; }
  .family-grid { grid-template-columns: repeat(4, 1fr); }
  .items { grid-template-columns: 1fr 1fr; gap: 14px; }
  .family-hero { padding: 44px 0 34px; }
  .family-hero.has-cover { min-height: 260px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Sobre nós: ecrãs maiores ---------- */
@media (min-width: 760px) {
  .ab-gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .ab-g.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .ab-gallery.count-1 .ab-g.big { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .ab-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 48px; }
  .ab-visit-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .ab-values-grid.n2 { grid-template-columns: repeat(2, 1fr); }
  .ab-values-grid.n3 { grid-template-columns: repeat(3, 1fr); }
  .ab-values-grid article + article { border-left: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .ab-hero { min-height: min(78vh, 760px); padding-bottom: 72px; }
  .ab-story { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; padding-top: 104px; }
  .ab-story.no-img { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .ab-section { padding-top: 96px; }
  .ab-values { margin-top: 104px; padding: 80px 0; }
  .ab-visit { margin-top: 104px; padding: 88px 0 72px; }
  .ab-map iframe { height: 420px; }
}

/* ---------- A minha lista ---------- */
.foot-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.add-btn {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; padding: 0;
  border-radius: 50%; border: 0; cursor: pointer; background: var(--primary); color: var(--on-primary);
  font: 500 1.35rem/1 var(--font-body); box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 35%, transparent);
  transition: transform .12s, background .2s;
}
.add-btn:hover { background: var(--primary-strong); }
.add-btn:active { transform: scale(.9); }
.stepper {
  display: inline-flex; align-items: center; height: 34px; flex: none;
  border-radius: 999px; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
.stepper button {
  width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer;
  color: var(--primary); font: 600 1.2rem/1 var(--font-body); border-radius: 50%;
}
.stepper button:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.stepper b { min-width: 20px; text-align: center; font-size: .92rem; color: var(--primary-strong); font-variant-numeric: tabular-nums; }
.stepper.big { height: 46px; }
.stepper.big button { width: 46px; height: 44px; font-size: 1.5rem; }
.stepper.big b { min-width: 32px; font-size: 1.1rem; }
.d-cart { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.d-cart .btn.block { width: 100%; min-height: 50px; font-size: 1rem; }
.in-list { font-weight: 600; color: var(--primary); }

.list-bar {
  position: fixed; z-index: 29; left: 50%; transform: translateX(-50%);
  bottom: calc(76px + var(--safe-b)); width: min(520px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-align: left;
  background: var(--text); color: #fff; box-shadow: 0 10px 30px rgba(20, 12, 8, .3);
  animation: rise .3s both;
}
.list-bar.bump { animation: bump .35s; }
.lb-count { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; }
.lb-label { flex: 1; font-weight: 600; }
.lb-total { font-weight: 700; font-variant-numeric: tabular-nums; }
body.has-list { padding-bottom: calc(140px + var(--safe-b)); }
@keyframes bump { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.05); } 100% { transform: translateX(-50%) scale(1); } }

.list-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.list-rows li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lr-name { font-weight: 600; }
.lr-npt, .lr-orig, .lr-qty { display: none; }
.lr-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 70px; text-align: right; }
.list-empty { padding: 28px 8px; text-align: center; color: var(--muted); }
.list-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.list-total { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.list-total span { font-weight: 600; }
.list-total strong { margin-left: auto; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.list-total small { flex-basis: 100%; text-align: right; color: var(--muted); font-size: .8rem; }
.list-total small:empty { display: none; }
.list-actions { display: flex; gap: 10px; }
.list-actions .btn { flex: 1; }
.list-actions .btn[data-list-clear] { flex: 0 0 auto; }
.list-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.lt-waiter { display: none; }

/* Modo «Mostrar ao empregado»: letra grande, nomes em português */
.list-dialog.waiter .lt-edit { display: none; }
.list-dialog.waiter .lt-waiter { display: inline-flex; }
.list-dialog.waiter h2 .lt-waiter { display: inline; }
.list-dialog.waiter .stepper { display: none; }
.list-dialog.waiter .lr-name { display: none; }
.list-dialog.waiter .lr-qty { display: block; font: var(--hw) 1.9rem/1 var(--font-head); color: var(--primary); min-width: 54px; }
.list-dialog.waiter .lr-npt { display: block; font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.list-dialog.waiter .lr-orig { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.list-dialog.waiter .list-rows li { padding: 18px 0; }
.list-dialog.waiter .list-total strong { font-size: 1.7rem; }

@media (min-width: 900px) {
  .list-bar { bottom: 24px; }
  body.has-list { padding-bottom: 96px; }
}
