/* Página de agendamento: usa a mesma linguagem visual do resto do site (sem caixa branca isolada). */
.booking-intro {
  padding-bottom: 20px !important;
}
.booking-intro h1 {
  max-width: 560px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem) !important;
  margin: 10px auto 14px !important;
}
.booking-intro p:not(.section-eyebrow) {
  max-width: 460px;
  margin-inline: auto;
}
.booking-section {
  max-width: 640px;
  padding-top: 8px !important;
}
.booking-card {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 4px color-mix(in srgb, var(--public-ink) 6%, transparent);
}
.booking-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.booking-step {
  margin-bottom: 28px;
}
.booking-step-title {
  display: block;
  font-weight: 600;
  margin: 0 0 10px;
}
#agServico,
.booking-step input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--public-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.slot-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 1px solid var(--public-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.slot-data {
  font-size: 0.78rem;
  color: var(--public-muted);
}
.slot-hora {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--public-ink);
}
.slot-option:hover {
  transform: translateY(-2px);
}
.slot-option:hover,
.slot-option.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
}
.slot-option.selected .slot-hora {
  color: var(--brand);
}
.booking-link-action {
  display: inline-block;
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
}
.booking-link-action:hover {
  color: color-mix(in srgb, var(--brand) 80%, #000);
}
#agForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#agForm .hero-cta {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.booking-fallback {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--public-line);
  text-align: center;
}
.booking-fallback p {
  margin: 0 0 14px;
  color: var(--public-muted);
  font-size: 0.9rem;
}
.booking-contact {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease;
}
/* Brilho que passa sozinho de 5 em 5 segundos, pra chamar atenção pro botão sem precisar de hover —
   mesmo efeito visual usado nos cartões da equipe/serviços, só que automático em vez de no mouse. */
.booking-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--brand) 22%, transparent) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: booking-contact-sweep 5s ease-in-out infinite;
}
@keyframes booking-contact-sweep {
  0% { transform: translateX(-120%); }
  13% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .booking-contact::before { animation: none; }
}
.booking-contact i {
  font-size: 1.1rem;
}
.booking-contact:hover {
  background: var(--brand);
  color: #fff;
}
.booking-message {
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--brand);
}
@media (max-width: 540px) {
  #agForm .hero-cta,
  .booking-contact {
    width: 100%;
  }
  .booking-card {
    padding: 22px;
  }
}

.agendar-privacidade { margin: 0; color: var(--public-muted); font-size: .8rem; line-height: 1.5; }

/* Confirmação do pedido: centralizada, com quebras de linha equilibradas e ações claras. */
.booking-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
  text-align: center;
  outline: none;
}
.booking-done[hidden] { display: none; }
.booking-done-icon { color: var(--brand); font-size: 2.6rem; line-height: 1; }
.booking-done h2 { margin: 6px 0 4px; font-size: 1.6rem; text-wrap: balance; }
.booking-done p { margin: 0; text-wrap: balance; line-height: 1.55; }
.booking-done-when { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.booking-done-when strong { font-size: 1.4rem; line-height: 1.2; }
.booking-done-when #agConfDia { color: var(--public-muted); font-size: 0.92rem; }
.booking-done-when #agConfHora { margin-top: 4px; font-size: 1.15rem; font-weight: 600; color: var(--public-ink); }
.booking-done-when small { color: var(--public-muted); font-size: 0.8rem; }
.booking-done-when strong { color: var(--public-ink); }
.booking-done-service { color: var(--brand); font-weight: 600; }
.booking-done-note { margin-top: 10px !important; color: var(--public-muted); font-size: .95rem; }
.booking-done-reinforce {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--public-line);
}
.booking-done-reinforce p { color: var(--public-ink); font-size: .95rem; }
.booking-done-reinforce .booking-contact { min-width: 220px; }
.booking-done-site {
  margin-top: 14px;
  color: var(--public-muted);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-done-site:hover, .booking-done-site:focus-visible { color: var(--brand); }
@media (max-width: 540px) {
  .booking-done-reinforce .booking-contact { width: 100%; }
}

/* Botão de WhatsApp da página: sempre o mesmo, preenchido com a cor da marca. */
.booking-contact { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.booking-contact::before { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%); }
.booking-contact:hover, .booking-contact:focus-visible { background: color-mix(in srgb, var(--brand) 82%, #000); border-color: color-mix(in srgb, var(--brand) 82%, #000); color: #fff; }
.whatsapp-float.is-oculto { display: none; }

/* Texto de apoio do WhatsApp: duas linhas curtas, cada uma inteira. */
.booking-fallback-texto, .booking-done-reinforce p { max-width: 34ch; margin-inline: auto; line-height: 1.5; text-wrap: balance; }
.booking-fallback-texto { font-size: 0.92rem; }

/* Passo final (nome e WhatsApp): campos, avisos justificados e botão centralizado em toda a largura. */
#agForm .agendar-nota, #agForm .agendar-privacidade { margin: 4px 0 0; text-align: justify; text-wrap: pretty; hyphens: auto; line-height: 1.55; }
#agForm .agendar-nota { color: var(--public-ink); font-size: 0.92rem; }
#agForm .agendar-privacidade { font-size: 0.8rem; }
#agForm .hero-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  text-align: center;
  font-weight: 600;
}
@media (max-width: 360px) {
  .booking-fallback-texto { font-size: 0.86rem; }
}

/* Desktop: botão proporcional ao cartão (não estica), textos de apoio em linhas naturais. */
#agForm .hero-cta { align-self: center; min-width: 280px; padding-inline: 40px; margin-top: 12px; }
.booking-fallback-texto { max-width: none; text-wrap: pretty; }
.booking-fallback { margin-top: 28px; padding-top: 24px; }
#agWhatsapp::placeholder, #agNome::placeholder { color: color-mix(in srgb, var(--public-muted) 55%, transparent); }

/* Confirmação: data, dia da semana, hora e fuso na mesma linha; quebra só se faltar espaço. */
.booking-done-when { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; }
.booking-done-when #agConfHora { margin-top: 0; }
.booking-done-note, .booking-done-reinforce p { max-width: none; }
@media (max-width: 540px) {
  #agForm .hero-cta { align-self: stretch; min-width: 0; }
  .booking-done-when { flex-direction: column; align-items: center; gap: 2px; }
  .booking-done-when #agConfHora { margin-top: 4px; }
  .booking-done-note, .booking-done-reinforce p { max-width: 34ch; }
}

/* Confirmação: "Data:" e "Horário:" cada um em uma linha, com o dia da semana e o fuso ao lado, menores. */
.booking-done-when { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 2px; }
.booking-done-when .booking-done-linha { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 8px; margin: 0; }
.booking-done-when .rotulo { color: var(--public-muted); font-size: 1rem; font-weight: 500; }
.booking-done-when strong { font-size: 1.3rem; line-height: 1.3; color: var(--public-ink); }
.booking-done-when #agConfDia, .booking-done-when small { color: var(--public-muted); font-size: 0.85rem; font-weight: 400; }
.booking-done-when #agConfHora { margin-top: 0; font-size: 1.3rem; font-weight: 700; }
.booking-done-service { margin-top: 6px !important; }
.booking-done-note { margin-top: 4px !important; }
.booking-done-reinforce { margin-top: 12px; padding-top: 14px; }
