/* Hallmark · shape: app screen · genre: editorial · theme: brand (identidade travada no pedido: areia, verde-mar, Bricolage Grotesque e Inter) · job: book · posture: restrained · surface: absolute
 * nav: cabeçalho de app com links e ação de ajuda, barra inferior no celular · footer: uma linha com créditos · hero: stage, título e busca à esquerda, fotos em camadas à direita · imagery: photographs · signature: preço total e selo de dono verificado em cada anúncio, mapa com pins de preço · states: default, hover, focus, active, disabled, loading, empty, success
 * contrast: pass · fold: pass · v2 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V3 · weakest: R, o pedido traz muito movimento; cada animação marca uma mudança de estado e todas param com reduced motion */
/* Hallmark · waive 24b · chips, selos, pins do mapa e listas do painel usam 6, 10 e 14 px · densidade de app no painel do anfitrião e no mapa, onde o passo de 4 px sobra ou falta */
/* Hallmark · dismissed 49 · os botões de WhatsApp e de Pix quebram linha de propósito no celular de 360 px, onde nowrap estouraria o painel */
/* Hallmark · dismissed 29 · o vidro fica só no cabeçalho e na barra inferior fixos do app, por cima das fotos que rolam */
/* Hallmark · dismissed 3 · as três colunas do painel do anfitrião e dos cards de confiança têm conteúdo diferente, não são tiles de ícone repetidos */
/* Hallmark · answered F7 · a busca vira pílula só no desktop, como um controle único; caixas e fotos usam o raio de card */
/* Hallmark · answered F5 · o icon-btn é um controle (passo de hóspedes, pausa), não um ícone decorativo em moeda */
/* Hallmark · waive 7b · superfície e texto sobre o verde usam #FFFFFF · a identidade do AlugAí fixa a superfície branca sobre o fundo areia #F7F5F0 */
/* Hallmark · waive 11 · zoom suave da foto no hover do card de anúncio · o cliente pediu o zoom da foto do anúncio como micro-interação */

