/* Fluxo de agendamento mobile — inspirado em apps de beleza/saúde */

:root {
  --book-bg: #0a0a0a;
  --book-surface: #141414;
  --book-text: #f5f5f5;
  --book-muted: #a3a3a3;
  --book-border: rgba(212, 175, 55, .22);
  --book-primary: #d4af37;
  --book-primary-dark: #b8962e;
  --book-accent: #f0d78c;
  --book-rose: #c9a227;
  --book-champagne: #1a1508;
  --book-slot-bg: #1a1508;
  --book-slot-text: #f0d78c;
  --book-radius: 20px;
  --book-sheet-radius: 24px 24px 0 0;
  --book-font: "Montserrat", "Inter", sans-serif;
  --book-ease: cubic-bezier(.32, .72, 0, 1);
  --book-ease-out: cubic-bezier(.22, 1, .36, 1);
}

.booking-app {
  background: var(--book-bg);
  color: var(--book-text);
  min-height: 100dvh;
  font-family: var(--book-font);
  -webkit-tap-highlight-color: transparent;
}

.booking-app .demo-bar {
  font-size: .78rem;
  padding: .45rem .8rem;
  background: linear-gradient(90deg, #0a0a0a, #1a1508);
  color: #f0d78c;
  border-bottom: 1px solid rgba(212, 175, 55, .35);
}

.booking-app .demo-bar strong { color: #d4af37; }
.booking-app .demo-dot { background: #d4af37; }

.booking-messages {
  position: fixed;
  top: .75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  width: min(92vw, 420px);
}

.booking-messages .flash {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* ===== Hero (landing) — champagne + rose gold da marca ===== */
.book-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0));
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(212, 175, 55, .22), transparent 58%),
    radial-gradient(ellipse 90% 55% at 100% 100%, rgba(212, 175, 55, .12), transparent 60%),
    radial-gradient(ellipse 80% 50% at 0% 85%, rgba(240, 215, 140, .1), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #101010 48%, #0a0a0a 100%);
  color: var(--book-text);
}

.book-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .55;
}

.book-hero-glow--1 {
  top: -60px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 175, 55, .28), transparent 70%);
}

.book-hero-glow--2 {
  bottom: -80px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, .2), transparent 70%);
}

.book-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  animation: bookSlideUp .7s var(--book-ease-out) both;
}

.book-hero-logo {
  width: min(270px, 80vw);
  display: block;
  margin-bottom: .2rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .5));
  animation: bookPop .6s var(--book-ease-out) .1s both;
}

.book-hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  object-fit: contain;
}

.book-hero-name {
  font-family: var(--book-font);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f0d78c;
  line-height: 1.2;
}

.book-hero-tagline {
  color: #d4af37;
  font-family: var(--book-font);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: .35rem;
  max-width: 30ch;
}

.book-hero-headline {
  font-family: var(--book-font);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #5c3238;
  margin-top: 1.8rem;
  line-height: 1.35;
  max-width: 22ch;
}

.book-hero-headline em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.book-hero-sub {
  color: #a3a3a3;
  font-family: var(--book-font);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.5;
  margin: .7rem 0 1.8rem;
  max-width: 30ch;
}

.book-cta--light {
  background: linear-gradient(135deg, #f0d78c 0%, #d4af37 48%, #8a7022 100%);
  color: #0a0a0a !important;
  box-shadow: 0 14px 30px rgba(212, 175, 55, .28);
}

.book-cta--light:active {
  background: linear-gradient(135deg, #c9a227 0%, #8a7022 100%);
}

.book-hero-link {
  margin-top: 1rem;
  color: #b8962e;
  font-family: var(--book-font);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .5rem;
}

.book-hero-social {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 2.5rem;
  color: #d4af37;
  animation: bookFadeIn .6s var(--book-ease-out) .5s both;
}

.book-hero-social a,
.book-hero-pin {
  display: grid;
  place-items: center;
  transition: color .2s, transform .2s;
}

.book-hero-social a:active {
  color: #b8962e;
  transform: scale(1.1);
}

/* ===== Páginas do fluxo ===== */
.book-page {
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0));
  animation: bookPageIn .4s var(--book-ease-out) both;
}

