@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

.jobz-map {
  --jobz-bg: #080a0f;
  --jobz-surface: #161b22;
  --jobz-surface-deep: #0d1117;
  --jobz-blue: #1f6feb;
  --jobz-blue-light: #3d8eff;
  --jobz-text: #f0f6ff;
  --jobz-muted: #aab5c1;
  --jobz-border: rgba(240, 246, 255, .14);
  --jobz-danger: #ff8993;
  box-sizing: border-box;
  padding: clamp(24px, 5vw, 80px) 16px;
  background: var(--jobz-bg);
  color: var(--jobz-text);
  font-family: 'DM Sans', sans-serif;
}

.jobz-mapeamento-template,
.jobz-mapeamento-template__main { min-height: 100%; margin: 0; padding: 0; background: var(--jobz-bg, #080a0f); }
.jobz-map--full-page { min-height: 100svh; }

.jobz-map *,
.jobz-map *::before,
.jobz-map *::after { box-sizing: border-box; }

.jobz-map__card {
  position: relative;
  width: min(100%, 760px);
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px);
  overflow: hidden;
  background: var(--jobz-surface);
  border: 1px solid var(--jobz-border);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .82);
  animation: jobz-form-arrival 560ms cubic-bezier(.16, 1, .3, 1) both;
}

.jobz-map__card::before {
  position: absolute;
  top: -46px;
  right: -46px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(61, 142, 255, .36);
  border-radius: 50%;
  content: '';
}

.jobz-map__logo { display: block; position: relative; z-index: 1; width: min(178px, 44vw); height: auto; margin: 0 0 28px; }

.jobz-map__progress {
  position: relative;
  height: 3px;
  margin-bottom: clamp(32px, 6vw, 52px);
  overflow: hidden;
  background: rgba(240, 246, 255, .11);
}

.jobz-map__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--jobz-blue);
  transition: width 360ms cubic-bezier(.16, 1, .3, 1);
}

.jobz-map__step { max-width: 65ch; }

.jobz-map h1,
.jobz-map h2 {
  margin: 0 0 18px;
  color: var(--jobz-text);
  font-weight: 300;
  letter-spacing: -.032em;
  line-height: 1.02;
}

.jobz-map h1 { font-size: clamp(38px, 6vw, 60px); }
.jobz-map h2 { font-size: clamp(31px, 5vw, 46px); }

.jobz-map p {
  margin: 0 0 18px;
  color: var(--jobz-muted);
  font-size: 17px;
  line-height: 1.62;
}

.jobz-map__lead { color: var(--jobz-text) !important; font-size: clamp(18px, 2.5vw, 21px) !important; line-height: 1.48 !important; }

.jobz-map__field { margin-top: 26px; }

.jobz-map label {
  display: block;
  margin-bottom: 9px;
  color: var(--jobz-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.jobz-map label span { color: var(--jobz-blue-light); }

.jobz-map input,
.jobz-map textarea,
.jobz-map select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  appearance: none;
  background: var(--jobz-surface-deep);
  border: 1px solid rgba(240, 246, 255, .2);
  border-radius: 8px;
  color: var(--jobz-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.jobz-map textarea { min-height: 122px; resize: vertical; }
.jobz-map select { background-image: linear-gradient(45deg, transparent 50%, var(--jobz-muted) 50%), linear-gradient(135deg, var(--jobz-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.jobz-map select option { background: var(--jobz-surface-deep); color: var(--jobz-text); }

.jobz-map input:hover,
.jobz-map textarea:hover,
.jobz-map select:hover { border-color: rgba(61, 142, 255, .7); }

.jobz-map input:focus,
.jobz-map textarea:focus,
.jobz-map select:focus { outline: 0; border-color: var(--jobz-blue-light); box-shadow: 0 0 0 3px rgba(61, 142, 255, .22); }
.jobz-map :focus-visible { outline: 3px solid var(--jobz-blue-light); outline-offset: 3px; }
.jobz-map input:focus-visible,
.jobz-map textarea:focus-visible,
.jobz-map select:focus-visible { outline: 0; }

.jobz-map__hint,
.jobz-map__error { margin: 7px 0 0 !important; font-size: 14px !important; line-height: 1.42 !important; }
.jobz-map__hint { color: var(--jobz-muted) !important; }
.jobz-map__error { color: var(--jobz-danger) !important; font-weight: 500; }
.jobz-map__field.is-invalid input,
.jobz-map__field.is-invalid textarea,
.jobz-map__field.is-invalid select { border-color: var(--jobz-danger); }

.jobz-map__actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 38px;
}

.jobz-map__button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--jobz-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.jobz-map__button:hover { background: #3d8eff; transform: translateY(-1px); }
.jobz-map__button:disabled { cursor: wait; opacity: .62; transform: none; }
.jobz-map__button--secondary { border-color: rgba(240, 246, 255, .35); background: transparent; color: var(--jobz-text); }
.jobz-map__button--secondary:hover { background: rgba(240, 246, 255, .08); }

.jobz-map__activity-tools { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.jobz-map__text-button { padding: 0; border: 0; background: transparent; color: var(--jobz-blue-light); cursor: pointer; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.jobz-map__text-button--danger { color: var(--jobz-danger); }
.jobz-map__choice { padding-top: clamp(12px, 3vw, 32px); }
.jobz-map__choice-count { color: var(--jobz-blue-light) !important; font-family: 'DM Mono', monospace; font-size: 13px !important; letter-spacing: .04em; }
.jobz-map__choice-actions { display: grid; gap: 12px; margin-top: 34px; }
.jobz-map__choice-actions .jobz-map__button { width: 100%; min-height: 56px; }
.jobz-map__choice-actions .jobz-map__button--secondary { border-color: rgba(61, 142, 255, .8); color: var(--jobz-text); }
.jobz-map__limit { margin-top: 30px !important; color: var(--jobz-blue-light) !important; }

.jobz-map__review { margin: 30px 0 0; }
.jobz-map__review > div { padding: 16px 0; border-top: 1px solid var(--jobz-border); }
.jobz-map__review dt { margin-bottom: 6px; color: var(--jobz-blue-light); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.jobz-map__review dd { margin: 0; color: var(--jobz-text); line-height: 1.5; }
.jobz-map__review ol { margin: 0; padding-left: 20px; }
.jobz-map__review li + li { margin-top: 8px; }

.jobz-map__status { min-height: 1.5em; margin: 25px 0 0; color: var(--jobz-muted); font-size: 14px; }
.jobz-map__card.is-complete .jobz-map__status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.jobz-map__success { padding-top: 28px; }
.jobz-map__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.jobz-map__noscript { color: var(--jobz-danger) !important; }

@keyframes jobz-form-arrival {
  from { opacity: 0; clip-path: inset(0 0 18% 0 round 14px); transform: translateY(14px); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round 14px); transform: translateY(0); }
}

@media (max-width: 640px) {
  .jobz-map { padding: 0; background: var(--jobz-surface); }
  .jobz-map__card { min-height: 100vh; padding: 28px 20px 38px; border: 0; border-radius: 0; box-shadow: none; }
  .jobz-map__card::before { width: 100px; height: 100px; top: -37px; right: -37px; }
  .jobz-map__actions { flex-direction: column-reverse; }
  .jobz-map__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .jobz-map *, .jobz-map *::before, .jobz-map *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
