/* ====================================================================
  RESET CSS PROFISSIONAL + VARIÁVEIS DE DESIGN
  Autor: Daniel Augusto
==================================================================== */

/* Fontes Google */
/* Montserrat Regular */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
}

/* Montserrat Italic */
@font-face {
  font-family: 'Montserrat Italic';
  src: url('../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
}

/* Roboto Variable */
@font-face {
  font-family: 'Roboto';
  src: url('../assets/fonts/Roboto-VariableFont_wdth\,wght.ttf') format('truetype');
  font-weight: 100 900; /* intervalo de peso */
  font-stretch: 75% 125%;
}

/* Roboto Italic Variable */
@font-face {
  font-family: 'Roboto Italic';
  src: url('../assets/fonts/Roboto-Italic-VariableFont_wdth\,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
    font-family: 'MontserratAlternates';
    src: url('../stylesheet/fonts/MontserratAlternates-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates';
    src: url('../stylesheet/fonts/MontserratAlternates-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* 1. Variáveis Globais */
:root {
  /* Cores principais */
  --color-primary: #0d6efd;
  --color-secondary: #6c757d;
  --color-accent: #ffc107;

  /* Neutros */
  --color-background: #121212;
  --color-surface: #1e1e1e;
  --color-text: #ffffff;
  --color-border: #333;
  --color-muted: #6c757d;

  /* Feedback */
  --color-success: #198754;
  --color-alert: #dc3545;
  --color-warning: #fd7e14;
  --color-info: #0dcaf0;

  /* Tipografia */
  --font-base: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-heading-bold: 'Montserrat Alternates Bold', 'Segoe UI', sans-serif;
  --font-highlight: 'Montserrat Alternates', 'Segoe UI', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;

  /* Espaçamentos */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;

  /* Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* 2. Reset Geral (baseado em Meyer reset + melhorias) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* 3. HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

html, body {
  height: 100%;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background-color: var(--color-background);
  color: var(--color-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* 4. Listas */
ol, ul {
  list-style: none;
}

/* 5. Links */
a {
  text-decoration: none;
  color: inherit;
}

/* 6. Imagens e mídias */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 7. Formulários */
button,
input,
select,
textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* 8. Tabelas */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 9. Utilitários opcionais */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
