/* =========================================================
   Caldas Proprieitario — Template de aluguel por temporada
   Bootstrap 5.3 + CSS próprio
   ========================================================= */

:root {
  --brand: #1554B4;
  --brand-600: #10376B;
  --brand-50: #EAF2FF;
  --accent: #3B82F6;
  --ink: #1F2328;
  --muted: #5F6670;
  --line: #E2E8F0;
  --surface: #F6F8FC;
  --bg: #FFFFFF;
  --danger: #C2410C;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 6px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .16);

  /* Bootstrap overrides */
  --bs-primary: var(--brand);
  --bs-primary-rgb: 15, 118, 110;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 15, 118, 110;
  --bs-link-hover-color: var(--brand-600);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: var(--radius);
}

body {
  -webkit-font-smoothing: antialiased;
}

.fonteBase {
  color: var(--corBase, var(--bs-primary));
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  letter-spacing: -.01em;
}

.text-muted {
  color: var(--muted) !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.section {
  padding: 64px 0;
}

.section-sm {
  padding: 40px 0;
}

.bg-surface {
  background: var(--surface);
}

.small-caps {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Botões ---------- */
.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: .65rem 1.1rem;
}

/* Botão principal */
.btn-primary {
  background-color: #1554B4;
  border-color: #1554B4;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #10376B;
  border-color: #10376B;
  color: #fff;
}

/* Botões secundários */
.btn-outline-primary {
  background: #fff;
  border-color: #1554B4;
  color: #1554B4;
  border-radius: 10px;
}

.btn-outline-primary:hover {
  background: #1554B4;
  border-color: #1554B4;
  color: #fff;
}

/* Filtros selecionados */
.btn-check:checked+.btn-outline-secondary {
  background: #1554B4;
  border-color: #1554B4;
  color: #fff;
}

/* Destaques comerciais */
.prop-oferta {
  background: #DDF4F0;
  color: #08675F;
  border-radius: 6px;
  font-weight: 600;
}

.btn-outline-dark {
  --bs-btn-hover-bg: var(--ink);
}

.btn-pill {
  border-radius: 999px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.btn-sm {
  padding: .4rem .85rem;
  font-size: .85rem;
  border-radius: 8px;
}

.btn-xs {
  padding: .2rem .6rem;
  font-size: .75rem;
  border-radius: 6px;
  line-height: 1.4;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: .7rem .9rem;
  border-color: #cfd3d8;
}

.form-select {
  padding-right: 2.4rem;
}

.form-control:focus,
.form-select:focus,
.btn:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .2);
}

.form-label {
  font-weight: 600;
  font-size: .9rem;
}

.form-select-sm {
  padding: .4rem 2.2rem .4rem .8rem;
  font-size: .88rem;
}

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .navbar {
  padding: .8rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
}

.brand-logo small {
  display: block;
  font-weight: 500;
  font-size: .72rem;
  color: var(--muted);
  margin-top: -3px;
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: .5rem .9rem !important;
  border-radius: 999px;
}

.site-header .nav-link:hover {
  background: var(--surface);
}

.site-header .nav-link.active {
  color: var(--brand);
}

/* ---------- Hero ---------- */
/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 120px 0 56px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 720px;
  line-height: 1.1;
}

.hero p.lead {
  max-width: 560px;
  opacity: .95;
}

/* ---------- Barra de busca ---------- */
.search-bar {
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: stretch;
  padding: 8px;
  gap: 0;
  border: 1px solid var(--line);
}

.search-bar .sb-field {
  flex: 1 1 0;
  min-width: 0;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
}

.search-bar .sb-field:hover {
  background: var(--surface);
}

.search-bar .sb-field+.sb-field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  border-left: 1px solid var(--line);
}

.search-bar .sb-field:hover::before,
.search-bar .sb-field:hover+.sb-field::before {
  display: none;
}

.sb-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
}

