/* ==========================================================
   Anim'all Pet — Agendamento de Banho e Tosa
   Design Fiel às Imagens de Referência: Apple-Grade & Fluido
   ========================================================== */

:root {
  --color-brand-blue: #0E5EAB;
  --color-brand-blue-hover: #094987;
  --color-brand-blue-light: #EBF3FC;
  --color-brand-orange: #FF7A00;
  --color-text-primary: #0F172A;
  --color-text-secondary: #71717A;
  --color-text-muted: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-subtle: #F1F1F5;
  --color-bg-page: #F8FAFC;
  --color-bg-card: #FFFFFF;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-card-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-card-elevated: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--color-bg-page);
}

/* ==========================================================
   BARRA DE ROLAGEM LATERAL MODERNA & ELEGANTE (Apple-Grade)
   ========================================================== */
html, body {
  scrollbar-width: thin;
  scrollbar-color: #0E5EAB #F8FAFC;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-left: 1px solid rgba(14, 94, 171, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0E5EAB 0%, #094987 100%);
  border-radius: 999px;
  border: 2px solid #F8FAFC;
  background-clip: padding-box;
  transition: background 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FF7A00 0%, #E8630C 100%);
  border: 2px solid #F8FAFC;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
  background: #E8630C;
  border: 2px solid #F8FAFC;
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body.booking-app-body {
  font-family: var(--font-apple);
  color: var(--color-text-primary);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background-color: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   SHELL DO APP MOBILE / DESKTOP (Centralizado & Fluido)
   ========================================================== */
.booking-mobile-container {
  width: 100%;
  max-width: 440px;
  background-color: #FFFFFF;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 32px rgba(15, 23, 42, 0.05);
}

@media (min-width: 441px) {
  .booking-mobile-container {
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }
}

/* ==========================================================
   HEADER SUPERIOR (App Bar)
   ========================================================== */
.app-top-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 58px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.app-bar-back-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.14s var(--ease-out), background-color 0.16s ease;
}

.app-bar-back-btn:hover {
  background: #F1F5F9;
}

.app-bar-back-btn:active {
  transform: scale(0.92);
}

.app-bar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.app-bar-action {
  width: 60px;
  display: flex;
  justify-content: flex-end;
}

.app-bar-cancel-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  cursor: pointer;
  transition: transform 0.14s var(--ease-out), opacity 0.16s ease;
  padding: 4px;
}

.app-bar-cancel-btn:hover {
  opacity: 0.75;
}

.app-bar-cancel-btn:active {
  transform: scale(0.96);
}

/* ==========================================================
   CONTEÚDO PRINCIPAL (Canvas com Rolagem)
   ========================================================== */
.app-content-body {
  flex: 1;
  padding: 24px 20px 120px; /* 120px dá espaço para a barra fixa no rodapé */
  overflow-y: auto;
}

.booking-step {
  display: none;
}

.booking-step.is-active {
  display: block;
  animation: appStepFadeIn 0.28s var(--ease-apple) forwards;
}

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

/* Cabeçalho da Etapa */
.step-header-block {
  margin-bottom: 22px;
}

.step-eyebrow {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.step-divider-line {
  height: 1px;
  background: var(--color-border-subtle);
  margin: 24px 0 20px;
}

/* ==========================================================
   ETAPA 1: IDENTIFICAÇÃO DO TUTOR (Nome e WhatsApp)
   ========================================================== */
.tutor-intro-card {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1px solid #BAE6FD;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.tutor-intro-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #03285C;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(3, 40, 92, 0.25);
}

.tutor-intro-content {
  flex: 1;
}

.tutor-intro-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #03285C;
  margin-bottom: 4px;
}

.tutor-intro-desc {
  font-size: 0.86rem;
  color: #0369A1;
  line-height: 1.45;
}

.auto-save-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
  margin-top: 16px;
}

.auto-save-pill svg {
  flex-shrink: 0;
  color: #10B981;
  margin-top: 2px;
}

.tutor-active-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  padding: 10px 16px;
  margin-bottom: 18px;
  gap: 10px;
}

.tutor-chip-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: #166534;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-change-tutor {
  background: #FFFFFF;
  border: 1px solid #86EFAC;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #15803D;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.btn-change-tutor:hover {
  background: #DCFCE7;
}

