/* =============================================================
   LeadBridge — Design tokens & styles
   Recreated from design handoff (designer2-dcf63037…)
============================================================= */
:root {
  --bg: #fafaf7;
  --bg-elev: #ffffff;
  --fg: #0f1729;
  --fg-muted: #6b7280;
  --fg-subtle: #9ca3af;
  --accent: #1a2a4a;
  --accent-hover: #0f1a33;
  --accent-soft: rgba(26,42,74,0.06);
  --accent-2: #a9762f;
  --accent-2-hover: #8f6326;
  --accent-2-on-dark: #dcaa5f;
  --accent-2-soft: rgba(169,118,47,0.1);
  --border: #e7e6df;
  --border-strong: #d4d3cc;
  --error: #c0392b;
  --success: #7bd88f;

  --font-display: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max-w: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius: 4px;
  --radius-lg: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* -----------------------------------------------------------
   Typography scale
----------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 500;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
}

h3 {
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

p { color: var(--fg); }
.muted { color: var(--fg-muted); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* -----------------------------------------------------------
   NAV
----------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--accent) 5%, color-mix(in oklab, var(--bg) 88%, transparent) 95%);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 2px solid var(--accent-2);
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--accent) 8%, color-mix(in oklab, var(--bg) 88%, transparent) 92%);
  border-bottom-color: var(--accent-2-hover);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}
.logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-size: 17px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .18s ease, transform .18s ease;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-cta .arrow { display: inline-block; transition: transform .2s ease; }
.nav-cta:hover .arrow { transform: translateX(2px); }

/* -----------------------------------------------------------
   HERO
----------------------------------------------------------- */
.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(72px, 10vw, 120px);
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.55fr 1fr;
    gap: 64px;
    align-items: end;
  }
}
.hero h1 { margin-top: 28px; }
.hero-sub { margin-top: 28px; max-width: 62ch; }
.hero-actions { margin-top: 44px; }

.hero-side {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 30px;
}
@media (max-width: 899px) {
  .hero-side {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding: 24px 0 0;
  }
}
.hero-side .kv { padding: 10px 0; border-bottom: 1px solid var(--border); }
.hero-side .kv:last-child { border-bottom: none; }
.hero-side .kv .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.hero-side .kv .v { font-size: 15px; margin-top: 4px; color: var(--fg); }

.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 14px;
  background: var(--accent-2-soft);
  border: 1px solid rgba(169,118,47,0.22);
  border-radius: 999px;
}
.hero-eyebrow-row .eyebrow {
  color: var(--accent-2-hover);
}
.hero-eyebrow-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
}

.hero h1 .accent {
  color: var(--accent-2);
  font-style: italic;
  font-family: "Instrument Serif", var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .18s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .arrow { transition: transform .2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 4px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--fg);
  font-family: var(--font-display);
}

.hero-tagline {
  margin-top: 72px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--accent-2);
  font-size: 18px;
  letter-spacing: -0.005em;
}
.hero-tagline .rule {
  width: 40px;
  height: 1px;
  background: var(--accent-2);
  opacity: 0.55;
  display: inline-block;
}

/* -----------------------------------------------------------
   Section base
----------------------------------------------------------- */
section.block {
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--border);
}

section.block#comparacao {
  background: var(--accent-soft);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

section.block#como {
  background: var(--accent-2-soft);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
  }
}
.section-head .label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .label .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.section-head h2 { max-width: 22ch; }

/* -----------------------------------------------------------
   Como funciona
----------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--accent-2);
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    border-top: none;
  }
}
.step {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-strong);
  position: relative;
}
@media (min-width: 900px) {
  .step {
    padding: 40px 28px 40px 0;
    border-bottom: none;
    border-top: 2px solid var(--accent-2);
  }
  .step + .step { border-left: 1px solid var(--border-strong); padding-left: 28px; }
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 12px; }
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 32ch;
}

/* -----------------------------------------------------------
   Comparação
----------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
  }
}
.compare-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
}
.compare-card.highlight {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.compare-card.highlight .muted,
.compare-card.highlight h3,
.compare-card.highlight .metric,
.compare-card.highlight .eyebrow {
  color: rgba(255,255,255,0.9);
}
.compare-card.highlight .eyebrow { color: rgba(255,255,255,0.6); }

.compare-card .eyebrow { margin-bottom: 20px; }
.compare-card h3 { margin-bottom: 24px; font-size: 22px; }
.compare-card .metric {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.compare-card .metric-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.compare-card.highlight .metric-note { color: rgba(255,255,255,0.7); }

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.compare-card li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.compare-card.highlight li {
  color: rgba(255,255,255,0.85);
  border-top-color: rgba(255,255,255,0.14);
}
.compare-card li .icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.compare-card.highlight li .icon { color: var(--accent-2-on-dark); }
.compare-card.negative li .icon { color: var(--fg-subtle); }
.compare-card.negative { background: var(--bg-elev); border-color: var(--border-strong); }

.compare-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (min-width: 800px) {
  .compare-arrow {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .compare-arrow .line {
    width: 40px;
    height: 1px;
    background: var(--accent-2);
    opacity: 0.5;
    position: relative;
  }
  .compare-arrow .line::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--accent-2);
    border-top: 1px solid var(--accent-2);
    transform: rotate(45deg);
  }
}

/* -----------------------------------------------------------
   Diferenciais
----------------------------------------------------------- */
.diffs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .diffs { grid-template-columns: repeat(3, 1fr); gap: 56px; }
}
.diff {
  padding-top: 32px;
  border-top: 2px solid var(--accent-2);
}
.diff .diff-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 24px;
  display: block;
}
.diff h3 { margin-bottom: 14px; }
.diff p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; max-width: 34ch; }

/* -----------------------------------------------------------
   CTA Final
----------------------------------------------------------- */
.final {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--fg);
  color: #fff;
  border-top: 1px solid var(--fg);
}
.final .final-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .final .final-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
}
.final .eyebrow { color: rgba(255,255,255,0.55); }
.final h2 {
  color: #fff;
  margin: 24px 0 28px;
  font-size: clamp(32px, 3.6vw, 48px);
}
.final h2 .accent {
  color: var(--accent-2-on-dark);
  font-style: italic;
  font-family: "Instrument Serif", var(--font-display);
  font-weight: 400;
}
.final .lead { color: rgba(255,255,255,0.7); max-width: 44ch; }

.founder {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.founder-info .name { font-size: 15px; font-weight: 500; color: #fff; }
.founder-info .role { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.founder-info .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.founder-info .badge .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(123,216,143,0.2);
}

/* Form */
.form-card {
  background: #fff;
  color: var(--fg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
}
.form-card .form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.form-card .form-sub {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0 12px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--fg);
  background: transparent;
  outline: none;
  transition: border-color .18s ease;
}
.field input:focus { border-bottom-color: var(--accent); }
.field input::placeholder { color: var(--fg-subtle); }

.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card button {
  width: 100%;
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-card button:hover { background: var(--accent-hover); }
.form-card button:disabled { opacity: .6; cursor: not-allowed; }

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-subtle);
  text-align: center;
  line-height: 1.5;
}
.form-error-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--error);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .check {
  width: 48px; height: 48px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.form-success p { font-size: 14px; color: var(--fg-muted); }

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
footer {
  padding: 32px 0;
  background: var(--fg);
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer .foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
}
footer .logo-word { color: #fff; }
footer .logo-mark { background: #fff; color: var(--accent); }
footer .foot-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -----------------------------------------------------------
   Utility
----------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
