:root {
  --bg: #0a0a0b;
  --surface: #0e0e10;
  --surface-2: #141416;
  --border: #202023;
  --border-strong: #2c2c30;
  --text: #ececee;
  --muted: #86868c;
  --faint: #5a5a61;
  --accent: #c8a24a;
  --accent-weak: rgba(200, 162, 74, .10);
  --danger: #e0695f;
  --r: 10px;
  --r-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

/* Brand */
.brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}
.brand__mark {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.2px;
}
.brand__mark span { color: var(--accent); }
.brand__tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .5px;
}

/* Card — sem sombras, sem gradiente. Só um contorno fino. */
.card {
  background: transparent;
  border-top: 1px solid var(--border);
}

/* Progress — linha fina */
.progress {
  height: 1px;
  background: var(--border);
  position: relative;
}
.progress__bar {
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 33%;
  background: var(--accent);
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

/* Steps */
.step {
  display: none;
  padding: 44px 0 8px;
  animation: fade .3s ease;
}
.step.is-active { display: block; }
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.step__head { margin-bottom: 36px; }
.step__kicker {
  display: block;
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 18px;
}
.step__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.4px;
}
/* Pergunta como título da página */
.step__q {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.3px;
  line-height: 1.35;
  margin: 0 0 22px;
}
.step__sub {
  margin: -12px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Fields */
.field { margin-bottom: 28px; }
.field.is-hidden { display: none; }
.field > label {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--text);
}
.req { color: var(--accent); font-weight: 400; }
.hint { color: var(--muted); font-weight: 400; font-size: 13px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus { border-color: var(--border-strong); }

/* NPS scale — flat, sem hover elevado */
.nps {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
}
.nps button {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.nps button:hover { border-color: var(--border-strong); color: var(--text); }
.nps button.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #10130a;
  font-weight: 600;
}
.nps__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--faint);
}

/* Options */
.options { display: flex; flex-direction: column; gap: 6px; }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .15s;
}
.opt:hover { border-color: var(--border-strong); }
.opt input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.opt:has(input:checked) { border-color: var(--accent); }
.other-input { margin-top: 8px; }

/* Buttons */
.actions { margin-top: 40px; }
.actions--split { display: flex; justify-content: space-between; gap: 12px; }
.btn {
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn--primary {
  background: var(--accent);
  color: #10130a;
}
.btn--primary:hover { background: var(--accent-2, #d8b25c); }
.btn--primary:disabled { opacity: .5; cursor: not-allowed; }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--border-strong); }
.actions:not(.actions--split) .btn { width: 100%; }

/* Error */
.form-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 20px;
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }

/* Success */
.step--success { text-align: center; padding: 80px 0 40px; }
.success__check {
  width: 44px; height: 44px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.success h1 { font-size: 22px; font-weight: 600; margin: 0 0 12px; letter-spacing: -.3px; }
.success p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 380px; margin: 0 auto; }

/* Footer */
.foot {
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  margin-top: 48px;
}

@media (max-width: 560px) {
  .page { padding: 40px 20px 48px; }
  .step__title { font-size: 21px; }
  .nps { gap: 4px; }
  .nps button { font-size: 13px; }
}
