/* Tokens e base compartilhados com a landing (index.html) */
:root {
  --black:     #080808;
  --dark:      #0f0f0f;
  --surface:   #171717;
  --card:      #1e1e1e;
  --line:      rgba(255,255,255,0.08);
  --line-med:  rgba(255,255,255,0.14);
  --red:       #C7201B;
  --red-soft:  rgba(199,32,27,0.10);
  --white:     #EDEDED;
  --muted:     #777;
  --dim:       #444;
  --ok:        #3fae6a;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--black); }

body {
  font-family: var(--sans);
  color: var(--white);
  background: var(--black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.3rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.btn:disabled { opacity: .55; cursor: wait; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover:not(:disabled) { background: #a91a16; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-med); }
.btn-ghost:hover:not(:disabled) { border-color: var(--white); }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select {
  font: inherit;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--dark);
  border: 1px solid var(--line-med);
  border-radius: 4px;
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--red); }

.msg { font-size: 0.85rem; min-height: 1.2em; }
.msg.error { color: #ff6b66; }
.msg.ok { color: var(--ok); }
