/* Anti-DDoS — /ddos-protection — DA VPS / univers */

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

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

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

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

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

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

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

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

.dd-section--soft { background: var(--dd-soft); }
.dd-section--mist { background: #f8fafc; }
.dd-section--white { background: #fff; }

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

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

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

.dd-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;
}

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

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

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

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

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

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

.dd-partner-logo {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 2rem;
  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(--dd-line);
}

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

.dd-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, border-color 0.2s;
}

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

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

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

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

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

.dd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid var(--dd-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;
}

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

.dd-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(--dd-line);
}

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

.dd-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--dd-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

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

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

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

/* Bento « Ce que vous gagnez » */
.dd-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.dd-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--dd-line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 48, 96, 0.06);
  overflow: hidden;
}

.dd-bento__card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dd-ink);
}

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

.dd-bento__card--support {
  grid-column: 1;
  grid-row: 1;
  min-height: 280px;
  background: linear-gradient(145deg, #162E62 0%, #1e3a8a 55%, #0f1f45 100%);
  border-color: transparent;
  color: #fff;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.dd-bento__card--support h3,
.dd-bento__card--support p {
  color: #fff;
}

.dd-bento__card--support p {
  color: rgba(255, 255, 255, 0.82);
}

.dd-bento__card--side {
  grid-column: 2;
  grid-row: 1;
  min-height: 280px;
}

.dd-bento__card--wide {
  grid-column: 1;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  min-height: 220px;
}

.dd-bento__card--eu {
  grid-column: 2;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  min-height: 220px;
}

.dd-bento__copy,
.dd-bento__wide-copy {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.dd-bento__btn {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: #93c5fd !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.dd-bento__btn:hover {
  color: #fff !important;
  text-decoration: underline;
}

.dd-bento__art {
  flex: 0 0 auto;
  width: min(42%, 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dd-bento__art svg {
  width: 100%;
  height: auto;
  max-height: 160px;
}

.dd-bento__art--panel {
  width: min(100%, 240px);
  margin-top: auto;
  align-self: flex-end;
}

.dd-bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.dd-bento__tags span {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid var(--dd-line);
  color: var(--dd-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.dd-card--illu {
  padding-top: 0;
  overflow: hidden;
}

.dd-card__illu {
  margin: 0 -1.15rem 1.1rem;
  border-bottom: 1px solid var(--dd-line);
  background: #eef4fb;
}

.dd-card__illu svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .dd-split { grid-template-columns: 1fr; }
  .dd-flow,
  .dd-tools { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .dd-gains { grid-template-columns: 1fr; }
  .dd-metrics__list { grid-template-columns: 1fr; gap: 1.25rem; }
  .dd-bento {
    grid-template-columns: 1fr;
  }
  .dd-bento__card--support,
  .dd-bento__card--side,
  .dd-bento__card--wide,
  .dd-bento__card--eu {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .dd-bento__art,
  .dd-bento__art--panel {
    width: min(100%, 220px);
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .dd .hc-home-hero--solo .hc-home-hero__checks {
    grid-template-columns: 1fr !important;
  }
}
