/* Identidade visual MEV Brasil (mevbrasil.com.br):
   teal do logo, amarelo e verde da marca, IBM Plex Sans, botões em pílula. */

:root {
  --mev-teal: #01828E;
  --mev-teal-dark: #016A74;
  --mev-teal-soft: #E6F3F4;
  --mev-yellow: #FFDC33;
  --mev-yellow-dark: #F5CC00;
  --mev-yellow-soft: #FFF6CC;
  --mev-green: #11A666;
  --mev-green-dark: #0E8A55;
  --mev-black: #151515;

  --text: #2C2C2C;
  --text-muted: #5B5B5B;
  --text-subtle: #7F7F7F;
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --surface-alt: #FAFAFA;
  --border: #E6E6E6;
  --border-strong: #CCCCCC;
  --hover: #F0F0F0;
  --selected: var(--mev-teal-soft);
  --danger: #B3261E;
  --danger-bg: #FDECEA;
  --success: var(--mev-green-dark);
  --success-bg: #E3F6EC;
  --focus: var(--mev-teal);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
  --radius: 8px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-condensed: "IBM Plex Sans Condensed", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

button, input { font: inherit; color: inherit; }

a { color: var(--mev-teal); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Formulários ---------- */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.field label { font-weight: 600; font-size: 14px; }

.field input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}

.field input:hover { border-color: var(--text-subtle); }

.field input:focus { outline: none; border-color: var(--mev-teal); box-shadow: 0 0 0 3px rgba(1, 130, 142, .15); }

.hint { font-size: 12px; color: var(--text-muted); margin: -8px 0 16px; }

/* ---------- Botões (pílula, caixa alta, como no site) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
}

.btn:hover { background: var(--hover); }

.btn-primary { background: var(--mev-green); border-color: var(--mev-green); color: #fff; }

.btn-primary:hover { background: var(--mev-green-dark); border-color: var(--mev-green-dark); }

.btn:disabled { opacity: .6; cursor: default; }

.btn-block { width: 100%; }

/* ---------- Mensagens ---------- */

.alert { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13px; }

.alert-error { background: var(--danger-bg); color: var(--danger); }

.alert-info { background: var(--mev-yellow-soft); color: var(--text); border-left: 4px solid var(--mev-yellow); }

.alert-success { background: var(--success-bg); color: var(--success); }

/* ---------- Marca ---------- */

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--mev-teal); }

.brand-logo { height: 22px; width: auto; display: block; }

.brand-divider { width: 1px; height: 22px; background: var(--border-strong); }

.brand-sub {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}