.pets-empty-box {
  text-align: center;
  padding: 32px 16px;
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: 20px;
  margin-bottom: 18px;
}

.pets-empty-box h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #03285C;
  margin-bottom: 4px;
}

.pets-empty-box p {
  font-size: 0.84rem;
  color: #64748B;
}

/* ==========================================================
   ETAPA 2: MEUS PETS (Inspiração Fiel à Imagem 1)
   ========================================================== */
.pets-circle-row {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 12px;
  scrollbar-width: none;
}

.pets-circle-row::-webkit-scrollbar {
  display: none;
}

.pet-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s var(--ease-apple);
  flex-shrink: 0;
}

.pet-circle-item {
  transition: transform 0.16s var(--ease-out);
}

.pet-circle-item:hover {
  transform: translateY(-2px);
}

.pet-circle-item:active {
  transform: scale(0.95);
}

.pet-circle-avatar {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #EBF3FC;
  color: #0E5EAB;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
  border: 2px solid transparent;
}

/* Estado Selecionado: Azul da Marca Clean */
.pet-circle-item.selected .pet-circle-avatar {
  background: #0E5EAB;
  color: #FFFFFF;
  border-color: #0E5EAB;
  box-shadow: 0 0 0 3px rgba(14, 94, 171, 0.2);
}

.pet-check-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  place-items: center;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
  background: #10B981;
  border: 2px solid #FFFFFF;
}

.pet-circle-item.selected .pet-check-badge {
  display: grid;
}

.pet-circle-name {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
}

.pet-select-indicator {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  border-radius: 999px;
  padding: 3px 10px;
  transition: all 0.18s ease;
  user-select: none;
}

.pet-circle-item.selected .pet-select-indicator {
  background: #EBF3FC;
  color: #0E5EAB;
  border: 1px solid #BAE6FD;
}

.selected-pets-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF3FC;
  color: #0E5EAB;
  border: 1px solid #BAE6FD;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 8px;
}

/* Botão Cadastrar Novo Pet */
.btn-add-pet-row {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-add-pet-row:hover {
  opacity: 0.8;
}

.plus-circle-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================
   MODAL POP-UP: CADASTRAR PET (Design Visual & Intuitivo)
   ========================================================== */
.pet-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.pet-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px -10px rgba(14, 94, 171, 0.2), 0 0 0 1px #E2E8F0;
  border: none;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s var(--ease-spring);
  padding: 24px 22px;
}

.pet-modal-overlay.is-open .pet-modal-card {
  transform: translateY(0) scale(1);
}

.pet-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.pet-modal-header-icon {
  display: none;
}

.pet-modal-header-text {
  flex: 1;
}

.pet-modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0E5EAB;
  line-height: 1.2;
}

.pet-modal-subtitle {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 3px;
  line-height: 1.35;
}

.pet-modal-close {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pet-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}

.pet-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pet-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pet-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.01em;
}

.species-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.species-select-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.species-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #475569;
}

.species-select-btn:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
}

.species-select-btn.active {
  background: #EBF3FC;
  border-color: #0E5EAB;
  box-shadow: 0 2px 8px rgba(14, 94, 171, 0.14);
}

.species-select-btn.active .species-text {
  color: #0E5EAB;
}

.species-select-btn.active .species-text {
  color: #0E5EAB;
}

.pet-form-input {
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #0F172A;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.pet-form-input:focus {
  background: #FFFFFF;
  border-color: #0E5EAB;
  box-shadow: 0 0 0 3px rgba(14, 94, 171, 0.15);
}

/* Autocomplete de Raça */
.breed-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.breed-chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: #94A3B8;
  font-size: 0.85rem;
}

.breed-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(2, 18, 43, 0.25);
  border: 1.5px solid #CBD5E1;
  z-index: 99;
  padding: 6px;
}

.breed-option-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #1E293B;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breed-option-item:hover,
.breed-option-item.highlighted {
  background: #EFF6FF;
  color: #0E5EAB;
  font-weight: 600;
}

/* Porte Segmented Control */
.size-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.size-segment-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 9px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.size-btn-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.size-btn-sub {
  font-size: 0.68rem;
  color: #64748B;
}

