:root {
  --blue: #1d1a9b;
  --blue-dark: #14127a;
  --blue-light: #2f2bc4;
  --green: #b2df20;
  /* As mesmas cores em "r, g, b", para as transparências: rgba(var(--x-rgb), a).
     Quando a unidade usa outro tema, o servidor troca as duas formas. */
  --blue-rgb: 29, 26, 155;
  --blue-dark-rgb: 20, 18, 122;
  --blue-light-rgb: 47, 43, 196;
  --green-rgb: 178, 223, 32;
  --green-dark: #8bb30c;
  --green-dark-rgb: 139, 179, 12;
  --white: #fff;
  --ink: #17153e;
  --muted-ink: #65637c;
  --line: #e6e5ef;
  --surface: #f7f7fb;
  --error: #c72e25;
  --shadow: 0 28px 80px rgba(7, 5, 56, 0.24);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0, rgba(var(--blue-light-rgb), 0.92), transparent 34rem),
    var(--blue-dark);
  color: var(--white);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 12px 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 58%), var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: -145px;
  right: -140px;
  z-index: -1;
  border: 42px solid rgba(var(--green-rgb), 0.13);
  border-radius: 50%;
}

.hero::after {
  /* A sigla da marca da unidade (o servidor escreve em data-sigla). */
  content: attr(data-sigla);
  position: absolute;
  right: -7px;
  bottom: -35px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(7rem, 28vw, 12rem);
  line-height: 1;
}

.hero-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  left: 12%;
  bottom: -130px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(var(--green-rgb), 0.28);
  filter: blur(80px);
}

.brand {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(var(--green-rgb), 0.65);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(5, 4, 28, 0.3);
}

.brand div {
  display: flex;
  flex-direction: column;
}

.brand span {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.035em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 630px;
  margin-top: 30px;
}

.eyebrow,
.step-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2.7rem, 9vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-copy > p:last-child {
  max-width: 540px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.hero-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-steps span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
}

.hero-note {
  display: none;
}

.booking-panel {
  position: relative;
  min-height: calc(100dvh - 71px);
  padding: 14px 18px 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--white);
  color: var(--ink);
}

.screen {
  width: 100%;
  max-width: 760px;
  margin: 14px auto 0;
  animation: enter 0.22s ease both;
}

.agenda-screen {
  max-width: 920px;
}

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

.step-heading {
  margin-bottom: 24px;
}

.step-heading h2,
.state-block h2,
.confirm-dialog h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-transform: uppercase;
}

.step-heading > p:last-child,
.state-block p {
  margin: 10px 0 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.compact-heading {
  margin-bottom: 16px;
}

.field {
  margin-bottom: 17px;
}

.field label,
.days-field legend {
  display: block;
  margin-bottom: 7px;
  color: #34324f;
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1.5px solid #d9d8e6;
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input[type="date"] {
  min-width: 0;
}

.single-field-screen {
  max-width: 580px;
}

.feature-field {
  margin-top: clamp(18px, 5vh, 48px);
}

.feature-field input {
  min-height: 64px;
  padding-inline: 17px;
  font-size: 1.05rem;
}

input::placeholder {
  color: #a09eb0;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(var(--green-rgb), 0.52);
  outline-offset: 2px;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.08);
}

input[aria-invalid="true"] {
  border-color: var(--error);
}

.input-shell {
  display: flex;
  align-items: center;
  min-height: 60px;
  overflow: hidden;
  border: 2px solid #d9d8e6;
  border-radius: 15px;
  background: var(--white);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), 0.08);
}

.input-shell:has(input[aria-invalid="true"]) {
  border-color: var(--error);
}

.input-prefix {
  padding-left: 16px;
  color: var(--blue);
  font-weight: 700;
}

