/* ==========================================================================
   Ynerluz · Portal de Agentes
   base.css — tokens de design, reset e tipografia
   ========================================================================== */

:root {
  /* Cores (variáveis do Figma) */
  --white: #ffffff;
  --black: #000000;
  --grey-dark: #2c2a32;      /* Grey - dark */
  --grey-forms: #9b9b9b;     /* Grey - forms */
  --grey-light: #f8f8f8;     /* Grey Light 2 */
  --green-1: #00b937;        /* Green Ynerluz - 2 */
  --green-2: #4fe94b;        /* Green 2 */
  --lima: #ccff33;           /* Lima */
  --alerta: #f24c05;         /* Alerta */

  /* Derivadas */
  --menu-item-bg: rgba(155, 155, 155, 0.15);
  --menu-item-border: #3c3b42;
  --table-head-bg: rgba(217, 217, 217, 0.24);
  --card-grey: rgba(217, 217, 217, 0.2);
  --card-green: rgba(0, 185, 55, 0.2);
  --search-card-bg: #312f36;

  /* Layout */
  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sidebar-w: 330px;
  --sidebar-w-open: 778px;
  --radius: 8px;
  --radius-card: 20px;
  --page-gutter: 40px;
}

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

html, body { margin: 0; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: normal;
  color: var(--grey-dark);
  background: var(--grey-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

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

[hidden] { display: none !important; }

/* Utilitários ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-muted { color: var(--grey-forms); }
.text-green { color: var(--green-1); }