/* ============ Tokens ============ */
:root {
  --sand: #F7F5F0;
  --sand-2: #EFEBE2;
  --sand-glass: rgba(247, 245, 240, 0.9);
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.92);
  --ink: #17201C;
  --ink-2: #5B635F;
  --sea: #0B6B57;
  --sea-deep: #08513F;
  --sea-tint: #E6F0EC;
  --sea-soft: #BFE3D6;
  --warn-bg: #FFF6E3;
  --warn-ink: #5A4523;
  --line: #E4E0D6;
  --heart: #C2413A;
  --on-sea: #FFFFFF;
  --skeleton: #ECE8DE;
  --shimmer: rgba(255, 255, 255, 0.6);
  --map-land: #EFEADD;
  --map-land-2: #E6E0CF;
  --map-sea: #D3E5DE;
  --map-water: #BFD9CF;
  --map-road: #FFFFFF;
  --map-label: #5B635F;
  --shadow-ink: rgba(23, 32, 28, 0.08);
  --shadow-ink-2: rgba(23, 32, 28, 0.14);
  --scrim: rgba(23, 32, 28, 0.45);
  --focus: #0B6B57;
  --on-ink-soft: rgba(255, 255, 255, 0.14);
  --on-ink-line: rgba(255, 255, 255, 0.18);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px var(--shadow-ink);
  --shadow-2: 0 10px 30px -12px var(--shadow-ink-2), 0 2px 6px var(--shadow-ink);
  --shadow-3: 0 24px 60px -24px var(--shadow-ink-2), 0 4px 12px var(--shadow-ink);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.7, 0.2, 1);

  --header-h: 68px;
  --tabbar-h: 68px;
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--sea);
  scrollbar-color: var(--ink-2) var(--sand);
}
::selection { background: var(--sea-soft); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--sea); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--sea-deep); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-sea); padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus-visible { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 24px; height: 24px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color 160ms ease, transform 160ms var(--ease-out), box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--sea); color: var(--on-sea); }
.btn-primary:hover { background: var(--sea-deep); color: var(--on-sea); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sea-tint); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--sea); padding-inline: 8px; }
.btn-quiet:hover { background: var(--sea-tint); color: var(--sea-deep); }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 1.0625rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.icon-btn:hover { background: var(--sea-tint); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.icon-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ Header ============ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--sand-glass);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .shell { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: none; gap: 4px; margin-left: 16px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; border-radius: var(--r-sm);
}
.nav a:hover { color: var(--ink); background: var(--sand-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--sea); border-radius: 2px;
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.help-label { display: none; }

/* ============ Tab bar (celular) ============ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a, .tabbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: var(--tabbar-h); padding: 6px 4px; border: 0; background: none;
  color: var(--ink-2); font-size: 0.75rem; font-weight: 500; text-decoration: none;
}
.tabbar a[aria-current="page"] { color: var(--sea); font-weight: 700; }
.tabbar a[aria-current="page"] .icon { stroke-width: 2.2; }
.tabbar a:focus-visible, .tabbar button:focus-visible { outline-offset: -4px; }
.tabbar a:active .icon, .tabbar button:active .icon { transform: scale(0.9); }
.tabbar .icon { transition: transform 160ms var(--ease-out); }

main { display: block; padding-bottom: 40px; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .help-label { display: inline; }
  .tabbar { display: none; }
  main { padding-bottom: 64px; }
}

/* ============ Footer ============ */
.foot { border-top: 1px solid var(--line); padding: 24px 0 calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); color: var(--ink-2); font-size: 0.875rem; }
.foot .shell { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
@media (min-width: 900px) { .foot { padding-bottom: 28px; } }

/* ============ Dialog (ajuda) ============ */
dialog {
  border: 0; border-radius: var(--r-xl); padding: 0; width: min(440px, calc(100% - 32px));
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3);
}
dialog::backdrop { background: var(--scrim); }
dialog[open] { animation: dialog-in 260ms var(--ease-out); }
.dialog-body { padding: 28px; display: grid; gap: 14px; }
.dialog-body h2 { font-size: 1.5rem; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* ============ Reveal ============ */
html.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 600ms var(--ease-soft), transform 700ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ============ HERO (busca) ============ */
.hero { padding: 24px 0 8px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { display: grid; gap: 16px; max-width: 34rem; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; text-wrap: initial; }
.hero h1 .line { display: block; }
.hero h1 .w { display: inline-block; animation: word-in 800ms var(--ease-out) both; animation-delay: calc(var(--i) * 110ms + 80ms); }
@keyframes word-in { from { opacity: 0; transform: translateY(0.35em); } }
.rot { display: inline-grid; vertical-align: top; color: var(--sea); }
.rot > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity 520ms var(--ease-soft), transform 620ms var(--ease-out); }
html.js .rot > span:not(.is-on) { opacity: 0; transform: translateY(0.45em); }
html.js .rot > span.is-out { opacity: 0; transform: translateY(-0.45em); }
html:not(.js) .rot > span + span { visibility: hidden; }
.hero-lede { font-size: 1.125rem; color: var(--ink-2); max-width: 30rem; }
.hero-lede-row { display: flex; align-items: center; gap: 12px; }
.btn-demo { background: var(--surface); color: var(--sea); border: 2px solid var(--sea); }
.btn-demo:hover { background: var(--sea-tint); color: var(--sea-deep); }
.btn-demo .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.pause-btn { width: 44px; height: 44px; flex: none; }
.pause-btn .icon { width: 16px; height: 16px; }

.hero-art { position: relative; height: clamp(220px, 58vw, 300px); }
.layer { position: absolute; margin: 0; will-change: transform; }
.layer .frame {
  width: 100%; height: 100%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3);
  animation: layer-in 1100ms var(--ease-out) both; animation-delay: var(--ld, 0ms);
}
.layer img { width: 100%; height: 100%; object-fit: cover; }
@keyframes layer-in { from { transform: translateY(28px) scale(1.04); } }
.layer-a { right: 0; top: 0; width: 66%; height: 88%; z-index: 1; }
.layer-b { left: 0; bottom: 4%; width: 46%; height: 56%; z-index: 2; }
.layer-c { right: 6%; bottom: -4%; width: 30%; height: 34%; z-index: 3; display: none; }
.layer-b .frame, .layer-c .frame { border: 4px solid var(--surface); }
.float-tag {
  position: absolute; left: 30%; top: 10%; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-2);
  font-size: 0.875rem; line-height: 1.3;
  animation: float-in 900ms var(--ease-out) 700ms both;
}
.float-tag .seal { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--sea-tint); color: var(--sea); }
.float-tag strong { display: block; font-weight: 600; }
@keyframes float-in { from { opacity: 0; transform: translateY(12px); } }

@media (min-width: 900px) {
  .hero { padding: 40px 0 8px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; }
  .hero-art { height: clamp(360px, 33vw, 440px); }
  .layer-c { display: block; }
  .float-tag { left: 22%; top: 14%; }
}

