/* Shared style for the static pages (privacidade.html, 404.html). Tokens copied from
   src/styles/tokens.css; no build step, plain CSS only. */

@font-face {
  font-family: 'Mouse Memoirs';
  src: url('/fonts/mouse-memoirs.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --yellow: #fdce02;
  --red: #b83828;
  --red-deep: #8f2a1e;
  --brown: #32291e;
  --cream: #fff4d6;
  --white: #fff;
}

* { box-sizing: border-box; }

html { background: var(--yellow); }

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 1.5rem 1rem 4rem;
  background: var(--cream);
  color: var(--brown);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100svh;
}

.paginas-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.paginas-head img { display: block; }

.paginas-head span {
  font-family: 'Mouse Memoirs', 'Arial Narrow', sans-serif;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--red);
}

h1, h2 {
  font-family: 'Mouse Memoirs', 'Arial Narrow', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--red);
}

a { color: var(--red-deep); }

a:hover { color: var(--red); }

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

/* 404.html */
.nao-encontrada { text-align: center; }

.nao-encontrada > img {
  display: block;
  width: min(16rem, 60vw);
  height: auto;
  margin: 0 auto;
}

.nao-encontrada h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* The site's pill buttons, without the hover roll. ≥ 24px text: white on red passes AA as large text. */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 1.2em;
  border: 2px solid rgba(50, 41, 30, 0.35);
  border-radius: 999px;
  font-family: 'Mouse Memoirs', 'Arial Narrow', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
}

.pill:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.pill-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.pill-red:hover { color: var(--white); }
