/* Falcão do Ilhéu concept site: an old Câmara de Lobos street dressed in azulejo. Only cobalt and glazed white (
   26 Oct: yellow wall, red band and basalt were off theme). Type: Libre Caslon (timeless roman) + Public Sans. */
:root {
  --cobalt: #1d3a8f; --cobalt-d: #13286a; --cobalt-l: #e3e8f6; --glaze: #f7f8fb; --white: #fff;
  --wall: #e3e8f6; --wall-d: #c9d3ec; --green: #1d3a8f; --basalt: #13286a; --terra: #1d3a8f;
  --ink: #172033; --muted: #5b6377; --line: #d6dbe8;
  --disp: "Libre Caslon Display", Georgia, serif; --text: "Libre Caslon Text", Georgia, serif;
  --body: "Public Sans", system-ui, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --head: 78px;
  --diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Crect width='88' height='88' fill='%23f7f8fb'/%3E%3Cpath d='M0 .5h88M.5 0v88' stroke='%23dfe3ec' stroke-width='1'/%3E%3Cpath d='M0 -9L9 0 0 9 -9 0zM88 -9L97 0 88 9 79 0zM0 79L9 88 0 97 -9 88zM88 79L97 88 88 97 79 88z' fill='%231d3a8f'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--glaze); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 1.08; margin: 0; color: var(--cobalt); letter-spacing: 0; }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
p { margin: 0 0 var(--s4); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
html[data-lang="pt"] [lang="en"], html[data-lang="en"] [lang="pt"] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cobalt); color: #fff; padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }

/* the azulejo border: a row of hand-painted acanthus tiles */
.azul-strip { height: 56px; background: url("img/tile-strip.webp") 0 0 / 56px 56px repeat-x, var(--cobalt);
  border-top: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 2px;
  font: 600 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-d); }