.size-segment-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.size-segment-btn.active {
  background: #EFF6FF;
  border-color: #0E5EAB;
  box-shadow: 0 3px 10px rgba(14, 94, 171, 0.14);
}

.size-segment-btn.active .size-btn-title {
  color: #0E5EAB;
}

.size-segment-btn.active .size-btn-sub {
  color: #0369A1;
  font-weight: 600;
}

/* Seções de Agressivo e Vacinas */
.pet-checks-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.binary-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.binary-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.binary-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.binary-btn.active {
  background: #EBF3FC;
  border-color: #0E5EAB;
  color: #0E5EAB;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(14, 94, 171, 0.12);
}

/* Ações do Modal */
.pet-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.btn-cancel-pet {
  background: transparent;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-pet:hover {
  background: #F1F5F9;
  color: #1E293B;
}

.btn-save-pet {
  background: #0E5EAB;
  border: none;
  border-radius: 12px;
  padding: 11px 24px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 94, 171, 0.25);
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease;
}

.btn-save-pet:hover {
  background: #094987;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 94, 171, 0.35);
}

.btn-save-pet:active {
  transform: scale(0.98);
}

/* Empty State Botão */
.empty-icon-bubble {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.btn-empty-register {
  margin-top: 14px;
  background: #0E5EAB;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 94, 171, 0.25);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.18s ease;
}

.btn-empty-register:hover {
  background: #094987;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 94, 171, 0.35);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.app-input {
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--color-text-primary);
  outline: none;
}

.app-input:focus {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(14, 94, 171, 0.15);
}

.segmented-control {
  display: flex;
  background: #E2E8F0;
  padding: 3px;
  border-radius: var(--radius-xs);
  gap: 2px;
}

.segment-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.segment-btn.active {
  background: #FFFFFF;
  color: var(--color-text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-save-drawer {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-blue);
  color: #FFFFFF;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

/* ==========================================================
   ETAPA 2: SERVIÇOS (Inspiração Fiel à Imagem 2)
   ========================================================== */
.selected-pet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--color-brand-blue);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  margin-bottom: 16px;
  cursor: pointer;
}

.pet-chip-avatar {
  font-size: 1.2rem;
}

.pet-chip-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* Cards de Serviço Principal */
.services-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.service-card-item {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.service-card-item:hover {
  border-color: #CBD5E1;
}

.service-card-item:active {
  transform: scale(0.98);
}

.service-card-item.selected {
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 1px var(--color-brand-blue);
}

/* Radio Circle Fiel à Imagem */
.service-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.16s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card-item.selected .service-radio-circle {
  border-color: var(--color-brand-blue);
  background: var(--color-brand-blue);
  box-shadow: inset 0 0 0 4.5px #FFFFFF;
}

.service-info-col {
  flex: 1;
}

.service-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-item-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.service-item-time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.service-expandable-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
  margin-top: 6px;
}

.service-price-col {
  flex-shrink: 0;
}

.service-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

/* Box Informativo Azul Fiel à Imagem 2 */
.info-notice-box {
  background-color: #E2EFF9;
  border-left: 4px solid #5C9BCF;
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 28px;
}

.notice-icon {
  font-size: 1.1rem;
  color: #2E5B82;
  line-height: 1;
  font-weight: 700;
}

.notice-text {
  font-size: 0.82rem;
  color: #2E5B82;
  line-height: 1.42;
}

/* Seção de Cuidados Especiais (Addons) */
.addons-section-block {
  margin-top: 24px;
}

.addons-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.addons-subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-item-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease;
}

.addon-item-card:hover {
  border-color: #CBD5E1;
}

.addon-item-card:active {
  transform: scale(0.985);
}

.addon-item-card.selected {
  border-color: var(--color-brand-blue);
  background: var(--color-brand-blue-light);
}

.addon-check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  flex-shrink: 0;
  transition: transform 0.16s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.addon-item-card.selected .addon-check-circle {
  border-color: var(--color-brand-blue);
  background: var(--color-brand-blue);
  box-shadow: inset 0 0 0 3.5px #FFFFFF;
}

.addon-info {
  flex: 1;
}

