/* Meu Cristal — base compartilhada pelas páginas de membros (noite de gala: vinho, dourado, marfim) */
:root {
  --bg: #f7f3ec;
  --bg-2: #efe8dc;
  --card: #fffdf9;
  --raise: #ffffff;
  --gold: #8a6624;
  --gold-soft: #6b4f1c;
  --ink: #1b2537;
  --muted: #2c3445;
  --line: rgba(27, 37, 55, .2);
  --field: #ffffff;
  --ok: #2f8a57;
  --no: #c2453a;
  --like: #d4566a;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 18px/1.65 var(--body); -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.eyebrow { font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1px solid var(--ink); background: var(--ink); color: #fffaf2; border-radius: 999px; padding: 13px 22px; font-weight: 500; font-size: 15px; letter-spacing: .04em; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.btn:hover { background: #2c3c58; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(27,37,55,.35); }
.btn.ghost:hover { background: rgba(168,130,58,.1); }
.btn.danger { background: transparent; color: var(--no); border-color: var(--no); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.block { width: 100%; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
label.lbl, legend.lbl { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; }
input.in, select.in, textarea.in { width: 100%; background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); font-size: 16px; }
textarea.in { min-height: 110px; resize: vertical; }
select.in option { background: var(--bg); }
.f { display: grid; gap: 6px; min-width: 0; }
.err { color: var(--no); font-size: 15.5px; min-height: 1.2em; }
.okmsg { color: var(--ok); font-size: 15.5px; }
.logo { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.005em; text-decoration: none; color: var(--ink); display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; }
.logo i { color: var(--gold); font-weight: 500; }
.logo .gem { width: 18px; height: 24px; flex: none; display: block; }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--raise); border: 1px solid var(--gold); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-size: 15.5px; box-shadow: 0 12px 30px rgba(27,37,55,.18); z-index: 90; max-width: calc(100% - 32px); text-align: center; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
