/* Barbearia Master — preto e dourado. Base compartilhada (cliente + painel). */
:root {
  --bg: #090807;
  --bg-2: #0e0d0b;
  --card: #13110e;
  --card-2: #1a1713;
  --line: rgba(212, 170, 80, 0.14);
  --line-2: rgba(212, 170, 80, 0.26);
  --text: #f2ead8;
  --muted: #9a917f;
  --y: #d9ad4a;          /* dourado principal */
  --y-2: #f1d283;        /* dourado claro */
  --y-dark: #9c7420;
  --y-soft: rgba(217, 173, 74, 0.1);
  --gold: linear-gradient(135deg, #f8e7a1 0%, #e2b955 32%, #b8862b 64%, #f0d27e 100%);
  --gold-flat: linear-gradient(180deg, #ecc964 0%, #c9952f 100%);
  --ok: #58c98a;
  --ok-soft: rgba(88, 201, 138, 0.12);
  --bad: #e26b5f;
  --bad-soft: rgba(226, 107, 95, 0.12);
  --radius: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--y-2); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
::selection { background: var(--y); color: #000; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--y);
}
.display { font-family: var(--display); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ornamento: linha — losango — linha */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--y); }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--y)); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 7px; height: 7px; background: var(--y); transform: rotate(45deg); display: block; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); border: 0; margin: 0; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--card-2); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: transform 0.08s, background 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap; text-decoration: none; letter-spacing: 0.01em;
}
.btn:hover { border-color: rgba(217, 173, 74, 0.5); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
  background: var(--gold-flat); border-color: #e3b84f; color: #1a1205; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 20px rgba(201, 149, 47, 0.18);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 26px rgba(201, 149, 47, 0.32); border-color: var(--y-2); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--card-2); border-color: var(--line); }
.btn-outline { background: transparent; border-color: var(--y); color: var(--y-2); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; font-weight: 700; }
.btn-outline:hover { background: var(--y-soft); }
.btn-wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-wa:hover { background: #22ad5e; border-color: #22ad5e; }
.btn-danger { background: transparent; border-color: rgba(226, 107, 95, 0.4); color: var(--bad); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #05210f; font-weight: 700; }
.btn-sm { min-height: 34px; padding: 0 12px; border-radius: 7px; font-size: 13px; }
.btn-primary.btn-sm { font-size: 11.5px; }
.btn-lg { min-height: 52px; padding: 0 28px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--card); cursor: pointer; color: var(--text);
}
.icon-btn:hover { border-color: var(--y); color: var(--y-2); }

/* Formulários */
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.12em; text-transform: uppercase; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 84px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5f584b; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 3px var(--y-soft); }
input[type='checkbox'] { width: 18px; height: 18px; min-height: 0; accent-color: var(--y); }
input[type='date'], input[type='time'] { color-scheme: dark; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 12px; }

/* Cartões e etiquetas */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text);
}
.chip-y { background: var(--y-soft); border-color: rgba(217, 173, 74, 0.4); color: var(--y-2); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid transparent; white-space: nowrap; }
.st-agendado { background: var(--y-soft); color: var(--y-2); border-color: rgba(217, 173, 74, 0.35); }
.st-concluido { background: var(--ok-soft); color: var(--ok); border-color: rgba(88, 201, 138, 0.3); }
.st-cancelado { background: var(--bad-soft); color: var(--bad); border-color: rgba(226, 107, 95, 0.3); }
.st-faltou { background: rgba(230, 150, 70, 0.12); color: #e9a05a; border-color: rgba(230, 150, 70, 0.3); }
.hot {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--y-2);
  border: 1px solid rgba(217, 173, 74, 0.5); padding: 1px 7px; border-radius: 4px; background: var(--y-soft);
}

.avatar { border-radius: 50%; object-fit: cover; flex: none; border: 1.5px solid var(--y); box-shadow: 0 0 0 3px rgba(217, 173, 74, 0.12); }
.avatar-mono {
  display: inline-grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2a241a, #0e0c09); color: var(--y-2);
  font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; border: 1.5px solid var(--y);
}

/* Abas */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; color: var(--muted); font-weight: 700; cursor: pointer; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--y-2); border-bottom-color: var(--y); }

