:root {
  --marca: #011E94;
  --marca-hover: #0A2FBF;
  --ink: #171717;
  --muted: #5F6673;
  --line: #E5E7EB;
  --line-strong: #CBD0D8;
  --bg: #FAFAFA;
  --panel-w: 520px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, p { margin: 0; }

a { color: var(--marca); text-decoration: none; }
a:hover { color: var(--marca-hover); }

.hub {
  display: grid;
  grid-template-columns: var(--panel-w) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- painel azul ---------- */

.panel {
  background: var(--marca);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.logo {
  width: 104px;
  height: auto;
  display: block;
  color: #fff;
}

.panel__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.panel h1 {
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 360px;
  text-wrap: pretty;
}

.panel__foot {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- lista de sistemas ---------- */

.list {
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
}

.list__head {
  display: flex;
  justify-content: space-between;
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.list__head h2 {
  font-size: inherit;
  font-weight: inherit;
}

.row {
  display: grid;
  grid-template-columns: 32px 24px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  min-height: 44px;
  transition: background-color 120ms ease;
}

a.row:hover,
a.row:focus-visible {
  background: #F1F3F8;
  color: var(--ink);
  outline: none;
}

a.row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--marca);
}

.row__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.row__icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--marca);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.row__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.row__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
}

.row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--marca);
  white-space: nowrap;
}

.row__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 120ms ease;
}

a.row:hover .row__link svg {
  transform: translate(2px, -2px);
}

.row--soon {
  opacity: 0.6;
  cursor: default;
}

.row__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- telas médias ---------- */

@media (max-width: 1200px) {
  :root { --panel-w: 420px; }
  .panel { padding: 56px 44px; }
  .list { padding: 72px 48px; }
}

/* ---------- celular e tablet estreito ---------- */

@media (max-width: 900px) {
  .hub {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel {
    padding: 40px 24px 36px;
    gap: 36px;
  }

  .panel__foot { display: none; }

  .logo { width: 88px; }

  .list {
    padding: 32px 24px 48px;
    max-width: none;
  }

  .row {
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-areas:
      "icon text"
      ".    link";
    column-gap: 20px;
    row-gap: 12px;
    padding: 24px 4px;
  }

  .row__num { display: none; }
  .row__icon { grid-area: icon; align-self: start; margin-top: 2px; }
  .row__text { grid-area: text; }
  .row__link, .row__badge { grid-area: link; justify-self: start; }

  .row__name { font-size: 19px; }
  .row__link { white-space: normal; word-break: break-all; }
}

@media (prefers-reduced-motion: reduce) {
  .row, .row__link svg { transition: none; }
}
