/* Objective Navigator — Quick Assessment (Febraban Tech)
 * Implementation of "Objective Navigator.dc.html" — mobile-first, dark theme. */

html, body { margin: 0; padding: 0; background: #06101A; }
* { box-sizing: border-box; }

a { color: #EA7600; }
a:hover { color: #E16F10; }

input::placeholder { color: rgba(255, 255, 255, .35); }
input:focus { outline: 2px solid #4E7B9E; outline-offset: 2px; }
button:focus-visible,
[role="checkbox"]:focus-visible,
[role="button"]:focus-visible { outline: 2px solid #4E7B9E; outline-offset: 2px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes radarIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Shell ---------- */
.stage {
  min-height: 100dvh;
  background: #06101A;
  display: flex;
  justify-content: center;
  font-family: 'Satoshi', -apple-system, 'Segoe UI', sans-serif;
}
.phone {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(234, 118, 0, .20) 0%, rgba(234, 118, 0, 0) 42%),
    linear-gradient(160deg, #12212E 0%, #0B1622 60%);
  color: #fff;
  overflow: hidden;
}

.screen { animation: fadeUp .36s cubic-bezier(.2, 0, 0, 1); }

/* ---------- Top bar (steps 2–4) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 22, 34, .82);
  backdrop-filter: blur(12px);
}
.progress-track { height: 3px; background: rgba(255, 255, 255, .10); }
.progress-fill {
  height: 3px;
  background: #EA7600;
  transition: width .36s cubic-bezier(.2, 0, 0, 1);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 48px;
}
.btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .72);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  padding: 10px 8px;
  cursor: pointer;
  min-height: 44px;
}
.step-counter {
  min-width: 76px;
  white-space: nowrap;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #EA7600;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn-primary {
  height: 52px;
  border: none;
  border-radius: 8px;
  background: #EA7600;
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.btn-primary:hover { background: #E16F10; }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(234, 118, 0, .7);
  background: none;
  color: #EA7600;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(234, 118, 0, .08); }
.btn-outline:active { transform: scale(.98); }

.btn-link {
  height: 48px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, .62);
  font-family: 'Satoshi', sans-serif;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link:hover { color: #fff; }

/* ---------- Option controls ---------- */
.chip {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.card-option {
  min-height: 48px;
  padding: 13px 16px;
  text-align: left;
  border-radius: 12px;
  color: rgba(255, 255, 255, .88);
  font-family: 'Satoshi', sans-serif;
  font-size: 14.5px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.scale-option {
  min-height: 56px;
  padding: 12px 16px;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Satoshi', sans-serif;
  transition: border-color .15s, background .15s;
}
.chip:hover, .card-option:hover, .scale-option:hover { border-color: rgba(234, 118, 0, .7); }
.chip:active, .card-option:active, .scale-option:active { transform: scale(.98); }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.field input {
  height: 50px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
}
.field input.invalid { border-color: #FF8A7A; }
.field .error { font-size: 12px; color: #FF8A7A; min-height: 0; }

/* ---------- Trilha de conformidade (app: nuvem) ---------- */
.trilha {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}
