/* ============================================================
   3% INVESTING, Investment & Financial
   Direção: "o extrato gravado", instrumento financeiro em
   hairlines, Cinzel + IBM Plex Mono, linhas douradas sobre fundo escuro
   ============================================================ */



/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-alt: #0d0c0b;
  --bg-2: #111111;
  --surface: #141210;
  --surface-2: #1a1714;
  --ink: #ece5d6;
  --ink-dim: rgba(236, 229, 214, 0.76);
  --ink-faint: rgba(236, 229, 214, 0.55);
  --ink-soft: rgba(236, 229, 214, 0.62);
  --gold: #c9a020;
  --gold-text: #c9a020;
  --gold-light: #e5c158;
  --gold-dark: #a17d16;
  --gold-faint: rgba(201, 160, 32, 0.12);
  --gold-line: rgba(201, 160, 32, 0.28);
  --parchment: #ece5d6;
  --ink-strong: #1a1200;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1280px;
  color-scheme: dark;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}



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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

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

a {
  color: var(--gold-text);
}

::selection {
  background: var(--gold);
  color: var(--ink-strong);
}

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}

@supports (box-shadow: 0 0 0 0 transparent) {
  :focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 4px var(--gold-text),
      0 4px 14px -4px rgba(201, 160, 32, 0.45);
  }
}



/* ---------- Utilitários ---------- */
.container {
  width: min(var(--container), 100% - var(--space-4));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    80% 50% at 50% 0%,
    rgba(201, 160, 32, 0.045),
    rgba(201, 160, 32, 0) 70%
  );
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  height: 7px;
  transform: translateX(-50%);
  background-image:
    radial-gradient(
      5px 5px at 50% 50%,
      var(--gold) 100%,
      rgba(201, 160, 32, 0) 100%
    ),
    linear-gradient(90deg, transparent, var(--gold-line), transparent);
  background-size: 100% 100%, 100% 1px;
  background-position: center center, center 3px;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

.section > .container {
  position: relative;
}

.section-flush {
  padding-top: 0;
}

.container > .split + .split {
  margin-top: var(--space-5);
}

.section-title--tight {
  max-width: 20ch;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-top: var(--space-2);
  max-width: 38ch;
}

.section-title em,
.section-title span.gold {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-text);
}

.split .section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  max-width: none;
}
