/* Página: Manutenção de sistemas — complementa sistemas.css */

.msl-hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.12)),
    #0b172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  padding: 20px 16px 16px;
  display: grid;
  gap: 12px;
  align-content: center;
}

.msl-evolve {
  display: grid;
  grid-template-columns: 1.15fr auto 1fr auto 1.15fr;
  gap: 8px;
  align-items: stretch;
}

.msl-panel {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 12px;
  min-height: 210px;
  background: #0f1c31;
  color: #e2e8f0;
}

.msl-panel--current {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.45);
}

.msl-panel--analyze {
  background: linear-gradient(180deg, #102a44 0%, #0f1c31 100%);
  border-color: rgba(96, 165, 250, 0.35);
}

.msl-panel--next {
  background: linear-gradient(180deg, #0f2748 0%, #0b1d36 100%);
  border-color: rgba(59, 130, 246, 0.4);
}

.msl-panel-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.msl-panel--analyze .msl-panel-label,
.msl-panel--next .msl-panel-label {
  color: #93c5fd;
}

.msl-ui-top {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.msl-ui-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
}

.msl-panel--current .msl-ui-top i:first-child { background: #64748b; }

.msl-ui-rows {
  display: grid;
  gap: 6px;
}

.msl-ui-rows span {
  display: block;
  height: 18px;
  border-radius: 5px;
  background: #e2e8f0;
}

.msl-ui-rows span:nth-child(2) { width: 78%; }
.msl-ui-rows span:nth-child(3) { width: 90%; }
.msl-ui-rows span:nth-child(4) { width: 62%; background: #fecaca; }
.msl-ui-rows span:nth-child(5) { width: 84%; }

.msl-scan {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.msl-scan b {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}

.msl-scan b::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.msl-scan b:nth-child(2)::before { background: #38bdf8; }
.msl-scan b:nth-child(3)::before { background: #93c5fd; }

.msl-modules {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.msl-modules em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.msl-modules em:last-child {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.35), rgba(96, 165, 250, 0.18));
  border-color: rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
}

.msl-arrow {
  align-self: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.msl-hero-caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #bfdbfe;
  font-weight: 600;
}

.msl-problem-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.msl-problem-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.msl-problem-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--blue-600);
}

.msl-checklist {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.msl-checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.4;
}

.msl-checklist svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #60a5fa;
}

.msl-note {
  margin: 22px 0 0;
  max-width: 60ch;
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.65;
}

.msl-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.msl-service {
  padding: 20px 18px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.msl-service strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text, #0f172a);
}

.msl-service p {
  margin: 0;
  color: var(--text-2, #475569);
  font-size: 14.5px;
  line-height: 1.55;
}

.msl-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.msl-path {
  padding: 20px 18px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.msl-path span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.msl-path strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.msl-path p {
  margin: 0;
  color: var(--text-2, #475569);
  font-size: 14.5px;
  line-height: 1.55;
}

.msl-scenarios {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.msl-scenarios li {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-2, #475569);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .msl-services,
  .msl-paths {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .msl-evolve {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .msl-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .msl-panel {
    min-height: 0;
  }

  .msl-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .msl-services,
  .msl-paths {
    grid-template-columns: 1fr;
  }
}
