/* PT7 — «Letreiros de mercado» (protótipo A, escolhido a 18.11.2026). Etiquetas de preço impressas: cartão, papel, pique.
   Prefixo xo- (formulário ul-, aviso de cookies yv-). Cores por papel: pedra = campo; tinta = texto, linhas, ações;
   laranja = só números grandes (≥ 24 px) e a etiqueta «Entra e sai» (branco sobre laranja). */

@font-face {
  font-family: "Mona Sans PT7";
  src: url("/trocos/tipos/mona-sans-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --stone: #eeeeeb;      /* campo — pedra do mercado */
  --slab: #e1e1dd;       /* superfície */
  --ink: #1c1d1f;
  --ink-2: #4f5256;      /* texto secundário, 6.8:1 na pedra */
  --accent: #c2501b;     /* números grandes e «Entra e sai» */
  --paper: #fbfaf6;      /* papel branco da etiqueta */
  --carton: #d6c9ad;     /* cartão cru do letreiro */
  --rule: rgba(28, 29, 31, .16);
  --rule-strong: rgba(28, 29, 31, .38);
  --shadow: drop-shadow(0 6px 10px rgba(28, 29, 31, .16)) drop-shadow(0 1px 1px rgba(28, 29, 31, .18));
  --wrap: 1200px;
  --gut: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --cut: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--ink-2) var(--slab); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: "Mona Sans PT7", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  caret-color: var(--accent);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--slab); }
::-webkit-scrollbar-thumb { background: var(--ink-2); border: 3px solid var(--slab); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.xo-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.xo-sprite { position: absolute; }
.xo-ico { width: 1em; height: 1em; flex: none; }
.xo-colado { white-space: nowrap; }
.xo-wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.xo-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.xo-skip:focus { top: 12px; }

/* ---------------------------------------------------------------- 1 · faixa 18+ (compliance1: crachá com ponto) */
.xo-strip {
  --z: 7px;
  background: var(--ink);
  color: var(--stone);
  padding-bottom: var(--z);
  /* borda inferior dentada — o picotado de uma etiqueta arrancada do bloco */
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.xo-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 9px 7px; }
.xo-strip-text { font-size: 1rem; font-stretch: 85%; font-weight: 640; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.xo-strip-links { display: flex; gap: 20px; font-size: 1rem; }
.xo-strip-links a { display: inline-flex; align-items: center; min-height: 32px; }
.xo-strip a { color: var(--paper); }
.xo-strip :focus-visible { outline-color: var(--paper); }
.xo-badge { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid currentColor; padding: 0 9px; border-radius: 2px; font-stretch: 80%; font-weight: 760; line-height: 1.6; }
.xo-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------------------------------------------------------------- 2 · cabeçalho (Tailark dusk hero-section/one header) */
.xo-header { position: sticky; top: 0; z-index: 30; background: var(--stone); border-bottom: 1px solid var(--rule); }
.xo-nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.xo-brand { display: inline-flex; text-decoration: none; filter: var(--shadow); }
.xo-brand-tag {
  position: relative; display: inline-block; background: var(--paper); padding: 3px 12px 3px 26px;
  font-stretch: 120%; font-weight: 860; font-size: 1.375rem; letter-spacing: .01em; line-height: 1.3;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.xo-brand-tag::before { /* furo do pique */
  content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--stone); box-shadow: inset 0 1px 1px rgba(28, 29, 31, .4);
}
.xo-menu { display: flex; gap: 30px; font-size: 1rem; }
.xo-menu a { text-decoration: none; color: var(--ink-2); padding-block: 6px; }
.xo-menu a:hover { color: var(--ink); text-decoration: underline; }
.xo-menu a[aria-current] { color: var(--ink); font-weight: 640; text-decoration: underline; text-decoration-thickness: 2px; }
.xo-nav-date { font-size: 1rem; color: var(--ink-2); font-stretch: 85%; }
.xo-nav-date time { color: var(--ink); font-weight: 680; }
.xo-burger { display: none; }

@media (min-width: 1024px) {
  .xo-menu { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; }
}
@media (max-width: 1023px) {
  .xo-nav-date { display: none; }
  .xo-js .xo-burger {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .xo-burger-lines { position: relative; width: 22px; height: 14px; }
  .xo-burger-lines span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
  .xo-burger-lines span:first-child { top: 2px; }
  .xo-burger-lines span:last-child { top: 10px; }
  .xo-nav[data-open] .xo-burger-lines span:first-child { top: 6px; transform: rotate(45deg); }
  .xo-nav[data-open] .xo-burger-lines span:last-child { top: 6px; transform: rotate(-45deg); }
  /* sem JS: menu em linha que quebra */
  html:not(.xo-js) .xo-nav-in { flex-wrap: wrap; padding-block: 10px; }
  html:not(.xo-js) .xo-menu { flex-wrap: wrap; gap: 4px 18px; width: 100%; }
  .xo-js .xo-menu { display: none; }
  .xo-js .xo-nav[data-open] .xo-menu {
    display: block; position: fixed; left: 0; right: 0; top: var(--menu-top, 110px); bottom: 0; overflow-y: auto;
    background: var(--stone); padding: 12px var(--gut) 40px; border-top: 1px solid var(--rule);
  }
  .xo-js .xo-nav[data-open] .xo-menu li { border-bottom: 1px solid var(--rule); }
  .xo-js .xo-nav[data-open] .xo-menu a { display: block; padding-block: 14px; font-size: 1.5rem; font-stretch: 90%; font-weight: 620; color: var(--ink); text-decoration: none; }
  html:has(.xo-nav[data-open]) { overflow: hidden; }
}

/* ---------------------------------------------------------------- faixas de prateleira (separadores entre secções) */
.xo-sec { position: relative; padding-block: 80px 88px; }
.xo-sec::before { /* a borda da prateleira: tinta grossa + fio fino */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 11px;
  background: linear-gradient(var(--ink) 0 4px, transparent 4px 8px, var(--rule-strong) 8px 9px, transparent 9px);
}
.xo-sec-head { display: grid; gap: 18px; margin-bottom: 40px; }
.xo-sec h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.625rem);
  font-stretch: 88%; font-weight: 740; line-height: 1.08; letter-spacing: -.015em; max-width: 26ch;
}
.xo-col { max-width: 68ch; color: var(--ink); }

/* ---------------------------------------------------------------- 3 · primeiro ecrã (hero47: texto 2/3, imagem num objeto-moldura) */
.xo-hero { padding-block: 56px 88px; }
.xo-hero-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.xo-hero h1 {
  font-size: clamp(2.125rem, 1rem + 3.3vw, 3.625rem);  /* 56–60 px a 1280 (correção 2 do revisor) */
  font-stretch: 84%; font-weight: 780; line-height: 1; letter-spacing: -.022em;
}
.xo-hero--inner h1 { font-size: clamp(2rem, 1rem + 2.6vw, 3.125rem); max-width: 22ch; }
.xo-h1-mute { color: var(--ink-2); font-weight: 520; }
.xo-lead { margin-top: 26px; max-width: 62ch; font-size: 1.1875rem; line-height: 1.55; }
.xo-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.xo-hero-meta { margin-top: 22px; font-size: 1rem; color: var(--ink-2); max-width: 66ch; }
.xo-hero-meta--pre { margin-top: 24px; margin-bottom: -10px; }

/* migalhas */
.xo-crumbs { margin-bottom: 22px; font-size: 1rem; }
.xo-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; }
.xo-crumbs li { display: inline-flex; align-items: center; color: var(--ink-2); }
.xo-crumbs li + li::before { content: ""; width: 7px; height: 7px; margin-inline: 10px 12px; border-top: 1.5px solid var(--ink-2); border-right: 1.5px solid var(--ink-2); transform: rotate(45deg); }
.xo-crumbs a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 32px; }
.xo-crumbs a:hover { color: var(--ink); }
.xo-crumbs [aria-current] { color: var(--ink); font-weight: 620; }

