/* ============================================================
   SADION — base.css
   Tokens, reset, tipografia e utilitários globais
   ============================================================ */

:root {
  /* Paleta oficial */
  --navy-deep: #1A0940;
  --navy: #1D1E40;
  --cream: #F2EAC2;
  --gold: #BFA26B;
  --bronze: #735229;

  /* Derivados */
  --ink: #120631;                      /* fundo mais profundo que o navy-deep */
  --navy-soft: #262752;                /* superfícies elevadas */
  --text: #F6F2E2;
  --text-muted: rgba(242, 234, 194, 0.66);
  --text-faint: rgba(242, 234, 194, 0.42);
  --line: rgba(191, 162, 107, 0.22);
  --line-strong: rgba(191, 162, 107, 0.45);
  --gold-grad: linear-gradient(115deg, #F2EAC2 0%, #BFA26B 42%, #8E6C3C 68%, #F2EAC2 100%);
  --gold-grad-flat: linear-gradient(115deg, #D8C08B, #BFA26B 55%, #9A7B45);
  --shadow-card: 0 24px 60px -24px rgba(6, 2, 20, 0.85);
  --shadow-soft: 0 12px 32px -16px rgba(6, 2, 20, 0.7);

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  /* Ritmo */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius: 18px;
  --radius-lg: 28px;

  /* Header */
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul[class], ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h1.display { font-size: clamp(2.35rem, 7.2vw, 4.15rem); }
h2.display { font-size: clamp(1.9rem, 5.2vw, 3rem); }
h3.display { font-size: clamp(1.35rem, 3.4vw, 1.8rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold-grad-flat);
  flex: none;
}

.lead {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 38rem;
}

.text-gold {
  background: var(--gold-grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Acessibilidade ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--navy-deep);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  transform: translateY(-200%);
  transition: transform 0.25s ease;
}

.skip-link:focus-visible { transform: translateY(0); }