.sb-value {
  display: block;
  font-size: .92rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-value.has-value {
  color: var(--ink);
  font-weight: 500;
}

.search-bar .sb-submit {
  border-radius: 999px;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.search-bar .dropdown {
  position: relative;
}

/* ---------- Calendário da busca como popup centralizado ---------- */
.search-bar .dropdown-menu.sb-dates-menu.show {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1060;
  box-shadow: 0 0 0 100vmax rgba(16, 24, 40, .55), var(--shadow-lg);
}

/* tira o hero do "isolamento" enquanto o calendário está aberto,
   para o fundo escuro cobrir header e WhatsApp */
.hero:has(.sb-dates-menu.show) {
  z-index: 1050;
}

/* esconde o WhatsApp e trava a rolagem por trás */
body:has(.sb-dates-menu.show) .wa-float {
  display: none;
}

body:has(.sb-dates-menu.show) {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .search-bar .dropdown-menu.sb-dates-menu.show {
    padding: 1rem;
    border-radius: 18px;
  }
}

.sb-dates-menu {
  width: min(720px, calc(100vw - 32px));
}

.sb-guests-menu {
  width: 320px;
}

@media (max-width: 991.98px) {
  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 10px;
    gap: 6px;
  }

  .search-bar .sb-field {
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .search-bar .sb-field+.sb-field::before {
    display: none;
  }

  .search-bar .sb-submit {
    justify-content: center;
    padding: .8rem;
    border-radius: 12px;
  }

  .search-bar .dropdown {
    width: 100%;
  }
}

/* Stepper de hóspedes */
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}

.stepper-row+.stepper-row {
  border-top: 1px solid var(--line);
}

.stepper {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #b9bec5;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.stepper button:hover:not(:disabled) {
  border-color: var(--ink);
}

.stepper button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.stepper output {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

/* ---------- Calendário (range picker) ---------- */
.cal-grid .d[data-dia]:not(.passado):not(.ocupado) {
  cursor: pointer;
}

.cal-grid .d[data-dia]:not(.passado):not(.ocupado):not(.sel):hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.cal-grid .d.faixa {
  background: var(--surface);
  border-radius: 0;
}

.cal-grid .d.sel {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.rc {
  user-select: none;
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.rc-months {
  display: grid;
  grid-template-columns: repeat(var(--rc-months, 2), 1fr);
  gap: 2rem;
}

.rc-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: .75rem;
}

.rc-title::first-letter {
  text-transform: uppercase;
}

.rc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.rc-dow {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding-bottom: .4rem;
}

.rc-day {
  aspect-ratio: 1 / 1;
  max-height: 46px;
  width: 100%;
  border: 0;
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  padding: 0;
}

.rc-day>span {
  width: 100%;
  height: 100%;
  max-width: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid transparent;
}

.rc-day:not(:disabled):hover>span {
  border-color: var(--ink);
}

.rc-day:disabled {
  cursor: default;
  color: #b3b8bf;
}

.rc-day.is-booked:disabled>span {
  text-decoration: line-through;
  color: #a3a9b0;
}

.rc-day.is-today>span::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.rc-day.in-range {
  background: var(--surface);
}

.rc-day.is-start,
.rc-day.is-end {
  background: linear-gradient(90deg, transparent 50%, var(--surface) 50%);
}

.rc-day.is-end {
  background: linear-gradient(90deg, var(--surface) 50%, transparent 50%);
}

.rc-day.is-start.is-end {
  background: transparent;
}

.rc-day.is-start>span,
.rc-day.is-end>span {
  background: var(--ink);
  color: #fff;
}

.rc-day.is-checkout-only>span {
  color: var(--ink);
  text-decoration: none;
  border-style: dashed;
  border-color: #b9bec5;
}

.rc-empty {
  aspect-ratio: 1/1;
  max-height: 46px;
}

.rc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 1rem;
}

.rc-legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  vertical-align: -2px;
  margin-right: .35rem;
  border: 1px solid #b9bec5;
}

.rc-legend .lg-booked {
  background: repeating-linear-gradient(135deg, #e9ebee 0 3px, #fff 3px 6px);
}

.rc-legend .lg-selected {
  background: var(--ink);
  border-color: var(--ink);
}

.rc-legend .lg-range {
  background: var(--surface);
  border-color: var(--line);
}

.rc-hint {
  font-size: .85rem;
  color: var(--muted);
  min-height: 1.3em;
}

/* ---------- Cards de imóveis ---------- */
.prop-card {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

.prop-card:hover {
  color: var(--ink);
}

.prop-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 20 / 19;
  background: var(--surface);
}

.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.prop-card:hover .prop-media img {
  transform: scale(1.03);
}

.prop-media .media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s;
  box-shadow: var(--shadow-sm);
}

.prop-media .media-nav.prev {
  left: 10px;
}

.prop-media .media-nav.next {
  right: 10px;
}

.prop-card:hover .media-nav,
.media-nav:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .prop-media .media-nav {
    display: none;
  }
}

