/* ===============
   SeaNight (SGP)
   Variant optionnel — trigger: .sgp-scope.sgp-seanight
   =============== */

.sgp-scope.sgp-seanight {
  width: 100%;
}

.sgp-scope.sgp-seanight .sgp-seanight__wrap {
  position: relative;
  border-radius: var(--sgp-dl-seanight-radius, 18px);
  padding: 28px 24px;
  overflow: hidden;
  color: #fff;

  /* Dégradé "SeaNight" */
  background: linear-gradient(
    180deg,
    var(--sgp-dl-seanight-grad-top, #0aa6a6) 0%,
    var(--sgp-dl-seanight-grad-mid, #0b6f86) 50%,
    var(--sgp-dl-seanight-grad-bottom, #0a4d74) 100%
  );

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Décor dots (coin bas-droite) */
.sgp-scope.sgp-seanight .sgp-seanight__dots {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  opacity: var(--sgp-dl-seanight-dots-opacity, 0.25);
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  transform: rotate(8deg);
  pointer-events: none;
}

/* Option : désactiver le décor */
.sgp-scope.sgp-seanight.sgp-seanight--no-dots .sgp-seanight__dots {
  display: none;
}

/* Grid */
.sgp-scope.sgp-seanight .sgp-seanight__grid {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: start;
}

.sgp-scope.sgp-seanight .sgp-seanight__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sgp-scope.sgp-seanight .sgp-seanight__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sgp-scope.sgp-seanight .sgp-seanight__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Item (glass) */
.sgp-scope.sgp-seanight .sgp-seanight__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;

  background: rgba(255, 255, 255, var(--sgp-dl-seanight-glass-opacity, 0.06));
  backdrop-filter: blur(2px);
}

/* Pastille icône */
.sgp-scope.sgp-seanight .sgp-seanight__icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: var(--sgp-dl-seanight-pill-bg, #ffcc1a);
  color: var(--sgp-dl-seanight-pill-fg, #0a3b57);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

/* SVG hérite de currentColor */
.sgp-scope.sgp-seanight .sgp-seanight__icon svg {
  display: block;
}

/* Text */
.sgp-scope.sgp-seanight .sgp-seanight__title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}

.sgp-scope.sgp-seanight .sgp-seanight__value {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.sgp-scope.sgp-seanight .sgp-seanight__link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.sgp-scope.sgp-seanight .sgp-seanight__link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.sgp-scope.sgp-seanight .sgp-dl-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.sgp-scope.sgp-seanight .sgp-dl-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 900px) {
  .sgp-scope.sgp-seanight .sgp-seanight__grid--4,
  .sgp-scope.sgp-seanight .sgp-seanight__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sgp-scope.sgp-seanight .sgp-seanight__wrap {
    padding: 22px 18px;
  }

  .sgp-scope.sgp-seanight .sgp-seanight__grid--4,
  .sgp-scope.sgp-seanight .sgp-seanight__grid--3,
  .sgp-scope.sgp-seanight .sgp-seanight__grid--2 {
    grid-template-columns: 1fr;
  }
}
