@font-face { font-family: "Blaak"; src: url("../fonts/USBlaak-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Grotesque"; src: url("../fonts/EnglishGrotesque-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Grotesque"; src: url("../fonts/EnglishGrotesque-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --paper: #ffffff;   /* branco do mostrador: toda a pagina */
  --green: #98a898;   /* Pantone 5665 U: moldura e coordenadas */
  --coord: #b4c0b3;
  --ink: #1c1917;     /* titulos: quase preto */
  --dish: #6b6561;    /* nomes dos pratos: cinzento, da hierarquia ao menu */
  --brown: #7b6355;   /* Pantone 4645 U */
  --muted: #9a8b80;
  --edge: clamp(30px, 5vw, 64px);   /* margem onde ficam as coordenadas */
  --bw: clamp(14px, 2.4vw, 24px);   /* espessura da moldura */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: "Grotesque", sans-serif; font-weight: 500; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* barra com o botao "voltar" (fica visivel ao descer a pagina) */
.topbar { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 14px var(--edge) 12px; }
.back { display: inline-block; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: .6em 0; }
.back:hover, .back:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

/* moldura de mapa + coordenadas */
.map { position: relative; max-width: 900px; margin: calc(var(--edge) * .5 + 22px) auto calc(var(--edge) + 8px); width: calc(100% - 2 * var(--edge)); }
.sheet {
  position: relative; isolation: isolate; text-align: center;
  border: solid transparent; border-width: var(--bw);
  border-image: url("../img/map-frame.png") 26 / var(--bw) stretch;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 6vw, 68px) clamp(44px, 7vw, 84px);
}
/* as linhas do mapa ficam esticadas atras do texto, dentro da moldura */
.sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/map-lines.png") center / 100% 100% no-repeat; }
.coords { position: absolute; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .04em; color: var(--coord); font-weight: 500; pointer-events: none; user-select: none; }
.coords.t, .coords.b { left: 10%; right: 10%; }
.coords.t { top: -20px; } .coords.b { bottom: -20px; }
.coords.l, .coords.r { top: 3%; bottom: 3%; flex-direction: column; justify-content: space-between; }
.coords.l { left: -28px; } .coords.r { right: -28px; }

.mono { display: block; width: 36px; height: auto; margin: 0 auto clamp(30px, 4.5vw, 46px); }
.side { display: none; }

section + section { margin-top: clamp(48px, 7vw, 76px); }
h2 { font-family: "Blaak", Georgia, serif; font-weight: 700; text-transform: uppercase; letter-spacing: .3em; margin-right: -.3em; font-size: clamp(16px, 2.3vw, 21px); line-height: 1.35; margin-bottom: clamp(22px, 3.4vw, 34px); }
ul { list-style: none; }

/* pratos: so nome — preco (como no mostrador) */
li { font-size: clamp(14.5px, 1.75vw, 17px); line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; margin-bottom: clamp(11px, 1.6vw, 15px); text-wrap: balance; }
.n { color: var(--dish); }
.p { color: var(--brown); white-space: nowrap; }
.p::before { content: "\00a0\2014\00a0"; color: var(--muted); }
.al { margin-left: .7em; font-size: .68em; letter-spacing: .16em; color: var(--muted); white-space: nowrap; }

/* bebidas: nome + ingredientes */
li.drink { text-transform: none; margin-bottom: clamp(18px, 2.6vw, 24px); }
.drink .line { display: block; text-transform: uppercase; }
.drink .ing { display: block; margin-top: 3px; font-weight: 300; font-size: .94em; letter-spacing: .02em; color: var(--dish); }
.drink .fl { display: block; font-weight: 300; font-size: .86em; letter-spacing: .02em; color: var(--muted); }
.note { max-width: 26em; margin: 8px auto 0; color: var(--brown); font-size: 15px; line-height: 1.5; }

.legend { margin-top: clamp(36px, 5vw, 56px); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.legend + .legend { margin-top: 6px; }

.cta { margin-top: clamp(36px, 5vw, 56px); }
.pill { display: inline-block; padding: 1em 2.4em .95em; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; }
.pill:hover, .pill:focus-visible { background: var(--ink); color: var(--paper); }

@media (min-width: 900px) {
  .mono { position: absolute; top: 40px; left: 44px; margin: 0; }
  .side { display: block; position: absolute; top: 116px; left: 52px; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: .5em; font-size: 12px; color: var(--brown); font-weight: 500; line-height: 1; }
}
@media (max-width: 520px) { .pill { padding: 1em 1.3em .95em; letter-spacing: .12em; font-size: 12px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .pill { transition: none; } }
