/* ============================================================
   base.css — reset, variáveis e tipografia global
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  /* Paleta principal */
  --c-bg:          #F7F7F5;
  --c-surface:     #FFFFFF;
  --c-border:      rgba(0,0,0,0.08);
  --c-border-md:   rgba(0,0,0,0.14);
  --c-text:        #1A1A18;
  --c-text-2:      #6B6B66;
  --c-text-3:      #A3A39E;

  /* Acentos */
  --c-blue:        #185FA5;
  --c-blue-bg:     #E6F1FB;
  --c-blue-text:   #0C447C;
  --c-green:       #3B6D11;
  --c-green-bg:    #EAF3DE;
  --c-green-text:  #27500A;
  --c-red:         #A32D2D;
  --c-red-bg:      #FCEBEB;
  --c-red-text:    #791F1F;
  --c-amber:       #854F0B;
  --c-amber-bg:    #FAEEDA;
  --c-amber-text:  #633806;
  --c-purple:      #534AB7;
  --c-purple-bg:   #EEEDFE;
  --c-purple-text: #3C3489;
  --c-coral-bg:    #FAECE7;
  --c-coral-text:  #712B13;

  /* Radii */
  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);

  /* Espaçamentos */
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 12px;
  --gap-lg: 16px;
  --gap-xl: 24px;
  --gap-2xl: 32px;

  /* Tipografia */
  --font-sans: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Sidebar */
  --sidebar-w: 210px;
}

html, body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-sans); }
button { cursor: pointer; }

h1 { font-size: 22px; font-weight: 500; }
h2 { font-size: 18px; font-weight: 500; }
h3 { font-size: 15px; font-weight: 500; }

/* Scrollbar sutil */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-border-md); border-radius: var(--r-full); }