/* ============ Busca ============ */
.search {
  position: relative; z-index: 6;
  margin-top: 20px;
  display: grid; gap: 10px;
  background: var(--surface); border-radius: var(--r-xl); padding: 12px;
  box-shadow: var(--shadow-3);
}
.field { position: relative; display: grid; gap: 2px; min-width: 0; padding: 8px 14px; border-radius: var(--r-md); }
.field:hover { background: var(--sand); }
.field > label, .field-label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field input[list] {
  border: 0; padding: 0; min-height: 28px; background: transparent; color: var(--ink); width: 100%;
  font-size: 1rem;
}
.field input:focus-visible { outline: none; }
.field:focus-within { background: var(--sand); outline: 2px solid var(--focus); outline-offset: -2px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pop { position: relative; }
.pop > summary {
  list-style: none; display: grid; gap: 2px; padding: 8px 14px; min-height: 56px; border-radius: var(--r-md); cursor: pointer;
}
.pop > summary::-webkit-details-marker { display: none; }
.pop > summary:hover { background: var(--sand); }
.pop > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.pop .value { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-panel {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(320px, 86vw);
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 18px;
  display: grid; gap: 14px;
  animation: pop-in 220ms var(--ease-out);
}
.pop-right .pop-panel { left: auto; right: 0; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }
.pop-panel label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.input {
  min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); width: 100%; font-size: 1rem; font-weight: 400;
}
.input:hover { border-color: var(--ink-2); }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.input:disabled { opacity: 0.55; cursor: not-allowed; background: var(--sand); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper-ctrl { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 1.5ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper .icon-btn { width: 44px; height: 44px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 48px; height: 28px; flex: none; border-radius: var(--r-pill); background: var(--line); }
.switch .track::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sea); opacity: 0; transition: opacity 180ms ease; }
.switch .track::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-1); transition: transform 220ms var(--ease-out);
}
.switch input:checked + .track::before { opacity: 1; }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--focus); outline-offset: 2px; }
.search .btn-primary { min-height: 52px; }

@media (min-width: 760px) {
  .search {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center; gap: 0; padding: 8px 8px 8px 6px; border-radius: var(--r-pill);
  }
  .search-row { display: contents; }
  .search .field, .search .pop > summary { border-radius: var(--r-pill); padding-inline: 22px; }
  .search .search-row .pop { border-left: 1px solid var(--line); }
  .search .btn-primary { border-radius: var(--r-pill); padding: 0 26px; margin-left: 6px; }
}

/* ============ Faixa de confiança ============ */
.trust { padding: 28px 0 12px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; }
.trust .ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: var(--sea-tint); color: var(--sea); }
.trust strong { display: block; font-weight: 600; }
.trust span.muted { font-size: 0.9375rem; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ============ Resultados ============ */
.results-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; padding-top: 28px; }
.results-head h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px var(--gutter) 6px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; isolation: isolate; flex: none;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  font-weight: 500; font-size: 0.9375rem; white-space: nowrap;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.chip::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ink);
  opacity: 0; transform: scale(0.85); transition: opacity 220ms var(--ease-soft), transform 320ms var(--ease-out);
}
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: scale(0.97); }
.chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip[aria-pressed="true"] { color: var(--on-sea); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { opacity: 1; transform: none; }
.chip .icon { width: 18px; height: 18px; }

.browse { display: grid; gap: 28px; padding-top: 12px; }
.list-col { min-width: 0; position: relative; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 20px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.empty { display: none; padding: 32px; border: 1px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--ink-2); }
.empty.is-on { display: block; }

/* Card */
.card { position: relative; min-width: 0; }
.card-link { display: grid; gap: 12px; color: var(--ink); text-decoration: none; border-radius: var(--r-lg); }
.card-link:hover { color: var(--ink); }
.card-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.card-media { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); overflow: hidden; background: var(--skeleton); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card-link:hover .card-media img { transform: scale(1.045); }
.badge {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px;
  background: var(--surface-glass); color: var(--ink); border-radius: var(--r-pill);
  font-size: 0.8125rem; font-weight: 600; box-shadow: var(--shadow-1);
}
.badge .icon { width: 16px; height: 16px; color: var(--sea); }
.card-body { display: grid; gap: 4px; }
.card-place { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.card-type { color: var(--ink-2); font-weight: 500; font-size: 0.875rem; white-space: nowrap; }
.card-title { color: var(--ink-2); }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 0.875rem; }
.card-meta .icon { width: 16px; height: 16px; }
.card-price { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.card-price span { color: var(--ink-2); font-size: 0.875rem; }
.card.is-hot .card-media { box-shadow: 0 0 0 3px var(--sea); }

.fav {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--surface-glass); color: var(--ink); box-shadow: var(--shadow-1);
  transition: transform 160ms var(--ease-out);
}
.fav:hover { transform: scale(1.06); }
.fav:active { transform: scale(0.92); }
.fav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fav .icon { width: 22px; height: 22px; }
.fav .heart-fill { fill: var(--heart); stroke: var(--heart); transform-origin: center; transform-box: fill-box; transition: opacity 160ms ease, transform 300ms var(--ease-out); }
.fav[aria-pressed="false"] .heart-fill { opacity: 0; transform: scale(0.4); }
.fav[aria-pressed="true"] { color: var(--heart); }
.fav::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--heart);
  opacity: 0; transform: scale(0.6); pointer-events: none;
}
.fav.is-pop .icon { animation: heart-pop 420ms var(--ease-out); }
.fav.is-pop::after { animation: heart-ring 520ms var(--ease-out); }
@keyframes heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes heart-ring { 0% { opacity: 0.7; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.5); } }