.media-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.media-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}

.media-dots span.active {
  background: #fff;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
  line-height: 1;
  padding: 4px;
}

.fav-btn.active {
  color: #e11d48;
}

.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.prop-body {
  padding-top: .75rem;
}

.prop-title {
  font-weight: 700;
  font-size: .98rem;
  margin: 0;
}

.prop-meta {
  color: var(--muted);
  font-size: .9rem;
  margin: .1rem 0;
}

.prop-price {
  margin-top: .3rem;
  font-size: .95rem;
}

.prop-price strong {
  font-weight: 700;
}

.prop-price .total {
  color: var(--muted);
  text-decoration: underline;
}

.rating {
  font-size: .9rem;
  white-space: nowrap;
}

.rating .bi {
  font-size: .8rem;
}

.prop-card.unavailable .prop-media {
  filter: grayscale(.8);
  opacity: .65;
}

/* ---------- Filtros (listagem) ---------- */
.filters-bar {
  position: sticky;
  top: 71px;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.chip {
  border: 1px solid #cfd3d8;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.chip:hover {
  border-color: var(--ink);
}

.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chips-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}

.chips-scroll::-webkit-scrollbar {
  display: none;
}

.empty-state {
  text-align: center;
  padding: 64px 16px;
  border: 1px dashed #cfd3d8;
  border-radius: var(--radius-lg);
}

.empty-state .bi {
  font-size: 2.4rem;
  color: var(--muted);
}


/* ---------- Galeria ---------- */
.gallery-wrap {
  position: relative;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 448px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery>a {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .4s ease, filter .2s;
}

.gallery>a:hover img {
  filter: brightness(.9);
  transform: scale(1.02);
}

.gallery .g-main {
  grid-row: 1 / span 2;
}

.gallery>a:nth-of-type(n+6) {
  display: none;
}

/* Adapta à quantidade de fotos */
.gallery-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.gallery-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.gallery-1 .g-main,
.gallery-2 .g-main {
  grid-row: auto;
}

.gallery-3 {
  grid-template-columns: 2fr 1fr;
}

.gallery-4>a:nth-of-type(4) {
  grid-column: span 2;
}

.gallery-wrap .g-all {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-sm);
}

.gallery-wrap .g-count {
  display: none;
}

/* Modal de fotos */
.fotos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fotos-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.fotos-grid img:nth-child(3n+1) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

@media (max-width: 767.98px) {
  .gallery-wrap {
    margin-left: -12px;
    margin-right: -12px;
  }

  .gallery {
    display: flex;
    height: auto;
    gap: 0;
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery>a,
  .gallery>a:nth-of-type(n+6) {
    display: block;
    flex: 0 0 100%;
    height: min(75vw, 420px);
    scroll-snap-align: start;
  }

  .gallery>a:hover img {
    transform: none;
    filter: none;
  }

  .gallery-wrap .g-all {
    display: none;
  }

  .gallery-wrap .g-count {
    display: block;
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
    pointer-events: none;
  }

  .fotos-grid {
    grid-template-columns: 1fr;
  }

  .fotos-grid img,
  .fotos-grid img:nth-child(3n+1) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
}

.detail-highlights .item {
  display: flex;
  gap: 1rem;
  padding: .8rem 0;
}

.detail-highlights .bi {
  font-size: 1.5rem;
  color: var(--ink);
}

.amenity {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem 0;
}

.amenity .bi {
  font-size: 1.3rem;
  width: 26px;
  text-align: center;
}

.divider {
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.room-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  height: 100%;
}

.room-card .bi {
  font-size: 1.6rem;
}

.booking-card {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  background: #fff;
}
.booking-card .booking-card { border: 0; box-shadow: none; padding: 0; }

.booking-fields {
  border: 1px solid #b9bec5;
  border-radius: 12px;
  overflow: hidden;
}

.booking-fields .bf {
  padding: .6rem .9rem;
  text-align: left;
  background: #fff;
  border: 0;
  width: 100%;
  display: block;
}

.booking-fields .bf:hover {
  background: var(--surface);
}

.booking-fields .bf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #b9bec5;
}

.booking-fields .bf-row .bf+.bf {
  border-left: 1px solid #b9bec5;
}

.booking-fields .bf-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.booking-fields .bf-value {
  font-size: .92rem;
}

.price-lines .line {
  display: flex;
  justify-content: space-between;
  padding: .3rem 0;
}

