/* Hospedagem (12.0.0.0): páginas públicas abertas pelos QR, pensadas para o celular. */
:root { --hp-texto: #1c2333; --hp-suave: #5b6685; --hp-borda: #dde3f0; --hp-fundo: #eef1f8; --hp-azul: #1f3b8a; --hp-azul-claro: #e8eefc; --hp-erro: #b42318; --hp-ok: #127a43; }
* { box-sizing: border-box; }
body.hp { margin: 0; background: var(--hp-fundo); color: var(--hp-texto); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hp-pagina { max-width: 520px; margin: 0 auto; padding: 16px; }
.hp-pagina.larga { max-width: 980px; }
.hp-cartao { background: #fff; border: 1px solid var(--hp-borda); border-radius: 14px; padding: 20px; }
.hp-lugar { color: var(--hp-suave); font-size: 14px; margin: 0; }
.hp-cartao h1 { font-size: 24px; margin: 2px 0 12px; line-height: 1.25; }
.hp-oferta { background: var(--hp-azul-claro); color: var(--hp-azul); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; white-space: pre-line; }
.hp-escolha { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hp-borda); border-radius: 10px; overflow: hidden; margin: 6px 0 4px; position: relative; }
.hp-escolha input { position: absolute; opacity: 0; pointer-events: none; }
.hp-escolha label { text-align: center; padding: 10px 6px; cursor: pointer; font-size: 15px; }
.hp-escolha input:checked + label { background: var(--hp-azul); color: #fff; }
.hp-escolha input:focus-visible + label { outline: 2px solid var(--hp-azul); outline-offset: -4px; }
.hp-campo { display: block; margin: 12px 0 0; font-size: 14px; color: var(--hp-suave); }
.hp-campo input, .hp-campo textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--hp-texto); border: 1px solid #c7cfe2; border-radius: 8px; background: #fff; }
.hp-campo input:focus, .hp-campo textarea:focus { outline: 2px solid var(--hp-azul); border-color: var(--hp-azul); }
.hp-fone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px; }
.hp-fone .hp-campo, .hp-campo select { min-width: 0; max-width: 100%; }
.hp-campo select { display: block; width: 100%; margin-top: 4px; padding: 10px 8px; font: inherit; font-size: 16px; color: var(--hp-texto); border: 1px solid #c7cfe2; border-radius: 8px; background: #fff; min-height: 46px; }
.hp-duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hp-duas .hp-campo, .hp-campo input { min-width: 0; max-width: 100%; }
.hp-campo input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 44px; }
.hp-botao { display: block; margin-top: 18px; width: 100%; padding: 12px; border: 0; border-radius: 10px; background: var(--hp-azul); color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; }
.hp-botao.perigo { background: #fff; color: var(--hp-erro); border: 1px solid var(--hp-erro); }
.hp-erro { background: #fdecea; color: var(--hp-erro); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.hp-ok { color: var(--hp-ok); }
.hp-nota { font-size: 13px; color: var(--hp-suave); margin: 8px 0 0; }
.hp-escondido { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-rodape { text-align: center; font-size: 12px; color: var(--hp-suave); margin: 16px 0; }
.hp-rodape a { color: var(--hp-suave); }
.hp-com-foto { padding-top: 0; overflow: hidden; }
.hp-capa { display: block; width: calc(100% + 40px); max-width: none; margin: 0 -20px 14px; aspect-ratio: 16 / 9; object-fit: cover; }
.hp-dados { margin: 0 0 12px; padding: 0; list-style: none; }
.hp-dados li { padding: 6px 0; border-top: 1px solid var(--hp-borda); overflow-wrap: anywhere; }
.hp-dados b { font-weight: 600; }
.hp-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
[data-so-pre-reserva][hidden], [data-estimativa][hidden], [data-calendario][hidden], [data-alerta-datas][hidden], [data-datas][hidden] { display: none; }
.hp-estimativa { background: #eef7f1; color: #12512f; border: 1px solid #bfe3cc; border-radius: 10px; padding: 10px 12px; margin-top: 12px; line-height: 1.5; }
.hp-obrigado { text-align: center; }
.hp-obrigado h1 { font-size: 28px; margin-bottom: 8px; }
.hp-selo { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #e3f4ea; color: var(--hp-ok); display: flex; align-items: center; justify-content: center; }
.hp-destaque { font-size: 18px; margin: 0 0 6px; }
.hp-obrigado .hp-oferta { text-align: left; margin: 16px 0; }
.hp-passos { text-align: left; margin: 16px 0; padding: 0; list-style: none; }
.hp-passos li { padding: 10px 0 10px 26px; border-top: 1px solid var(--hp-borda); position: relative; }
.hp-passos li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--hp-azul); }
.hp-whats { background: #128c4a; }
.hp-despedida { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--hp-borda); color: var(--hp-suave); font-size: 15px; }
.hp-despedida b { color: var(--hp-texto); }
/* 13.5.0.0: endereço com mapa da rua e selo do long stay */
.hp-mapa { margin: 0 0 16px; }
.hp-mapa iframe { display: block; width: 100%; height: 200px; border: 0; border-radius: 10px; background: var(--hp-fundo); }
.hp-mapa a { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--hp-azul); }
.hp-selos { margin: 0 0 6px; font-size: 16px; }
.hp-selo-tag { display: inline-block; background: var(--hp-azul-claro); color: var(--hp-azul); border-radius: 999px; padding: 3px 10px; font-size: 13px; margin-right: 6px; }

/* 14.2.0.0: calendário com noites ocupadas, aviso de datas ocupadas e valor da reserva em tabela */
.hp-calendario { border: 1px solid var(--hp-borda); border-radius: 12px; padding: 10px; margin-top: 6px; }
.hp-cal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hp-cal-topo b { font-size: 15px; }
.hp-cal-topo button { border: 1px solid var(--hp-borda); background: #fff; border-radius: 8px; width: 38px; height: 38px; font-size: 18px; color: var(--hp-texto); cursor: pointer; }
.hp-cal-topo button:disabled { opacity: .35; cursor: default; }
.hp-cal-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.hp-cal-sem { font-size: 12px; color: var(--hp-suave); padding: 4px 0; }
.hp-cal-dia { border: 0; background: none; font: inherit; font-size: 15px; color: var(--hp-texto); padding: 8px 0; border-radius: 8px; cursor: pointer; min-height: 40px; }
.hp-cal-dia:disabled { color: #a9b1c6; cursor: default; }
.hp-cal-dia.ocupado { text-decoration: line-through; }
.hp-cal-dia.meio { background: var(--hp-azul-claro); color: var(--hp-azul); border-radius: 0; }
.hp-cal-dia.ponta { background: var(--hp-azul); color: #fff; font-weight: 600; }
.hp-cal-dia:focus-visible { outline: 2px solid var(--hp-azul); }
.hp-cal-legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--hp-suave); margin-top: 8px; }
.hp-cal-legenda i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: var(--hp-azul); vertical-align: -1px; margin-right: 4px; }
.hp-cal-legenda s { color: #a9b1c6; }
.hp-cal-escolha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; align-items: stretch; }
.hp-cal-escolha div { border: 1px solid #c7cfe2; border-radius: 8px; padding: 6px 10px; font-size: 15px; }
.hp-cal-escolha small { display: block; font-size: 12px; color: var(--hp-suave); }
.hp-cal-escolha button { border: 0; background: none; color: var(--hp-azul); font: inherit; font-size: 14px; cursor: pointer; }
.hp-alerta-datas { display: block; background: #fdecea; color: var(--hp-erro); border: 1px solid #f3b8b2; border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 14px; }
.hp-alerta-datas b { display: block; font-size: 15px; margin-bottom: 2px; }
.hp-valor-titulo { font-weight: 600; font-size: 16px; margin: 0 0 6px; color: var(--hp-texto); }
.hp-valor { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--hp-texto); }
.hp-valor td { padding: 5px 0; vertical-align: top; }
.hp-valor td:first-child { color: var(--hp-suave); padding-right: 10px; }
.hp-valor td:last-child { text-align: right; white-space: nowrap; }
.hp-valor-total td { border-top: 1px solid #bfe3cc; padding-top: 8px; font-weight: 600; color: var(--hp-texto) !important; }
.hp-valor-total td:last-child { font-size: 20px; }

/* 14.4.0.0: cupom de desconto e linha do desconto */
.hp-cupom label { display: block; }
.hp-cupom-linha { display: flex; gap: 8px; margin-top: 4px; }
.hp-cupom-linha input { flex: 1; min-width: 0; margin-top: 0 !important; text-transform: uppercase; }
.hp-botao-sec { border: 1px solid var(--hp-azul); background: #fff; color: var(--hp-azul); border-radius: 8px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.hp-botao-sec:disabled { opacity: .5; }
.hp-cupom-aviso { margin: 4px 0 0; font-size: 13px; min-height: 1em; }
.hp-erro-texto { color: var(--hp-erro); }
.hp-valor-desconto td { color: var(--hp-ok) !important; font-weight: 600; }
.hp-selo-desconto { display: inline-block; background: #e3f4ea; color: var(--hp-ok); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.hp-selos s { color: var(--hp-suave); font-weight: 400; }

.hp-copyright { margin-top: -8px; }

/* 14.6.1.0: atividade da empresa na página /contato (antes ficava no login) */
.hp-sobre { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--hp-suave); }
.hp-sobre h2 { font-size: 15px; color: var(--hp-texto); margin: 0 0 4px; }
.hp-sobre p { margin: 0 0 14px; }
.hp-sobre p:last-child { margin-bottom: 0; }

/* 14.5.0.0: reserva online */
[data-so-reserva][hidden], [data-nota-tipo][hidden] { display: none; }
.hp-aviso-prazo { background: #fff6e5; color: #7a4b00; border-radius: 10px; padding: 10px 12px; margin: 12px 0; }

[data-erro-tipo][hidden] { display: none; }
.hp-aviso-tipo { background: #fdecea; color: var(--hp-erro); border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; }

/* 18.8.1.0: aviso do CPF na hora */
.hp-erro-campo { display: block; margin-top: 4px; color: #b42318; font-size: 13px; min-height: 1em; }

/* 18.12.0.0: galeria de fotos (miniaturas em WebP; tocar abre a grande) e "Conheça seus anfitriões" */
.hp-galeria { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.hp-galeria a { position: relative; flex: 0 0 auto; scroll-snap-align: start; text-decoration: none; }
.hp-galeria img { display: block; width: 132px; height: 99px; object-fit: cover; border-radius: 8px; border: 1px solid var(--hp-borda); }
.hp-galeria span { position: absolute; left: 4px; bottom: 4px; background: rgba(20, 28, 50, .72); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 6px; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-anfitrioes { border: 1px solid var(--hp-borda); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.hp-anfitrioes h2 { font-size: 17px; margin: 0 0 10px; }
.hp-anfitrioes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.hp-anfitrioes li { display: flex; align-items: center; gap: 10px; }
.hp-anfitrioes img, .hp-anf-ini { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.hp-anf-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--hp-azul-claro); color: var(--hp-azul); font-weight: 700; font-size: 20px; }
.hp-anfitrioes li span { display: flex; flex-direction: column; line-height: 1.3; }
.hp-anfitrioes small { color: var(--hp-suave); font-size: 13px; }
