/* ---------- Booking section ("Agendamento") ---------- */
.booking {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, #eaf3ff 0%, var(--off-white) 55%);
  overflow: hidden;
}
.booking .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.booking-copy .lead {
  margin-top: 1.2rem;
  max-width: 34rem;
}
.booking-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.booking-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--muted);
}
.booking-points .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf3ff, #dbeafe);
  color: var(--blue-700);
}
.booking-note {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.booking-note svg { color: var(--orange-500); flex-shrink: 0; }

/* ---- Ticket (faithful to the original ticket design: paper stock,
   perforation, punch notches and rubber-stamp confirmation) ---- */
.ticket-stage {
  --tk-paper: #fbf3e4;
  --tk-ink: #1b2430;
  --tk-ink-soft: #5a6472;
  --tk-amber: #e2a63b;
  --tk-amber-ink: #8a5a12;
  --tk-sage: #6f9c7d;
  --tk-line: rgba(27, 36, 48, 0.14);
  --tk-notch: var(--off-white); /* matches this section's own background so the punch-holes blend in */
  display: flex;
  justify-content: center;
}

.ticket {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--tk-paper);
  color: var(--tk-ink);
  border-radius: 4px;
  padding: 30px 30px 26px;
  transform: rotate(-1.1deg);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease);
}
.ticket:focus-within { transform: rotate(0deg); }
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tk-notch);
  top: 50%;
  margin-top: -11px;
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tk-line);
}
.ticket-head .tt {
  font-family: "Fraunces", var(--font-display), serif;
  font-weight: 600;
  font-size: 19px;
}
.ticket-head .tt small {
  display: block;
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--tk-ink-soft);
  text-transform: uppercase;
  margin-top: 3px;
}
.ticket-no {
  font-family: "Space Mono", monospace;
  font-size: 12.5px;
  color: var(--tk-ink-soft);
  text-align: right;
}
.ticket-no b {
  display: block;
  color: var(--tk-ink);
  font-size: 14px;
}

.bk-field { margin-bottom: 16px; }
.bk-field label {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tk-ink-soft);
  margin-bottom: 6px;
}
.bk-field input,
.bk-field select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--tk-line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--tk-ink);
  padding: 6px 2px;
  outline: none;
  appearance: none;
  border-radius: 0;
}
.bk-field select { cursor: pointer; }
.bk-field input::placeholder { color: #b9ad96; }
.bk-field input:focus,
.bk-field select:focus { border-bottom-color: var(--tk-amber-ink); }
.bk-row2 { display: flex; gap: 16px; }
.bk-row2 .bk-field { flex: 1; }
.bk-hint-inline {
  font-size: 12px;
  color: var(--tk-ink-soft);
  margin-top: -10px;
  margin-bottom: 16px;
}
.bk-hint-inline.warn { color: var(--tk-amber-ink); font-weight: 600; }

.bk-divider {
  border-top: 1.5px dashed var(--tk-line);
  margin: 22px 0 20px;
}

.bk-stamp-zone { position: relative; height: 0; overflow: visible; }
.bk-stamp {
  position: absolute;
  right: 6px;
  top: -58px;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--tk-sage);
  border-radius: 50%;
  color: var(--tk-sage);
  transform: scale(1.4) rotate(-18deg);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s var(--ease);
  pointer-events: none;
}
.bk-stamp svg { width: 42px; height: 42px; }
.ticket.is-valid .bk-stamp { opacity: 0.92; transform: scale(1) rotate(-9deg); }

.bk-submit {
  width: 100%;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--tk-sage);
  color: #0f2416;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  box-shadow: none;
  transition: opacity 0.25s var(--ease), transform 0.15s var(--ease), filter 0.25s var(--ease);
}
.bk-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); }
.bk-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.ticket-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--tk-ink-soft);
  text-align: center;
}

@media (max-width: 900px) {
  .booking .container { grid-template-columns: 1fr; }
  .ticket-stage { width: 100%; }
}
@media (max-width: 520px) {
  .bk-row2 { flex-direction: column; gap: 0; }
  .ticket { padding: 26px 20px 22px; }
}
