﻿.header-search-slot {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home-page .site-header {
  width: var(--rr-header-width);
}

.header-search-slot:empty {
  min-height: 0;
}

body.home-page:not(.is-compact):not(.search-open) .site-header {
  justify-content: space-between;
}

body.home-page:not(.is-compact):not(.search-open) .main-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: auto;
  padding-top: 0;
  transform: translate(-50%, -50%);
}

/* Celular: logo | Início · Hospedagens · Sobre | menu numa linha só. O menu
   sai do centro absoluto (sobreporia logo e avatar) e ocupa o espaço entre
   eles; abaixo de 600px o logo fica só com o emblema para caber. */
@media (max-width: 720px) {
  body.home-page:not(.is-compact):not(.search-open) .site-header {
    flex-wrap: nowrap;
    column-gap: var(--rr-space-3);
  }

  /* Ordem explícita: regras de ≤1100 usam `order` e jogavam o menu antes dos links. */
  body.home-page:not(.is-compact):not(.search-open) .site-header > .logo {
    order: 0;
  }

  body.home-page:not(.is-compact):not(.search-open) .header-search-slot {
    order: 2;
  }

  body.home-page:not(.is-compact):not(.search-open) .header-user-area {
    order: 3;
  }

  body.home-page:not(.is-compact):not(.search-open) .main-nav {
    order: 1;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: clamp(0.85rem, 4vw, 1.5rem);
    transform: none;
  }

  body.home-page:not(.is-compact):not(.search-open) .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: var(--rr-touch);
    font-size: 0.92rem;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  body.home-page:not(.is-compact):not(.search-open) .site-header .brand-copy {
    display: none;
  }
}

@media (max-width: 360px) {
  body.home-page:not(.is-compact):not(.search-open) .main-nav {
    gap: 0.7rem;
  }

  body.home-page:not(.is-compact):not(.search-open) .main-nav a {
    font-size: 0.85rem;
  }
}

body.home-page:not(.is-compact):not(.search-open) .header-search-slot:empty {
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
}

.search-dock-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

@keyframes headerNavReveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page .hero-search-shell > .search-component {
  width: 100%;
}

.home-page .header-search-slot > .search-component {
  width: min(520px, 100%);
}

