.hb-sec {
  position: relative;
  background: var(--white);
  padding: 30px 0 36px;
}
.hb-janela {
  width: 100%;
  padding: 3px;
  background: #c6c6c6;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #fff,
    inset -2px -2px gray,
    inset 2px 2px #dfdfdf,
    5px 5px #12173a40;
}
.hb-barra {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 8px 0 5px;
  background: linear-gradient(90deg, navy, #1084d0);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  user-select: none;
}
.hb-ic {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}
.hb-barra span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-corpo {
  position: relative;
  margin-top: 3px;
  padding: 18px 24px 16px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow:
    inset 1px 1px #0a0a0a,
    inset -1px -1px #fff,
    inset 2px 2px gray,
    inset -2px -2px #dfdfdf;
}
.hb-corpo:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-red),
    var(--accent-yellow),
    var(--accent-green),
    var(--accent-blue),
    var(--accent-purple)
  );
}
.hb-texto {
  min-width: 0;
}
.hb-titulo {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gray-950);
}
.hb-lede {
  margin-top: 2px;
  font-size: 0.92rem;
  color: var(--gray-600);
}
.hb-grade {
  display: flex;
  flex: none;
  gap: 14px;
}
.hb-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  font: inherit;
  color: var(--gray-950);
  cursor: pointer;
  background: var(--gray-50);
  border: 2px solid var(--gray-950);
  border-radius: 0;
  box-shadow: 3px 3px #12173a38;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.hb-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px #12173a4d;
  background: #fff;
}
.hb-tile:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 #12173a4d;
}
.hb-tile:focus-visible {
  outline: 2px dotted var(--gray-950);
  outline-offset: 3px;
}
.hb-icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 2px solid var(--gray-950);
  animation: hbFlutua 3.2s ease-in-out infinite;
}
.hb-icone svg {
  width: 20px;
  height: 20px;
}
.hb-escolas .hb-icone {
  background: var(--steam-pink);
}
.hb-catalogo .hb-icone {
  background: var(--steam-blue);
  animation-delay: -1.6s;
}
.hb-tt {
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}
.hb-tt i {
  font-style: normal;
  display: inline-block;
  margin-left: 6px;
  animation: hbSeta 1.3s ease-in-out infinite;
}
@keyframes hbFlutua {
  0%,
  to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes hbSeta {
  0%,
  to {
    transform: translate(0);
  }
  50% {
    transform: translate(4px);
  }
}
@media (max-width: 900px) {
  .hb-corpo {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 16px 16px;
  }
  .hb-grade {
    flex-direction: column;
    gap: 12px;
  }
  .hb-tile {
    width: 100%;
  }
}
@media (max-width: 760px) {
  .hb-sec {
    padding: 24px 0 28px;
  }
  .hb-sec .container {
    padding: 0 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-icone,
  .hb-tt i {
    animation: none;
  }
}
