/* ---------- fontes ---------- */
/* Arquivo variável único: cobre 400 a 700 numa só requisição. */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --navy: #0f2340;
  --navy-deep: #0b1a30;
  --gold: #c9a227;
  --gold-ink: #866811;      /* dourado legível sobre fundo claro (4,78:1 sobre --cream, 5,25:1 sobre branco) */
  --gold-light: #e8cd77;    /* dourado sobre fundo escuro */
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #1e293b;
  --muted: #5b6577;
  --line: #e2e8f0;
  --wa: #25d366;
  --wa-ink: #08331b;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: clamp(3.5rem, 9vw, 7rem);

  --container: 1140px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }

/* ---------- tipografia base ---------- */
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.kicker {
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.on-dark .kicker { color: var(--gold-light); }

.lede { font-size: clamp(1rem, 2.2vw, 1.12rem); color: var(--muted); max-width: 60ch; }
.on-dark { color: var(--white); }
.on-dark .lede { color: rgba(255, 255, 255, 0.85); }

.section { padding-block: var(--space-xl); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Pular para o conteúdo (WCAG 2.4.1): mesmo recorte de .sr-only,
   volta a ser visível no foco, sobre --navy (15,73:1 com branco). */
.skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  width: auto; height: auto; margin: 0; overflow: visible; clip: auto;
  padding: .75rem 1.25rem; border-radius: 8px;
  background: var(--navy); color: var(--white);
  font: 600 .95rem/1 var(--font-body); text-decoration: none;
}