.book-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 .5rem;
  position: sticky;
  top: 0;
  background: var(--book-bg);
  z-index: 10;
}

.book-page-back {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--book-surface);
  color: var(--book-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
  transition: transform .15s var(--book-ease), background .15s;
}

.book-page-back:active {
  transform: scale(.92);
  background: #eee;
}

.book-page-logo {
  width: auto;
  height: 48px;
  max-width: 150px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.book-page-head-spacer {
  width: 42px;
}

.book-steps {
  list-style: none;
  display: flex;
  gap: .4rem;
  justify-content: center;
  padding: .5rem 0 0;
  margin: 0;
}

.book-steps li {
  width: 26px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .1);
  transition: background .3s;
}

.book-steps li.is-done {
  background: var(--book-primary);
}

.book-steps li.is-active {
  background: var(--book-accent);
}

.book-page-title {
  font-family: var(--book-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--book-text);
  margin: 1.1rem 0 .4rem;
}

.book-page-hint {
  color: var(--book-muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}

.book-page-body {
  flex: 1;
}

.book-page-foot {
  position: sticky;
  bottom: 0;
  padding: 1rem 0 .5rem;
  background: linear-gradient(to top, var(--book-bg) 70%, transparent);
}

.book-page-foot .book-confirm {
  width: 100%;
  margin: 0;
}

.book-service-duration {
  display: inline-block;
  margin-top: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--book-primary);
  background: rgba(154, 98, 102, .1);
  padding: .15rem .55rem;
  border-radius: 999px;
}

.book-pro-role {
  font-size: .72rem;
  color: var(--book-muted);
  text-align: center;
}

@keyframes bookPageIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bookPop {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}

/* Toggle Plano de Saúde */
.book-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: #f2f6f3;
  border: 1px solid var(--book-border);
  border-radius: 14px;
}

.book-toggle-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--book-text);
}

.book-toggle-text small {
  display: block;
  font-size: .78rem;
  color: var(--book-muted);
  margin-top: .15rem;
}

.book-switch {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 30px;
  cursor: pointer;
}

.book-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.book-switch-track {
  position: absolute;
  inset: 0;
  background: #cdd6d0;
  border-radius: 999px;
  transition: background .25s var(--book-ease);
}

.book-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .25s var(--book-ease);
}

.book-switch input:checked ~ .book-switch-track {
  background: var(--book-primary);
}

.book-switch input:checked ~ .book-switch-track .book-switch-thumb {
  transform: translateX(22px);
}

.book-switch input:focus-visible ~ .book-switch-track {
  outline: 2px solid var(--book-primary);
  outline-offset: 2px;
}

.book-plan-fields {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: .25rem 0;
  animation: bookSlideUp .3s var(--book-ease-out) both;
}

.book-plan-fields[hidden] {
  display: none;
}

.book-select-wrap {
  position: relative;
}

