/* tokens.css — fonte, cores, espaçamento e demais constantes do tema.
   Trocar o visual do site inteiro começa aqui. */

/* Inter, auto-hospedada. O subset "latin" já cobre a acentuação do português
   (ã, õ, ç, á, é, í, ó, ú, â, ê, ô, à); "latin-ext" é garantia para nomes
   estrangeiros. O navegador baixa apenas o subset que a página exigir. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Cores — valores fixados no spec */
  --cor-primaria: #0B7A57;
  --cor-primaria-escura: #04563C;
  --cor-primaria-clara: #22C58C;
  --cor-texto: #0F1A17;
  --cor-texto-suave: #5A6B65;
  --cor-fundo: #FFFFFF;
  --cor-fundo-alt: #F4F7F5;
  --cor-borda: #E2E9E5;

  /* Tipografia */
  --fonte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --peso-normal: 400;
  --peso-medio: 600;
  --peso-forte: 800;

  /* Escala fluida: cresce com a largura da janela, sem media query */
  --texto-pequeno: 0.875rem;
  --texto-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --texto-medio: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --texto-grande: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --texto-titulo: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --texto-hero: clamp(2.125rem, 1.5rem + 3vw, 3.75rem);

  /* Espaçamento */
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 0.75rem;
  --esp-4: 1rem;
  --esp-5: 1.5rem;
  --esp-6: 2rem;
  --esp-7: 3rem;
  --esp-8: 5rem;

  /* Formas */
  --largura-max: 1120px;
  --raio: 10px;
  --raio-grande: 20px;
  --sombra: 0 1px 2px rgba(15, 26, 23, 0.04), 0 8px 24px rgba(15, 26, 23, 0.06);
  --sombra-forte: 0 2px 4px rgba(4, 86, 60, 0.08), 0 16px 40px rgba(4, 86, 60, 0.14);
  --transicao: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