/* Skeleton */
.skeletons { display: none; }
.list-col.is-loading .grid { display: none; }
.list-col.is-loading .skeletons { display: grid; }
.sk { display: grid; gap: 12px; }
.sk-media, .sk-line { position: relative; overflow: hidden; background: var(--skeleton); }
.sk-media { aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); }
.sk-line { height: 14px; border-radius: 6px; }
.sk-line.w60 { width: 60%; } .sk-line.w80 { width: 80%; } .sk-line.w40 { width: 40%; height: 20px; }
.sk-media::after, .sk-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--shimmer), transparent);
  transform: translateX(-100%); animation: shimmer 1.1s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* Mapa */
.map-col { display: none; }
.map-col.is-open { display: block; }
.map-toggle {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 30;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--on-sea); font-weight: 600;
  box-shadow: var(--shadow-3);
}
.map-toggle:active { transform: translateX(-50%) scale(0.97); }
html.js .map-toggle { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(12px); transition: opacity 200ms ease, transform 260ms var(--ease-out); }
html.js .map-toggle.is-visible { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.map-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.map {
  position: relative; aspect-ratio: 400 / 560; margin-inline: auto;
  width: min(100%, calc((100dvh - var(--header-h) - 40px) * 400 / 560));
  border-radius: var(--r-xl); overflow: hidden; background: var(--map-sea); box-shadow: var(--shadow-1);
}
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: var(--map-land); }
.map-hills { fill: var(--map-land-2); }
.map-water { fill: var(--map-water); }
.map-coast { fill: none; stroke: var(--map-water); stroke-width: 2; }
.map-road { fill: none; stroke: var(--map-road); stroke-width: 3; stroke-linecap: round; }
.map-label { font-family: var(--font-body); font-size: 11px; fill: var(--map-label); font-weight: 500; }
.map-label-sea { font-family: var(--font-display); font-size: 13px; fill: var(--sea); opacity: 0.55; font-weight: 600; }
.map-note { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-glass); font-size: 0.75rem; color: var(--ink-2); }
.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  transform: translate(-50%, -100%);
  border: 0; padding: 0 0 7px; background: none;
}
.pin.is-active { z-index: 5; }
.pin .tag {
  position: relative; display: block; padding: 7px 11px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 0.8125rem; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-2); white-space: nowrap;
  transition: transform 240ms var(--ease-out);
}
.pin .tag::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: 0; transition: opacity 180ms ease;
}
.pin .tag b { position: relative; font-weight: inherit; }
.pin .tag::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  background: var(--surface); transform: rotate(45deg); border-radius: 2px;
}
.pin:hover .tag, .pin.is-active .tag { transform: scale(1.08); }
.pin:hover .tag::before, .pin.is-active .tag::before { opacity: 1; }
.pin:hover .tag b, .pin.is-active .tag b { color: var(--on-sea); }
.pin:hover .tag::after, .pin.is-active .tag::after { background: var(--ink); }
.pin:focus-visible { outline: none; }
.pin:focus-visible .tag { outline: 3px solid var(--focus); outline-offset: 2px; }
.pin .ring {
  position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px; margin-left: -9px; margin-bottom: -9px;
  border-radius: 50%; background: var(--sea); opacity: 0; pointer-events: none;
}
.pin.is-active .ring { animation: pin-pulse 1.4s var(--ease-out) infinite; }
@keyframes pin-pulse { 0% { opacity: 0.55; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.6); } }
.pin[hidden] { display: none; }
html.js .map:not(.is-dropped) .pin .tag { opacity: 0; }

