/* ========================================
   ESTILOS GLOBAIS E RESETS
   Arquivo: global.css
======================================== */

/* Reset Básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Reset HTML e Body */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

/* Tipografia Global */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

p {
  margin-bottom: var(--spacing-md);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed);
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Botões */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-speed);
}

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

/* Container Padrão */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* Utilitários */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.hidden {
  display: none !important;
}

/* Responsividade - Tipografia */
@media (max-width: 1024px) {
  :root {
    --font-size-h1: 2.5rem; /* 40px */
    --font-size-h2: 2rem; /* 32px */
    --font-size-h3: 1.75rem; /* 28px */
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2rem; /* 32px */
    --font-size-h2: 1.75rem; /* 28px */
    --font-size-h3: 1.5rem; /* 24px */
    --font-size-h4: 1.25rem; /* 20px */
  }

  .container {
    padding: 0 var(--spacing-md);
  }
}

