/* Transformar — Design Tokens */

:root {
  /* Brand palette (from manual) */
  --linho: #f6f4e9;
  --terra: #361507;
  --raizes: #696227;
  --musgo: #a2a180;
  --terracota: #e78057;

  /* Tints / shades derived */
  --linho-warm: #efe9d6;
  --linho-deep: #e5dec5;
  --terra-soft: #4a2510;
  --raizes-soft: #837c3a;
  --raizes-deep: #4d4818;
  --musgo-soft: #b8b79a;
  --musgo-deep: #807f64;
  --terracota-soft: #f0a586;
  --terracota-deep: #c66640;

  /* Area mapping */
  --health: var(--musgo);
  --corporate: var(--terra);
  --academia: var(--terracota);
  --os: var(--raizes);

  /* Type */
  --font-display: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --pad-page: 80px;
  --pad-section: 140px;
  --pad-section-sm: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--font-body); color: var(--terra); background: var(--linho); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* Display utilities */
.display-serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; }
.display-serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 300; letter-spacing: -0.02em; line-height: 0.95; }
.eyebrow { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow-mono { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.body { font-size: 16px; line-height: 1.55; }
.body-lg { font-size: 19px; line-height: 1.5; }
.small { font-size: 13px; line-height: 1.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terra); color: var(--linho); }
.btn-primary:hover { background: var(--terra-soft); }
.btn-outline { border: 1px solid currentColor; }
.btn-arrow::after { content: '→'; display: inline-block; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 40s linear infinite;
}

/* Subtle grain (CSS-only) */
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(54,21,7,.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: .6;
}
