/* Notre réseau AS198831 — /reseau */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('./transit-ip.css');

.nw .nw-asn {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.04em;
  color: #93c5fd;
}

.nw .nw-hero-visual img {
  width: min(100%, 480px);
}

.nw .hc-location-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hc-ink);
}

.nw .hc-loc-code {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-accent-soft);
}

.nw-peers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}

.nw-peer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  background: #fff;
}

.nw-peer img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.nw-peer:hover img {
  filter: none;
  opacity: 1;
}

.nw-peer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Cisco highlights + feature cards */
.nw-highlights,
.nw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nw-highlight,
.nw-card {
  padding: 22px 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--hc-line);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nw-highlight:hover,
.nw-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
}

.nw-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 1.05rem;
}

.nw-highlight h3,
.nw-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hc-ink);
}

.nw-highlight p,
.nw-card p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.nw-highlight {
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    #fff;
}

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

  .nw-highlights,
  .nw-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nw-peers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
