/* Notre réseau AS198831 — /network — DA VPS / univers */

.nw {
  --nw-ink: #0f172a;
  --nw-muted: #64748b;
  --nw-line: rgba(22, 46, 98, 0.1);
  --nw-blue: #162E62;
  --nw-soft: #f1f5f9;
  color: var(--nw-ink);
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
}

.nw .hc-home-hero { margin-bottom: 0; }

.nw .hc-home-hero--solo .hc-home-hero__grid {
  max-width: none !important;
  width: 100% !important;
}

.nw .hc-home-hero--solo .hc-home-hero__copy,
.nw .hc-home-hero--solo .hc-home-hero__copy h1 {
  max-width: none !important;
  width: 100%;
}

.nw .hc-home-hero--solo .hc-home-hero__copy h1 {
  font-size: clamp(2.15rem, 3.4vw, 3rem);
}

.nw .hc-home-hero--solo .hc-home-hero__subtitle {
  max-width: min(48rem, 100%);
}

.nw .hc-home-hero--solo .hc-home-hero__checks {
  max-width: 560px !important;
  margin-right: auto;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px 28px;
}

.nw-asn-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 46, 98, 0.08);
  color: var(--nw-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nw-section {
  padding: 4.5rem 0;
}

.nw-section--soft { background: var(--nw-soft); }
.nw-section--white { background: #fff; }

.nw .vps-loc-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--nw-ink);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.nw .vps-loc-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--nw-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.nw-metrics {
  border-bottom: 1px solid var(--nw-line);
  background: #fff;
}

.nw-metrics__list {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.nw-metrics__list strong {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--nw-blue);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.nw-metrics__list span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--nw-muted);
  font-weight: 600;
}

.nw-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.nw-split--reverse { direction: rtl; }
.nw-split--reverse > * { direction: ltr; }

.nw-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nw-blue);
}

.nw-split h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nw-split p {
  margin: 0;
  color: var(--nw-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.nw-split__visual {
  margin: 0;
  padding: 1.25rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #f8fafc, #eef5fb);
  border: 1px solid var(--nw-line);
}

.nw-split__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.nw-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.nw-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 48, 96, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: left;
}

.nw-card:hover {
  border-color: rgba(22, 46, 98, 0.22);
  box-shadow: 0 18px 40px rgba(22, 46, 98, 0.1);
  transform: translateY(-3px);
}

.nw-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin: 0 0 1.1rem;
  padding: 1rem;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    linear-gradient(160deg, #f4f8fd 0%, #eaf2fa 100%);
  border: 1px solid var(--nw-line);
}

.nw-card__visual svg {
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 110px;
}

.nw-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nw-locs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.nw-loc {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 48, 96, 0.05);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nw-loc:hover {
  border-color: rgba(22, 46, 98, 0.22);
  box-shadow: 0 18px 40px rgba(22, 46, 98, 0.1);
  transform: translateY(-3px);
}

.nw-loc__media {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e8eef5;
}

.nw-loc__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.nw-loc h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nw-ink);
}

.nw-loc__place {
  margin: 0;
  color: var(--nw-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nw-peers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.75rem;
}

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

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

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

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

.nw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nw-btn--solid {
  background: var(--nw-blue);
  color: #fff !important;
  border: 1px solid var(--nw-blue);
}

.nw-btn--solid:hover { background: #0f1f45; }

.nw-btn--outline {
  background: #fff;
  color: var(--nw-blue) !important;
  border: 1px solid var(--nw-blue);
}

.nw-btn--outline:hover {
  background: var(--nw-blue);
  color: #fff !important;
}

@media (max-width: 900px) {
  .nw-split,
  .nw-split--reverse { grid-template-columns: 1fr; direction: ltr; }
  .nw-grid-3,
  .nw-locs { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .nw-peers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nw-metrics__list { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
  .nw .hc-home-hero--solo .hc-home-hero__checks {
    grid-template-columns: 1fr !important;
  }
  .nw-peers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
