.portals {
  grid-template-columns: repeat(2, 1fr);
}

.reference-hero {
  position: relative;
  width: 100%;
  background: #f7f9fd;
  overflow: hidden;
}

.reference-hero > img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-hotspots {
  position: absolute;
  inset: 0;
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 8px;
  outline-offset: 3px;
}

.hotspot:hover,
.hotspot:focus-visible {
  background: rgba(22, 73, 215, 0.08);
  box-shadow: 0 0 0 3px rgba(22, 73, 215, 0.2);
}

.hs-solutions { left: 23.8%; top: 2.1%; width: 7.2%; height: 5.2%; }
.hs-difference { left: 32.6%; top: 2.1%; width: 8.4%; height: 5.2%; }
.hs-projects { left: 42.8%; top: 2.1%; width: 7%; height: 5.2%; }
.hs-contact { left: 50.8%; top: 2.1%; width: 7%; height: 5.2%; }
.hs-finance { left: 60.8%; top: 2.2%; width: 10.3%; height: 4.8%; }
.hs-store { left: 73.2%; top: 2.2%; width: 5.7%; height: 4.8%; }
.hs-vms { left: 80.1%; top: 2.2%; width: 5.7%; height: 4.8%; }
.hs-condos { left: 86.9%; top: 2.2%; width: 9.3%; height: 4.8%; }
.hs-quote { left: 4.1%; top: 58.1%; width: 17.2%; height: 6.6%; }
.hs-know { left: 23.1%; top: 58.1%; width: 17.1%; height: 6.6%; }

.mobile-quick-links {
  display: none;
}

.portal-card {
  scroll-margin-top: 110px;
}

.portal-card-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.portal-card-link:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(6, 23, 59, 0.12);
  transform: translateY(-3px);
}

.portal-action {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portal-action b {
  margin-left: 5px;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .brand img {
    width: 210px;
  }

  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 12px;
  }

  .menu .nav-financeiro {
    padding: 10px;
  }
}

@media (max-width: 800px) {
  .hero-hotspots {
    display: none;
  }

  .mobile-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .mobile-quick-links a {
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: 9px;
    border: 1px solid #b9c9ea;
    border-radius: 7px;
    color: var(--navy);
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-quick-links .quick-quote {
    grid-column: 1 / -1;
    background: #0739bd;
    border-color: #0739bd;
    color: #fff;
  }

  .portals {
    grid-template-columns: 1fr;
  }
}
