/* =========================================================
   Vila do Mar — 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;
}

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;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-600);
  --bs-btn-hover-border-color: var(--brand-600);
  --bs-btn-active-bg: var(--brand-600);
  --bs-btn-active-border-color: var(--brand-600);
  --bs-btn-disabled-bg: #9ab9b5;
  --bs-btn-disabled-border-color: #9ab9b5;
}

.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%;
}

.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;
}

.search-bar .dropdown-menu {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  margin-top: 12px !important;
}

.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-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;
    }
}
