/* =====================================================================
   AppsHotel · Portal do Resort — app do hóspede
   Cores e fontes vêm de resort_tema_css() (--h-pri, --h-dest, --h-fundo,
   --h-raio, --h-titulo, --h-texto).
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:root {
  --h-tinta: #1D2A31;
  --h-suave: #66737C;
  --h-linha: rgba(29, 42, 49, .09);
  --h-cartao: #FFFFFF;
  --h-sombra: 0 1px 2px rgba(20, 30, 35, .05), 0 6px 22px rgba(20, 30, 35, .06);
  --h-ok: #1F8A5B;
  --h-abre: #B7791F;
  --h-fechado: #A0A9AF;
  --h-safe-b: env(safe-area-inset-bottom, 0px);
  --h-safe-t: env(safe-area-inset-top, 0px);
}
html { -webkit-text-size-adjust: 100%; }
/* Barra de status do app instalado (iPhone/Android): faixa na cor principal atrás do relógio e da bateria,
   para o iOS não desenhar o degradê claro do fundo da página por cima do cabeçalho. */
.h-status { display: none; }
@media (display-mode: standalone), (display-mode: fullscreen) {
  html:has(body.h-st-cor) { background-color: var(--h-pri); }
  .h-status { display: block; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: var(--h-pri); z-index: 60; pointer-events: none; }
}
body.h-body {
  margin: 0; background: var(--h-fundo); color: var(--h-tinta); font: 400 15.5px/1.5 var(--h-texto);
  -webkit-font-smoothing: antialiased; padding-bottom: calc(84px + var(--h-safe-b)); min-height: 100vh;
}
.h-main { max-width: 620px; margin: 0 auto; }
a { color: inherit; }
img { max-width: 100%; }
.ic { width: 20px; height: 20px; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--h-pri); outline-offset: 2px; }

/* ---------------- topo das páginas internas ---------------- */
.h-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--h-safe-t)) 14px 10px; background: color-mix(in srgb, var(--h-fundo) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--h-linha);
}
.h-top h1 { flex: 1; margin: 0; font: 600 18px/1.2 var(--h-titulo); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-top-voltar, .h-top-esp { width: 40px; height: 40px; flex: none; }
.h-top-voltar { display: grid; place-items: center; border-radius: 50%; background: var(--h-cartao); box-shadow: var(--h-sombra); text-decoration: none; }

/* ---------------- abas de baixo ---------------- */
.h-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center;
  background: color-mix(in srgb, #fff 90%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid var(--h-linha); padding: 6px 6px calc(6px + var(--h-safe-b));
}
.h-tabs a { position: relative; flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; color: var(--h-suave); font-size: 11.5px; font-weight: 600; border-radius: 12px; }
.h-tabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-tabs a.ativo { color: var(--h-pri); }
.h-tabs a.ativo .ic { stroke-width: 2.4; }
.h-badge { position: absolute; top: 4px; left: calc(50% + 6px); width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 2px #fff; }
.h-tile .h-badge { top: 12px; left: auto; right: 12px; }

/* ---------------- capa da tela inicial ---------------- */
.h-hero {
  position: relative; color: #fff; padding: calc(18px + var(--h-safe-t)) 20px 30px; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--h-pri);
  border-radius: 0 0 var(--h-cab-raio, calc(var(--h-raio) + 10px)) var(--h-cab-raio, calc(var(--h-raio) + 10px)); overflow: hidden;
}
.h-hero:not(.com-foto) { color: var(--h-pri-txt, #fff); }
.h-hero:not(.com-foto) .h-apto { color: inherit; background: color-mix(in srgb, currentColor 14%, transparent); }
.h-hero.com-foto { background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.72) 100%), var(--h-foto) center/cover; min-height: 360px; }
.h-hero-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h-logo { display: block; max-height: 44px; max-width: 170px; width: auto; height: auto; object-fit: contain; background: transparent; }
.h-hero.com-foto .h-logo { filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.h-marca { font: 600 18px/1.1 var(--h-titulo); letter-spacing: .01em; }
.h-apto { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; text-decoration: none; color: #fff; }
.h-apto .ic { width: 16px; height: 16px; }
.h-hero-txt small { font-size: 14px; opacity: .9; font-weight: 500; }
.h-hero-txt h1 { margin: 4px 0 6px; font: 600 32px/1.08 var(--h-titulo); letter-spacing: -.01em; text-wrap: balance; }
.h-hero-txt p { margin: 0; opacity: .88; max-width: 34ch; }

/* ---------------- seções ---------------- */
.h-sec { margin-top: 24px; }
.h-sec-tit { display: flex; align-items: baseline; justify-content: space-between; padding: 0 20px; margin-bottom: 10px; }
.h-sec-tit h2, .h-sub { margin: 0; font: 600 20px/1.2 var(--h-titulo); }
.h-sub { margin: 26px 0 10px; }
.h-sec-tit a { font-size: 14px; font-weight: 600; color: var(--h-pri); text-decoration: none; }
.h-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--h-pri); }

/* ícones em pastilha */
.h-tile-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: calc(var(--h-raio) * .7); background: color-mix(in srgb, var(--h-pri) 11%, #fff); color: var(--h-pri); flex: none; }
.h-tile-ic .ic { width: 22px; height: 22px; }

/* grade de atalhos */
.h-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px; }
.h-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; min-height: 116px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); text-decoration: none; transition: transform .15s ease; }
.h-tile:active { transform: scale(.98); }
.h-tile b { font-size: 15px; font-weight: 650; line-height: 1.25; }

