@charset "UTF-8";
/* ==========================================================
   GEM UFSCar — base: tokens, fontes, reset, tipografia, layout
   Paleta: verde #18603c · laranja #d84b25 · papel #f6f1ea · grafite #444
   ========================================================== */

/* --- Fontes (hospedadas no próprio site) --- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext-soft-normal.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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-soft-normal.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: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-ext-wght-normal.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: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-wght-normal.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;
}

:root {
  /* Marca (amostrado do logo e da paleta enviada) */
  --verde: #18603c;
  --verde-escuro: #0f4a2d;
  --verde-vivo: #1f7a4c;
  --laranja: #d84b25;
  --laranja-escuro: #b63a18;
  --papel: #f6f1ea;
  --branco: #ffffff;
  --grafite: #444444;
  --grafite-escuro: #2f2c2a;
  --texto-suave: #5a554f;

  /* Manchas orgânicas */
  --coral: #ff8087;
  --amarelo: #fdd058;
  --mostarda: #f2be2f;
  --azul: #c4e2f2;
  --sage: #93ab97;
  --bege: #e8ccb8;
  --salmao: #f6a595;
  --rosa: #f0b0b8;
  --pessego: #fec8a2;
  --ameixa: #544044;

  /* Linhas e superfícies (sempre quentes, nunca cinza frio) */
  --linha: rgba(24, 96, 60, 0.22);
  --linha-forte: rgba(24, 96, 60, 0.5);

  /* Tipografia */
  --fonte-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --fonte-corpo: 'Figtree', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-hero: clamp(2.4rem, 4.4vw, 4.6rem);

  /* Espaço */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;
  --space-4xl: 7rem;

  --container: 100%;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --raio: 14px;

  --transicao: 200ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--fonte-corpo);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--grafite);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amarelo); color: var(--verde-escuro); }

.skip-link {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  background: var(--verde); color: var(--papel); padding: 0.6rem 1.1rem;
  border-radius: 999px; z-index: 1000; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* --- Tipografia --- */
h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-variation-settings: 'SOFT' 100;
  font-weight: 600;
  line-height: 1.12;
  color: var(--verde);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-xl); margin-bottom: var(--space-sm); line-height: 1.25; }
h4 { font-size: var(--fs-lg); margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-md); max-width: 68ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--grafite-escuro); }

a { color: var(--verde); text-decoration-line: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: color var(--transicao), text-decoration-color var(--transicao); }
a:hover { color: var(--laranja-escuro); }

.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--grafite); max-width: 56ch; }
.text-muted { color: var(--texto-suave); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container--texto, .container--medio { max-width: none; }

.section { padding: var(--space-3xl) 0; position: relative; }
.section--sm { padding: var(--space-2xl) 0; }
.section--branca { background: var(--branco); }
.section--clip { overflow: hidden; }

.section-intro { margin-bottom: var(--space-2xl); max-width: 60ch; }
.section-intro h2 { margin-bottom: var(--space-sm); }
.section-intro p { color: var(--grafite); }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Utilitários (mantidos para compatibilidade com as páginas de dados) --- */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
