:root {
  --ink: #1a140f;
  --ink-soft: #3a322b;
  --paper: #f3ebdd;
  --paper-2: #e8dcc8;
  --line: rgba(26, 20, 15, 0.12);
  --muted: #6b5e52;
  --terracotta: #c2451e;
  --terracotta-dark: #9a3412;
  --citrus: #d6ef4a;
  --citrus-deep: #b9d12a;
  --forest: #1f3d2b;
  --whatsapp: #128c4b;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
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;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(214, 239, 74, 0.28), transparent 55%),
    radial-gradient(900px 400px at -10% 20%, rgba(194, 69, 30, 0.1), transparent 50%),
    var(--paper);
  font-family: Figtree, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 235, 221, 0.84);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(26, 20, 15, 0.18);
}
.site-header.is-scrolled {
  background: rgba(243, 235, 221, 0.92);
  border-bottom-color: rgba(26, 20, 15, 0.26);
}

.site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img { width: 116px; height: auto; }

.site-header-end {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.012em;
  line-height: 1.2;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}
.nav-login {
  font-weight: 650;
  color: var(--ink);
}

.site-header .site-header-cta {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.875rem;
  line-height: 1.2;
}

.site-header .logo:focus-visible,
.nav-links a:focus-visible,
.site-header-cta:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.icp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.icp-chips li {
  font-size: 0.8rem;
  font-weight: 650;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 20, 15, 0.06);
  color: var(--ink-soft);
}

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contrast article {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contrast article:last-child {
  background: var(--ink);
  color: #f3ebdd;
}
.contrast h3 { margin: 0 0 10px; font-size: 1.05rem; }
.contrast ul { margin: 0; padding-left: 18px; color: var(--muted); }
.contrast article:last-child ul { color: #cbbba8; }

.plan form input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: #fff;
}
.plan.featured form input[type="email"] { border: 0; }
.plan form .btn { width: 100%; }
.waitlist-ok { color: var(--forest); margin-top: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 650;
  border-radius: 999px;
  padding: 12px 18px;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(194, 69, 30, 0.22);
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ink {
  background: var(--ink);
  color: var(--citrus);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-lg { padding: 16px 22px; font-size: 1.05rem; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
h1, h2, .display {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 600;
  max-width: 12ch;
}
h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.lead {
  margin: 18px 0 28px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.claim {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(26, 20, 15, 0.06);
}
.claim-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.claim-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.claim-prefix strong { color: var(--ink); }
.claim input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  outline: none;
}
.claim input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194, 69, 30, 0.12);
}
.claim-msg {
  min-height: 1.3em;
  margin: 8px 4px 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.claim-msg.ok { color: var(--forest); }
.claim-msg.err { color: var(--terracotta); }
.click-trigger {
  margin: 12px 4px 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.phone {
  justify-self: center;
  width: min(340px, 100%);
  background: var(--ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(26, 20, 15, 0.28);
  animation: floaty 7s var(--ease) infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-screen {
  background: #f6efe4;
  border-radius: 26px;
  overflow: hidden;
  min-height: 560px;
  padding: 22px 18px 18px;
  color: var(--ink);
}
.phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.demo-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #c2451e;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Fraunces, serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.demo-name { font-weight: 750; font-size: 1.15rem; }
.demo-bio { color: var(--muted); font-size: 0.88rem; margin: 4px 0 14px; }
.demo-grid { display: grid; gap: 8px; }
.chip {
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 650;
  font-size: 0.92rem;
}
.chip.wa { background: #128c4b; color: #fff; }
.chip.pix { background: var(--ink); color: var(--citrus); }
.chip.prod { display: flex; justify-content: space-between; align-items: center; }
.chip small { font-weight: 500; color: var(--muted); }

.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 16ch;
}
.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 12px 0 32px;
  font-size: 1.05rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 210px;
}
.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--citrus);
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  padding: 24px;
  border-top: 2px solid var(--ink);
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: Fraunces, serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--terracotta);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.plan {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: var(--ink);
  color: #f3ebdd;
  transform: translateY(-8px);
}
.plan.featured p, .plan.featured li { color: #cbbba8; }
.plan .price {
  font-family: Fraunces, serif;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}
.plan .price span { font-size: 1rem; font-family: Figtree, sans-serif; }
.plan ul {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  flex: 1;
}
.plan li { padding: 6px 0; }
.plan li::before { content: "– "; }
.plan-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.plan.featured .plan-note { color: #cbbba8; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 8px 0 0; }

.final {
  text-align: center;
  padding: 80px 20px;
  background: var(--forest);
  color: #e7f0e4;
  border-radius: 32px;
  margin-bottom: 40px;
}
.final h2 { color: #fff; margin-inline: auto; }
.final p { color: #b7c9bc; margin: 12px auto 24px; max-width: 32rem; }

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero, .features, .steps, .pricing, .contrast { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-login) { display: none; }
  .phone { animation: none; }
  .plan.featured { transform: none; }
  h1 { max-width: none; }
}

@media (max-width: 640px) {
  .claim-row { flex-direction: column; }
  .claim-prefix { justify-content: center; padding: 10px 14px; }
  .site-header-bar { min-height: 64px; gap: 12px; }
  .logo img { width: 100px; }
  .site-header-end { gap: 14px; }
  .cta-mid { display: none; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

@media (hover: hover) and (pointer: fine) {
  .feature { transition: transform 220ms var(--ease); }
  .feature:hover { transform: translateY(-3px); }
  .nav-links a:hover { color: var(--ink); }
}