.input-shell input {
  min-width: 0;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.input-shell input:focus {
  box-shadow: none;
}

.field-help,
.field-error {
  min-height: 16px;
  margin: 6px 2px 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.field-help {
  color: var(--muted-ink);
}

.field-error {
  color: var(--error);
  font-weight: 600;
}

.number-pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto 16px;
}

.number-pad button {
  min-height: 96px;
  border: 1px solid #deddea;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 700;
  touch-action: manipulation;
  transition: transform 0.1s ease, background 0.1s ease;
}

.number-pad button:hover {
  border-color: rgba(var(--blue-rgb), 0.3);
  background: rgba(var(--blue-rgb), 0.08);
}

.number-pad button:active {
  transform: scale(0.96);
}

.number-pad .key-delete {
  color: var(--blue);
  font-size: 1.8rem;
}

.name-fields {
  display: grid;
  gap: 0;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.actions-end {
  justify-content: flex-end;
}

.actions-end .button {
  width: 100%;
}

.actions-center {
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.button:disabled,
button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.button-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(var(--green-dark-rgb), 0.22);
}

.button-secondary {
  border: 1px solid #dcdbe7;
  background: var(--surface);
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.back-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0 14px;
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--blue-rgb), 0.06);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  touch-action: manipulation;
}

.welcome-message {
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(var(--green-dark-rgb), 0.34);
  border-radius: var(--radius-sm);
  background: rgba(var(--green-rgb), 0.14);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.35;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--muted-ink);
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: center;
}