.price-lines .line span:first-child {
  text-decoration: underline;
  text-decoration-color: #c4c8cd;
}

.price-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin-top: .6rem;
}

.alert-soft {
  background: #fff4ec;
  color: #8a2c07;
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .9rem;
}

.alert-ok {
  background: var(--brand-50);
  color: #0b4f4a;
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .9rem;
}

.mobile-book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 992px) {
  .mobile-book-bar {
    display: none;
  }
}

@media (max-width: 991.98px) {
  body.has-mobile-bar {
    padding-bottom: 84px;
  }
}

.review {
  margin-bottom: 1.6rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--brand-50);
  color: var(--brand);
  flex-shrink: 0;
}

.rating-bars .bar {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bars .bar i {
  display: block;
  height: 100%;
  background: var(--ink);
}

/* ---------- Reserva ---------- */
.steps {
  display: flex;
  gap: .5rem;
  counter-reset: s;
  flex-wrap: wrap;
}

.steps .step {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--muted);
  font-size: .92rem;
}

.steps .step::before {
  counter-increment: s;
  content: counter(s);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #c4c8cd;
  font-size: .8rem;
}

.steps .step.active {
  color: var(--ink);
}

.steps .step.active::before {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.steps .step.done::before {
  content: "✓";
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.steps .sep {
  flex: 0 0 28px;
  height: 1.5px;
  background: #c4c8cd;
  align-self: center;
}

.pay-option {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: border-color .15s;
}

.pay-option:hover {
  border-color: #9aa1a9;
}

.pay-option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pay-option .bi {
  font-size: 1.5rem;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.summary-card .thumb {
  width: 110px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

.pix-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pix-qr {
  width: 160px;
  height: 160px;
  background:
    conic-gradient(from 90deg at 1px 1px, #0000 90deg, #1f2328 0) 0 0/12px 12px;
  border-radius: 8px;
  border: 8px solid #fff;
  outline: 1px solid var(--line);
}

.confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 2.2rem;
  margin: 0 auto;
}

/* ---------- Diversos ---------- */
.feature-tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  height: 100%;
}

.feature-tile .bi {
  font-size: 1.6rem;
  color: var(--brand);
}

.condo-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.condo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.contact-card:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.contact-card .bi {
  font-size: 1.5rem;
  color: var(--brand);
}

.map-frame {
  border: 0;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
}

.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--brand-50);
  color: var(--ink);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .2);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  font-size: .92rem;
}

.site-footer h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer li {
  margin-bottom: .45rem;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1fa855;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  z-index: 1040;
}

.wa-float:hover {
  color: #fff;
  background: #178a45;
}

body.has-mobile-bar .wa-float {
  bottom: 100px;
}

@media (min-width: 992px) {
  body.has-mobile-bar .wa-float {
    bottom: 20px;
  }
}

.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: sk 1.2s infinite;
  border-radius: var(--radius);
}

@keyframes sk {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Caldas Proprietário - Identidade visual */

.brand-logo {
  color: var(--brand-600);
}

.brand-logo:hover {
  color: var(--brand);
}

.site-header .nav-link.active,
.site-header .nav-link:hover {
  color: var(--brand);
}

.btn-primary {
  --bs-btn-disabled-bg: #94B5E8;
  --bs-btn-disabled-border-color: #94B5E8;
}

.form-control:focus,
.form-select:focus,
.btn:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(21, 84, 180, .2);
}

.alert-ok {
  color: var(--brand-600);
}

.accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(21, 84, 180, .2);
}


.brand-logo img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 575.98px) {
  .brand-logo img {
    width: 220px;
  }
}


.site-footer .brand-logo img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.site-footer a:hover {
  color: var(--brand);
}

/* ---------- Calendário de ocupação (página do imóvel) ---------- */
.cal-meses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
  text-align: center;
}

.cal-grid .sem {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: .4rem;
}

.cal-grid .d {
  aspect-ratio: 1 / 1;
  max-height: 44px;
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 50%;
  position: relative;
}

.cal-grid .d.passado {
  color: #c4c8cd;
}

