/* Peluccio's Beauty — identidade visual compartilhada (agendamento, link na bio e área da nail designer)
   Paleta "nude sofisticado": creme, café para contraste, rosé queimado nos destaques e dourado nos detalhes. */

:root {
  --bg: #f6eee8;
  --bg-deep: #efe2d9;
  --surface: #fffbf8;
  --surface-2: #f3e8e1;
  --ink: #2e211b;          /* café — títulos e botões principais */
  --ink-2: #57443a;
  --muted: #806959;        /* texto secundário (contraste AA sobre o creme) */
  --line: #eadcd2;
  --line-strong: #d8c3b5;

  --accent: #b9846f;       /* rosé queimado — destaques decorativos */
  --accent-ink: #94604d;   /* rosé escuro — texto e ícones em rosé */
  --accent-tint: #f8ece6;
  --accent-soft: #efd9cf;
  --nude: #f0dfd5;
  --gold: #c6a27a;
  --gold-soft: #e9dac6;

  --ok: #4f8a5b;
  --ok-bg: #e4efe3;
  --warn: #b97f2a;
  --warn-bg: #f8ecd8;
  --bad: #b8534b;
  --bad-bg: #f6e1de;
  --info: #6b7a99;
  --info-bg: #e8ecf3;
  --wa: #25a35d;
  --wa-dark: #1d8a4d;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-script: 'Great Vibes', 'Brush Script MT', cursive;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -12px rgba(94, 60, 44, 0.22);
  --shadow-sm: 0 1px 2px rgba(94, 60, 44, 0.05), 0 6px 20px -8px rgba(94, 60, 44, 0.14);
  --shadow-up: 0 -10px 30px -10px rgba(94, 60, 44, 0.18);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: only light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- utilitários ---------- */
.eyebrow { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-weight: 500; letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--accent-tint); color: var(--accent-ink); border-color: transparent; }
.btn-soft:hover { background: var(--accent-soft); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-danger { background: var(--surface); color: var(--bad); border-color: var(--line); }
.btn-danger:hover { background: var(--bad-bg); border-color: transparent; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; }

/* ---------- campos ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a8968a; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none; }
.field .hint { font-size: 13px; color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background 0.15s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.15s; }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- mensagens ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; background: var(--bad-bg); color: var(--bad); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: var(--surface-2); color: var(--ink-2); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px); animation: toast-in 0.25s ease;
}
.toast.error { background: var(--bad); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- status ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-pending { background: var(--warn-bg); color: var(--warn); }
.pill-confirmed { background: var(--ok-bg); color: var(--ok); }
.pill-done { background: var(--info-bg); color: var(--info); }
.pill-cancelled { background: var(--bad-bg); color: var(--bad); }
.pill-block { background: var(--surface-2); color: var(--ink-2); }

/* ---------- calendário (compartilhado) ---------- */
.cal { display: grid; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.cal-nav button:hover { background: var(--surface-2); }
.cal-nav button:disabled { opacity: 0.3; cursor: default; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-week span { text-align: center; font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 2px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-day {
  aspect-ratio: 1 / 1; border-radius: 12px; border: 1.5px solid transparent; background: transparent; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-variant-numeric: tabular-nums; font-size: 15.5px; font-weight: 500; position: relative; padding: 0;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.cal-day.empty { pointer-events: none; }
.cal-day.avail { background: var(--surface); border-color: var(--line-strong); }
.cal-day.avail:hover { border-color: var(--accent); background: var(--nude); }
.cal-day.off { color: #c9b8ac; font-weight: 400; }
.cal-day.today::after { content: ''; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-day.selected { background: var(--accent) !important; color: #fff; border-color: var(--accent) !important; }
.cal-day.selected::after { background: #fff; }
.cal-day:disabled { cursor: default; }
.cal-day .dots { display: flex; gap: 3px; height: 5px; }
.cal-day .dots i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.cal-day .dots .d-pending { background: var(--warn); }
.cal-day .dots .d-confirmed { background: var(--ok); }
.cal-day .dots .d-block { background: var(--line-strong); }
.cal-day .dots .d-special, .legend .d-special { background: var(--gold); }
.cal-day .dots .d-closed, .legend .d-closed { background: var(--bad); }
.legend .d-pending { background: var(--warn); }
.legend .d-confirmed { background: var(--ok); }
.legend .d-block { background: var(--line-strong); }
.cal-day.special { border-color: var(--gold); }
.cal-day.special-closed { border-color: var(--bad); }
.cal-day.past { opacity: 0.45; }
.cal-day.selected .dots i { background: #fff; }
.cal-day .count { position: absolute; top: 3px; right: 6px; font-size: 10px; color: var(--muted); }
.cal-day.selected .count { color: #fff; }
.cal-day.has-items { background: var(--surface); border-color: var(--line-strong); }
.cal-day.closed { background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(46,33,27,0.05) 4px 6px); color: var(--muted); font-weight: 400; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(46, 33, 27, 0.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(2px); }
.modal { background: var(--surface); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 22px var(--gutter) 28px; box-shadow: var(--shadow); animation: modal-in 0.22s ease; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@keyframes modal-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 24px; } .modal { border-radius: var(--radius-lg); } }

/* =========================================================
   PÁGINA DE AGENDAMENTO (clientes) — estilo papelaria, como a tabela de serviços
   ========================================================= */
.book-body { padding-bottom: 110px; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--ink-2); }

/* ---- cabeçalho: barra fina ---- */
.topnav { background: var(--surface); border-bottom: 1px solid var(--line-strong); position: sticky; top: 0; z-index: 30; }
.topnav-inner { max-width: 1120px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-mark { height: 46px; width: auto; display: block; flex: none; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* marca empilhada (login, link na bio) */
.lockup { display: grid; justify-items: center; gap: 2px; text-align: center; }
.lockup-mark { height: 76px; width: auto; margin-bottom: 4px; }
.lockup-name { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink); line-height: 1.05; }
.lockup-sub { font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-left: 0.32em; }
.topnav .ig { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; background: var(--surface); white-space: nowrap; flex: none; }
.topnav .ig:hover { background: var(--nude); border-color: var(--nude); }
.topnav .ig svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .topnav .ig span { display: none; }
  .topnav .ig { padding: 8px; }
  .brand { gap: 10px; }
  .brand-mark { height: 38px; }
  .brand-name { font-size: 1.28rem; }
  .brand-sub { letter-spacing: 0.1em; }
}

/* ---- layout ---- */
.book-layout { max-width: 1120px; margin: 0 auto; padding: 26px var(--gutter) 0; }
.book-main { min-width: 0; max-width: 620px; margin: 0 auto; }
.card-block { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: 20px; }

/* ---- passos ---- */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 15px; left: 16.6%; right: 16.6%; height: 1px; background: var(--line-strong); }
.steps li { counter-increment: s; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: grid; justify-items: center; gap: 9px; position: relative; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--muted); font-family: var(--font-body); font-size: 13.5px; font-weight: 500; }
.steps li.active { color: var(--ink); }
.steps li.active::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.done { color: var(--ink-2); }
.steps li.done::before {
  content: ''; background: var(--nude) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a281f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--nude);
}

.step-head { margin-bottom: 20px; }
.step-title { font-size: 2.1rem; font-weight: 500; margin-bottom: 4px; }
.step-sub { color: var(--muted); font-size: 14.5px; }

/* ---- serviços: lista com linha pontilhada ---- */
.cat { margin-bottom: 26px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.cat-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--nude); color: var(--ink); display: grid; place-items: center; flex: none; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-icon .cat-mark { width: 26px; height: auto; }
.cat-head h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); }
.cat-head::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); margin-left: 4px; }
.svc-list { display: grid; }
.svc { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 8px 12px 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; transition: background 0.12s ease; }
.svc:last-child { border-bottom: 0; }
.svc:hover { background: var(--surface); }
.svc.on { background: var(--surface); }
.svc .box { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; background: var(--surface); }
.svc.on .box { background: var(--ink); border-color: var(--ink); }
.svc .box svg { width: 11px; height: 11px; stroke: #fff; opacity: 0; }
.svc.on .box svg { opacity: 1; }
.svc .main { display: grid; gap: 1px; min-width: 0; }
.svc .line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.svc .name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
.svc .leader { flex: 1; min-width: 18px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.svc .price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc.on .price { color: var(--ink); }
.svc .price.label { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--ink-2); }
.svc .dur { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* ---- data e horário ---- */
.datetime-grid { display: grid; gap: 16px; }
.slots-title { display: grid; gap: 2px; margin-bottom: 12px; }
.slots-title h3 { font-size: 1.4rem; font-weight: 500; }
.slots-title span { font-size: 13px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 500; transition: all 0.12s ease; }
.slot:hover { border-color: var(--ink); background: var(--nude); }
.slot.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.slots-empty { color: var(--muted); font-size: 14px; padding: 16px; text-align: center; background: var(--surface-2); border-radius: 6px; grid-column: 1 / -1; }
.cal-day.avail { border-color: var(--line-strong); }
.cal-day.selected { background: var(--ink) !important; border-color: var(--ink) !important; }

.field .opt { color: var(--muted); font-weight: 400; }

/* ---- resumo / revisão ---- */
.review { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: 16px 18px; margin-bottom: 16px; display: grid; gap: 10px; }
.review .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.review .row span:first-child { color: var(--muted); flex: none; }
.review .row span:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.review .row.total { border-top: 1px dotted var(--line-strong); padding-top: 12px; margin-top: 2px; }
.review .row.total span:last-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.review .edit { font-size: 13.5px; color: var(--ink-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; justify-self: start; }

.done-card { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px 22px; }
.done-card .check { width: 76px; height: 76px; border-radius: 50%; background: var(--nude); color: var(--ink); display: grid; place-items: center; animation: pop 0.4s cubic-bezier(0.2, 1.3, 0.4, 1); }
.done-card .check svg { width: 34px; height: 34px; }
.done-card h2 { font-size: 2.2rem; font-weight: 500; }
.done-card .code { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-strong); padding: 5px 14px; border-radius: 999px; }
.done-card p { color: var(--muted); max-width: 40ch; }
.done-card .review { width: 100%; text-align: left; margin: 8px 0 0; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

.book-foot { text-align: center; padding: 44px var(--gutter) 20px; display: grid; gap: 6px; }
.book-foot { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.book-foot em { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink-2); text-transform: none; letter-spacing: 0; }

/* ---- barra fixa (celular) ---- */
.summary-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); box-shadow: var(--shadow-up); border-top: 1px solid var(--line-strong); padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); }
.summary-inner { max-width: 620px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.summary-inner .info { display: grid; line-height: 1.25; min-width: 0; }
.summary-inner .info strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.summary-inner .info span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-inner .acts { display: flex; gap: 8px; align-items: center; flex: none; }

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .book-body { padding-bottom: 140px; }
  .summary-inner { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .summary-inner .info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .summary-inner .info strong { font-size: 1.35rem; white-space: nowrap; }
  .summary-inner .acts { display: grid; grid-auto-flow: column; grid-auto-columns: auto; grid-template-columns: 1fr; }
  .summary-inner .acts .btn { width: 100%; }
  .summary-inner .acts:has(.js-back:not([hidden])) { grid-template-columns: auto 1fr; }
  .step-title { font-size: 1.8rem; }
  .steps { margin-bottom: 22px; }
  .steps li { font-size: 10px; letter-spacing: 0.1em; }
  .card-block { padding: 14px; }
  .cal-week, .cal-grid { gap: 3px; }
  .cal-day { font-size: 14.5px; border-radius: 10px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc .name { font-size: 1.08rem; }
  .done-card h2 { font-size: 1.8rem; }
}

/* ---- painel lateral (desktop) ---- */
.book-side { display: none; }
.side-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; padding: 24px; display: grid; gap: 16px; position: relative; }
.side-card::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.side-title { font-size: 1.5rem; font-weight: 600; }
.side-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-services li { display: flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--ink); }
.side-services li::after { content: ''; order: 2; flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.side-services li span:first-child { order: 1; }
.side-services li span:last-child { order: 3; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.side-services li.empty { color: var(--muted); font-size: 14px; }
.side-services li.empty::after { display: none; }
.side-rows { margin: 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.side-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.side-rows dt { color: var(--muted); }
.side-rows dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.side-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.side-total span { color: var(--muted); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.side-total strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); }
.side-actions { display: grid; gap: 8px; }
.side-actions .btn { width: 100%; }
.side-how { margin-top: 24px; padding: 4px 6px; display: grid; gap: 12px; }
.side-how h3 { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.side-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: h; }
.side-how li { counter-increment: h; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.35; }
.side-how li::before { content: counter(h); width: 26px; height: 26px; border-radius: 50%; background: var(--nude); color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.side-how li strong { display: block; color: var(--ink); font-weight: 500; font-size: 14px; }
.side-how li span { color: var(--muted); font-size: 13px; }

@media (min-width: 900px) {
  .book-body { padding-bottom: 40px; }
  .book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 44px; align-items: start; padding-top: 34px; }
  .book-main { max-width: none; margin: 0; }
  .book-side { display: block; position: sticky; top: 88px; }
  .summary-bar { display: none !important; }
  .only-mobile { display: none !important; }
  .steps { max-width: 520px; margin-bottom: 34px; }
  .step-title { font-size: 2.4rem; }
  .svc-list { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .svc:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .datetime-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .form-grid.card-block { padding: 26px; }
}
@media (min-width: 1100px) {
  .book-layout { column-gap: 60px; grid-template-columns: minmax(0, 1fr) 350px; }
}

/* =========================================================
   ÁREA DA NAIL DESIGNER
   ========================================================= */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: var(--gutter); }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow); display: grid; gap: 18px; text-align: center; }
.login-card h1 { font-size: 1.9rem; }
.login-card .sub { color: var(--muted); font-size: 14px; }
.login-card .field { text-align: left; }

.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 252, 249, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .brand-mini { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.topbar .brand-mini .logo-wide { height: 46px; width: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar .brand-mini .logo-wrap { width: 40px; height: 40px; border-radius: 50%; background: #fdfcfa; border: 1.5px solid var(--line-strong); overflow: hidden; display: grid; place-items: center; }
.topbar .brand-mini .logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.topbar .brand-mini .monogram { font-family: var(--font-display); font-size: 1rem; }
.topbar .brand-mini h1 { font-size: 1.2rem; }
.topbar .brand-mini small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.tabs button.active { background: var(--ink); color: #fff; }
.tabs .badge { background: var(--warn); color: #fff; font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; }
.tabs button.active .badge { background: #fff; color: var(--ink); }
.topbar .brand-mini .brand-mark { height: 40px; width: auto; }
.topbar .brand-mini h1 { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar { backdrop-filter: none; background: var(--surface); }
  .topbar .brand-mini h1 { font-size: 1.1rem; }
  .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-radius: 0; gap: 2px;
    padding: 6px 6px max(6px, env(safe-area-inset-bottom)); background: var(--surface);
    border-top: 1px solid var(--line-strong); box-shadow: var(--shadow-up);
  }
  .tabs button { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 2px; font-size: 12.5px; position: relative; border-radius: 12px; }
  .tabs .badge { position: absolute; top: 2px; right: 4px; }
  .admin-main { padding-bottom: 110px; }
}

.admin-main { max-width: 1180px; width: 100%; margin: 0 auto; padding-inline: var(--gutter); padding-block: 22px 60px; }
@media (max-width: 480px) { .admin-main { padding-top: 14px; } .panel { padding: 16px 14px; border-radius: var(--radius); } .panel-head h2 { font-size: 1.35rem; } .appt { grid-template-columns: 52px 1fr; gap: 10px; padding: 12px; } }
.agenda-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .agenda-layout { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.55rem; }
.panel-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

.day-list { display: grid; gap: 10px; }
.day-empty { color: var(--muted); text-align: center; padding: 28px 10px; font-size: 14.5px; background: var(--surface-2); border-radius: var(--radius-sm); }
.appt { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface); position: relative; }
.appt.pending { border-color: var(--warn); }
.appt.cancelled { opacity: 0.55; }
.appt .time { display: grid; align-content: start; font-variant-numeric: tabular-nums; line-height: 1.2; }
.appt .time strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--ink); }
.appt .time span { font-size: 12.5px; color: var(--muted); }
.appt .body { display: grid; gap: 6px; min-width: 0; }
.appt .who { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.appt .who strong { font-size: 16px; color: var(--ink); font-weight: 500; }
.appt .svcs { font-size: 14px; color: var(--ink-2); }
.appt .meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.appt .notes { font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); border-left: 3px solid var(--gold); padding: 6px 10px; border-radius: 0 6px 6px 0; }
.appt .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.appt.block { background: repeating-linear-gradient(135deg, var(--surface) 0 6px, var(--surface-2) 6px 8px); }
.pending-list { display: grid; gap: 10px; }

.svc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.svc-table th { text-align: left; font-weight: 600; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.svc-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.svc-table input, .svc-table select { width: 100%; min-height: 40px; padding: 6px 10px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); }
.svc-table input:focus { border-color: var(--accent); outline: none; }
.svc-table .switch input { width: 0; height: 0; min-height: 0; padding: 0; border: 0; }
.svc-table input[type='number'] { max-width: 100px; }
.svc-table .row-acts { display: flex; gap: 6px; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin-inline: -8px; }
.table-wrap .svc-table { min-width: 720px; }
@media (max-width: 760px) {
  .table-wrap { overflow: visible; margin-inline: 0; }
  .table-wrap .svc-table { min-width: 0; }
  .svc-table thead { display: none; }
  .svc-table, .svc-table tbody, .svc-table tr, .svc-table td { display: block; }
  .svc-table tbody { display: grid; gap: 12px; }
  .svc-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .svc-table td { padding: 0; border: 0; display: grid; gap: 4px; }
  .svc-table td::before { content: attr(data-label); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .svc-table td.wide { grid-column: 1 / -1; }
  .svc-table td.acts-cell { grid-column: 1 / -1; }
  .svc-table td.acts-cell::before { display: none; }
  .svc-table input[type='number'] { max-width: none; }
  .svc-table .row-acts .btn { flex: 1; }
}

.hours-grid { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: auto 92px 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.hours-row .day { font-weight: 500; color: var(--ink); text-transform: capitalize; }
.hours-row input[type='time'] { min-height: 40px; padding: 4px 8px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; min-width: 0; }
.hours-row.off input[type='time'] { opacity: 0.4; }
.hours-row .sep { color: var(--muted); font-size: 13px; }
@media (max-width: 480px) {
  .hours-row { grid-template-columns: auto 1fr; }
  .hours-row .switch { grid-row: 1; grid-column: 1; }
  .hours-row .day { grid-row: 1; grid-column: 2; }
  .hours-row input[type='time'] { grid-column: 1 / -1; }
  .hours-row .sep { display: none; }
}

.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--ink); }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.inline-note { font-size: 13px; color: var(--muted); }

/* ---------- aba Horários ---------- */
.hours-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.hours-layout > #rules-form { grid-column: 1 / -1; }
.subtabs { display: none; }
@media (max-width: 900px) {
  .hours-layout { grid-template-columns: 1fr; gap: 14px; }
  .subtabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; }
  .subtabs button { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
  .subtabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
  .hours-layout > [data-sub] { display: none; }
  .hours-layout[data-sub=week] > [data-sub=week],
  .hours-layout[data-sub=dates] > [data-sub=dates],
  .hours-layout[data-sub=rules] > [data-sub=rules] { display: block; }
}
.panel-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
@media (max-width: 480px) { .panel-foot .btn { width: 100%; } }

.week-grid { display: grid; }
.week-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.week-row:last-child { border-bottom: 0; }
.week-day { min-height: 40px; }
.week-day .day { font-weight: 500; color: var(--ink); text-transform: capitalize; }
.week-row .closed-note { display: none; align-self: center; }
.week-row.off .ranges-wrap { display: none; }
.week-row.off .closed-note { display: block; padding-top: 10px; }
@media (max-width: 520px) {
  .week-row { grid-template-columns: 96px minmax(0, 1fr); gap: 6px; padding: 8px 0; }
  .week-day { gap: 8px; }
  .week-day .track { width: 36px; height: 22px; }
  .week-day .track::after { width: 16px; height: 16px; }
  .week-day input:checked + .track::after { transform: translateX(14px); }
  .week-day .day { font-size: 14.5px; }
  .week-row.off .closed-note { padding-top: 8px; }
}

.ranges-wrap { display: grid; gap: 4px; justify-items: start; }
.ranges { display: grid; gap: 6px; width: 100%; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 32px; gap: 6px; align-items: center; }
.add-range { border: 0; background: none; padding: 4px 2px; font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.range input[type='time'] { min-height: 38px; padding: 4px 8px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; min-width: 0; font-variant-numeric: tabular-nums; }
.range input[type='time']:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.range .sep { color: var(--muted); font-size: 13px; }
.range-del { width: 32px; height: 32px; font-size: 18px; border-color: transparent; background: transparent; color: var(--muted); }
.range-del:hover { background: var(--bad-bg); color: var(--bad); }

.choices { display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--accent-tint); }
.choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--ink); }
.choice strong { display: block; color: var(--ink); font-weight: 500; }
.choice small { display: block; color: var(--muted); font-size: 13px; }

.special-list { display: grid; gap: 8px; margin-top: 18px; }
.special-list:empty { display: none; }
.special-title { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.special-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.special-item:hover { border-color: var(--gold); }
.special-date { color: var(--ink); font-weight: 500; }
.special-hours { color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; }
.special-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

.login-title { font-size: 1.4rem; }

/* =========================================================
   LINK NA BIO (/links)
   ========================================================= */
.links-page { min-height: 100vh; display: grid; align-content: start; justify-items: center; padding: 40px var(--gutter) 40px; }
.links-card { width: 100%; max-width: 440px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.links-card .lockup { margin-bottom: 10px; }
.links-card .lockup-mark { height: 92px; }
.links-card .bio { color: var(--ink-2); font-size: 15px; max-width: 34ch; margin-bottom: 8px; }
.links-card .eyebrow { margin-top: -6px; }
.link-list { width: 100%; display: grid; gap: 12px; margin-top: 8px; }
.link {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 18px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: 15.5px; transition: transform 0.12s ease, background 0.12s ease;
  text-align: left;
}
.link:hover { background: var(--nude); transform: translateY(-1px); }
.link.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.link.primary:hover { background: var(--accent-ink); }
.link .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--nude); color: var(--ink); display: grid; place-items: center; flex: none; }
.link.primary .ico { background: rgba(255,255,255,0.14); color: #fff; }
.link .ico svg { width: 18px; height: 18px; }
.link .txt { display: grid; line-height: 1.2; min-width: 0; }
.link .txt small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.link.primary .txt small { color: rgba(255,255,255,0.75); }
.link .arrow { margin-left: auto; color: var(--muted); }
.link.primary .arrow { color: rgba(255,255,255,0.7); }
.link .arrow svg { width: 16px; height: 16px; }

details.prices { width: 100%; }
details.prices summary { list-style: none; cursor: pointer; }
details.prices summary::-webkit-details-marker { display: none; }
details.prices[open] .link .arrow svg { transform: rotate(90deg); }
.price-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 20px; margin-top: 10px; text-align: left; display: grid; gap: 14px; }
.price-box h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.price-box .row { display: flex; align-items: baseline; gap: 8px; font-size: 15px; padding: 3px 0; }
.price-box .row .lead { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); min-width: 16px; }
.price-box .row .v { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.price-box .row .v.lbl { font-style: italic; font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.links-foot { margin-top: 26px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.links-foot em { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink-2); text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.price-box .row small.dur { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 380px) {
  .links-page { padding-top: 28px; }
  .link { padding: 10px 14px; gap: 12px; }
  .price-box { padding: 16px 14px; }
}
@media (max-width: 520px) {
  .range input[type='time'] { padding: 4px 4px; text-align: center; font-size: 15px; }
  .range input[type='time']::-webkit-calendar-picker-indicator { display: none; }
  .range { gap: 4px; }
}
.force-btn { margin-left: 8px; }
.privacy-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Números de preço/total na fonte do texto: a fonte decorativa só tem números "antigos" (o 1 parece i). */
.svc .price:not(.label), .side-services li span:last-child, .side-total strong, .summary-inner .info strong,
.review .row.total span:last-child, .price-box .row .v:not(.lbl) { font-family: var(--font-body); font-weight: 500; letter-spacing: -0.01em; }
.svc .price:not(.label) { font-size: 1.02rem; }
.side-total strong { font-size: 1.65rem; }
.summary-inner .info strong { font-size: 1.25rem; }
.review .row.total span:last-child { font-size: 1.3rem; }
.price-box .row .v:not(.lbl) { font-size: 1rem; }

/* =========================================================
   REDESENHO "NUDE SOFISTICADO"
   Camada final de estilo: sobrepõe os componentes acima com a identidade nova.
   ========================================================= */

/* ---- base e botões ---- */
.btn { box-shadow: 0 6px 16px -8px rgba(46, 33, 27, 0.45); }
.btn:hover { background: #46332a; border-color: #46332a; }
.btn-ghost, .btn-soft, .btn-danger { box-shadow: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--accent-tint); border-color: var(--accent); }
.btn-soft { background: var(--accent-tint); color: var(--accent-ink); }
.btn-soft:hover { background: var(--accent-soft); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-wa { box-shadow: 0 6px 16px -8px rgba(29, 138, 77, 0.6); }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn:disabled { box-shadow: none; }
.field input, .field select, .field textarea { border-width: 1px; border-color: var(--line-strong); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.eyebrow, .step-eyebrow { color: var(--accent-ink); }

/* ---- calendário ---- */
.cal-title { font-size: 1.6rem; font-weight: 500; }
.cal-day.avail { background: #fff; border: 1px solid var(--line-strong); }
.cal-day.avail:hover { background: var(--accent-tint); border-color: var(--accent); }
.cal-day.selected { box-shadow: 0 8px 18px -8px rgba(46, 33, 27, 0.6); }
.cal-day.today::after { background: var(--accent); }
.cal-nav button:hover:not(:disabled) { background: var(--accent-tint); border-color: var(--accent); }

/* =========================================================
   Página de agendamento
   ========================================================= */
.book-body {
  background:
    radial-gradient(900px 420px at 100% -8%, rgba(239, 217, 207, 0.85), transparent 65%),
    radial-gradient(700px 380px at -10% 18%, rgba(233, 218, 198, 0.55), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.topnav { background: rgba(255, 251, 248, 0.86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.topnav .ig { border-color: var(--line-strong); }
.topnav .ig:hover { background: var(--accent-tint); border-color: var(--accent); }
.brand-sub { color: var(--accent-ink); }

/* passos */
.steps::before { background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft)); }
.steps li::before { background: #fff; border-color: var(--line-strong); }
.steps li.active::before { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px var(--accent-tint); }
.steps li.done::before { background-color: var(--accent-soft); border-color: var(--accent-soft); }

.step-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.step-title { font-weight: 500; letter-spacing: -0.01em; }

/* categorias em cartões */
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 16px 6px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.cat-head { margin-bottom: 4px; }
.cat-icon { background: var(--accent-tint); color: var(--accent-ink); width: 42px; height: 42px; }
.cat-head h3 { font-size: 1.1rem; letter-spacing: 0.28em; }
.cat-head::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.svc { border-radius: var(--radius-sm); border-bottom-color: var(--line); padding: 12px 10px; }
.svc:hover { background: var(--accent-tint); }
.svc.on { background: var(--accent-tint); }
.svc .box { border-color: var(--line-strong); background: #fff; width: 22px; height: 22px; }
.svc.on .box { background: var(--accent-ink); border-color: var(--accent-ink); }
.svc .leader { border-bottom-color: var(--gold-soft); }

/* data, horários e formulário */
.card-block { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.slot { border-color: var(--line-strong); background: #fff; }
.slot:hover { background: var(--accent-tint); border-color: var(--accent); }
.slot.on { background: var(--ink); border-color: var(--ink); box-shadow: 0 8px 18px -8px rgba(46, 33, 27, 0.6); }
.slots-empty { background: var(--accent-tint); border-radius: var(--radius-sm); }
.review { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.review .row.total { border-top-color: var(--gold-soft); }

/* painel lateral */
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; overflow: hidden; }
.side-card::before { inset: 0 0 auto 0; height: 4px; border: 0; border-radius: 0; background: linear-gradient(90deg, var(--accent-soft), var(--gold), var(--accent-soft)); }
.side-title { font-weight: 500; }
.side-services li::after { border-bottom-color: var(--gold-soft); }
.side-total { border-top-color: var(--gold-soft); }
.side-how li::before { background: var(--accent-tint); color: var(--accent-ink); }

/* barra do celular */
.summary-bar { background: rgba(255, 251, 248, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; }

/* confirmação */
.done-card { padding: 34px 22px; }
.done-card .check { background: radial-gradient(circle at 30% 30%, #fff, var(--accent-soft)); color: var(--accent-ink); box-shadow: 0 0 0 8px var(--accent-tint); }
.done-card .code { border-color: var(--gold); color: var(--accent-ink); }

.book-foot em { color: var(--accent-ink); }

/* =========================================================
   Link na bio
   ========================================================= */
.links-page {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 360px at 50% -6%, rgba(239, 217, 207, 0.95), transparent 70%),
    radial-gradient(500px 400px at 110% 100%, rgba(233, 218, 198, 0.6), transparent 65%),
    var(--bg);
}
.links-page::before {
  content: ''; position: absolute; width: 420px; height: 380px; right: -150px; top: 38%;
  background: url('/logo-mark.svg') center / contain no-repeat; opacity: 0.06; transform: rotate(-12deg); pointer-events: none;
}
.links-card { position: relative; }
.links-card .lockup-name { font-size: 2.4rem; font-weight: 500; }
.links-card .lockup-sub { color: var(--accent-ink); }
.links-card .eyebrow { color: var(--muted); }
.link { border: 1px solid var(--line); background: rgba(255, 251, 248, 0.92); box-shadow: var(--shadow-sm); border-radius: 20px; min-height: 64px; }
.link:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }
.link .ico { background: var(--accent-tint); color: var(--accent-ink); }
.link.primary { background: var(--ink); border-color: var(--ink); box-shadow: 0 14px 30px -14px rgba(46, 33, 27, 0.75); }
.link.primary:hover { background: #46332a; }
.link.primary .ico { background: rgba(239, 217, 207, 0.18); color: var(--accent-soft); }
.price-box { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.price-box h4 { color: var(--accent-ink); }
.price-box .row .lead { border-bottom-color: var(--gold-soft); }
.links-foot em { color: var(--accent-ink); }

/* =========================================================
   Login
   ========================================================= */
.login-page {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(239, 217, 207, 0.95), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.login-page::before {
  content: ''; position: absolute; width: 520px; height: 470px; left: -180px; bottom: -120px;
  background: url('/logo-mark.svg') center / contain no-repeat; opacity: 0.07; transform: rotate(14deg); pointer-events: none;
}
.login-card { position: relative; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 38px 30px 32px; overflow: hidden; }
.login-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent-soft), var(--gold), var(--accent-soft)); }
.login-card .lockup-name { font-size: 1.9rem; font-weight: 500; }
.login-card .lockup-sub { color: var(--accent-ink); }
.login-card .login-title { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-2); }
.login-card .sub { display: none; }

/* =========================================================
   Área da admin
   ========================================================= */
.admin-shell { background: radial-gradient(900px 400px at 100% -10%, rgba(239, 217, 207, 0.7), transparent 65%), var(--bg); }
.topbar { background: rgba(255, 251, 248, 0.9); border-bottom-color: var(--line); }
.topbar .brand-mini small { color: var(--accent-ink); }
.tabs { background: var(--surface-2); }
.tabs button:hover:not(.active) { color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.tabs .badge { background: var(--accent-ink); }
.panel { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel-head h2 { font-weight: 500; }

/* agendamentos com faixa de status à esquerda */
.appt { border: 1px solid var(--line); border-left: 4px solid var(--line-strong); background: #fff; border-radius: var(--radius); }
.appt.pending { border-color: var(--line); border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-bg), #fff 40%); }
.appt.confirmed { border-left-color: var(--ok); }
.appt.done { border-left-color: var(--info); }
.appt.cancelled { border-left-color: var(--bad); }
.appt.block { border-left-color: var(--gold); }
.appt .time strong { font-family: var(--font-body); font-weight: 500; font-size: 1.15rem; }
.appt .notes { border-left-color: var(--accent); background: var(--accent-tint); }
.day-empty { background: var(--accent-tint); color: var(--accent-ink); }

.switch input:checked + .track { background: var(--accent-ink); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.choice input { accent-color: var(--accent-ink); }
.special-item:hover { border-color: var(--accent); }
.svc-table tr { border-color: var(--line); }
.subtabs { background: var(--surface-2); }

@media (max-width: 760px) {
  .tabs { background: rgba(255, 251, 248, 0.96); border-top-color: var(--line); }
  .tabs button.active { background: var(--accent-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent-soft); }
  .tabs button.active .badge { background: var(--accent-ink); color: #fff; }
}

/* =========================================================
   Páginas de apoio: privacidade, meu horário, 404 e rodapé
   ========================================================= */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; }
.foot-links a { color: var(--accent-ink); text-decoration: none; letter-spacing: 0.08em; font-size: 11.5px; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.links-card .foot-links { margin-top: 2px; }

.doc-page { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 10px; display: grid; gap: 16px; }
.doc { padding: 28px; }
.doc h1 { font-size: 2.2rem; font-weight: 500; margin-bottom: 10px; }
.doc h2 { font-size: 1.35rem; font-weight: 600; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.doc ul { padding-left: 20px; margin: 6px 0; display: grid; gap: 4px; }
.doc a:not(.btn) { color: var(--accent-ink); text-underline-offset: 3px; }
.doc-back { margin-top: 26px; }
@media (max-width: 480px) { .doc { padding: 20px 16px; } .doc h1 { font-size: 1.8rem; } }

.my-card { display: grid; gap: 14px; }
.my-card .step-title { margin-bottom: 0; }
.status-tag { justify-self: start; }

.cal-save { width: 100%; display: grid; gap: 8px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--accent-tint); }
.cal-save-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); text-align: center; }
.cal-save-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-save-btns .btn { width: 100%; }
@media (max-width: 360px) { .cal-save-btns { grid-template-columns: 1fr; } }
.done-link { background: none; border: 0; padding: 4px; color: var(--accent-ink); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }

.notfound .sub { display: block; }
.notfound .lockup-name { font-size: 1.8rem; }
a.btn { text-decoration: none; }
.cal-save-btns .btn { white-space: nowrap; padding-inline: 10px; font-size: 13.5px; }
