/* Major Barbearia — site do cliente. Carrega depois do app.css e só na página pública. */
.site { background-image:
  radial-gradient(700px 420px at 50% -80px, rgba(214, 168, 76, .16), transparent 70%),
  radial-gradient(600px 600px at 110% 40%, rgba(214, 168, 76, .05), transparent 70%); }
.page { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 18px; }
.top-in { display: flex; align-items: center; gap: 10px; height: 60px; max-width: 560px; margin: 0 auto; padding: 0 18px; }
.top nav .btn svg { width: 16px; height: 16px; color: var(--gold-2); }
.top nav .btn.has::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 2px; box-shadow: 0 0 0 3px rgba(214, 168, 76, .2); }

/* ---------- topo da página */
.site .hero { text-align: center; padding: 22px 0 0; }
.hero-logo { position: relative; width: 148px; height: 148px; margin: 0 auto 10px; }
.hero-logo::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 168, 76, .30), transparent 72%); }
.hero-logo img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .6)); }
.site .hero h1 { font-size: 30px; margin-top: 2px; }
.site .hero p { margin: 6px auto 0; max-width: 340px; color: var(--muted); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.chip.open { color: var(--ok); } .chip.closed { color: var(--muted); }
.chip svg { width: 15px; height: 15px; color: var(--gold-2); flex: none; }
.chip.link:hover { border-color: var(--line-2); }

/* ---------- fluxo de agendamento */
.flow { margin-top: 24px; }
.stepper { display: flex; align-items: flex-start; list-style: none; margin: 0 0 22px; padding: 0; }
.stepper li { flex: 1; position: relative; min-width: 0; }
.stepper li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--surface-3); }
.stepper li:first-child::before { display: none; }
.stepper li.on::before, .stepper li.done::before { background: var(--gold-3); }
.stepper button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none;
  color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .01em; cursor: default; -webkit-tap-highlight-color: transparent; }
.stepper .n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 15px;
  background: #15120e; border: 1.5px solid var(--line-2); color: var(--muted); transition: background .2s, box-shadow .2s; }