.cal-grid .d.ocupado {
  color: #a3a9b0;
  text-decoration: line-through;
  background: repeating-linear-gradient(135deg, #e9ebee 0 3px, #fff 3px 6px);
}

/* dia de saída de um hóspede: livre para novo check-in */
.cal-grid .d.saida {
  background: linear-gradient(135deg, #e9ebee 50%, transparent 50%);
}

.cal-grid .d.hoje::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.cal-grid .d.sel {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.calendarioOcupacao {
  display: block;
}

.calendarioOcupacao .rc {
  width: 100%;
  min-width: 0;
}

.calendarioOcupacao .rc-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.calendarioOcupacao .rc-months>div {
  min-width: 0;
}

/* Dias disponíveis mantêm a cor normal, mesmo em modo consulta. */
.calendarioOcupacao .rc-day:disabled {
  color: var(--ink);
  opacity: 1;
}

.calendarioOcupacao .rc-day.is-booked>span {
  color: #a3a9b0;
  text-decoration: line-through;
}

.calendarioOcupacao .rc-day.is-past>span {
  color: #b3b8bf;
}

@media (max-width: 559px) {
  .calendarioOcupacao .rc-months {
    grid-template-columns: 1fr;
  }

  .calendarioOcupacao .rc-months>div~div {
    display: none;
  }
}

#disponibilidade .calendarioOcupacao {
  display: block;
  min-height: 400px;
  padding: 20px;

  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
}

@media (max-width: 559px) {
  #disponibilidade .calendarioOcupacao {
    min-height: 420px;
    padding: 16px;
  }
}

/* ---------- Painel do cliente ---------- */
.st-ok {
  --st: #1F9D6B;
  --st-bg: #E6F6EF;
}

.st-warn {
  --st: #B7791F;
  --st-bg: #FDF4E1;
}

.st-err {
  --st: var(--danger);
  --st-bg: #FCEDE6;
}

.st-info {
  --st: var(--brand);
  --st-bg: var(--brand-50);
}

.st-off {
  --st: var(--muted);
  --st-bg: var(--surface);
}

.st {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 999px;
  color: var(--st);
  background: var(--st-bg);
}

.st::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.kpi .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--st);
  background: var(--st-bg);
}

.kpi .val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.kpi .lbl {
  color: var(--muted);
  font-size: .82rem;
}

.chip .count {
  font-size: .72rem;
  opacity: .7;
}

.pc-search {
  position: relative;
}

.pc-search .bi {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.pc-search .form-control {
  border-radius: 999px;
  padding-left: 2.4rem;
}

.rsv {
  overflow: hidden;
  transition: box-shadow .15s;
}

.rsv:hover {
  box-shadow: var(--shadow);
}

.rsv-img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  background: var(--surface);
}

.rsv-code {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .03em;
}

.rsv-title {
  font-size: 1.05rem;
  margin: 0;
}

.rsv-total {
  font-weight: 800;
  font-size: 1.15rem;
}

.rsv-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--surface);
  border-radius: 12px;
  padding: .6rem .8rem;
  font-size: .85rem;
}

.rsv-dates span {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pay-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.pay-bar>div {
  height: 100%;
  background: #1F9D6B;
}

.rsv.is-cancel {
  opacity: .75;
}

.rsv.is-cancel .rsv-img {
  filter: grayscale(1);
}

.rsv-actions .btn {
  padding: .4rem .85rem;
  font-size: .85rem;
}

.doc-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-top: 1px dashed var(--line);
}

.doc-row:first-of-type {
  border-top: 0;
}

.doc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
}

/* ---------- Painel do cliente ---------- */
.st-ok {
  --st: #1F9D6B;
  --st-bg: #E6F6EF;
}

.st-warn {
  --st: #B7791F;
  --st-bg: #FDF4E1;
}

.st-err {
  --st: var(--danger);
  --st-bg: #FCEDE6;
}

.st-info {
  --st: var(--brand);
  --st-bg: var(--brand-50);
}

.st-off {
  --st: var(--muted);
  --st-bg: var(--surface);
}

.st {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 999px;
  color: var(--st);
  background: var(--st-bg);
}

.st::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.kpi .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--st);
  background: var(--st-bg);
}

.kpi .val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.kpi .lbl {
  color: var(--muted);
  font-size: .82rem;
}

.chip .count {
  font-size: .72rem;
  opacity: .7;
}

.pc-search {
  position: relative;
}

.pc-search .bi {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.pc-search .form-control {
  border-radius: 999px;
  padding-left: 2.4rem;
}

.rsv {
  overflow: hidden;
  transition: box-shadow .15s;
}

.rsv:hover {
  box-shadow: var(--shadow);
}

.rsv-img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  background: var(--surface);
}

.rsv-code {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .03em;
}

.rsv-title {
  font-size: 1.05rem;
  margin: 0;
}

