:root {
  color-scheme: dark;
  /* paleta do Kaique: #0A0F14 #0F3D3E #2E6F73 #7FB3B8 #EADCC8 #C6601F */
  --bg: #0A0F14;
  --surface: #0F3D3E;
  --ink: #EADCC8;
  --muted: #7FB3B8;
  --line: rgb(46 111 115 / 0.6);
  --accent: #7FB3B8;
  --accent-soft: rgb(127 179 184 / 0.14);
  --action: #C6601F;
  --action-hover: #D9733A;
  --action-ink: #0A0F14;
  --signal: #C6601F;
  --signal-ink: #EADCC8;
  --signal-bg: rgb(198 96 31 / 0.28);
  --error: #F08A5D;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;

  --s-1: 0.85rem;
  --s0: 1.0625rem;
  --s1: 1.33rem;
  --s2: 1.66rem;
  --s3: clamp(2rem, 5vw, 2.6rem);
  --s4: clamp(2.5rem, 7.5vw, 4.25rem);

  --gutter: 16px;
  --radius-lg: 18px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s0)/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
s { color: var(--muted); text-decoration-thickness: 1.5px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- topo ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--s1);
  font-variation-settings: "wdth" 85;
  letter-spacing: -0.02em;
}
.top-link {
  color: var(--action);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 2px;
}
.top-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 72px;
}
.hero h1 {
  font-size: var(--s4);
  line-height: 1.02;
  font-weight: 750;
  font-variation-settings: "wdth" 82, "opsz" 96;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.lede {
  margin-top: 22px;
  font-size: var(--s1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
}
.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.hero-note { font-weight: 600; max-width: 28ch; }

/* vitrine: o espaço tracejado de "Site" é o motivo da página */
.vitrine { margin: 0; }
.vitrine figcaption {
  font-size: var(--s-1);
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 44ch;
}
.leads {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lead {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}
.lead.is-pick {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px -20px rgb(127 179 184 / 0.45);
}
.lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lead-kind {
  font-family: var(--display);
  font-weight: 650;
  font-size: var(--s0);
}
.lead-tag {
  font-size: var(--s-1);
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
}
.lead-name {
  display: block;
  height: 10px;
  width: 58%;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, #2E6F73 0 14px, rgb(46 111 115 / 0.45) 14px 18px);
}
.lead:nth-child(2) .lead-name { width: 44%; }
.lead:nth-child(3) .lead-name { width: 66%; }
.lead:nth-child(4) .lead-name { width: 50%; }
.lead:nth-child(5) .lead-name { width: 38%; }
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: var(--s-1);
  color: var(--muted);
}
.lead-links { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: var(--s-1);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}
.chip-missing {
  color: var(--signal-ink);
  background: var(--signal-bg);
  border: 2px dashed var(--signal);
  font-weight: 600;
}

/* entrada única: os cards chegam um a um */
@media (prefers-reduced-motion: no-preference) {
  .lead {
    animation: deal 520ms cubic-bezier(.2, .8, .2, 1) both;
  }
  .lead:nth-child(2) { animation-delay: 70ms; }
  .lead:nth-child(3) { animation-delay: 140ms; }
  .lead:nth-child(4) { animation-delay: 210ms; }
  .lead:nth-child(5) { animation-delay: 280ms; }
  @keyframes deal {
    from { opacity: 0; transform: translateY(14px); }
  }
}

/* ---------- como funciona ---------- */
.how { padding-block: 64px; border-top: 1px solid var(--line); }
.how h2, .plans h2, .join h2 {
  font-size: var(--s3);
  line-height: 1.08;
  font-weight: 700;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.02em;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  row-gap: 6px;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
}
.steps h3 { font-size: var(--s1); font-weight: 650; line-height: 1.2; padding-top: 8px; }
.steps p { color: var(--muted); max-width: 40ch; }
.rule {
  margin-top: 40px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  max-width: 62ch;
}

/* ---------- planos ---------- */
.plans { padding-block: 64px; border-top: 1px solid var(--line); }
.plans-note { margin-top: 12px; color: var(--muted); }
.plan-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.plan {
  display: grid;
  gap: 4px 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.plan h3 {
  font-size: var(--s1);
  font-weight: 650;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.plan-price { font-size: var(--s0); }
.plan-price strong {
  font-family: var(--display);
  font-size: var(--s2);
  font-weight: 700;
  font-variation-settings: "wdth" 85;
}
.plan-price span { color: var(--muted); }
.plan-desc { color: var(--muted); max-width: 46ch; }
.plan-top {
  background: var(--surface);
  border: 2px solid var(--action);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin-block: 10px;
}
.plan-top .plan-desc { color: var(--ink); }
.plan-flag {
  font-family: var(--body);
  font-size: var(--s-1);
  font-weight: 600;
  color: var(--action-ink);
  background: var(--action);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- lista ---------- */
.join {
  padding-block: 64px 80px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
}
.join-copy p { margin-top: 12px; color: var(--muted); max-width: 36ch; }

.form, .done {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input[type="email"],
.field input[type="tel"],
.field input[type="text"] {
  font: inherit;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
}
.field input::placeholder { color: rgb(127 179 184 / 0.6); }
.field input:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); }

.pick legend { margin-bottom: 8px; }
.pick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick-row label { position: relative; }
.pick-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-row span {
  display: block;
  text-align: center;
  padding: 11px 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-weight: 500;
}
.pick-row input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.pick-row input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: 600 var(--s0)/1 var(--body);
  min-height: 52px;
  padding: 0 22px;
  color: var(--action-ink);
  background: var(--action);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 150ms ease;
}
.btn:hover { background: var(--action-hover); }
.btn:disabled { opacity: 0.65; cursor: progress; }

.form-msg:empty { display: none; }
.form-msg { color: var(--error); font-weight: 500; }
.consent { font-size: var(--s-1); color: var(--muted); }

.done h3 { font-size: var(--s2); font-weight: 700; }
.done p { color: var(--muted); }
.done:focus { outline: none; }

/* ---------- rodapé ---------- */
.foot {
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--s-1);
}
.brand-sm { font-size: var(--s0); color: var(--ink); }
.consent a, .foot a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- telas maiores ---------- */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 96px;
  }
  .hero-copy { padding-top: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .plan {
    grid-template-columns: 220px 220px 1fr;
    align-items: baseline;
  }
  .plan-top { padding-inline: 20px; margin-inline: -20px; }
  .join { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .form, .done { padding: 28px; }
  .pick-row { grid-template-columns: repeat(4, 1fr); }
}
