/* ==========================================================================
   Base — Reset, Tipografia Global, Acessibilidade e Utilitários
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Foco acessível para navegação via teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Link de salto para acessibilidade */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background-color: var(--gold-base);
  color: var(--btn-text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

/* Container centralizado */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Elementos tipográficos compartilhados */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-base);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.24;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-title--gold {
  color: var(--gold-bright);
}

.section-intro {
  margin-top: 12px;
  max-width: 560px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

.body-text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
}

.gold-rule {
  width: 44px;
  height: 1px;
  background-color: var(--gold-base);
  opacity: 0.65;
}