.rsv-total {
  font-weight: 800;
  font-size: 1.15rem;
}

.rsv-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--surface);
  border-radius: 12px;
  padding: .6rem .8rem;
  font-size: .85rem;
}

.rsv-dates span {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pay-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.pay-bar>div {
  height: 100%;
  background: #1F9D6B;
}

.rsv.is-cancel {
  opacity: .75;
}

.rsv.is-cancel .rsv-img {
  filter: grayscale(1);
}

.rsv-actions .btn {
  padding: .4rem .85rem;
  font-size: .85rem;
}

.doc-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-top: 1px dashed var(--line);
}

.doc-row:first-of-type {
  border-top: 0;
}

/* ---------- Chat (estilo Airbnb) ---------- */
.min-w-0 {
  min-width: 0;
}

.chat-app {
  display: grid;
  grid-template-columns: 340px 1fr 300px;
  height: calc(100vh - 140px);
  min-height: 520px;
  overflow: hidden;
}

.chat-list {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-list-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-threads {
  overflow-y: auto;
  flex: 1;
}

.chat-thread {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.chat-thread:hover {
  background: var(--surface);
  color: var(--ink);
}

.chat-thread.active {
  background: var(--brand-50);
}

.chat-thread img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
}

.chat-unread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.chat-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.chat-empty .bi {
  font-size: 2.6rem;
  color: var(--brand);
  display: block;
  margin-bottom: .5rem;
}

.chat-main>.chat-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chat-day {
  text-align: center;
  margin: .9rem 0 .4rem;
}

.chat-day span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: .2rem .7rem;
  border-radius: 999px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}

