/* ==========================================================================
   Base — reset mínimo e estilos globais compartilhados por todo o site.
   ========================================================================== */

/* Fontes locais (sem CDN). Coloque os arquivos reais em assets/fonts/.
   Enquanto os arquivos não existirem, o navegador ignora o @font-face
   e usa a pilha de fallback definida em cada seletor que usa a fonte. */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gistesy';
  src: url('../fonts/Gistesy.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pinyon Script';
  src: url('../fonts/PinyonScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--line-height-base);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  border: none;
  border-radius: 4px;
}

/* Letra/palavra de destaque em script, usada dentro de títulos
   (ex.: primeira letra de uma palavra), cor herdada do texto ao redor. */
.script-accent {
  font-family: 'Pinyon Script', 'Segoe Script', 'Brush Script MT', cursive;
  font-weight: 400;
  font-size: 1.3em;
  line-height: 0;
  text-transform: uppercase;
}