.home-page .search-expanded-header {
  display: none !important;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot > .search-component {
  width: min(480px, 100%);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar {
  padding: 0.2rem;
  gap: 0.15rem;
  grid-template-columns: minmax(110px, 1fr) minmax(150px, 1.35fr) minmax(92px, 0.75fr) auto;
  background: rgba(9, 38, 27, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 22px rgba(1, 11, 7, 0.24);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment.search-segment-wide,
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-submit {
  grid-column: auto;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment[data-search-open="what"] {
  display: none;
}

/* Segmentos viram pílulas individuais no modo compacto (estilo Airbnb):
   o realce de :hover já existente em .search-segment:hover fica isolado
   por segmento, em vez de uma barra reta sem cantos. */
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  min-width: 0;
  border-radius: 999px;
  align-content: center;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment + .search-segment {
  border-left: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment-label {
  display: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment-value {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-submit {
  min-height: 44px;
  margin-left: 0;
  border-radius: 999px;
  justify-self: end;
  background: linear-gradient(135deg, var(--accent), #d9a914);
  color: #112015;
  box-shadow:
    0 6px 16px rgba(217, 169, 20, 0.2),
    inset 0 0 0 1px rgba(20, 34, 23, 0.12);
}

/* Sem filtro ativo: só a lupa. Com filtro ativo: lupa + "Buscar" escrito. */
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar:not(.has-active-filters) .search-submit {
  width: 44px;
  padding: 0;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar.has-active-filters .search-submit {
  padding: 0 1.1rem 0 0.9rem;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar:not(.has-active-filters) .search-submit .search-submit-label {
  display: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-submit .search-submit-icon {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='6.75' cy='6.75' r='4.75' stroke='%23112015' stroke-width='2'/%3E%3Cpath d='M10.5 10.5L14 14' stroke='%23112015' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
}

body.home-page.search-expanded:not(.listing-airbnb-page) .header-search-slot > .search-component {
  width: min(740px, 100%);
}

body.home-page.search-expanded:not(.listing-airbnb-page) .hero-search-shell > .search-component {
  width: 100%;
}

body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell > .search-component {
  position: relative;
  z-index: 140;
}

body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell .search-header-form {
  position: relative;
  z-index: 140;
}

body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell .search-bar {
  isolation: isolate;
  position: relative;
  z-index: 220;
  pointer-events: none;
}

body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell .search-segment,
body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell .search-submit {
  position: relative;
  z-index: 230;
  pointer-events: auto;
}

body.home-page.search-expanded:not(.search-open):not(.listing-airbnb-page) .hero-search-shell .search-popover {
  z-index: 150;
}

body.home-page.search-open:not(.listing-airbnb-page) .site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  row-gap: 0.75rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

body.home-page.search-open:not(.listing-airbnb-page) .site-header > .logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: start;
  align-self: center;
  min-width: 0;
}

body.home-page.search-open:not(.listing-airbnb-page) .main-nav {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  position: static;
  top: auto;
  left: auto;
  justify-content: center;
  width: 100%;
  transform: none;
  align-self: end;
  z-index: 120;
  animation: headerNavReveal 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot {
  grid-column: 2;
  grid-row: 2;
  width: auto;
  justify-self: center;
  justify-content: center;
  align-self: start;
}

body.home-page.search-open:not(.listing-airbnb-page) .header-user-area {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin-left: 0;
  justify-self: end;
  align-self: center;
  min-width: 0;
  z-index: 120;
}

body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot > .search-component {
  position: relative;
  z-index: 180;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-header-form {
  display: inline-grid;
  width: 100%;
  position: relative;
  z-index: 180;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-bar {
  grid-template-columns: minmax(140px, 1fr) minmax(90px, 0.72fr) minmax(180px, 1fr) minmax(130px, 0.8fr) auto;
  padding: 0.28rem;
  isolation: isolate;
  position: relative;
  z-index: 220;
  pointer-events: none;
  width: 100%;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-segment.search-segment-wide,
body.home-page.search-open:not(.listing-airbnb-page) .search-submit {
  grid-column: auto;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-segment {
  min-height: 52px;
  padding: 0.65rem 0.95rem;
  min-width: 0;
  position: relative;
  z-index: 230;
  pointer-events: auto;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-segment-value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-submit {
  min-height: 52px;
  margin-left: 0.28rem;
  padding: 0.9rem 1.15rem;
  position: relative;
  z-index: 230;
  pointer-events: auto;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-popover {
  z-index: 150;
}

body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .site-header > .logo {
  grid-column: 1;
  justify-self: start;
}

body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .main-nav {
  display: none;
  position: static;
  top: auto;
  left: auto;
  transform: none;
}

/* grid-row explícito: o `order: 2` de ≤1100 (usado no header em flex)
   empurrava a busca para uma segunda linha no header compacto. */
body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .header-search-slot {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  justify-self: center;
  justify-content: center;
}

body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .header-user-area {
  grid-column: 3;
  margin-left: 0;
  justify-self: end;
}

@media (max-width: 1100px) {
  .header-search-slot {
    order: 2;
    flex: 1 0 100%;
    width: 100%;
  }
}

/* Home restyle: hero search remains dockable, but uses the light royal pattern. */
body.home-page:not(.listing-airbnb-page) {
  --bg: #f7f3ec;
  --panel: #ffffff;
  --panel-soft: #ffffff;
  --panel-deep: #11110f;
  --text: #1c1917;
  --muted: #6f6860;
  --highlight: #c38a2e;
  --accent: #c38a2e;
  --accent-dark: #8f5f1b;
  --line: rgba(28, 25, 23, 0.1);
  --line-strong: rgba(195, 138, 46, 0.34);
  --card-shadow: 0 18px 40px rgba(28, 25, 23, 0.11);
  background:
    linear-gradient(180deg, #f9f6ef 0%, #f3eee5 44%, #ffffff 100%);
  color: var(--text);
}

body.home-page:not(.listing-airbnb-page) .bg-shape {
  display: none;
}

/* O header flutua (fixed) sobre o hero; a página começa em 0. Antes ele
   ocupava espaço no fluxo e o hero era puxado com margin-top negativa
   calibrada à mão para a altura do header — qualquer header mais alto
   (ex.: duas linhas no celular) deixava uma faixa clara acima do hero. */
body.home-page:not(.listing-airbnb-page) .page-content {
  width: 100%;
  margin: 0;
}

body.home-page:not(.listing-airbnb-page) .page-content { margin-bottom: 0; }

body.home-page:not(.listing-airbnb-page) .site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  width: var(--rr-header-width);
  margin: 0 auto;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #ffffff;
}

body.home-page:not(.listing-airbnb-page):not(.is-compact):not(.search-open) .site-header {
  justify-content: space-between;
}

body.home-page:not(.listing-airbnb-page) .logo,
body.home-page:not(.listing-airbnb-page) .main-nav a,
body.home-page:not(.listing-airbnb-page) .host-link {
  color: #ffffff;
}

body.home-page:not(.listing-airbnb-page) .brand-text {
  color: #c99135;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

body.home-page:not(.listing-airbnb-page) .main-nav a {
  position: relative;
  padding: 0.35rem 0;
}

body.home-page:not(.listing-airbnb-page) .main-nav a::after {
  content: none;
}

html.route-home body.home-page:not(.listing-airbnb-page) .main-nav a[href="/"]::after,
html.route-listings body.home-page:not(.listing-airbnb-page) .main-nav a[href="/hospedagens"]::after,
html.route-experiences body.home-page:not(.listing-airbnb-page) .main-nav a[href="/experiencias"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 2px;
  background: #c38a2e;
}

body.home-page:not(.listing-airbnb-page) .main-nav a:hover,
body.home-page:not(.listing-airbnb-page) .host-link:hover {
  color: #f6d28e;
}

body.home-page:not(.listing-airbnb-page) .user-avatar-trigger {
  border: 1px solid rgba(201, 145, 53, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body.home-page:not(.listing-airbnb-page) .user-avatar-fallback {
  background: transparent;
  color: #ffffff;
}

body.home-page:not(.listing-airbnb-page) .user-trigger {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Header compacto/aberto em "liquid glass": vidro claro translúcido com
   desfoque e saturação do que passa por trás, borda luminosa e reflexo
   interno no topo. Sem backdrop-filter, cai para o branco opaco anterior. */
body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .site-header,
body.home-page:not(.listing-airbnb-page).search-open .site-header {
  border-radius: 1.1rem;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    0 18px 48px rgba(28, 25, 23, 0.14),
    0 2px 10px rgba(28, 25, 23, 0.06);
  color: #1c1917;
}

/* No vidro claro a sombra escura do nome (pensada para o hero) borra. */
body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .brand-text,
body.home-page:not(.listing-airbnb-page).search-open .brand-text {
  text-shadow: none;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .site-header,
  body.home-page:not(.listing-airbnb-page).search-open .site-header {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.48) 55%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }
}

body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .logo,
body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .host-link,
body.home-page:not(.listing-airbnb-page).search-open .logo,
body.home-page:not(.listing-airbnb-page).search-open .main-nav a,
body.home-page:not(.listing-airbnb-page).search-open .host-link {
  color: #1c1917;
}

body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .user-avatar-trigger,
body.home-page:not(.listing-airbnb-page).search-open .user-avatar-trigger {
  background: #1c1917;
  color: #ffffff;
  border-color: transparent;
}

body.home-page:not(.listing-airbnb-page).is-compact:not(.search-open) .user-trigger,
body.home-page:not(.listing-airbnb-page).search-open .user-trigger {
  border-color: rgba(28, 25, 23, 0.1);
  background: #f7f3ec;
  color: #1c1917;
}

body.home-page:not(.listing-airbnb-page) .hero-showcase {
  width: 100%;
  margin-bottom: 0;
}

body.home-page:not(.listing-airbnb-page) .hero-carousel {
  min-height: 820px;
  border: 0;
  border-radius: 0;
  background: #11110f;
  box-shadow: none;
}

/* Hero é full-bleed; o conteúdo, a busca e a faixa de confiança voltam
   para a régua global (mesma borda esquerda de todas as seções). */
body.home-page:not(.listing-airbnb-page) .hero-slide {
  border-radius: 0;
  padding: clamp(8.2rem, 12vw, 10rem) var(--rr-page-inline) 16rem;
  align-items: start;
  background-position: center;
}

body.home-page:not(.listing-airbnb-page) .hero-slide-overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.82) 0%, rgba(7, 9, 9, 0.58) 43%, rgba(7, 9, 9, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 9, 9, 0.14) 0%, rgba(7, 9, 9, 0.58) 100%);
}

body.home-page:not(.listing-airbnb-page) .hero-slide-content {
  width: min(860px, 100%);
  gap: 0.85rem;
}

body.home-page:not(.listing-airbnb-page) .hero-kicker {
  color: #d0a45a;
}

body.home-page:not(.listing-airbnb-page) .hero-slide h1,
body.home-page:not(.listing-airbnb-page) .hero-slide h2 {
  font-family: "Forum", serif;
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(3rem, 4.8vw, 4.55rem);
  line-height: 1;
  max-width: 13ch;
}

body.home-page:not(.listing-airbnb-page) .hero-slide h2 {
  font-size: clamp(2.8rem, 4.05vw, 4rem);
  max-width: 18ch;
  line-height: 1.02;
}

body.home-page:not(.listing-airbnb-page) .hero-copy {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

body.home-page:not(.listing-airbnb-page) .hero-slide-tags {
  display: none;
}

/* Botão opcional do slide (definido no admin → Home). */
body.home-page:not(.listing-airbnb-page) .hero-cta {
  align-self: flex-start;
  margin-top: var(--rr-space-4, 1rem);
  pointer-events: auto;
}

body.home-page:not(.listing-airbnb-page) .hero-search-shell {
  left: var(--rr-page-inline);
  right: auto;
  bottom: clamp(8.8rem, 9.4vw, 9.4rem);
  width: min(960px, 100% - 2 * var(--rr-page-gutter));
}

body.home-page:not(.listing-airbnb-page) .hero-search-shell > .search-component {
  width: 100%;
}

body.home-page:not(.listing-airbnb-page) .hero-trust-strip {
  position: absolute;
  left: var(--rr-page-inline);
  right: auto;
  bottom: clamp(4.05rem, 4.7vw, 4.45rem);
  z-index: 3;
  width: min(960px, 100% - 2 * var(--rr-page-gutter));
  min-height: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  backdrop-filter: none;
}

body.home-page:not(.listing-airbnb-page) .hero-trust-strip > span {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.25rem 1.1rem 0.25rem 0;
  border-right: none;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

body.home-page:not(.listing-airbnb-page) .hero-trust-strip > span:last-child {
  border-right: none;
}

body.home-page:not(.listing-airbnb-page) .hero-trust-icon {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  color: #ffffff;
  opacity: 0.92;
}

body.home-page:not(.listing-airbnb-page) .hero-trust-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page:not(.listing-airbnb-page) .search-bar {
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.97);
  border-color: transparent !important;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.06);
}

body.home-page:not(.listing-airbnb-page) .hero-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 1.45rem;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
}

body.home-page:not(.listing-airbnb-page) .hero-carousel:has(.search-popover.is-open) .hero-carousel-controls {
  opacity: 0;
  pointer-events: none;
}

body.home-page:not(.listing-airbnb-page) .hero-carousel-controls.has-overflow::before,
body.home-page:not(.listing-airbnb-page) .hero-carousel-controls.has-overflow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.35rem;
  height: 2rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

body.home-page:not(.listing-airbnb-page) .hero-carousel-controls.has-overflow::before {
  left: 2.2rem;
  background: linear-gradient(90deg, rgba(7, 9, 9, 0.55), rgba(7, 9, 9, 0));
}

body.home-page:not(.listing-airbnb-page) .hero-carousel-controls.has-overflow::after {
  right: 2.2rem;
  background: linear-gradient(270deg, rgba(7, 9, 9, 0.55), rgba(7, 9, 9, 0));
}

body.home-page:not(.listing-airbnb-page) .hero-dots {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 4rem;
  padding: 0.25rem 0.35rem;
}

body.home-page:not(.listing-airbnb-page) .hero-control-arrow {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 9, 9, 0.3);
  color: #ffffff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
}

body.home-page:not(.listing-airbnb-page) .hero-control-arrow:hover {
  background: rgba(7, 9, 9, 0.48);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

body.home-page:not(.listing-airbnb-page) .hero-dot.is-active {
  background: #c38a2e;
}

/* ==========================================================================
   RÉGUA GLOBAL — seções da Home
   Toda seção é full-bleed (fundo 100%) e recua o conteúdo com
   --rr-page-inline, que resolve para a mesma área útil da seção de
   referência "Escolha o clima da sua viagem" (máx. 1456px, gutter fluido).
   Ver docs/design-system-layout.md.
   ========================================================================== */
body.home-page:not(.listing-airbnb-page) .featured-section,
body.home-page:not(.listing-airbnb-page) .destination-listings-section,
body.home-page:not(.listing-airbnb-page) .benefits-section,
body.home-page:not(.listing-airbnb-page) .route-collection,
body.home-page:not(.listing-airbnb-page) .brand-story,
body.home-page:not(.listing-airbnb-page) .corporate-callout,
body.home-page:not(.listing-airbnb-page) .final-cta-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--rr-section-space) var(--rr-page-inline);
}

body.home-page:not(.listing-airbnb-page) .home-section-inner {
  width: 100%;
  margin-inline: auto;
}

body.home-page:not(.listing-airbnb-page) .trust-section {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .trust-card,
body.home-page:not(.listing-airbnb-page) .brand-story-copy,
body.home-page:not(.listing-airbnb-page) .brand-story-panels article,
body.home-page:not(.listing-airbnb-page) .benefit-card,
body.home-page:not(.listing-airbnb-page) .listing-card {
  border-color: rgba(28, 25, 23, 0.08);
  background: #ffffff;
  color: #1c1917;
  box-shadow: var(--card-shadow);
}

body.home-page:not(.listing-airbnb-page) .trust-number,
body.home-page:not(.listing-airbnb-page) .section-kicker,
body.home-page:not(.listing-airbnb-page) .rr-badge,
body.home-page:not(.listing-airbnb-page) .listing-price,
body.home-page:not(.listing-airbnb-page) .brand-story-panels strong {
  color: #b98020;
}

body.home-page:not(.listing-airbnb-page) .trust-card p,
body.home-page:not(.listing-airbnb-page) .section-header p,
body.home-page:not(.listing-airbnb-page) .listing-topline,
body.home-page:not(.listing-airbnb-page) .listing-meta,
body.home-page:not(.listing-airbnb-page) .brand-story-copy p:last-child,
body.home-page:not(.listing-airbnb-page) .brand-story-panels span,
body.home-page:not(.listing-airbnb-page) .benefit-card > p:last-child,
body.home-page:not(.listing-airbnb-page) .feedback {
  color: #6f6860;
}


body.home-page:not(.listing-airbnb-page) .featured-section .section-header h2,
body.home-page:not(.listing-airbnb-page) .section-header h2,
body.home-page:not(.listing-airbnb-page) .brand-story-copy h2,
body.home-page:not(.listing-airbnb-page) .final-cta-card h2 {
  font-family: "Forum", serif;
  font-weight: 400;
  color: #1c1917;
  letter-spacing: 0;
}

body.home-page:not(.listing-airbnb-page) #result-count {
  font-size: 0.95rem;
}

body.home-page:not(.listing-airbnb-page) .listing-title {
  color: #1c1917;
}

body.home-page:not(.listing-airbnb-page) .listing-badge {
  background: rgba(28, 25, 23, 0.8);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

body.home-page:not(.listing-airbnb-page) .listing-favorite {
  left: auto;
  right: 0.8rem;
}

body.home-page:not(.listing-airbnb-page) .listing-cta {
  border-color: rgba(185, 128, 32, 0.22);
  background: rgba(185, 128, 32, 0.08);
  color: #8b5d18;
}

body.home-page:not(.listing-airbnb-page) .featured-copy {
  min-width: 0;
}

body.home-page:not(.listing-airbnb-page) .featured-copy > div {
  display: grid;
  gap: 0.35rem;
}

body.home-page:not(.listing-airbnb-page) .featured-all-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid #b98020;
  border-radius: 0.28rem;
  background: #151412;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.12);
}

body.home-page:not(.listing-airbnb-page) .featured-result-count {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .featured-listings-shell {
  position: relative;
  min-width: 0;
}

body.home-page:not(.listing-airbnb-page) .featured-listings-shell .feedback {
  margin-top: 0.8rem;
}

body.home-page:not(.listing-airbnb-page) .featured-next-btn {
  position: absolute;
  top: 50%;
  right: -1.15rem;
  z-index: 4;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #b98020;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.18);
}

body.home-page:not(.listing-airbnb-page) .featured-next-btn:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-title {
  margin: 0;
  color: #1c1917;
  font-size: 0.98rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 3.75em;
  overflow: hidden;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-price[hidden] { display: none !important; }

body.home-page:not(.listing-airbnb-page) .featured-section .listing-city {
  margin: 0.18rem 0 0;
  color: #6f6860;
  font-size: 0.84rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-meta,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-cta {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-bottomline {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-rating {
  margin: 0;
  color: #6f6860;
  font-size: 0.78rem;
  font-weight: 700;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-price {
  margin: 0;
  color: #1c1917;
  text-align: right;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-price span {
  display: block;
  color: #6f6860;
  font-size: 0.68rem;
  font-weight: 600;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge {
  top: 0.62rem;
  left: 0.62rem;
  right: auto;
  max-width: calc(100% - 4.1rem);
  padding: 0.28rem 0.58rem;
  background: rgba(28, 25, 23, 0.78);
  color: #ffffff;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-favorite {
  top: 0.56rem;
  right: 0.56rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot > .search-component {
  width: min(700px, 100%);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .hero-trust-strip,
body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .hero-trust-strip {
  opacity: 0;
  pointer-events: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar {
  grid-template-columns: minmax(140px, 1.05fr) minmax(190px, 1.2fr) minmax(130px, 0.85fr) auto;
  padding: 0.48rem 0.55rem;
  border-radius: 0.62rem;
  /* pílula da busca mais opaca que o vidro, para manter a leitura */
  background: rgba(255, 255, 255, 0.86);
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.08);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment {
  min-height: 48px;
  border-radius: 0.5rem;
  padding: 0.56rem 0.85rem;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment::after {
  top: 0.7rem;
  bottom: 0.7rem;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment-value {
  color: #1c1917;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-submit {
  min-height: 48px;
  border-radius: 0.5rem;
  color: #ffffff;
}

body.home-page.search-open:not(.listing-airbnb-page) .search-bar {
  border-radius: 0.62rem;
}

/* Logo e conta ficam com a largura natural; a busca ocupa o espaço restante
   até 820px. Sem mínimos rígidos → não estoura abaixo de 1170px. */
body.home-page.search-open:not(.listing-airbnb-page) .site-header {
  grid-template-columns: auto minmax(0, 820px) auto;
  justify-content: space-between;
  column-gap: 1.2rem;
}

body.home-page.search-open:not(.listing-airbnb-page) .main-nav {
  grid-column: 2;
  justify-self: center;
}

body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot {
  grid-column: 2;
  justify-self: center;
  width: 100%;
}

body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot > .search-component {
  width: min(820px, 100%);
  transform: translateY(4px);
}

body.home-page.search-open:not(.listing-airbnb-page) .search-popover {
  left: 50%;
  right: auto;
  width: min(1080px, calc(100vw - 4rem));
  transform: translate(-50%, -14px) scale(0.985);
}

body.home-page.search-open:not(.listing-airbnb-page) .search-popover.is-open {
  transform: translate(-50%, 0) scale(1);
}

/* Header compacto/aberto — adaptação progressiva da busca. */
@media (max-width: 1100px) {
  /* O popover da busca no header passa a se posicionar pelo próprio header
     (sticky = bloco de contenção), ocupando a largura dele. Ancorado no
     campo, ele estourava a viewport à direita — inclusive fechado, pois
     visibility:hidden ainda gera largura de rolagem. */
  body.home-page.search-compact:not(.listing-airbnb-page) .header-search-slot > .search-component,
  body.home-page.search-compact:not(.listing-airbnb-page) .header-search-slot .search-header-form,
  body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot > .search-component,
  body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot .search-header-form {
    position: static;
    /* transform também criaria bloco de contenção para o popover */
    transform: none;
  }

  body.home-page.search-compact:not(.listing-airbnb-page) .header-search-slot .search-popover,
  body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot .search-popover {
    top: calc(100% + 0.5rem);
    left: var(--rr-header-pad);
    right: var(--rr-header-pad);
    width: auto;
    transform: translateY(-14px) scale(0.985);
  }

  body.home-page.search-compact:not(.listing-airbnb-page) .header-search-slot .search-popover.is-open,
  body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot .search-popover.is-open {
    transform: none;
  }

  /* Logo e conta com largura natural; a busca fica com o espaço do meio.
     Com "1fr auto 1fr" a busca (auto) empurrava as laterais para 0 e o
     nome da marca era cortado. */
  body.home-page.is-compact:not(.search-open):not(.listing-airbnb-page) .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: var(--rr-space-4);
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot > .search-component {
    width: min(560px, 100%);
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .search-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page.search-open:not(.listing-airbnb-page) .search-submit {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  /* Pílula de toque: "Onde" + lupa. Tipo/Quando/Quem seguem na busca
     completa ao tocar (search-open) e no hero. */
  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment[data-search-open="when"],
  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment[data-search-open="who"] {
    display: none;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .site-header > .logo,
  body.home-page.search-open:not(.listing-airbnb-page) .header-user-area {
    grid-row: 1;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .main-nav {
    display: none;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .header-search-slot {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .search-popover {
    width: calc(100vw - 2 * var(--rr-page-gutter));
    max-height: calc(100dvh - 12rem);
  }
}

/* Hero + header — tablet (≤1100) e celular (≤720). O gutter já é fluido,
   então aqui só entram mudanças de composição. */
@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .site-header {
    border-radius: 0.9rem;
    background: rgba(18, 18, 16, 0.35);
    backdrop-filter: blur(12px);
  }

  body.home-page:not(.listing-airbnb-page) .hero-carousel {
    min-height: 880px;
  }

  body.home-page:not(.listing-airbnb-page) .hero-search-shell,
  body.home-page:not(.listing-airbnb-page) .hero-trust-strip {
    left: var(--rr-page-inline);
    right: var(--rr-page-inline);
    width: auto;
  }

  body.home-page:not(.listing-airbnb-page) .hero-search-shell {
    bottom: 9.8rem;
  }

  body.home-page:not(.listing-airbnb-page) .hero-trust-strip {
    bottom: 3.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page:not(.listing-airbnb-page) .hero-trust-strip > span {
    min-height: 34px;
    padding: 0.25rem 0.85rem 0.25rem 0;
    font-size: 0.84rem;
  }

  body.home-page:not(.listing-airbnb-page) .hero-dots {
    gap: 0.45rem;
  }

  body.home-page:not(.listing-airbnb-page) .search-bar {
    border-radius: 0.72rem;
  }

  body.home-page:not(.listing-airbnb-page) .search-segment {
    border-radius: 0.5rem;
  }

  body.home-page:not(.listing-airbnb-page) .search-segment::after {
    display: none;
  }
}

@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page) .site-header {
    padding: var(--rr-header-pad);
  }

  /* Header fixo de uma linha (~92px): o conteúdo começa logo abaixo; a busca
     (ancorada no rodapé do hero) fica acima dos selos em 2×2. */
  body.home-page:not(.listing-airbnb-page) .hero-carousel {
    min-height: 900px;
  }

  body.home-page:not(.listing-airbnb-page) .hero-slide {
    padding: 7.75rem var(--rr-page-inline) 16rem;
  }

  body.home-page:not(.listing-airbnb-page) .hero-slide h1,
  body.home-page:not(.listing-airbnb-page) .hero-slide h2 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    max-width: 11ch;
  }

  body.home-page:not(.listing-airbnb-page) .hero-slide h2 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    max-width: 14ch;
  }

  body.home-page:not(.listing-airbnb-page) .hero-search-shell {
    bottom: 8.6rem;
  }

  /* Selos do hero lado a lado (2×2) em vez de empilhados. */
  body.home-page:not(.listing-airbnb-page) .hero-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
  }

  body.home-page:not(.listing-airbnb-page) .hero-trust-strip > span {
    min-height: 28px;
    gap: 0.45rem;
    padding: 0.16rem 0;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  body.home-page:not(.listing-airbnb-page) .hero-dots {
    gap: 0.4rem;
  }

  body.home-page:not(.listing-airbnb-page) .hero-carousel-controls {
    bottom: 0.65rem;
  }
}

/* Alvos de toque: setas do hero e botões do header com 44px em telas de toque. */
@media (pointer: coarse) {
  body.home-page:not(.listing-airbnb-page) .hero-control-arrow,
  body.home-page .user-avatar-trigger,
  body.home-page .user-trigger {
    width: var(--rr-touch);
    height: var(--rr-touch);
  }

  body.home-page .user-avatar-trigger .user-avatar,
  body.home-page .user-avatar-trigger .user-avatar-fallback {
    width: 100%;
    height: 100%;
  }
}

/* Final home polish: this file loads last, so these rules neutralize older dark search styles. */
body.home-page:not(.listing-airbnb-page) .site-header {
  border-color: transparent;
}

html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .site-header {
  top: 1rem;
  width: min(1280px, calc(100% - 2rem));
  margin-top: 1rem;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #ffffff !important;
}

html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .logo,
html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .main-nav a,
html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .host-link {
  color: #ffffff !important;
}

html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .user-avatar-trigger {
  border: 1px solid rgba(201, 145, 53, 0.55) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

html.route-experiences body.home-page.experiences-index-page:not(:has(.header-search-slot [data-search-component])) .user-trigger {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.home-page:not(.listing-airbnb-page) .search-header-form {
  z-index: 260;
}

body.home-page:not(.listing-airbnb-page) .search-bar {
  isolation: isolate;
  overflow: visible;
}

body.home-page:not(.listing-airbnb-page) .search-segment {
  align-content: center;
  min-height: 68px;
  gap: 0.26rem;
  padding: 0.82rem 1.25rem;
  outline: none;
}

body.home-page:not(.listing-airbnb-page) .search-segment-label {
  color: #6f6860 !important;
  font-size: 0.78rem;
  line-height: 1.05;
}

body.home-page:not(.listing-airbnb-page) .search-segment-value {
  color: #1c1917 !important;
  font-size: 0.95rem;
  line-height: 1.18;
}

body.home-page:not(.listing-airbnb-page) .search-segment.has-value .search-segment-value {
  color: #b98020 !important;
}

body.home-page:not(.listing-airbnb-page) .search-segment:hover,
body.home-page:not(.listing-airbnb-page) .search-segment.is-active {
  background: rgba(195, 138, 46, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(185, 128, 32, 0.22),
    0 5px 14px rgba(28, 25, 23, 0.08);
}

body.home-page:not(.listing-airbnb-page) .search-segment:focus {
  outline: none;
}

body.home-page:not(.listing-airbnb-page) .search-segment:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(185, 128, 32, 0.48),
    0 0 0 3px rgba(185, 128, 32, 0.12),
    0 7px 18px rgba(28, 25, 23, 0.11);
}

body.home-page:not(.listing-airbnb-page) .search-popover {
  left: 0;
  right: auto;
  top: calc(100% + 1rem);
  width: min(960px, calc(100vw - 2 * var(--rr-page-gutter)));
  max-height: min(620px, calc(100vh - 11rem));
  max-height: min(620px, calc(100dvh - 11rem));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 0.95rem;
  background: #ffffff !important;
  color: #1c1917 !important;
  box-shadow:
    0 30px 80px rgba(28, 25, 23, 0.22),
    0 2px 12px rgba(28, 25, 23, 0.08);
}

body.home-page:not(.listing-airbnb-page) .search-panel-section[data-search-panel="when"] {
  width: min(100%, 980px);
  margin: 0 auto;
}

body.home-page:not(.listing-airbnb-page) .calendar-range-grid {
  width: min(100%, 820px);
  margin: 0 auto;
  gap: clamp(2rem, 5vw, 4rem);
}

body.home-page:not(.listing-airbnb-page) .quick-night-row {
  margin-top: 0.4rem;
}

body.home-page:not(.listing-airbnb-page) .search-panel-copy {
  gap: 0.25rem;
}

body.home-page:not(.listing-airbnb-page) .search-panel-kicker {
  color: #b98020 !important;
}

body.home-page:not(.listing-airbnb-page) .search-panel-section h3,
body.home-page:not(.listing-airbnb-page) .date-edit-copy h3,
body.home-page:not(.listing-airbnb-page) .calendar-month-label,
body.home-page:not(.listing-airbnb-page) .months-copy h3,
body.home-page:not(.listing-airbnb-page) .flexible-copy h3,
body.home-page:not(.listing-airbnb-page) .flexible-month-nav p,
body.home-page:not(.listing-airbnb-page) .guest-panel-row strong {
  color: #1c1917 !important;
}

body.home-page:not(.listing-airbnb-page) .destination-input-shell,
body.home-page:not(.listing-airbnb-page) .destination-suggestion-btn,
body.home-page:not(.listing-airbnb-page) .type-suggestion-btn,
body.home-page:not(.listing-airbnb-page) .date-edit-context,
body.home-page:not(.listing-airbnb-page) .flex-month-card {
  border-color: rgba(28, 25, 23, 0.1) !important;
  background: #fbf8f2 !important;
  color: #1c1917 !important;
}

body.home-page:not(.listing-airbnb-page) .date-mode-tabs {
  border-color: rgba(28, 25, 23, 0.08) !important;
  background: #f1eadf !important;
}

body.home-page:not(.listing-airbnb-page) .date-mode-tab,
body.home-page:not(.listing-airbnb-page) .quick-night-chip,
body.home-page:not(.listing-airbnb-page) .flex-duration-chip,
body.home-page:not(.listing-airbnb-page) .calendar-nav-btn,
body.home-page:not(.listing-airbnb-page) .guest-step-btn {
  border-color: rgba(28, 25, 23, 0.1) !important;
  background: #ffffff !important;
  color: #1c1917 !important;
}

body.home-page:not(.listing-airbnb-page) .date-mode-tab.is-active,
body.home-page:not(.listing-airbnb-page) .quick-night-chip.is-active,
body.home-page:not(.listing-airbnb-page) .flex-duration-chip.is-active,
body.home-page:not(.listing-airbnb-page) .flex-month-card.is-active {
  border-color: rgba(185, 128, 32, 0.48) !important;
  background: #f8f1e3 !important;
  color: #8b5d18 !important;
}

body.home-page:not(.listing-airbnb-page) .date-mode-body[data-date-mode-panel="months"] {
  border-color: rgba(28, 25, 23, 0.08) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(195, 138, 46, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%) !important;
}

body.home-page:not(.listing-airbnb-page) .calendar-weekdays,
body.home-page:not(.listing-airbnb-page) .destination-suggestion-btn span,
body.home-page:not(.listing-airbnb-page) .type-suggestion-btn span,
body.home-page:not(.listing-airbnb-page) .destination-empty-state,
body.home-page:not(.listing-airbnb-page) .guest-panel-row span,
body.home-page:not(.listing-airbnb-page) .flex-month-card span,
body.home-page:not(.listing-airbnb-page) .months-summary-separator {
  color: #78716c !important;
}

body.home-page:not(.listing-airbnb-page) .calendar-day {
  color: #1c1917 !important;
}

body.home-page:not(.listing-airbnb-page) .calendar-day:hover,
body.home-page:not(.listing-airbnb-page) .calendar-day.is-in-range {
  background: rgba(195, 138, 46, 0.14) !important;
}

body.home-page:not(.listing-airbnb-page) .calendar-day.is-start,
body.home-page:not(.listing-airbnb-page) .calendar-day.is-end {
  background: #c38a2e !important;
  color: #ffffff !important;
}

body.home-page:not(.listing-airbnb-page) .destination-input-icon,
body.home-page:not(.listing-airbnb-page) .date-edit-close,
body.home-page:not(.listing-airbnb-page) .calendar-nav-btn,
body.home-page:not(.listing-airbnb-page) .guest-step-btn,
body.home-page:not(.listing-airbnb-page) .months-summary,
body.home-page:not(.listing-airbnb-page) .months-summary-button,
body.home-page:not(.listing-airbnb-page) .date-edit-current,
body.home-page:not(.listing-airbnb-page) .flex-month-icon {
  color: #b98020 !important;
}

body.home-page:not(.listing-airbnb-page) .destination-input-shell input {
  color: #1c1917 !important;
}

body.home-page:not(.listing-airbnb-page) .destination-input-shell input::placeholder {
  color: #a8a29e !important;
}

body.home-page:not(.listing-airbnb-page) .search-submit {
  min-height: 60px;
  outline: none;
}

body.home-page:not(.listing-airbnb-page) .search-submit:focus-visible {
  box-shadow:
    0 0 0 4px rgba(195, 138, 46, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(166, 111, 29, 0.28);
}

@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .search-popover {
    max-height: min(620px, calc(100vh - 9rem));
    max-height: min(620px, calc(100dvh - 9rem));
  }
}

@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page) .search-popover {
    border-radius: 0.85rem;
  }
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-segment {
  min-height: 48px;
  padding: 0.56rem 0.85rem;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .search-submit {
  min-height: 48px;
}

/* Final featured showcase tuning. */
body.home-page:not(.listing-airbnb-page) .main-nav {
  gap: clamp(1rem, 2vw, 1.55rem);
}

html.route-home body.home-page:not(.listing-airbnb-page) .main-nav a[href="/"],
html.route-listings body.home-page:not(.listing-airbnb-page) .main-nav a[href="/hospedagens"],
html.route-experiences body.home-page:not(.listing-airbnb-page) .main-nav a[href="/experiencias"] {
  color: #ffffff;
}

html.route-home body.home-page:not(.listing-airbnb-page).search-open .main-nav a[href="/"],
html.route-home body.home-page:not(.listing-airbnb-page).is-compact .main-nav a[href="/"],
html.route-listings body.home-page:not(.listing-airbnb-page).search-open .main-nav a[href="/hospedagens"],
html.route-listings body.home-page:not(.listing-airbnb-page).is-compact .main-nav a[href="/hospedagens"],
html.route-experiences body.home-page:not(.listing-airbnb-page).search-open .main-nav a[href="/experiencias"],
html.route-experiences body.home-page:not(.listing-airbnb-page).is-compact .main-nav a[href="/experiencias"] {
  color: #1c1917;
}

body.home-page:not(.listing-airbnb-page) .featured-section .section-kicker {
  margin: 0;
  color: #b77a24;
  font-size: 0.69rem;
  line-height: 1.15;
  letter-spacing: 0.12em;
  font-weight: 800;
}

body.home-page:not(.listing-airbnb-page) .featured-section .section-header > p {
  max-width: 21ch;
  margin: 0;
  color: #635d55;
  font-size: 0.82rem;
  line-height: 1.46;
  font-weight: 500;
}

/* Quantidade de destinos define as colunas só a partir do tablet; no
   celular a rota sempre empilha (regra ≤720 no bloco da rota). */
@media (min-width: 721px) {
  body.home-page:not(.listing-airbnb-page) .route-grid[data-destination-count="1"] {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page:not(.listing-airbnb-page) .route-grid[data-destination-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .route-grid[data-destination-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-link {
  color: inherit;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-page:not(.listing-airbnb-page) .brand-story,
body.home-page:not(.listing-airbnb-page) .final-cta-section {
  background: #f8f4eb;
}

body.home-page:not(.listing-airbnb-page) .editorial-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

body.home-page:not(.listing-airbnb-page) .editorial-section-header h2 {
  max-width: 18ch;
  margin: var(--rr-stack-eyebrow) 0 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(2.35rem, 4.5vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

body.home-page:not(.listing-airbnb-page) .editorial-section-header .section-kicker,
body.home-page:not(.listing-airbnb-page) .corporate-callout .section-kicker,
body.home-page:not(.listing-airbnb-page) .final-cta-card .section-kicker {
  margin: 0;
  color: #a96f18;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

body.home-page:not(.listing-airbnb-page) .editorial-lead {
  max-width: 48ch;
  margin: var(--rr-stack-lead) 0 0;
  color: #6f6860;
  font-size: 1rem;
  line-height: 1.5;
}

body.home-page:not(.listing-airbnb-page) .editorial-aside {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 270px;
  margin: 0 0 0.15rem;
  color: #6f6860;
  font-family: "Forum", Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

body.home-page:not(.listing-airbnb-page) .editorial-rule {
  display: inline-block;
  width: 2.7rem;
  height: 1px;
  flex: 0 0 auto;
  background: #b98020;
}

body.home-page:not(.listing-airbnb-page) .benefit-card {
  display: grid;
  border: var(--rr-card-border);
  border-radius: var(--rr-card-radius);
  background: #fffdfa;
  color: #1c1917;
  text-decoration: none;
  box-shadow: var(--rr-card-shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.home-page:not(.listing-airbnb-page) .benefit-card:hover,
body.home-page:not(.listing-airbnb-page) .benefit-card:focus-visible {
  border-color: rgba(185, 128, 32, 0.25);
  box-shadow: var(--rr-card-shadow-hover);
  transform: translateY(-3px);
}

body.home-page:not(.listing-airbnb-page) .benefit-card:focus-visible,
body.home-page:not(.listing-airbnb-page) .route-card:focus-visible,
body.home-page:not(.listing-airbnb-page) .brand-story-panels article:focus-visible {
  outline: 3px solid rgba(185, 128, 32, 0.34);
  outline-offset: 3px;
}

body.home-page:not(.listing-airbnb-page) .feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f7edda;
  color: #b98020;
}

body.home-page:not(.listing-airbnb-page) .feature-icon svg,
body.home-page:not(.listing-airbnb-page) .corporate-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

body.home-page:not(.listing-airbnb-page) .benefit-card h3 {
  margin: 0.2rem 0 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
}

body.home-page:not(.listing-airbnb-page) .benefit-card p:not(.section-kicker) {
  margin: 0;
  color: #6f6860;
  font-size: 0.88rem;
  line-height: 1.5;
}

body.home-page:not(.listing-airbnb-page) .feature-link,
body.home-page:not(.listing-airbnb-page) .route-card-cta {
  margin-top: auto;
  color: #a96f18;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.home-page:not(.listing-airbnb-page) .feature-link b,
body.home-page:not(.listing-airbnb-page) .route-card-cta b,
body.home-page:not(.listing-airbnb-page) .final-cta-btn b,
body.home-page:not(.listing-airbnb-page) .corporate-callout-action b {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1rem;
  transition: transform 180ms ease;
}

body.home-page:not(.listing-airbnb-page) .benefit-card:hover .feature-link b,
body.home-page:not(.listing-airbnb-page) .route-card:hover .route-card-cta b,
body.home-page:not(.listing-airbnb-page) .final-cta-btn:hover b,
body.home-page:not(.listing-airbnb-page) .corporate-callout-action a:hover b {
  transform: translateX(3px);
}

body.home-page:not(.listing-airbnb-page) .route-collection {
  background: #09291e;
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .route-section-header h2,
body.home-page:not(.listing-airbnb-page) .route-section-header .section-kicker {
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .route-section-header .section-kicker {
  color: #d9a441;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  margin-bottom: 0.15rem;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta p {
  margin: 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.9rem;
  line-height: 1.4;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta a {
  color: #d9a441;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta a:hover { color: #fffdf8; }

body.home-page:not(.listing-airbnb-page) .route-card {
  border: 1px solid rgba(217, 164, 65, 0.58);
  transition: transform 220ms ease, border-color 220ms ease;
}

body.home-page:not(.listing-airbnb-page) .route-card::before {
  background: linear-gradient(180deg, rgba(3, 16, 11, 0.05) 25%, rgba(3, 16, 11, 0.84) 100%);
}

body.home-page:not(.listing-airbnb-page) .route-card:hover {
  border-color: rgba(232, 185, 35, 0.72);
  transform: translateY(-3px);
}

body.home-page:not(.listing-airbnb-page) .route-card h3 {
  max-width: 16ch;
  margin: 0.75rem 0 0;
  color: #fffdf8;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.02;
}

body.home-page:not(.listing-airbnb-page) .route-card p {
  max-width: 43ch;
  margin: 0.55rem 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.home-page:not(.listing-airbnb-page) .route-badge {
  padding: 0.35rem 0.75rem;
  border-color: rgba(255, 253, 248, 0.5);
  background: rgba(3, 16, 11, 0.38);
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .brand-story-layout {
  display: grid;
  align-items: center;
}

body.home-page:not(.listing-airbnb-page) .brand-story-editorial {
  align-items: center;
}

body.home-page:not(.listing-airbnb-page) .brand-story-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home-page:not(.listing-airbnb-page) .brand-story-copy h2 {
  margin: var(--rr-stack-eyebrow) 0 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  font-weight: 400;
  line-height: 0.98;
}

body.home-page:not(.listing-airbnb-page) .brand-story-copy > p:not(.section-kicker) {
  margin: 1rem 0 0;
  color: #6f6860;
  line-height: 1.55;
}

body.home-page:not(.listing-airbnb-page) .brand-story-quote {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.7rem;
  color: #6f5b43;
  font-family: "Forum", Georgia, serif;
  font-size: 1rem;
  line-height: 1.15;
}

body.home-page:not(.listing-airbnb-page) .brand-story-visual {
  position: relative;
  margin: 0;
  border-radius: var(--rr-card-radius);
}

body.home-page:not(.listing-airbnb-page) .brand-story-visual img {
  display: block;
  object-position: center;
}

body.home-page:not(.listing-airbnb-page) .brand-story-seal {
  position: absolute;
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: var(--rr-card-border);
  background: #fffdfa;
  box-shadow: var(--rr-card-shadow);
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels strong {
  display: block;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 400;
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels article > div > span {
  display: block;
  margin-top: 0.25rem;
  color: #6f6860;
  font-size: 0.8rem;
  line-height: 1.4;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 1px minmax(250px, 0.58fr);
  align-items: center;
  gap: var(--rr-space-5);
  margin: 0 auto;
  border: 1px solid rgba(185, 128, 32, 0.35);
  border-radius: var(--rr-card-radius);
  background: #fff8e8;
}

body.home-page:not(.listing-airbnb-page) .corporate-icon {
  display: inline-grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  color: #a96f18;
}

body.home-page:not(.listing-airbnb-page) .corporate-icon svg { width: 3.2rem; height: 3.2rem; stroke-width: 1.25; }

body.home-page:not(.listing-airbnb-page) .corporate-callout-copy h2 {
  margin: 0.25rem 0 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-copy > p:not(.section-kicker):not(.corporate-callout-proof) {
  max-width: 62ch;
  margin: 0.45rem 0 0;
  color: #6f6860;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Destaque de credibilidade no card corporativo (ícone de check dourado). */
body.home-page:not(.listing-airbnb-page) .corporate-callout-proof {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 62ch;
  margin: 0.75rem 0 0;
  color: #5c4a2c;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-proof svg {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.05rem;
  fill: none;
  stroke: #b98020;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page:not(.listing-airbnb-page) .corporate-divider {
  align-self: stretch;
  background: rgba(185, 128, 32, 0.34);
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-action {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-action .rr-btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #b98020;
  color: #fffdf8;
  box-shadow: none;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-action .rr-btn:hover { background: #9f6d18; }

body.home-page:not(.listing-airbnb-page) .corporate-callout-action small {
  color: #817466;
  font-size: 0.7rem;
}

/* CTA final: a foto é full-bleed (ponte para o footer), mas o texto volta
   para a régua — o card recebe o recuo lateral global. */
body.home-page:not(.listing-airbnb-page) .final-cta-section {
  padding: 0;
}

body.home-page:not(.listing-airbnb-page) .final-cta-card {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--rr-space-6);
  padding: var(--rr-section-space-compact) var(--rr-page-inline);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(4, 21, 14, 0.86), rgba(4, 21, 14, 0.42)),
    url("/assets/content/ouro-preto-architecture.webp") center / cover;
  box-shadow: none;
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .final-cta-card > div { position: relative; z-index: 1; max-width: 670px; }
body.home-page:not(.listing-airbnb-page) .final-cta-card h2 { max-width: 18ch; margin: 0.4rem 0 0; color: #fffdf8; font-family: "Forum", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; line-height: 0.98; }
body.home-page:not(.listing-airbnb-page) .final-cta-copy { max-width: 52ch; margin: 0.75rem 0 0; color: rgba(255, 253, 248, 0.86); line-height: 1.5; }
body.home-page:not(.listing-airbnb-page) .final-cta-btn { display: inline-flex; margin-top: 1.35rem; border: 0; border-radius: 999px; background: #b98020; color: #fffdf8; box-shadow: none; }
body.home-page:not(.listing-airbnb-page) .final-cta-btn:hover { background: #d09a31; }
body.home-page:not(.listing-airbnb-page) .final-cta-motto { position: relative; z-index: 1; margin: 0 0 0.5rem; color: rgba(255, 253, 248, 0.86); font-family: "Forum", Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 0.95; text-align: right; }
body.home-page:not(.listing-airbnb-page) .final-cta-motto em { font-size: 0.7em; }

/* CTA / faixa corporativa — celular. */
@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page) .editorial-aside { margin-top: 0.25rem; }
  body.home-page:not(.listing-airbnb-page) .corporate-icon { justify-self: start; }
  body.home-page:not(.listing-airbnb-page) .corporate-callout-action { justify-items: stretch; }
  /* Celular: conteúdo e lema empilhados. O lema "Minas sempre inspira" era
     absoluto no canto superior e ficava por cima do título; agora é uma
     assinatura abaixo do botão, alinhada à direita. */
  body.home-page:not(.listing-airbnb-page) .final-cta-card { min-height: 380px; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: var(--rr-space-5); }
  body.home-page:not(.listing-airbnb-page) .final-cta-motto { position: relative; align-self: flex-end; margin: 0; font-size: 1.6rem; text-align: right; }
}

body.home-page:not(.listing-airbnb-page) .featured-next-btn {
  right: -1.05rem;
  width: 2.55rem;
  height: 2.55rem;
  background: #ffffff;
  color: #b98020;
  font-size: 1.45rem;
  box-shadow: 0 9px 22px rgba(32, 27, 23, 0.14);
}

body.home-page:not(.listing-airbnb-page) .featured-prev-btn {
  position: absolute;
  top: 50%;
  left: -1.05rem;
  z-index: 4;
  width: 2.55rem;
  height: 2.55rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #b98020;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(32, 27, 23, 0.14);
}

body.home-page:not(.listing-airbnb-page) .featured-prev-btn[hidden],
body.home-page:not(.listing-airbnb-page) .featured-next-btn[hidden] { display: none !important; }

body.home-page .listings-hero-content,
body.home-page .popular-filter-strip,
body.home-page .listings-filter-sidebar,
body.home-page .listings-results-toolbar,
body.home-page .listings-trust-panel {
  display: none;
}

body.home-page.listing-index-page {
  background: #fbfaf7;
}



body.home-page.listing-index-page .hero-showcase {
  background: #17120d;
}

body.home-page.listing-index-page .hero-carousel {
  min-height: 390px;
  background:
    linear-gradient(180deg, rgba(9, 9, 8, 0.72) 0%, rgba(9, 9, 8, 0.34) 46%, rgba(9, 9, 8, 0.78) 100%),
    url("/assets/content/ouro-preto-architecture.webp") center 42% / cover;
}

body.home-page.listing-index-page .hero-slide,
body.home-page.listing-index-page .hero-carousel-controls,
body.home-page.listing-index-page .hero-trust-strip {
  display: none;
}

/* Catálogo: hero, busca e filtros populares também seguem a régua global. */
body.home-page.listing-index-page .listings-hero-content {
  position: absolute;
  left: var(--rr-page-inline);
  right: var(--rr-page-inline);
  top: 7.25rem;
  z-index: 3;
  display: grid;
  gap: 0.55rem;
  color: #ffffff;
}

body.home-page.listing-index-page .listings-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

body.home-page.listing-index-page .listings-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}

body.home-page.listing-index-page .listings-breadcrumb span {
  color: rgba(255, 255, 255, 0.82);
}

body.home-page.listing-index-page .listings-hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(2.35rem, 3.35vw, 3.15rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

body.home-page.listing-index-page .listings-hero-content p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

body.home-page.listing-index-page .hero-search-shell {
  left: var(--rr-page-inline);
  right: var(--rr-page-inline);
  bottom: 3.55rem;
  z-index: 7;
  width: auto;
}

body.home-page.listing-index-page .search-bar {
  border: 0;
  border-radius: 0.38rem;
  box-shadow:
    0 16px 34px rgba(8, 6, 4, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

body.home-page.listing-index-page .search-segment {
  min-height: 70px;
}

body.home-page.listing-index-page .search-submit {
  border-radius: 0.36rem;
}

body.home-page.listing-index-page .popular-filter-strip {
  position: absolute;
  left: var(--rr-page-inline);
  right: var(--rr-page-inline);
  bottom: 0.7rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  overflow-x: auto;
  color: #ffffff;
  scrollbar-width: none;
}

body.home-page.listing-index-page .popular-filter-strip::-webkit-scrollbar {
  display: none;
}

body.home-page.listing-index-page .popular-filter-strip > span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
}

body.home-page.listing-index-page .popular-filter-strip button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font: inherit;
  font-size: 0.79rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

body.home-page.listing-index-page .popular-filter-strip .popular-filter-more {
  border-color: transparent;
  background: transparent;
  color: #d99d2b;
}

body.home-page.listing-index-page .trust-section,
body.home-page.listing-index-page .benefits-section,
body.home-page.listing-index-page .route-collection,
body.home-page.listing-index-page .brand-story,
body.home-page.listing-index-page .final-cta-section {
  display: none;
}

/* Catálogo: filtros | resultados dentro da régua global. */
body.home-page.listing-index-page .featured-section {
  display: grid;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
  align-items: start;
  gap: var(--rr-grid-gap);
  width: 100%;
  margin: 0;
  padding: var(--rr-space-5) var(--rr-page-inline) var(--rr-section-space);
  /* Mesmo creme da faixa corporativa (#f8f4eb), como na Home: sem emenda de
     cor entre resultados e "Hospedagem para sua equipe". */
  background: #f8f4eb;
}

body.home-page.listing-index-page .featured-copy,
body.home-page.listing-index-page:not(.listing-airbnb-page) .brand-story {
  display: none;
}

/* No catálogo a faixa corporativa vem logo após os resultados; o respiro
   acima dela é o padding inferior da seção de resultados (mesmo creme). */
body.home-page.listing-index-page .corporate-callout {
  padding-top: 0;
}

body.home-page.listing-index-page .listings-filter-sidebar {
  position: sticky;
  /* gruda logo abaixo do header compacto flutuante */
  top: var(--rr-sticky-top);
  display: block;
  border: var(--rr-card-border);
  border-radius: var(--rr-card-radius);
  overflow: hidden;
  background: #fffdf8;
  color: #201b17;
  box-shadow: var(--rr-card-shadow);
}

body.home-page.listing-index-page .filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rr-space-3);
  min-height: 3.6rem;
  padding: var(--rr-space-3) var(--rr-space-5);
  border-bottom: 1px solid rgba(32, 27, 23, 0.09);
}

body.home-page.listing-index-page .filter-sidebar-header h2 {
  margin: 0;
  font-family: "Forum", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

/* "Limpar filtros" (topo da barra) e "Mostrar todas" (comodidades):
   botões de texto dourados, discretos, com área de toque confortável. */
body.home-page.listing-index-page .filter-clear-button,
body.home-page.listing-index-page .filter-more-button {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 var(--rr-space-1);
  border: 0;
  background: none;
  color: #9b671b;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(155, 103, 27, 0.35);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

body.home-page.listing-index-page .filter-clear-button:hover,
body.home-page.listing-index-page .filter-more-button:hover {
  text-decoration-color: currentColor;
}

body.home-page.listing-index-page .filter-clear-button[hidden],
body.home-page.listing-index-page .filter-more-button[hidden],
body.home-page.listing-index-page .filter-option[hidden] {
  display: none;
}

body.home-page.listing-index-page .filter-more-button {
  justify-self: start;
  margin-top: var(--rr-space-1);
}

body.home-page.listing-index-page .filter-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--rr-space-2);
  padding: var(--rr-space-4) var(--rr-space-5);
  border-bottom: 1px solid rgba(32, 27, 23, 0.08);
}

body.home-page.listing-index-page .filter-group[hidden] {
  display: none;
}

body.home-page.listing-index-page .filter-group:last-child {
  border-bottom: 0;
}

body.home-page.listing-index-page .filter-group h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #9b671b;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home-page.listing-index-page .filter-group label,
body.home-page.listing-index-page .filter-group p {
  color: #4f4740;
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 600;
}

/* Opção de filtro: [caixa] rótulo ········ contador. Uma coluna, linha
   inteira clicável, contador real em pílula alinhado à direita. */
body.home-page.listing-index-page .filter-options {
  display: grid;
  gap: 0.1rem;
}

body.home-page.listing-index-page .filter-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--rr-space-3);
  min-height: 2.35rem;
  margin-inline: calc(-1 * var(--rr-space-2));
  padding: 0 var(--rr-space-2);
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background-color 160ms ease;
}

body.home-page.listing-index-page .filter-option:hover {
  background: #f7edda;
}

body.home-page.listing-index-page .filter-option:has(input:focus-visible) {
  outline: var(--rr-focus-ring);
  outline-offset: 1px;
}

body.home-page.listing-index-page .filter-option.is-empty:not(:has(input:checked)) {
  color: #a39b91;
  cursor: default;
}

body.home-page.listing-index-page .filter-option.is-empty:not(:has(input:checked)):hover {
  background: none;
}

body.home-page.listing-index-page .filter-option-label {
  overflow-wrap: anywhere;
}

body.home-page.listing-index-page .filter-option-count {
  min-width: 1.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--rr-radius-pill);
  background: #f3ece1;
  color: #716a61;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

body.home-page.listing-index-page .filter-option:has(input:checked) .filter-option-count {
  background: #b98020;
  color: #fffdf8;
}

body.home-page.listing-index-page .filter-group input[type="checkbox"],
body.home-page.listing-index-page .filter-group input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #b98020;
  cursor: inherit;
}

body.home-page.listing-index-page .filter-group select {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 1px solid rgba(32, 27, 23, 0.13);
  border-radius: 0.28rem;
  background: #ffffff;
  color: #5f574e;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}

body.home-page.listing-index-page .price-range-labels,
body.home-page.listing-index-page .price-range-visual {
  grid-column: 1 / -1;
}

body.home-page.listing-index-page .price-range-labels {
  display: flex;
  justify-content: space-between;
  color: #716a61;
  font-size: 0.72rem;
  font-weight: 800;
}

body.home-page.listing-index-page .price-range-visual {
  position: relative;
  height: 20px;
}

body.home-page.listing-index-page .price-range-visual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: #ddd4c8;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only) {
  position: absolute;
  left: 18%;
  right: 25%;
  top: 8px;
  height: 4px;
  border-radius: 999px;
  background: #b98020;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::before,
body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::after {
  content: none;
}

body.home-page.listing-index-page .price-range-handle {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 2px solid #b98020;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 1px 3px rgba(32, 27, 23, 0.18);
  transform: translate(-50%, -50%);
  cursor: grab;
}

body.home-page.listing-index-page .price-range-handle:active {
  cursor: grabbing;
}

body.home-page.listing-index-page .price-range-handle:focus-visible {
  outline: 3px solid rgba(185, 128, 32, 0.18);
  outline-offset: 2px;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::before,
body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::after {
  display: none;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::before {
  left: -0.1rem;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::after {
  right: -0.1rem;
}

/* 4 chips de largura igual numa linha (cabe na barra de 15–18rem). */
body.home-page.listing-index-page .rating-filter-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

body.home-page.listing-index-page .rating-filter-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  min-height: 2.25rem;
  padding: 0 0.3rem;
  white-space: nowrap;
  border: 1px solid rgba(32, 27, 23, 0.14);
  border-radius: var(--rr-radius-pill);
  background: #ffffff;
  color: #4f4740;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

body.home-page.listing-index-page .rating-filter-row button span {
  color: #b98020;
}

body.home-page.listing-index-page .rating-filter-row button:hover:not(:disabled) {
  border-color: rgba(185, 128, 32, 0.55);
}

body.home-page.listing-index-page .rating-filter-row button:disabled {
  opacity: 0.45;
  cursor: default;
}

body.home-page.listing-index-page .rating-filter-row button.is-active {
  border-color: #b98020;
  background: #b98020;
  color: #ffffff;
}

body.home-page.listing-index-page .rating-filter-row button.is-active span {
  color: inherit;
}

body.home-page.listing-index-page .filter-toggle-group {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

body.home-page.listing-index-page .filter-toggle-group h3,
body.home-page.listing-index-page .filter-toggle-group p {
  grid-column: auto;
  margin: 0;
}

body.home-page.listing-index-page .switch-control input {
  position: absolute;
  opacity: 0;
}

body.home-page.listing-index-page .switch-control span {
  display: block;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: #cfc8bf;
}

body.home-page.listing-index-page .switch-control span::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 999px;
  background: #ffffff;
}

body.home-page.listing-index-page .featured-listings-shell {
  display: grid;
  gap: 0.9rem;
}

body.home-page.listing-index-page .listings-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.home-page.listing-index-page .featured-result-count {
  display: block;
  margin: 0;
  color: #201b17;
  font-size: 0.88rem;
  font-weight: 800;
}

body.home-page.listing-index-page .listings-view-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

body.home-page.listing-index-page .listings-view-controls label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #4f4740;
  font-size: 0.78rem;
  font-weight: 700;
}

body.home-page.listing-index-page .listings-view-controls select {
  min-width: 11rem;
  min-height: 2.5rem;
  padding-inline: 0.85rem;
  border: 1px solid rgba(32, 27, 23, 0.14);
  border-radius: var(--rr-radius-pill);
  background: #ffffff;
  color: #4f4740;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

/* Grade / Mapa: controle segmentado em pílula. */
body.home-page.listing-index-page .view-mode-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid rgba(32, 27, 23, 0.12);
  border-radius: var(--rr-radius-pill);
  background: #ffffff;
}

body.home-page.listing-index-page .view-mode-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: var(--rr-radius-pill);
  background: transparent;
  color: #716a61;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

body.home-page.listing-index-page .view-mode-toggle svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page.listing-index-page .view-mode-toggle button:hover:not(.is-active) {
  color: #201b17;
}

body.home-page.listing-index-page .view-mode-toggle button.is-active {
  background: #b98020;
  color: #fffdf8;
}

/* Estado vazio dos resultados (filtros sem correspondência). */
body.home-page.listing-index-page .listings-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: var(--rr-space-3);
  padding: var(--rr-space-7) var(--rr-card-padding);
  border: 1px dashed rgba(185, 128, 32, 0.35);
  border-radius: var(--rr-card-radius);
  background: #fffdf8;
  text-align: center;
}

body.home-page.listing-index-page .listings-empty-state h3 {
  margin: var(--rr-space-1) 0 0;
  color: #201b17;
  font-family: "Forum", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

body.home-page.listing-index-page .listings-empty-state p {
  max-width: 36ch;
  margin: 0 0 var(--rr-space-2);
  color: #716a61;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.home-page.listing-index-page .featured-section .listings-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rr-grid-gap);
}

body.home-page.listing-index-page .featured-next-btn {
  display: none;
}

body.home-page.listing-index-page .feedback {
  min-height: 0;
  margin: 0;
}

body.home-page.listing-index-page .listings-trust-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rr-space-4);
  margin-top: 0.1rem;
  padding: var(--rr-space-4) var(--rr-space-5);
  border: 1px solid rgba(32, 27, 23, 0.08);
  border-radius: var(--rr-card-radius);
  background: #fffdf8;
  box-shadow: 0 9px 24px rgba(32, 27, 23, 0.05);
}

body.home-page.listing-index-page .listings-trust-panel article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--rr-space-3);
  align-items: start;
}

/* Ícones de traço em círculo dourado — mesmo desenho do .feature-icon da Home. */
body.home-page.listing-index-page .listings-trust-panel .feature-icon {
  width: 2.75rem;
  height: 2.75rem;
}

body.home-page.listing-index-page .listings-trust-panel .feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

body.home-page.listing-index-page .listings-trust-panel h3 {
  margin: 0.2rem 0 0.3rem;
  color: #201b17;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 800;
}

body.home-page.listing-index-page .listings-trust-panel p {
  margin: 0;
  color: #716a61;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
}

/* A busca vira 2×2 abaixo de 1280px: o hero do catálogo cresce para ela
   não cobrir título e subtítulo. */
@media (max-width: 1280px) {
  body.home-page.listing-index-page .hero-carousel {
    min-height: 540px;
  }
}

@media (max-width: 1100px) {
  body.home-page.listing-index-page .featured-section {
    grid-template-columns: 1fr;
  }

  body.home-page.listing-index-page .listings-filter-sidebar {
    position: static;
  }

  body.home-page.listing-index-page .featured-section .listings-grid,
  body.home-page.listing-index-page .listings-trust-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.home-page.listing-index-page .hero-carousel {
    min-height: 680px;
  }

  body.home-page.listing-index-page .listings-hero-content {
    top: 9.5rem;
  }

  body.home-page.listing-index-page .hero-search-shell {
    bottom: 6.2rem;
  }

  body.home-page.listing-index-page .popular-filter-strip {
    bottom: 1.1rem;
  }

  body.home-page.listing-index-page .listings-results-toolbar,
  body.home-page.listing-index-page .listings-view-controls {
    align-items: stretch;
    flex-direction: column;
  }

  body.home-page.listing-index-page .listings-trust-panel {
    grid-template-columns: 1fr;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home-page.listing-index-page .price-range-visual {
  display: block;
  height: 24px;
  cursor: pointer;
}

body.home-page.listing-index-page .price-range-visual input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
}

body.home-page.listing-index-page .price-range-visual input[type="range"]::-webkit-slider-thumb {
  width: 0.86rem;
  height: 0.86rem;
  border: 2px solid #b98020;
  border-radius: 999px;
  background: #fffdf8;
  appearance: none;
  pointer-events: auto;
}

body.home-page.listing-index-page .price-range-visual input[type="range"]::-moz-range-thumb {
  width: 0.86rem;
  height: 0.86rem;
  border: 2px solid #b98020;
  border-radius: 999px;
  background: #fffdf8;
  pointer-events: auto;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only) {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 4px;
  border-radius: 999px;
  background: #b98020;
  pointer-events: none;
}

body.home-page.listing-index-page .popular-filter-strip button.is-active,
body.home-page.listing-index-page .popular-filter-strip button:hover {
  border-color: rgba(217, 157, 43, 0.45);
  background: rgba(217, 157, 43, 0.2);
  color: #ffe2a8;
}

body.home-page.listing-index-page .filter-group label:has(input:checked) {
  color: #9b671b;
}

body.home-page.listing-index-page .switch-control input:checked + span {
  background: #b98020;
}

body.home-page.listing-index-page .switch-control input:checked + span::before {
  transform: translateX(18px);
}

body.home-page.listing-index-page .switch-control span::before {
  transition: transform 140ms ease;
}

body.home-page.listing-index-page .listings-grid.is-map-mode {
  grid-template-columns: minmax(0, 1fr);
}

body.home-page.listing-index-page .listings-grid.is-map-mode .listing-card {
  max-width: none;
}

body.home-page.listing-index-page .listings-grid.is-map-mode .listing-link {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
}

body.home-page.listing-index-page .listings-grid.is-map-mode .listing-media {
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
}

@media (max-width: 720px) {
  body.home-page.listing-index-page .listings-grid.is-map-mode .listing-link {
    display: block;
  }
}

/* Listings page final fixes: one real thumb per price handle and non-overlapping cards. */
body.home-page.listing-index-page .price-range-visual::before {
  top: 11px;
}

body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::before,
body.home-page.listing-index-page .price-range-visual > span:not(.sr-only)::after {
  content: none !important;
  display: none !important;
}

body.home-page.listing-index-page .price-range-handle {
  position: absolute;
  top: 12px;
  z-index: 5;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 2px solid #b98020;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 1px 3px rgba(32, 27, 23, 0.18);
  transform: translate(-50%, -50%);
  cursor: grab;
}

/* ==========================================================================
   Busca do hero (Home, catálogo, experiências)
   Desktop: composição horizontal. Laptop/tablet (≤1280): 2×2 com "Buscar"
   em linha inteira. Celular (≤720): segmentos empilhados com 64px de toque.
   Tracks com mínimo 0 → a barra nunca ultrapassa a largura do shell.
   ========================================================================== */
body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-bar,
body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-bar {
  grid-template-columns:
    minmax(0, 0.98fr)
    minmax(0, 1.08fr)
    minmax(0, 1.18fr)
    minmax(0, 0.85fr)
    auto;
  min-height: 78px;
  padding: 0.48rem 0.52rem;
  border: 0;
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 38px rgba(8, 6, 4, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-segment,
body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-segment {
  min-height: 64px;
}

body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-segment:hover,
body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-segment.is-active,
body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-segment:hover,
body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-segment.is-active {
  border-radius: 999px;
  background: #fbf4e6;
}

body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-submit,
body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-submit {
  min-width: 132px;
  min-height: 64px;
  border-radius: 0.42rem;
  background: linear-gradient(135deg, #c38a2e 0%, #a66f1d 100%);
}

@media (max-width: 1280px) {
  body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-bar,
  body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-submit,
  body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-submit {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  /* Home tem hero alto: segmentos empilhados, fáceis de tocar. */
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .hero-search-shell .search-bar,
  body.home-page:not(.listing-airbnb-page) .experiences-search-shell .search-bar {
    grid-template-columns: 1fr;
  }

  /* Catálogo tem hero curto: mantém 2×2 para não cobrir o título. */
  body.home-page.listing-index-page .hero-search-shell .search-segment {
    min-height: 56px;
  }

  body.home-page:not(.listing-airbnb-page) .hero-search-shell .search-segment {
    padding-inline: var(--rr-space-4);
  }
}

/* ==========================================================================
   Sobre a plataforma + faixa corporativa
   Um bloco visual contínuo: a história abre com respiro de seção e a faixa
   corporativa fecha. Três colunas no desktop, empilha no tablet.
   ========================================================================== */
body.home-page:not(.listing-airbnb-page) .brand-story {
  display: block;
  min-height: 0;
  padding-bottom: var(--rr-section-space-compact);
}

body.home-page:not(.listing-airbnb-page) .brand-story-layout {
  /* mesmo valor no gap e no recuo dos painéis → a linha divisória fica
     exatamente no meio entre a foto e os cards */
  --brand-story-gap: clamp(2rem, 2.8vw, 2.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(13rem, 16rem) minmax(0, 1.2fr);
  column-gap: var(--brand-story-gap);
  row-gap: var(--rr-space-5);
}

/* O wrapper editorial some no desktop: texto, foto e painéis viram as três
   colunas da composição de referência. */
body.home-page:not(.listing-airbnb-page) .brand-story-editorial {
  display: contents;
}

body.home-page:not(.listing-airbnb-page) .brand-story-copy h2 {
  max-width: none;
  font-size: clamp(2.5rem, 3.2vw, 3rem);
  line-height: 1.07;
}

body.home-page:not(.listing-airbnb-page) .brand-story-copy > p:not(.section-kicker) {
  max-width: 36ch;
  margin-top: var(--rr-stack-lead);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.home-page:not(.listing-airbnb-page) .brand-story-visual {
  width: 100%;
  height: clamp(300px, 25vw, 330px);
  overflow: visible;
}

body.home-page:not(.listing-airbnb-page) .brand-story-visual > img:not(.brand-story-seal) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 88px 24px 24px 24px;
  box-shadow: 0 14px 30px rgba(54, 39, 22, 0.12);
}

/* Selo sobreposto à foto. O deslocamento negativo só existe no desktop,
   onde há coluna de texto ao lado para recebê-lo. */
body.home-page:not(.listing-airbnb-page) .brand-story-visual .brand-story-seal {
  right: auto;
  left: -3.6rem;
  bottom: 2.6rem;
  width: 6.4rem;
  height: 6.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f8f4eb;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(73, 55, 29, 0.14);
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rr-space-3);
  padding-left: var(--brand-story-gap);
  border-left: 1px solid rgba(185, 128, 32, 0.22);
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels article {
  min-height: 88px;
  padding: var(--rr-space-4) var(--rr-space-5);
  gap: var(--rr-space-4);
  border-radius: var(--rr-card-radius);
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels .feature-icon {
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
}

body.home-page:not(.listing-airbnb-page) .brand-story-panels article > div > span {
  max-width: 36ch;
  font-size: 0.82rem;
  line-height: 1.4;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout {
  display: block;
  padding-top: 0;
  border: 0;
  border-radius: 0;
  background: #f8f4eb;
  box-shadow: none;
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-inner {
  min-height: 120px;
  padding: var(--rr-card-padding);
}

body.home-page:not(.listing-airbnb-page) .corporate-callout-action .rr-btn {
  width: min(320px, 100%);
}

@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .brand-story-layout {
    grid-template-columns: 1fr;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
    gap: var(--rr-space-5);
  }

  /* styles.css (≤1080) fazia o texto ocupar as duas colunas, empurrando a
     foto para baixo e esticando-a entre 981 e 1080px. */
  body.home-page:not(.listing-airbnb-page) .brand-story-copy {
    grid-column: auto;
  }

  /* Tablet/celular: selo dentro da foto, no canto inferior direito (antes
     ficava metade para fora, sobre a borda). */
  body.home-page:not(.listing-airbnb-page) .brand-story-visual .brand-story-seal {
    left: auto;
    right: var(--rr-space-3);
    bottom: var(--rr-space-4);
    width: 5.2rem;
    height: 5.2rem;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    border-left: 0;
  }

  /* Tablet: três painéis estreitos → ícone acima do texto. */
  body.home-page:not(.listing-airbnb-page) .brand-story-panels article {
    grid-template-columns: 1fr;
    align-content: start;
    gap: var(--rr-space-3);
  }

  body.home-page:not(.listing-airbnb-page) .corporate-callout-inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(14rem, 0.65fr);
  }

  body.home-page:not(.listing-airbnb-page) .corporate-divider {
    display: none;
  }
}

@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page) .brand-story-editorial {
    grid-template-columns: 1fr;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-visual {
    height: 300px;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-panels {
    grid-template-columns: 1fr;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-panels article {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  body.home-page:not(.listing-airbnb-page) .corporate-callout-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: var(--rr-space-3);
  }
}

/* ==========================================================================
   Pontos da rota — SEÇÃO DE REFERÊNCIA DA RÉGUA
   ========================================================================== */
body.home-page:not(.listing-airbnb-page) .route-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(2rem, 4vw, 5rem);
}

body.home-page:not(.listing-airbnb-page) .route-section-header h2 {
  max-width: none;
  font-size: clamp(2.5rem, 3.4vw, 3.6rem);
  line-height: 1.02;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 0.15rem;
  padding-left: 4.5rem;
}

body.home-page:not(.listing-airbnb-page) .route-header-meta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3.5rem;
  height: 1px;
  background: rgba(217, 164, 65, 0.72);
}

body.home-page:not(.listing-airbnb-page) .route-grid {
  margin-top: var(--rr-stack-content);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--rr-grid-gap);
}

body.home-page:not(.listing-airbnb-page) .route-card {
  min-height: clamp(340px, 30vw, 420px);
  padding: var(--rr-card-padding);
  border-radius: var(--rr-card-radius);
  box-shadow: inset 0 0 0 1px rgba(3, 16, 11, 0.22);
}

body.home-page:not(.listing-airbnb-page) .route-card h3 {
  max-width: 32ch;
  font-size: clamp(1.9rem, 2.7vw, 2.8rem);
  line-height: 1.03;
}

body.home-page:not(.listing-airbnb-page) .route-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: var(--rr-touch);
  margin-top: 1.2rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid rgba(242, 199, 100, 0.82);
  border-radius: 999px;
  background: rgba(3, 16, 11, 0.16);
  color: #f2c764;
  line-height: 1;
}

body.home-page:not(.listing-airbnb-page) .route-card-cta:hover {
  background: rgba(217, 164, 65, 0.16);
}

@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .route-section-header {
    grid-template-columns: 1fr;
    row-gap: var(--rr-space-5);
  }

  body.home-page:not(.listing-airbnb-page) .route-header-meta {
    padding-left: 3.5rem;
  }
}

@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page) .route-header-meta {
    grid-template-columns: 1fr;
    gap: var(--rr-space-3);
    padding-left: 0;
  }

  body.home-page:not(.listing-airbnb-page) .route-header-meta::before {
    display: none;
  }

  body.home-page:not(.listing-airbnb-page) .route-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Por que a Temporada Real — cards com ícone à esquerda
   ========================================================================== */
/* Seção de apoio (entre a vitrine e a rota): respiro compacto. */
body.home-page:not(.listing-airbnb-page) .benefits-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--rr-section-space-compact);
  background: #f8f4eb;
}

/* Ilustrações de canto (assets/decor) emolduram o bloco creme formado pela
   vitrine + "Planeje sua estadia": cantos de cima no topo da vitrine,
   cantos de baixo na base da seção seguinte. Já vêm em sépia e com
   opacidade de marca d'água embutida; ficam atrás do conteúdo. */
body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section {
  background:
    url("/assets/decor/planeje-canto-superior-esquerdo.webp") left top / auto min(62%, 340px) no-repeat,
    url("/assets/decor/planeje-canto-superior-direito.webp") right top / auto min(62%, 340px) no-repeat,
    #f8f4eb;
}

body.home-page:not(.listing-airbnb-page) .benefits-section {
  background:
    url("/assets/decor/planeje-canto-inferior-esquerdo.webp") left bottom / auto min(62%, 340px) no-repeat,
    url("/assets/decor/planeje-canto-inferior-direito.webp") right bottom / auto min(62%, 340px) no-repeat,
    #f8f4eb;
}

/* Tablet: menos margem livre → ilustrações menores, longe dos títulos. */
@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section,
  body.home-page:not(.listing-airbnb-page) .benefits-section {
    background-size: auto min(40%, 240px), auto min(40%, 240px), auto;
  }
}

/* Celular: tela estreita, o desenho ficaria atrás do texto. */
@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section,
  body.home-page:not(.listing-airbnb-page) .benefits-section {
    background: #f8f4eb;
  }
}

body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  align-items: end;
  column-gap: clamp(3rem, 7vw, 8rem);
}

body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-section-header h2 {
  max-width: none;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.02;
}

body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-lead {
  font-size: 1rem;
  line-height: 1.45;
}

body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-aside {
  justify-self: end;
  max-width: 320px;
  margin-bottom: 0.35rem;
}

body.home-page:not(.listing-airbnb-page) .benefits-grid {
  margin-top: var(--rr-stack-content);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rr-grid-gap);
}

/* Altura pelo conteúdo: o card mais alto não sobra espaço; nos demais o
   texto absorve a diferença (linha 1fr) e os links ficam alinhados. */
body.home-page:not(.listing-airbnb-page) .benefit-card {
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  column-gap: var(--rr-icon-gap);
  row-gap: var(--rr-space-2);
  padding: var(--rr-card-padding);
  border-radius: var(--rr-card-radius);
}

body.home-page:not(.listing-airbnb-page) .benefit-card .feature-icon {
  grid-row: 1 / span 3;
  width: 3.35rem;
  height: 3.35rem;
  margin-top: 0.05rem;
}

body.home-page:not(.listing-airbnb-page) .benefit-card h3 {
  grid-column: 2;
  font-size: 1.3rem;
  line-height: 1.2;
}

body.home-page:not(.listing-airbnb-page) .benefit-card > p {
  grid-column: 2;
  max-width: var(--rr-measure);
  line-height: 1.5;
}

body.home-page:not(.listing-airbnb-page) .benefit-card .feature-link {
  grid-column: 2;
  align-self: end;
  margin-top: var(--rr-space-2);
}

@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-section-header {
    grid-template-columns: 1fr;
    row-gap: var(--rr-space-5);
  }

  body.home-page:not(.listing-airbnb-page) .benefits-section .editorial-aside {
    justify-self: start;
  }

  /* Tablet: três colunas estreitas → ícone acima do texto. */
  body.home-page:not(.listing-airbnb-page) .benefit-card {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-icon,
  body.home-page:not(.listing-airbnb-page) .benefit-card h3,
  body.home-page:not(.listing-airbnb-page) .benefit-card > p,
  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-link {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  /* Celular: lista de uma coluna, ícone volta para a esquerda (mais compacto). */
  body.home-page:not(.listing-airbnb-page) .benefits-grid {
    grid-template-columns: 1fr;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-icon {
    grid-row: 1 / span 3;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card h3,
  body.home-page:not(.listing-airbnb-page) .benefit-card > p,
  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-link {
    grid-column: 2;
  }
}

/* Escala tipográfica editorial compartilhada pelos cards da Home. */
body.home-page:not(.listing-airbnb-page) .benefit-card h3,
body.home-page:not(.listing-airbnb-page) .route-card h3,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-title,
body.home-page:not(.listing-airbnb-page) .brand-story-panels strong {
  font-family: "Forum", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

body.home-page:not(.listing-airbnb-page) .benefit-card p:not(.section-kicker),
body.home-page:not(.listing-airbnb-page) .featured-section .listing-city,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-rating {
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
   Hospedagens que encantam (vitrine da Home)
   A composição vitrine vale só para a Home. O catálogo (/hospedagens) usa o
   mesmo card, mas com layout próprio de filtros + resultados (acima).
   ========================================================================== */
/* fundo (creme + ilustrações de canto) definido no bloco das seções creme */
body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section {
  display: block;
}

/* Na Home a vitrine não mostra filtros, toolbar, painel de confiança nem
   mensagens de status (a lista vazia simplesmente não aparece). */
body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section #feedback {
  display: none;
}

body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .featured-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: clamp(2rem, 5vw, 6rem);
  row-gap: var(--rr-stack-lead);
  margin: 0;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-copy > div {
  grid-column: 1;
  grid-row: 1;
  display: block;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-copy > p {
  grid-column: 1;
  grid-row: 2;
  max-width: 58ch;
  margin: 0;
  color: #6f6860;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.45;
}

body.home-page:not(.listing-airbnb-page) .featured-section .section-header h2 {
  max-width: none;
  margin: var(--rr-stack-eyebrow) 0 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(3rem, 4.8vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
}

body.home-page:not(.listing-airbnb-page) .featured-section .section-header h2::after {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  min-height: 0;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(169, 111, 24, 0.6);
  border-radius: 0;
  background: transparent;
  color: #a96f18;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-transform: uppercase;
  box-shadow: none;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 1.1rem;
  letter-spacing: 0;
  transition: transform 180ms ease;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link:hover {
  background: transparent;
  color: #7e5412;
}

body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link:hover::after {
  transform: translateX(3px);
}

body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .featured-listings-shell {
  margin-top: var(--rr-stack-content);
}

/* Vitrine: 4 → 2 (tablet) → 1 (celular pequeno), no máximo 4 cards. */
body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--rr-grid-gap);
  margin: 0;
  overflow: visible;
}

body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-card:nth-child(n + 5) {
  display: none;
}

/* Card de hospedagem — mesmo visual na Home e no catálogo. */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: var(--rr-card-radius);
  background: #fffdfa;
  box-shadow: var(--rr-card-shadow);
}

/* Mesma "levantada" dos cards de "Planeje sua estadia". A animação de
   entrada (card-enter) usava fill-mode both e prendia o transform no
   último quadro, anulando o hover — com backwards ela solta ao terminar. */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-card {
  animation-fill-mode: backwards;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-card:hover,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(185, 128, 32, 0.25);
  box-shadow: var(--rr-card-shadow-hover);
}

@media (prefers-reduced-motion: reduce) {
  body.home-page:not(.listing-airbnb-page) .featured-section .listing-card:hover,
  body.home-page:not(.listing-airbnb-page) .featured-section .listing-card:focus-within {
    transform: none;
  }
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-link:focus-visible {
  outline: var(--rr-focus-ring);
  outline-offset: -2px;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-media {
  aspect-ratio: 1.28 / 1;
  background: #eee6dc;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-content {
  min-height: 0;
  padding: 1.2rem 1.3rem 1.15rem;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-title {
  min-height: 0;
  color: #1c1917;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(1.25rem, 1.45vw, 1.55rem);
  font-weight: 400;
  line-height: 1.08;
  -webkit-line-clamp: 2;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-city {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  margin: 0.9rem 0 0;
  color: #6f6860;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-city::before {
  content: "\2316";
  flex: 0 0 auto;
  color: #a96f18;
  font-size: 1.05rem;
  line-height: 1;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-bottomline {
  display: block;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(28, 25, 23, 0.12);
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-rating {
  margin: 0;
  color: #5f584f;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-rating::first-letter {
  color: #b98020;
}

/* Preço, meta e CTA ficam ocultos nos cards públicos do MVP (decisão de
   produto — contato via WhatsApp/canais). */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-price,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-meta,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-cta {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge {
  top: 1rem;
  left: 1rem;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  max-width: calc(100% - 4.5rem);
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 999px;
  background: rgba(244, 223, 178, 0.94);
  color: #5f4218;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.16);
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge-icon {
  display: inline-grid;
  width: 1rem;
  place-items: center;
  color: #9b6816;
  font-size: 0;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge-icon::before {
  font-size: 1rem;
  line-height: 1;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--crown .listing-badge-icon::before { content: "\265B"; }
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin .listing-badge-icon::before { content: "\2316"; }
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--heart .listing-badge-icon::before { content: "\2661"; }

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge-icon::before {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-favorite {
  top: 0.95rem;
  right: 0.95rem;
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.78);
  border-radius: 50%;
  background: rgba(3, 16, 11, 0.28);
  color: #fffdf8;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-favorite svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Favoritos desligados nos cards públicos do MVP (decisão de produto). A
   lógica de favoritos no main.js fica preservada para quando voltar. */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-favorite {
  display: none;
}

@media (max-width: 1100px) {
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .featured-copy {
    display: block;
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .section-header h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .featured-copy > p {
    margin-top: var(--rr-stack-lead);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link {
    display: inline-flex;
    align-items: center;
    min-height: var(--rr-touch);
    margin-top: var(--rr-space-3);
  }
}

@media (max-width: 480px) {
  body.home-page.listing-index-page .featured-section .listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Vitrine da Home no celular: carrossel horizontal com snap — 2 cards
   visíveis e uma fresta do próximo indicando que dá para arrastar. O trilho
   vai de borda a borda (margem negativa + padding na régua). */
@media (max-width: 720px) {
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listings-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - var(--rr-space-3)) / 2.15);
    gap: var(--rr-space-3);
    margin-inline: calc(-1 * var(--rr-page-inline));
    padding: var(--rr-space-1) var(--rr-page-inline) var(--rr-space-3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rr-page-inline);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listings-grid::-webkit-scrollbar {
    display: none;
  }

  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-card {
    scroll-snap-align: start;
  }

  /* Cards informativos (Planeje sua estadia / Sobre a plataforma): empilhados
     mas compactos — ícone menor ao lado do título, menos respiro interno. */
  body.home-page:not(.listing-airbnb-page) .benefits-grid,
  body.home-page:not(.listing-airbnb-page) .brand-story-panels {
    gap: var(--rr-space-3);
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card {
    column-gap: var(--rr-space-3);
    row-gap: 0.3rem;
    padding: var(--rr-space-4);
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-icon,
  body.home-page:not(.listing-airbnb-page) .brand-story-panels .feature-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-icon svg,
  body.home-page:not(.listing-airbnb-page) .brand-story-panels .feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card h3 {
    font-size: 1.15rem;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card > p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  body.home-page:not(.listing-airbnb-page) .benefit-card .feature-link {
    margin-top: 0.2rem;
  }

  body.home-page:not(.listing-airbnb-page) .brand-story-panels article {
    gap: var(--rr-space-3);
    padding: var(--rr-space-3) var(--rr-space-4);
  }

  /* No toque o gesto de arrastar basta; as setas cobriam o card. */
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-prev-btn,
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-next-btn {
    display: none;
  }

  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-city,
  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-rating {
    font-size: 0.78rem;
  }

  body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section .listing-badge {
    max-width: calc(100% - 1rem);
    overflow: hidden;
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Selos dos cards em "liquid glass": cada selo mantém sua cor (--badge-tint)
   como um vidro tingido — desfoque e saturação da foto por trás, reflexo no
   topo, borda clara e sombra suave. Sem backdrop-filter, o tom fica mais
   opaco para preservar a leitura. */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge {
  --badge-tint: rgba(248, 244, 235, 0.86);
  --badge-sheen: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(160deg, var(--badge-sheen) 0%, rgba(255, 255, 255, 0) 58%),
    var(--badge-tint);
  color: #5f4218;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(0, 0, 0, 0.08),
    0 6px 16px rgba(18, 14, 8, 0.22);
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--crown {
  --badge-tint: rgba(33, 39, 30, 0.8);
  border-color: rgba(255, 250, 229, 0.38);
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-light {
  --badge-tint: rgba(250, 246, 237, 0.88);
  border-color: rgba(255, 255, 255, 0.62);
  color: #8a5d16;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-dark {
  --badge-tint: rgba(62, 48, 33, 0.8);
  border-color: rgba(255, 247, 224, 0.4);
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--heart {
  --badge-tint: rgba(181, 126, 28, 0.86);
  border-color: rgba(255, 242, 204, 0.5);
  color: #fffdf8;
}

/* Selos coloridos: reflexo mais discreto (branco forte acinzentava o tom) e
   sombra sutil de leitura no texto claro. */
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--crown,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-dark,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--heart {
  --badge-sheen: rgba(255, 255, 255, 0.16);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge {
    --badge-tint: rgba(248, 244, 235, 0.58);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--crown {
    --badge-tint: rgba(24, 44, 32, 0.68);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-light {
    --badge-tint: rgba(250, 246, 237, 0.62);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-dark {
    --badge-tint: rgba(62, 45, 28, 0.7);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--heart {
    --badge-tint: rgba(186, 128, 24, 0.8);
  }
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--crown .listing-badge-icon,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-dark .listing-badge-icon,
body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--heart .listing-badge-icon {
  color: #fffdf8;
}

body.home-page:not(.listing-airbnb-page) .featured-section .listing-badge--pin-light .listing-badge-icon {
  color: #a96f18;
}

/* Alvos de toque no catálogo e nos cards (telas de toque, ≥44px). */
@media (pointer: coarse) {
  body.home-page .site-header .logo,
  body.home-page.listing-index-page .popular-filter-strip button,
  body.home-page.listing-index-page .rating-filter-row button,
  body.home-page.listing-index-page .filter-option,
  body.home-page.listing-index-page .filter-clear-button,
  body.home-page.listing-index-page .filter-more-button,
  body.home-page.listing-index-page .listings-view-controls select,
  body.home-page.listing-index-page .view-mode-toggle button {
    min-height: var(--rr-touch);
  }

  body.home-page:not(.listing-airbnb-page) .featured-section .listing-favorite {
    width: var(--rr-touch);
    height: var(--rr-touch);
  }
}

/* Catálogo — tablet: filtros viram painel em colunas acima dos resultados
   (menos altura). Celular: resultados primeiro; filtros logo depois, e os
   filtros populares do hero seguem como atalho. */
@media (max-width: 1100px) {
  body.home-page.listing-index-page .listings-filter-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }

  body.home-page.listing-index-page .filter-sidebar-header {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Filtros do catálogo no celular como folha inferior (catalog-filters-sheet.js).
   Só vale com o script ativo (body.has-filters-sheet) e em telas ≤720px:
   a barra sai do fim da página e abre por cima, com total e botão fixo.
   ========================================================================== */
.filters-sheet-close,
.filters-sheet-footer,
.filters-sheet-backdrop {
  display: none;
}

.filter-jump-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #b98020;
  color: #fffdf8;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.filter-jump-badge[hidden] {
  display: none;
}

@media (max-width: 720px) {
  body.home-page.listing-index-page.has-filters-sheet:not(.filters-sheet-open) .listings-filter-sidebar {
    display: none;
  }

  body.filters-sheet-open {
    overflow: hidden;
  }

  body.filters-sheet-open .filters-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: block;
    border: 0;
    background: rgba(20, 14, 8, 0.48);
    animation: filtersSheetFade 180ms ease-out;
  }

  body.home-page.listing-index-page.filters-sheet-open .listings-filter-sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2001;
    display: block;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -18px 40px rgba(20, 14, 8, 0.24);
    animation: filtersSheetUp 220ms ease-out;
  }

  body.home-page.listing-index-page.filters-sheet-open .filter-sidebar-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fffdf8;
  }

  body.home-page.listing-index-page.filters-sheet-open .filter-sidebar-header h2 {
    flex: 1 1 auto;
  }

  body.filters-sheet-open .filters-sheet-close {
    display: inline-grid;
    place-items: center;
    width: var(--rr-touch);
    height: var(--rr-touch);
    border: 1px solid rgba(32, 27, 23, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: #8f5f1b;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }

  body.filters-sheet-open .filters-sheet-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: block;
    padding: var(--rr-space-3) var(--rr-space-5) calc(var(--rr-space-3) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(32, 27, 23, 0.09);
    background: #fffdf8;
  }

  body.filters-sheet-open .filters-sheet-apply {
    width: 100%;
    min-height: 3rem;
    border: 0;
    border-radius: 999px;
    background: #b98020;
    color: #fffdf8;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
  }
}

@keyframes filtersSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes filtersSheetFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page.listing-index-page.filters-sheet-open .listings-filter-sidebar,
  body.filters-sheet-open .filters-sheet-backdrop {
    animation: none;
  }
}

/* Atalho "Filtros": só no celular, onde a barra de filtros fica após os resultados. */
body.home-page.listing-index-page .filter-jump-link {
  display: none;
}

body.home-page.listing-index-page .listings-filter-sidebar {
  scroll-margin-top: var(--rr-sticky-top);
}

@media (max-width: 720px) {
  body.home-page.listing-index-page .featured-listings-shell {
    order: -1;
  }

  body.home-page.listing-index-page .filter-jump-link {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: var(--rr-touch);
    padding: 0 1rem;
    border: 1px solid rgba(185, 128, 32, 0.45);
    border-radius: var(--rr-radius-pill);
    background: #fffdf8;
    color: #9b671b;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
  }

  body.home-page.listing-index-page .filter-jump-link svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  body.home-page.listing-index-page .listings-view-controls {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  body.home-page.listing-index-page .listings-view-controls label {
    flex: 1 1 100%;
    order: -1;
  }

  body.home-page.listing-index-page .listings-view-controls select {
    flex: 1 1 auto;
  }

  body.home-page.listing-index-page .view-mode-toggle {
    flex: 2 1 0;
  }

  body.home-page.listing-index-page .view-mode-toggle button {
    flex: 1 1 0;
  }
}

body.home-page.listing-index-page .filter-group {
  align-content: start;
}

/* Celular deitado (tela baixa): com a busca aberta o header ocupava ~70% da
   altura e o popover saía por baixo. Busca em uma linha, menu oculto
   enquanto ela está aberta e popover limitado à altura restante. */
@media (max-height: 500px) and (orientation: landscape) {
  body.home-page.search-open:not(.listing-airbnb-page) .main-nav {
    display: none;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .site-header {
    padding-block: var(--rr-space-2);
  }

  body.home-page.search-open:not(.listing-airbnb-page) .search-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  body.home-page.search-open:not(.listing-airbnb-page) .search-submit {
    grid-column: auto;
  }

  body.home-page:not(.listing-airbnb-page) .search-popover {
    max-height: calc(100vh - 10rem);
    max-height: calc(100dvh - 10rem);
  }
}

@media (pointer: coarse) {
  body.home-page:not(.listing-airbnb-page) .featured-section .featured-all-link {
    display: inline-flex;
    align-items: center;
    min-height: var(--rr-touch);
  }
}

/* ==========================================================================
   Busca compacta do header (Home ao rolar + detalhe ao rolar)
   Pílula única: segmentos com ícone, rótulo curto e valor, divisores finos
   e botão redondo dentro da pílula. Flex em vez de grid: segmento oculto
   (Tipo/Quando) não deixa coluna vazia.
   ========================================================================== */
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-bar,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 0;
  padding: 0.3rem 0.3rem 0.3rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(28, 25, 23, 0.1),
    0 6px 18px rgba(28, 25, 23, 0.08);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment {
  /* sem "display" aqui: quem decide se o segmento aparece são as regras de
     visibilidade (datas desligadas, Tipo oculto no compacto etc.) */
  flex: 1 1 auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.6rem;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0.3rem 1.1rem 0.3rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  text-align: left;
  transition: background-color 160ms ease;
}

/* divisor fino entre segmentos; some no hover (o fundo do segmento cobre) */
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment + .search-segment,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment + .search-segment {
  border-left: 0;
  background: linear-gradient(rgba(28, 25, 23, 0.12), rgba(28, 25, 23, 0.12)) left center / 1px 55% no-repeat;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment:hover,
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment.is-active,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment:hover,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment.is-active {
  background: rgba(195, 138, 46, 0.1);
  box-shadow: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment:focus-visible,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment:focus-visible {
  outline: var(--rr-focus-ring);
  outline-offset: -2px;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment::after,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment::after {
  display: none;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-icon,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: #b98020;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-copy,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-label,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-label {
  display: block;
  color: #6f6860;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-value,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-value {
  display: block;
  max-width: 11rem;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Botão redondo dourado dentro da pílula; com filtro ativo mostra "Buscar". */
body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-submit,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-submit {
  flex: 0 0 auto;
  width: auto;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  margin-left: 0.25rem;
  padding: 0 1.05rem 0 0.95rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c38a2e, #d9a914);
  box-shadow: 0 6px 14px rgba(166, 111, 29, 0.28);
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-bar:not(.has-active-filters) .search-submit,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-bar:not(.has-active-filters) .search-submit {
  width: 46px;
  padding: 0;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-submit:focus-visible,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-submit:focus-visible {
  outline: var(--rr-focus-ring);
  outline-offset: 2px;
}

/* Desktop tem espaço: "Tipo" volta para a pílula. */
@media (min-width: 1101px) {
  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment[data-search-open="what"],
  body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment[data-search-open="what"] {
    display: grid;
  }
}

@media (max-width: 720px) {
  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment,
  body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment {
    padding-inline: 0.75rem 0.5rem;
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-value,
  body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-value {
    max-width: 8rem;
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-submit,
  body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-submit {
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-bar:not(.has-active-filters) .search-submit,
  body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-bar:not(.has-active-filters) .search-submit {
    width: 44px;
  }
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment-value,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment-value {
  color: #1c1917;
}

body.home-page.search-compact:not(.search-expanded):not(.listing-airbnb-page) .header-search-slot .search-segment.has-value .search-segment-value,
body.listing-airbnb-page.is-listing-scrolled:not(.search-expanded) .header-search-slot .search-segment.has-value .search-segment-value {
  color: #b98020;
}

/* Ornamento entre a vitrine e "Planeje sua estadia" (mesmo fundo creme):
   estrela dourada + frase em serifa itálica entre dois fios. Fica centrado
   no intervalo — a vitrine perde parte do respiro de baixo e a seção
   seguinte não repete o respiro de cima. */
body.home-page:not(.listing-airbnb-page):not(.listing-index-page) .featured-section:has(+ .section-ornament) {
  padding-bottom: var(--rr-stack-content);
}

body.home-page:not(.listing-airbnb-page) .section-ornament {
  display: grid;
  justify-items: center;
  gap: var(--rr-space-2);
  padding: 0 var(--rr-page-inline) var(--rr-stack-content);
  background: #f8f4eb;
  text-align: center;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-mark {
  display: inline-grid;
  width: 1.4rem;
  height: 1.4rem;
  color: #b98020;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-mark circle {
  fill: #f8f4eb;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  margin: 0;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-text em {
  color: #6f6860;
  font-family: "Forum", Georgia, serif;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  font-style: italic;
  line-height: 1.3;
}

body.home-page:not(.listing-airbnb-page) .section-ornament-line {
  flex: 0 1 6.5rem;
  min-width: 1.5rem;
  height: 1px;
  background: #c9a15b;
}

/* O ornamento pertence à Home; no catálogo a seção seguinte nem aparece. */
body.home-page.listing-index-page .section-ornament {
  display: none;
}

body.home-page:not(.listing-airbnb-page) .section-ornament + .benefits-section {
  padding-top: 0;
}
