:root {
  --canvas: #070807;
  --panel: #111613;
  --ink: #F4F6F2;
  --ink-2: #A8B0A4;
  --soft: #7C8478;
  --line: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .1);
  --border-strong: rgba(255, 255, 255, .22);
  --accent: #A8E63A;
  --accent-hover: #98D62C;
  --accent-soft: rgba(168, 230, 58, .1);
  --dark: #070807;
  --f-display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: min(1120px, calc(100% - 2.5rem));
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0;
}
p { margin: 0; }
.wrap { width: var(--container); margin-inline: auto; }
.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #0A0E0B;
  padding: .6rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 7, .78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.mark { width: 28px; height: 28px; display: block; }
.brand strong { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; }
.brand span { color: var(--soft); font-size: .92rem; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-link {
  color: var(--ink-2);
  text-decoration: none;
  font-size: .92rem;
}
.nav-link:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .95rem 1.45rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary { background: var(--accent); color: #0A0E0B; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: .62rem 1rem; font-size: .9rem; }

.hero { padding: clamp(3.2rem, 8vw, 6.5rem) 0 var(--section); }
.kicker { color: var(--accent); margin-bottom: 1.25rem; }
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  max-width: 22ch;
}
.lede {
  margin-top: 1.4rem;
  max-width: 40rem;
  color: var(--ink-2);
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.vagas-note { margin-top: 1.4rem; color: var(--ink); font-size: .98rem; }
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.25rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

section { padding: var(--section) 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: .7rem; }
.section-kicker { color: var(--soft); }

.cards-3, .cards-2, .who, .continue-grid, .steps {
  display: grid;
  gap: 1rem;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: 1fr 1fr; }
.card, .who-col, .faq, .close, .continue-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card, .continue-card { padding: 1.4rem 1.35rem 1.3rem; }
.card h2, .card h3, .continue-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.card p, .continue-card p, .who li, .faq p, .prose p { color: var(--ink-2); }
.tools {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .95rem;
}
.tools span { display: block; margin-bottom: .35rem; color: var(--accent); }

.rhythm {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.rhythm article {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.rhythm strong { display: block; margin-bottom: .3rem; }
.rhythm p { color: var(--ink-2); font-size: .98rem; }

.who { grid-template-columns: 1.15fr .85fr; }
.who-col { padding: 1.5rem 1.4rem 1.2rem; }
.who h3 { font-size: 1.2rem; margin: .35rem 0 1rem; }
.who ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.who li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.yes { color: var(--accent); font-weight: 600; }
.no { color: var(--soft); }

.faq-list { display: grid; gap: .75rem; }
.faq { padding: 0 1.25rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.plus {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  position: relative;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.plus::before { width: 10px; height: 1.5px; }
.plus::after { width: 1.5px; height: 10px; transition: transform .2s var(--ease); }
details[open] .plus::after { transform: scaleY(0); }
.faq p { padding: 0 0 1.2rem; max-width: 46rem; }
.faq a, .prose a { color: var(--accent); }

.continue-grid { grid-template-columns: 1fr 1fr; }
.continue-card {
  text-decoration: none;
  display: block;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.continue-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.continue-card .mono { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem .75rem;
  color: var(--ink-2);
  font-size: .9rem;
}

.close {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  overflow: hidden;
}
.close-num {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: .85;
  letter-spacing: -.06em;
  color: var(--accent);
}
.close h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16ch; }
.close p { margin-top: .8rem; color: var(--ink-2); max-width: 36rem; }
.close .btn { margin-top: 1.3rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  color: var(--ink-2);
}
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer ul { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .4rem; }
.legal { margin-top: 2rem; color: var(--soft); font-size: .9rem; }

body.page h1 { max-width: 16em; font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
body.page .hero { padding-bottom: 1.5rem; }
.crumb { margin-bottom: 1rem; color: var(--soft); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-top: .6rem; }
.stack { display: grid; gap: 1rem; margin-top: 1.5rem; }
.choice {
  width: 100%;
  text-align: left;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  font: inherit;
  cursor: pointer;
}
.choice:hover { border-color: var(--accent); }
.choice b { color: var(--accent); margin-right: .45rem; }
.quiz, .calc-form { max-width: 40rem; }
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 1.25rem;
  align-items: start;
}
.fields { display: grid; gap: .9rem; }
.fields label, .fields legend { display: grid; gap: .35rem; color: var(--ink-2); font-size: .95rem; }
.fields input, .fields select {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1rem;
  font: inherit;
}
.fields small { color: var(--soft); }
.result-list { display: grid; gap: .85rem; margin-top: 1rem; }
.result-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.result-list strong { color: var(--ink); }
.big {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em;
  margin: .4rem 0 .2rem;
}
.quiz h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .4rem 0 1.1rem; }
.hidden { display: none; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range-head strong { color: var(--accent); font-family: var(--f-display); font-size: 1.6rem; }
input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  padding: 0;
  background: transparent;
  border: 0;
}
.type-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.type-row button {
  flex: 1;
  min-width: 9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--canvas);
  color: var(--ink-2);
  padding: .9rem 1rem;
}
.type-row button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0E0B;
}
.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .95rem 1rem;
  background: var(--canvas);
}
.toggle strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.toggle span { color: var(--soft); font-size: .9rem; }
.switch {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #1c221e;
  position: relative;
  flex: none;
  cursor: pointer;
}
.switch::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d7ddd8;
  top: 3px;
  left: 3px;
}
.switch[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(18px); background: #0A0E0B; }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin: .7rem 0; }
.meter span { display: block; height: 100%; background: var(--accent); }
.calc aside.card { position: sticky; top: 96px; }

@media (max-width: 860px) {
  .cards-3, .rhythm, .who, .continue-grid, .foot, .close, .steps, .calc { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .brand span { display: none; }
}