/* Toast e modal */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #1b1712; color: var(--text); border: 1px solid var(--y); font-weight: 600; padding: 13px 20px; border-radius: 10px; z-index: 300;
  box-shadow: var(--shadow); transition: 0.25s; max-width: calc(100% - 32px); text-align: center; font-size: 14px;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { #toast { bottom: 90px; } }
.modal-bg {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(3px); z-index: 200; display: flex; align-items: flex-end; justify-content: center;
  animation: fade 0.15s;
}
.modal {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 18px 18px 0 0; width: 100%; max-width: 560px;
  max-height: 92vh; overflow: auto; padding: 22px; animation: up 0.2s; box-shadow: var(--shadow);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; color: var(--y-2); }
.modal-foot { display: flex; gap: 10px; margin-top: 18px; }
.modal-foot .btn { flex: 1; }
@media (min-width: 640px) {
  .modal-bg { align-items: center; padding: 20px; }
  .modal { border-radius: 16px; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }

/* Pix */
.pix-box { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg-2); }
.pix-qr { display: grid; place-items: center; margin: 14px auto; padding: 10px; background: #fff; border-radius: 10px; width: fit-content; }
.pix-code {
  font: 12px/1.4 ui-monospace, Menlo, monospace; word-break: break-all; background: var(--card); border: 1px dashed var(--line-2);
  padding: 10px; border-radius: 8px; margin-bottom: 12px; color: var(--muted); max-height: 80px; overflow: auto; text-align: left;
}
.empty { text-align: center; padding: 38px 16px; color: var(--muted); }
.empty .ic { color: var(--line-2); margin-bottom: 8px; }
.spinner { width: 26px; height: 26px; border: 2px solid var(--line-2); border-top-color: var(--y); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Logo */
.logo-img { object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }

/* ============================================================ PÁGINA DO CLIENTE */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(9, 8, 7, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 14px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--font); font-size: 9.5px; letter-spacing: 0.4em; color: var(--muted); font-weight: 600; }
.top-nav { margin-left: auto; display: flex; gap: 2px; }
.top-nav button {
  background: none; border: 0; padding: 10px 14px; color: var(--muted); font-weight: 700; cursor: pointer; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; position: relative;
}
.top-nav button:hover { color: var(--text); }
.top-nav button.active { color: var(--y-2); }
.top-nav button.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--y); }
@media (max-width: 640px) {
  /* sem backdrop-filter no cabeçalho: ele prenderia o menu fixo dentro dele */
  .site-header { backdrop-filter: none; background: var(--bg); }
  .site-header .inner { justify-content: center; min-height: 58px; }
  .top-nav {
    position: fixed; bottom: 0; left: 0; right: 0; background: rgba(12, 11, 9, 0.97); border-top: 1px solid var(--line-2);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; z-index: 60; backdrop-filter: blur(10px);
  }
  .top-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; flex: 1; letter-spacing: 0.14em; padding: 8px 4px; }
  .top-nav button.active::after { display: none; }
  body.site { padding-bottom: 72px; }
}
@media (min-width: 641px) { .top-nav .ic { display: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
body.at-home .brand { visibility: hidden; }

/* Abertura: só logo, nome, uma frase e um botão */
.hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: calc(100svh - 67px); display: flex; align-items: center;
  background: radial-gradient(ellipse 60% 50% at 50% 35%, rgba(217, 173, 74, 0.13), transparent 70%), var(--bg);
}
.hero .wrap { width: 100%; padding-top: 40px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { margin-bottom: 26px; }
.hero-logo img { max-height: 200px; width: auto; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 6vw, 52px); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.hero p.lead { color: #b9af9a; font-size: 16px; max-width: 420px; margin: 12px auto 34px; }
.hero p.lead:empty { margin-top: 0; }
.hero .btn-lg { min-width: 240px; min-height: 56px; font-size: 13px; }
.hero-info { margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .hero { min-height: calc(100svh - 58px - 72px); }
  .hero-logo img { max-height: 150px; }
  .hero .btn-lg { width: 100%; max-width: 320px; }
}

.section { padding: 30px 0 40px; }
.section-title { text-align: center; margin-bottom: 18px; }
.section-title h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Agendamento: coluna estreita, uma pergunta por tela */
.booking { max-width: 620px; padding-top: 22px; padding-bottom: 10px; min-height: 60vh; }
.steps { display: flex; gap: 6px; margin: 0 0 26px; }
.steps .s { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); transition: background 0.3s; }
.steps .s.on { background: var(--y); }
.step-head { margin-bottom: 22px; text-align: center; }
.step-head h2 { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: 0.04em; }
.step-head p { color: var(--muted); margin: 6px 0 0; font-size: 14px; }
.booking .tabs { justify-content: center; margin-bottom: 16px; }

.barber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .barber-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.barber-card {
  position: relative; text-align: center; padding: 30px 12px 24px; border-radius: 14px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #17140f, var(--card)); cursor: pointer; transition: 0.2s;
}
.barber-card:hover { border-color: rgba(217, 173, 74, 0.55); transform: translateY(-2px); }
.barber-card.sel { border-color: var(--y); box-shadow: 0 0 0 1px var(--y), 0 14px 40px rgba(217, 173, 74, 0.14); }
.barber-card .avatar { margin: 0 auto 14px; }
.barber-card h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; }
.barber-card p { color: var(--muted); font-size: 13px; margin: 6px 0 0; line-height: 1.45; }
.barber-card .pick-lbl { display: inline-block; margin-top: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--y); }
.barber-card .tick {
  position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-flat); color: #1a1205;
  display: none; place-items: center;
}
.barber-card.sel .tick { display: grid; }

