/* Fontes servidas pelo próprio site (sem enviar o IP do visitante ao Google). */
/* Inter (latin-ext), servida pelo próprio site */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(./fonts/inter-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;
}
/* Inter (latin), servida pelo próprio site */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(./fonts/inter-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;
}
/* Montserrat (latin-ext), servida pelo próprio site */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(./fonts/montserrat-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;
}
/* Montserrat (latin), servida pelo próprio site */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(./fonts/montserrat-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;
}

:root {
  --brand-emege-red: #e61d2b;
  --brand-emege-red-dark: #c4122d;
  --brand-emege-blue: #103e74;
  --brand-emege-blue-soft: #8ba8cd;
  --brand-araguaia-blue: #0a406c;
  --brand-araguaia-green: #6ca93d;
  --brand-araguaia-gold: #d8ae14;
  --brand-reimassas-blue: #123c6d;
  --brand-reimassas-red: #b51628;
  --brand-reimassas-gold: #d4a62c;

  --color-surface: #ffffff;
  --color-surface-soft: #f7f8fb;
  --color-surface-muted: #eef3f8;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;

  --shadow-soft: 0 10px 30px rgba(19, 26, 38, 0.08);
  --shadow-card: 0 12px 28px rgba(19, 26, 38, 0.08);

  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: all 0.28s ease;

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Backward-compatible aliases */
  --primary-red: var(--brand-emege-red);
  --primary-red-hover: var(--brand-emege-red-dark);
  --dark-blue: var(--brand-emege-blue);
  --light-bg: var(--color-surface);
  --beige-bg: #f4ebe0;
  --gray-text: var(--color-text-muted);
  --dark-text: var(--color-text);
  --border-light: var(--color-border);
  --font-main: var(--font-body);
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
}

h1, h2, h3, h4, .section-title, .hero h1 {
  font-family: var(--font-heading);
}

img[loading='lazy'] {
  content-visibility: auto;
}

/* Shared form fields (login, register, and any future auth/simple forms) */
.field-label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: .35rem;
}

.field-input {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  font: inherit;
  margin-bottom: 1.1rem;
  transition: var(--transition);
}

.field-input:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 1px;
}

.field-error {
  display: none;
  margin: -.8rem 0 1rem;
  font-size: .85rem;
  color: var(--brand-emege-red-dark);
}

.field-error.is-visible {
  display: block;
}

/* Texto só para leitores de tela e buscadores (ex.: título principal de páginas sem título visível). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