/* ação — etiqueta com entalhes (Uiverse wang3616359git/hard-pig-94, reduzido a dois entalhes) */
.xo-act, .xo-visit { display: inline-flex; text-decoration: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.xo-act > span, .xo-visit > span:first-child {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 24px;
  background: var(--ink); color: var(--paper);
  font-stretch: 90%; font-weight: 660; font-size: 1.0625rem; line-height: 1.2;
  border-bottom: 3px solid #45484c;
  clip-path: polygon(0 0, 100% 0, 100% 38%, calc(100% - 5px) 38%, calc(100% - 5px) 62%, 100% 62%, 100% 100%, 0 100%, 0 62%, 5px 62%, 5px 38%, 0 38%);
  transition: background-color .15s, transform .05s;
}
.xo-act:hover > span, .xo-visit:hover > span:first-child { background: #33353a; }
.xo-act:active > span, .xo-visit:active > span:first-child { border-bottom-width: 0; margin-top: 3px; }
.xo-act:disabled > span { background: var(--ink-2); cursor: progress; }
.xo-act--line > span { background: var(--paper); color: var(--ink); border-bottom-color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.xo-act--line:hover > span { background: #fff; }
.xo-read { font-weight: 620; font-stretch: 92%; text-decoration-thickness: 1.5px; min-height: 44px; display: inline-flex; align-items: center; }
.xo-visit { outline-offset: 4px; }
.xo-visit .xo-ico { width: 15px; height: 15px; }

/* a etiqueta-moldura da fotografia (a haste do pique fica só aqui e no painel de ajuda) */
.xo-herotag { justify-self: end; width: 100%; max-width: 360px; padding-top: 34px; position: relative; }
.xo-hero--inner .xo-herotag { max-width: 320px; }
.xo-herotag::before { /* o pique: haste de plástico que segura a etiqueta */
  content: ""; position: absolute; left: 50%; top: 0; width: 3px; height: 52px; margin-left: -1.5px;
  background: var(--ink); border-radius: 2px; z-index: 2;
}
.xo-herotag-card { position: relative; display: flow-root; padding-top: 34px; filter: var(--shadow); transform-origin: 50% 20px; animation: xo-hang 1.6s var(--ease) both; }
.xo-herotag-card::before { /* corpo da etiqueta em cartão, cantos cortados */
  content: ""; position: absolute; inset: 0; background: var(--carton);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.xo-herotag-card::after { /* furo */
  content: ""; position: absolute; left: 50%; top: 12px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45);
}
.xo-herotag-photo { position: relative; margin: 0 14px; aspect-ratio: 760 / 665; overflow: hidden; background: var(--slab); }
.xo-herotag-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.xo-herotag-price { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 12px 14px 14px; padding: 8px 14px 14px; background: var(--paper); }
.xo-hp-label { white-space: nowrap; font-size: 1rem; font-stretch: 85%; font-weight: 600; color: var(--ink-2); margin-right: auto; align-self: center; }
.xo-hp-val { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; margin-left: auto; }
.xo-herotag-price b { font-size: 3.25rem; line-height: .9; font-stretch: 75%; font-weight: 820; color: var(--accent); letter-spacing: -.01em; }
.xo-herotag-price small { font-size: 1.125rem; font-stretch: 80%; font-weight: 700; color: var(--ink-2); }
@keyframes xo-hang {
  0% { transform: rotate(-5deg); }
  45% { transform: rotate(2deg); }
  75% { transform: rotate(-.6deg); }
  100% { transform: rotate(0); }
}

/* mini-etiquetas MB WAY / Multibanco (telemóvel: logo a seguir ao H1 e por cima da matriz — correção 3) */
.xo-minis { display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.xo-mini {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 2px; height: 100%; padding: 10px 12px 12px 26px; background: var(--paper);
  text-decoration: none; filter: var(--shadow); clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}
.xo-mini::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 1px 1px rgba(28, 29, 31, .4); }
.xo-mini-name { font-size: 1.0625rem; font-stretch: 78%; font-weight: 800; line-height: 1.15; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.xo-mini-n { display: grid; align-self: end; font-size: 1rem; line-height: 1.35; color: var(--ink-2); font-stretch: 88%; }
.xo-mini-n b { color: var(--ink); font-weight: 800; }
.xo-minis--matrix { margin: 0 0 24px; }

/* ---------------------------------------------------------------- etiquetas de marca (Uiverse Javierrocadev/young-panda-66: furo) */
.xo-mark {
  --hole: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px 3px 22px; border: 1.5px solid var(--ink); border-radius: 2px;
  background: var(--paper); color: var(--ink);
  font-size: 1rem; line-height: 1.35; font-stretch: 82%; font-weight: 640; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.xo-mark::before { /* furo do pique */
  content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--hole); box-shadow: inset 0 0 0 1.5px currentColor;
}
.xo-mark[data-m="es"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.xo-mark[data-m="es"]::before { background: var(--hole); box-shadow: none; }
.xo-mark[data-m="s"] { border-style: dashed; }
.xo-mark[data-m="n"] { background: transparent; border: 1.5px dotted var(--ink-2); color: var(--ink-2); font-weight: 560; }
.xo-mark[data-m="n"]::before { box-shadow: inset 0 0 0 1.5px var(--ink-2); background: transparent; }

/* ---------------------------------------------------------------- 4 · matriz (pricing4: comutador segmentado + colunas → cartões) */
.xo-matrix-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
.xo-matrix-head > div { display: grid; gap: 18px; }
.xo-switch { display: flex; margin: 0; padding: 4px; border: 0; background: var(--slab); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--rule); }
.xo-switch label { position: relative; display: flex; }
.xo-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.xo-switch span {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-size: 1rem; font-stretch: 88%; font-weight: 560; color: var(--ink-2); border-radius: 2px; transition: background-color .15s, color .15s;
}
.xo-switch input:checked + span { background: var(--paper); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(28, 29, 31, .2); }
.xo-switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.xo-switch label:hover span { color: var(--ink); }

.xo-ad { font-size: 1rem; color: var(--ink-2); max-width: 100ch; margin-bottom: 28px; }
.xo-sec-head .xo-ad, .xo-band-head .xo-ad { margin-bottom: 0; }
.xo-ad-label {
  display: inline-block; margin-right: 8px; padding: 0 7px; border: 1px solid var(--ink-2); border-radius: 2px;
  font-size: .875rem; font-stretch: 85%; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); line-height: 1.55;
  vertical-align: 1px;
}

.xo-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin-bottom: 32px; }
.xo-legend > div { display: grid; gap: 8px; align-content: start; justify-items: start; }
.xo-legend dd { font-size: 1rem; color: var(--ink-2); line-height: 1.45; }

.xo-tablewrap { background: var(--paper); filter: var(--shadow); }
.xo-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: lining-nums; }
.xo-table th, .xo-table td { padding: 11px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.xo-table td { white-space: nowrap; }
.xo-table thead th { vertical-align: bottom; padding-top: 22px; padding-bottom: 16px; border-bottom: 0; box-shadow: inset 0 -4px 0 var(--ink); }
.xo-t-corner span { font-size: .875rem; font-stretch: 85%; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.xo-t-op { display: block; font-size: 1.25rem; font-stretch: 80%; font-weight: 780; line-height: 1.1; }
.xo-t-lic { display: block; font-size: .9375rem; color: var(--ink-2); font-stretch: 90%; margin-bottom: 8px; }
.xo-num { display: none; align-items: baseline; gap: 6px; }
.xo-num b { font-size: 2.75rem; line-height: .9; font-stretch: 75%; font-weight: 840; color: var(--accent); }
.xo-num small { font-size: .9375rem; line-height: 1.2; font-stretch: 85%; font-weight: 600; color: var(--ink-2); max-width: 11ch; }
.xo-num[data-dir="both"] { display: flex; }
.xo-matrix:has(#xo-dir-in:checked) .xo-num[data-dir="both"],
.xo-matrix:has(#xo-dir-out:checked) .xo-num[data-dir="both"] { display: none; }
.xo-matrix:has(#xo-dir-in:checked) .xo-num[data-dir="in"],
.xo-matrix:has(#xo-dir-out:checked) .xo-num[data-dir="out"] { display: flex; }
.xo-table tbody th { width: 21%; }
.xo-table tbody th a { font-size: 1.0625rem; font-stretch: 78%; font-weight: 720; text-decoration-color: var(--rule-strong); }
.xo-table tbody th a:hover { text-decoration-color: currentColor; }
.xo-table tbody tr:hover > * { background: #f4f3ee; }
/* nota de rodapé: alvo de toque ≥ 24 × 24 por padding (correção 4) */
.xo-fn { font-size: .875rem; line-height: 0; vertical-align: super; }
.xo-fn a { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; padding: 0 4px; margin-left: 2px; line-height: 1; text-decoration: none; color: var(--ink-2); font-weight: 700; }
.xo-fn a:hover { color: var(--ink); text-decoration: underline; }

/* filtro de sentido: as etiquetas que não servem esse sentido recolhem para contorno fino — a palavra fica */
.xo-matrix:has(#xo-dir-in:checked) .xo-mark:is([data-m="s"], [data-m="n"]),
.xo-matrix:has(#xo-dir-out:checked) .xo-mark:is([data-m="e"], [data-m="n"]) {
  background: transparent; color: var(--ink-2); border-color: transparent; font-weight: 520;
}
.xo-matrix:has(#xo-dir-in:checked) .xo-mc-group:is([data-m="s"], [data-m="n"]),
.xo-matrix:has(#xo-dir-out:checked) .xo-mc-group:is([data-m="e"], [data-m="n"]) { color: var(--ink-2); }

.xo-mcards { display: none; }
.xo-mc { background: var(--paper); padding: 22px 20px 20px; filter: var(--shadow); display: grid; gap: 12px; align-content: start; }
.xo-mc-name { font-size: 1.5rem; font-stretch: 80%; font-weight: 780; line-height: 1.1; }
.xo-mc-lic { font-size: 1rem; color: var(--ink-2); margin-top: -8px; }
.xo-mc-num { padding-bottom: 12px; border-bottom: 1.5px dashed var(--rule-strong); }
.xo-mc-group { display: grid; gap: 6px; justify-items: start; }
.xo-mc-group + .xo-mc-group { margin-top: 8px; }
.xo-mc-group ul { display: flex; flex-wrap: wrap; gap: 0 14px; font-stretch: 80%; font-weight: 680; font-size: 1.0625rem; }

.xo-notes { margin-top: 36px; }
.xo-notes h3 { font-size: 1.125rem; font-stretch: 88%; font-weight: 720; margin-bottom: 12px; }
.xo-notes ol { list-style: decimal; padding-left: 1.4em; columns: 2 30rem; column-gap: 48px; font-size: 1rem; color: var(--ink-2); }
.xo-notes li { break-inside: avoid; margin-bottom: 8px; padding-left: 4px; }
.xo-notes li::marker { font-weight: 700; color: var(--ink); }
.xo-notes b { color: var(--ink); font-weight: 640; }
.xo-notes li:target { background: var(--paper); outline: 1.5px solid var(--ink); outline-offset: 4px; }

/* ---------------------------------------------------------------- 5 · passos (feature51 → todos os passos abertos; a faixa é um índice de âncoras) */
.xo-steps-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 40px; }
.xo-step { display: flex; }
.xo-step-tab {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; width: 100%;
  padding: 14px 14px 16px; background: var(--paper); text-decoration: none; color: var(--ink);
  border-top: 4px solid var(--ink); transition: background-color .2s;
}
.xo-step-tab:hover { background: #fff; }
.xo-step-no { display: grid; place-items: center; width: 40px; height: 46px; background: var(--slab); font-size: 1.75rem; line-height: 1; font-stretch: 75%; font-weight: 840; }
.xo-step-h { font-size: 1rem; font-stretch: 86%; font-weight: 700; line-height: 1.25; }
.xo-steps-body { display: grid; gap: 56px; align-items: start; }
.xo-steps-body--fig { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.xo-steps-panels { display: grid; gap: 30px; max-width: 68ch; counter-reset: none; }
.xo-step-panel { display: grid; gap: 10px; scroll-margin-top: 100px; }
.xo-step-panel h3 { display: flex; align-items: baseline; gap: 14px; font-size: 1.375rem; font-stretch: 86%; font-weight: 740; line-height: 1.2; }
.xo-step-panelno { flex: none; min-width: 1ch; font-size: 2.25rem; line-height: .8; font-stretch: 75%; font-weight: 840; color: var(--accent); }
.xo-step-panel:target { outline: 1.5px solid var(--ink); outline-offset: 10px; }

/* figura de secção: a mesma moldura de cartão (sem haste) */
.xo-fig { background: var(--carton); padding: 12px; filter: var(--shadow); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut)); }
.xo-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.xo-steps-fig, .xo-art-in--side > .xo-fig { position: sticky; top: 100px; }

/* ---------------------------------------------------------------- texto corrido (secções dos guias e das páginas de casino) */
.xo-art-in { display: grid; gap: 56px; align-items: start; }
.xo-art-in--side { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.xo-art-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 70ch; min-width: 0; }
.xo-art-text--wide { max-width: 860px; }
.xo-art-text h2 { margin-bottom: 6px; }
.xo-art-text a { text-decoration-color: var(--ink-2); }
.xo-list { display: grid; gap: 10px; }
.xo-list li { position: relative; padding-left: 28px; }
.xo-list li::before { /* etiqueta minúscula com furo */
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 9px; background: var(--ink);
  clip-path: polygon(4px 0, 100% 0, 100% 100%, 4px 100%, 0 50%);
}
.xo-nota {
  position: relative; padding: 18px 22px 20px 44px; background: var(--paper); filter: var(--shadow); margin-top: 6px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.xo-nota::before { content: ""; position: absolute; left: 18px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); }
.xo-nota b { font-stretch: 88%; font-weight: 720; }

/* tabelas de texto */
.xo-dtab-wrap { overflow-x: auto; background: var(--paper); filter: var(--shadow); margin-top: 6px; }
.xo-dtab-wrap:focus-visible { outline-offset: 4px; }
.xo-dtab { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.xo-dtab caption { caption-side: top; text-align: left; padding: 16px 16px 10px; font-stretch: 88%; font-weight: 700; color: var(--ink); }
.xo-dtab th, .xo-dtab td { padding: 11px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.xo-dtab thead th { font-size: 1rem; font-stretch: 85%; font-weight: 720; box-shadow: inset 0 -3px 0 var(--ink); vertical-align: bottom; }
.xo-dtab tbody th { font-stretch: 82%; font-weight: 720; }
.xo-dtab tbody tr:last-child > * { border-bottom: 0; }

/* lado das secções da página inicial: etiquetas MB WAY e Multibanco */
.xo-ways-aside { display: grid; }
.xo-mt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xo-mt { position: relative; background: var(--paper); padding: 26px 14px 14px; filter: var(--shadow); }
.xo-mt::before { content: ""; position: absolute; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); }
.xo-mt-name { font-size: 1.1875rem; font-stretch: 78%; font-weight: 800; line-height: 1.1; text-align: center; padding-bottom: 10px; border-bottom: 1.5px dashed var(--rule-strong); min-height: 2.6em; display: grid; place-items: center; }
.xo-mt-prices { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.xo-mt-prices > div + div { border-left: 1px solid var(--rule); }
.xo-mt-prices dt { font-size: .875rem; font-stretch: 85%; font-weight: 700; color: var(--ink-2); text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.xo-mt-prices dd { display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.xo-mt-prices b { font-size: 3rem; line-height: 1; font-stretch: 75%; font-weight: 860; color: var(--accent); }
.xo-mt-prices small { font-size: 1rem; font-stretch: 80%; font-weight: 700; color: var(--ink-2); }

/* ---------------------------------------------------------------- 6 · etiquetas dos operadores (pricing6: número grande ao centro) */
.xo-op-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
.xo-op { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 6; grid-column: span 2; filter: var(--shadow); }
.xo-op:nth-child(4) { grid-column: 2 / span 2; }
.xo-op::after { /* furo (sem haste — correção 6) */
  content: ""; position: absolute; left: 50%; top: 12px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); z-index: 1;
}
.xo-op-tag {
  display: grid; grid-template-rows: subgrid; grid-row: span 6;
  background: var(--paper); padding: 36px 24px 22px; row-gap: 0;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.xo-op-head { text-align: center; }
.xo-op-name { font-size: 1.875rem; font-stretch: 78%; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.xo-op-lic { margin-top: 6px; font-size: 1rem; font-weight: 620; font-stretch: 90%; }
.xo-op-ent { margin-top: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; color: var(--ink-2); text-align: left; }
.xo-op-num { display: flex; justify-content: center; align-items: baseline; gap: 8px; padding: 16px 0 14px; }
.xo-op-num b { font-size: 4.5rem; line-height: .85; font-stretch: 75%; font-weight: 860; color: var(--accent); }
.xo-op-num small { font-size: 1rem; font-stretch: 85%; font-weight: 640; color: var(--ink-2); max-width: 10ch; line-height: 1.2; }
.xo-op-methods { display: grid; gap: 8px; align-content: start; padding: 14px 0; border-top: 1.5px dashed var(--rule-strong); border-bottom: 1.5px dashed var(--rule-strong); }
.xo-op-methods li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.xo-op-m { font-size: 1.0625rem; font-stretch: 78%; font-weight: 720; }
.xo-op-fees { display: grid; gap: 10px; align-content: start; padding: 14px 0 16px; font-size: 1rem; line-height: 1.45; }
.xo-op-fees > p > span:first-child { display: block; color: var(--ink-2); font-size: .9375rem; font-weight: 640; }
.xo-src { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--rule); }
.xo-src > span:first-child { color: var(--ink); font-weight: 680; }
.xo-op-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }

/* ---------------------------------------------------------------- faixa «Publicidade» por cima do rodapé (e «os outros quatro») */
.xo-band { background: var(--slab); padding-block: 64px 72px; }
.xo-band-head { display: grid; gap: 14px; margin-bottom: 32px; }
.xo-band-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); max-width: 34ch; }
.xo-band-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.xo-band--four .xo-band-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xo-bt {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; padding: 30px 18px 18px; background: var(--paper);
  filter: var(--shadow); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.xo-bt::before { content: ""; position: absolute; left: 50%; top: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--slab); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); }
.xo-bt-name { font-size: 1.375rem; font-stretch: 78%; font-weight: 800; line-height: 1.1; }
.xo-bt-lic { font-size: 1rem; color: var(--ink-2); }
.xo-bt-num { display: flex; align-items: baseline; gap: 6px; padding: 8px 0 12px; border-bottom: 1.5px dashed var(--rule-strong); }
.xo-bt-num b { font-size: 2.5rem; line-height: .9; font-stretch: 75%; font-weight: 860; color: var(--accent); }
.xo-bt-num small { font-size: 1rem; line-height: 1.2; color: var(--ink-2); font-stretch: 85%; max-width: 12ch; }
.xo-bt-foot { display: grid; gap: 4px; justify-items: start; padding-top: 12px; }
.xo-bt-foot .xo-visit > span:first-child { padding-inline: 18px; }

/* ---------------------------------------------------------------- página de casino: etiqueta em quatro linhas */
.xo-etq-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.xo-etq-tag {
  position: relative; display: grid; gap: 18px; padding: 30px 30px 26px 58px; background: var(--paper); filter: var(--shadow);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.xo-etq-tag::before { content: ""; position: absolute; left: 22px; top: 40px; width: 14px; height: 14px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); }
.xo-etq-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--rule-strong); }
.xo-etq-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); max-width: 18ch; }
.xo-etq-head .xo-op-num { padding: 0; }
.xo-etq-rows { display: grid; gap: 0; }
.xo-etq-rows > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.xo-etq-rows dt { font-stretch: 82%; font-weight: 760; font-size: 1.0625rem; }
.xo-etq-methods { display: grid; gap: 12px; align-content: start; padding: 26px 24px; background: var(--slab); }
.xo-etq-methods h3 { font-size: 1.25rem; font-stretch: 86%; font-weight: 740; }
.xo-etq-sub { font-size: 1rem; color: var(--ink-2); margin-top: -6px; }
.xo-etq-methods .xo-mc-group ul { gap: 0 16px; }
.xo-etq-methods .xo-mc-group a { display: inline-flex; min-height: 32px; align-items: center; }
.xo-visit--hero > span:first-child { min-height: 52px; }

/* perguntas (feature197: <details>, a primeira aberta) */
.xo-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.xo-faq-list { display: grid; border-top: 4px solid var(--ink); }
.xo-q { border-bottom: 1px solid var(--rule-strong); }
.xo-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 14px 0; cursor: pointer;
  list-style: none; font-size: 1.125rem; font-stretch: 88%; font-weight: 700; line-height: 1.3;
}
.xo-q summary::-webkit-details-marker { display: none; }
.xo-q:not([open]) summary { color: var(--ink-2); }
.xo-q summary:hover { color: var(--ink); }
.xo-q-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); }
.xo-q-ico .xo-ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.xo-q[open] .xo-q-ico .xo-ico { transform: rotate(45deg); }
.xo-q-a { padding: 0 0 20px; max-width: 68ch; }

/* última linha */
.xo-fecho-tag { display: grid; gap: 14px; max-width: 860px; padding: 30px 34px; background: var(--paper); border-top: 4px solid var(--ink); filter: var(--shadow); }
.xo-fecho-tag h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
.xo-fecho-tag p { font-size: 1.125rem; }

/* ---------------------------------------------------------------- 8 · ajuda (cta10: painel, texto + duas ações; haste só aqui e no 1.º ecrã) */
.xo-help { padding-top: 96px; }
.xo-help-tag {
  position: relative; display: flex; align-items: center; gap: 48px; padding: 48px 56px 48px 72px; background: var(--carton);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.xo-help-tag::before { content: ""; position: absolute; left: 26px; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--stone); box-shadow: inset 0 1px 2px rgba(28, 29, 31, .45); }
.xo-help .xo-wrap { position: relative; }
.xo-help .xo-wrap::before { /* haste: do furo para a prateleira */
  content: ""; position: absolute; left: calc(var(--gut) + 32.5px); top: -44px; width: 3px; height: 68px; background: var(--ink); border-radius: 2px; z-index: 2;
}
.xo-help-text { flex: 1; display: grid; gap: 16px; }
.xo-help-text h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); }
.xo-help-text p { max-width: 66ch; }
.xo-help-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
.xo-help-actions .xo-act > span { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------- formulário (ul-) */
.ul-form { display: grid; gap: 20px; margin-top: 10px; padding: 30px; background: var(--paper); filter: var(--shadow); border-top: 4px solid var(--ink); }
.ul-grelha { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ul-campo { display: grid; gap: 6px; align-content: start; }
.ul-campo--largo { grid-column: 1 / -1; }
.ul-rotulo { font-stretch: 86%; font-weight: 720; font-size: 1.0625rem; }
.ul-obrig { color: var(--ink-2); font-weight: 500; font-size: 1rem; }
.ul-entrada {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--ink-2); border-radius: 2px;
}
.ul-entrada:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
select.ul-entrada { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea.ul-entrada { min-height: 160px; resize: vertical; }
.ul-dica { font-size: 1rem; color: var(--ink-2); min-height: 0; }
.ul-dica:empty { display: none; }
.ul-aceito { display: flex; align-items: flex-start; gap: 12px; }
.ul-visto { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.ul-isco { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ul-errado .ul-entrada, .ul-errado .ul-visto { border-color: #9b2c0c; outline: 2px solid #9b2c0c; }
.ul-pequeno { font-size: 1rem; color: var(--ink-2); }
.ul-recibo { /* talão: borda superior dentada, como a faixa 18+ (picotado do bloco de recibos) */
  --z: 6px;
  padding: calc(12px + var(--z)) 16px 12px; background: var(--slab); color: var(--ink); font-weight: 600;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.ul-recibo--falhou { color: #7a220a; background: #f3e4dc; }
.ul-recibo[hidden] { display: none; }

/* ---------------------------------------------------------------- 9 · rodapé (Tailark dusk footer/one) */
.xo-footer { position: relative; background: var(--slab); padding-block: 72px 40px; font-size: 1rem; }
.xo-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ink); }
.xo-foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.xo-footer--calm .xo-foot-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
.xo-foot-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.xo-foot-brand p { color: var(--ink-2); max-width: 32ch; }
.xo-foot-h { font-size: .875rem; font-stretch: 85%; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.xo-footer ul { display: grid; gap: 0; }
.xo-footer ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); text-decoration: none; line-height: 1.3; }
.xo-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.xo-footer ul a.xo-linkbtn { color: var(--ink); text-decoration: underline; }
.xo-foot-label { margin-top: 48px; display: grid; gap: 10px; padding: 28px 32px; background: var(--paper); border-top: 1.5px dashed var(--rule-strong); }
.xo-foot-label p { max-width: 90ch; }
.xo-foot-rg { font-stretch: 88%; font-weight: 680; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.xo-foot-rg a { font-weight: 560; }
.xo-badge--ink { color: var(--ink); }
.xo-foot-co { margin-top: 28px; color: var(--ink-2); }

/* ---------------------------------------------------------------- aviso de cookies (yv-) — Uiverse sans-script/modern-stingray-0 nas caixas */
.yv-aviso {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); padding: 22px 24px; display: grid; gap: 12px; font-size: 1rem;
  box-shadow: 0 18px 40px -12px rgba(28, 29, 31, .45), 0 2px 4px rgba(28, 29, 31, .2); border-top: 4px solid var(--ink);
}
.yv-aviso[hidden] { display: none; }
.yv-titulo { font-size: 1.25rem; font-stretch: 86%; font-weight: 760; }
.yv-acoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.yv-acoes .xo-act { width: 100%; }
.yv-acoes .xo-act > span { width: 100%; justify-content: center; padding-inline: 8px; }
.yv-escolhas[hidden] { display: none; }
.yv-escolhas { display: grid; gap: 10px; padding-top: 6px; }
.yv-escolhas fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 2px; }
.yv-escolhas legend { font-stretch: 86%; font-weight: 720; margin-bottom: 4px; }
.yv-opcao { display: flex; align-items: center; gap: 14px; min-height: 48px; cursor: pointer; }
.yv-opcao input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.yv-opcao input::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--ink); transition: width .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.yv-opcao input:checked::before { border-left: 0; border-top: 0; width: 11px; height: 20px; inset: auto; left: 7px; top: -2px; transform: rotate(45deg); }
.yv-opcao input:disabled { cursor: default; }
.yv-opcao input:disabled::before { border-color: var(--ink-2); }
.yv-opcao input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.yv-opcao small { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.35; }
.yv-gravar { justify-self: start; }

/* ---------------------------------------------------------------- aviso de idade (18+): só com JS, fundo meio transparente, sem desfoque */
#xo-porta { display: none; }
.xo-porta-aberta #xo-porta {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 60; padding: 16px; background: rgba(28, 29, 31, .62);
}
.xo-porta-fechada { overflow: hidden; }
.xo-porta-tag {
  position: relative; width: min(500px, 100%); display: grid; gap: 14px; padding: 46px 30px 26px; background: var(--paper);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.xo-porta-tag::before { content: ""; position: absolute; left: 50%; top: 14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #8a8b8c; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45); }
.xo-porta-18 { font-size: 3.5rem; line-height: .9; font-stretch: 75%; font-weight: 860; color: var(--accent); }
.xo-porta-t { font-size: 1.5rem; font-stretch: 86%; font-weight: 760; line-height: 1.15; }
.xo-porta-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.xo-porta-pe { font-size: 1rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- responsivo */
@media (min-width: 1024px) {
  /* tabelas largas saem da coluna de leitura (sem figura ao lado) até à largura da página */
  .xo-art-in:not(.xo-art-in--side) .xo-dtab-wrap { width: min(var(--wrap), 100vw - 2 * var(--gut) - 16px); }
}
@media (max-width: 1023px) {
  .xo-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .xo-herotag, .xo-hero--inner .xo-herotag { justify-self: start; max-width: 300px; }
  .xo-matrix-head { grid-template-columns: 1fr; }
  .xo-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xo-tablewrap { display: none; }
  .xo-mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .xo-steps-body--fig, .xo-art-in--side { grid-template-columns: 1fr; gap: 36px; }
  .xo-steps-fig, .xo-art-in--side > .xo-fig { position: static; max-width: 440px; }
  .xo-op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xo-op, .xo-op:nth-child(4) { grid-column: auto; }
  .xo-op:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
  .xo-band-row, .xo-band--four .xo-band-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xo-etq-in { grid-template-columns: 1fr; }
  .xo-faq-in { grid-template-columns: 1fr; gap: 24px; }
  .xo-help-tag { flex-direction: column; align-items: stretch; gap: 28px; }
  .xo-help-actions { flex-direction: row; flex-wrap: wrap; }
  .xo-foot-grid, .xo-footer--calm .xo-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xo-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .xo-minis { display: grid; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 1rem; }
  .xo-strip-in { justify-content: flex-start; gap: 0 18px; padding-block: 6px 4px; }
  .xo-strip-links a { min-height: 44px; padding-inline: 2px; }   /* correção 4: 44 px no telemóvel */
  .xo-strip-text { font-stretch: 76%; gap: 8px; }
  .xo-hero { padding-block: 28px 56px; }
  .xo-hero h1 { font-size: clamp(2.125rem, 1.2rem + 4.6vw, 2.75rem); }
  .xo-hero--inner h1 { font-size: clamp(1.875rem, 1.1rem + 4vw, 2.375rem); }
  .xo-lead { font-size: 1.0625rem; margin-top: 18px; }
  .xo-herotag, .xo-hero--inner .xo-herotag { max-width: 64%; min-width: 210px; }
  .xo-herotag-price b { font-size: 2.5rem; }
  .xo-sec { padding-block: 56px 64px; }
  .xo-sec-head { margin-bottom: 28px; }
  .xo-switch { width: 100%; }
  .xo-switch label { flex: 1; }
  .xo-switch span { padding: 0 8px; justify-content: center; text-align: center; width: 100%; line-height: 1.15; font-size: 1rem; }
  .xo-legend { grid-template-columns: 1fr; }
  .xo-mcards { grid-template-columns: 1fr; }
  .xo-steps-tabs { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
  .xo-step-tab { padding: 10px 10px 12px; gap: 10px; }
  .xo-step-no { width: 34px; height: 40px; font-size: 1.5rem; }
  .xo-op-grid { grid-template-columns: 1fr; gap: 36px; }
  .xo-op, .xo-op-tag { grid-row: auto; grid-template-rows: none; }
  .xo-op:nth-child(5) { width: auto; justify-self: stretch; }
  .xo-op-tag { padding-inline: 18px; }
  .xo-band-row, .xo-band--four .xo-band-row { grid-template-columns: 1fr; gap: 16px; }
  .xo-bt { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 12px; padding: 26px 16px 16px; }
  .xo-bt-name, .xo-bt-lic { grid-column: 1; }
  .xo-bt-num { grid-column: 2; grid-row: 1 / span 2; border: 0; padding: 0; align-self: center; }
  .xo-bt-num small { display: none; }
  .xo-bt-foot { grid-column: 1 / -1; grid-template-columns: auto auto; align-items: center; justify-content: space-between; border-top: 1.5px dashed var(--rule-strong); }
  .xo-mt-row { gap: 10px; }
  .xo-mt-prices b { font-size: 2.5rem; }
  .xo-etq-tag { padding: 26px 18px 22px 40px; }
  .xo-etq-tag::before { left: 14px; top: 34px; width: 12px; height: 12px; }
  .xo-etq-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .xo-etq-methods { padding: 22px 18px; }
  .xo-dtab--pilha thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .xo-dtab--pilha tr { display: grid; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
  .xo-dtab--pilha th, .xo-dtab--pilha td { display: block; padding: 3px 0; border: 0; }
  .xo-dtab--pilha tbody th { font-size: 1.125rem; padding-bottom: 6px; }
  .xo-dtab--pilha td::before { content: attr(data-rotulo); display: block; font-size: .875rem; font-stretch: 85%; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
  .xo-nota { padding: 16px 16px 18px 38px; }
  .xo-nota::before { left: 14px; top: 22px; }
  .xo-help .xo-wrap::before { left: 50%; margin-left: -1.5px; }
  .xo-help-tag { padding: 40px 22px 30px; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut)); }
  .xo-help-tag::before { left: 50%; top: 12px; margin: 0 0 0 -8px; }
  .xo-help-actions { flex-direction: column; }
  .xo-fecho-tag { padding: 24px 18px; }
  .ul-form { padding: 22px 16px; }
  .ul-grelha { grid-template-columns: 1fr; }
  .xo-foot-grid, .xo-footer--calm .xo-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .xo-foot-label { padding: 22px 18px; }
  .yv-aviso { right: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .xo-header, .xo-switch, .yv-aviso, #xo-porta { display: none !important; }
  .xo-num { display: flex !important; }
}

/* detect 18.11: мера чтения (< 80 знаков; ch у Mona Sans шире средней буквы) и висячие слова */
main p, main li, .xo-ad, .xo-nota, .xo-q-a { max-width: 58ch; }
li, dd, td, th, .xo-nota, .xo-ad { text-wrap: pretty; }
.xo-col, p.xo-col { max-width: 58ch; }
