/* Yury Peixoto Barbearia — estilo compartilhado (preto, dourado e prata da marca) */
:root {
  --bg: #0d0c0b;
  --surface: #161412;
  --raised: #1f1c19;
  --line: #2e2a25;
  --fg: #ece6dc;
  --muted: #9a9084;
  --faint: #4a443c;
  --gold: #c9a45c;
  --gold-soft: rgba(201,164,92,.14);
  --silver: #c4c6c9;
  --ok: #6fbf8a;
  --bad: #e06a5f;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.45; }
img { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
a.btn { color: var(--fg); }
.btn:hover:not(:disabled) { border-color: var(--muted); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #17130c; font-weight: 600; }
.btn.gold:hover:not(:disabled) { filter: brightness(1.08); border-color: var(--gold); }
.btn.ghost { background: none; }
.btn.danger { color: var(--bad); border-color: rgba(224,106,95,.4); background: none; }
.btn.wa { background: #1f3a2a; border-color: #2f5a40; color: #bfe8cc; }
.btn.sm { padding: 5px 10px; font-size: .85rem; }
.btn.lg { padding: 13px 20px; font-size: 1rem; }

input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=time], input[type=date], select, textarea {
  background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%;
}
label.f { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; min-width: 0; }
.err { color: var(--bad); font-size: .88rem; min-height: 1.2em; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--raised); border: 1px solid var(--gold); color: var(--fg); padding: 10px 16px; border-radius: 8px; z-index: 50; font-size: .9rem; max-width: calc(100% - 32px); }
.setup { max-width: 560px; margin: 48px auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.setup h2 { font-family: var(--font-display); color: var(--gold); font-weight: 500; margin-top: 0; }
/* Moldura das fotos dos barbeiros: dupla linha dourada, estilo quadro */
.moldura { position: relative; overflow: hidden; border: 2px solid var(--gold); border-radius: 0 !important; padding: 3px; background: #0d0c0b; box-shadow: 0 0 0 1px #6b5328; }
.moldura > * { display: grid; place-items: center; width: 100%; height: 100%; border: 1px solid #e3c47f; }
.moldura > img { display: block; object-fit: cover; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
