/* ══════════════════════════════════════
   BASE — Estilos compartilhados do site
   Reset, variáveis, tipografia, layout,
   animações e componentes comuns.
   ══════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Variáveis de design ── */
:root {
  /* Paleta monocromática */
  --black: #141414;
  --dark: #1a1a1a;
  --gray-900: #2a2a2a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-400: #999999;
  --gray-300: #b0b0b0;
  --gray-200: #d4d4d4;
  --gray-100: #e8e8e8;
  --gray-50: #f5f5f5;
  --white: #ffffff;

  /* Tipografia */
  --font: 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
}

/* ── Body ── */
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

/* ── Layout ── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }
}

/* ── Animação fade-in (ativada via JS) ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: var(--gray-100);
}

/* ── Section ── */
.section {
  padding: 72px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 20px 0 8px;
}

.section-title strong {
  font-weight: 600;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 400;
  margin-bottom: 40px;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 24px 0 40px;
  border-top: 1px solid var(--gray-100);
}

.footer p {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
  letter-spacing: 0.02em;
}
