/* Terapia Financeira — Design System */
:root {
  --bg: #f7f5f0;
  --bg-warm: #efebe1;
  --bg-deep: #e8e2d3;
  --ink: #1f2d33;
  --ink-soft: #4a5a62;
  --ink-mute: #8a9298;
  --petrol: #3a6b7e;
  --petrol-deep: #2a5363;
  --petrol-darker: #1f3e4a;
  --mint: #7fc5b8;
  --mint-soft: #b8dfd5;
  --sky: #4a9fd1;
  --line: rgba(31, 45, 51, 0.12);
  --line-soft: rgba(31, 45, 51, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-feature-settings: 'ss01';
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--petrol-darker);
  text-wrap: balance;
}

p { text-wrap: pretty; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--petrol);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--petrol);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--petrol);
  color: white;
}
.btn-primary:hover {
  background: var(--petrol-darker);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--petrol-darker);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: white;
  border-color: var(--petrol);
}
.btn-mint {
  background: var(--mint);
  color: var(--petrol-darker);
}
.btn-mint:hover {
  background: var(--mint-soft);
}

/* Decorative tree silhouette */
.tree-mark {
  width: 1em;
  height: 1em;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='9' r='6'/><rect x='11' y='9' width='2' height='12'/></svg>") center/contain no-repeat;
}

/* Section spacing */
section { padding: 120px 0; }
section.tight { padding: 80px 0; }

/* Subtle dividing leaf */
.leaf-divider {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  opacity: 0.5;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Pill chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 1024px) {
  section { padding: 90px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .btn { padding: 14px 22px; font-size: 14px; }
  h1, h2, h3 { letter-spacing: -0.02em; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
}
