/* Caffè Chave d'Ouro: pré-visualização. Cores tiradas das fotografias da casa:
   tampos brancos, cadeiras pretas, pano do bilhar, madeira e creme dos candeeiros, ouro da chave. */

@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --chao: #f6f6f6;
  --painel: #ffffff;
  --tinta: #1b1b1d;
  --tinta-2: #55555a;
  --fio: #d6d6d3;
  --pano: #0e6f6e;
  --madeira: #7b3f1f;
  --ouro: #e8b71d;
  --antracite: #2b2b2b;
  --foco: #0e6f6e;
  --luz-candeeiro: .9;
  --risco: #d0d0cc;
  --titulo: "Bodoni Moda", "Bodoni MT", Didot, Georgia, serif;
  --texto: "Albert Sans", "Segoe UI", Arial, sans-serif;
  --lado: clamp(16px, 4.4vw, 64px);
  --c1: 112px;
  --vao: 20px;
  --muda: .7s;
  color-scheme: light;
}
/* fim de tarde: o creme dos abajures */
:root[data-tema="tarde"] {
  --chao: #f1e7d3;
  --painel: #f9f2e4;
  --tinta-2: #4d483f;
  --fio: #cfc1a5;
  --risco: #b9a98a;
  --pano: #0c6463;
  --luz-candeeiro: 1.05;
}
:root[data-tema="noite"] {
  --chao: #1d1d1f;
  --painel: #29292c;
  --tinta: #f4f3ef;
  --tinta-2: #bab9b4;
  --fio: #434347;
  --risco: #55555a;
  --pano: #62cdc5;
  --madeira: #dba276;
  --foco: #62cdc5;
  --luz-candeeiro: 1.3;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
.sem-muda, .sem-muda *, .sem-muda *::before, .sem-muda *::after { transition: none !important; }
.nw { white-space: nowrap; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--chao);
  color: var(--tinta);
  font: 400 17px/1.55 var(--texto);
  transition: background-color var(--muda) ease, color var(--muda) ease;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(14, 111, 110, .2); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
h2 { font-family: var(--titulo); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; font-variation-settings: "opsz" 26; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.salta { position: absolute; left: 8px; top: -60px; background: var(--ouro); color: #1b1b1d; padding: 10px 14px; z-index: 20; }
.salta:focus { top: 8px; }

/* ---------- topo ---------- */
.topo {
  --foco: #62cdc5;
  background: var(--antracite); color: #f4f3ef;
  display: flex; align-items: center; gap: 28px;
  padding: 10px var(--lado);
}
.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.marca img { width: auto; height: 60px; }
.marca-nome { font: 500 1.35rem/1.1 var(--titulo); font-variation-settings: "opsz" 14; letter-spacing: .01em; }
.marca-nome small { display: block; font: 400 .8rem/1.3 var(--texto); color: #c9c8c3; letter-spacing: 0; margin-top: 3px; }
.menu { display: flex; gap: 26px; font-size: .97rem; }
.menu a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.menu a:hover { border-bottom-color: var(--ouro); }
.ligar { text-decoration: none; background: #f4f3ef; color: #1b1b1d; font-weight: 600; padding: 11px 20px; border-radius: 99px; white-space: nowrap; }
.ligar:hover { background: #fff; }
.riscas {
  height: 12px;
  background: repeating-linear-gradient(90deg, #5d2f17 0 9px, #e9d9b8 9px 13px, #8a5530 13px 31px, #f1e6cd 31px 34px, #3f2012 34px 52px, #c59e6c 52px 58px, #6f3a1d 58px 83px, #e9d9b8 83px 86px);
  filter: brightness(var(--luz-candeeiro));
  transition: filter var(--muda) ease;
}

/* ---------- abertura ---------- */
.abre {
  display: grid; grid-template-columns: minmax(0, 1.15fr) 270px minmax(0, .62fr);
  grid-template-areas: "texto foto relogio" "semana semana semana";
  column-gap: clamp(24px, 3.2vw, 52px); align-items: start;
  padding: clamp(22px, 2.6vw, 38px) var(--lado) clamp(40px, 6vw, 80px);
}
.abre-texto { grid-area: texto; }
h1 { font-family: var(--titulo); font-weight: 500; font-size: clamp(2.6rem, 4.3vw, 4.1rem); line-height: 1; letter-spacing: -.015em; text-wrap: balance; font-variation-settings: "opsz" 40; }
.lead { margin-top: 18px; max-width: 46ch; font-size: 1.1rem; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-top: 18px; }
.bt {
  display: inline-block; text-decoration: none; border: 0;
  background: var(--tinta); color: var(--chao);
  font-weight: 600; padding: 14px 26px; border-radius: 99px;
  transition: background-color var(--muda) ease, color var(--muda) ease, transform .15s ease;
}
.bt:hover { transform: translateY(-2px); }
.bt:active { transform: translateY(0); }
.lk { display: inline-block; font-weight: 600; padding: 12px 0; }
.lk:hover { color: var(--pano); }
.prova { margin-top: 10px; color: var(--tinta-2); font-size: .95rem; max-width: 52ch; transition: color var(--muda) ease; }

.abre-foto { grid-area: foto; }
.abre-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #2b2b2b; transition: opacity .28s ease; }
.abre-foto img.troca { opacity: 0; }
.abre-foto figcaption { margin-top: 8px; font-size: .85rem; color: var(--tinta-2); transition: color var(--muda) ease; }

.relogio { grid-area: relogio; border-left: 1px solid var(--fio); padding: 2px 0 4px clamp(18px, 2.2vw, 34px); min-height: 262px; transition: border-color var(--muda) ease; }
.rel-dia { font-weight: 600; font-size: 1.02rem; }
.rel-hora { font: 500 clamp(4.2rem, 6.9vw, 6.2rem)/.95 var(--titulo); letter-spacing: -.01em; margin: 4px 0 12px -.03em; white-space: nowrap; font-variation-settings: "opsz" 60; }
.rel-hora i { font-style: normal; }
.rel-linha { position: relative; padding-left: 34px; margin-top: 6px; font-size: .98rem; }
.rel-linha::before { content: ""; position: absolute; left: 0; top: .5em; width: 22px; height: 11px; background: var(--pano); transition: background-color var(--muda) ease; }
.rel-linha.coz::before { background: var(--madeira); height: 7px; top: .62em; }
.rel-linha.nao::before { background: none; border: 1px solid var(--tinta-2); }
.rel-agora { min-height: 44px; margin-top: 14px; background: none; border: 1px solid var(--tinta); border-radius: 99px; padding: 9px 18px; font-weight: 600; font-size: .93rem; }
.rel-agora:hover { background: var(--tinta); color: var(--chao); }
.rel-agora:disabled { visibility: hidden; }

/* ---------- horário da semana ---------- */
.semana { grid-area: semana; margin-top: clamp(22px, 2.6vw, 34px); border-top: 2px solid var(--tinta); padding-top: 16px; transition: border-color var(--muda) ease; }
.semana-topo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-bottom: 14px; }
.semana-topo h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); font-variation-settings: "opsz" 18; }
.dica { color: var(--tinta-2); flex: 1 1 320px; transition: color var(--muda) ease; }
html:not(.js) .dica { display: none; }
.legenda { font-size: .93rem; white-space: nowrap; }
.am { display: inline-block; width: 22px; height: 11px; background: var(--pano); margin: 0 6px 0 14px; }
.am.coz { background: var(--madeira); height: 7px; margin-bottom: 2px; }
.am.ag { width: 10px; height: 10px; background: var(--ouro); transform: rotate(45deg); box-shadow: 0 0 0 1px var(--tinta); margin: 0 9px 0 18px; }
.escala { position: relative; height: 24px; margin: 0 0 0 calc(var(--c1) + var(--vao)); font-size: .8rem; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.escala span { position: absolute; left: calc((var(--h) - 8) / 18 * 100%); transform: translateX(-50%); }
.escala:focus-visible { outline-offset: 4px; }
.dias { touch-action: pan-y; user-select: none; -webkit-user-select: none; border-bottom: 1px solid var(--fio); transition: border-color var(--muda) ease; }
.dia {
  display: grid; grid-template-columns: var(--c1) minmax(0, 1fr); column-gap: var(--vao); align-items: center;
  border-top: 1px solid var(--fio); padding: clamp(14px, 2.2vh, 20px) 0 clamp(6px, 1.1vh, 10px);
  transition: background-color .25s ease, border-color var(--muda) ease;
}
.js .dia { cursor: ew-resize; }
.dia h3 { font: 500 1.02rem/1.2 var(--texto); padding-left: 10px; }
.dia.sel { background: var(--painel); }
.dia.sel h3 { font-weight: 700; }
.pista {
  position: relative; height: 36px;
  background-image: linear-gradient(90deg, var(--fio) 1px, transparent 1px);
  background-size: calc(100% / 18) 100%;
  box-shadow: inset -1px 0 0 var(--fio);
}
.b { position: absolute; left: calc((var(--i) - 8) / 18 * 100%); width: calc((var(--f) - var(--i)) / 18 * 100%); transition: background-color var(--muda) ease; }
.b.cafe { top: 3px; height: 17px; background: var(--pano); }
.b.coz { top: 24px; height: 9px; background: var(--madeira); }
.dia.fechado .pista { background-image: repeating-linear-gradient(135deg, var(--risco) 0 1px, transparent 1px 9px); }
.dia.fechado h3, .dia.fechado .txt { color: var(--tinta-2); }
.txt { grid-column: 2; margin-top: 6px; font-size: .88rem; line-height: 1.35; color: var(--tinta-2); }
.js .txt { display: none; }
.cursor { position: absolute; top: -2px; bottom: -2px; left: calc(var(--x) * 100%); width: 2px; margin-left: -1px; background: var(--tinta); pointer-events: none; z-index: 2; }
.cursor::before {
  content: attr(data-h); position: absolute; left: 50%; bottom: 100%;
  transform: translateX(calc(-50% - (var(--x) - .5) * 34px));
  background: var(--tinta); color: var(--chao);
  font: 700 .78rem/1 var(--texto); font-variant-numeric: tabular-nums; padding: 4px 8px; border-radius: 99px; white-space: nowrap;
}
.agora { position: absolute; bottom: -5px; left: calc(var(--x) * 100%); width: 10px; height: 10px; margin-left: -5px; background: var(--ouro); transform: rotate(45deg); pointer-events: none; box-shadow: 0 0 0 1px var(--tinta); z-index: 1; }
.vivo { min-height: 3.1em; margin-top: 14px; font-size: 1.12rem; font-weight: 600; max-width: 70ch; }
html:not(.js) .vivo { display: none; }
.nota { margin-top: 6px; font-size: .88rem; color: var(--tinta-2); max-width: 78ch; transition: color var(--muda) ease; }

/* ---------- a casa ---------- */
.casa { padding: clamp(40px, 6vw, 88px) var(--lado); background: var(--painel); transition: background-color var(--muda) ease; }
.casa-texto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(24px, 4vw, 56px); margin-bottom: clamp(26px, 4vw, 48px); }
.mosaico { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.mosaico li { position: relative; }
.mosaico li:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
.mosaico li:nth-child(6) { grid-area: 1 / 5 / 3 / 7; }
.mosaico button { display: block; width: 100%; padding: 0; border: 0; background: #2b2b2b; overflow: hidden; cursor: zoom-in; }
.mosaico img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mosaico button:hover img { transform: scale(1.04); }
.mosaico p { position: absolute; left: 0; bottom: 0; background: #1b1b1d; color: #f4f3ef; font-size: .82rem; line-height: 1.3; padding: 6px 10px; max-width: 92%; pointer-events: none; }

.oferta { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 20px clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); border-top: 2px solid var(--tinta); padding-top: 22px; align-items: start; transition: border-color var(--muda) ease; }
.oferta h2 { position: sticky; top: 28px; }
.oferta dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.oferta dl div { border-bottom: 1px solid var(--fio); padding: 4px 0 16px; margin-bottom: 14px; transition: border-color var(--muda) ease; }
.oferta dt { font: 600 1.4rem/1.2 var(--titulo); font-variation-settings: "opsz" 12; }
.oferta dd { margin-top: 5px; color: var(--tinta-2); font-size: .97rem; transition: color var(--muda) ease; }

/* ---------- bilhar ---------- */
.bilhar {
  --foco: #62cdc5;
  background: var(--antracite); color: #f4f3ef;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr);
  grid-template-areas: "texto mesa" "botoes mesa" "estado mesa" "ver ver" "factos factos";
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0 clamp(24px, 4vw, 64px); align-items: start;
  padding: clamp(40px, 6vw, 88px) var(--lado);
}
.bilhar-texto { grid-area: texto; }
.como { margin-top: 16px; color: #d0cfca; max-width: 44ch; }
html:not(.js) .como, html:not(.js) .mesa-caixa, html:not(.js) .mesa-botoes, html:not(.js) .ver-tudo, html:not(.js) .mesa-estado { display: none; }
.mesa-caixa { grid-area: mesa; min-width: 0; }
#mesa { display: block; width: 100%; touch-action: none; cursor: crosshair; border-radius: 14px; }
.mesa-botoes { grid-area: botoes; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mesa-botoes button, .ver-tudo button { background: none; border: 1px solid #8b8a86; color: #f4f3ef; border-radius: 99px; padding: 10px 18px; font-weight: 600; font-size: .95rem; min-height: 44px; }
.mesa-botoes button:hover, .ver-tudo button:hover { border-color: #f4f3ef; }
.mesa-botoes .forte { background: var(--ouro); border-color: var(--ouro); color: #1b1b1d; }
.mesa-estado { grid-area: estado; margin-top: 24px; color: #f4f3ef; font: italic 500 1.5rem/1.25 var(--titulo); font-variation-settings: "opsz" 16; max-width: 24ch; }
.mesa-estado:empty { display: none; }
.ver-tudo { grid-area: ver; margin-top: 26px; }
.factos { grid-area: factos; margin-top: 16px; counter-reset: bola; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.factos li { position: relative; display: grid; grid-template-columns: 30px 84px minmax(0, 1fr); column-gap: 14px; align-items: baseline; border-top: 1px solid #474749; padding: 14px 0; min-height: 92px; color: #f4f3ef; }
.factos li::before { counter-increment: bola; content: counter(bola); align-self: start; margin-top: 2px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #8b8a86; font-size: .8rem; font-weight: 700; display: grid; place-items: center; color: #d0cfca; transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
.factos b { font: 600 1.5rem/1.1 var(--titulo); font-variation-settings: "opsz" 14; color: var(--ouro); }
.factos span { font-size: .97rem; }
.factos b, .factos span { transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .factos:not(.tudo) li:not(.dentro) b, .js .factos:not(.tudo) li:not(.dentro) span { opacity: 0; transform: translateY(8px); }
.js .factos:not(.tudo) li:not(.dentro)::after { content: "por descobrir"; position: absolute; left: 44px; top: 15px; color: #c4c2bb; font: italic 500 1.15rem/1.3 var(--titulo); font-variation-settings: "opsz" 14; }
.factos li.dentro::before { background: var(--cor, #f4f3ef); border-color: var(--cor, #f4f3ef); color: var(--num, #1b1b1d); }

/* ---------- avaliações ---------- */
.avaliacoes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px clamp(24px, 5vw, 88px); padding: clamp(40px, 6vw, 88px) var(--lado); align-items: start; }
.nota-g { position: sticky; top: 24px; }
.nota-num { margin-top: 18px; }
.nota-num b { font: 500 clamp(5rem, 10vw, 8.6rem)/.9 var(--titulo); font-variation-settings: "opsz" 60; letter-spacing: -.02em; display: block; }
.nota-num span { display: block; margin-top: 10px; font-weight: 600; }
.barras { margin-top: 22px; max-width: 420px; }
.barras li { display: grid; grid-template-columns: 86px minmax(0, 1fr) 40px; align-items: center; gap: 12px; font-size: .9rem; padding: 4px 0; }
.barras i { display: block; height: 9px; width: max(3px, calc(var(--p) / 792 * 100%)); background: var(--tinta); transition: background-color var(--muda) ease; }
.barras b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fonte { margin-top: 18px; font-size: .88rem; color: var(--tinta-2); transition: color var(--muda) ease; }
.voz { border-top: 1px solid var(--fio); padding: 22px 0 24px; transition: border-color var(--muda) ease; }
.voz:first-child { border-top: 2px solid var(--tinta); }
.voz p { font-size: 1.08rem; max-width: 62ch; overflow-wrap: break-word; }
.voz p + p { margin-top: .7em; }
.voz.grande p { font: italic 500 clamp(1.9rem, 3.6vw, 3.1rem)/1.08 var(--titulo); letter-spacing: -.01em; max-width: 20ch; font-variation-settings: "opsz" 28; }
.voz footer { margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--tinta-2); transition: color var(--muda) ease; }

/* ---------- perguntas ---------- */
.perguntas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px clamp(24px, 5vw, 88px); align-items: start; padding: clamp(40px, 6vw, 88px) var(--lado); background: var(--painel); transition: background-color var(--muda) ease; }
.perguntas h2 { position: sticky; top: 28px; }
.qa { border-top: 1px solid var(--fio); transition: border-color var(--muda) ease; }
.qa:last-child { border-bottom: 1px solid var(--fio); }
.q { display: block; position: relative; cursor: pointer; list-style: none; font: 700 1.1rem/1.3 var(--texto); padding: 18px 44px 18px 0; }
.q::-webkit-details-marker { display: none; }
.q::before, .q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--tinta); transition: transform .25s ease, background-color var(--muda) ease; }
.q::after { transform: rotate(90deg); }
.qa[open] .q::after { transform: rotate(0deg); }
.q:hover { color: var(--pano); }
.r { padding: 0 44px 22px 0; color: var(--tinta-2); max-width: 66ch; transition: color var(--muda) ease; }

/* ---------- onde ---------- */
.onde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 88px); padding: clamp(40px, 6vw, 88px) var(--lado); align-items: start; }
.onde h2 { max-width: 15ch; }
.morada { margin-top: 16px; max-width: 44ch; }
.horas { border-collapse: collapse; width: 100%; font-size: .97rem; }
.horas caption { text-align: left; font: 600 1.4rem/1.2 var(--titulo); font-variation-settings: "opsz" 12; padding-bottom: 10px; }
.horas th, .horas td { text-align: left; padding: 10px 14px 10px 0; border-top: 1px solid var(--fio); vertical-align: top; font-variant-numeric: tabular-nums; white-space: nowrap; transition: border-color var(--muda) ease; }
.horas thead th { font-size: .85rem; color: var(--tinta-2); font-weight: 600; }
.horas tbody th { font-weight: 600; }
.mapa { margin-top: 22px; max-width: 560px; background: var(--painel); border: 1px solid var(--fio); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 20px 22px; transition: background-color var(--muda) ease, border-color var(--muda) ease; }
.mapa-plus { flex: 1 1 100%; font-size: .93rem; }
.mapa-plus b { font-weight: 700; }
.mapa-nota { flex: 1 1 100%; font-size: .85rem; color: var(--tinta-2); }
.mapa.aberto { padding: 0; display: block; }
.mapa iframe { display: block; width: 100%; height: 400px; border: 0; }
.mapa.aberto p { padding: 12px 16px; }

/* ---------- fim ---------- */
.fim { --foco: #62cdc5; background: var(--antracite); color: #d9d8d3; padding: 26px var(--lado) 34px; font-size: .9rem; }
.fim p { max-width: 90ch; }
.fim p + p { margin-top: 8px; }
.fim-aviso { color: #f4f3ef; font-weight: 600; }

/* ---------- fotografia ampliada ---------- */
.luz { --foco: #62cdc5; border: 0; padding: 14px 14px 0; background: #151516; color: #f4f3ef; width: fit-content; max-width: 100vw; max-height: 100dvh; overscroll-behavior: contain; }
.luz::backdrop { background: #0c0c0d; }
.luz img { width: auto; max-width: min(calc(100vw - 28px), 800px); height: auto; max-height: calc(100dvh - 170px); }
.luz-leg { padding: 12px 4px 0; }
.luz-nav { display: flex; align-items: center; gap: 10px; padding: 12px 4px 14px; }
.luz-nav span { margin-right: auto; font-size: .9rem; color: #c9c8c3; order: -1; white-space: nowrap; }
.luz-nav button { background: none; border: 1px solid #8b8a86; color: #f4f3ef; border-radius: 99px; padding: 9px 16px; font-weight: 600; min-height: 44px; }
.luz-nav button:hover { border-color: #f4f3ef; }

/* ---------- ecrãs médios e pequenos ---------- */
@media (max-width: 1100px) {
  .abre { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "texto foto" "texto relogio" "semana semana"; grid-template-rows: auto 1fr auto; }
  .abre-foto { margin-bottom: 18px; }
  .abre-foto img { aspect-ratio: 2 / 1; }
  .relogio { min-height: 0; }
  .menu { display: none; }
}
@media (max-width: 860px) {
  .abre { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texto" "relogio" "semana"; grid-template-rows: auto; }
  .abre-foto { display: none; }
  .relogio { border-left: 0; padding-left: 0; margin-top: 26px; border-top: 1px solid var(--fio); padding-top: 16px; min-height: 0; }
  .relogio { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .rel-dia { grid-area: 1 / 1; }
  .rel-agora { grid-area: 1 / 2; margin-top: 0; }
  .rel-hora, .rel-linha { grid-column: 1 / -1; }
  .casa-texto { grid-template-columns: minmax(0, 1fr); }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mosaico li:nth-child(1), .mosaico li:nth-child(6) { grid-area: auto; grid-column: span 2; }
  .oferta, .perguntas, .avaliacoes, .onde { grid-template-columns: minmax(0, 1fr); }
  .oferta h2, .perguntas h2, .nota-g { position: static; }
  .bilhar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texto" "mesa" "botoes" "estado" "ver" "factos"; grid-template-rows: auto; }
  .mesa-caixa { margin-top: 24px; }
  .mesa-botoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .mesa-estado { margin-top: 18px; font-size: 1.25rem; max-width: none; }
  .factos li { min-height: 104px; }
  .ver-tudo { margin-top: 10px; }
  .factos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  :root { --c1: 70px; --vao: 10px; }
  .topo { gap: 12px; padding: 8px var(--lado); }
  .marca img { height: 46px; }
  .marca-nome { font-size: 1.08rem; }
  .marca-nome small { font-size: .74rem; }
  .ligar { padding: 10px 14px; font-size: .93rem; }
  .ligar-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dia h3 { padding-left: 4px; font-size: .95rem; }
  .vivo { font-size: 1.05rem; min-height: 4.4em; }
  .oferta dl { grid-template-columns: minmax(0, 1fr); }
  .horas { font-size: .9rem; }
  .horas th, .horas td { padding-right: 10px; }
  .mapa iframe { height: 340px; }
}

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