@media (min-width: 1100px) {
  .browse { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .map-col { display: block; position: sticky; top: calc(var(--header-h) + 20px); }
  .map-toggle { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .map-toggle { bottom: 24px; }
}

/* ============ Como funciona ============ */
.how { padding: 72px 0 24px; }
.how-head { display: grid; gap: 10px; max-width: 40rem; }
.flow { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.flow-track { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.flow-track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-base { stroke: var(--line); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.flow-progress { stroke: var(--sea); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.coin { opacity: 0; transition: opacity 240ms ease; }
.coin {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  display: grid; place-items: center; border-radius: 50%; background: var(--sea); color: var(--on-sea);
  box-shadow: 0 0 0 5px var(--sea-tint); will-change: transform;
}
.coin .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.node {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface); color: var(--ink-2); border: 2px solid var(--line);
}
.node::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--sea);
  opacity: 0; transform: scale(0.6); transition: opacity 360ms var(--ease-soft), transform 520ms var(--ease-out);
}
.node .icon { position: relative; width: 26px; height: 26px; transition: transform 520ms var(--ease-out); }
.step.is-on .node { color: var(--on-sea); }
.step.is-on .node::before { opacity: 1; transform: none; }
.step.is-on .node .icon { animation: node-pop 520ms var(--ease-out); }
@keyframes node-pop { 40% { transform: scale(1.22); } }
.step-text { display: grid; gap: 6px; padding-top: 4px; opacity: 0.5; transition: opacity 420ms var(--ease-soft); }
.step.is-on .step-text { opacity: 1; }
.step-when { font-size: 0.875rem; font-weight: 600; color: var(--sea); }
html:not(.js) .step-text { opacity: 1; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .step { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* ============ Página do anúncio ============ */
.crumbs { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 8px; }
.back { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; padding-right: 8px; border-radius: var(--r-sm); }
.back:hover { color: var(--sea); }
.crumb-actions { display: flex; gap: 8px; }
@media (max-width: 599px) {
  .crumb-actions .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .crumb-actions .btn { width: 44px; padding: 0; }
}
.listing-head { display: grid; gap: 8px; padding: 8px 0 20px; }
.listing-head .where { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); }
.listing-head .where span { display: inline-flex; align-items: center; gap: 6px; }

.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count {
  position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--scrim); color: var(--on-sea); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.photo-main { view-transition-name: foto-ubatuba; }
@media (min-width: 760px) {
  .gallery { margin-inline: 0; }
  .gallery-track {
    display: grid; overflow: visible; gap: 8px; border-radius: var(--r-xl); overflow: hidden;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: clamp(340px, 40vw, 480px);
  }
  .gallery figure { aspect-ratio: auto; overflow: hidden; }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery img { transition: transform 900ms var(--ease-out); }
  .gallery figure:hover img { transform: scale(1.03); }
  .gallery-count { display: none; }
}

.listing { display: grid; gap: 36px; padding-top: 28px; }
.listing-main { display: grid; gap: 36px; min-width: 0; }
.section { display: grid; gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; padding-top: 0; }
.section > .btn { justify-self: start; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 0.9375rem; }
.fact .icon { width: 18px; height: 18px; color: var(--sea); }

.trust-cards { display: grid; gap: 12px; }
.tcard { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.tcard .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--sea-tint); color: var(--sea); }
.tcard h3 { font-size: 1.0625rem; }
.tcard p { color: var(--ink-2); font-size: 0.9375rem; margin-top: 4px; }
@media (min-width: 760px) { .trust-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tcard { grid-template-columns: minmax(0, 1fr); } }

.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 24px; }
.amenities li { display: flex; align-items: center; gap: 12px; }
.amenities .icon { width: 22px; height: 22px; color: var(--ink-2); }
@media (min-width: 600px) { .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.policy { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.policy li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.policy li:last-child { border-bottom: 0; }
.policy strong { font-weight: 600; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--warn-bg); color: var(--warn-ink);
}
.notice .icon { margin-top: 2px; }
.notice strong { font-weight: 600; }

.host { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.avatar {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sea-tint); color: var(--sea-deep); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.avatar.sm { width: 44px; height: 44px; font-size: 1.05rem; }
.host-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: 0.9375rem; }
.host-facts span { display: inline-flex; align-items: center; gap: 6px; }
.host-facts .icon { width: 16px; height: 16px; color: var(--sea); }

.reviews-summary { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.reviews-summary strong { font-family: var(--font-display); font-size: 2rem; }
.review { display: grid; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; gap: 12px; align-items: center; }
.review-head .who { display: grid; }
.review-head .who span { color: var(--ink-2); font-size: 0.875rem; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars .off { color: var(--line); }
.reply { margin-left: 16px; padding: 4px 0 4px 16px; border-left: 2px solid var(--line); display: grid; gap: 4px; }
.reply strong { font-size: 0.9375rem; }
.reply p { color: var(--ink-2); }

/* Caixa de reserva */
.book {
  position: relative; display: grid; gap: 16px; padding: 24px; background: var(--surface);
  border-radius: var(--r-xl); box-shadow: var(--shadow-3);
}
.book-price { display: flex; align-items: baseline; gap: 8px; }
.book-price strong { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); }
.dates label { display: grid; gap: 2px; padding: 10px 12px; font-size: 0.75rem; font-weight: 700; }
.dates label + label { border-left: 1px solid var(--line); }
.dates input { border: 0; padding: 0; min-height: 28px; font-size: 0.9375rem; font-weight: 400; background: transparent; width: 100%; color: var(--ink); }
.dates input:focus-visible { outline: none; }
.dates label:focus-within { outline: 3px solid var(--focus); outline-offset: -2px; border-radius: var(--r-md); }
.book select.input { appearance: none; background-image: none; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; }
.lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines .total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.0625rem; }
.book-note { font-size: 0.8125rem; color: var(--ink-2); text-align: center; }
.mobile-book {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter);
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px var(--shadow-ink-2);
}
.mobile-book strong { font-family: var(--font-display); font-size: 1.2rem; display: block; line-height: 1.2; }
.mobile-book span { font-size: 0.8125rem; color: var(--ink-2); }
.page-anuncio .foot { padding-bottom: calc(var(--tabbar-h) + 110px + env(safe-area-inset-bottom)); }
.book-col { order: -1; }
@media (min-width: 1000px) {
  .listing { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 64px; align-items: start; }
  .book-col { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .mobile-book { display: none; }
  .page-anuncio .foot { padding-bottom: 28px; }
}

/* ============ Pagamento ============ */
.pay-head { padding: 20px 0 8px; display: grid; gap: 8px; }
.pay { display: grid; gap: 28px; padding-top: 16px; }
.pay-main { display: grid; gap: 24px; min-width: 0; }
.panel { background: var(--surface); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-1); border: 1px solid var(--line); display: grid; gap: 16px; min-width: 0; align-content: start; }
.methods { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; }
.methods legend { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; padding: 0; }
.method {
  position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color 160ms ease;
}
.method:hover { border-color: var(--ink-2); }
.method input { width: 22px; height: 22px; accent-color: var(--sea); margin: 0; }
.method input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.method:has(input:checked) { border-color: var(--sea); box-shadow: 0 0 0 1px var(--sea); }
.method strong { display: block; font-weight: 600; }
.method .muted { font-size: 0.875rem; }
.method .tagline { font-size: 0.75rem; font-weight: 700; color: var(--sea-deep); background: var(--sea-tint); padding: 4px 8px; border-radius: var(--r-pill); white-space: nowrap; }
.card-extra { display: grid; gap: 12px; }
.card-extra[hidden] { display: none; }
.card-extra label { display: grid; gap: 6px; font-weight: 600; font-size: 0.875rem; }
.saved-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sand); font-size: 0.9375rem; }
.protect { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--sea-tint); }
.protect .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--sea); color: var(--on-sea); }
.protect strong { display: block; font-weight: 600; color: var(--sea-deep); }
.protect p { font-size: 0.9375rem; color: var(--ink); }
.summary-stay { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.summary-stay img { width: 112px; height: 88px; object-fit: cover; border-radius: var(--r-md); }
.summary-stay .muted { font-size: 0.875rem; }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 0.9375rem; }
.dl dt { color: var(--ink-2); }
.dl dd { margin: 0; text-align: right; font-weight: 500; }
.fine { font-size: 0.8125rem; color: var(--ink-2); }
.sim-flag { display: inline-flex; align-items: center; gap: 6px; align-self: start; justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn-ink); font-size: 0.8125rem; font-weight: 600; }
.sim-flag .icon { width: 15px; height: 15px; }
.pix .sim-flag, .done-hero .sim-flag { justify-self: center; }
.stage[hidden] { display: none; }
.stage { animation: stage-in 420ms var(--ease-out); }
@keyframes stage-in { from { opacity: 0; transform: translateY(10px); } }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sea-soft); border-top-color: var(--on-sea); animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 0.875rem; color: var(--ink-2); flex-wrap: wrap; }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 20px; height: 1px; background: var(--line); }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.steps .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); font-size: 0.75rem; font-weight: 700; }
.steps li[aria-current="step"] .n { background: var(--ink); color: var(--on-sea); border-color: var(--ink); }
.steps li.done .n { background: var(--sea); color: var(--on-sea); border-color: var(--sea); }

