/* ========== BASE ==========
   Reset leve + variáveis de tema + tipografia
*/

/* Reset/normalize essencial */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}
body,
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}

/* Variáveis do tema */
:root {
  --color-bg: #111213;
  --color-bg-2: #1a1b1d;
  --color-surface: #f5f3ef;
  --color-text: #ffffff;
  --color-text-muted: #c9c9c9;
  --color-gold: #c6a15a;
  --color-accent: #b84e3a;

  --container: 1200px;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Tipografia */
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-2));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
}
h2 {
  font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.2rem);
}
h3 {
  font-size: clamp(1.15rem, 1.2vw + 0.6rem, 1.35rem);
}

/* Links de ação */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-gold);
  color: #1a1a1a;
}
.btn-secondary {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn-link {
  background: transparent;
  color: var(--color-gold);
  padding: 0;
  border: 0;
}

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