.book-select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--book-muted);
  border-bottom: 2px solid var(--book-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.book-select {
  width: 100%;
  padding: .9rem 2.6rem .9rem 1rem;
  border: 1px solid var(--book-border);
  border-radius: 14px;
  background: #f9f7f4;
  font: inherit;
  font-size: 1rem;
  color: var(--book-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.book-select:focus {
  outline: none;
  border-color: var(--book-primary);
  box-shadow: 0 0 0 3px rgba(154, 98, 102, .2);
}

/* Landing */
.book-app {
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
}

.book-landing {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0);
  animation: bookFadeIn .55s var(--book-ease-out) both;
}

.book-landing-hero {
  position: relative;
  margin: 0 1rem;
  padding-top: .5rem;
}

.book-landing-photo {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--book-radius);
  background: linear-gradient(145deg, #e8ddd6, #f5ebe3);
}

.book-landing-photo--placeholder {
  background:
    radial-gradient(circle at 50% 35%, rgba(189, 143, 140, .14), transparent 60%),
    linear-gradient(145deg, #f3e6e3 0%, #f8f2f0 55%, #ecdcd8 100%);
}

.book-landing-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.4rem;
  margin: 0 auto;
  width: max-content;
  max-width: 88%;
  background: var(--book-surface);
  border-radius: 999px;
  padding: .55rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
  animation: bookSlideUp .6s var(--book-ease-out) .15s both;
}

.book-landing-badge-text {
  min-width: 0;
  text-align: center;
}

.book-landing-badge--logo-only {
  width: 84px;
  height: 84px;
  max-width: none;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

.book-landing-badge--logo-only .book-landing-logo {
  width: 56px;
  height: 56px;
}

.book-landing-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.book-landing-badge strong {
  display: block;
  font-family: var(--book-font);
  font-size: .92rem;
  line-height: 1.2;
  color: var(--book-text);
}

.book-landing-badge span {
  display: block;
  font-size: .72rem;
  color: var(--book-muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-landing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.6rem 1.5rem 1rem;
  animation: bookSlideUp .65s var(--book-ease-out) .25s both;
}

.book-landing-body h1 {
  font-family: var(--book-font);
  font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: #3d3d3d;
  margin-bottom: .65rem;
}

.book-landing-body h1 em {
  font-style: normal;
  font-weight: 700;
  position: relative;
}

.book-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--book-accent);
  margin-left: 2px;
  vertical-align: super;
  animation: bookPulse 2s ease-in-out infinite;
}

.book-landing-body p {
  color: var(--book-muted);
  font-size: .95rem;
  max-width: 28ch;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.book-cta,
a.book-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d78c 0%, #d4af37 48%, #8a7022 100%);
  color: #0a0a0a !important;
  font: inherit;
  font-family: var(--book-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(212, 175, 55, .28);
  transition: transform .2s var(--book-ease), background .2s, box-shadow .2s;
  text-decoration: none;
}

.book-cta:active,
a.book-cta:active {
  transform: scale(.97);
  background: var(--book-primary-dark);
}

.book-ghost-link {
  margin-top: 1rem;
  color: var(--book-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem;
}

.book-landing-social {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  padding: 1.2rem 1rem 1.6rem;
  color: #b0b0b0;
  animation: bookFadeIn .5s var(--book-ease-out) .4s both;
}

.book-landing-social a,
.book-landing-pin {
  display: grid;
  place-items: center;
  transition: color .2s, transform .2s;
}

.book-landing-social a:active {
  color: var(--book-primary);
  transform: scale(1.08);
}

/* Overlay + sheet */
.book-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 20, 20, .35);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--book-ease), visibility .35s;
}

.book-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.book-overlay[hidden] {
  display: flex !important;
}

.book-sheet {
  width: 100%;
  max-width: 480px;
  max-height: min(94dvh, 820px);
  background: var(--book-surface);
  border-radius: var(--book-sheet-radius);
  display: flex;
  flex-direction: column;
  transform: translateY(105%);
  transition: transform .45s var(--book-ease);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .12);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.book-overlay.is-open .book-sheet {
  transform: translateY(0);
}

.book-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem .6rem;
  flex-shrink: 0;
}

.book-sheet-title {
  font-family: var(--book-font);
  font-size: 1.15rem;
  font-weight: 600;
}

.book-sheet-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--book-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}

.book-sheet-close:active {
  background: rgba(0, 0, 0, .06);
}

.book-sheet-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 1.25rem 1rem;
}

.book-step {
  animation: bookStepIn .38s var(--book-ease-out) both;
}

.book-step[hidden] {
  display: none !important;
}

.book-step.is-back {
  animation: bookStepBack .32s var(--book-ease-out) both;
}

/* Lista de serviços */
.book-service-list {
  list-style: none;
}

