/* HR Estética Automotiva — tokens da marca (extraídos do logo: azul elétrico sobre preto) */
:root {
  --bg: #06080d;
  --bg-2: #0b0f18;
  --panel: #111723;
  --panel-2: #172031;
  --blue: #1f8bff;
  --blue-2: #0a5fe0;
  --blue-glow: rgba(31, 139, 255, 0.35);
  --ice: #9fd2ff;
  --ink: #eaf2ff;
  --muted: #8b9ab3;
  --line: rgba(159, 210, 255, 0.12);
  --ok: #22c38e;
  --warn: #f5a524;
  --danger: #ff5b6b;
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ice); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  border: 0; border-radius: 12px; padding: 0.8em 1.4em;
  font-weight: 700; text-decoration: none; cursor: pointer; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(180deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 10px 26px -10px var(--blue-glow); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px rgba(255, 91, 107, 0.4); }
.btn-wa { background: #1faf54; color: #fff; }
.btn-sm { padding: 0.45em 0.9em; font-size: 0.88rem; border-radius: 10px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-weight: 600; font-size: 0.82rem; color: var(--muted); }
.input {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg-2); border-radius: 12px;
  padding: 0.75em 0.9em; outline: none; transition: border-color 0.15s, box-shadow 0.15s; min-width: 0;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); }
textarea.input { resize: vertical; min-height: 70px; }
select.input { appearance: auto; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.err { color: var(--danger); font-weight: 600; min-height: 1.2em; }
.hidden { display: none !important; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand b { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px);
  background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); padding: 0.8em 1.2em; border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: 0.2s; z-index: 100; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.bad { border-color: var(--danger); }
