/* ==========================================================================
   SPTECH — Processo seletivo
   Depende de styles.css e course.css (hero, breadcrumb).
   ========================================================================== */

/* Painel "agora" no hero */
.now {
  position: relative;
  max-width: 460px;
  width: 100%;
  justify-self: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.now::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -7%; top: -8%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 0 0 0 100%;
  background: var(--pink);
}
.now::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6%; bottom: -7%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.now__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.now__head small { color: var(--muted); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.now__date { color: var(--ink); font-weight: 700; font-size: 0.9rem; }
.now__list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.now__item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--bg-soft); }
.now__item b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 0.98rem; }
.now__item span { color: var(--muted); font-size: 0.86rem; }
.now__pulse { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #18a957; box-shadow: 0 0 0 0 rgba(24, 169, 87, 0.5); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 70% { box-shadow: 0 0 0 10px rgba(24, 169, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 169, 87, 0); } }
.now__next { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.9rem; }
.now__next b { color: var(--ink); }
.now .btn { width: 100%; margin-top: 18px; }

/* Fases */
.weights { display: flex; gap: 4px; height: 16px; margin-bottom: 18px; border-radius: 99px; overflow: hidden; }
.weights i { flex: var(--w) 1 0; background: var(--c); }
.weights-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 26px; color: var(--muted); font-size: 0.9rem; }
.weights-legend b { color: var(--ink); }
.phases3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phase3 {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  overflow: hidden;
}
.phase3::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.phase3__n { color: var(--c-ink, var(--c)); font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.phase3 h3 { margin-top: 8px; font-family: var(--font-display); font-size: 1.3rem; }
.phase3 p { margin-top: 6px; }
.phase3__tag { align-self: flex-start; margin-top: 14px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pink) 10%, #fff); color: #c3004a; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.phase3__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.phase3__stats div { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.phase3__stats small { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.phase3__stats strong { display: block; margin-top: 2px; color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; }
.phase3__when { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.phase3__when svg { width: 18px; height: 18px; color: var(--c-ink, var(--c)); }
.rule { margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.rule strong { color: var(--ink); }
@media (max-width: 900px) { .phases3 { grid-template-columns: 1fr; } }

/* Simulador */
.sim { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: stretch; }
.sim__inputs { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--bg-soft); }
.sim__field label { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-weight: 700; }
.sim__field label span { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.sim__row { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; margin-top: 8px; }
.sim__row input[type="range"] { width: 100%; accent-color: var(--c); }
.sim__row input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
}
.sim__row input[type="number"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.sim__hint { margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
.sim__hint.is-bad { color: #c3004a; font-weight: 700; }
.sim__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}
.sim__result small { color: var(--yellow); font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sim__total { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.sim__total span { color: rgba(255, 255, 255, 0.5); font-size: 0.4em; letter-spacing: 0; }
.sim__meter { position: relative; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: visible; }
.sim__meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 0%); border-radius: 99px; background: var(--pink); transition: width 0.3s var(--ease), background 0.3s; }
.sim__meter.is-ok i { background: #18a957; }
.sim__meter::after { content: ""; position: absolute; left: 75%; top: -6px; bottom: -6px; width: 2px; background: var(--yellow); }
.sim__scale { display: flex; justify-content: space-between; font-size: 0.78rem; }
.sim__scale span:nth-child(2) { margin-left: 48%; color: var(--yellow); }
.sim__verdict { color: #fff; font-weight: 700; }
.sim__note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }

/* Cronograma */
.schedule { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: 48px 1.3fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px 14px 14px 4px; background: var(--bg-soft); color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.step b { display: block; color: var(--ink); font-family: var(--font-display); }
.step span { color: var(--muted); font-size: 0.9rem; }
.step__dates { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.step__dates small { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--todo { background: var(--bg-soft); color: var(--muted); }
.status--now { background: color-mix(in srgb, #18a957 14%, #fff); color: #0f7a3e; }
.status--done { background: color-mix(in srgb, var(--navy) 8%, #fff); color: var(--navy); }
.step.is-now { box-shadow: inset 0 0 0 2px #18a957; }
.step.is-now .step__n { background: #18a957; color: #fff; }
.step.is-done { opacity: 0.7; }
.step.is-done .step__n { background: var(--navy); color: #fff; }
.schedule-note { margin-top: 12px; color: var(--muted); font-size: 0.86rem; }
@media (max-width: 760px) {
  .step { grid-template-columns: 44px 1fr; gap: 10px 14px; }
  .step__dates, .step .status { grid-column: 2; }
  .step .status { justify-self: start; }
}

/* Documentos */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.doc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.doc__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c); color: #fff; }
.doc__ico svg { width: 24px; height: 24px; }
.doc strong { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.doc span { color: var(--muted); font-size: 0.88rem; }
.doc em { margin-top: auto; color: var(--ink); font-style: normal; font-weight: 700; font-size: 0.86rem; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }

/* Grupo do WhatsApp */
.wa-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, #25d366 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #25d366 30%, #fff);
}
.wa-band__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #25d366; color: #fff; }
.wa-band__ico svg { width: 32px; height: 32px; }
.wa-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.wa-band p { margin-top: 4px; }
.btn--wa { --btn-bg: #1a9e4b; }
@media (max-width: 760px) { .wa-band { grid-template-columns: 1fr; } }