.stepper .n svg { width: 15px; height: 15px; }
.stepper li.on .n { background: var(--gold-grad); color: #1a1206; border-color: transparent; box-shadow: 0 0 0 4px rgba(214, 168, 76, .18); }
.stepper li.on button { color: var(--text); }
.stepper li.done .n { background: #241c0f; color: var(--gold-2); border-color: rgba(214, 168, 76, .55); }
.stepper li.done button { color: var(--muted); cursor: pointer; }

.step { animation: stepIn .22s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-title h2 { font-size: 22px; }
.step-back { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.step-back svg { width: 18px; height: 18px; }
.site .picked { margin-bottom: 14px; }
.site .picked button { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); }
.site .picked button svg { width: 12px; height: 12px; color: var(--dim); }

.svc { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 70px; padding: 12px 12px 12px 13px; text-align: left; border-radius: var(--r);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: var(--text);
  transition: border-color .15s, transform .08s, background .15s; -webkit-tap-highlight-color: transparent; }
.svc:hover { border-color: rgba(214, 168, 76, .45); }
.svc:active { transform: scale(.985); }
.svc:disabled { opacity: .5; cursor: not-allowed; }
.svc.sel { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.svc .ico { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--gold-2);
  background: rgba(214, 168, 76, .09); border: 1px solid rgba(214, 168, 76, .22); }
.svc .ico svg { width: 22px; height: 22px; }
.svc .t { font-weight: 800; font-size: 16px; line-height: 1.25; }
.svc .s { color: var(--muted); font-size: 13px; margin-top: 2px; }
.svc .s.avail { color: var(--ok); font-weight: 700; }
.svc .s.none { color: var(--dim); }
.svc .price { margin-left: auto; padding-left: 8px; font-family: var(--display); font-size: 19px; color: var(--gold-2); white-space: nowrap; }
.svc .chev { width: 18px; height: 18px; flex: none; color: var(--dim); }
.svc .avatar { width: 46px; height: 46px; }
.svc .grow + .chev { margin-left: auto; }

.site .plan-link { margin-top: 14px; }
.date-label { font-weight: 800; font-size: 15px; margin: 0 0 10px 2px; }
.date-label span { color: var(--muted); font-weight: 600; }
.site .days { margin: 0 -18px; padding: 2px 18px 10px; }
.site .day { width: 66px; }
.site .slot { transition: border-color .15s, transform .08s; }
.site .slot:hover { border-color: rgba(214, 168, 76, .5); }
.site .slot:active { transform: scale(.96); }
.fineprint { color: var(--dim); font-size: 13px; text-align: center; margin: 10px 0 0; }
.site .ticket .btn.wa { background: #1fa855; border-color: transparent; color: #fff; }
.site .ticket .btn.wa svg { width: 20px; height: 20px; }

.sk-list { display: grid; gap: 10px; }
.sk { height: 70px; border-radius: var(--r); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 40%, var(--surface) 60%); background-size: 300% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- próximo horário já marcado neste aparelho */
.next-appt { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; padding: 11px 12px; text-align: left; border-radius: var(--r);
  border: 1px solid rgba(214, 168, 76, .42); background: linear-gradient(180deg, rgba(214, 168, 76, .13), rgba(214, 168, 76, .03)); color: var(--text); }
.next-appt .d { width: 50px; flex: none; text-align: center; padding: 6px 0; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--line); }
.next-appt .d small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-appt .d b { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.1; }
.next-appt .tx { min-width: 0; flex: 1; }
.next-appt .tx small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.next-appt .tx b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-appt .tx span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-appt svg { width: 18px; height: 18px; flex: none; color: var(--gold-2); }

/* ---------- informações */
.info { margin-top: 44px; }
.info h2 { font-size: 20px; margin-bottom: 12px; }
.info #priceBlock { margin-bottom: 36px; }
.info .addr { margin: 0 0 12px; }
.hours-h { margin: 24px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-family: var(--font); font-weight: 800; }
.site .map { height: 200px; }
.my { padding-top: 22px; }
.my h2 { margin-top: 10px; }
.site .foot { line-height: 1.9; }
.site .foot a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .step, .sk { animation: none; } }

/* ---------- telas largas: logo e informações à esquerda, agendamento à direita */
@media (min-width: 980px) {
  .page, .top-in { max-width: 1100px; padding: 0 32px; }
  .top-in { height: 64px; }
  .home { display: grid; grid-template-columns: 370px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "hero flow" "info flow"; column-gap: 56px; padding-top: 36px; align-items: start; }
  .site .hero { grid-area: hero; padding-top: 8px; }
  .hero-logo { width: 210px; height: 210px; margin-bottom: 16px; }
  .site .hero h1 { font-size: 40px; }
  .flow { grid-area: flow; margin-top: 0; padding: 30px 30px 34px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 236, 200, .022); min-height: 520px; }
  .info { grid-area: info; margin-top: 30px; }
  .site .days { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0 0 6px; }
  .site .day { width: calc((100% - 48px) / 7); }
  .site .slots { grid-template-columns: repeat(6, 1fr); }
  .my { max-width: 620px; margin: 0 auto; padding-top: 36px; }
  .step-title h2 { font-size: 26px; }
}

/* ajustes finos */
.svc .grow { min-width: 0; }
.svc .t, .svc .s { display: block; }
.svc .avatar svg { width: 22px; height: 22px; }
.site .ticket .row .btn { padding: 0 10px; font-size: 14px; min-width: 0; }
.site .ticket .fineprint { margin-top: 16px; }
.site .options { gap: 10px; }
.site .options { grid-template-columns: minmax(0, 1fr); }
.svc { min-width: 0; }
.chip { font-size: 13px; padding: 0 12px; }
@media (max-width: 360px) {
  .svc { gap: 10px; padding-left: 11px; }
  .svc .chev { display: none; }
  .svc .ico { width: 38px; height: 38px; border-radius: 11px; }
  .svc .price { font-size: 17px; }
  .stepper button { font-size: 11px; }
  .site .hero h1 { font-size: 27px; }
}