.pix { display: grid; gap: 20px; justify-items: center; text-align: center; }
.qr { position: relative; width: 232px; height: 232px; padding: 12px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.qr svg { width: 100%; height: 100%; }
.qr .qr-dark { fill: var(--ink); }
.qr .qr-mark { fill: var(--sea); }
.scan { position: absolute; left: 8px; right: 8px; top: 8px; height: 4px; border-radius: 2px; background: var(--sea); box-shadow: 0 0 14px 4px var(--sea-soft); opacity: 0.85; animation: scan 2.2s var(--ease-soft) infinite alternate; }
@keyframes scan { to { transform: translateY(212px); } }
.copy-row { display: flex; gap: 8px; width: 100%; max-width: 460px; }
.copy-row .input { font-family: ui-monospace, Consolas, monospace; font-size: 0.8125rem; color: var(--ink-2); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 600; }
.pix-steps { text-align: left; margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.9375rem; max-width: 460px; }

.done-hero { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 12px 0 4px; }
.check { width: 88px; height: 88px; }
.check circle { fill: var(--sea-tint); stroke: var(--sea); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transform-origin: center; transform: rotate(-90deg); }
.check path { fill: none; stroke: var(--sea); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage.is-shown .check circle { animation: draw 700ms var(--ease-out) forwards; }
.stage.is-shown .check path { animation: draw 420ms var(--ease-out) 560ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
html:not(.js) .check circle, html:not(.js) .check path { stroke-dashoffset: 0; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-list .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--sea-tint); color: var(--sea); }
.unlocked { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-lg); background: var(--sand); }

@media (min-width: 960px) {
  .pay { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; align-items: start; }
  .pay-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ============ Painel do anfitrião ============ */
.dash-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding: 24px 0 8px; }
.dash-head .hello { display: grid; gap: 6px; }
.dash { display: grid; gap: 20px; padding-top: 16px; grid-template-columns: minmax(0, 1fr); }
.payout { background: var(--ink); color: var(--on-sea); border: 0; display: flex; flex-direction: column; }
.payout .timeline { margin-top: auto; padding-top: 8px; }
.payout .muted { color: var(--sea-soft); }
.payout-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.payout-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600; }
.status .icon { width: 15px; height: 15px; }
.status-held { background: var(--sea-deep); color: var(--on-sea); }
.status-ok { background: var(--sea-tint); color: var(--sea-deep); }
.status-wait { background: var(--warn-bg); color: var(--warn-ink); }
.paid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; font-size: 0.9375rem; }
.paid li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--on-ink-line); }
.paid li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 0.8125rem; }
.timeline li { display: grid; gap: 6px; color: var(--sea-soft); }
.timeline li::before { content: ""; height: 4px; border-radius: 2px; background: var(--sea-deep); }
.timeline li.on::before { background: var(--sea-soft); }
.timeline li.on { color: var(--on-sea); }
.panel-head { flex-wrap: wrap; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: 1.25rem; }
.progress { height: 10px; border-radius: var(--r-pill); background: var(--sand-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--sea); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 600ms var(--ease-out); }
.rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rooms li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rooms li:last-child { border-bottom: 0; }
.room-name { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.room-state { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); color: transparent; }
.room-state .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.rooms li.is-done .room-state { background: var(--sea); border-color: var(--sea); color: var(--on-sea); animation: node-pop 420ms var(--ease-out); }
.cam { position: relative; overflow: hidden; }
.cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cam:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; font-size: 0.875rem; text-align: center; }
.cal caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.cal th { font-weight: 600; color: var(--ink-2); font-size: 0.75rem; padding-bottom: 2px; }
.cal td { height: 36px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.cal td.b-app { background: var(--sea); color: var(--on-sea); font-weight: 600; }
.cal td.b-ical { background: var(--sea-tint); color: var(--sea-deep); font-weight: 600; box-shadow: inset 0 0 0 1px var(--sea-soft); }
.cal td.today { box-shadow: inset 0 0 0 2px var(--ink); }
.cal td.out { color: var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.8125rem; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.legend .k-app { background: var(--sea); }
.legend .k-ical { background: var(--sea-tint); box-shadow: inset 0 0 0 1px var(--sea-soft); }
.sync { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sea-tint); color: var(--sea-deep); font-size: 0.9375rem; font-weight: 500; }
.sync .icon { animation: sync-spin 2.4s var(--ease-soft) 1; }
@keyframes sync-spin { to { transform: rotate(360deg); } }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; }
.res-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.res-list li:last-child { border-bottom: 0; }
.res-list .who { display: grid; }
.res-list .who span { color: var(--ink-2); font-size: 0.875rem; }
.res-list .amt { text-align: right; display: grid; justify-items: end; gap: 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { font-family: var(--font-body); font-size: 11px; fill: var(--ink-2); }
.chart .area { fill: var(--sea-tint); opacity: 0; transition: opacity 700ms var(--ease-soft) 900ms; }
.chart .line { fill: none; stroke: var(--sea); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .pt { fill: var(--surface); stroke: var(--sea); stroke-width: 2.5; opacity: 0; transition: opacity 300ms ease; }
.chart .end-label { font-family: var(--font-display); font-weight: 700; font-size: 14px; fill: var(--ink); opacity: 0; transition: opacity 400ms ease 1500ms; }
.chart.is-drawn .line { animation: draw 1600ms var(--ease-soft) forwards; }
.chart.is-drawn .area, .chart.is-drawn .pt, .chart.is-drawn .end-label { opacity: 1; }
.chart.is-drawn .pt { transition-delay: calc(var(--i) * 260ms + 300ms); }
html:not(.js) .chart .line { stroke-dashoffset: 0; }
html:not(.js) .chart .area, html:not(.js) .chart .pt, html:not(.js) .chart .end-label { opacity: 1; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .hit:focus-visible { outline: none; stroke: var(--focus); stroke-width: 2; }
.tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  padding: 8px 10px; border-radius: var(--r-sm); background: var(--ink); color: var(--on-sea); font-size: 0.8125rem; line-height: 1.35;
  white-space: nowrap; opacity: 0; transition: opacity 120ms ease;
}
.tip.is-on { opacity: 1; }
.tip strong { display: block; font-variant-numeric: tabular-nums; }
.cancel-box { display: grid; gap: 12px; background: var(--warn-bg); color: var(--warn-ink); border: 0; }
.cancel-box h2 { color: var(--ink); }
.cancel-box .btn-ghost { justify-self: start; }
.wa { display: grid; gap: 12px; align-content: start; }
@media (min-width: 760px) { .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) {
  .dash { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}

/* ============ 404 ============ */
.lost { display: grid; gap: 24px; padding: 40px 0; align-items: center; }
.lost img { border-radius: var(--r-xl); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lost-copy { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .lost { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 72px 0; } }

/* ============ Demonstração guiada ============ */
.tour-cursor {
  position: fixed; left: -18px; top: -18px; z-index: 200; width: 36px; height: 36px; pointer-events: none;
  display: grid; place-items: center; will-change: transform;
}
.tour-cursor .dot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--scrim); border: 3px solid var(--surface);
  box-shadow: var(--shadow-2); transition: transform 160ms var(--ease-out);
}
.tour-cursor.is-down .dot { transform: scale(0.8); }
.tour-ripple { position: fixed; z-index: 199; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: var(--sea); opacity: 0; pointer-events: none; }
/* No celular a barra ocupa uma linha só: legenda à esquerda, 3 botões de ícone
   à direita. Em duas linhas ela comia um quarto da tela junto com a barra do
   navegador (print do Jose no iPhone, 05/12/2026). */
.tour-bar {
  position: fixed; z-index: 190; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--on-sea); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  animation: tour-in 480ms var(--ease-out);
}
.tour-bar[hidden] { display: none; }
@keyframes tour-in { from { opacity: 0; transform: translateY(24px); } }
.tour-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--on-ink-soft); }
.tour-progress i { display: block; height: 100%; background: var(--sea-soft); transform-origin: left; transform: scaleX(0); transition: transform 700ms var(--ease-out); }
.tour-caption {
  margin: 0; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.875rem; line-height: 1.25;
}
.tour-text { display: block; min-width: 0; }
.tour-n { flex: none; padding: 2px 8px; border-radius: var(--r-pill); background: var(--on-ink-soft); font-size: 0.75rem; }
.tour-actions { flex: none; display: flex; gap: 6px; }
.tour-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0;
  border: 1px solid var(--on-ink-line); border-radius: var(--r-md); background: var(--on-ink-soft); color: var(--on-sea);
  font-weight: 600; font-size: 0.9375rem; transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
