/* =====================================================================
   Marmeu — design system (padrão Airbnb, azul)
   Mobile-first. Breakpoints: 744px (tablet) · 950px (desktop) · 1128px (wide)
   ===================================================================== */

:root {
  --brand: #0b7cff;
  --brand-dark: #0062e6;
  --brand-light: #e8f1ff;
  --brand-grad: linear-gradient(90deg, #1e8cff 0%, #0b7cff 50%, #0062e6 100%);
  --ink: #222222;
  --ink-2: #4a4a4a;
  --ink-3: #717171;
  --ink-4: #b0b0b0;
  --line: #dddddd;
  --line-2: #ebebeb;
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --bg-3: #f0f0f0;
  --ok: #008a05;
  --ok-bg: #e9f7ea;
  --danger: #c13515;
  --danger-bg: #fff3f0;
  --warn-bg: #fff8e6;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05);
  --sh-2: 0 6px 16px rgba(0, 0, 0, .12);
  --sh-3: 0 8px 28px rgba(0, 0, 0, .28);
  --gutter: 24px;
  --header-h: 64px;
  --bottom-nav-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .15s;
  --t-mid: .25s;
  --t-slow: .45s;
  --ring: 0 0 0 2px #fff, 0 0 0 4px var(--ink);
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
body.no-bottom-nav { padding-bottom: 0; }
body.lock { overflow: hidden; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line-2); margin: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.xs { font-size: 12px; }
.bold { font-weight: 600; }
.u { text-decoration: underline; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hide { display: none !important; }
.d-only { display: none !important; }
@media (min-width: 950px) { .d-only { display: block !important; } .d-only.row { display: flex !important; } .m-only { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.sm { width: 16px; height: 16px; }
.icon.md { width: 20px; height: 20px; }
.icon.lg { width: 32px; height: 32px; stroke-width: 1.5; }
.icon.fill { fill: currentColor; stroke: none; }

.container { width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); margin: 0 auto; max-width: 1760px; }
.container.narrow { max-width: 1120px; }
.container.tight { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; isolation: isolate; overflow: hidden;
  height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; letter-spacing: -.005em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), opacity var(--t-mid);
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform var(--t-mid) var(--ease); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
/* 1. primário (azul): ações de conversão — Ver pousadas, Ver quartos, Reservar, Buscar, Confirmar e pagar */
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(11, 124, 255, .25); }
.btn.primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #2f94ff 0%, var(--brand) 45%, var(--brand-dark) 100%); transition: opacity var(--t-mid); }
.btn.primary:hover { box-shadow: 0 6px 18px rgba(11, 124, 255, .32); }
.btn.primary:hover::before { opacity: .85; }
.btn.primary:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
/* 2. escuro: confirmar dentro de etapa ou janela — Continuar, Salvar, Aplicar, Enviar */
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
/* 3. contorno: navegação secundária — Ver todos, Comparar, Ver pousada */
.btn.outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.outline:hover { background: var(--bg-2); }
.btn.outline:focus-visible { box-shadow: inset 0 0 0 1px var(--ink), var(--ring); }
.btn.soft { background: var(--bg-2); color: var(--ink); }
.btn.soft:hover { background: var(--bg-3); }
/* 4. texto: ação terciária — Limpar, Editar */
.btn.ghost { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 0 10px; height: 40px; }
.btn.ghost:hover { background: var(--bg-2); }
.btn.block { width: 100%; white-space: normal; }
.btn.lg { height: 56px; font-size: 17px; padding: 0 26px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.pill { border-radius: var(--r-pill); }
.btn.icon-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn.icon-btn:hover { background: var(--bg-2); }
.btn.whatsapp { background: #25d366; color: #fff; }
.btn.whatsapp:hover { background: #1ebe5a; box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
a.u, button.u, .show-more, .section-title a { text-underline-offset: 3px; transition: color var(--t-fast); }
a.u:hover, button.u:hover, .show-more:hover, .section-title a:hover { color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

.circle {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .12s;
}
.circle:hover { transform: scale(1.05); }
.circle .icon { width: 16px; height: 16px; }

/* ---------- Form fields (estilo Airbnb: label flutuante) ---------- */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 56px; padding: 24px 12px 8px; border: 1px solid #b0b0b0; border-radius: var(--r-sm);
  background: #fff; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding-top: 26px; resize: vertical; }
.field label {
  position: absolute; left: 12px; top: 18px; font-size: 16px; color: var(--ink-3); pointer-events: none; z-index: 2;
  transition: all .12s ease; transform-origin: left top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 24px);
}
.field input:focus, .field select:focus, .field textarea:focus { border: 2px solid var(--ink); padding-left: 11px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field.filled label,
.field select + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 8px; font-size: 12px; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:focus::placeholder, .field textarea:focus::placeholder { color: var(--ink-4); }
.field select { padding-right: 36px; }
.field .chev { position: absolute; right: 12px; top: 18px; pointer-events: none; color: var(--ink-3); }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; padding-left: 2px; }
.field .ok-mark { position: absolute; right: 12px; top: 18px; color: var(--ok); }
.field.ok input { border-color: var(--ok); }
.field.loading input { background-image: linear-gradient(90deg, #fff 0%, var(--bg-2) 50%, #fff 100%); background-size: 200% 100%; animation: shimmer 1s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fields { display: grid; gap: 16px; }
.fields.cols-2 { grid-template-columns: 1fr 1fr; }
.fields.cols-3 { grid-template-columns: 2fr 1fr 1fr; }
.fields .span-2 { grid-column: span 2; }
/* inputs agrupados (borda compartilhada) */
.group { border: 1px solid #b0b0b0; border-radius: var(--r-sm); overflow: hidden; }
.group .field { border-radius: 0; }
.group .field input, .group .field select { border: 0; border-radius: 0; height: 56px; }
.group .field + .field { border-top: 1px solid #b0b0b0; }
.group .field input:focus { border: 2px solid var(--ink); border-radius: var(--r-sm); margin: -1px; height: 58px; width: calc(100% + 2px); position: relative; z-index: 1; }
.group.cols-2 { display: grid; grid-template-columns: 1fr 1fr; }
.group.cols-2 .field + .field { border-top: 0; border-left: 1px solid #b0b0b0; }

.choice {
  display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  cursor: pointer; transition: border-color .12s, background .12s; background: #fff;
}
.choice:hover { border-color: var(--ink); }
.choice.on { border: 2px solid var(--ink); padding: 15px; background: var(--bg-2); }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-3); flex-shrink: 0; position: relative; }
.choice.on .radio { border-color: var(--ink); }
.choice.on .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.choice .body { flex: 1; min-width: 0; }
.choice .title { font-weight: 600; display: block; }
.choice .desc { font-size: 14px; color: var(--ink-3); display: block; }
.choice .tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); white-space: nowrap; }
.choice .tag.neutral { background: var(--bg-3); color: var(--ink-2); }

.checkbox { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.captcha { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; }
.captcha .cap-img svg { display: block; width: 160px; height: 56px; border-radius: 8px; }
@media (max-width: 420px) { .captcha { grid-template-columns: 1fr; } }
.checkbox input { width: 24px; height: 24px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }

/* ---------- Header (mobile) ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 1px 0 var(--line-2);
}
.header .inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .icon { width: 30px; height: 30px; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); line-height: 1; margin-top: 2px; }
.search-pill {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-1); background: #fff; text-align: left;
  transition: box-shadow .15s;
}
.search-pill:hover { box-shadow: var(--sh-2); }
.search-pill .txt { flex: 1; min-width: 0; }
.search-pill .t1 { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.search-pill .t2 { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.search-pill .filter { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.search-pill .filter .badge { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.search-pill .go { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: none; align-items: center; justify-content: center; }
.search-pill .go .icon { width: 16px; height: 16px; stroke-width: 3; }
.header-desktop { display: none; }

/* categorias */
.cats { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter) 0; -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px 12px; color: var(--ink-3); border-bottom: 2px solid transparent; flex-shrink: 0; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: .7; transition: opacity .12s; }
.cat .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.cat:hover { opacity: 1; color: var(--ink); border-bottom-color: var(--line); }
.cat.on { color: var(--ink); opacity: 1; border-bottom-color: var(--ink); }
.cats-wrap .filters-btn { display: none; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-around; height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 600; color: var(--ink-3); }
.bottom-nav a.on { color: var(--brand); }
.bottom-nav .icon { width: 24px; height: 24px; }
.bottom-nav .count { position: absolute; margin-left: 22px; margin-top: -22px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- Cards de imóveis ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 32px 24px; }
.grid > *, .hscroll > * { min-width: 0; }
.card { position: relative; display: block; cursor: pointer; min-width: 0; max-width: 100%; }
.card .media { position: relative; aspect-ratio: 20 / 19; border-radius: var(--r-md); overflow: hidden; background: var(--bg-3); isolation: isolate; }
.card .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card .track::-webkit-scrollbar { display: none; }
.card .track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; scroll-snap-align: start; }
.card .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); transition: background .15s, transform .15s; }
.card .dots i.on { background: #fff; }
.card .heart { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.card .heart .icon { width: 24px; height: 24px; stroke: #fff; stroke-width: 2; fill: rgba(0,0,0,.5); transition: transform .12s; }
.card .heart:active .icon { transform: scale(.85); }
.card .heart.on .icon { fill: var(--brand); stroke: #fff; }
.card .badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; box-shadow: var(--sh-1); }
.card .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; z-index: 2; }
.card .nav.prev { left: 10px; } .card .nav.next { right: 10px; }
.card .nav .icon { width: 12px; height: 12px; stroke-width: 3; }
.card:hover .nav { opacity: 1; }
.card .info { padding-top: 12px; }
.card .t { display: flex; justify-content: space-between; gap: 8px; }
.card .name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { color: var(--ink-3); font-size: 15px; line-height: 1.35; }
.card .price { margin-top: 6px; font-size: 15px; }
.card .price b { font-weight: 600; }
.card .price s { color: var(--ink-3); margin-right: 4px; }
.card .total { color: var(--ink-3); text-decoration: underline; font-size: 14px; }
.card .rating { display: flex; align-items: center; gap: 4px; font-size: 14px; white-space: nowrap; }
.card .rating .icon { width: 12px; height: 12px; }
.card.horizontal { display: grid; grid-template-columns: 112px 1fr; gap: 14px; }
.card.horizontal .media { aspect-ratio: 1; }
.card.horizontal .info { padding-top: 0; }

/* carrossel horizontal de seção */
.hscroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: 0 0 78%; scroll-snap-align: start; }

/* ---------- Seções ---------- */
.section { padding: 32px 0; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-title h2 { font-size: 22px; }
.section-title a { font-size: 14px; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }

/* hero */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hero p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; background: #fff; white-space: nowrap; transition: all .12s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .icon { width: 16px; height: 16px; }

/* unidade tiles */
.unit-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); color: #fff; }
.unit-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.unit-tile:hover img { transform: scale(1.04); }
.unit-tile .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%); }
.unit-tile .txt { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.unit-tile .txt b { display: block; font-size: 18px; line-height: 1.2; }
.unit-tile .txt span { font-size: 13px; opacity: .9; }
.unit-tile .pill { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); }

/* benefícios */
.perks { display: grid; gap: 20px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk .ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.perk b { display: block; font-size: 16px; }
.perk span { font-size: 14px; color: var(--ink-3); }

/* comparação de preço */
.compare { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; background: #fff; }
.compare .bars { display: grid; gap: 12px; margin-top: 16px; }
.compare .bar { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.compare .bar .fill { height: 10px; border-radius: 5px; background: var(--bg-3); overflow: hidden; }
.compare .bar .fill i { display: block; height: 100%; background: var(--ink-4); border-radius: 5px; }
.compare .bar.me .fill i { background: var(--brand); }
.compare .bar.me { font-weight: 700; }
.compare .bar .v { font-variant-numeric: tabular-nums; }

/* praias */
.beach { display: grid; gap: 12px; }
.beach .img { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.beach .img img { width: 100%; height: 100%; object-fit: cover; }
.beach h3 { font-size: 18px; }
.beach p { color: var(--ink-2); font-size: 15px; }
.beach .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.beach .tags span { font-size: 12px; font-weight: 600; background: var(--bg-2); border-radius: 6px; padding: 4px 8px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq p { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }

/* cta final */
.cta { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 32px 24px; }
.cta h2 { font-size: 24px; color: #fff; }
.cta p { color: rgba(255,255,255,.75); margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line-2); padding: 32px 0 24px; margin-top: 24px; font-size: 14px; }
.footer .cols { display: grid; gap: 24px; }
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer li { margin-bottom: 10px; color: var(--ink-2); }
.footer li a:hover { text-decoration: underline; }
.footer .bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-2); font-size: 13px; }
.footer .pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .pay span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; background: #fff; }

/* ---------- Modal / sheet ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; opacity: 0; transition: opacity .2s; }
.overlay.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 100; background: #fff; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.sheet.show { transform: translateY(0); }
.sheet .s-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); min-height: 64px; }
.sheet .s-head h3 { text-align: center; font-size: 16px; }
.sheet .s-body { flex: 1; overflow-y: auto; padding: 20px var(--gutter); -webkit-overflow-scrolling: touch; }
.sheet .s-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); border-top: 1px solid var(--line-2); background: #fff; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.sheet.half { top: auto; border-radius: 20px 20px 0 0; max-height: 92vh; }
.sheet.half .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 10px auto 0; }

/* busca (sheet airbnb) */
.search-steps { display: grid; gap: 12px; }
.sstep { border-radius: var(--r-xl); box-shadow: var(--sh-2); background: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.sstep .l { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.sstep .v { font-size: 14px; font-weight: 600; }
.sstep.open { display: block; cursor: default; }
.sstep.open h3 { font-size: 22px; margin-bottom: 12px; }
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.where button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); text-align: left; font-size: 13px; font-weight: 600; }
.where button:hover { border-color: var(--ink); }
.where button.on { border: 2px solid var(--ink); padding: 11px; }
.where button .thumb { width: 100%; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--bg-3); object-fit: cover; }
.where button span { font-size: 11px; color: var(--ink-3); font-weight: 500; }

/* ---------- Calendário ---------- */
.cal { user-select: none; }
.cal .months { display: grid; gap: 24px; }
.cal .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal .m-head b { font-size: 16px; }
.cal .m-nav { display: flex; gap: 8px; }
.cal .m-nav button { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cal .m-nav button:hover { background: var(--bg-2); }
.cal .m-nav button:disabled { opacity: .3; }
.cal .wk, .cal .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal .wk span { text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 6px 0; }
.cal .d { position: relative; height: 42px; min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; border-radius: 50%; cursor: pointer; }
.search-steps > * { min-width: 0; }
.cal .d.blank { cursor: default; }
.cal .d.off { color: var(--ink-4); text-decoration: line-through; cursor: not-allowed; }
.cal .d:not(.off):not(.blank):hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal .d.in { border-radius: 0; background: var(--bg-3); }
.cal .d.start, .cal .d.end { background: var(--ink); color: #fff; }
.cal .d.start.in { border-radius: 50% 0 0 50%; }
.cal .d.end.in { border-radius: 0 50% 50% 0; }
.cal .d.start::before, .cal .d.end::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); z-index: -1; }
.cal .d.start, .cal .d.end { isolation: isolate; }
.cal .d.price::after { content: attr(data-p); position: absolute; bottom: -2px; font-size: 9px; font-weight: 500; color: var(--ink-3); }
.cal .d.start.price::after, .cal .d.end.price::after { color: rgba(255,255,255,.8); }
.cal-foot { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cal-foot .chip { height: 32px; font-size: 13px; }

/* hóspedes stepper */
.stepper-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.stepper-row:last-child { border-bottom: 0; }
.guests .stepper-row { padding: 18px 0; }
.guests .stepper-row > div:first-child { min-width: 0; padding-right: 12px; }
.guests .stepper button { width: 36px; height: 36px; transition: border-color .12s, color .12s, transform .08s; }
.guests .stepper button:active:not(:disabled) { transform: scale(.92); }
.guests .stepper button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guests .stepper output { min-width: 24px; font-variant-numeric: tabular-nums; font-weight: 500; }
.guests-note { margin-top: 4px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg-2); font-size: 13px; color: var(--ink-2); }
.guests-note.limit { background: var(--warn-bg); color: #8a5a00; }
.brand-logo { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }
.footer .brand-logo { height: 40px; margin-bottom: 12px; }
.stepper-row b { font-size: 16px; display: block; }
.stepper-row span { font-size: 14px; color: var(--ink-3); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink-4); color: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.stepper button:hover { border-color: var(--ink); color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 20px; text-align: center; font-size: 16px; }

/* ---------- Página do imóvel ---------- */
.gallery-m { position: relative; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.gallery-m .track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-m .track::-webkit-scrollbar { display: none; }
.gallery-m .track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; scroll-snap-align: start; }
.gallery-m .counter { position: absolute; right: 16px; bottom: 16px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.gallery-m .top { position: absolute; top: 12px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 3; }
.gallery-m .top .r { display: flex; gap: 10px; }
.gallery-d { display: none; }
.listing-head { padding: 20px 0 0; }
.listing-head h1 { font-size: 24px; }
.listing-head .meta { color: var(--ink); font-size: 15px; margin-top: 6px; }
.listing-head .loc { font-size: 14px; color: var(--ink-3); }
.l-section { padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.l-section h2 { font-size: 20px; margin-bottom: 14px; }
.highlights { display: grid; gap: 18px; }
.hl { display: flex; gap: 16px; }
.hl .icon { width: 26px; height: 26px; stroke-width: 1.5; margin-top: 2px; }
.hl b { display: block; font-size: 15px; }
.hl span { display: block; font-size: 14px; color: var(--ink-3); }
.desc p { color: var(--ink); font-size: 16px; line-height: 1.55; margin-bottom: 14px; }
.clamp { position: relative; max-height: 150px; overflow: hidden; }
.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.clamp.open { max-height: none; }
.clamp.open::after { display: none; }
.show-more { font-weight: 600; text-decoration: underline; display: inline-flex; align-items: center; gap: 4px; }
.bed-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; width: 200px; flex-shrink: 0; }
.bed-card b { display: block; margin-top: 10px; }
.bed-card span { font-size: 14px; color: var(--ink-3); }
.amen { display: grid; grid-template-columns: 1fr; gap: 14px; }
.amen li { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.amen li .icon { stroke-width: 1.5; }
.amen li.off { color: var(--ink-3); text-decoration: line-through; }
.map { height: 280px; border-radius: var(--r-md); overflow: hidden; background: var(--bg-3); position: relative; z-index: 0; }
.map .leaflet-control-attribution { font-size: 9px; }
.map-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--ink); background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, var(--bg-3) 12px, var(--bg-3) 24px); }
.map-fallback span { font-size: 13px; color: var(--ink-3); }
.unit-card { display: flex; gap: 16px; align-items: center; }
.unit-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.unit-card b { display: block; }
.unit-card span { font-size: 14px; color: var(--ink-3); }
.rules-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.rules-list li:last-child { border-bottom: 0; }
.rules-list li span:last-child { font-weight: 600; text-align: right; } /* quebra linha: texto longo não pode alargar a página no celular */
.price-rows { display: grid; gap: 12px; font-size: 16px; }
.price-rows .r { display: flex; justify-content: space-between; gap: 12px; }
.price-rows .r .u { text-decoration: underline; }
.price-rows .r.total { font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line-2); }
.price-rows .r.green { color: var(--ok); }
.price-rows .r.muted { color: var(--ink-3); font-size: 14px; }
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line-2);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.book-bar .p { font-size: 16px; }
.book-bar .p b { font-weight: 600; }
.book-bar .p s { color: var(--ink-3); font-weight: 400; }
.book-bar .d { font-size: 14px; text-decoration: underline; font-weight: 600; }
.book-bar .btn { min-width: 140px; }
/* Página da pousada (como no app do Booking): a barra fica presa embaixo da tela enquanto a pessoa lê e, ao rolar
   até os quartos, "encaixa" no lugar dela e passa junto com a página. Com escolha manual de quartos ela volta a ficar
   fixa (.float), para a soma ficar sempre à vista. */
.book-bar.dock { position: sticky; margin: 8px calc(var(--gutter) * -1) 0; background: var(--brand-light); border-top: 2px solid var(--brand); border-bottom: 1px solid #cfe0ff; box-shadow: 0 -6px 18px rgba(11, 124, 255, .10); }
.book-bar.dock .p b { color: var(--brand-dark); }
.book-bar.dock .bb-sum { color: #3d5a80; }
.book-bar.dock.float { position: fixed; margin: 0; border-bottom: 0; }
.book-bar .bb-sum { display: block; max-width: 100%; text-align: left; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-bar .bb-sum b { color: var(--ink); font-weight: 600; }
.book-card { display: none; }
.ota-note { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.ota-note .r { display: flex; justify-content: space-between; color: var(--ink-3); }
.ota-note .r.me { color: var(--ok); font-weight: 600; }
.ota-note summary { list-style: none; cursor: pointer; }
.ota-note summary::-webkit-details-marker { display: none; }
.ota-note[open] summary { margin-bottom: 4px; }
.save-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }

/* lightbox de fotos */
.lightbox { position: fixed; inset: 0; z-index: 120; background: #fff; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.lightbox.show { transform: none; }
.lightbox .lb-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox .lb-body { flex: 1; overflow-y: auto; padding: 0 16px 32px; }
.lightbox .lb-grid { display: grid; gap: 8px; max-width: 900px; margin: 0 auto; }
.lightbox .lb-grid img { width: 100%; border-radius: 8px; }

/* ---------- Busca / resultados ---------- */
.results-head { padding: 16px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.results-head .n { font-size: 14px; color: var(--ink-2); }
.filters-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 12px; }
.filters-bar::-webkit-scrollbar { display: none; }
.map-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav-h) + 20px); z-index: 42; background: var(--ink); color: #fff; height: 44px; padding: 0 20px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; box-shadow: var(--sh-2); }
.results-layout { display: block; }
.results-map { display: none; }
.map-view { position: fixed; inset: 0; z-index: 60; background: #fff; display: none; flex-direction: column; }
.map-view.show { display: flex; }
.map-view #map-mobile { flex: 1; }
.map-view .mv-top { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 500; display: flex; justify-content: space-between; pointer-events: none; }
.map-view .mv-top > * { pointer-events: auto; }
.map-view .mv-cards { position: absolute; left: 0; right: 0; bottom: 0; z-index: 500; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); scrollbar-width: none; }
.map-view .mv-cards::-webkit-scrollbar { display: none; }
.map-view .mv-cards .card { flex: 0 0 86%; scroll-snap-align: center; background: #fff; border-radius: var(--r-md); padding: 10px; box-shadow: var(--sh-2); }
.price-pin { background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: var(--r-pill); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.14); white-space: nowrap; transform: translate(-50%, -50%); transition: transform .12s; cursor: pointer; border: 1px solid rgba(0,0,0,.04); }
.price-pin:hover, .price-pin.on { background: var(--ink); color: #fff; transform: translate(-50%, -50%) scale(1.06); z-index: 1000 !important; }
.leaflet-marker-icon.pin-wrap { background: none; border: 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); }
.no-map .results-map, .no-map .map-fab { display: none !important; }
.no-map .results-layout { display: block !important; }
.no-map .results-list .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
.empty h3 { margin-bottom: 8px; color: var(--ink); }
.range { display: flex; gap: 12px; }
.sort { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }

/* ---------- Unidade ---------- */
.room-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.room-row img { width: 96px; height: 96px; border-radius: var(--r-sm); object-fit: cover; }
.room-row b { display: block; font-size: 15px; }
.room-row .s { font-size: 13px; color: var(--ink-3); }
.room-row .p { margin-top: 6px; font-size: 15px; }
.room-row .p b { display: inline; }

/* ---------- Checkout ---------- */
.checkout { min-height: 100vh; display: flex; flex-direction: column; }
.co-head { position: sticky; top: 0; z-index: 20; background: #fff; }
.co-head .inner { height: 60px; display: flex; align-items: center; gap: 12px; }
.co-head .title { flex: 1; text-align: center; font-weight: 600; font-size: 15px; }
.progress { height: 3px; background: var(--line-2); }
.progress i { display: block; height: 100%; background: var(--brand); transition: width .3s ease; }
.co-body { flex: 1; padding: 24px 0 120px; }
.co-step h1 { font-size: 24px; margin-bottom: 6px; }
.co-step .lead { color: var(--ink-2); margin-bottom: 24px; }
.co-foot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line-2); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); z-index: 20; }
.co-summary { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.co-summary .top { display: flex; gap: 12px; }
.co-summary .top img { width: 96px; height: 80px; border-radius: 8px; object-fit: cover; }
.co-summary .top b { font-size: 14px; display: block; }
.co-summary .top span { font-size: 13px; color: var(--ink-3); }
.co-summary .trip { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin: 16px 0; }
.co-summary .trip .r { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.co-summary .trip .r b { display: block; font-size: 15px; }
.co-summary .trip .r button { font-weight: 600; text-decoration: underline; font-size: 14px; }
.mini-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 24px; background: var(--bg-2); }
.mini-summary b { font-size: 15px; }
.mini-summary span { font-size: 13px; color: var(--ink-3); }
.mini-summary > div:last-child { white-space: nowrap; flex-shrink: 0; }
.pay-logo { width: 40px; height: 26px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
.card-visual { background: linear-gradient(135deg, #1a1f36, #0b7cff); color: #fff; border-radius: var(--r-lg); padding: 20px; aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--sh-2); font-family: "SF Mono", Menlo, monospace; }
.card-visual .num { font-size: 20px; letter-spacing: .12em; }
.card-visual .b { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pix-box { text-align: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.pix-box #qr { padding: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; }
.pix-box #qr img, .pix-box #qr canvas { width: 200px; height: 200px; }
.pix-code { display: flex; gap: 8px; margin-top: 16px; }
.pix-code input { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font-size: 13px; color: var(--ink-2); background: var(--bg-2); }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--danger); }
.success-hero { text-align: center; padding: 40px 0 24px; }
.success-hero .check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-hero .check .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.code-box { display: inline-block; font-family: "SF Mono", Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .08em; background: var(--bg-2); padding: 10px 18px; border-radius: 10px; margin-top: 12px; }
.timeline { display: grid; gap: 0; margin-top: 8px; }
.timeline .t { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.timeline .t .dot { width: 24px; display: flex; flex-direction: column; align-items: center; }
.timeline .t .dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-top: 6px; }
.timeline .t .dot::after { content: ""; flex: 1; width: 2px; background: var(--line-2); margin: 4px 0; }
.timeline .t:last-child .dot::after { display: none; }
.timeline .t.done .dot i { background: var(--ok); }
.timeline .t b { display: block; font-size: 15px; }
.timeline .t span { font-size: 14px; color: var(--ink-3); display: block; padding-bottom: 20px; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--brand-light); font-size: 14px; }
.notice.warn { background: var(--warn-bg); }
.notice.ok { background: var(--ok-bg); }
.notice .icon { flex-shrink: 0; margin-top: 1px; }
.installments { display: grid; gap: 8px; }
.installments .choice { padding: 12px 16px; }
.installments .choice.on { padding: 11px 15px; }

/* ---------- Páginas de conta / lista ---------- */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.trip-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.trip-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.trip-card .b { padding: 16px; }
.trip-card .st { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); margin-bottom: 8px; }
.trip-card .st.pend { background: var(--warn-bg); color: #8a5a00; }
.trip-card h3 { font-size: 17px; }
.trip-card .d { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.menu-list li a, .menu-list li button { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); width: 100%; text-align: left; font-size: 16px; }
.menu-list li .icon { stroke-width: 1.5; }
.menu-list li .arrow { margin-left: auto; color: var(--ink-3); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.tabs { display: flex; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; }
.tabs button { flex: 1; padding: 14px 0; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.social { display: flex; gap: 12px; }
.social .btn { flex: 1; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }
.prose h2 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.prose ul { padding-left: 18px; list-style: disc; }
.contact-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--sh-1); }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card b { display: block; }
.contact-card span { font-size: 14px; color: var(--ink-3); }

/* whatsapp flutuante */
.wa-fab { position: fixed; right: 16px; bottom: calc(var(--bottom-nav-h) + 16px); z-index: 41; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-2); transition: transform .12s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .icon { width: 28px; height: 28px; }
body.has-book-bar .wa-fab { bottom: 96px; }
body.no-bottom-nav .wa-fab { bottom: 24px; }
.search-sheet .s-body { background: var(--bg-2); }
.search-sheet .sstep { background: #fff; }

/* hero visual */
.hero-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 20px; background: var(--bg-3); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: var(--r-pill); padding: 6px 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hero-visual .tag .icon { width: 14px; height: 14px; color: var(--brand); }
.hero-stats { display: flex; gap: 24px; margin-top: 20px; }
.hero-stats b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; color: var(--ink-3); }
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { display: flex; gap: 16px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step b { display: block; font-size: 16px; }
.step span { font-size: 14px; color: var(--ink-3); }
@media (min-width: 950px) {
  .hero-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .hero-visual { aspect-ratio: 4 / 3; margin-top: 0; border-radius: var(--r-xl); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .wa-fab { bottom: 28px; right: 28px; }
  body.has-book-bar .wa-fab { bottom: 28px; }
}

/* busca no hero */
.hero-search { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 600px; margin-top: 24px; padding: 8px; gap: 0 4px; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 6px 20px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06); background: #fff; }
.hs-seg { position: relative; display: grid; gap: 3px; align-content: center; min-height: 60px; padding: 10px 16px; border-radius: var(--r-lg); text-align: left; transition: background-color var(--t-fast); }
.hs-seg + .hs-seg::before { content: ""; position: absolute; left: -2px; top: 14px; bottom: 14px; width: 1px; background: var(--line); transition: opacity var(--t-fast); }
.hs-seg:hover { background: var(--bg-2); }
.hs-seg:hover::before, .hs-seg:hover + .hs-seg::before { opacity: 0; }
.hs-seg:focus-visible { outline: none; box-shadow: var(--ring); }
.hs-seg small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.hs-seg b { font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-seg b.set { color: var(--ink); font-weight: 600; }
.hs-go { grid-column: 1 / -1; margin-top: 8px; height: 52px; border-radius: var(--r-md); }
@media (min-width: 744px) {
  .hero-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; border-radius: var(--r-pill); padding: 8px 8px 8px 8px; }
  .hs-seg { border-radius: var(--r-pill); padding: 10px 24px; }
  .hs-go { grid-column: auto; margin: 0 0 0 4px; height: 52px; padding: 0 24px 0 20px; border-radius: var(--r-pill); }
}

/* ---------- Card de pousada (resultado da busca) ---------- */
.plist { display: grid; gap: 20px; }
.pcard { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1); transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--sh-2); }
.pcard.soldout { opacity: .75; }
.pmedia { position: relative; aspect-ratio: 16 / 10; background: var(--bg-3); }
.pmedia img { width: 100%; height: 100%; object-fit: cover; }
.pmedia .badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; box-shadow: var(--sh-1); }
.pbody { padding: 16px 16px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ptop h3 { font-size: 19px; }
.ploc { font-size: 14px; color: var(--ink-3); }
.ptag { font-size: 15px; color: var(--ink); }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 5px 9px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink-2); }
.pchips .icon { width: 14px; height: 14px; }
.pideal { font-size: 13px; color: var(--ink-2); }
.pprice { padding: 14px 16px 16px; display: grid; gap: 4px; align-content: end; }
.pfrom b { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.pbtn { margin-top: 8px; width: 100%; }
@media (min-width: 744px) {
  .pcard { grid-template-columns: 280px minmax(0, 1fr) 230px; }
  .pmedia { aspect-ratio: auto; min-height: 220px; }
  .pbody { padding: 20px 8px 20px 20px; }
  .pprice { padding: 20px; text-align: right; justify-items: end; border-left: 1px solid var(--line-2); }
  .pbtn { width: auto; }
}

@media (min-width: 950px) {
  body:not(.no-map) .results-layout { grid-template-columns: minmax(0, 1fr) 40%; }
  body:not(.no-map) .results-list .container { padding-left: 32px; padding-right: 32px; }
  body:not(.no-map) .results-list .pcard { grid-template-columns: 240px minmax(0, 1fr); }
  body:not(.no-map) .results-list .pmedia { grid-row: span 2; }
  body:not(.no-map) .results-list .pbody { padding: 18px 18px 0; }
  body:not(.no-map) .results-list .pprice { border-left: 0; border-top: 1px solid var(--line-2); margin: 14px 18px 0; padding: 12px 0 16px; text-align: left; justify-items: start; grid-template-columns: 1fr auto; align-items: end; }
  body:not(.no-map) .results-list .pprice .pbtn { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  body:not(.no-map) .results-list .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Página da pousada ---------- */
.p-sub { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.p-sub a { text-decoration: underline; font-weight: 600; color: var(--ink); }
.ideal { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--brand-light); }
.ideal .icon { color: var(--brand); }
.ideal b { display: block; }
.ideal span { font-size: 14px; color: var(--ink-2); }
.rooms-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.rooms-bar { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink-3); border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; }
.rooms-bar button { padding: 10px 14px; text-align: left; background: #fff; }
.rooms-bar button + button { border-left: 1px solid var(--ink-3); }
.rooms-bar button:hover { background: var(--bg-2); }
.rooms-bar small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rooms-bar span { font-size: 14px; }
.rooms { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.room { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 14px; padding: 16px; border-bottom: 1px solid var(--line-2); background: #fff; }
.room:last-child { border-bottom: 0; }
.room.off { background: var(--bg-2); }
.room.off .room-photo img { filter: grayscale(.6); }
.room-photo { position: relative; width: 96px; height: 96px; border-radius: var(--r-sm); overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.room-photo span { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 600; border-radius: 5px; padding: 2px 5px; display: inline-flex; align-items: center; gap: 3px; }
.room-photo span .icon { width: 11px; height: 11px; }
.room-info { min-width: 0; display: grid; gap: 4px; align-content: start; }
.room-pousada { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.room-name { font-size: 16px; font-weight: 600; text-align: left; color: var(--ink); }
.room-name:hover { text-decoration: underline; }
.room-specs { font-size: 13px; color: var(--ink-2); }
.room-specs .icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.room-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.room-chips span { font-size: 11px; border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; color: var(--ink-2); }
.room-more { justify-self: start; margin-top: 2px; }
.room-price { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.room-price s { grid-column: 1; color: var(--ink-3); font-size: 13px; }
.room-price b { grid-column: 1; font-size: 18px; }
.room-price > span { grid-column: 1; }
.room-price .btn { grid-column: 2; grid-row: 1 / span 4; }
.room-off { justify-self: start; font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-bg); border-radius: 4px; padding: 2px 6px; }
.warn { color: var(--danger); font-weight: 600; }
@media (min-width: 744px) {
  .room { grid-template-columns: 120px minmax(0, 1fr) 200px; gap: 16px 20px; padding: 18px 20px; }
  .room-photo { width: 120px; height: 100px; }
  .room-price { grid-column: auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 3px; padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--line-2); }
  .room-off { align-self: flex-end; }
  .room-price .btn { margin-top: 8px; }
}
.room-sheet .s-body { padding: 0; }
.room-sheet .room-gal { aspect-ratio: 16 / 10; }
.room-sheet .room-sheet-body { padding: 0 var(--gutter) 24px; }
@media (min-width: 950px) { .room-sheet .room-gal { display: block; } }

/* avaliações */
.reviews-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.score { font-size: 28px; font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .icon { width: 14px; height: 14px; }
.ex-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--warn-bg); color: #8a5a00; padding: 3px 8px; border-radius: 5px; }
.reviews { display: grid; gap: 16px; }
.review { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px; }
.review .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.review b { display: block; font-size: 15px; }
.review .d { font-size: 12px; color: var(--ink-3); }
.review p { font-size: 15px; }
@media (min-width: 744px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* comparativo das pousadas */
.compare-wrap { overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.ctable { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.ctable th, .ctable td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ctable thead th { position: sticky; top: 0; background: #fff; font-size: 15px; }
.ctable thead th a { display: grid; gap: 8px; }
.ctable thead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.ctable tbody th { font-weight: 600; color: var(--ink-2); white-space: nowrap; width: 150px; }
.ctable .yes { color: var(--ok); font-weight: 600; }
.ctable .no { color: var(--ink-3); }
.ctable tfoot td { border-bottom: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 20px); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; z-index: 200; opacity: 0; transition: all .2s; pointer-events: none; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); box-shadow: var(--sh-3); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }

/* ---------- Skeleton ---------- */
.sk { background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-2) 50%, var(--bg-3) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }

/* ==================== TABLET ≥ 744px ==================== */
@media (min-width: 744px) {
  :root { --gutter: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .hscroll > * { flex-basis: 40%; }
  .hero h1 { font-size: 40px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .beach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer .cols { grid-template-columns: repeat(3, 1fr); }
  .amen { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .co-body { padding-bottom: 40px; }
  .trip-card { grid-template-columns: 300px 1fr; }
  .trip-card img { height: 100%; aspect-ratio: auto; }
  .sheet { top: auto; left: 50%; bottom: auto; right: auto; width: 100%; max-width: 780px; max-height: 90vh; border-radius: var(--r-lg); transform: translate(-50%, 0) scale(.96); opacity: 0; top: 50%; translate: 0 -50%; transition: opacity .18s, transform .18s; }
  .sheet.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
  .sheet.half { top: 50%; max-width: 560px; border-radius: var(--r-lg); }
  .sheet.half .grab { display: none; }
  .cal .months { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cal .month { max-width: 340px; width: 100%; margin: 0 auto; }
  .cal .d { font-size: 14px; }
  .lightbox { background: #fff; }
  .lightbox .lb-grid { grid-template-columns: 1fr 1fr; }
}

/* ==================== DESKTOP ≥ 950px ==================== */
@media (min-width: 950px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .bottom-nav, .map-fab, .book-bar { display: none; }
  .header .inner { display: none; }
  .header-desktop { display: block; }
  .header-desktop .inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .header-desktop .right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
  .header-desktop .right .link { height: 42px; padding: 0 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
  .header-desktop .right .link:hover { background: var(--bg-2); }
  .user-pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); transition: box-shadow .15s; }
  .user-pill:hover { box-shadow: var(--sh-1); }
  .user-pill .av { width: 30px; height: 30px; border-radius: 50%; background: var(--ink-3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
  .search-bar { display: flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-1); background: #fff; padding-left: 8px; padding-right: 8px; min-width: 360px; transition: box-shadow .15s; }
  .search-bar:hover { box-shadow: var(--sh-2); }
  .search-bar .seg { padding: 0 16px; font-size: 14px; font-weight: 600; white-space: nowrap; border-right: 1px solid var(--line); line-height: 1; }
  .search-bar .seg:last-of-type { border-right: 0; }
  .search-bar .seg.muted { color: var(--ink-3); font-weight: 400; }
  .search-bar .go { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
  .search-bar .go .icon { width: 14px; height: 14px; stroke-width: 3; }
  /* barra expandida */
  .search-bar.big { height: 66px; min-width: 850px; padding: 0; }
  .search-bar.big .seg { flex: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 24px; border-radius: var(--r-pill); border-right: 0; cursor: pointer; }
  .search-bar.big .seg:hover { background: var(--bg-3); }
  .search-bar.big .seg small { font-size: 12px; font-weight: 700; color: var(--ink); }
  .search-bar.big .seg span { font-size: 14px; color: var(--ink-3); font-weight: 400; }
  .search-bar.big .seg span.set { color: var(--ink); font-weight: 600; }
  .search-bar.big .go { width: 48px; height: 48px; margin-right: 9px; gap: 8px; }
  .search-bar.big .go .icon { width: 16px; height: 16px; }
  .cats { padding-top: 0; gap: 32px; }
  .cats-wrap { display: flex; align-items: center; gap: 24px; }
  .cats-wrap .filters-btn { height: 48px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hscroll { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .hscroll > * { flex: auto; }
  .hscroll.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .hscroll.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hscroll.cols-6 { grid-template-columns: repeat(6, 1fr); }
  .hscroll.cols-7 { grid-template-columns: repeat(7, 1fr); }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 26px; }
  .hero { padding: 40px 0 8px; }
  .hero h1 { font-size: 52px; max-width: 860px; }
  .hero p { font-size: 18px; max-width: 640px; }
  .perks { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
  .cta { padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
  .cta h2 { font-size: 32px; }
  .footer .cols { grid-template-columns: repeat(4, 1fr); }
  .footer .bottom { justify-content: space-between; }
  .card .nav { display: flex; }

  /* listing desktop */
  .gallery-m { display: none; }
  .container.listing { max-width: 1280px; }
  .gallery-d { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; width: 100%; height: clamp(320px, 38vw, 520px); border-radius: var(--r-md); overflow: hidden; position: relative; }
  .gallery-d img { min-width: 0; min-height: 0; }
  .gallery-d img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter .15s; }
  .gallery-d img:hover { filter: brightness(.92); }
  .gallery-d img:first-child { grid-row: span 2; }
  .gallery-d .all { position: absolute; right: 24px; bottom: 24px; }
  .listing-head { padding: 0; }
  .listing-head h1 { font-size: 26px; }
  .listing-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
  .listing-top .actions { display: flex; gap: 8px; }
  .listing-top .actions button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: underline; }
  .listing-top .actions button:hover { background: var(--bg-2); }
  .listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 96px; align-items: start; padding-top: 48px; }
  .listing-layout > aside { align-self: stretch; }
  .book-card { display: block; position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh-2); background: #fff; }
  .book-card .p { font-size: 22px; font-weight: 600; }
  .book-card .p small { font-size: 16px; font-weight: 400; }
  .book-card .p s { color: var(--ink-3); font-weight: 400; font-size: 16px; margin-right: 6px; }
  .book-card .dates { margin: 20px 0 16px; border: 1px solid var(--ink-3); border-radius: var(--r-sm); overflow: hidden; }
  .book-card .dates .r { display: grid; grid-template-columns: 1fr 1fr; }
  .book-card .dates .c { padding: 10px 12px; cursor: pointer; }
  .book-card .dates .c:hover { background: var(--bg-2); }
  .book-card .dates .c + .c { border-left: 1px solid var(--ink-3); }
  .book-card .dates .g { border-top: 1px solid var(--ink-3); padding: 10px 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .book-card .dates small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; }
  .book-card .dates span { font-size: 14px; }
  .book-card .note { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 12px; }
  .map { height: 420px; }
  .amen { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .l-section h2 { font-size: 22px; }

  /* resultados desktop */
  .results-layout { display: grid; grid-template-columns: 1fr 45%; min-height: calc(100vh - var(--header-h)); }
  .results-list { padding: 0 24px 40px var(--gutter); }
  .results-map { display: block; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); }
  .results-map #map-desktop { width: 100%; height: 100%; }
  .results-list .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .map-view { display: none !important; }

  /* checkout desktop */
  .co-layout { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: start; max-width: 1120px; margin: 0 auto; }
  .co-foot { position: static; border: 0; padding: 24px 0 0; }
  .co-side { position: sticky; top: 100px; }
  .co-side .co-summary { box-shadow: var(--sh-2); padding: 24px; }
  .mini-summary { display: none; }
  .co-step h1 { font-size: 28px; }
  .trip-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .page-head h1 { font-size: 34px; }
  .success-hero { padding: 56px 0 24px; }
  .menu-list { max-width: 560px; }
  .toast { bottom: 32px; }
  .hero-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; }
  .hero-card img { width: 100%; height: 100%; object-fit: cover; }
  .unit-tile { aspect-ratio: 3 / 4; }
}

@media (min-width: 1128px) {
  :root { --gutter: 80px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .results-list .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1440px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .results-list .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1760px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Polimento: layout, estados e micro-interações
   Regra de motion: curto (150–450 ms), sem bounce exagerado, nunca esconde conteúdo em repouso.
   ===================================================================== */

/* ---------- Header ---------- */
.header { transition: box-shadow var(--t-mid) var(--ease); box-shadow: none; }
.header.scrolled { box-shadow: 0 1px 0 var(--line-2), 0 6px 20px rgba(0, 0, 0, .06); }
.header-desktop .right .link { white-space: nowrap; transition: background-color var(--t-fast); }
.search-pill { transition: box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.search-pill:active { transform: scale(.985); }
.search-bar { transition: box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.search-bar .go { transition: transform var(--t-mid) var(--spring), background-color var(--t-mid); }
.search-bar:hover .go { transform: scale(1.08); background: var(--brand-dark); }
.user-pill { transition: box-shadow var(--t-mid) var(--ease); }
@media (min-width: 950px) and (max-width: 1240px) { .header-desktop .right .link:first-child { display: none; } }

/* ---------- Imagens: entram com fade suave ao carregar ---------- */
.card .track img, .pmedia img, .room-photo img, .unit-tile img, .gallery-d img, .gallery-m .track img, .co-summary img, .trip-card img, .lb-grid img, .ctable img, .where .thumb {
  opacity: 0; transition: opacity var(--t-slow) var(--ease), transform .6s var(--ease-out), filter var(--t-mid);
}
img.is-loaded { opacity: 1 !important; }
.card .media, .pmedia, .room-photo, .unit-tile, .gallery-m, .gallery-d { background: linear-gradient(100deg, var(--bg-3) 30%, var(--bg-2) 50%, var(--bg-3) 70%) var(--bg-3); background-size: 200% 100%; }

/* ---------- Cards ---------- */
.card .media { transition: box-shadow var(--t-mid) var(--ease); }
.pcard { transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), border-color var(--t-mid); }
.pcard:active { transform: scale(.995); }
.unit-tile { transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.unit-tile img { transition: opacity var(--t-slow) var(--ease), transform .8s var(--ease-out); }
@media (hover: hover) {
  .card:hover .track img { transform: scale(1.035); }
  .pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .1); border-color: var(--line); }
  .pcard:hover .pmedia img { transform: scale(1.04); }
  .pcard:hover .pbtn .icon { transform: translateX(3px); }
  .unit-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .16); }
  .room:hover { background: #fcfcfc; }
  .room-photo:hover img { transform: scale(1.06); }
  .gallery-d img:hover { filter: brightness(.9); }
  .chip:hover { border-color: var(--ink); background: var(--bg-2); }
}
.pmedia { overflow: hidden; }
.chip { transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); }
.chip:active { transform: scale(.96); }

/* preço do card: nunca quebra o valor */
.pfrom { white-space: nowrap; }
@media (min-width: 744px) { .pcard { grid-template-columns: 280px minmax(0, 1fr) 260px; } }
@media (min-width: 950px) { body:not(.no-map) .results-list .pcard { grid-template-columns: 240px minmax(0, 1fr); } }

/* ---------- Coração: pop ao salvar ---------- */
.card .heart, #save-m, #save-d { transition: transform var(--t-fast) var(--ease); }
.card .heart:active { transform: scale(.85); }
.heart.pop .icon, .pop-heart { animation: heartPop .45s var(--spring); }
@keyframes heartPop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }
.card .heart .icon { transition: fill var(--t-mid) var(--ease), transform var(--t-fast); }

/* ---------- Sheet / modal ---------- */
.overlay { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); background: rgba(0, 0, 0, .42); transition: opacity var(--t-mid) var(--ease); }
.sheet { transition: transform .38s var(--ease-out), opacity var(--t-mid) var(--ease); box-shadow: 0 -8px 40px rgba(0, 0, 0, .12); }
@media (min-width: 744px) { .sheet { transition: transform .32s var(--ease-out), opacity .22s var(--ease); box-shadow: var(--sh-3); } }
.sheet .s-head .btn.icon-btn { transition: background-color var(--t-fast), transform var(--t-fast); }
.sheet .s-head .btn.icon-btn:hover { transform: rotate(90deg); }

/* busca: etapa aberta entra suave */
.sstep { transition: box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.sstep:not(.open):hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.sstep:not(.open):active { transform: scale(.99); }
.sstep.open { animation: riseIn .32s var(--ease-out); }
.where button { transition: border-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-mid); }
.where button:active { transform: scale(.97); }
.where button.on { box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
@keyframes riseIn { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Calendário ---------- */
.cal .d { transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.cal .d.just::before { animation: dayPop .3s var(--spring); }
@keyframes dayPop { from { transform: scale(.6); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.cal .d.in:not(.start):not(.end) { animation: fillIn .25s var(--ease) both; }
@keyframes fillIn { from { background-color: transparent; } to { background-color: var(--bg-3); } }

/* ---------- Seletor de hóspedes ---------- */
.guests output.bump { animation: bump .28s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); color: var(--brand); } 100% { transform: scale(1); } }
.guests .stepper output { display: inline-block; }
.guests-note { transition: background-color var(--t-mid), color var(--t-mid); }

/* ---------- Campos ---------- */
.field input, .field select, .field textarea { transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast); }
.field input:hover:not(:focus), .field select:hover:not(:focus), .field textarea:hover:not(:focus) { border-color: var(--ink-3); }
.field label { transition: top var(--t-fast) var(--ease), font-size var(--t-fast) var(--ease), color var(--t-fast); }
.field input:focus + label, .field textarea:focus + label { color: var(--ink); }
.field.ok .ok-mark { animation: okIn .35s var(--spring); }
@keyframes okIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.choice { transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-mid); }
.choice:active { transform: scale(.99); }
.choice.on { box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.choice .radio::after { transition: transform var(--t-mid) var(--spring); }
.choice:not(.on) .radio::after { transform: scale(0); }
.choice.on .radio::after { transform: scale(1); }
.checkbox input { transition: transform var(--t-fast) var(--ease); }
.checkbox input:active { transform: scale(.9); }

/* ---------- Checkout: etapas entram na direção da navegação ---------- */
.co-step.anim[data-dir="fwd"] { animation: stepFwd .36s var(--ease-out); }
.co-step.anim[data-dir="back"] { animation: stepBack .36s var(--ease-out); }
@keyframes stepFwd { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.progress i { transition: width .45s var(--ease-out); }
.card-visual { transition: transform .5s var(--ease-out); }
.card-visual:hover { transform: perspective(800px) rotateX(4deg) rotateY(-6deg); }

/* confirmação: o check se desenha */
.success-hero .check { animation: checkIn .5s var(--spring) both; }
.success-hero .check polyline { stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw .5s .25s var(--ease-out) forwards; }
@keyframes checkIn { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.code-box { animation: fadeUp .4s .35s var(--ease-out) both; }

/* ---------- Lista de quartos ---------- */
.room { transition: background-color var(--t-fast); }
.room-photo img { transition: opacity var(--t-slow) var(--ease), transform .5s var(--ease-out); }
.room-name { transition: color var(--t-fast); text-underline-offset: 3px; }
.room-name:hover { color: var(--brand-dark); }
.rooms.refresh .room { animation: fadeUp .35s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.warn::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 2px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.rooms-bar button { transition: background-color var(--t-fast); }

/* ---------- Toast e WhatsApp ---------- */
.toast { transition: opacity var(--t-mid) var(--ease), transform .4s var(--spring); }
.wa-fab { animation: fabIn .5s .6s var(--spring) both; transition: transform var(--t-mid) var(--spring), box-shadow var(--t-mid); }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
@keyframes fabIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Navegação inferior ---------- */
.bottom-nav a { transition: color var(--t-fast); }
.bottom-nav a .icon { transition: transform var(--t-mid) var(--spring); }
.bottom-nav a:active .icon { transform: scale(.88); }
.bottom-nav a.on .icon { transform: translateY(-1px); }
.bottom-nav { box-shadow: 0 -4px 16px rgba(0, 0, 0, .04); }

/* ---------- Home ---------- */
.hero-search { transition: box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.hero-search:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .06); }
.hs-seg:active { transform: scale(.98); }
.hero-visual img { animation: heroZoom 1.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.two-col .perks { grid-template-columns: 1fr; }
@media (min-width: 744px) { .two-col .perks { grid-template-columns: 1fr 1fr; } }
.perk .ic { transition: transform var(--t-mid) var(--spring); }
.perk:hover .ic { transform: rotate(-6deg) scale(1.06); }
.compare .bar .fill i { transform-origin: left; animation: growX .9s var(--ease-out) both; }
.compare .bar:nth-child(2) .fill i { animation-delay: .06s; } .compare .bar:nth-child(3) .fill i { animation-delay: .12s; } .compare .bar:nth-child(4) .fill i { animation-delay: .18s; } .compare .bar:nth-child(5) .fill i { animation-delay: .24s; }
@keyframes growX { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.plist > .pcard { animation: fadeUp .45s var(--ease-out) both; }
.plist > .pcard:nth-child(2) { animation-delay: .05s; } .plist > .pcard:nth-child(3) { animation-delay: .1s; } .plist > .pcard:nth-child(4) { animation-delay: .15s; } .plist > .pcard:nth-child(5) { animation-delay: .2s; }
.faq summary { transition: color var(--t-fast); }
.faq summary:hover { color: var(--brand-dark); }
.faq details[open] p { animation: fadeUp .3s var(--ease-out); }
.ctable tbody tr { transition: background-color var(--t-fast); }
.ctable tbody tr:hover { background: var(--bg-2); }
.ctable thead img { transition: transform .5s var(--ease-out), opacity var(--t-slow); }
.ctable thead a:hover img { transform: scale(1.03); }
.ctable thead a { overflow: hidden; }

/* ---------- Galeria mobile: contador e ações ---------- */
.circle { transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid); }
.circle:active { transform: scale(.9); }
.gallery-d .all { transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid); }
.gallery-d .all:hover { box-shadow: var(--sh-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  img { opacity: 1 !important; }
}
.book-bar > div:first-child { min-width: 0; }
.book-bar .d { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; text-align: left; }
.book-bar .p { line-height: 1.25; }
.pix-code input { min-width: 0; }
.pix-code .btn { flex-shrink: 0; padding: 0 16px; }
.pix-box { overflow: hidden; }
.wa-fab { right: calc(env(safe-area-inset-right, 0px) + 16px); }
@media (min-width: 950px) { .wa-fab { right: calc(env(safe-area-inset-right, 0px) + 36px); bottom: 32px; } }
.brand-logo { image-rendering: auto; }


/* =====================================================================
   Tipografia: títulos em Plus Jakarta Sans, texto em Inter
   Escala: 12 · 13 · 14 · 15 · 16 · 18 · 20 · 22/24 · 28/32 · 40/52
   ===================================================================== */
h1, h2, h3, .hero h1, .page-head h1, .listing-head h1, .listing-top h1, .co-step h1, .success-hero h1, .section-title h2, .l-section h2,
.ptop h3, .room-name, .unit-tile .txt b, .cta h2, .score, .book-card .p, .pfrom b, .hero-stats b, .sheet .s-head h3, .trip-card h3, .ctable thead th, .beach h3, .faq summary, .brand {
  font-family: var(--font-display);
}
h1, h2, h3 { text-wrap: balance; }
h1 { font-weight: 700; letter-spacing: -.025em; }
h2 { font-weight: 700; letter-spacing: -.02em; }
h3 { font-weight: 700; letter-spacing: -.01em; }
.hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.section-title h2, .l-section h2 { letter-spacing: -.02em; }
.ptop h3 { font-size: 20px; }
.room-name { font-weight: 700; letter-spacing: -.01em; }
.eyebrow { font-family: var(--font); letter-spacing: .14em; }
p, li, .desc p { text-wrap: pretty; }
.desc p, .prose p { max-width: 68ch; }
.small, .xs, .muted { letter-spacing: 0; }
/* números alinhados em preços, contagens e datas */
.pfrom, .room-price, .price-rows, .book-card .p, .book-bar .p, .card .price, .mini-summary, .co-summary, .ctable td, .hero-stats b, .code-box, .stepper output, .cal .d, .compare .bar .v, .score {
  font-variant-numeric: tabular-nums;
}
.pfrom b, .room-price b { font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 950px) {
  .hero h1 { font-size: 56px; }
  .page-head h1 { font-size: 36px; }
  .section-title h2 { font-size: 28px; }
  .listing-top h1 { font-size: 28px; }
}

/* ---------- Fotos navegáveis no card de pousada ---------- */
.pmedia { position: relative; }
.ptrack { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ptrack::-webkit-scrollbar { display: none; }
.ptrack img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; }
.pmedia .badge { z-index: 2; }
.pdots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; z-index: 2; }
.pdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color var(--t-fast), transform var(--t-mid) var(--spring); }
.pdots i.on { background: #fff; transform: scale(1.2); }
.pnav { position: absolute; top: 50%; z-index: 3; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--t-mid), transform var(--t-fast) var(--ease); }
.pnav .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.pnav.prev { left: 10px; } .pnav.next { right: 10px; }
.pnav:hover { transform: scale(1.08); }
@media (hover: hover) { .pnav { display: flex; } .pcard:hover .pnav { opacity: 1; } }
.pcard:hover .pmedia img { transform: none; }

/* ---------- Menu fixo de seções (página da pousada) ---------- */
.secnav { position: fixed; left: 0; right: 0; top: 0; z-index: 48; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .3s var(--ease-out), opacity .2s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
.secnav.show { transform: none; opacity: 1; pointer-events: auto; }
.secnav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.secnav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; margin: 0 -8px; }
.secnav-links::-webkit-scrollbar { display: none; }
.secnav-links a { position: relative; flex-shrink: 0; padding: 18px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color var(--t-fast); }
.secnav-links a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--ink); transform: scaleX(0); transition: transform var(--t-mid) var(--ease-out); }
.secnav-links a:hover { color: var(--ink); }
.secnav-links a.on { color: var(--ink); }
.secnav-links a.on::after { transform: scaleX(1); }
.secnav-cta { align-items: center; gap: 14px; flex-shrink: 0; white-space: nowrap; }
.secnav-cta b { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
[data-sec] { scroll-margin-top: 64px; }
@media (min-width: 950px) {
  .secnav { top: var(--header-h); box-shadow: 0 6px 16px rgba(0, 0, 0, .05); }
  .secnav-in { height: 64px; }
  .secnav-cta.d-only { display: flex !important; }
  [data-sec] { scroll-margin-top: calc(var(--header-h) + 80px); }
}

/* ---------- Selos na lista de quartos ---------- */
.room-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.rb { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px 3px 6px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink); animation: fadeUp .35s var(--ease-out) both; }
.rb .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.rb-price { background: var(--ok-bg); color: var(--ok); }
.rb-hidro { background: var(--brand-light); color: var(--brand-dark); }
.rb-view { background: #e8f6fb; color: #0a6c8a; }
.rb-space { background: #f3eefc; color: #5b3aa8; }
.rb-garage { background: #e7f6ec; color: #17733f; } /* 'Com vaga' em verde (o 'Sem vaga' é laranja) */
.rb-nogarage { background: #fff4e5; color: #8a5a00; }

@media (min-width: 950px) {
  .book-card { transition: top .3s var(--ease-out); }
  body.secnav-on .book-card { top: calc(var(--header-h) + 64px + 24px); }
}

/* ===== Entrar / Criar conta ===== */
.auth { display: grid; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
.auth-art { display: none; }
.auth-panel { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-logo { display: block; width: fit-content; margin: 0 auto 28px; }
.auth-logo img { height: 40px; width: auto; }
.auth-panel h1 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.auth-sub { color: var(--ink-3); margin-top: 6px; font-size: 15px; line-height: 1.45; min-height: 44px; }

.auth-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 20px 0 24px; background: var(--bg-2); border-radius: 999px; }
.auth-seg button { position: relative; z-index: 1; height: 40px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-3); transition: color var(--t-mid); }
.auth-seg button.on { color: var(--ink); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06); transition: transform var(--t-mid) var(--spring); }
.auth-seg[data-on="signup"] .seg-pill { transform: translateX(100%); }

.auth-form { display: grid; gap: 12px; }
.auth-form.swap > * { animation: authIn .35s var(--ease-out) both; }
.auth-form.swap > *:nth-child(2) { animation-delay: .03s; } .auth-form.swap > *:nth-child(3) { animation-delay: .06s; } .auth-form.swap > *:nth-child(4) { animation-delay: .09s; }
@keyframes authIn { from { opacity: 0; transform: translateY(6px); } }
.kind-toggle { display: flex; gap: 8px; }
.kind-toggle button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.kind-toggle button:hover { border-color: var(--ink); }
.kind-toggle button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pass-field input { padding-right: 84px; }
.pass-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--ink); padding: 6px; }
.auth-row { display: flex; justify-content: flex-end; margin-top: -2px; }
.link-btn { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.link-btn:hover { color: var(--brand); }
.auth-form #submit { margin-top: 8px; }
.auth-proto { text-align: center; font-size: 12px; color: var(--ink-4, #929292); }
.auth-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); text-align: center; line-height: 1.5; }

@media (min-width: 950px) {
  .auth { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; max-width: 1180px; gap: 72px; padding-top: 24px; padding-bottom: 72px; min-height: calc(100vh - var(--header-h)); }
  .auth-art { display: block; position: relative; border-radius: 24px; overflow: hidden; min-height: 600px; max-height: 760px; background: var(--bg-3); isolation: isolate; }
  .auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: authZoom 14s var(--ease-out) both; }
  .auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); }
  .auth-art-copy { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 1; color: #fff; }
  .auth-art-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
  .auth-art-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-top: 10px; text-wrap: balance; max-width: 460px; }
  .auth-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
  .auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
  .auth-perks .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); flex-shrink: 0; }
  .auth-panel { align-self: center; margin: 0; }
  .auth-panel h1 { font-size: 34px; }
}
@keyframes authZoom { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .auth-art img, .auth-form.swap > * { animation: none; } .seg-pill { transition: none; } }

/* ===== Modais: abrir e fechar com movimento ===== */
/* entrar usa a transição de .show (mais longa, desacelerando); sair usa a base (curta) */
.overlay { transition: opacity .22s var(--ease), backdrop-filter .22s var(--ease); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
.overlay.show { transition: opacity .35s var(--ease), backdrop-filter .45s var(--ease); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { transition: transform .26s cubic-bezier(.4,0,1,1), opacity .2s var(--ease); }
.sheet.show { transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s var(--ease); }
@media (min-width: 744px) {
  .sheet { transform: translate(-50%, 28px) scale(.96); }
  .sheet.show { transform: translate(-50%, 0) scale(1); }
}

/* ===== Modal de busca ===== */
.search-sheet .s-head { border-bottom: 0; }
.search-sheet .s-body { background: #fff; padding-top: 4px; }
.search-sheet .s-foot { border-top: 1px solid var(--line-2); }
@media (min-width: 744px) {
  .search-sheet { max-width: 720px; }
  .search-sheet .s-body { padding: 4px 28px 24px; }
  .search-sheet .s-foot { padding: 16px 28px; }
}
.search-steps { gap: 10px; }
.sstep-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* etapa fechada: linha com ícone, rótulo + valor e "Alterar" */
.search-sheet .sstep:not(.open) { width: 100%; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: none; background: #fff; text-align: left; justify-content: flex-start; }
.search-sheet .sstep:not(.open):hover { border-color: var(--ink-4, #b0b0b0); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.sstep-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.search-sheet .sstep .l { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.search-sheet .sstep .v { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sstep-edit { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; opacity: 0; transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.sstep:hover .sstep-edit, .sstep:focus-visible .sstep-edit { opacity: 1; transform: none; }
@media (hover: none) { .sstep-edit { opacity: 1; transform: none; } }
.sstep.just .v { animation: valIn .5s var(--ease-out); }
.sstep.just .sstep-ic { animation: icPop .45s var(--spring); }
@keyframes valIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes icPop { 0% { transform: scale(.6); background: var(--brand-light); color: var(--brand); } 60% { transform: scale(1.08); background: var(--brand-light); color: var(--brand); } }

/* etapa aberta */
.search-sheet .sstep.open { padding: 20px; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 12px 32px rgba(0,0,0,.08); animation: stepOpen .42s cubic-bezier(.16,1,.3,1) both; }
@keyframes stepOpen { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.sstep-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sstep-h .sstep-ic { background: var(--brand-light); color: var(--brand); }
.search-sheet .sstep.open h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0; }

/* conteúdo da etapa aberta entra em cascata */
.search-sheet .sstep.open .where > *, .search-sheet .sstep.open .stepper-row, .search-sheet .sstep.open .guests-note, .search-sheet .sstep.open #cal { animation: fadeUp .38s var(--ease-out) both; }
.search-sheet .sstep.open :is(.where > *, .stepper-row):nth-child(1) { animation-delay: .05s; }
.search-sheet .sstep.open :is(.where > *, .stepper-row):nth-child(2) { animation-delay: .09s; }
.search-sheet .sstep.open :is(.where > *, .stepper-row):nth-child(3) { animation-delay: .13s; }
.search-sheet .sstep.open :is(.where > *, .stepper-row):nth-child(4) { animation-delay: .17s; }
.search-sheet .sstep.open :is(.where > *, .stepper-row):nth-child(5) { animation-delay: .21s; }
.search-sheet .sstep.open :is(.where > *):nth-child(6) { animation-delay: .25s; }
.search-sheet .sstep.open .guests-note { animation-delay: .22s; }
.search-sheet .sstep.open #cal { animation-delay: .06s; }

/* primeira abertura: as etapas entram uma a uma junto com o modal */
.search-sheet.intro .search-steps > * { animation: fadeUp .45s cubic-bezier(.16,1,.3,1) both; }
.search-sheet.intro .search-steps > *:nth-child(1) { animation-delay: .08s; }
.search-sheet.intro .search-steps > *:nth-child(2) { animation-delay: .14s; }
.search-sheet.intro .search-steps > *:nth-child(3) { animation-delay: .2s; }
.search-sheet.intro .s-foot { animation: fadeUp .4s var(--ease-out) .22s both; }

/* hóspedes mais compactos */
.search-sheet .guests .stepper-row { padding: 14px 0; }
.search-sheet .stepper-row b { font-size: 15px; }
.search-sheet .stepper-row span { font-size: 13px; }
.search-sheet .guests .stepper { gap: 12px; }
.search-sheet .guests .stepper button { width: 34px; height: 34px; }
.search-sheet .guests-note { margin-top: 6px; font-size: 13px; padding: 10px 12px; border-radius: 10px; }
.where { gap: 8px; }
@media (min-width: 744px) { .search-sheet .where { grid-template-columns: repeat(6, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet.show, .overlay, .overlay.show { transition-duration: .01s; }
  .search-sheet *, .search-sheet.intro * { animation: none !important; }
}

/* ===== Opções de pousada (busca) ===== */
.where button { gap: 0; }
.where .wt { display: flex; flex-direction: column; gap: 1px; margin-top: 8px; min-width: 0; }
.where .wt b { font-size: 13px; font-weight: 600; color: var(--ink); font-size: 13px; }
.where .wt span { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.where .thumb.mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; padding: 0; overflow: hidden; background: #fff; }
.where .thumb.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; transition: transform .5s var(--ease-out); }
.where .thumb.mosaic img:nth-child(1) { border-top-left-radius: inherit; } .where .thumb.mosaic img:nth-child(2) { border-top-right-radius: inherit; }
.where .thumb.mosaic img:nth-child(3) { border-bottom-left-radius: inherit; } .where .thumb.mosaic img:nth-child(4) { border-bottom-right-radius: inherit; }
.where .thumb.mosaic b { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; color: var(--brand); font-family: var(--font-display); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 4px 12px rgba(0,0,0,.2); transition: transform .35s var(--spring); }
.where button.all:hover .thumb.mosaic b { transform: scale(1.1); }
.where button.all:hover .thumb.mosaic img:nth-child(1) { transform: translate(-2px, -2px); } .where button.all:hover .thumb.mosaic img:nth-child(2) { transform: translate(2px, -2px); }
.where button.all:hover .thumb.mosaic img:nth-child(3) { transform: translate(-2px, 2px); } .where button.all:hover .thumb.mosaic img:nth-child(4) { transform: translate(2px, 2px); }

/* ===== Busca no celular: fundo cinza e cards flutuando (padrão Airbnb) ===== */
.search-sheet, .search-sheet .s-head, .search-sheet .s-body { background: #f7f7f7; }
.search-sheet .s-head .btn.icon-btn { background: #fff; border: 1px solid var(--line-2); border-radius: 50%; width: 36px; height: 36px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.search-sheet .sstep:not(.open) { border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.07); }
.search-sheet .sstep.open { border: 0; border-radius: 24px; box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.1); }
.search-sheet .s-foot { background: #fff; }

/* ===== Busca no desktop: barra do topo expandida + painel ===== */
.sx { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.sx-ov { position: absolute; inset: 0; background: rgba(0,0,0,.34); opacity: 0; pointer-events: auto; transition: opacity .22s var(--ease); }
.sx.show .sx-ov { opacity: 1; transition: opacity .35s var(--ease); }
.sx-band { position: absolute; top: 0; left: 0; right: 0; background: #fff; pointer-events: auto; box-shadow: 0 1px 0 var(--line-2); opacity: 0; transform: translateY(-10px); transition: opacity .18s var(--ease), transform .22s cubic-bezier(.4,0,1,1); }
.sx.show .sx-band { opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .5s cubic-bezier(.16,1,.3,1); }
.sx-inner { display: grid; grid-template-columns: 1fr minmax(0, 860px) 1fr; align-items: center; gap: 24px; height: 108px; }
.sx-inner .brand { justify-self: start; }
.sx-x { justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background-color var(--t-fast), transform var(--t-mid) var(--ease); }
.sx-x:hover { background: var(--bg-2); transform: rotate(90deg); }
.sx-wrap { position: relative; }
.sx-bar { position: relative; display: flex; align-items: stretch; height: 66px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.08); transform: scale(.86, .74); transform-origin: 50% 0; transition: transform .22s var(--ease), background-color .3s var(--ease); }
.sx.show .sx-bar { transform: none; transition: transform .55s cubic-bezier(.16,1,.3,1), background-color .3s var(--ease); }
.sx-bar.has-on { background: #ebebeb; border-color: #ebebeb; }
.sx-seg { position: relative; flex: 1 1 0; min-width: 0; padding: 0 24px; border-radius: 999px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; text-align: left; transition: background-color .2s var(--ease), box-shadow .3s var(--ease); }
.sx-seg[data-sx="where"] { flex-grow: 1.35; }
.sx-seg small { font-size: 12px; font-weight: 700; color: var(--ink); }
.sx-seg span { font-size: 14px; color: var(--ink); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-seg span.ph { color: var(--ink-3); }
.sx-seg span.flash { animation: valIn .45s var(--ease-out); }
.sx-seg + .sx-seg::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 32px; margin-top: -16px; background: #d4d4d4; transition: opacity .2s; }
.sx-seg:hover:not(.on) { background: #dddddd; }
.sx-seg.on::before, .sx-seg.on + .sx-seg::before, .sx-seg:hover::before, .sx-seg:hover + .sx-seg::before { opacity: 0; }
.sx-seg.on { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.sx-who { flex-grow: 1.5; padding-right: 136px; }
.sx-go { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); z-index: 2; height: 48px; min-width: 48px; padding: 0 18px 0 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(135deg, #2f8fff, var(--brand-dark)); box-shadow: 0 4px 14px rgba(11,124,255,.35); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid); }
.sx-go:hover { box-shadow: 0 6px 20px rgba(11,124,255,.45); }
.sx-go:active { transform: translateY(-50%) scale(.96); }
.sx-go .icon { stroke-width: 2.6; }
.sx-go span { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; opacity: 0; transition: max-width .3s var(--ease), opacity .2s; }
.sx.show .sx-go span { max-width: 70px; opacity: 1; transition: max-width .45s cubic-bezier(.16,1,.3,1) .18s, opacity .3s .22s; }

.sx-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 100%; max-height: calc(100vh - 150px); overflow: auto; background: #fff; border-radius: 32px; padding: 28px 32px; box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 16px 48px rgba(0,0,0,.18); transform-origin: 50% 0; opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .18s var(--ease), transform .2s var(--ease), left .45s cubic-bezier(.16,1,.3,1), width .45s cubic-bezier(.16,1,.3,1); }
.sx.show .sx-panel { opacity: 1; transform: none; transition: opacity .3s var(--ease) .1s, transform .5s cubic-bezier(.16,1,.3,1) .1s, left .45s cubic-bezier(.16,1,.3,1), width .45s cubic-bezier(.16,1,.3,1); }
.sx-panel[data-step="where"] { width: 520px; }
.sx-panel[data-step="who"] { left: calc(100% - 460px); width: 460px; }
.sx-pbody.swap > * { animation: fadeUp .34s var(--ease-out) both; }
.sx-pbody.swap > *:nth-child(2) { animation-delay: .05s; }
.sx-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.sx-where { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sx-where button { border: 1px solid transparent; padding: 8px; border-radius: 18px; animation: fadeUp .36s var(--ease-out) both; }
.sx-where button:nth-child(2) { animation-delay: .03s; } .sx-where button:nth-child(3) { animation-delay: .06s; } .sx-where button:nth-child(4) { animation-delay: .09s; } .sx-where button:nth-child(5) { animation-delay: .12s; } .sx-where button:nth-child(6) { animation-delay: .15s; }
.sx-where button:hover { background: var(--bg-2); border-color: transparent; }
.sx-where button.on { border: 2px solid var(--ink); padding: 7px; background: #fff; }
.sx-where .thumb { aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line-2); }
.sx-where .thumb.mosaic { border: 0; }
.sx-where .wt b { font-size: 14px; } .sx-where .wt span { font-size: 12px; }
.sx-pfoot { display: flex; justify-content: flex-end; margin-top: 4px; }
.sx-panel .guests .stepper-row { padding: 16px 0; }

@media (prefers-reduced-motion: reduce) {
  .sx *, .sx-panel, .sx-bar, .sx-band { transition-duration: .01s !important; animation: none !important; }
}
.where .thumb.mosaic { opacity: 1; }
.where { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.where .wt { width: 100%; }
.where .wt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 744px) { .search-sheet .where { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sx-where { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* página da pousada: o cabeçalho rola junto (como no Airbnb), então o menu de seções cola no topo */
@media (min-width: 950px) {
  .has-secnav .secnav { top: 0; }
  .has-secnav .book-card, body.has-secnav.secnav-on .book-card { top: calc(64px + 24px); }
  .has-secnav [data-sec] { scroll-margin-top: 88px; }
}

/* ---------------- site real: avisos, antispam, formulários ---------------- */
.demo-banner { position: relative; z-index: 60; background: #fff4d6; color: #6b4b00; font-size: 12px; font-weight: 600; text-align: center; padding: 6px 16px; line-height: 1.35; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecec; color: #9b1c1c; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.form-error:empty { display: none; }
.form-ok { background: #e8f7ee; color: #17663a; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.pass-hint { font-size: 12px; color: var(--ink-3, #6a6a6a); margin-top: -4px; }
.checkbox.terms { align-items: flex-start; }
.skeleton-line { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #eee, #f6f6f6, #eee); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
.trip-card .b .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.google-btn { gap: 10px; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3, #6a6a6a); font-size: 13px; margin: 20px 0 16px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line, #ddd); }


/* ---------- Skeletons de carregamento (app.js: data-sk / App.skeleton) ---------- */
.sk-item { pointer-events: none; }
.pcard.sk-item, .trip-card.sk-item { box-shadow: none; }
.sk-table { display: grid; gap: 14px; }
.sk-row { display: grid; grid-template-columns: 120px repeat(4, minmax(0, 1fr)); gap: 12px; align-items: center; }
.sk-media-row { display: flex; gap: 16px; align-items: center; }
.sk-menu { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.sk-box { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; }
.sk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.sk-stack { display: grid; gap: 16px; margin-top: 24px; }
.sk-foot { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.sk-status { display: grid; justify-items: center; gap: 14px; padding-top: 24px; }
.amen li > .sk, .rules-list li > .sk { flex-shrink: 0; }
h1 > .sk, h2 > .sk { max-width: 100%; }

/* ==========================================================================
   Momento 2 — home enxuta no celular (até 949 px). No computador nada muda.
   Topo: foto de fundo com o título por cima (a busca fica na barra do topo).
   Pousadas: carrossel para o lado. Comparação: abas, uma pousada por vez.
   ========================================================================== */
.cmp-m { display: none; }
@media (max-width: 949px) {
  /* topo */
  .hero { padding: 8px 0 0; }
  .hero-wrap { display: grid; }
  .hero-wrap > div:first-child { display: contents; }
  .hero .eyebrow, .hero p, .hero .chips, .hero-stats, .hero .hero-search { display: none; }
  .hero-visual { grid-area: 1 / 1; margin: 0; aspect-ratio: auto; height: 260px; border-radius: var(--r-xl); }
  .hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0) 80%); }
  .hero-visual .tag { top: 12px; bottom: auto; z-index: 1; }
  .hero h1 { grid-area: 1 / 1; align-self: end; z-index: 2; margin: 0; padding: 0 20px 20px; color: #fff; font-size: 28px; line-height: 1.1; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); pointer-events: none; }

  /* seções mais curtas */
  .section { padding: 24px 0; }
  .section-title { margin-bottom: 12px; }
  .section-title h2 { font-size: 20px; }
  .section-title .small { display: none; }

  /* pousadas em carrossel */
  .plist.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-padding: 0 var(--gutter); }
  .plist.rail::-webkit-scrollbar { display: none; }
  .plist.rail > .pcard { flex: 0 0 76%; max-width: 320px; scroll-snap-align: start; grid-template-columns: 1fr; animation: none; }
  .plist.rail .pmedia { aspect-ratio: 4 / 3; min-height: 0; }
  .plist.rail .ptrack { overflow: hidden; } /* sem carrossel de fotos dentro do carrossel */
  .plist.rail .pdots, .plist.rail .pnav, .plist.rail .ptag, .plist.rail .pchips, .plist.rail .pideal, .plist.rail .pbtn { display: none; }
  .plist.rail .pbody { padding: 12px 14px 0; gap: 2px; }
  .plist.rail .pbody h3 { font-size: 16px; }
  .plist.rail .pprice { padding: 6px 14px 14px; gap: 0; text-align: left; justify-items: start; border-left: 0; }
  .plist.rail .pprice > .small.muted:first-child { display: none; } /* "N tipos de quarto" */

  /* comparação: abas em vez da tabela larga */
  .compare-wrap { overflow: visible; margin: 0; padding: 0; }
  .compare-wrap .ctable { display: none; }
  .cmp-m { display: block; }
  .cmp-tabs { display: flex; gap: 4px; margin-bottom: 12px; }
  .cmp-tabs::-webkit-scrollbar { display: none; }
  .cmp-tabs button { flex: 1 1 auto; padding: 8px 6px; white-space: nowrap; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .cmp-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .cmp-panel { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
  .cmp-photo img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
  .cmp-panel dl { padding: 4px 16px; }
  .cmp-panel dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
  .cmp-panel dl > div:last-child { border-bottom: 0; }
  .cmp-panel dt { color: var(--ink-3); font-weight: 500; }
  .cmp-panel dd .yes { color: var(--ok); font-weight: 600; }
  .cmp-panel dd .no { color: var(--ink-3); }
  .cmp-panel > .btn { margin: 4px 16px 16px; width: calc(100% - 32px); }

  /* vantagens: 2 × 2, só o título */
  .two-col .perks { grid-template-columns: 1fr 1fr; gap: 12px; }
  .two-col .perk { flex-direction: column; gap: 8px; padding: 14px; background: #fff; border-radius: var(--r-md); }
  .two-col .perk b { font-size: 14px; line-height: 1.3; }
  .two-col .perk span { display: none; }
  .two-col .perk .ic { width: 36px; height: 36px; }

  /* chamada final e rodapé mais baixos */
  .cta { padding: 24px 20px; }
  .cta h2 { font-size: 20px; }
  .footer { padding: 24px 0 16px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .footer .cols > div:nth-child(2) { display: none; } /* lista de pousadas: já está no carrossel e no menu */
  .footer .cols > div:last-child { grid-column: 1 / -1; }
  .footer li { margin-bottom: 8px; }
}

/* Momento 2 — resultados da busca no celular: uma linha por pousada (foto pequena + informações principais) */
@media (max-width: 949px) {
  .results-list .plist { gap: 10px; }
  .results-list .plist > .pcard { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; animation: none; border-radius: var(--r-md); }
  .results-list .plist .pmedia { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 0; height: 100%; }
  .results-list .plist .ptrack { overflow: hidden; }
  .results-list .plist .pdots, .results-list .plist .pnav, .results-list .plist .ptag, .results-list .plist .pchips,
  .results-list .plist .pideal, .results-list .plist .pbtn, .results-list .plist .pmedia .badge { display: none; }
  .results-list .plist .pbody { padding: 10px 12px 0; gap: 1px; }
  .results-list .plist .pbody h3 { font-size: 16px; }
  .results-list .plist .ploc { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .results-list .plist .pprice { padding: 4px 12px 10px; gap: 0; text-align: left; justify-items: start; align-content: start; border-left: 0; font-size: 13px; }
  .results-list .plist .pprice .small { font-size: 12px; }
  .results-list .plist .pfrom b { font-size: 18px; }

  /* outros imóveis: carrossel lateral, cards menores */
  .results-list #extras { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-padding: 0 var(--gutter); }
  .results-list #extras::-webkit-scrollbar { display: none; }
  .results-list #extras > .card { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
  .results-list #extras .track { overflow: hidden; }
}
/* Confirmação do banco (3DS): a biblioteca da Stone abre o desafio do banco dentro de #challengeContainer */
.tds-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 18, 32, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tds-box { background: #fff; border-radius: var(--r-md, 16px); padding: 16px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; text-align: center; }
.tds-box #challengeContainer:empty::after { content: ""; display: block; width: 28px; height: 28px; margin: 16px auto 4px; border-radius: 50%; border: 3px solid var(--line-2, #e5e7eb); border-top-color: var(--brand, #0b7cff); animation: tds-spin .8s linear infinite; }
.tds-box #challengeContainer iframe { display: block; margin: 8px auto 0; border: 0; max-width: 100%; }
@keyframes tds-spin { to { transform: rotate(360deg); } }

/* ---------- grupo em vários quartos (página da pousada) ---------- */
.group-rec { border: 1px solid var(--line, #e5e5e5); border-radius: 14px; padding: 16px; background: var(--bg-soft, #f7f7f7); }
.group-list { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 6px; }
.group-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; }
.group-rec .row { gap: 12px; flex-wrap: wrap; }
.group-sel { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px dashed var(--line, #ddd); border-radius: 12px; padding: 12px 14px; }
/* "escolha do seu jeito": uma linha por faixa de pessoas, com + e − (largura toda, também no computador) */
.room.grp { grid-template-columns: 96px minmax(0, 1fr); }
.room.grp .room-price { grid-column: 1 / -1; display: block; text-align: left; padding: 12px 0 0; border-left: 0; border-top: 1px dashed var(--line); }
@media (min-width: 744px) { .room.grp { grid-template-columns: 120px minmax(0, 1fr); } }
.bands { display: grid; gap: 6px; margin-top: 6px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line-2, #eee); border-radius: 10px; }
.band.on { border-color: var(--ink, #222); background: var(--bg-soft, #f7f7f7); }
.band .bl { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.band .bl b { font-size: 16px; }
.stepper.sm { gap: 10px; }
.stepper.sm button { width: 30px; height: 30px; }
.own-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 8px; }
.group-sum { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #ddd); background: #fff; }
.group-sum .row { gap: 12px; flex-wrap: wrap; }
.ok { color: #0f7a4a; }
.ok svg { vertical-align: -2px; }
/* Dica da Marmeu: opção com menos quartos e bem mais barata */
.tip { border: 1px solid #c9e6dc; background: linear-gradient(135deg, #f1faf6, #eef6ff); border-radius: 14px; padding: 14px 16px; }
.tip-h { font-weight: 700; font-size: 14px; color: #0f5f57; margin-bottom: 4px; }
.tip p { margin: 0; }
.tip .group-list { margin: 8px 0 12px; }
.tip-mini { margin-top: 4px; font-size: 13px; color: #0f5f57; }
.warn { color: #b45309; }
.co-rooms { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.co-rooms li { display: flex; justify-content: space-between; gap: 12px; }
/* ---------- cronômetro do Pix ---------- */
.pix-timer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #eef7f6; color: #0f5f57; }
.pix-timer span { font-size: 14px; }
.pix-timer b { font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.pix-timer.late { background: #fdecea; color: #b42318; }
/* ---------- login opcional no checkout ---------- */
.co-login { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line, #ddd); border-radius: 14px; }
.co-login > div { display: grid; gap: 2px; }
.co-login .google-btn { margin-top: 0; }
.co-login > a { justify-self: center; }
/* ---------- página da pousada resumida no celular (pedido do dono: só o principal, menos rolagem até os quartos) ---------- */
@media (max-width: 949px) {
  .pousada-page .l-section { padding: 16px 0; }
  .pousada-page .l-section h2 { font-size: 18px; margin-bottom: 10px; }
  /* destaques: só o título, em 2 colunas */
  .pousada-page .highlights { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .pousada-page .hl { gap: 10px; align-items: center; }
  .pousada-page .hl .icon { width: 22px; height: 22px; margin-top: 0; flex-shrink: 0; }
  .pousada-page .hl b { font-size: 13px; line-height: 1.3; font-weight: 600; }
  .pousada-page .hl span { display: none; }
  /* "ideal para" em 2 linhas no máximo */
  .pousada-page .ideal { padding: 10px 12px; gap: 10px; }
  .pousada-page .ideal span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* descrição: 3 linhas e "Mostrar mais" */
  .pousada-page .clamp { max-height: 66px; }
  .pousada-page .clamp::after { height: 30px; }
  /* estrutura em 2 colunas */
  .pousada-page .amen { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .pousada-page .amen li { font-size: 13px; gap: 8px; }
  .pousada-page .amen li .icon { width: 20px; height: 20px; flex-shrink: 0; }
  /* quartos: no máximo 3 itens de comodidade (o resto em "Ver fotos e detalhes") */
  .pousada-page .room-chips span:nth-child(n+4) { display: none; }
  /* mapa menor */
  .pousada-page .map { height: 180px; }
}

/* ---------- upgrade no checkout (Tropical, Enseada e Tombo) ---------- */
.upg { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; border: 1px solid #f0d9a8; background: #fffaf0; border-radius: 14px; }
.upg img { width: 112px; height: 100%; min-height: 112px; object-fit: cover; border-radius: 10px; }
.upg-b { display: grid; gap: 4px; align-content: start; }
.upg-t { font-size: 12px; font-weight: 700; color: #9a6700; text-transform: uppercase; letter-spacing: .3px; display: flex; align-items: center; gap: 4px; }
.upg-b b { font-size: 15px; line-height: 1.3; }
.upg .row { flex-wrap: wrap; }
.upg-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: #fffaf0; border: 1px solid #f0d9a8; font-size: 14px; }
.upg-line .icon { color: #9a6700; }
@media (min-width: 744px) { .upg { grid-template-columns: 180px minmax(0, 1fr); } .upg img { width: 180px; } }

/* "escolha do seu jeito": para quantas pessoas + adicionar quarto + quartos escolhidos */
.occ { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.occ-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.occ-opts button { min-width: 38px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line, #ddd); background: #fff; font-weight: 600; font-size: 14px; }
.occ-opts button.on { background: var(--ink, #222); border-color: var(--ink, #222); color: #fff; }
.occ-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.occ-add b { font-size: 17px; }
.occ-add .btn { white-space: nowrap; }
.occ-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.occ-chosen .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 999px; background: var(--brand-light); color: var(--brand-dark); font-size: 13px; font-weight: 600; }
.occ-chosen .chip button { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; color: var(--brand-dark); }
.occ-chosen .chip button:hover { background: rgba(11, 124, 255, .12); }

/* seletor de hóspedes enxuto: cada linha numa linha só e sem o aviso "máximo" fora do limite */
.guests-note:empty { display: none; }
.stepper-row > div:first-child { min-width: 0; }
.stepper-row > div:first-child span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guests .stepper-row, .search-sheet .guests .stepper-row, .sx-panel .guests .stepper-row { padding: 12px 0; }

/* depois de abrir a opção da dica: caminho de volta para o que a pessoa pediu */
.tip-back { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; border: 1px solid #c9e6dc; background: #f1faf6; font-size: 14px; color: #0f5f57; }
.tip-back .btn { white-space: nowrap; }

/* botões do "escolha do seu jeito": sem zoom de toque duplo (no celular, dois toques rápidos moviam a página) */
.occ-opts button, .occ-add .btn, .occ-chosen button, .stepper button { touch-action: manipulation; }

/* sem zoom de toque duplo em todo o site (tocar rápido no + de adultos dava zoom); o zoom de pinça continua */
html, button, a, input, select, label, [role="button"] { touch-action: manipulation; }

/* ---------- topo da home (dono, 30/11/2026): logo da Marmeu + frase de impacto ---------- */
.hero-logo, .hero-act { display: none; }
@media (max-width: 949px) {
  .hero-visual { height: 440px; }
  .hero-visual::after { background: linear-gradient(to top, rgba(4, 22, 40, .88) 0%, rgba(4, 22, 40, .5) 42%, rgba(4, 22, 40, .18) 68%, rgba(4, 22, 40, .5) 100%); }
  .hero-visual .tag { display: none; }
  .hero .hero-logo { display: block; grid-area: 1 / 1; z-index: 2; align-self: start; justify-self: center; width: 150px; height: auto; margin-top: 26px; pointer-events: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
  .hero h1 { text-align: center; font-size: 36px; line-height: 1.05; padding: 0 24px 176px; }
  .hero .hero-act { display: flex; grid-area: 1 / 1; z-index: 2; align-self: end; flex-direction: column; align-items: center; gap: 14px; padding: 0 24px 24px; text-align: center; }
  .hero .hero-act p { display: block; margin: 0; color: rgba(255, 255, 255, .92); font-size: 15px; line-height: 1.4; max-width: 320px; }
  .hero .hero-act .btn { width: 100%; max-width: 320px; }
}

/* "Guarujá" bem visível no topo da home (dono, 30/11/2026) */
.hero-place { display: none; }
@media (max-width: 949px) {
  .hero .hero-place { display: inline-flex; grid-area: 1 / 1; z-index: 2; align-self: start; justify-self: center; margin-top: 104px; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; pointer-events: none; }
  .hero .hero-place .icon { width: 14px; height: 14px; color: #7fd6ff; }
}

/* texto de apoio do topo: uma frase por linha, centralizadas (a frase não quebra no meio) */
@media (max-width: 949px) {
  .hero .hero-act p span { display: block; text-wrap: balance; }
  .hero .hero-act p .hero-act-2 { margin-top: 4px; font-weight: 700; color: #fff; }
}

/* Pix no celular: copiar o código vem primeiro; QR escondido atrás de "Mostrar" (no computador aparece direto) */
.pix-steps { text-align: left; margin: 0 auto; max-width: 340px; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); }
.pix-copy { font-size: 17px; }
.pix-qr { display: none; justify-content: center; width: fit-content; margin: 12px auto 0; }
.pix-qr.show { display: flex; }
@media (min-width: 950px) { .pix-qr { display: flex; } .pix-qr-toggle { display: none; } }

/* comparativo com Booking/Airbnb no checkout (mesmas datas e pessoas) */
.co-compare { border: 1px solid #cfe9d9; background: #f3fbf6; border-radius: 14px; padding: 12px 14px; }
.co-compare .r { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 2px 0; }
.co-compare .strike { text-decoration: line-through; color: var(--ink-3); }
.co-compare .r.me { border-top: 1px dashed #cfe9d9; margin-top: 4px; padding-top: 6px; }

/* busca sem vaga: datas próximas e outras pousadas como chips clicáveis */
.near-dates { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.near-dates .chip { background: #fff; border: 1px solid var(--brand); color: var(--brand-dark); font-weight: 600; }

/* urgência honesta (reservas reais das últimas 48 h para as datas) */
.demand { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff4e5; color: #8a4b00; font-size: 14px; }
.demand .icon { color: #c2410c; flex-shrink: 0; }

/* ===== SEO e conteúdo (trilha, perguntas, guias): páginas estáticas geradas por scripts/build-seo.mjs ===== */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 16px; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.faq .faq-a { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; max-width: 68ch; }
.faq details[open] .faq-a { animation: fadeUp .3s var(--ease-out); }
.faq .faq-a a, .prose a, .page-head p a { text-decoration: underline; text-underline-offset: 2px; }
.prose h3 { font-size: 17px; margin: 20px 0 8px; }
.prose ol { padding-left: 20px; list-style: decimal; }
.prose .table-wrap { overflow-x: auto; margin: 12px 0 16px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.prose thead th { font-weight: 700; color: var(--ink); background: var(--bg-2); }
.byline { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.byline a { text-decoration: underline; }
.tldr { padding: 14px 16px; border-radius: var(--r-md); background: var(--brand-light); font-size: 15px; margin: 12px 0 4px; max-width: 68ch; }
.prose .sources li, .sources li { font-size: 13px; color: var(--ink-3); word-break: break-word; }
.guide-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guide-card { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; transition: border-color var(--t-fast); }
.guide-card b { font-size: 16px; }
.guide-card span { font-size: 14px; color: var(--ink-3); }
.guide-card:hover { border-color: var(--ink); }
#ficha-sec .rules-list li span:last-child { font-weight: 500; color: var(--ink-2); }
