/* Methodus Digital — estilos compartilhados por todas as páginas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
  --ink: #0d0d10;
  --ink-soft: #4a4a52;
  --paper: #f6f5f1;
  --card: #ffffff;
  --line: #e3e1da;
  --accent: #1f3cff;      /* cor da marca Methodus; cada LP pode sobrescrever */
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Tipografia padrão: sentence case, bold + regular na mesma linha, frase-chave em caixa sólida */
.h-display {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.h-display b, .h-section b { font-weight: 800; }
.box {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  padding: 0.02em 0.22em;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.h-section {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-soft); max-width: 46ch; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; }
.logo span { font-weight: 400; }

/* Hero: headline, subheadline, imagem e CTA */
.hero { padding: 36px 0 72px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius);
}
.credit { font-size: 0.75rem; color: var(--ink-soft); margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.02rem;
  padding: 17px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  width: fit-content;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); }

/* Seções */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

/* Páginas de texto (privacidade, termos) */
.doc { padding: 24px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.doc .updated { color: var(--ink-soft); margin-bottom: 36px; }
.doc h2 { font-size: 1.2rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #2b2b31; margin-bottom: 12px; }
.doc ul { padding-left: 20px; }
.todo { background: #fff3a8; padding: 0 4px; border-radius: 3px; }

/* Rodapé compartilhado */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .grid-3 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
