/* The Momo Station: tema e páginas. O motor (scrollcraft.css/js) não se edita. */
:root {
  --sc-canvas: #F4F0E8;      /* branco quente das paredes */
  --sc-surface: #FFFFFF;
  --sc-ink: #141311;         /* preto da placa */
  --sc-ink-soft: #5E5850;
  --sc-accent: #B3301D;      /* vermelho do chilli momo */
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Inter", system-ui, sans-serif;

  --ochre: #C9934A;
  --sign: #141311;
  --sign-ink: #F4F0E8;
  --f-blue: #2F5DA8; --f-white: #F7F5EF; --f-red: #C23A26; --f-green: #3F8A4B; --f-yellow: #E3B53B;
  --bar-h: 64px;
}

html { scroll-padding-top: calc(var(--bar-h) + 24px); }
body {
  background: var(--sc-canvas); color: var(--sc-ink);
  font-family: var(--sc-font-text); font-size: var(--sc-t-base); line-height: 1.55;
  margin: 0;
}
h1, h2, h3 { font-family: var(--sc-font-display); font-stretch: 82%; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }

/* ---------------------------------------------------------------- barra -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: color-mix(in oklab, var(--sc-canvas) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sc-hairline);
}
.bar::before { /* cobre a barra translúcida do iPhone */
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100lvh; background: var(--sc-canvas);
}
.bar__mark {
  align-self: center; text-decoration: none; font-family: var(--sc-font-display);
  font-weight: 800; font-stretch: 78%; font-size: 1.05rem; letter-spacing: 0.02em; white-space: nowrap;
}
.bar__mark span, .sign__word span, .foot__mark span { color: var(--sc-accent); }
.bar__lang {
  align-self: center; min-width: 44px; min-height: 40px; border: 1px solid var(--sc-hairline-strong);
  background: transparent; color: var(--sc-ink); font: 600 0.85rem/1 var(--sc-font-text); letter-spacing: .06em; cursor: pointer; border-radius: 4px;
}
.bar__lang:hover { background: var(--sc-surface); }