/* No celular o rótulo sai e fica o ícone; o nome continua no aria-label. */
.tour-btn > span { display: none; }
.tour-btn:hover { background: var(--on-ink-line); }
.tour-btn:active { transform: scale(0.97); }
.tour-btn:focus-visible { outline: 3px solid var(--sea-soft); outline-offset: 2px; }
.tour-btn .icon { width: 18px; height: 18px; }
.tour-btn[data-t="skip"] .icon { fill: currentColor; stroke: none; }
.tour-btn[aria-pressed="true"] .icon { fill: currentColor; stroke: none; }
body.is-touring { --tabbar-h: 0px; }
body.is-touring .tabbar { display: none; }
body.is-touring main, body.is-touring .topbar { pointer-events: none; }
body.is-touring .foot { padding-bottom: 88px; }
@media (min-width: 900px) {
  .tour-bar {
    left: auto; right: 24px; bottom: 24px; width: 400px; border-radius: var(--r-xl);
    padding: 16px; box-shadow: var(--shadow-3); overflow: hidden;
    display: grid; gap: 10px;
  }
  .tour-caption { font-size: 1rem; gap: 12px; min-height: 28px; }
  .tour-n { padding: 2px 10px; font-size: 0.8125rem; }
  .tour-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tour-btn { min-width: 0; padding: 0 12px; }
  .tour-btn > span { display: inline; }
  .tour-progress { border-radius: 0; }
  body.is-touring .foot { padding-bottom: 28px; }
  body.is-touring .page-anuncio .foot { padding-bottom: 28px; }
}
.tour-end {
  position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px;
  background: var(--sand); animation: end-in 700ms var(--ease-out);
}
@keyframes end-in { from { opacity: 0; } }
.tour-end-body { display: grid; justify-items: center; gap: 16px; text-align: center; max-width: 30rem; }
.tour-end-body > * { animation: end-rise 800ms var(--ease-out) both; }
.tour-end-body > :nth-child(1) { animation-delay: 150ms; }
.tour-end-body > :nth-child(2) { animation-delay: 300ms; }
.tour-end-body > :nth-child(3) { animation-delay: 450ms; }
.tour-end-body > :nth-child(4) { animation-delay: 700ms; }
@keyframes end-rise { from { opacity: 0; transform: translateY(16px); } }
.tour-end-mark svg { width: 88px; height: 88px; }
.tour-end-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; }
.tour-end h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); line-height: 1.04; }

/* ============ Troca de página ============ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 220ms var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in 380ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
::view-transition-group(foto-ubatuba) { animation-duration: 480ms; animation-timing-function: var(--ease-out); }

/* ============ Movimento reduzido ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  @view-transition { navigation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .scan, .pin .ring, .sk-media::after, .sk-line::after { animation: none !important; display: none; }
  .tour-ripple { display: none; }
  .layer { will-change: auto; }
  .card-link:hover .card-media img, .gallery figure:hover img { transform: none; }
  .chart .line, .check circle, .check path { stroke-dashoffset: 0 !important; }
  .step-text { opacity: 1; }
}
