@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --paper: #fffdf8;
  --ink: #12385f;
  --muted: #4d657b;
  --mist: #edf3f7;
  --line: #d6e2ec;
  --line-strong: #8199ad;
  --focus: #1763a0;
  --foil: #e9eedc;
  --red: #526735;
  --error-text: #8b261a;
  --error-surface: #fcebe7;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

.frame { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.booking-header { background: white; border-bottom: 1px solid var(--line); }
.booking-header-inner, .booking-footer-inner, .booking-header nav, .booking-footer nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
}
.booking-header-inner, .booking-footer-inner { justify-content: space-between; padding-block: .85rem; }
.booking-wordmark {
  display: inline-flex; align-items: center; gap: .75rem; line-height: 1.2; text-decoration: none;
}
.booking-wordmark img { object-fit: contain; }
.booking-wordmark strong { font: 700 1.65rem/1 var(--serif); display: block; }
.booking-wordmark small { display: block; margin-top: .25rem; color: var(--muted); }
.booking-header nav, .booking-footer { font-size: .94rem; }
.booking-footer { background: var(--mist); border-top: 1px solid var(--line); }
.booking-header nav a:last-child { font-weight: 800; white-space: nowrap; }

/* Carry the marketing site's light background and service photography into booking. */
.riverview-booking :is(.booking-native-hero, .booking-v3-hero) {
  --booking-hero-image: url("/assets/web/sala-de-estar-moderna-e-iluminada.webp");
  background:
    linear-gradient(90deg, rgb(255 253 248 / 96%) 0%, rgb(255 253 248 / 90%) 42%, rgb(255 253 248 / 75%) 58%, rgb(255 253 248 / 14%) 83%, rgb(255 253 248 / 5%) 100%),
    var(--booking-hero-image) center 52% / cover no-repeat #fffdf8;
  color: var(--ink);
  border-bottom: 4px solid #7a8f57;
  font-family: var(--sans);
  padding-block: clamp(2.5rem, 4vw, 4.15rem);
}

.riverview-booking .booking-v3-hero[data-service="commercial"] {
  --booking-hero-image: url("/assets/web/escritorio-moderno-e-minimalista-iluminado-por-luz-natural.webp");
}

.riverview-booking .booking-v3-hero[data-service="turnover"] {
  --booking-hero-image: url("/assets/web/quarto-contemporaneo-iluminado-e-sereno.webp");
}

.riverview-booking :is(.booking-native-hero, .booking-v3-hero) h1 {
  color: var(--ink);
  font: 700 clamp(2.9rem, 6.2vw, 5.3rem)/.96 var(--serif);
  margin-block: .5rem 1rem;
  text-wrap: balance;
}
.riverview-booking :is(.booking-native-hero, .booking-v3-hero) :is(.eyebrow, em, .operator-note) { color: #526635; }
.riverview-booking :is(.booking-native-hero, .booking-v3-hero) .frame > * { max-width: min(690px, 59%); }

@media (max-width: 750px) {
  .riverview-booking :is(.booking-native-hero, .booking-v3-hero) {
    background:
      linear-gradient(180deg, rgb(255 253 248 / 96%) 0%, rgb(255 253 248 / 88%) 58%, rgb(255 253 248 / 32%) 83%, rgb(255 253 248 / 5%) 100%),
      var(--booking-hero-image) center 52% / cover no-repeat #fffdf8;
    padding-block: 2rem clamp(5rem, 20vw, 8rem);
  }

  .riverview-booking :is(.booking-native-hero, .booking-v3-hero) .frame > * { max-width: 100%; }
}

.riverview-booking .booking-form-native h2,
.riverview-booking .booking-summary-native h2,
.riverview-booking .commercial-contact h2 { font: 700 clamp(1.9rem, 4.5vw, 2.6rem)/1.08 var(--serif); }
.riverview-booking :is(.booking-form-native, .booking-summary-native) { border-radius: 16px; }
.riverview-booking .booking-summary-native { border-top: 4px solid #7a8f57; }
.riverview-booking .booking-native-section { padding-block: 2rem 4rem; }
.riverview-booking .booking-terms, .riverview-booking .commercial-contact { max-width: 840px; }
.riverview-booking .booking-loading, .riverview-booking .booking-success { padding: 1.5rem; }
.riverview-booking .booking-progress { flex-wrap: wrap; }
.riverview-booking .booking-progress button { min-height: 44px; }
.riverview-booking .button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--ink);
  border-radius: 999px; background: var(--ink); color: white;
  text-decoration: none; text-align: center; font-weight: 750;
}
.riverview-booking .button:not(:disabled):hover { background: #0a2745; color: white; }
.riverview-booking :is(.button-secondary, .button-plain) { background: white; color: var(--ink); }
.riverview-booking .field :is(input, select) { min-height: 48px; }

@media (max-width: 470px) {
  .riverview-booking .form-grid, .riverview-booking .frequency-options { grid-template-columns: minmax(0, 1fr); }
  .riverview-booking .booking-navigation .button { flex: 1 1 auto; }
}