.book-service-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--book-border);
  cursor: pointer;
  transition: background .15s;
  border-radius: 12px;
  margin: 0 -.5rem;
  padding-left: .5rem;
  padding-right: .5rem;
}

.book-service-item:active {
  background: rgba(212, 132, 122, .08);
}

.book-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 132, 122, .12);
  display: grid;
  place-items: center;
  color: var(--book-primary);
  flex-shrink: 0;
}

.book-service-info h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .25rem;
  line-height: 1.3;
}

.book-service-info p {
  font-size: .82rem;
  color: var(--book-muted);
  line-height: 1.45;
}

.book-service-price {
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  padding-top: .15rem;
}

/* Profissionais */
.book-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem .5rem;
  padding: .5rem 0 1rem;
}

.book-pro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem .35rem;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--book-ease);
}

.book-pro-card:active,
.book-pro-card.is-selected {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(212, 132, 122, .35);
  transform: scale(.98);
}

.book-pro-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #e8ddd6, #d4c4bc);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b5348;
}

.book-pro-name {
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: #444;
}

/* Calendário */
.book-calendar {
  padding: .25rem 0 1rem;
}

.book-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.book-cal-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--book-text);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
}

.book-cal-btn:active {
  background: rgba(0, 0, 0, .06);
}

.book-cal-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.book-cal-label {
  font-weight: 600;
  font-size: 1rem;
  text-transform: capitalize;
}

.book-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .68rem;
  font-weight: 600;
  color: var(--book-muted);
  margin-bottom: .5rem;
}

.book-cal-weekdays .is-weekend {
  color: #aaa;
}

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

.book-cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border: none;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  color: var(--book-text);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s, transform .15s var(--book-ease);
}

.book-cal-cell.is-weekend {
  background: rgba(0, 0, 0, .025);
}

.book-cal-cell.is-muted {
  color: #ccc;
  pointer-events: none;
}

.book-cal-cell.is-past {
  color: #d8d8d8;
  pointer-events: none;
}

.book-cal-cell.has-slots::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: #4caf50;
}

.book-cal-cell.is-selected {
  background: var(--book-primary);
  color: #fff;
  font-weight: 700;
}

.book-cal-cell:not(.is-past):not(.is-muted):active {
  transform: scale(.92);
}

/* Horários */
.book-slots-wrap {
  animation: bookSlideUp .35s var(--book-ease-out) both;
  padding-top: .5rem;
  border-top: 1px solid var(--book-border);
  margin-top: .5rem;
}

.book-slots-title {
  font-size: .95rem;
  font-weight: 600;
  margin: .75rem 0 1rem;
  color: #555;
}

.book-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  padding-bottom: .5rem;
}

.book-slot-btn {
  padding: .65rem .25rem;
  border: none;
  border-radius: 999px;
  background: var(--book-slot-bg);
  color: var(--book-slot-text);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s var(--book-ease), box-shadow .15s;
}

.book-slot-btn:active,
.book-slot-btn.is-selected {
  background: #c8e6c9;
  transform: scale(.96);
  box-shadow: inset 0 0 0 2px #4caf50;
}

/* Resumo + formulário */
.book-summary {
  background: #f7f5f2;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
}

.book-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
}

.book-summary-row span {
  color: var(--book-muted);
}

.book-summary-row strong {
  text-align: right;
  font-weight: 600;
}

.book-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.book-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--book-muted);
  margin-bottom: .35rem;
}

.book-optional {
  font-weight: 400;
}

.book-field input,
.book-field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid var(--book-border);
  border-radius: 14px;
  background: #f9f7f4;
  font: inherit;
  font-size: 1rem;
  color: var(--book-text);
  transition: border-color .2s, box-shadow .2s;
}

.book-field textarea { resize: vertical; min-height: 88px; }

.book-field input:focus,
.book-field textarea:focus {
  outline: none;
  border-color: var(--book-primary);
  box-shadow: 0 0 0 3px rgba(154, 98, 102, .18);
}