.addon-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.addon-desc {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.addon-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

/* ==========================================================
   ETAPA 3: DATA E HORÁRIO (Inspiração Fiel à Imagem 3)
   ========================================================== */
.calendar-card-block {
  margin: 18px 0 28px;
}

.calendar-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-month-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.calendar-nav-btns {
  display: flex;
  gap: 8px;
}

.cal-nav-btn {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  color: var(--color-text-primary);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cal-nav-btn:hover {
  background: #F1F5F9;
}

.calendar-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 4px;
  text-align: center;
}

.cal-day-cell {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1.5px solid transparent;
  outline: none;
  aspect-ratio: 1;
  width: 100%;
  max-width: 44px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.14s var(--ease-out), background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  user-select: none;
  font-family: inherit;
}

.cal-day-cell:hover:not(.disabled):not(.is-disabled):not(:disabled) {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.cal-day-cell:active:not(.disabled):not(.is-disabled):not(:disabled) {
  transform: scale(0.92);
}

.cal-day-cell.today {
  border: 1.5px solid #0E5EAB;
}

.cal-day-cell.selected,
.cal-day-cell.is-selected {
  background: #0E5EAB !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1.5px solid #0E5EAB !important;
  box-shadow: 0 4px 12px rgba(14, 94, 171, 0.35);
}

.cal-day-cell.disabled,
.cal-day-cell.is-disabled,
.cal-day-cell:disabled {
  color: #94A3B8 !important;
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
}

.cal-day-cell.is-empty {
  visibility: hidden;
  pointer-events: none;
}

/* Seção de Horários (Oculta por padrão até selecionar uma data) */
.time-slots-section {
  display: none;
  margin-top: 26px;
}

.time-slots-section.is-revealed,
.time-slots-section.is-active {
  display: block !important;
  animation: appStepFadeIn 0.32s var(--ease-apple) forwards;
}

.time-section-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.time-duration-caption {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin: 4px 0 14px;
}

/* ==========================================================
   SELETOR DE HORÁRIO GIRATÓRIO (Roller Wheel Time Picker)
   ========================================================== */
.time-roller-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  width: 100%;
}

.time-roller-header-row {
  display: grid;
  grid-template-columns: 96px 28px 96px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 8px;
  width: 100%;
  max-width: 290px;
}

.time-col-header {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
}

.time-col-spacer {
  width: 28px;
}

.time-roller-card {
  position: relative;
  width: 100%;
  max-width: 290px;
  height: 180px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

/* Lente de Foco Central (Onde o número selecionado fica emoldurado) */
.time-roller-lens {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  height: 48px;
  transform: translateY(-50%);
  background: rgba(14, 94, 171, 0.08);
  border: 1.5px solid #0E5EAB;
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* Efeito Degradê Superior e Inferior para Sensação 3D de Cilindro Giratório */
.time-roller-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(to bottom, #FFFFFF 30%, rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 3;
}

.time-roller-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(to top, #FFFFFF 30%, rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 3;
}

/* Grade Central das Colunas (Horas : Minutos) */
.time-roller-grid {
  display: grid;
  grid-template-columns: 96px 28px 96px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Colunas (Horas e Minutos) */
.time-roller-column {
  width: 96px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A Roda (Tambor) com Scroll Snap e Rolagem Suave */
.time-roller-wheel {
  width: 100%;
  height: 144px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 48px;
  padding-bottom: 48px;
  box-sizing: border-box;
}

.time-roller-wheel::-webkit-scrollbar {
  display: none;
}

/* Cada Item da Roleta */
.time-roller-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 1.35rem;
  font-weight: 500;
  color: #94A3B8;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease, font-weight 0.16s ease, font-size 0.16s ease;
  box-sizing: border-box;
}

.time-roller-item.is-selected {
  color: #0E5EAB;
  font-weight: 800;
  font-size: 1.65rem;
  transform: scale(1.06);
}

.time-roller-item.is-disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

/* Separador : entre horas e minutos */
.time-roller-separator {
  width: 28px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0E5EAB;
  line-height: 1;
  user-select: none;
  box-sizing: border-box;
}

/* Badge Inferior com Horário Selecionado */
.time-selected-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(14, 94, 171, 0.06);
  margin-top: 14px;
}

.time-preview-label {
  font-size: 0.85rem;
  color: #0369A1;
  font-weight: 500;
}

.time-preview-value {
  font-size: 1.05rem;
  color: #0E5EAB;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Box de Alerta (Loja Fechada ou Horários Encerrados) */
.time-alert-box {
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
  margin-top: 8px;
}

.time-alert-box.alert-closed {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #DC2626;
}

.time-alert-box.alert-ended {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  color: #D97706;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-card-btn,
.time-slot-pill {
  -webkit-appearance: none;
  appearance: none;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
  font-family: inherit;
  user-select: none;
}

.time-card-btn:hover:not(:disabled):not(.disabled):not(.is-disabled),
.time-slot-pill:hover:not(:disabled):not(.disabled):not(.is-disabled) {
  border-color: #0E5EAB;
  background-color: #F0F7FF;
}

.time-card-btn:active:not(:disabled),
.time-slot-pill:active:not(:disabled) {
  transform: scale(0.96);
}

.time-card-btn .time-bold,
.time-slot-pill .time-bold {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1E293B;
}

.time-card-btn .time-sub,
.time-slot-pill .time-sub {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.time-card-btn.selected,
.time-card-btn.is-selected,
.time-slot-pill.selected,
.time-slot-pill.is-selected {
  background: #0E5EAB !important;
  border-color: #0E5EAB !important;
  box-shadow: 0 4px 12px rgba(14, 94, 171, 0.25);
}

.time-card-btn.selected .time-bold,
.time-card-btn.is-selected .time-bold,
.time-slot-pill.selected .time-bold,
.time-slot-pill.is-selected .time-bold {
  color: #FFFFFF !important;
}

.time-card-btn:disabled,
.time-card-btn.disabled,
.time-card-btn.is-disabled,
.time-slot-pill:disabled,
.time-slot-pill.disabled,
.time-slot-pill.is-disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-color: #E2E8F0 !important;
  background: #F8FAFC !important;
}

/* ==========================================================
   ETAPA 4: CONFIRMAÇÃO (Apple Pass / Ticket)
   ========================================================= */
.apple-receipt-card {
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}

.receipt-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.receipt-status {
  font-size: 0.72rem;
  font-weight: 700;
  background: #DCFCE7;
  color: #16A34A;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.r-label {
  color: var(--color-text-secondary);
}

.r-val {
  font-weight: 600;
  color: var(--color-text-primary);
}

.highlight-val {
  color: var(--color-brand-blue);
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed #CBD5E1;
  padding-top: 14px;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.receipt-total-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-brand-blue);
}

.tutor-box {
  background: #FFFFFF;
}

.tutor-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.trust-pill-note {
  font-size: 0.78rem;
  color: #16A34A;
  font-weight: 600;
  margin-top: 12px;
}

/* ==========================================================
   BARRA INFERIOR FIXA (Fiel às Imagens 1, 2 e 3)
   ========================================================== */
.app-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 90;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.06);
}

/* Linha de Progresso Superior */
.footer-progress-track {
  width: 100%;
  height: 3.5px;
  background: rgba(226, 232, 240, 0.6);
  overflow: hidden;
}

.footer-progress-fill {
  height: 100%;
  background: var(--color-brand-blue);
  transition: width 0.3s var(--ease-apple);
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  gap: 16px;
  transition: all 0.25s var(--ease-apple);
}

/* Quando estiver nas duas primeiras páginas (Tutor e Pet): apenas o botão avançar centralizado no meio */
.footer-bar-inner.is-centered {
  justify-content: center !important;
}

.footer-bar-inner.is-centered .footer-left-info {
  display: none !important;
}

.footer-bar-inner.is-centered .btn-app-continue {
  width: 100% !important;
  max-width: 380px !important;
  justify-content: center !important;
}

.footer-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-clock-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-brand-blue);
  color: #FFFFFF;
  display: grid;
  place-items: center;
}

