/* ===== Fontes self-hosted ===== */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/albertsans-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/albertsans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibmplexmono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibmplexmono-500.woff2') format('woff2');
}

/* ===== Tokens ===== */
:root {
  --ink:        #10222E;
  --ink-deep:   #0B1922;
  --paper:      #F3F1EB;
  --paper-2:    #ECE9E0;
  --brass:      #B4913F;
  --brass-dark: #7E6224;
  --brass-soft: #C9AB63;
  --slate:      #56646E;
  --muted-dark: #93A3AD;
  --line:       #D9D4C6;
  --line-dark:  rgba(243,241,235,.16);

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Albert Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1180px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 440px) { body { font-size: 18px; } }
@media (min-width: 768px) { body { font-size: 19px; } }

/* ===== Utility ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { position: relative; padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink-deep { background: var(--ink-deep); color: var(--paper); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper-2 { background: var(--paper-2); color: var(--ink); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .eyebrow { font-size: 12px; } }
.bg-paper .eyebrow, .bg-paper-2 .eyebrow { color: var(--brass-dark); }
.bg-ink .eyebrow, .bg-ink-deep .eyebrow { color: var(--brass-soft); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 24px; max-width: 20ch; }
@media (min-width: 768px) { h2 { margin-bottom: 32px; } }

.lede { font-size: 1.05em; max-width: 64ch; }
.bg-paper .lede, .bg-paper-2 .lede { color: var(--slate); }
.bg-ink .lede, .bg-ink-deep .lede { color: var(--muted-dark); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 2px;
  min-height: 44px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible { background: #9c7d35; }
.btn:active { transform: scale(0.98); }

/* ===== Header ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.brand { font-family: var(--font-display); font-size: 18px; letter-spacing: .18em; text-transform: uppercase; }
.brand span { color: var(--brass-soft); }
.topbar .mono { font-size: 10px; color: var(--muted-dark); }

/* ===== Hero ===== */
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); max-width: 18ch; margin-bottom: 28px; }
.hero .lede { margin-bottom: 40px; }
.hero-cta-note { margin-top: 18px; font-size: 11px; color: var(--muted-dark); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.pull-quote {
  border-left: 3px solid var(--brass);
  padding: 8px 0 8px 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  max-width: 50ch;
  margin-top: 40px;
}
.bg-ink .pull-quote, .bg-ink-deep .pull-quote { color: var(--paper); }

/* ===== S3 — Dados ===== */
.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 48px 0;
}
@media (min-width: 860px) {
  .data-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.data-block .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  color: var(--brass-soft);
  line-height: 1;
  margin-bottom: 16px;
}
.data-block p { color: var(--muted-dark); font-size: 16px; margin-bottom: 10px; }
.data-block .src {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--slate);
  font-style: italic;
}
.data-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--muted-dark);
  margin-top: 32px;
  max-width: 60ch;
}

/* ===== S5 — Método ===== */
.method-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .method-list { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
}
.method-item { border-top: 2px solid var(--brass); padding-top: 16px; }
.method-item p { color: var(--slate); font-size: 16px; }
.method-item strong { color: var(--ink); }

/* ===== S6 — Blocos da palestra ===== */
.talk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
@media (min-width: 760px) {
  .talk-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}
.talk-block { border-top: 2px solid var(--ink); padding-top: 14px; }
.talk-block .t-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 8px;
}
.talk-block p { font-size: 14.5px; color: var(--slate); }

.talk-highlight {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 18px;
}

/* ===== S7 — Quem fala ===== */
.speaker-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
}
.speaker-stat .num { font-family: var(--font-display); font-size: 40px; color: var(--brass-dark); line-height: 1; }
.speaker-stat p { font-size: 14px; color: var(--slate); margin-top: 6px; max-width: 22ch; }

.trust-line {
  border: 1px solid var(--brass);
  border-radius: 3px;
  padding: 20px 24px;
  font-size: 16px;
  color: var(--ink);
  margin-top: 32px;
  max-width: 62ch;
}

/* ===== S8 — Logística ===== */
.logistics-list { list-style: none; margin-top: 8px; }
.logistics-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 16px;
}
.logistics-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass);
}
.logistics-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

/* ===== S9 — CTA final ===== */
.cta-final .lede { margin-bottom: 40px; }
.cta-final .btn { margin-bottom: 18px; }
.cta-phone { font-size: 13px; color: var(--muted-dark); margin-bottom: 40px; }
footer.site-footer { border-top: 1px solid var(--line-dark); padding-top: 28px; font-size: 13px; color: var(--muted-dark); }

/* ===== Faixa brass lateral (desktop) ===== */
.brass-rail { display: none; }
@media (min-width: 1024px) {
  .brass-rail {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 7px;
    height: 100vh;
    background: linear-gradient(180deg, var(--brass-dark), var(--brass), var(--brass-soft));
    z-index: 50;
  }
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