/* --------------------------------------- a fiada de bandeiras (assinatura) -- */
.prayer {
  position: relative; display: flex; justify-content: space-around; align-items: flex-start;
  height: var(--bar-h); max-width: 720px; width: 100%; justify-self: center;
  padding-top: 10px;
}
.prayer__string { position: absolute; left: 0; top: 6px; width: 100%; height: 14px; overflow: visible; }
.prayer__string path { fill: none; stroke: var(--sc-ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: d .9s cubic-bezier(.2,.7,.2,1); }
.prayer.is-complete .prayer__string path { d: path("M0 2 Q50 4 100 2"); }
.flag {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: clamp(58px, 11vw, 104px); height: 40px; margin-top: 2px;
  text-decoration: none; font: 600 0.72rem/1 var(--sc-font-text); letter-spacing: .04em; text-transform: uppercase;
  transform-origin: 50% 0; transform: scaleY(.32) rotate(-2deg); opacity: .5;
  transition: transform .7s cubic-bezier(.2,.8,.2,1.15), opacity .5s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.flag span { opacity: 0; transition: opacity .3s .25s; }
.flag:nth-child(odd) { margin-top: 4px; }
.flag.is-up { transform: none; opacity: 1; }
.flag.is-up span { opacity: 1; }
.flag.is-here { box-shadow: 0 2px 0 var(--sc-ink); }
.flag:hover { opacity: 1; }
.flag--blue   { background: var(--f-blue);   color: #fff; }
.flag--white  { background: var(--f-white);  color: var(--sc-ink); outline: 1px solid var(--sc-hairline-strong); outline-offset: -1px; }
.flag--red    { background: var(--f-red);    color: #fff; }
.flag--green  { background: var(--f-green);  color: #fff; }
.flag--yellow { background: var(--f-yellow); color: var(--sc-ink); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative; min-height: 100svh; padding-top: var(--bar-h);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden;
}
.hero__photo { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: calc(100% + 120px); object-fit: cover; object-position: 50% 45%; }
.hero__sign { grid-column: 1; grid-row: 1; z-index: 2; display: flex; align-items: center; padding: clamp(24px, 4vw, 56px); padding-right: 0; }
.sign {
  background: var(--sign); color: var(--sign-ink); width: calc(100% + clamp(40px, 6vw, 96px));
  padding: clamp(28px, 4vw, 56px); box-shadow: 0 30px 60px -30px rgba(20,19,17,.55);
}
.sign__word {
  margin: 0 0 clamp(20px, 3vw, 36px); font-family: var(--sc-font-display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .86; letter-spacing: -.01em;
}
.sign__h1 { font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 2rem); max-width: 22ch; }
.sign__sub { margin: 14px 0 0; color: color-mix(in oklab, var(--sign-ink) 78%, var(--sign)); max-width: 40ch; }
.sign__proof { margin: 22px 0 0; font-size: .95rem; color: color-mix(in oklab, var(--sign-ink) 78%, var(--sign)); }
.sign__proof strong { color: var(--sign-ink); font-family: var(--sc-font-display); font-size: 1.25rem; margin-right: 4px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.act {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px;
  border: 1px solid color-mix(in oklab, currentColor 45%, transparent); border-radius: 4px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.act:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
.act--main { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.act--main:hover { background: #962515; }

/* -------------------------------------------------------- cinco maneiras -- */
.ways__stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: calc(var(--bar-h) + 24px) clamp(16px, 5vw, 72px) 32px; box-sizing: border-box; }
.ways__pics { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sign); }
.ways__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ways__h { font-size: var(--sc-t-3xl); font-weight: 800; max-width: 12ch; margin-bottom: 28px; }
.ways__list { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.ways__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--sc-hairline-strong);
  font-size: var(--sc-t-lg);
}
.ways__list li:last-child { border-bottom: 1px solid var(--sc-hairline-strong); }
.ways__list b { font-weight: 600; }
.ways__list i, .dishes i { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.ways__note { margin: 14px 0 0; color: var(--sc-ink-soft); font-size: .95rem; }
.ways__all { margin: 22px 0 0; padding-left: 14px; border-left: 3px solid var(--ochre); max-width: 44ch; }

/* ----------------------------------------------------------------- carta -- */
.menu { padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 72px) clamp(60px, 8vw, 120px); max-width: 1180px; margin: 0 auto; }
.menu__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.menu__head h2 { font-size: var(--sc-t-4xl); font-weight: 900; font-stretch: 75%; line-height: .9; }
.menu__head p { margin: 0; color: var(--sc-ink-soft); max-width: 40ch; justify-self: end; }
.chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); padding: clamp(32px, 4vw, 56px) 0; border-top: 2px solid var(--sc-ink); }
.chapter__h { font-size: var(--sc-t-xl); font-weight: 800; display: flex; gap: 12px; align-items: flex-start; }
.chapter__flag { flex: none; width: 18px; height: 24px; margin-top: 4px; }
.chapter__flag.flag--white { outline: 1px solid var(--sc-hairline-strong); }
.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--sc-hairline); }
.dishes li:first-child { padding-top: 0; }
.dishes b { display: block; font-weight: 600; font-size: 1.06rem; }
.dishes small { display: block; margin-top: 2px; color: var(--sc-ink-soft); font-size: .9rem; }
.dishes__star b { color: var(--sc-accent); }
.chapter--pic { grid-template-columns: 220px minmax(0, 1fr) minmax(0, .8fr); }
.chapter__fig { margin: 0; align-self: start; }
.chapter__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------------------------------------------------- vozes (pan) -- */
.voices [data-sc-stage] { display: flex; align-items: center; }
.rail { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: calc(var(--bar-h) + 20px) clamp(16px, 5vw, 72px) 20px; width: max-content; }
.rail__lead { width: min(78vw, 400px); flex: none; }
.rail__lead h2 { font-size: var(--sc-t-3xl); font-weight: 800; }
.rail__scores { display: flex; gap: 24px; margin: 24px 0 0; color: var(--sc-ink-soft); }
.rail__scores b { display: block; font-family: var(--sc-font-display); font-size: var(--sc-t-2xl); color: var(--sc-ink); line-height: 1; }
.rail__chef { margin: 0; flex: none; width: min(70vw, 340px); }
.rail__chef img { width: 100%; height: min(62svh, 520px); object-fit: cover; }
.rail__chef figcaption { margin-top: 12px; font-weight: 600; }
.quote { flex: none; margin: 0; width: min(78vw, 380px); min-height: min(52svh, 380px); padding: 32px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; background: var(--sc-surface); border-top: 4px solid var(--ochre); }
.quote p { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-xl); line-height: 1.15; }
.quote footer { color: var(--sc-ink-soft); font-size: .9rem; margin-top: 24px; }
.quote--dark { background: var(--sign); color: var(--sign-ink); border-top-color: var(--sc-accent); }
.quote--dark footer { color: color-mix(in oklab, var(--sign-ink) 70%, var(--sign)); }

/* ---------------------------------------------------------------- visitar -- */
.visit { background: var(--sign); color: var(--sign-ink); padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 72px) 0; }
.visit__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.visit h2 { font-size: var(--sc-t-3xl); font-weight: 800; max-width: 14ch; }
.visit address { font-style: normal; margin-top: 28px; font-size: var(--sc-t-lg); }
.visit__park { color: color-mix(in oklab, var(--sign-ink) 72%, var(--sign)); }
.visit h3 { font-size: var(--sc-t-lg); font-weight: 700; margin-bottom: 12px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid color-mix(in oklab, var(--sign-ink) 18%, transparent); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours__now { min-height: 1.5em; margin: 12px 0 0; color: var(--f-yellow); font-weight: 600; }
.takeaway { margin-top: 36px; }
.takeaway p { margin: 0; color: color-mix(in oklab, var(--sign-ink) 78%, var(--sign)); }
.foot { max-width: 1180px; margin: clamp(60px, 8vw, 110px) auto 0; padding: 28px 0 40px; border-top: 1px solid color-mix(in oklab, var(--sign-ink) 18%, transparent); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: color-mix(in oklab, var(--sign-ink) 65%, var(--sign)); font-size: .9rem; }
.foot p { margin: 0; }
.foot__mark { color: var(--sign-ink); font-family: var(--sc-font-display); font-weight: 800; font-stretch: 78%; letter-spacing: .02em; }

/* --------------------------------------------------------- dock (telemóvel) -- */
.dock { display: none; }

@media (max-width: 860px) {
  :root { --bar-h: 104px; }
  .bar { grid-template-columns: 1fr auto; grid-template-rows: 52px 52px; gap: 0 12px; align-items: center; }
  .prayer { grid-column: 1 / -1; grid-row: 2; height: 52px; padding-top: 6px; max-width: none; }
  .prayer__string { top: 2px; }
  .flag { width: 19%; height: 34px; font-size: .66rem; letter-spacing: 0; text-transform: none; font-weight: 600; }

  .hero { grid-template-columns: 1fr; grid-template-rows: 42svh auto; min-height: 0; }
  .hero__photo { grid-column: 1; grid-row: 1; }
  .hero__sign { grid-column: 1; grid-row: 2; padding: 0 16px 32px; margin-top: -48px; }
  .sign { width: 100%; padding: 26px 20px 28px; }
  .sign__word { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .actions .act { flex: 1 1 auto; justify-content: center; }

  .ways__stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 18px; padding: calc(var(--bar-h) + 12px) 16px 84px; }
  .ways__pics { aspect-ratio: auto; height: clamp(110px, 24svh, 230px); }
  .ways__h { font-size: var(--sc-t-2xl); margin-bottom: 12px; }
  .ways__list li { padding: 7px 0; font-size: 1.02rem; }
  .ways__all { margin-top: 12px; font-size: .92rem; }
  .ways__note { margin-top: 8px; font-size: .86rem; }

  .menu { padding-left: 16px; padding-right: 16px; }
  .menu__head { grid-template-columns: 1fr; }
  .menu__head p { justify-self: start; }
  .chapter, .chapter--pic { grid-template-columns: 1fr; }
  .chapter__fig img { aspect-ratio: 16 / 10; }

  .visit { padding-left: 16px; padding-right: 16px; padding-bottom: 72px; }
  .visit__grid { grid-template-columns: 1fr; }
  .actions--close { flex-direction: column; }

  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    background: var(--sign); border-top: 1px solid #000;
  }
  .dock a { display: grid; place-items: center; min-height: 46px; color: var(--sign-ink); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid color-mix(in oklab, var(--sign-ink) 30%, transparent); border-radius: 4px; }
  .dock .dock__main { background: var(--sc-accent); border-color: var(--sc-accent); }
  body { padding-bottom: 64px; }
}

@media (max-width: 860px) and (max-height: 720px) {
  .ways__pics { height: 18svh; }
  .ways__h { font-size: 1.6rem; max-width: none; }
  .ways__list li { padding: 5px 0; font-size: .95rem; }
  .ways__note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .flag, .flag span, .prayer__string path { transition: none; }
}