.global-message {
  max-width: 760px;
  margin: 15px auto 0;
  padding: 11px 14px;
  border: 1px solid rgba(199, 46, 37, 0.22);
  border-radius: 11px;
  background: #fff1f0;
  color: #8e2019;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice-card {
  width: 100%;
  min-height: 74px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.unit-card,
.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.unit-card::after,
.service-card::after {
  content: "→";
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.unit-card span,
.service-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unit-card strong,
.service-card strong {
  font-size: 0.94rem;
}

.unit-card small,
.service-card small {
  color: var(--muted-ink);
}

.service-card {
  min-height: 82px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.service-card:hover,
.service-card[aria-pressed="true"] {
  border-color: var(--blue);
  background: rgba(var(--blue-rgb), 0.07);
}

.service-card:active,
.date-card:active {
  transform: scale(0.985);
}

.choice-status {
  min-height: 20px;
  margin: -5px 2px 12px;
  color: var(--muted-ink);
  font-size: 0.78rem;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.date-card {
  min-height: 78px;
  padding: 11px 8px;
  border: 1px solid #dad9e7;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.date-card strong,
.date-card small {
  display: block;
}

.date-card strong {
  font-size: 0.78rem;
  text-transform: capitalize;
}

.date-card small {
  margin-top: 5px;
  color: var(--muted-ink);
  font-size: 0.7rem;
  text-transform: capitalize;
}

.date-card:hover,
.date-card[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.date-card:hover small,
.date-card[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.76);
}

.inline-retry {
  width: 100%;
}

.agenda-filters {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.service-select-field {
  margin-bottom: 14px;
}

.service-select-field select {
  min-height: 48px;
  background-color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
}

.days-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.days-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}

.day-pill {
  min-width: 83px;
  min-height: 55px;
  padding: 7px 10px;
  border: 1px solid #dad9e7;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.15;
  text-align: center;
}

.day-pill strong,
.day-pill small {
  display: block;
}

.day-pill strong {
  font-size: 0.78rem;
  text-transform: capitalize;
}

.day-pill small {
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 0.68rem;
}

.day-pill[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(var(--blue-rgb), 0.18);
}

.day-pill[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.74);
}

.agenda-status {
  min-height: 20px;
  margin: 14px 2px 10px;
  color: var(--muted-ink);
  font-size: 0.76rem;
}

.barbers-grid {
  display: grid;
  gap: 11px;
}

.barber-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(var(--blue-dark-rgb), 0.055);
}

.barber-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.barber-avatar {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  background: rgba(var(--blue-rgb), 0.1);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
}

.barber-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barber-name {
  margin: 0;
  font-size: 0.92rem;
}

.barber-full-name {
  margin: 3px 0 0;
  color: var(--muted-ink);
  font-size: 0.7rem;
}

.time-label {
  margin: 13px 0 7px;
  color: var(--muted-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.times-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
}

.time-chip {
  min-height: 42px;
  padding: 0 9px;
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  background: rgba(var(--blue-rgb), 0.06);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.time-chip:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.empty-state {
  margin: 0;
  padding: 22px 15px;
  border: 1px dashed #d2d0e0;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--muted-ink);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.state-block,
#tela-sucesso,
#tela-erro {
  padding: 54px 10px;
  text-align: center;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
  border: 4px solid rgba(var(--blue-rgb), 0.13);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.72s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-mark,
.error-mark {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 800;
}

.success-mark {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(var(--green-dark-rgb), 0.22);
}

.success-mark.review,
.error-mark {
  background: #fff0cd;
  color: #8a5700;
}

.success-heading,
.error-heading {
  margin-bottom: 18px;
}

.success-reminder {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 auto 20px;
  padding: 14px;
  border-radius: 13px;
  background: var(--surface);
  font-size: 0.78rem;
}

.success-reminder span {
  color: var(--muted-ink);
}

.confirm-dialog {
  width: min(calc(100% - 28px), 540px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
}

.confirm-dialog::backdrop {
  background: rgba(7, 5, 48, 0.72);
  backdrop-filter: blur(4px);
}

.dialog-card {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: 25px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
}

.confirm-dialog h2 {
  max-width: 430px;
  padding-right: 30px;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
}

.confirmation-summary {
  margin: 21px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.confirmation-summary div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.confirmation-summary div:last-child {
  border-bottom: 0;
}

.confirmation-summary dt,
.confirmation-summary dd {
  margin: 0;
  font-size: 0.78rem;
}

.confirmation-summary dt {
  color: var(--muted-ink);
}

.confirmation-summary dd {
  font-weight: 700;
  text-align: right;
}

.confirmation-summary .confirmation-time {
  background: rgba(var(--green-rgb), 0.14);
}

.confirmation-time dd {
  color: var(--blue);
  font-size: 1.04rem;
}

.booking-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 28px auto 0;
  padding: 14px 0 4px;
  color: #8a889c;
  font-size: 0.66rem;
  text-align: center;
}

.privacy-icon {
  color: var(--green);
  font-size: 0.55rem;
}

@media (min-width: 560px) {
  .booking-panel {
    padding: 25px 30px 15px;
  }

  .service-list,
  .date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-filters {
    padding: 17px;
  }

  .barbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number-pad button {
    min-height: 100px;
  }
}

@media (max-width: 899px) {
  .hero-copy,
  .hero-steps,
  .hero-note {
    display: none;
  }

  .hero::after {
    bottom: -78px;
    font-size: 7rem;
  }

  .booking-footer {
    margin-top: 20px;
  }
}

@media (max-height: 760px) and (max-width: 899px) {
  .number-pad button {
    min-height: 88px;
  }

  .phone-screen .step-heading {
    margin-bottom: 11px;
  }

  .phone-screen .field {
    margin-bottom: 9px;
  }

  .phone-screen .field-help {
    display: none;
  }
}

@media (min-width: 900px) {
  body {
    padding: 24px;
  }

  .page-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(570px, 1.22fr);
    min-height: calc(100vh - 48px);
    min-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 32px;
    box-shadow: var(--shadow);
  }

  .hero {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 38px clamp(30px, 4vw, 64px);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .hero-copy {
    display: block;
  }

  .hero-copy {
    margin-top: auto;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5vw, 5.7rem);
  }

  .hero-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
  }

  .hero-note {
    display: block;
    margin: auto 0 0;
    padding-top: 34px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .booking-panel {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    min-height: 0;
    overflow-y: auto;
    padding: 28px clamp(28px, 4vw, 58px) 18px;
  }

  .screen {
    margin-top: 26px;
  }

  .phone-screen {
    max-width: 500px;
  }

  .number-pad {
    gap: 9px;
  }

  .agenda-filters {
    display: grid;
    grid-template-columns: minmax(210px, 0.76fr) minmax(320px, 1.24fr);
    align-items: end;
    gap: 18px;
  }

  .service-select-field {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Botão de instalar o aplicativo (só no link de evento, e só quando o navegador
   oferece). Fica flutuando no canto para não entrar no caminho de quem está
   agendando, e some sozinho assim que o app é instalado. */
.botao-instalar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(7, 5, 56, 0.3);
}

.botao-instalar:hover {
  background: var(--blue-light);
}

/* Link da política de privacidade da barbearia (marca.urlPrivacidade). */
.link-privacidade { color: inherit; text-decoration: underline; margin-left: 4px; white-space: nowrap; }
