/* Anti-DDoS — /network-ddos-protection */

@import url('./transit-ip.css');

.dd .hc-hero h1.hc-brand {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: var(--hc-ink);
  white-space: nowrap;
}

.dd .hc-hero h1.hc-brand .dd-keep {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .dd .hc-hero h1.hc-brand {
    font-size: 1.45rem;
  }
}

.dd-partner-cta {
  margin-top: 18px;
}

.dd-partner-logo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: transparent;
  border: 0;
  padding: 0;
}

.dd-partner-logo img {
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
}

/* 3 étapes — cards + flèches */
.dd-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}

.dd-flow-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 22px 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--hc-line);
  background: #fff;
}

.dd-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 800;
}

.dd-flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hc-ink);
}

.dd-flow-card p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dd-flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: #93c5fd;
  font-size: 1.1rem;
  padding-top: 4px;
}

/* Ce que vous gagnez — simple */
.dd-gains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--hc-line);
}

.dd-gains article {
  padding: 24px 28px 26px 0;
  border-bottom: 1px solid var(--hc-line);
}

.dd-gains article:nth-child(even) {
  padding-left: 28px;
  padding-right: 0;
}

.dd-gains h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--hc-ink);
}

.dd-gains p {
  margin: 0;
  color: var(--hc-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dd-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dd-tool {
  padding: 22px 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--hc-line);
  background: #fff;
}

.dd-tool h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.dd-tool p {
  margin: 0 0 14px;
  color: var(--hc-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.dd-tool img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .dd-flow {
    flex-direction: column;
    gap: 14px;
  }

  .dd-flow-arrow {
    justify-content: center;
    transform: rotate(90deg);
    padding: 0;
  }

  .dd-gains {
    grid-template-columns: 1fr;
  }

  .dd-gains article,
  .dd-gains article:nth-child(even) {
    padding: 20px 0;
  }

  .dd-tools {
    grid-template-columns: 1fr;
  }
}