.chat-msg.me {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg.them {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-msg small {
  font-size: .7rem;
  color: var(--muted);
  margin: .15rem .4rem 0;
}

.chat-bubble {
  padding: .6rem .9rem;
  border-radius: 18px;
  font-size: .93rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg.me .chat-bubble {
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-msg.them .chat-bubble {
  background: var(--surface);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  padding: .85rem 1rem;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  resize: none;
  border-radius: 22px;
  padding: .6rem 1rem;
  max-height: 140px;
}

.chat-info {
  border-left: 1px solid var(--line);
  overflow-y: auto;
}

.chat-info-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface);
}

@media (max-width: 1199.98px) {
  .chat-app {
    grid-template-columns: 300px 1fr;
  }

  .chat-info {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .chat-app {
    grid-template-columns: 1fr;
    height: calc(100vh - 110px);
    border-radius: 0;
    margin: 0 -12px;
  }

  .chat-app.has-thread .chat-list {
    display: none;
  }

  .chat-app:not(.has-thread) .chat-main {
    display: none;
  }

  .chat-list {
    border-right: 0;
  }

  .chat-msg {
    max-width: 85%;
  }
}

.doc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
}

/* ===== Modal de reserva ===== */
.ui-reserva .modal-content {
  border: 0;
  border-radius: 16px;
  font-family: 'Figtree', sans-serif;
  overflow: hidden;
}

.ui-reserva .modal-header {

  color: #fff;
  border: 0;
}

.ui-reserva .modal-header .modal-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
}

.ui-reserva .modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.ui-reserva .modal-footer {
  background: #f7f5f4;
  border-top: 1px solid #eee;
}

.ui-reserva-titulo {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  color: var(--ui-dark, #26201E);
  margin-bottom: .35rem;
}

.ui-reserva .form-label {
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .3rem;
}

.ui-reserva .input-group-text {
  background: #f7f5f4;
  color: var(--ui-brand, #E1543F);
}

.ui-reserva .form-control:focus {
  border-color: var(--ui-brand, #E1543F);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--ui-brand, #E1543F) 20%, transparent);
}

.ui-reserva-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .8rem;
  border-radius: 10px;
  background: #eaf7ef;
  color: #1e7a45;
  font-weight: 600;
  font-size: .875rem;
}

.ui-reserva-alert {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .875rem;
  border-radius: 10px;
}

.ui-reserva-alert>i {
  font-size: 1.15rem;
  line-height: 1.2;
}

.ui-reserva-proxima {
  display: flex;
  gap: .6rem;
  padding: .75rem .9rem;
  border-left: 3px solid var(--ui-brand, #E1543F);
  background: #f7f5f4;
  border-radius: 0 10px 10px 0;
  font-size: .85rem;
}

.ui-reserva-proxima>i {
  color: var(--ui-brand, #E1543F);
  font-size: 1.1rem;
}

.ui-btn-brand {
  background: var(--ui-brand, #E1543F);
  border-color: var(--ui-brand, #E1543F);
  color: #fff;
  font-weight: 600;
}

.ui-btn-brand:hover,
.ui-btn-brand:focus {
  background: color-mix(in srgb, var(--ui-brand, #E1543F) 85%, #000);
  border-color: color-mix(in srgb, var(--ui-brand, #E1543F) 85%, #000);
  color: #fff;
}

.ui-reserva-loader {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ui-brand, #E1543F) 12%, #fff);
  color: var(--ui-brand, #E1543F);
  font-size: 1.75rem;
}

/* Checkout Caldas Proprietário: estilos isolados */
.ui-reserva {
  --reserva-azul: #1554B4;
  --reserva-escuro: #10376B;
  --reserva-turquesa: #00A6A6;
  --reserva-borda: #E2E8F0;
  color: #243247;
}

.ui-reserva .modal-dialog:not(.modal-sm) {
  max-width: 540px;
}

.ui-reserva .modal-content {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 20px 70px rgba(16, 55, 107, .17);
  overflow: hidden;
}

.ui-reserva .modal-header {
  padding: 22px 26px 15px;
  border-bottom: 1px solid #EDF1F6;
  align-items: center;
}

.ui-reserva .modal-title {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -.025em;
  color: var(--reserva-escuro);
}

.ui-reserva .modal-body {
  padding: 22px 26px;
}

.ui-reserva .ui-reserva-etapas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 9px;
}

.ui-reserva .ui-reserva-etapas span {
  height: 5px;
  border-radius: 50px;
  background: #E5EBF3;
}

.ui-reserva .ui-reserva-etapas .ativo {
  background: var(--reserva-azul);
}

.ui-reserva .ui-reserva-etapa-label {
  font-size: .78rem;
  font-weight: 600;
  color: #65758B;
  margin: 0 0 18px;
}

.ui-reserva .ui-reserva-titulo {
  font-size: 1.06rem;
  font-weight: 750;
  color: var(--reserva-escuro);
  margin: 0 0 7px;
}

.ui-reserva .text-muted {
  color: #65758B !important;
}

.ui-reserva .ui-reserva-pagamento {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: #F0F7FF;
  border: 1px solid #DCEAFF;
  border-radius: 13px;
}

.ui-reserva .ui-reserva-pagamento>i {
  font-size: 1.3rem;
  color: var(--reserva-azul);
}

.ui-reserva .ui-reserva-pagamento strong,
.ui-reserva .ui-reserva-pagamento span {
  display: block;
}

.ui-reserva .ui-reserva-pagamento strong {
  color: var(--reserva-escuro);
  font-size: .91rem;
}

.ui-reserva .ui-reserva-pagamento span {
  color: #586C84;
  font-size: .82rem;
  line-height: 1.5;
  margin-top: 2px;
}

.ui-reserva .ui-reserva-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .81rem;
  color: #53677F;
}

.ui-reserva .ui-reserva-badge i {
  color: #15956A;
}

.ui-reserva .form-label {
  font-size: .86rem;
  font-weight: 650;
  color: #273B55;
  margin-bottom: 7px;
}

.ui-reserva .form-control,
.ui-reserva .input-group-text {
  min-height: 48px;
  border-color: var(--reserva-borda);
}

.ui-reserva .form-control {
  border-radius: 10px;
  font-size: .95rem;
}

.ui-reserva .input-group-text {
  border-radius: 10px 0 0 10px;
  background: #F7F9FC;
  color: #71829A;
}

.ui-reserva .input-group .form-control {
  border-radius: 0 10px 10px 0;
}

.ui-reserva .form-control:focus {
  border-color: var(--reserva-azul);
  box-shadow: 0 0 0 3px rgba(21, 84, 180, .10);
}

.ui-reserva .form-text {
  color: #74849A;
  font-size: .78rem;
}

.ui-reserva .ui-reserva-alert {
  display: flex;
  gap: 10px;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: .83rem;
}

.ui-reserva .ui-reserva-alert i {
  font-size: 1.1rem;
}

.ui-reserva .ui-reserva-proxima {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid #E8EDF4;
  padding-top: 15px;
  color: #62748A;
  font-size: .82rem;
  line-height: 1.55;
}

.ui-reserva .ui-reserva-proxima i {
  color: var(--reserva-azul);
  font-size: 1rem;
}

.ui-reserva .ui-reserva-proxima strong {
  color: var(--reserva-escuro);
}

.ui-reserva .modal-footer {
  padding: 16px 26px;
  border-top: 1px solid #EDF1F6;
  background: #FFF;
  gap: 10px;
}

.ui-reserva .modal-footer .btn {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 11px;
  font-weight: 650;
}

.ui-reserva .ui-btn-brand {
  background: var(--reserva-azul);
  color: white;
  border: 1px solid var(--reserva-azul);
}

.ui-reserva .ui-btn-brand:hover,
.ui-reserva .ui-btn-brand:focus {
  background: var(--reserva-escuro);
  border-color: var(--reserva-escuro);
  color: #FFF;
}

.ui-reserva .ui-reserva-loader {
  color: var(--reserva-azul);
  font-size: 2rem;
}

@media(max-width:575.98px) {
  .ui-reserva .modal-dialog:not(.modal-sm) {
    margin: 10px;
    max-width: none;
  }

  .ui-reserva .modal-content {
    border-radius: 17px;
    max-height: calc(100dvh - 20px);
  }

  .ui-reserva .modal-header {
    padding: 19px 18px 14px;
  }

  .ui-reserva .modal-body {
    padding: 19px 18px;
  }

  .ui-reserva .modal-footer {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    position: relative;
    z-index: 2;
  }

  .ui-reserva .modal-footer .btn-outline-secondary {
    flex: 0 0 auto;
  }

  .ui-reserva .modal-footer .ui-btn-brand {
    flex: 1;
  }
}


.lc-periodo {
  max-width: 640px;
}

.lc-periodo .sb-field input {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.lc-periodo .sb-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink);
}

.lc-filtros {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.lc-filtros .chips-scroll {
  padding: .75rem 0;
}

.lc-sep {
  flex: 0 0 1px;
  background: var(--line);
  margin: .3rem .25rem;
}

.lc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lc-card .prop-media {
  aspect-ratio: 4 / 3;
}

.lc-card .prop-title a {
  color: var(--ink);
  text-decoration: none;
}

.lc-card .prop-title a:hover {
  color: var(--brand);
}

.lc-badge-desc {
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-amen {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .5rem 0 0;
}

.lc-amen span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: 999px;
  padding: .2rem .6rem;
}

.lc-tipos {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lc-tipo {
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}

.lc-tipo-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
}

.lc-tipo-nome {
  font-weight: 700;
  font-size: .9rem;
}

.lc-tipo-link {
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

.lc-tipo .prop-meta {
  font-size: .82rem;
}

.lc-pix {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.lc-escassez {
  display: inline-block;
  margin-top: .3rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--danger);
  background: #FFF1EA;
  border-radius: 6px;
  padding: .15rem .5rem;
}

.lc-card .lc-acoes {
  margin-top: auto;
  padding-top: .9rem;
}

.lc-vazio {
  display: none;
}

.site-header .user-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1;
}
.site-header .user-ola{
  font-size:.72rem;
  font-weight:600;
  color:var(--muted, #6b7280);
  margin-bottom:3px;
  white-space:nowrap;
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ---------- Perfil do cliente ---------- */
#formPerfil .input-group-text {
  background: var(--surface);
  color: var(--muted);
  border-color: #cfd3d8;
  border-radius: 10px 0 0 10px;
  min-width: 46px;
  justify-content: center;
}

#formPerfil .input-group .form-control {
  border-radius: 0 10px 10px 0;
}

#formPerfil .form-control:disabled {
  background: var(--surface);
  color: var(--muted);
}

#formPerfil .ui-reserva-titulo {
  color: var(--brand-600);
}

.pf-hist {
  position: relative;
  padding-left: 1.25rem;
}

.pf-hist::before {
  content: "";
  position: absolute;
  left: 5px;
  top: .4rem;
  bottom: .4rem;
  border-left: 2px solid var(--line);
}

.pf-hist-item {
  position: relative;
  padding: 0 0 1rem;
}

.pf-hist-item::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem + 1px);
  top: .35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.pf-hist-data {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .25rem;
}

.pf-hist-linha {
  font-size: .85rem;
  padding: .15rem 0;
}

.pf-hist-linha s {
  color: var(--muted);
}


.pc-select { max-width: 160px; }
.avatar-sm { width: 40px; height: 40px; }
.pc-modal .modal-content { border: 0; border-radius: var(--radius-lg); }