.book-consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--book-muted);
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}
.book-consent input { margin-top: .2rem; accent-color: var(--book-primary); }
.book-guidance {
  width: 100%;
  max-width: 360px;
  padding: 1rem;
  border-radius: 14px;
  background: #f4e9e7;
  color: #5f4749;
  text-align: left;
  font-size: .86rem;
}
.book-guidance strong { color: var(--book-primary-dark); }
.book-manage-page { padding-top: 1.5rem; }
.book-manage-actions { display: grid; gap: .75rem; margin-top: 1rem; }
.book-manage-actions .book-confirm { width: 100%; margin: 0; }
.book-danger {
  padding: .85rem 1rem;
  border: 1px solid #b42318;
  border-radius: 999px;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Rodapé do sheet */
.book-sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem 1.1rem;
  border-top: 1px solid var(--book-border);
  flex-shrink: 0;
  gap: 1rem;
}

.book-back {
  border: none;
  background: transparent;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--book-muted);
  cursor: pointer;
  padding: .5rem;
}

.book-confirm {
  margin-left: auto;
  padding: .85rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: var(--book-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 132, 122, .4);
  transition: transform .15s var(--book-ease), background .15s;
}

.book-confirm:active {
  transform: scale(.97);
  background: var(--book-primary-dark);
}

/* Home mobile landing */
.home-mobile-landing {
  display: none;
  color: var(--book-text);
}

.home-mobile-landing .book-app,
.home-mobile-landing .book-landing,
.home-mobile-landing .book-landing-body,
.home-mobile-landing .book-landing-body h1,
.home-mobile-landing .book-landing-body p {
  color: var(--book-text);
}

.home-mobile-landing .book-landing-body p {
  color: var(--book-muted);
}

.home-mobile-landing a:not(.book-cta) {
  color: var(--book-muted);
}

@media (max-width: 768px) {
  .home-mobile-landing {
    display: block;
  }

  .home-desktop-only {
    display: none !important;
  }

  body:not(.booking-app) {
    background: var(--book-bg);
    color: var(--book-text);
  }

  body:not(.booking-app) .site-header,
  body:not(.booking-app) .bg-grid,
  body:not(.booking-app) .bg-glow {
    display: none;
  }

  body:not(.booking-app) .site-footer {
    background: #faf8f5;
    border-top-color: rgba(0, 0, 0, .06);
    color: #555;
  }

  body:not(.booking-app) .site-footer .footer-brand,
  body:not(.booking-app) .site-footer strong {
    color: #333;
  }

  body:not(.booking-app) .site-footer p,
  body:not(.booking-app) .footer-copy {
    color: #888;
  }

  body:not(.booking-app) .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }
}

@media (min-width: 481px) {
  .book-overlay {
    align-items: center;
    padding: 1rem;
  }

  .book-sheet {
    border-radius: var(--book-radius);
    max-height: min(88dvh, 780px);
  }

  .book-slots-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 769px) {
  .book-app {
    padding: 2rem 0;
  }

  .book-landing {
    min-height: auto;
    background: var(--book-surface);
    border-radius: var(--book-radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
    overflow: hidden;
  }

  .book-landing-hero {
    margin: 0;
  }

  .book-landing-photo {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-landing,
  .book-landing-badge,
  .book-landing-body,
  .book-landing-social,
  .book-step,
  .book-sheet,
  .book-overlay {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

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

@keyframes bookSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookStepIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bookStepBack {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bookPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.book-success-page .book-landing-body h1 {
  font-weight: 700;
}

.book-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #edf7ee;
  border: 2px solid #4caf50;
  color: #2d6a3e;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto;
  animation: bookSlideUp .5s var(--book-ease-out) both;
}

.book-empty,
.book-loading {
  color: var(--book-muted);
  text-align: center;
  padding: 1.5rem 0;
  font-size: .9rem;
  grid-column: 1 / -1;
}