/* agora no resort */
.h-chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-chips::-webkit-scrollbar { display: none; }
.h-chip { scroll-snap-align: start; flex: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--h-cartao); border-radius: 999px; box-shadow: var(--h-sombra); text-decoration: none; max-width: 260px; }
.h-chip b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-chip small { display: block; font-size: 12.5px; color: var(--h-suave); white-space: nowrap; }
.h-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--h-fechado); flex: none; }
.h-sit .h-dot { position: relative; top: -1px; }
.h-dot-aberto { background: var(--h-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--h-ok) 18%, transparent); }
.h-dot-abre { background: var(--h-abre); }
.h-sit { display: inline-flex; align-items: baseline; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--h-suave); margin-top: 6px; }
.h-sit-aberto { color: var(--h-ok); }
.h-sit-abre { color: var(--h-abre); }

/* cartões com foto */
.h-carrossel { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-carrossel::-webkit-scrollbar { display: none; }
.h-card-foto { scroll-snap-align: start; flex: none; width: 236px; background: var(--h-cartao); border-radius: var(--h-raio); overflow: hidden; box-shadow: var(--h-sombra); text-decoration: none; display: flex; flex-direction: column; }
.h-card-img { position: relative; display: grid; place-items: center; aspect-ratio: 4/3; background: color-mix(in srgb, var(--h-pri) 12%, #fff) center/cover; color: var(--h-pri); }
.h-card-img > .ic { width: 34px; height: 34px; opacity: .6; }
.h-card-txt { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.h-card-txt small { font-size: 12px; color: var(--h-suave); font-weight: 600; }
.h-card-txt b { font-size: 15.5px; line-height: 1.25; }
.h-card-txt em { font-style: normal; font-weight: 700; color: var(--h-pri); font-size: 14px; margin-top: 4px; }
.h-card-res { font-size: 13.5px; color: var(--h-suave); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-play { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.h-play .ic { width: 16px; height: 16px; }
.h-grade-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 4px 16px; }
.h-card-largo { width: auto; }
@media (max-width: 360px) { .h-grade-cards { grid-template-columns: 1fr; } }

/* avisos */
.h-aviso-mini { display: flex; gap: 12px; align-items: center; margin: 0 16px 10px; padding: 14px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); text-decoration: none; }
.h-aviso-mini b { display: block; font-size: 15px; }
.h-aviso-mini small { display: block; color: var(--h-suave); font-size: 13.5px; line-height: 1.35; }
.h-avisos { padding: 14px 16px; display: grid; gap: 12px; }
.h-aviso { background: var(--h-cartao); border-radius: var(--h-raio); overflow: hidden; box-shadow: var(--h-sombra); scroll-margin-top: 80px; }
.h-aviso img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.h-aviso > div { padding: 16px; }
.h-aviso small { color: var(--h-suave); font-size: 12.5px; font-weight: 600; }
.h-aviso h2 { margin: 4px 0 6px; font: 600 19px/1.25 var(--h-titulo); }
.h-aviso p { margin: 0 0 10px; }
.h-aviso.novo { box-shadow: 0 0 0 2px var(--h-dest), var(--h-sombra); }
.h-aviso:target { box-shadow: 0 0 0 2px var(--h-pri), var(--h-sombra); }

/* pedidos de notificação / instalação */
.h-push, .h-instalar { display: flex; align-items: center; gap: 12px; margin: 18px 16px 0; padding: 14px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-push-dest { box-shadow: 0 0 0 2px var(--h-dest), var(--h-sombra); }
.h-push-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--h-dest) 22%, #fff); color: color-mix(in srgb, var(--h-dest) 60%, #000); flex: none; }
.h-push-txt { flex: 1; min-width: 0; }
.h-push-txt b { display: block; font-size: 14.5px; line-height: 1.3; }
.h-push-txt small { display: block; color: var(--h-suave); font-size: 13px; line-height: 1.35; }
/* instalar o app: botão fechar do cartão e folha de instruções */
.h-instalar { position: relative; }
.h-instalar-x { display: grid; place-items: center; width: 30px; height: 30px; margin: -6px -6px -6px -4px; border: 0; border-radius: 50%; background: transparent; color: var(--h-suave); cursor: pointer; flex: none; }
.h-instalar-x .ic { width: 16px; height: 16px; }
.h-folha { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.h-folha[hidden] { display: none; }
.h-folha-fundo { position: absolute; inset: 0; background: rgba(10, 16, 22, .48); animation: h-fade .18s ease; }
.h-folha-cx { position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; background: var(--h-cartao); border-radius: 22px 22px 0 0; padding: 22px 20px calc(20px + var(--h-safe-b)); box-shadow: 0 -10px 40px rgba(0,0,0,.18); animation: h-sobe .22s ease; outline: none; }
.h-folha-cx h2 { margin: 12px 0 4px; font: 600 21px/1.2 var(--h-titulo); }
.h-folha-sub { margin: 0 0 14px; color: var(--h-suave); font-size: 14px; line-height: 1.45; }
.h-folha-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--h-pri) 8%, #fff); color: var(--h-tinta); cursor: pointer; }
.h-folha-x .ic { width: 18px; height: 18px; }
.h-passos { list-style: none; counter-reset: passo; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.h-passos li { counter-increment: passo; display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--h-pri) 5%, #fff); font-size: 14.5px; line-height: 1.45; }
.h-passos li::before { content: counter(passo); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--h-pri); color: var(--h-pri-txt); font-weight: 700; font-size: 13px; flex: none; }
.h-passos b { font-weight: 650; }
.h-passos .h-sim { display: inline-grid; place-items: center; vertical-align: -6px; width: 26px; height: 24px; margin: 0 2px; border-radius: 7px; background: #fff; border: 1px solid var(--h-linha); color: #0A7AFF; }
.h-passos .h-sim svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-folha-nota { margin: 0 0 14px; padding: 11px 12px; border-radius: 12px; background: color-mix(in srgb, var(--h-dest) 14%, #fff); font-size: 13.5px; line-height: 1.45; }
.h-folha-nota .h-bt { margin-top: 8px; }
@keyframes h-sobe { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .h-folha-cx, .h-folha-fundo { animation: none; } }


/* botões */
.h-bt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--h-linha); background: var(--h-cartao); font-weight: 650; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.h-bt .ic { width: 17px; height: 17px; }
.h-bt-pri { background: var(--h-pri); border-color: var(--h-pri); color: var(--h-pri-txt); }
.h-bt-wa { background: #E9F8EF; border-color: #CDEEDB; color: #128C4B; }
.h-bt-perigo { color: #B42318; border-color: #F3C7C3; background: #fff; }
.h-bt-grande { width: 100%; padding: 15px 18px; font-size: 15.5px; }
.h-bt:disabled { opacity: .55; }
.h-ic-bt { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); text-decoration: none; }
.h-ic-wa { background: #E9F8EF; color: #128C4B; }

/* listas de restaurantes */
.h-lista-cards { display: grid; gap: 14px; padding: 16px; }
.h-rest { display: flex; flex-direction: column; background: var(--h-cartao); border-radius: var(--h-raio); overflow: hidden; box-shadow: var(--h-sombra); text-decoration: none; }
.h-rest-img { display: grid; place-items: center; aspect-ratio: 16/8; background: color-mix(in srgb, var(--h-pri) 12%, #fff) center/cover; color: var(--h-pri); }
.h-rest-img .ic { width: 36px; height: 36px; opacity: .55; }
.h-rest-txt { padding: 14px 16px 16px; display: flex; flex-direction: column; }
.h-rest-txt small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--h-suave); }
.h-rest-txt b { font: 600 20px/1.2 var(--h-titulo); margin: 2px 0 2px; }
.h-rest-res { color: var(--h-suave); font-size: 14px; }
.h-rest-aviso { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13.5px; color: color-mix(in srgb, var(--h-dest) 65%, #000); font-weight: 600; }
.h-rest-aviso .ic { width: 15px; height: 15px; }

/* detalhe */
.h-capa { aspect-ratio: 16/10; background: center/cover; }
.h-det { padding: 18px 20px 6px; }
.h-det-tit { margin: 2px 0 0; font: 600 28px/1.12 var(--h-titulo); letter-spacing: -.01em; }
.h-lead { font-size: 16.5px; color: #3E4C54; margin: 14px 0 6px; }
.h-texto { color: #34424A; }
.h-texto h2, .h-texto h3 { font: 600 19px/1.25 var(--h-titulo); margin: 22px 0 6px; }
.h-texto ul { padding-left: 20px; }
.h-texto a { color: var(--h-pri); font-weight: 600; }
.h-texto-peq { font-size: 13.5px; color: var(--h-suave); }
.h-destaque { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: calc(var(--h-raio) * .7); background: color-mix(in srgb, var(--h-dest) 18%, #fff); color: color-mix(in srgb, var(--h-dest) 50%, #000); font-weight: 600; font-size: 14.5px; }
.h-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.h-info { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--h-suave); width: 100%; }
.h-info .ic { width: 16px; height: 16px; }
.h-info-bloco { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: calc(var(--h-raio) * .7); background: var(--h-cartao); box-shadow: var(--h-sombra); font-size: 14.5px; }
.h-info-bloco .ic { color: var(--h-pri); margin-top: 1px; }
.h-horas { list-style: none; margin: 0; padding: 0; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-horas li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--h-linha); }
.h-horas li:first-child { border-top: 0; }
.h-horas small { display: block; color: var(--h-suave); font-size: 12.5px; }
.h-horas b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-fatos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.h-fatos span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--h-cartao); box-shadow: var(--h-sombra); font-size: 13.5px; }
.h-fatos .ic { width: 16px; height: 16px; color: var(--h-pri); }
.h-video { position: relative; margin-top: 18px; aspect-ratio: 16/9; border-radius: var(--h-raio); overflow: hidden; background: #000; }
.h-video iframe, .h-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.h-cta { position: sticky; bottom: calc(76px + var(--h-safe-b)); padding: 14px 16px 4px; background: linear-gradient(180deg, transparent, var(--h-fundo) 40%); }

/* galeria */
.h-galeria { position: relative; }
.h-galeria-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-galeria-trilho::-webkit-scrollbar { display: none; }
.h-galeria-trilho img { flex: none; width: 100%; aspect-ratio: 4/3; object-fit: cover; scroll-snap-align: center; }
.h-galeria-pontos { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.h-galeria-pontos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); transition: width .2s; }
.h-galeria-pontos i.ativo { width: 20px; border-radius: 4px; background: #fff; }

/* cardápios */
.h-cardapios { margin-top: 10px; padding-bottom: 10px; }
.h-abas { position: sticky; top: calc(61px + var(--h-safe-t)); z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--h-fundo); scrollbar-width: none; }
.h-abas::-webkit-scrollbar { display: none; }
.h-abas button, .h-filtros a { flex: none; border: 1px solid var(--h-linha); background: var(--h-cartao); padding: 9px 15px; border-radius: 999px; font-weight: 650; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.h-filtros a .ic { width: 16px; height: 16px; }
.h-abas button[aria-selected="true"], .h-filtros a.ativo { background: var(--h-tinta); border-color: var(--h-tinta); color: #fff; }
.h-cardapio { padding: 0 16px; }
.h-cardapio-obs { color: var(--h-suave); font-size: 14px; margin: 6px 4px 12px; }
.h-cat { margin: 18px 4px 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--h-suave); }
.h-itens { list-style: none; margin: 0; padding: 0; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 16px; border-top: 1px solid var(--h-linha); }
.h-item:first-child { border-top: 0; }
.h-item-txt b { font-size: 15.5px; }
.h-item-txt p { margin: 3px 0 0; color: var(--h-suave); font-size: 14px; line-height: 1.4; }
.h-item-img { grid-row: span 2; width: 84px; height: 84px; object-fit: cover; border-radius: calc(var(--h-raio) * .6); }
.h-preco { grid-column: 1; font-weight: 700; color: var(--h-pri); font-variant-numeric: tabular-nums; }
.h-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.h-tags i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); }
.h-filtros { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 6px; scrollbar-width: none; }
.h-filtros::-webkit-scrollbar { display: none; }

/* horários */
.h-dias { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 4px; scrollbar-width: none; }
.h-dias::-webkit-scrollbar { display: none; }
.h-dias a { flex: none; width: 58px; padding: 9px 0; text-align: center; border-radius: calc(var(--h-raio) * .75); background: var(--h-cartao); box-shadow: var(--h-sombra); text-decoration: none; }
.h-dias small { display: block; font-size: 11.5px; font-weight: 700; color: var(--h-suave); }
.h-dias b { font-size: 18px; }
.h-dias a.ativo { background: var(--h-pri); color: var(--h-pri-txt); }
.h-dias a.ativo small { color: inherit; opacity: .85; }
.h-hor-lista { list-style: none; margin: 0 16px; padding: 0; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-hor-lista li + li { border-top: 1px solid var(--h-linha); }
.h-hor-lista li > a, .h-hor-lista li > div { display: flex; gap: 12px; align-items: center; padding: 13px 14px; text-decoration: none; }
.h-hor-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-hor-txt b { font-size: 15px; }
.h-hor-txt small { color: var(--h-suave); font-size: 12.5px; }
.h-hor-txt .h-sit { margin-top: 2px; font-size: 12.5px; }
.h-hor-aviso { color: color-mix(in srgb, var(--h-dest) 60%, #000) !important; font-weight: 600; }
.h-hor-int { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-hor-int small { display: block; font-size: 11px; color: var(--h-suave); font-weight: 600; }
.h-hor-int em { font-style: normal; color: var(--h-fechado); }

/* contatos */
.h-busca { display: flex; align-items: center; gap: 8px; margin: 14px 16px 0; padding: 0 14px; background: var(--h-cartao); border-radius: 999px; box-shadow: var(--h-sombra); }
.h-busca .ic { color: var(--h-suave); width: 18px; height: 18px; }
.h-busca input { flex: 1; border: 0; background: transparent; padding: 13px 0; outline: none; }
.h-contatos { list-style: none; margin: 14px 16px; padding: 0; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-contato { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.h-contato + .h-contato { border-top: 1px solid var(--h-linha); }
.h-contato-txt { flex: 1; min-width: 0; }
.h-contato-txt b { display: block; font-size: 15px; }
.h-contato-txt small { display: block; color: var(--h-suave); font-size: 13px; }
.h-contato-bts { display: flex; gap: 6px; }

/* formulários */
.h-form { display: grid; gap: 14px; margin-top: 16px; }
.h-campo { display: grid; gap: 6px; }
.h-campo > span { font-size: 13.5px; font-weight: 650; }
.h-campo em { font-style: normal; font-weight: 400; color: var(--h-suave); }
.h-campo input { width: 100%; padding: 14px 15px; border-radius: calc(var(--h-raio) * .65); border: 1.5px solid var(--h-linha); background: #fff; font-size: 16px; }
.h-campo input:focus { border-color: var(--h-pri); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--h-pri) 14%, transparent); }
.h-campos-2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; }
.h-aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--h-suave); line-height: 1.45; }
.h-aceite input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--h-pri); flex: none; }
.h-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.h-alerta { display: flex; gap: 10px; align-items: flex-start; margin: 14px 16px 0; padding: 12px 14px; border-radius: calc(var(--h-raio) * .7); font-size: 14px; font-weight: 600; background: #E7F5EE; color: #17643F; }
.h-det .h-alerta { margin: 12px 0 0; }
.h-alerta-erro { background: #FDECEA; color: #A42A1F; }
.h-alerta-aviso, .h-alerta-info { background: #FFF5E0; color: #7A5212; }
.h-perfil-cx { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 14px 0; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.h-perfil-cx > div { flex: 1; min-width: 0; }
.h-perfil-cx b { display: block; }
.h-perfil-cx small { display: block; color: var(--h-suave); font-size: 13.5px; }
.h-det .h-instalar { margin: 14px 0 0; }

.h-vazio { text-align: center; padding: 48px 30px 20px; color: var(--h-suave); }
.h-vazio .h-tile-ic { margin: 0 auto 12px; width: 56px; height: 56px; }
.h-rodape { text-align: center; color: var(--h-suave); font-size: 12.5px; margin: 30px 20px 10px; }

/* telas grandes: o app fica centralizado como um celular */
@media (min-width: 700px) {
  body.h-body { background: color-mix(in srgb, var(--h-fundo) 70%, #d9d4cc); }
  .h-main { background: var(--h-fundo); min-height: 100vh; box-shadow: 0 0 0 1px var(--h-linha); }
  .h-top { max-width: 620px; margin: 0 auto; }
  .h-tabs { max-width: 620px; margin: 0 auto; border-radius: 18px 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------- programação de lazer ---------------- */
.p-abas { display: flex; gap: 6px; margin: 14px 16px 0; padding: 4px; background: color-mix(in srgb, var(--h-tinta) 6%, transparent); border-radius: 999px; }
.p-abas a { flex: 1; text-align: center; padding: 9px 10px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 14px; color: var(--h-suave); }
.p-abas a.ativo { background: var(--h-cartao); color: var(--h-tinta); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.p-abas i { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--h-dest); color: var(--h-dest-txt); font-size: 11.5px; margin-left: 4px; }
.p-ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; }
.p-cats { padding-top: 0; }
.p-periodo { margin: 20px 20px 8px; font: 600 19px/1.2 var(--h-titulo); }
.p-lista { margin: 0 16px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); overflow: hidden; }
.p-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; border-top: 1px solid var(--h-linha); scroll-margin-top: 80px; }
.p-item:first-child { border-top: 0; }
.p-item:target { background: color-mix(in srgb, var(--h-dest) 10%, #fff); }
.p-hora { text-align: center; padding-top: 2px; font-variant-numeric: tabular-nums; }
.p-hora b { display: block; font-size: 17px; letter-spacing: -.01em; }
.p-hora small { display: block; font-size: 11.5px; color: var(--h-suave); }
.p-corpo { min-width: 0; }
.p-det summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.p-det summary::-webkit-details-marker { display: none; }
.p-nome { font-size: 15.5px; line-height: 1.3; }
.p-local { display: inline-flex; align-items: center; gap: 4px; color: var(--h-suave); font-size: 13.5px; }
.p-local .ic { width: 14px; height: 14px; }
.p-custo { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--h-dest) 20%, #fff); color: color-mix(in srgb, var(--h-dest) 45%, #000); font-size: 12.5px; font-weight: 700; }
.p-custo .ic { width: 14px; height: 14px; }
.p-mapa { color: var(--h-pri); font-weight: 650; text-decoration: none; margin-left: 2px; }
.p-obs { font-size: 13px; color: color-mix(in srgb, var(--h-dest) 60%, #000); font-weight: 600; }
.p-faixas { display: flex; flex-wrap: wrap; gap: 4px; }
.p-faixas i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: color-mix(in srgb, var(--c) 85%, #000); background: color-mix(in srgb, var(--c) 14%, #fff); }
.p-mais { margin-top: 10px; display: grid; gap: 10px; font-size: 14px; }
.p-mais img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--h-raio) * .6); }
.p-selo { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; background: #EEF1F3; color: var(--h-suave); }
.p-selo-agora { background: color-mix(in srgb, var(--h-ok) 15%, #fff); color: var(--h-ok); }
.p-selo-cancel { background: #FDECEA; color: #B42318; }
.p-cancelado .p-nome, .p-cancelado .p-hora { text-decoration: line-through; opacity: .55; }
.p-encerrado { opacity: .55; }
.p-quero-bt { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 62px; padding: 8px 6px; border-radius: 14px; border: 1.5px solid var(--h-linha); background: #fff; color: var(--h-pri); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.p-quero-bt .ic { width: 19px; height: 19px; }
.p-quero-bt[aria-pressed="true"] { background: var(--h-pri); border-color: var(--h-pri); color: var(--h-pri-txt); }
.p-quero-bt:disabled { opacity: .6; }
.p-dica { display: flex; align-items: center; gap: 8px; margin: 16px 20px; font-size: 13.5px; color: var(--h-suave); }
.p-dica .ic { width: 17px; height: 17px; color: var(--h-pri); }
.p-mini { scroll-snap-align: start; flex: none; width: 168px; display: flex; flex-direction: column; gap: 3px; padding: 14px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); text-decoration: none; }
.p-mini-hora { font-weight: 800; font-size: 13px; color: var(--h-pri); }
.p-mini b { font-size: 15px; line-height: 1.25; }
.p-mini small { color: var(--h-suave); font-size: 12.5px; }
.p-mini .p-faixas { margin-top: 4px; }
.p-toast { position: fixed; left: 16px; right: 16px; bottom: calc(86px + var(--h-safe-b)); z-index: 40; max-width: 560px; margin: 0 auto; padding: 13px 16px; border-radius: 14px; background: var(--h-tinta); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.p-toast a { color: #fff; font-weight: 700; }

.p-quero-bt .p-ic-on, .p-quero-bt[aria-pressed="true"] .p-ic-off { display: none; }
.p-quero-bt[aria-pressed="true"] .p-ic-on { display: block; }

/* ---------------- mapa interativo ---------------- */
.h-pg-mapa .h-main { max-width: none; }
.m-app { position: fixed; left: 0; right: 0; top: calc(61px + var(--h-safe-t)); bottom: calc(64px + var(--h-safe-b)); display: flex; flex-direction: column; z-index: 1; }
.m-topo { flex: none; background: var(--h-fundo); }
.m-mapas, .m-filtros { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 0; scrollbar-width: none; }
.m-mapas::-webkit-scrollbar, .m-filtros::-webkit-scrollbar { display: none; }
.m-filtros { padding-bottom: 10px; }
.m-mapas a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--h-cartao); box-shadow: var(--h-sombra); font-weight: 650; font-size: 14px; text-decoration: none; }
.m-mapas a[aria-current] { background: var(--h-pri); color: var(--h-pri-txt); }
.m-filtros button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid var(--h-linha); border-radius: 999px; background: var(--h-cartao); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.m-filtros button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.m-filtros button[aria-pressed="true"] { background: var(--h-tinta); border-color: var(--h-tinta); color: #fff; }
.m-vista { position: relative; flex: 1; overflow: hidden; touch-action: none; background: color-mix(in srgb, var(--h-pri) 6%, #EDEAE4); cursor: grab; --k: 1; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.m-vista:active { cursor: grabbing; }
.m-plano { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.m-plano.anim { transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.m-plano > img { display: block; width: 100%; height: 100%; pointer-events: none; }
.m-pin { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, calc(-100% + 0px)) scale(var(--k)); transform-origin: 50% 100%; -webkit-tap-highlight-color: transparent; }
.m-pin-g { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--c); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.28); transition: transform .15s; }
.m-pin-g .ic { width: 14px; height: 14px; color: #fff; transform: rotate(45deg); }
.m-pin-r { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 1px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; color: var(--h-tinta); display: none; pointer-events: none; }
.m-rotulos .m-pin-r, .m-pin.sel .m-pin-r { display: block; }
.m-pin.sel { z-index: 4; }
.m-pin.sel .m-pin-g { transform: rotate(-45deg) scale(1.25); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 6px 16px rgba(0,0,0,.3); }
.m-pin.m-off { opacity: 0; pointer-events: none; }
.m-ctrl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; border-radius: 14px; background: var(--h-cartao); box-shadow: var(--h-sombra); overflow: hidden; z-index: 5; }
.m-ctrl button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--h-tinta); cursor: pointer; }
.m-ctrl button + button { border-top: 1px solid var(--h-linha); }
.m-ctrl .ic { width: 20px; height: 20px; }
.m-bt-lista { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--h-tinta); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; }
.m-bt-lista .ic { width: 18px; height: 18px; }
.m-dica { position: absolute; left: 12px; top: 12px; right: 68px; margin: 0; z-index: 5; padding: 8px 12px; border-radius: 12px; background: rgba(29, 42, 49, .78); color: #fff; font-size: 12.5px; line-height: 1.35; width: fit-content; pointer-events: none; }
.m-folha-cx { padding-top: 0; }
.m-folha-cx .h-folha-x { z-index: 2; background: rgba(255,255,255,.92); }
.m-f-foto { height: 190px; margin: 0 -20px 16px; background: #ddd center/cover; border-radius: 22px 22px 0 0; }
.m-folha-cx > div > :first-child:not(.m-f-foto) { margin-top: 26px; }
.m-f-tit { margin: 4px 0 6px; font: 600 23px/1.2 var(--h-titulo); padding-right: 40px; }
.m-f-sub { margin: 20px 0 8px; font: 600 16px/1.2 var(--h-titulo); }
.m-f-prog { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.m-f-prog a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--h-pri) 6%, #fff); text-decoration: none; }
.m-f-prog b { color: var(--h-pri); min-width: 44px; }
.m-f-ir { margin-top: 18px; }
.m-folha-cx .h-acoes { margin-top: 14px; }
.m-lista-cx h2 { margin: 6px 0 12px; font: 600 21px/1.2 var(--h-titulo); }
.m-busca { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--h-linha); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.m-busca .ic { width: 18px; height: 18px; color: var(--h-suave); }
.m-busca input { flex: 1; border: 0; outline: 0; padding: 12px 0; background: none; font-size: 15.5px; }
.m-lista { list-style: none; margin: 0; padding: 0; }
.m-lista button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--h-linha); background: none; text-align: left; cursor: pointer; }
.m-lista button > .ic { width: 18px; height: 18px; color: var(--h-suave); }
.m-li-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.m-li-ic .ic { width: 18px; height: 18px; }
.m-li-txt { flex: 1; min-width: 0; }
.m-li-txt b { display: block; font-size: 15px; }
.m-li-txt small { color: var(--h-suave); font-size: 13px; }
.m-li-txt .h-sit { margin-top: 2px; font-size: 13px; }
.m-lista-vazia { color: var(--h-suave); text-align: center; padding: 16px 0; }
.h-ver-mapa { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--h-pri); text-decoration: none; }
.h-ver-mapa .ic { width: 17px; height: 17px; }

/* ---------------- pedidos (manutenção e serviço de quarto) ---------------- */
.h-pub .h-main { padding-bottom: 30px; }
.h-pub-logo { max-height: 30px; max-width: 160px; object-fit: contain; vertical-align: middle; }
.pd { padding: 16px; display: grid; gap: 14px; }
.pd-cab h2 { margin: 6px 0 4px; font: 600 24px/1.2 var(--h-titulo); }
.pd-cab p { margin: 0; color: var(--h-suave); }
.pd-local { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); font-weight: 700; font-size: 14px; }
.pd-local .ic { width: 16px; height: 16px; }
.pd-sub { margin: 10px 0 2px; font: 600 16px/1.3 var(--h-titulo); }
.pd-form { display: grid; gap: 10px; }
.pd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pd-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-cat { position: relative; cursor: pointer; }
.pd-cat input { position: absolute; opacity: 0; }
.pd-cat > span { display: flex; flex-direction: column; gap: 8px; min-height: 96px; padding: 14px; background: var(--h-cartao); border: 2px solid transparent; border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.pd-cat i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: calc(var(--h-raio) * .6); background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); }
.pd-cat i .ic { width: 20px; height: 20px; }
.pd-cat b { font-size: 14.5px; line-height: 1.25; }
.pd-cat input:checked + span { border-color: var(--h-pri); background: color-mix(in srgb, var(--h-pri) 5%, #fff); }
.pd-cat input:focus-visible + span { outline: 2px solid var(--h-pri); outline-offset: 2px; }
.pd-mais { display: grid; gap: 12px; margin-top: 6px; }
.pd-form:not(.pd-escolhido) .pd-mais { opacity: .55; }
.h-campo label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 5px; }
.h-campo input, .h-campo select, .h-campo textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--h-linha); border-radius: calc(var(--h-raio) * .6); background: #fff; font: inherit; }
.h-campo textarea { resize: vertical; }
.pd-opc { color: var(--h-suave); font-weight: 400; }
.pd-foto { width: fit-content; cursor: pointer; }
.pd-entrada { display: grid; gap: 8px; padding: 12px; border-radius: calc(var(--h-raio) * .7); background: var(--h-cartao); box-shadow: var(--h-sombra); }
.pd-entrada-tit { font-weight: 650; font-size: 14px; }
.pd-op { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.pd-op input { width: 18px; height: 18px; accent-color: var(--h-pri); }
.pd-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-rodape { text-align: center; margin: 4px 0 0; }
.pd-rodape a, .pd-link { color: var(--h-pri); font-weight: 650; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.pd-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-lista a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); text-decoration: none; }
.pd-l-txt { flex: 1; min-width: 0; }
.pd-l-txt b { display: block; font-size: 15px; }
.pd-l-txt small { color: var(--h-suave); }
.pd-st { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #EEF1F3; color: var(--h-suave); white-space: nowrap; }
.pd-st-andamento, .pd-st-pausado { background: color-mix(in srgb, var(--h-dest) 22%, #fff); color: color-mix(in srgb, var(--h-dest) 45%, #000); }
.pd-st-concluido { background: color-mix(in srgb, var(--h-ok) 15%, #fff); color: var(--h-ok); }
.pd-passos { list-style: none; margin: 4px 0; padding: 16px; display: flex; justify-content: space-between; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); counter-reset: p; }
.pd-passos li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--h-suave); }
.pd-passos li span { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #E3E6E8; border: 3px solid var(--h-cartao); box-shadow: 0 0 0 2px #E3E6E8; }
.pd-passos li:not(:first-child)::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: #E3E6E8; }
.pd-passos li.feito span, .pd-passos li.atual span { background: var(--h-pri); box-shadow: 0 0 0 2px var(--h-pri); }
.pd-passos li.feito::before, .pd-passos li.atual::before { background: var(--h-pri) !important; }
.pd-passos li.atual b { color: var(--h-tinta); }
.pd-passos li.atual span { animation: pd-pulso 1.6s ease-in-out infinite; }
@keyframes pd-pulso { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--h-pri) 25%, transparent); } }
.pd-cancel { padding: 14px; border-radius: var(--h-raio); background: #FCEDEC; color: #B42318; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.pd-desc { margin: 0; color: #3E4C54; font-style: italic; }
.pd-resolveu { display: grid; gap: 10px; padding: 14px; border-radius: var(--h-raio); background: var(--h-cartao); box-shadow: var(--h-sombra); }
.pd-resp { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--h-suave); }
.pd-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-hist li { display: grid; gap: 2px; padding: 10px 12px; background: var(--h-cartao); border-radius: calc(var(--h-raio) * .7); box-shadow: var(--h-sombra); font-size: 14.5px; }
.pd-hist small { color: var(--h-suave); }
.pd-fotos { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-fotos img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .pd-passos li.atual span { animation: none; } }

/* validação do quarto e leitor de QR dentro do app */
.pd-validar { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 26px 18px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.pd-validar h2 { margin: 4px 0 0; font: 600 22px/1.2 var(--h-titulo); }
.pd-validar p { margin: 0; color: var(--h-suave); max-width: 40ch; }
.pd-validar .h-bt { width: 100%; max-width: 340px; }
.pd-validar-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); }
.pd-validar-ic .ic { width: 32px; height: 32px; }
.pd-validar-nota { font-size: 13.5px; }
.pd-trocar { margin-top: 6px !important; font-size: 13.5px; }
.pd-trocar .pd-link { font-size: inherit; }
.qr-leitor { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #0b1014; color: #fff; padding: var(--h-safe-t) 0 var(--h-safe-b); }
.qr-leitor[hidden] { display: none; }
.qr-leitor-topo { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.qr-leitor-x { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.qr-leitor-video { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; }
.qr-leitor-video video { width: 100%; height: 100%; object-fit: cover; }
.qr-mira { position: absolute; width: min(66vw, 300px); aspect-ratio: 1; border-radius: 22px; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); outline: 3px solid #fff; outline-offset: -3px; }
.qr-leitor-msg { margin: 0; padding: 16px 20px 22px; text-align: center; font-size: 15px; }

/* ------------------------------ Reserva de restaurante ------------------------------ */
.h-campo textarea { width: 100%; padding: 13px 15px; border-radius: calc(var(--h-raio) * .65); border: 1.5px solid var(--h-linha); background: #fff; font: inherit; font-size: 16px; resize: vertical; }
.h-campo textarea:focus { border-color: var(--h-pri); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--h-pri) 14%, transparent); }
.rr-h-reservar { margin-top: 14px; }
.rr-h { padding-bottom: 12px; }
.rr-h > .h-alerta { margin: 14px 16px 0; }
.rr-h-cab { padding-bottom: 4px; }
.rr-h-quem { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--h-suave); font-size: 14px; }
.rr-h-quem .ic { width: 16px; height: 16px; }
.rr-h-pessoas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 16px 0; padding: 10px 10px 10px 16px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); font-weight: 650; }
.rr-h-stepper { display: flex; align-items: center; gap: 4px; }
.rr-h-stepper b { min-width: 34px; text-align: center; font-size: 20px; font-variant-numeric: tabular-nums; }
.rr-h-stepper button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--h-linha); background: #fff; color: var(--h-pri); cursor: pointer; }
.rr-h-stepper button:disabled { opacity: .35; cursor: default; }
.rr-h-nota { margin: 8px 16px 0; color: var(--h-suave); font-size: 13.5px; }
.rr-h-dias a.rr-h-sem:not(.ativo) { opacity: .45; }
.rr-h-form { padding: 0 16px; }
.rr-h-turno { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.rr-h-turno legend { padding: 0; margin-bottom: 10px; font: 600 18px/1.2 var(--h-titulo); }
.rr-h-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.rr-h-slots label { position: relative; cursor: pointer; }
.rr-h-slots input { position: absolute; opacity: 0; pointer-events: none; }
.rr-h-slots span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px 4px; border-radius: calc(var(--h-raio) * .6); background: var(--h-cartao); border: 1.5px solid var(--h-linha); font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.rr-h-slots small { font-size: 11px; font-weight: 600; color: var(--h-suave); }
.rr-h-slots input:checked + span { background: var(--h-pri); border-color: var(--h-pri); color: var(--h-pri-txt); }
.rr-h-slots input:checked + span small { color: inherit; }
.rr-h-slots input:focus-visible + span { outline: 2.5px solid var(--h-pri); outline-offset: 2px; }
.rr-h-slots label.off { cursor: default; }
.rr-h-slots label.off span { opacity: .4; text-decoration: line-through; text-decoration-thickness: 1px; }
.rr-h-slots label.off span small { text-decoration: none; }
.rr-h-form > .h-alerta { margin: 16px 0 0; }
.rr-h-form .h-vazio { margin-top: 18px; }
.rr-h-campos { margin-top: 20px; }
.rr-h-regras { margin-top: 16px; padding: 14px 16px; border-radius: var(--h-raio); background: color-mix(in srgb, var(--h-pri) 6%, #fff); font-size: 14px; }
.rr-h-regras > b { display: flex; align-items: center; gap: 6px; }
.rr-h-regras > b .ic { width: 17px; height: 17px; color: var(--h-pri); }
.rr-h-regras .h-texto { margin-top: 6px; font-size: 14px; }
.rr-h-regras ul { margin: 8px 0 0; padding-left: 18px; color: var(--h-suave); }
.rr-h-form .h-cta { margin: 6px -16px 0; }
.rr-h-lista { display: grid; gap: 10px; padding: 0 16px; }
.rr-h-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); text-decoration: none; }
.rr-h-card > .ic { width: 18px; height: 18px; color: var(--h-suave); flex: none; }
.rr-h-data { flex: none; width: 52px; padding: 6px 0; text-align: center; border-radius: calc(var(--h-raio) * .6); background: color-mix(in srgb, var(--h-pri) 10%, #fff); color: var(--h-pri); line-height: 1.1; }
.rr-h-data b { display: block; font-size: 20px; }
.rr-h-data small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.rr-h-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rr-h-txt > span { color: var(--h-suave); font-size: 14px; }
.rr-h-st { justify-self: start; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #EEF0F1; color: var(--h-suave); }
.rr-h-st-ok { background: #E7F5EE; color: #17643F; }
.rr-h-st-aviso { background: #FFF5E0; color: #7A5212; }
.rr-h-st-erro { background: #FDECEA; color: #A42A1F; }
.rr-h-st-info { background: #E9F1FC; color: #2763B8; }
.rr-h-passadas .rr-h-card { opacity: .7; box-shadow: none; border: 1px solid var(--h-linha); }
.rr-h-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--h-pri); font-size: 13.5px; font-weight: 650; }
.rr-h-link .ic { width: 15px; height: 15px; }
.rr-h-ticket { display: grid; justify-items: center; gap: 8px; margin: 16px; padding: 26px 20px 20px; text-align: center; background: var(--h-cartao); border-radius: var(--h-raio); box-shadow: var(--h-sombra); }
.rr-h-ticket-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; }
.rr-h-ticket-ic .ic { width: 30px; height: 30px; }
.rr-h-ticket h2 { margin: 4px 0 0; font: 600 24px/1.15 var(--h-titulo); }
.rr-h-quando { margin: 0; font-size: 17px; font-weight: 650; }
.rr-h-ticket dl { width: 100%; margin: 10px 0 0; padding-top: 12px; border-top: 1px dashed var(--h-linha); display: grid; gap: 8px; text-align: left; }
.rr-h-ticket dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.rr-h-ticket dt { color: var(--h-suave); }
.rr-h-ticket dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.rr-h-motivo { margin: 4px 0 0; padding: 10px 12px; width: 100%; border-radius: 10px; background: #FDECEA; color: #A42A1F; font-size: 14px; }
.rr-h-ticket .rr-h-nota { margin: 0; }
.rr-h-acoes { padding: 0 16px; margin-top: 0; }
.rr-h-acoes .h-bt { flex: 1 1 auto; }
.rr-h-acoes form { flex: 1 1 auto; display: flex; }
.rr-h-acoes form .h-bt { flex: 1; }
.rr-h-acoes .rr-h-nota { margin: 4px 0 0; }
.rr-h .h-push { margin: 0 16px 14px; }
.rr-h-ticket .rr-h-st { justify-self: center; }
.h-ajuda { margin: -4px 0 4px; color: var(--h-suave); font-size: 13px; line-height: 1.45; }
.rr-h-pessoas > span small { display: block; font-size: 12.5px; font-weight: 500; color: var(--h-suave); }
.rr-h-saldo { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--h-pri) 8%, #fff); color: var(--h-pri); font-size: 13.5px; font-weight: 600; }
.rr-h-saldo .ic { width: 16px; height: 16px; flex: none; }
.rr-h-saldo-lista { margin: 14px 16px 0; }
.rr-h-nota a { display: inline-flex; align-items: center; gap: 5px; color: var(--h-pri); font-weight: 650; text-decoration: none; }
.rr-h-nota a .ic { width: 16px; height: 16px; }
.rr-h-bloq { padding: 8px 0; }
.rr-h-juntos, .rr-h-restr { border: 0; margin: 20px 0 0; padding: 14px 16px; min-width: 0; border-radius: var(--h-raio); background: var(--h-cartao); box-shadow: var(--h-sombra); }
.rr-h-juntos legend, .rr-h-restr legend { float: left; width: 100%; display: flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.rr-h-juntos legend a { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--h-suave); }
.rr-h-juntos legend .ic { width: 17px; height: 17px; color: var(--h-pri); }
.rr-h-restr legend em, .rr-h-juntos legend em { font-style: normal; font-weight: 500; color: var(--h-suave); font-size: 13px; }
.rr-h-juntos .rr-h-nota { clear: both; margin: 0 0 10px; }
.rr-h-juntos .h-campos-2 + .h-campos-2 { margin-top: 2px; }
.rr-h-chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rr-h-chips label { position: relative; cursor: pointer; }
.rr-h-chips input { position: absolute; opacity: 0; pointer-events: none; }
.rr-h-chips span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--h-linha); background: #fff; font-size: 13.5px; font-weight: 600; }
.rr-h-chips input:checked + span { background: var(--h-pri); border-color: var(--h-pri); color: var(--h-pri-txt); }
.rr-h-chips input:focus-visible + span { outline: 2.5px solid var(--h-pri); outline-offset: 2px; }
.rr-h-restr .h-campo { margin: 0; }