.footer-price-col {
  display: flex;
  flex-direction: column;
}

.footer-total-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.footer-total-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.btn-app-continue {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: var(--color-brand-blue);
  color: #FFFFFF;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-app-continue:hover {
  background: var(--color-brand-blue-hover);
  transform: translateY(-1px);
}

.btn-app-continue:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-app-continue:disabled {
  background: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================
   MODAL DE CONFIRMAÇÃO (Apple Pass / Ticket Estilizado)
   ========================================================== */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 40, 92, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  padding: 24px;
}

.booking-modal-overlay.is-active {
  display: grid;
  animation: modalOverlayFade 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.apple-modal-ticket {
  max-width: 420px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 30px 70px -10px rgba(3, 40, 92, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.3);
  animation: modalTicketPop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center;
  position: relative;
  overflow: hidden;
}

.apple-modal-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.ticket-check-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 2px solid #A7F3D0;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.35);
  animation: ticketIconPulse 2s infinite ease-in-out;
}

@keyframes ticketIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ticket-title {
  font-family: var(--font-apple);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ticket-wa-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ticket-wa-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.ticket-wa-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #64748B;
  margin-bottom: 20px;
  padding: 0 6px;
}

.ticket-details-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed #E2E8F0;
}

.ticket-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 4px;
}