.item-list { display: grid; gap: 10px; }
@media (min-width: 900px) { #view-catalogo .item-list { grid-template-columns: 1fr 1fr; } }
.item {
  display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; transition: 0.2s; text-align: left; width: 100%;
}
.item:hover { border-color: var(--line-2); background: #16130f; }
.item.sel { border-color: var(--y); background: linear-gradient(90deg, rgba(217, 173, 74, 0.09), var(--card) 75%); }
.item.off { opacity: 0.45; cursor: not-allowed; }
.thumb {
  width: 58px; height: 58px; border-radius: 10px; flex: none; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, #221d15, #0f0d0a); color: var(--y); border: 1px solid var(--line-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item .info { flex: 1; min-width: 0; }
.item .name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.item .desc { color: var(--muted); font-size: 13px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.item .meta { display: flex; gap: 12px; align-items: center; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.item .price { color: var(--y-2); font-weight: 800; font-size: 15px; }
.item .pick {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: 0.2s;
}
.item.sel .pick { background: var(--gold-flat); border-color: var(--y-2); color: #1a1205; }

.qty { display: flex; align-items: center; gap: 6px; flex: none; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card-2); display: grid; place-items: center; cursor: pointer; color: var(--text); }
.qty button:hover { border-color: var(--y); }
.qty button.add { background: var(--gold-flat); border-color: var(--y-2); color: #1a1205; }
.qty span { min-width: 20px; text-align: center; font-weight: 800; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; scroll-snap-type: x mandatory; }
.day {
  flex: none; width: 66px; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card);
  text-align: center; cursor: pointer; scroll-snap-align: start; transition: 0.2s; color: var(--text);
}
.day:hover:not(:disabled) { border-color: var(--y); }
.day small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.days { margin-bottom: 18px; }
.day b { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.25; }
.day.sel { border-color: var(--y-2); background: var(--gold-flat); color: #1a1205; box-shadow: 0 8px 22px rgba(217, 173, 74, 0.2); }
.day.sel small { color: #4d3a0f; }
.day.off { opacity: 0.3; cursor: not-allowed; }
.slots-label { margin: 22px 0 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  padding: 11px 0; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); font-weight: 700; cursor: pointer; text-align: center; color: var(--text);
  font-variant-numeric: tabular-nums; transition: 0.15s;
}
.slot:hover:not(:disabled) { border-color: var(--y); color: var(--y-2); }
.slot.sel { background: var(--gold-flat); border-color: var(--y-2); color: #1a1205; }
.slot:disabled { opacity: 0.22; text-decoration: line-through; cursor: not-allowed; }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--y-soft); border: 1px solid rgba(217, 173, 74, 0.28); color: #e9d6a3; font-size: 14px; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay {
  display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card);
  cursor: pointer; font-weight: 700; text-align: left; color: var(--text); transition: 0.2s; font-size: 14px;
}
.pay:hover { border-color: rgba(217, 173, 74, 0.55); }
.pay .ic { color: var(--y); }
.pay.sel { border-color: var(--y); background: var(--y-soft); box-shadow: 0 0 0 1px var(--y); }

.summary-box { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--card); }
.summary-box .head { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(217, 173, 74, 0.12), transparent); }
.summary-box .head b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.08em; color: var(--y-2); }
.summary-box .head span { color: #c9bfa9; font-size: 13.5px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; font-size: 14px; color: #d6ccb6; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-top: 1px solid var(--line-2); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.sum-total span:last-child { font-size: 22px; letter-spacing: 0; color: var(--y-2); font-family: var(--display); }

.form-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }

.book-bar {
  position: sticky; bottom: 0; z-index: 40; margin-top: 26px; background: rgba(12, 11, 9, 0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2); padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
}
@media (max-width: 640px) { .book-bar { bottom: 64px; } }
.book-bar .wrap { display: flex; align-items: center; gap: 14px; }
.book-bar .tot { flex: 1; min-width: 0; }
.book-bar .tot b { display: block; font-size: 20px; color: var(--y-2); font-family: var(--display); font-weight: 700; }
.book-bar .tot small { color: var(--muted); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ticket {
  position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; max-width: 540px; margin: 10px auto 0;
  box-shadow: var(--shadow);
}
.ticket::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 12px; pointer-events: none; }
.ticket .top { padding: 30px 22px 22px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(217, 173, 74, 0.18), transparent 70%); }
.ticket .top .check-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-flat); color: #1a1205; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 10px 30px rgba(217, 173, 74, 0.3); }
.ticket .top h2 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket .top .lbl { color: var(--muted); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 14px; }
.ticket .code { font: 700 22px/1.2 ui-monospace, Menlo, monospace; letter-spacing: 0.3em; margin-top: 4px; color: var(--y-2); }
.ticket .body { padding: 6px 24px 26px; position: relative; }
.ticket .when { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); margin-bottom: 12px; }
.ticket .when .big { font-family: var(--display); font-size: 38px; font-weight: 700; line-height: 1; }
.ticket .sum-line { padding: 6px 0; }
.ticket .sum-total { padding: 14px 0 6px; }
.ticket-actions { display: grid; gap: 10px; margin-top: 18px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: 0.2s; }
.cat-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cat-card .img { aspect-ratio: 4/3; background: radial-gradient(circle at 50% 40%, #221d15, #0d0b09); display: grid; place-items: center; color: var(--y); border-bottom: 1px solid var(--line); }
.cat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .c { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card .c h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cat-card .c p { color: var(--muted); font-size: 13px; margin: 0; flex: 1; line-height: 1.5; }
.cat-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cat-card .foot .price { color: var(--y-2); font-weight: 700; font-size: 18px; font-family: var(--display); }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 36px; color: var(--muted); font-size: 13px; text-align: center; }
.site-footer .links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 16px 0 14px; }
.site-footer a { color: #c9bfa9; display: inline-flex; align-items: center; gap: 6px; }
.site-footer a:hover { color: var(--y-2); }

/* Resumo de uma linha, links discretos e comprovante enxuto */
.recap { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--y-soft); margin-bottom: 22px; }
.recap b { display: block; font-size: 15px; }
.recap span { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 380px; }
.recap div { min-width: 0; }
.recap strong { font-family: var(--display); color: var(--y-2); font-size: 20px; white-space: nowrap; }
.field-label { font-size: 11.5px; font-weight: 700; color: var(--muted); margin: 6px 0 8px; letter-spacing: 0.12em; text-transform: uppercase; }
.field-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--y); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--y-2); text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger { color: var(--bad); }
#add-note { margin-top: 14px; }
.ticket .top h2 { margin: 2px 0 6px; }
.when-line { font-size: 16px; color: var(--text); margin-bottom: 4px; }
.ticket-total { margin-top: 12px; font-family: var(--display); font-size: 22px; color: var(--y-2); font-weight: 700; }
.ticket-total span { font-family: var(--font); font-size: 13px; color: var(--muted); font-weight: 500; }
.ticket .body { padding: 4px 24px 22px; }
#pix-area:not(:empty) { margin-top: 16px; }
.ticket-links { display: flex; justify-content: center; gap: 6px 20px; flex-wrap: wrap; margin-top: 14px; }
.code-line { text-align: center; color: #5f584b; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 12px; }
.item-list.single { grid-template-columns: 1fr !important; margin-bottom: 18px; }
.cat-card .foot .price small { font-family: var(--font); font-size: 12.5px; color: var(--muted); font-weight: 500; }
@media (max-width: 640px) {
  body.at-home .site-header { border-bottom: 0; }
  body.at-home .site-header .inner { min-height: 0; padding: 0; }
  body.at-home .hero { min-height: calc(100svh - 72px); }
}
body.is-booking .site-footer { display: none; }

/* Campo de senha com olho */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px; }
.pw-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.pw-eye:hover { color: var(--y-2); }
