:root {
  color-scheme: dark;
  --bg: #0f1218;
  --card: #171b24;
  --card-2: #1f2530;
  --text: #f7f2e8;
  --muted: #b9b2a5;
  --accent: #d6a85f;
  --accent-dark: #9b7136;
  --danger: #ff7878;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #24202a 0, var(--bg) 42rem);
  color: var(--text);
}

.page-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 32px 18px;
}

.hero {
  margin: 34px 0 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.1rem, 8vw, 4.6rem);
  line-height: 0.98;
}

.subtitle {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)), var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(18px, 4vw, 34px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

label,
legend {
  color: var(--text);
  font-weight: 750;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  background: #0d1016;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(214, 168, 95, 0.16);
}

.services-fieldset {
  border: 0;
  padding: 0;
  margin: 4px 0 0;
}

.status,
.feedback {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.status.error,
.feedback.error {
  color: var(--danger);
}

.services-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.service-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-2);
  cursor: pointer;
}

.service-option:hover,
.service-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(214, 168, 95, 0.09);
}

.service-option input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.service-name {
  font-weight: 800;
}

.service-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

button {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--accent);
  color: #17110a;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@media (min-width: 760px) {
  .card {
    max-width: 620px;
  }
}

/* BARB-018, seleção de data e horário */
.hidden {
  display: none !important;
}

.eyebrow.small {
  margin-bottom: 6px;
  font-size: 0.7rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  line-height: 1.05;
}

.step-header {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.summary {
  margin: 8px 0 0;
  color: var(--muted);
}

.slots-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.slot-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-2);
  cursor: pointer;
  font-weight: 850;
}

.slot-option:hover,
.slot-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(214, 168, 95, 0.09);
}

.slot-option input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.button-secondary {
  justify-self: start;
  padding: 10px 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

@media (min-width: 760px) {
  .step-header {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .slots-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* BARB-019, confirmação */
.success-box {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-2);
}

.success-box p {
  margin: 0;
  color: var(--muted);
}

.success-box strong {
  color: var(--text);
}

.business-info {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  max-width: 640px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.business-info p {
  margin: 0;
  line-height: 1.45;
}

.business-info strong {
  color: var(--text);
}

.business-info a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.business-info a:hover {
  text-decoration: underline;
}