.ticket-row span {
  color: #64748B;
  font-size: 0.88rem;
}

.ticket-row strong {
  color: #03285C;
  font-weight: 700;
}

.ticket-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp-confirm {
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.96rem;
  box-shadow: 0 10px 24px -4px rgba(37, 211, 102, 0.4);
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-whatsapp-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 211, 102, 0.5);
  filter: brightness(1.04);
}

.btn-whatsapp-confirm:active {
  transform: scale(0.98);
}

.btn-close-ticket {
  height: 44px;
  border-radius: 14px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.18s ease;
}

.btn-close-ticket:hover {
  background: #E2E8F0;
  color: #03285C;
}

.btn-close-ticket:active {
  transform: scale(0.98);
}

/* ==========================================================
   RESPONSIVIDADE DESKTOP (Apple-Grade Desktop Experience)
   Não altera a versão mobile atual (< 768px)
   ========================================================== */
@media (min-width: 768px) {
  body.booking-app-body {
    background: #F1F5F9;
    padding: 36px 20px;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .booking-mobile-container {
    max-width: 860px;
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin: auto;
  }

  .app-top-bar {
    height: 64px;
    padding: 0 32px;
    border-bottom: 1px solid #E2E8F0;
    background: rgba(255, 255, 255, 0.95);
  }

  .app-bar-title {
    font-size: 1.25rem;
  }

  .app-content-body {
    padding: 32px 36px 44px;
    overflow-y: visible;
  }

  .step-header-block {
    margin-bottom: 24px;
  }

  .step-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  /* Etapa 1: Formulário Tutor em 2 colunas */
  .clean-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
  }

  /* Etapa 2: Grid elegante de Pets */
  .pets-circle-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
    padding-bottom: 8px;
    overflow-x: visible;
  }

  .pet-circle-item {
    width: 100%;
    max-width: none;
    padding: 16px 14px;
  }

  /* Etapa 3: Grid de Serviços em 2 colunas */
  .services-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Etapa 4: Calendário e Seletor de Horários Lado a Lado */
  .step-4-desktop-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 14px;
  }

  .step-4-cal-side {
    width: 100%;
  }

  .step-4-time-side {
    width: 100%;
  }

  .calendar-card-block {
    margin-bottom: 0;
  }

  .time-slots-section {
    margin-top: 0;
  }

  /* Etapa 5: Resumo e Observações */
  #step-5-confirm .apple-receipt-card {
    max-width: 580px;
    margin: 0 auto 24px auto;
  }

  #step-5-confirm .tutor-box {
    max-width: 580px;
    margin: 0 auto;
  }

  /* Bottom Bar no Desktop: Integrada à base do cartão */
  .app-bottom-bar {
    position: relative;
    max-width: 100%;
    margin: 0;
    border-top: 1px solid #E2E8F0;
    padding: 18px 36px 20px;
    background: #FFFFFF;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .footer-bar-inner {
    max-width: 680px;
    margin: 0 auto;
  }

  .btn-app-continue {
    min-width: 220px;
    height: 48px;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .booking-mobile-container {
    max-width: 960px;
  }

  .app-content-body {
    padding: 38px 48px 48px;
  }

  .step-4-desktop-split {
    gap: 40px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Accessibility: Reduced Transparency (Apple HIG §14) */
@media (prefers-reduced-transparency: reduce) {
  .app-top-bar,
  .app-footer-bar {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Accessibility: High Contrast (Apple HIG §14) */
@media (prefers-contrast: more) {
  .service-card-item,
  .addon-item-card,
  .time-card-btn {
    border-color: #0F172A !important;
  }
}
