﻿/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── CSS Custom Properties ── */
:root {
  --color-bg:      #F5F3F0;
  --color-surface: #EDEAE5;
  --color-stroke:  #C8C3BC;
  --color-text:    #2C2925;
  --color-label:   #6B6560;
  --color-accent:  #8C6E4B;
  --color-accent2: #B8956A;
  --color-white:   #FAFAF8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  --max-width:  1200px;
  --nav-height: 80px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --transition: 220ms ease;
}

/* ── Tipografia ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Tamanhos aumentados */
h1 { font-size: clamp(41px, 7vw, 73px); }
h2 { font-size: clamp(33px, 5vw, 53px); }
h3 { font-size: clamp(21px, 2.5vw, 27px); }
p  { font-size: 18px; line-height: 1.75; color: var(--color-label); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section[id] { scroll-margin-top: var(--nav-height); }

/* ── Utilitários ── */
.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;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-header { margin-bottom: var(--space-lg); }
.section-header h2 { margin-top: 6px; margin-bottom: var(--space-sm); }
.section-header p { max-width: 660px; font-size: 19px; }

.text-balance { text-wrap: balance; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