.btn-line { border-color: var(--cobalt); color: var(--cobalt); background: #fff; }
.btn-line:hover { background: var(--cobalt-l); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 40; height: var(--head); display: flex; align-items: center; gap: var(--s6);
  padding: 0 clamp(16px, 3vw, 40px); background: rgba(247,248,251,.97); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 52px; height: auto; }
.brand-word { font: 400 25px/1 var(--disp); color: var(--cobalt); display: flex; flex-direction: column; gap: 4px; }
.brand-word small { font: 600 10.5px/1 var(--body); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.top-nav { display: flex; gap: var(--s5); margin-left: auto; }
.top-nav a { font: 500 15px var(--body); color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.top-end { display: flex; align-items: center; gap: var(--s3); }
.lang { font: 600 13px var(--body); color: var(--cobalt); background: none; border: 1.5px solid var(--cobalt); border-radius: 2px; height: 42px; width: 48px; cursor: pointer; }

/* 1. hero */
.hero { position: relative; min-height: max(640px, calc(100svh - var(--head) - 62px)); display: flex; align-items: center; overflow: hidden; background: var(--basalt); }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.placa-rua { position: absolute; top: 28px; right: clamp(16px, 4vw, 56px); z-index: 2; padding: 10px 22px 12px; text-align: center;
  background: repeating-linear-gradient(90deg, transparent 0 63px, rgba(29,58,143,.18) 63px 64px), #fbfbf8;
  border: 4px solid var(--cobalt); outline: 1.5px solid var(--cobalt); outline-offset: -9px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); color: var(--cobalt); }
.placa-rua span { display: block; font: 600 11px/1.2 var(--body); letter-spacing: .3em; }
.placa-rua b { display: block; font: 400 22px/1.15 var(--disp); letter-spacing: .06em; }
.painel { position: relative; z-index: 2; margin: var(--s7) 0 var(--s7) clamp(16px, 5vw, 80px); width: min(470px, calc(100% - 32px));
  background: #fbfbf8; padding: 10px; border: 2px solid var(--cobalt); box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); }
.painel-in { border: 6px solid var(--cobalt); outline: 1.5px solid var(--cobalt); outline-offset: 5px; padding: var(--s6) var(--s6) var(--s5);
  background: radial-gradient(circle at 0 0, var(--cobalt) 0 9px, transparent 10px), radial-gradient(circle at 100% 0, var(--cobalt) 0 9px, transparent 10px),
    radial-gradient(circle at 0 100%, var(--cobalt) 0 9px, transparent 10px), radial-gradient(circle at 100% 100%, var(--cobalt) 0 9px, transparent 10px), #fbfbf8;
  text-align: center; }
.painel-mark { width: 76px; margin: 0 auto 6px; }
.painel-word { font: 400 36px/1 var(--disp); color: var(--cobalt); margin: 0 0 var(--s3); }
.painel h1 { font: 400 19px/1.35 var(--text); color: var(--ink); margin: 0 auto var(--s4); max-width: 30ch; }
.painel-open { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 var(--s4); padding: 6px 12px; background: var(--cobalt-l); }
.painel-open b { font-weight: 600; color: var(--cobalt); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa1b3; flex: none; }
.is-open .dot { background: #2f9e5b; }
.painel-facts { list-style: none; padding: 0; margin: 0 0 var(--s5); text-align: left; border-top: 1px solid var(--line); }
.painel-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.painel-facts b { font-weight: 600; color: var(--ink); text-align: right; }
.painel-facts a { text-decoration: none; }
.painel-facts a:hover { color: var(--cobalt); text-decoration: underline; }
.painel-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 2. signature dish */
.casa-prato { background: var(--white); padding: var(--s10) 0 var(--s9); }
.cp-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s8); align-items: center; }
.cp-photo { margin: 0; border: 10px solid #fff; outline: 2px solid var(--cobalt); box-shadow: 0 30px 60px -30px rgba(19,40,106,.5); }
.cp-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.num-plaque { display: inline-block; font: 400 15px var(--disp); color: #fff; background: var(--cobalt); padding: 4px 12px; margin-bottom: var(--s4); }
.cp-text h2 { font-size: clamp(44px, 5.4vw, 76px); }
.cp-en { font: italic 400 20px var(--text); color: var(--muted); margin: 6px 0 var(--s5); }
.cp-text > p:not(.cp-en):not(.num-plaque):not(.cp-also) { font-size: 18px; max-width: 46ch; }
.cp-buy { display: flex; align-items: center; gap: var(--s5); margin: var(--s5) 0; flex-wrap: wrap; }
.cp-price { font: 400 40px var(--disp); color: var(--cobalt); }
.cp-also { font-size: 15px; color: var(--muted); }
.cp-also b { color: var(--ink); font-weight: 600; }

/* section heads */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: end; margin-bottom: var(--s7); }
.sec-head p { color: var(--muted); max-width: 52ch; margin: 0; }

/* 3. dish cards */
.pratos { background: var(--diamonds); background-size: 88px 88px; padding: var(--s9) 0; }
.pratos .sec-head { background: var(--glaze); padding: var(--s5) var(--s6); border: 2px solid var(--cobalt); outline: 1.5px solid var(--cobalt); outline-offset: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.card { background: #fff; border: 1px solid #cfd6e8; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(19,40,106,.55); }
.card figure { margin: 0; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: var(--s4) var(--s5) var(--s5); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; flex: 1; }
.card-no { grid-row: 1 / 3; align-self: start; font: 400 15px var(--disp); color: #fff; background: var(--cobalt); min-width: 34px; padding: 4px 6px; text-align: center; margin-top: 2px; }
.card h3 { font: 400 23px/1.15 var(--disp); }
.card-en { font: italic 400 14px/1.4 var(--text); color: var(--muted); margin: 4px 0 0; }
.card-note { grid-column: 2; font-size: 13px; font-weight: 600; color: var(--green); margin: 6px 0 0; }
.card-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px dotted #b9c2da; }
.card-foot b { font: 400 24px var(--disp); color: var(--ink); }
.add { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--cobalt); background: #fff; color: var(--cobalt); font: 400 26px/1 var(--body); cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.add:hover { background: var(--cobalt); color: #fff; }
.add.on { background: var(--cobalt); color: #fff; }
.add.pop { transform: scale(1.18); }

/* 4. the full board */
.ementa { background: var(--cobalt-l); padding: var(--s9) 0; }
.board { width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 112px 1fr 112px; background: #fff; box-shadow: 0 18px 40px -24px rgba(19,40,106,.45); }
.tiles { background: url("img/tile-strip.webp") 0 0 / 112px 112px repeat, var(--cobalt); }
.sheet { padding: var(--s7) clamp(20px, 4vw, 64px) var(--s8); min-width: 0; text-align: center; }
.sheet-mark { width: 64px; margin: 0 auto var(--s3); }
.sheet h2 { font-size: clamp(30px, 3vw, 42px); }
.sheet-note { color: var(--muted); font-size: 15px; margin: var(--s3) auto var(--s5); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tab { font: 600 12.5px/1 var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--cobalt); background: #fff; border: 1.5px solid var(--cobalt); border-radius: 0; padding: 10px 12px; min-height: 40px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--cobalt); color: #fff; }
.filters { display: flex; justify-content: center; gap: 8px; margin: var(--s3) 0 var(--s6); }
.chip { font: 600 13px var(--body); color: var(--green); background: #fff; border: 1.5px solid var(--green); border-radius: 20px; padding: 7px 14px; cursor: pointer; min-height: 36px; }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; }
.msec { margin-bottom: var(--s7); text-align: left; }
.msec[hidden] { display: none; }
.mband { display: table; margin: 0 auto var(--s5); background: var(--cobalt); color: #fff; padding: 9px 22px; font: 600 14px/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.mband i { font-style: italic; font-weight: 400; }
.mnote { text-align: center; font: italic 400 14px var(--text); color: var(--green); margin: -12px 0 var(--s4); }
.mlist { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.mi { display: grid; grid-template-columns: 2.4em 1fr auto; column-gap: 6px; padding: 9px 0; }
.mi[hidden] { display: none; }
.mi .n { font: 600 14px/1.4 var(--body); color: var(--cobalt); }
.mi .pt { font: 600 14.5px/1.4 var(--body); color: var(--cobalt); text-transform: uppercase; letter-spacing: .02em; display: flex; gap: 6px; }
.mi .pt::after { content: ""; flex: 1; border-bottom: 2px dotted rgba(29,58,143,.4); transform: translateY(-5px); min-width: 16px; }
.mi .p { font: 600 14.5px/1.4 var(--body); color: var(--cobalt); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi .en { grid-column: 2 / 4; font: italic 400 13px/1.35 var(--text); color: #4b5a8e; }
.mi .tag { align-self: center; flex: none; font: 700 10px var(--body); color: var(--green); border: 1px solid var(--green); border-radius: 2px; padding: 1px 4px; margin-left: 4px; }
.mempty { text-align: center; color: var(--muted); }

/* 5. 3D tile panel */
.ilheu { position: relative; height: 260vh; background: #e8e6e0; }
.ilheu-stick { position: sticky; top: var(--head); height: calc(100svh - var(--head)); overflow: hidden; }
.ilheu-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ilheu-text { position: absolute; left: clamp(16px, 5vw, 80px); bottom: clamp(24px, 6vh, 64px); width: min(420px, calc(100% - 32px));
  background: rgba(251,251,248,.96); border: 2px solid var(--cobalt); padding: var(--s5) var(--s6); }
.ilheu-text h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: var(--s3); }
.ilheu-text p { margin: 0; color: var(--ink); }

/* 6. the street */
.rua { background: var(--wall); padding: var(--s9) 0; }
.rua h2 { color: var(--cobalt); }
.rua .sec-head p { color: var(--muted); }
.album { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto; gap: var(--s5); }
.album figure { margin: 0; background: #fff; padding: 10px 10px 0; box-shadow: 0 18px 30px -20px rgba(19,40,106,.45); }
.album img { width: 100%; object-fit: cover; }
.album figcaption { font: italic 400 15px/1 var(--text); color: var(--muted); padding: 12px 4px 14px; }
.al-street { grid-row: 1 / 3; }
.al-street img { aspect-ratio: 4/5; height: 100%; }
.al-mural img { aspect-ratio: 3/2; }
.album .al-arch-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.al-arch img { aspect-ratio: 4/5; }
.al-text { background: #fff; border-left: 6px solid var(--green); padding: var(--s5); align-self: start; }
.ticks { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* 7. reviews: postcards */
.dizem { background: var(--cobalt-d); color: #fff; padding: var(--s9) 0; }
.dizem h2 { color: #fff; }
.scores { display: flex; flex-wrap: wrap; gap: var(--s6) var(--s8); margin: 0 0 var(--s7); }
.scores a { text-decoration: none; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; }
.scores b { grid-row: 1 / 3; font: 400 64px/1 var(--disp); }
.scores span { font: 600 17px var(--body); }
.scores small { color: #c3cbe6; font-size: 14px; }
.postais { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.postal { position: relative; margin: 0; background: #fbfbf8; color: var(--ink); padding: var(--s6) calc(var(--s6) + 70px) var(--s5) var(--s6); box-shadow: 0 20px 40px -24px rgba(0,0,0,.7); }
.postal:nth-child(odd) { transform: rotate(-.8deg); } .postal:nth-child(even) { transform: rotate(.7deg); }
.postal::after { content: ""; position: absolute; top: 18px; right: 18px; width: 58px; height: 68px; border: 2px dashed var(--cobalt);
  background: url("img/hawk.svg") center / 38px auto no-repeat, var(--cobalt-l); }
.postal p { font: 400 19px/1.5 var(--text); margin-bottom: var(--s4); }
.postal cite { font: 600 13px var(--body); font-style: normal; color: var(--muted); }
.said { margin-top: var(--s7); color: #c3cbe6; }
.said b { display: inline-block; color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; margin: 4px 4px 0 0; }

/* 8. booking: an old order slip */
.reservar { background: var(--diamonds); background-size: 88px 88px; padding: var(--s9) 0; }
.res-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s8); align-items: start; }
.res-text { background: var(--glaze); padding: var(--s5); border: 2px solid var(--cobalt); }
.res-text h2 { margin-bottom: var(--s4); }
.res-text p { color: var(--muted); }
.res-phone { margin: 0 !important; }
.res-phone a { font: 400 30px var(--disp); color: var(--cobalt); display: block; margin-top: 4px; }
.talao { position: relative; background: #fffef9; color: var(--ink); padding: var(--s6); display: grid; gap: var(--s5);
  box-shadow: 0 24px 50px -28px rgba(19,40,106,.6); border-top: 4px solid var(--cobalt); }
.talao::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 10px;
  background: radial-gradient(circle at 7px -2px, transparent 6px, #fffef9 7px) 0 0 / 14px 10px repeat-x; }
.talao-head { display: flex; justify-content: space-between; align-items: baseline; font: 400 24px var(--disp); color: var(--cobalt); margin: 0; border-bottom: 1px dashed #b9c2da; padding-bottom: var(--s3); }
.talao-no { font: 600 13px var(--body); color: var(--muted); }
.talao .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.talao label > span, .talao legend, .talao-label { display: block; font: 600 12px var(--body); color: var(--cobalt); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.talao input:not([type=radio]) { width: 100%; height: 48px; border: 1.5px solid #b9c2da; border-radius: 2px; padding: 0 12px; font: 16px var(--body); color: var(--ink); background: #fff; }
.talao input:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px rgba(29,58,143,.18); }
.talao input.bad { border-color: #b8322b; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; }
.stepper button { height: 48px; border: 1.5px solid #b9c2da; background: var(--cobalt-l); font: 600 20px var(--body); color: var(--cobalt); cursor: pointer; }
.stepper input { text-align: center; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { min-width: 66px; height: 42px; border: 1.5px solid #b9c2da; background: #fff; border-radius: 2px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots-closed { color: #b8322b; font-weight: 600; margin: 0; }
.zone { display: flex; flex-wrap: wrap; gap: 8px; }
.zone legend { width: 100%; }
.zone label { flex: 1; min-width: 150px; }
.zone input { position: absolute; opacity: 0; }
.zone label > span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1.5px solid #b9c2da; border-radius: 2px; font: 600 14px var(--body); color: var(--ink); text-transform: none; letter-spacing: 0; cursor: pointer; margin: 0; }
.zone input:checked + span { border-color: var(--cobalt); background: var(--cobalt-l); color: var(--cobalt); }
.zone input:focus-visible + span { outline: 3px solid var(--terra); }
.talao-mesa { border: 1px dashed #b9c2da; padding: var(--s4); }
.mesa-list { list-style: none; margin: 0; padding: 0; }
.mesa-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dotted #c8cfe2; font-size: 15px; }
.mesa-list li:last-child { border-bottom: 0; }
.mesa-list .q { display: inline-flex; align-items: center; gap: 6px; }
.mesa-list .q button { width: 28px; height: 28px; border: 1px solid #b9c2da; background: #fff; color: var(--cobalt); cursor: pointer; font-weight: 700; }
.mesa-list .sum { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 70px; text-align: right; }
.mesa-total { display: flex; justify-content: space-between; font-weight: 700; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.mesa-empty { margin: 0; color: var(--muted); font-size: 14px; }
.err { color: #b8322b; font-weight: 600; margin: 0; }
.demo-note { margin: -8px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.res-done { border: 2px solid var(--green); padding: var(--s4); color: var(--green); font-weight: 600; }

/* 9. map */
.chegar { background: var(--white); padding: var(--s9) 0; }
.chegar-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s8); align-items: start; }
.chegar-text h2 { margin-bottom: var(--s4); }
address { font-style: normal; font: 400 21px/1.4 var(--text); color: var(--ink); margin-bottom: var(--s5); }
.walk { list-style: none; padding: 0; margin: 0; }
.walk li { display: grid; grid-template-columns: 76px 1fr; padding: 10px 0; border-top: 1px solid var(--line); }
.walk b { font: 400 18px var(--disp); color: var(--cobalt); }
.map-box { position: relative; aspect-ratio: 4/3; border: 10px solid #fff; outline: 2px solid var(--cobalt); background: var(--cobalt-l); overflow: hidden; }
.map-stub { position: absolute; inset: 0; display: grid; place-items: center; background: var(--diamonds); background-size: 88px 88px; }
.gdi-map-canvas { position: absolute; inset: 0; z-index: 1; }
.gdi-map-canvas .leaflet-control-zoom { border: 0 !important; box-shadow: 0 4px 14px rgba(0,0,0,.2) !important; margin: 14px 14px 0 0 !important; }
.gdi-map-canvas .leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; color: var(--cobalt) !important; border-radius: 0 !important; }
.gdi-map-canvas .leaflet-control-attribution { font-size: 10px !important; background: rgba(255,255,255,.7) !important; }
.gdi-pin { position: relative; width: 40px; height: 40px; }
.gdi-pin-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(29,58,143,.3); animation: pulse 2.2s ease-out infinite; }
.gdi-pin-dot { position: absolute; inset: 8px; border-radius: 50%; background: var(--cobalt); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.gdi-pin-card { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); white-space: nowrap; background: #fbfbf8; border: 2px solid var(--cobalt);
  padding: 6px 12px; font: 400 16px/1.2 var(--disp); color: var(--cobalt); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.gdi-pin-card small { display: block; font: 600 11px var(--body); color: var(--muted); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.gdi-map-btn { position: absolute; left: 14px; bottom: 14px; z-index: 1000; display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px;
  background: var(--cobalt); color: #fff; font: 600 13px var(--body); text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.gdi-map-btn:hover { background: var(--cobalt-d); }

/* 10. faq */
.faq { background: var(--glaze); padding: var(--s9) 0; }
.faq-in { max-width: 820px; }
.faq h2 { margin-bottom: var(--s5); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 400 21px/1.3 var(--text); color: var(--cobalt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 30px var(--disp); color: var(--cobalt); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: #3b4256; max-width: 68ch; }

/* footer */
.foot { background: var(--cobalt-d); color: #dfe5f5; padding: var(--s8) 0 var(--s5); }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s6); align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 62px; }
.foot-brand p { font: 400 26px/1 var(--disp); color: #fff; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.foot-brand small { font: 600 10.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: #b7c2e3; }
.foot b { font: 600 12px var(--body); color: #fff; text-transform: uppercase; letter-spacing: .1em; }
.foot p { margin: 8px 0 0; font-size: 15px; }
.foot a { color: #fff; }
.foot-note { margin: var(--s7) auto 0 !important; font-size: 13px; color: #9fadd8; }

/* the table bar */
.mesa-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 14px;
  background: var(--cobalt); color: #fff; text-decoration: none; padding: 10px 10px 10px 12px; box-shadow: 0 14px 30px -10px rgba(19,40,106,.7); }
.mesa-bar[hidden] { display: none; }
.mb-count { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--cobalt); font-weight: 700; }
.mb-label { font-weight: 600; }
.mb-total { font: 400 20px var(--disp); }
.mb-go { background: #fff; color: var(--cobalt); font-weight: 700; padding: 9px 14px; }

/* responsive */
@media (max-width: 1020px) {
  .board { grid-template-columns: 64px 1fr 64px; }
  .tiles { background-size: 64px 64px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sec-head { grid-template-columns: 1fr; gap: var(--s3); }
}
@media (max-width: 860px) {
  :root { --head: 64px; }
  body { font-size: 16px; }
  .azul-strip { height: 36px; background-size: 36px 36px, auto; }
  .top { gap: var(--s3); }
  .brand-mark { width: 40px; }
  .brand-word { font-size: 19px; }
  .brand-word small { font-size: 9px; letter-spacing: .1em; }
  .top-nav { display: none; }
  .top-end { margin-left: auto; }
  .lang { width: 42px; height: 40px; }
  .hero { display: block; min-height: 0; background: var(--glaze); }
  .hero-photo { position: relative; height: 54svh; min-height: 300px; }
  .placa-rua { top: 12px; right: 12px; padding: 6px 12px 8px; border-width: 3px; outline-offset: -7px; }
  .placa-rua span { font-size: 8.5px; } .placa-rua b { font-size: 14px; }
  .painel { margin: -64px 12px 0; width: auto; }
  .painel-in { padding: var(--s5) var(--s4) var(--s4); outline-offset: 3px; }
  .painel-word { font-size: 30px; }
  .painel h1 { font-size: 17px; }
  .painel-cta .btn { flex: 1; padding: 0 12px; }
  .wrap { width: calc(100% - 32px); }
  .casa-prato, .pratos, .ementa, .rua, .dizem, .reservar, .chegar, .faq { padding: var(--s8) 0; }
  .cp-in, .res-in, .chegar-in { grid-template-columns: 1fr; gap: var(--s6); }
  .cp-photo { border-width: 6px; }
  .cards { grid-template-columns: 1fr; }
  .pratos .sec-head { padding: var(--s4); }
  .board { grid-template-columns: 1fr; width: 100%; }
  .tiles { height: 44px; background-size: 44px 44px; }
  .sheet { padding: var(--s6) 14px var(--s7); }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin: 0 -14px; padding-inline: 14px; }
  .tab { flex: none; }
  .mi { grid-template-columns: 2em 1fr auto; border-bottom: 1px dotted rgba(29,58,143,.3); padding: 10px 0; }
  .mi .pt { display: block; font-size: 13.5px; } .mi .pt::after { display: none; }
  .mi .p { font-size: 13.5px; } .mi .en { font-size: 12.5px; }
  .ilheu { height: 200vh; }
  .ilheu-text { padding: var(--s4); bottom: 16px; }
  .album { grid-template-columns: 1fr; }
  .al-street { grid-row: auto; }
  .postais { grid-template-columns: 1fr; }
  .postal { padding: var(--s5) calc(var(--s5) + 56px) var(--s4) var(--s5); }
  .postal::after { width: 44px; height: 52px; background-size: 28px auto, auto; top: 12px; right: 12px; }
  .postal p { font-size: 17px; }
  .scores { gap: var(--s5); } .scores b { font-size: 48px; }
  .talao { padding: var(--s5) var(--s4); }
  .talao .row { grid-template-columns: 1fr; }
  .map-box { aspect-ratio: 1; border-width: 6px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .mesa-bar { left: 12px; right: 12px; transform: none; bottom: 12px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card img, .add { transition: none; }
  .gdi-pin-pulse { animation: none; }
}
body.at-res .mesa-bar { display: none; }
.album { grid-template-columns: 1.05fr .75fr .75fr; grid-template-areas: "street mural mural" "street arch text"; }
.al-street { grid-area: street; } .al-mural { grid-area: mural; } .al-arch { grid-area: arch; } .al-text { grid-area: text; }
@media (max-width: 860px) {
  .album { grid-template-columns: 1fr; grid-template-areas: "street" "mural" "arch" "text"; }
}
/* phones: hours, phone and directions must be on the first screen */
@media (max-width: 860px) {
  .hero-photo { height: 34svh; min-height: 220px; }
  .painel { margin-top: -36px; }
  .painel-mark, .painel-word { display: none; }
  .painel-in { padding: var(--s4) var(--s4) var(--s4); }
  .painel h1 { font-size: 16px; margin-bottom: var(--s3); }
  .painel-open { margin-bottom: var(--s3); font-size: 14px; }
  .painel-facts { margin-bottom: var(--s4); }
  .painel-facts li { padding: 7px 0; font-size: 13.5px; }
  .brand-word small { display: none; }
}
.ilheu-text { top: clamp(20px, 5vh, 48px); bottom: auto; }
@media (max-width: 860px) { .ilheu-text { top: 12px; left: 12px; right: 12px; width: auto; } .ilheu-text h2 { font-size: 26px; } .ilheu-text p { font-size: 14px; } }
/* 3D: text in its own column on the left, the whole tile panel on the right, on the same lime wall as the render */
.ilheu { background: #ebebeb; }
@media (min-width: 861px) {
  .ilheu-canvas { left: 34%; width: 66%; }
  .ilheu-text { top: 50%; transform: translateY(-50%); left: clamp(24px, 4vw, 64px); width: min(26%, 400px); border: 0; border-left: 6px solid var(--cobalt); background: none; padding: 0 0 0 var(--s5); }
  .ilheu-text h2 { font-size: clamp(36px, 3.6vw, 54px); }
  .ilheu-text p { font-size: 18px; }
}
.ilheu-stick { background: linear-gradient(135deg, #f1f1f1, #e2e2e2 55%, #dcdcdc); }
/* flat-lay hero: plate on the right, clean tiles on the left for the panel */
.hero-photo img { object-position: 70% 50%; }
@media (max-width: 860px) { .hero-photo img { object-position: 74% 50%; } }
.placa-inline { position: static; display: inline-block; margin-bottom: var(--s4); box-shadow: 0 6px 14px -8px rgba(19,40,106,.45); }
.rua .sec-head > div:first-child { display: block; }
/* "A nossa história": the 3D panel is the story of the name */
.ilheu-kicker { font: 600 13px var(--body); color: var(--terra); margin: 0 0 var(--s2); }
.ilheu-text p:not(.ilheu-kicker) { margin-bottom: var(--s3); }
.marcos { list-style: none; padding: 0; margin: var(--s4) 0 0; border-top: 1px solid #c9ccd6; }
.marcos li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #c9ccd6; font-size: 15px; line-height: 1.45; }
.marcos b { font: 400 20px/1.2 var(--disp); color: var(--cobalt); }
@media (min-width: 861px) {
  .ilheu-canvas { left: 40%; width: 60%; }
  .ilheu-text { width: min(34%, 480px); }
  .ilheu-text h2 { font-size: clamp(34px, 3.2vw, 48px); margin-bottom: var(--s4); }
  .ilheu-text p:not(.ilheu-kicker) { font-size: 17px; }
}
@media (max-width: 860px) {
  .ilheu { height: 230vh; }
  .ilheu-text { position: relative; top: 0; left: 0; right: 0; margin: 12px; padding: var(--s4); }
  .ilheu-text p:not(.ilheu-kicker) { font-size: 14px; margin-bottom: 8px; }
  .ilheu-text p:nth-of-type(3) { display: none; }
  .marcos li { grid-template-columns: 48px 1fr; padding: 6px 0; font-size: 13px; }
  .marcos b { font-size: 16px; }
  .ilheu-canvas { top: auto; bottom: 0; height: 42%; }
}
.ilheu-text .ilheu-kicker { color: var(--terra); letter-spacing: .04em; }

/* Concept-site note (Re:solve showcase) */
.concept-note { position: fixed; left: 14px; bottom: 14px; z-index: 60; font: 600 11px/1 var(--body); letter-spacing: .06em; color: var(--cobalt);
  background: #fbfbf8; border: 1.5px solid var(--cobalt); border-radius: 2px; padding: 8px 11px; text-decoration: none; opacity: .92; }
.concept-note:hover { opacity: 1; background: var(--cobalt); color: #fff; }
@media (max-width: 700px) { .concept-note { left: 10px; bottom: 10px; font-size: 10px; padding: 7px 9px; }
  body:has(.mesa-bar:not([hidden])) .concept-note { bottom: 84px; } }
