/* ─── Web Fonts ──────────────────────────────────────────────────── */
@font-face {
  font-family: "Motter Tektura";
  src: url("public/motter-tektura.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --paper:  #ffffff;
  --warm:   #f5f1e8;
  --border: #e0dbd2;
  --ink:    #0b1810;
  --ink-3:  #6a8070;
  --sans:   "Figtree", -apple-system, system-ui, sans-serif;
  --logo:    "Prosto One", "Figtree", sans-serif;
  --display: "Motter Tektura", "Figtree", sans-serif;
  --mono:   "DM Mono", "Courier New", monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b1810; --warm: #0f1f14; --border: #1c3022; --ink: #e8f0ea; --ink-3: #6a8070; }
}
:root[data-theme="light"] { --paper: #ffffff; --warm: #f5f1e8; --border: #e0dbd2; --ink: #0b1810; }
:root[data-theme="dark"]  { --paper: #0b1810; --warm: #0f1f14; --border: #1c3022; --ink: #e8f0ea; }

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
input, button { font-family: var(--sans); }

.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

/* ─── Labels ─────────────────────────────────────────────────── */
.sect-label {
  font: 600 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #1c4a2e;
  display: block;
  margin-bottom: 14px;
}
.sect-label--light { color: rgba(255,255,255,.45); }
.sect-label--wl    { color: #1c4a2e; }

/* ─── Logo ───────────────────────────────────────────────────── */
.logo        { font: 400 30px/1 var(--logo); letter-spacing: -.02em; text-decoration: none; color: #fff; }
.logo-dot    { color: #e9ff54; }
.logo--dark  { color: #0b1810; }
.logo-dot--dark { color: #1c4a2e; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover  { opacity: .88; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-yellow { background: #e9ff54; color: #0b1810; }
.btn-ink    { background: #0b1810; color: #ffffff; }
.btn-full   { width: 100%; justify-content: space-between; }

.hero-ghost { font: 600 13px/1 var(--sans); color: rgba(255,255,255,.6); text-decoration: none; }
.hero-ghost:hover { color: #fff; }

/* ─── NAVBAR FIXA ────────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(7,17,12,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav .logo { margin-right: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 13px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.65); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  font: 700 13px/1 var(--sans);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  background: #e9ff54;
  color: #0b1810;
  transition: opacity .15s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: .88; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: min(680px, 100svh);
  padding-top: 70px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, #071210 0%, #0e2418 60%, #081810 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,12,8,.92) 0%, rgba(7,17,12,.38) 52%),
    linear-gradient(0deg, rgba(4,11,7,.85) 0%, transparent 55%);
}
.hero-content, .hero-foot { position: relative; z-index: 1; }

.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 36px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #e9ff54;
  border: 1px solid rgba(233,255,84,.28);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 26px;
  width: fit-content;
}
.hero-content h1   { font-size: clamp(42px, 6.8vw, 88px); font-weight: 400; font-family: var(--display); max-width: 700px; margin-bottom: 22px; letter-spacing: -.01em; }
.hero-sub          { font-size: 16px; color: rgba(255,255,255,.68); max-width: 460px; line-height: 1.65; margin-bottom: 38px; }
.hero-actions      { display: flex; align-items: center; gap: 22px; }
.hero-foot         { display: flex; justify-content: space-between; padding-bottom: 24px; font: 500 10px/1 var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.3); }

/* ─── COMO FUNCIONA ──────────────────────────────────────────── */
.how { background: #ffffff; }
.how-head { padding: 72px 0 44px; max-width: 580px; }
.how-head h2 { font-size: clamp(24px, 3vw, 38px); margin-top: 10px; color: #0b1810; }
.how-head .sect-label { color: #1c4a2e; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step  { padding: 52px 40px 60px; }

.step-a { background: #f5f1e8; }
.step-b { background: #e9ff54; }
.step-c { background: #0b1810; color: #fff; }

/* PIX logo + pill row */
.pix-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.pix-icon { flex-shrink: 0; }

.step-pill {
  display: inline-block;
  font: 600 10px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(28,74,46,.12);
  color: #1c4a2e;
  margin-bottom: 0;
}
.step-pill-b { background: rgba(11,24,16,.14); color: #1c4a2e; margin-bottom: 28px; }
.step-pill-c { background: rgba(233,255,84,.14); color: #e9ff54; margin-bottom: 28px; }

.step h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.03em; }
.step p  { font-size: 14px; line-height: 1.68; }
.step-a h3, .step-a p { color: #0b1810; }
.step-b h3, .step-b p { color: #0b1810; }
.step-c p  { color: rgba(255,255,255,.62); }

/* ─── AGÊNCIAS ───────────────────────────────────────────────── */
.agencies { padding: 96px 0; background: #1c4a2e; color: #fff; }
.agencies-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }

.agencies-copy h2 { font-size: clamp(22px, 2.6vw, 36px); margin: 10px 0 16px; }
.agencies-desc    { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.72; margin-bottom: 28px; }

.benefits { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benefits li { font-size: 14px; color: rgba(255,255,255,.68); padding-left: 22px; position: relative; line-height: 1.5; }
.benefits li::before { content: "→"; position: absolute; left: 0; color: #e9ff54; font-size: 11px; top: 2px; }

/* ─── Formulário (card branco) ───────────────────────────────── */
.form-card  { background: #fff; color: #0b1810; border-radius: 14px; padding: 32px; box-shadow: 0 16px 56px rgba(0,0,0,.24); }
.form-title { font-size: 16px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 22px; color: #0b1810; }
.form       { display: flex; flex-direction: column; gap: 14px; }
.field      { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: #3a5040; }
.optional    { font-weight: 400; color: #a0b0a6; }
.field input {
  padding: 11px 14px;
  border: 1.5px solid #e0dbd2;
  border-radius: 8px;
  font-size: 14px;
  color: #0b1810;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  transition: border-color .15s;
}
.field input:focus       { border-color: #1c4a2e; }
.field input::placeholder { color: #b5c4bc; }
.field-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note  { font-size: 11.5px; text-align: center; color: #a0b0a6; margin-top: 2px; }

/* ─── Estados de sucesso ─────────────────────────────────────── */
.form-success  { text-align: center; padding: 36px 12px; }
.success-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 18px;
}
.success-check--dark   { background: #0b1810; color: #e9ff54; }
.success-check--yellow { background: #e9ff54; color: #0b1810; }
.success-title { font-size: 17px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 8px; color: #0b1810; }
.success-body  { font-size: 14px; color: #6a8070; line-height: 1.6; }

/* ─── LISTA DE ESPERA ────────────────────────────────────────── */
.waitlist { padding: 96px 0; background: #e9ff54; color: #0b1810; }
.waitlist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.waitlist-copy h2  { font-size: clamp(28px, 4.2vw, 56px); font-weight: 400; font-family: var(--display); margin-bottom: 16px; color: #0b1810; letter-spacing: -.01em; }
.waitlist-copy > p { font-size: 16px; color: rgba(11,24,16,.6); line-height: 1.65; }

.wl-card { background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 8px 36px rgba(0,0,0,.1); }
.wl-form { display: flex; flex-direction: column; gap: 14px; }
.wl-form .field label { font-size: 12px; font-weight: 600; color: #3a5040; }
.wl-form .field input {
  padding: 12px 14px;
  border: 1.5px solid #e0dbd2;
  border-radius: 8px;
  font-size: 14px;
  color: #0b1810;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  width: 100%;
  transition: border-color .15s;
}
.wl-form .field input:focus       { border-color: #0b1810; }
.wl-form .field input::placeholder { color: #b5c4bc; }
.wl-note { font-size: 12px; color: rgba(11,24,16,.45); text-align: center; margin-top: 14px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { padding: 28px 0 34px; border-top: 1px solid var(--border); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.footer p { font-size: 12px; color: var(--ink-3); margin: 0; }
.footer p:last-child { text-align: right; }

/* ─── Acessibilidade ─────────────────────────────────────────── */
:focus-visible { outline: 2px solid #1c4a2e; outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-links a, .hero-ghost, .nav-cta { transition: none; }
}

/* ─── Responsivo ─────────────────────────────────────────────── */
@media (max-width: 820px) {
  .shell { width: calc(100% - 32px); }

  .nav-hide-mobile { display: none; }

  .hero-content { padding: 48px 0 32px; justify-content: flex-end; }
  .hero-content h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }

  .how-head { padding: 56px 0 36px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 40px 32px 44px; }

  .agencies { padding: 64px 0; }
  .agencies-layout { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }

  .waitlist { padding: 64px 0; }
  .waitlist-layout { grid-template-columns: 1fr; gap: 36px; }

  .footer-inner { grid-template-columns: 1fr; gap: 8px; }
  .footer p:last-child { text-align: left; }
}
