/* Calendário inspirado no vidro escuro da referência enviada pelo anfitrião. */
.booking-shell {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  background: #343c33 url('assets/photos/sala-estar-04.jpg') center 48% / cover no-repeat;
  color: #f9f8f3;
  box-shadow: 0 10px 0 rgba(17, 24, 20, .35), 0 30px 55px rgba(5, 10, 7, .24);
  isolation: isolate;
  overflow: hidden;
}

.booking-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(20, 27, 23, .62), rgba(16, 20, 18, .76) 57%, rgba(31, 39, 32, .64));
  backdrop-filter: blur(8px) saturate(1.18);
  pointer-events: none;
}

.booking-content {
  position: relative;
  z-index: 1;
  padding: clamp(25px, 4vw, 47px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 23px;
  background: rgba(21, 28, 23, .27);
  backdrop-filter: blur(17px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(255, 255, 255, .06);
  color: #f8f7f1;
}

.booking-top .eyebrow.dark { color: #e9b49b; }
.booking-top h3 { color: #fff; font-weight: 600; }
.booking-top h3 em { color: #e9ae90; }
.booking-top p { color: rgba(247, 246, 237, .72); }
.booking-top .close-button {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .17), inset 0 1px rgba(255, 255, 255, .16);
}
.booking-top .close-button:hover { background: rgba(255, 255, 255, .23); }

.booking-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px rgba(255, 255, 255, .09), 0 6px 16px rgba(0, 0, 0, .1);
}
.booking-status::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #c6ae83;
  box-shadow: 0 0 12px #c6ae83;
}
.booking-status[data-state='ready']::before { background: #99cda9; box-shadow: 0 0 13px #82d79d; }
.booking-status[data-state='error']::before { background: #ed8d79; box-shadow: 0 0 12px #ed8d79; }

.booking-guests {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .29);
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px rgba(255, 255, 255, .17), 0 7px 18px rgba(0, 0, 0, .15);
  overflow: hidden;
}
.booking-guests[open] { background: rgba(24, 32, 27, .65); }
.booking-guests summary {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 67px;
  padding: 11px 18px;
  cursor: pointer;
  list-style: none;
  transition: background .2s;
}
.booking-guests summary::-webkit-details-marker { display: none; }
.booking-guests summary:hover { background: rgba(255, 255, 255, .1); }
.booking-guests summary:focus-visible { outline: 3px solid #e9b49b; outline-offset: -4px; }
.booking-guests summary svg { width: 34px; height: 34px; flex: none; color: #d7e8cb; }
.booking-guests summary > span:nth-of-type(1) { display: flex; flex-direction: column; gap: 3px; }
.booking-guests summary small { color: #dab29c; font-size: .61rem; font-weight: 700; letter-spacing: .16em; }
.booking-guests summary strong { color: #fff; font-size: .91rem; font-weight: 700; }
.booking-guests-chevron { margin-left: auto; color: #f5f3ed; font-size: 1.3rem; transition: transform .2s; }
.booking-guests[open] .booking-guests-chevron { transform: rotate(180deg); }
.booking-guests-panel { padding: 0 18px 17px; border-top: 1px solid rgba(255, 255, 255, .13); }
.booking-guest-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.booking-guest-row + .booking-guest-row { border-top: 1px solid rgba(255, 255, 255, .12); }
.booking-guest-row > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.booking-guest-row strong { color: #fff; font-size: .86rem; }
.booking-guest-row > div:first-child span { color: rgba(255, 255, 255, .62); font-size: .66rem; }
.booking-guest-stepper { display: flex; align-items: center; gap: 9px; flex: none; }
.booking-guest-stepper button {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.booking-guest-stepper button:not(:disabled):hover {
  transform: translateY(-3px);
  background: rgba(184, 220, 187, .28);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .2);
}
.booking-guest-stepper button:disabled { opacity: .32; cursor: default; box-shadow: none; }
.booking-guest-stepper output { min-width: 21px; color: #fff; font-size: .92rem; font-weight: 700; text-align: center; }
.booking-guests-panel > p { margin-top: 6px; color: rgba(255, 255, 255, .65); font-size: .67rem; line-height: 1.5; }

.booking-nav { margin-top: 22px; }
.booking-nav button {
  border-color: rgba(255, 255, 255, .31);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .14);
}
.booking-nav button:not(:disabled):hover {
  background: rgba(255, 255, 255, .21);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .19), 0 12px 24px rgba(0, 0, 0, .17);
}
.booking-nav > div { color: #f8f6ee; letter-spacing: .02em; }
.booking-months { gap: 26px; margin-top: 21px; }
.booking-month h3 { margin-bottom: 13px; color: #f7f5ee; font-size: .97rem; }
.booking-grid { gap: 4px; }
.booking-weekday { color: rgba(255, 255, 255, .67); font-size: .66rem; }
.booking-blank { height: 38px; }

.booking-day {
  position: relative;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #f8f7ef;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 3px 7px rgba(0, 0, 0, .12);
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.booking-day:not(.is-busy):not(.is-past)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 3px;
  background: #a8d5b1;
  box-shadow: 0 0 8px rgba(159, 223, 178, .52);
  transform: translateX(-50%);
}
.booking-day:not(:disabled):hover {
  transform: translateY(-4px) scale(1.045);
  border-color: rgba(181, 226, 193, .68);
  background: rgba(139, 184, 151, .32);
  box-shadow: 0 6px 0 rgba(8, 21, 13, .36), 0 13px 24px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .25);
}
.booking-day.is-busy {
  border-color: rgba(239, 166, 140, .15);
  background: rgba(181, 96, 70, .28);
  color: #e7b3a3;
  text-decoration-color: rgba(246, 185, 164, .72);
}
.booking-day.is-past { border-color: transparent; background: rgba(255, 255, 255, .025); color: rgba(255, 255, 255, .35); box-shadow: none; }
.booking-day.is-range { border-color: rgba(236, 177, 151, .25); border-radius: 8px; background: rgba(185, 91, 62, .38); color: #fff; }
.booking-day.is-endpoint {
  border-color: rgba(255, 224, 205, .58);
  background: linear-gradient(145deg, #e29977, #b65e43);
  color: #fff;
  box-shadow: 0 5px 0 #763926, 0 10px 20px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .4);
  text-decoration: none;
}
.booking-day.is-endpoint:not(:disabled):hover {
  background: linear-gradient(145deg, #e8a687, #ba6549);
  border-color: rgba(255, 224, 205, .78);
  box-shadow: 0 8px 0 #763926, 0 15px 25px rgba(0, 0, 0, .31), inset 0 1px rgba(255, 255, 255, .48);
}
.booking-day.is-endpoint::after { background: #fff !important; box-shadow: 0 0 8px #fff !important; }
.booking-day:focus-visible, .booking-nav button:focus-visible, .booking-shell button:focus-visible { outline-color: #e9b49b; }

.booking-legend { border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .76); }
.booking-legend i { box-shadow: inset 0 1px rgba(255, 255, 255, .2); }
.booking-legend .legend-free { background: #9ac5a5; }
.booking-legend .legend-busy { background: #b57361; }
.booking-legend .legend-selected { background: #d78161; }
.booking-selection > div {
  border-color: rgba(255, 255, 255, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 7px 16px rgba(0, 0, 0, .13);
}
.booking-selection span { color: rgba(255, 255, 255, .59); }
.booking-selection strong { color: #fff; }
.booking-selection > button { color: #f2bea8; }
.booking-selection > button:hover { color: #fff; }
.booking-actions .button { box-shadow: 0 6px 0 #743822, 0 13px 23px rgba(0, 0, 0, .26); }
.booking-actions .button:hover { box-shadow: 0 11px 0 #743822, 0 20px 31px rgba(0, 0, 0, .32); }
.booking-actions p { color: rgba(255, 255, 255, .67); }

@media (max-width: 900px) {
  .booking-content { padding: 30px; }
}
@media (max-width: 700px) {
  .booking-content { padding: 24px 20px 27px; }
  .booking-top h3 { font-size: clamp(2.15rem, 8vw, 2.55rem); }
  .booking-months { grid-template-columns: 1fr; gap: 0; }
  .booking-month-2 { display: none; }
  .booking-day { height: 43px; font-size: .86rem; }
  .booking-blank { height: 43px; }
  .booking-actions .button { width: 100%; }
  .booking-guests summary { min-height: 62px; padding-inline: 13px; }
  .booking-guests-panel { padding-inline: 13px; }
}
@media (max-width: 400px) {
  .booking-content { padding-inline: 14px; }
  .booking-grid { gap: 3px; }
  .booking-day { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-day { transition: none; }
}

/* Reserva integrada à página. */
.reservation-panel {
  display: grid;
  grid-template-columns: minmax(225px, .36fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 88px;
  padding: clamp(28px, 4.3vw, 58px);
  background: #747d68;
  color: #fff;
  scroll-margin-top: 24px;
}

.reservation-intro {
  position: sticky;
  top: 32px;
  padding-top: clamp(8px, 3vw, 34px);
}

.reservation-intro .eyebrow { color: #e8eee1; }
.reservation-intro h2 {
  max-width: 390px;
  margin-top: 25px;
  font-size: clamp(2.15rem, 3.2vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.13;
}
.reservation-intro h2 em { color: #f4d0bd; }
.reservation-intro p {
  max-width: 360px;
  margin-top: 25px;
  color: #e9eee4;
  font-size: .93rem;
}
.reservation-intro-facts {
  display: block;
  margin-top: 33px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.35);
  color: #f2f3ec;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.5;
}
.reservation-intro-facts span { padding-inline: 5px; }

.reservation-panel .booking-content { padding: clamp(24px, 3vw, 42px); }
.reservation-panel .booking-top h3 { font-size: clamp(2.15rem, 3vw, 3.2rem); }
.reservation-panel .booking-months { gap: clamp(12px, 2vw, 26px); }
.reservation-panel .booking-day { height: 38px; }
.reservation-panel .booking-blank { height: 38px; }
.reservation-panel .booking-actions { align-items: flex-start; }

@media (max-width: 1100px) {
  .reservation-panel { grid-template-columns: 1fr; }
  .reservation-intro { position: static; padding-top: 0; }
  .reservation-intro h2 { max-width: 650px; margin-top: 14px; }
  .reservation-intro p { max-width: 650px; margin-top: 14px; }
  .reservation-intro-facts { margin-top: 18px; padding-top: 13px; }
}

@media (max-width: 700px) {
  .reservation-panel { gap: 27px; margin-top: 55px; padding: 22px 14px 28px; }
  .reservation-intro { padding-inline: 5px; }
  .reservation-intro h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .reservation-panel .booking-content { padding: 24px 16px 29px; }
  .reservation-panel .booking-day { height: 43px; }
  .reservation-panel .booking-blank { height: 43px; }
}

@media (max-width: 400px) {
  .reservation-panel { padding-inline: 10px; }
  .reservation-panel .booking-content { padding-inline: 12px; }
  .reservation-panel .booking-day { height: 40px; }
}
