/* ============================================
   Service Cards Grid – Elementor Widget CSS
   ============================================ */

/* ─── Grid layout ─── */
.sce-grid {
  display: grid;
  grid-template-columns: repeat(var(--sce-cols, 2), 1fr);
  gap: var(--sce-gap, 24px);
  width: 100%;
}

/* ─── Card ─── */
.sce-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.sce-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

/* ─── Header (icône + titre) ─── */
.sce-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ─── Icône ─── */
.sce-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  font-size: 28px;
  color: #ffffff;
  flex-shrink: 0;
}

.sce-icon-wrap i {
  line-height: 1;
}

.sce-icon-wrap svg {
  width: 28px;
  height: 28px;
}

/* ─── Titre ─── */
.sce-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

/* ─── Description ─── */
.sce-card-desc {
  font-size: .95rem;
  line-height: 1.65;
  color: #6B7280;
  margin: 0;
}

/* ─── Points list ─── */
.sce-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sce-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sce-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.sce-check svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sce-point-text {
  font-size: .92rem;
  color: #374151;
  line-height: 1.5;
}

/* ─── Responsive ─── */

/* Tablet : max 2 colonnes */
@media (max-width: 1024px) {
  .sce-grid {
    grid-template-columns: repeat(
      min(var(--sce-cols, 2), 2),
      1fr
    );
  }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .sce-grid {
    grid-template-columns: 1fr;
  }

  .sce-card {
    padding: 24px;
  }

  .sce-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 22px;
  }

  .sce-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .sce-card-title {
    font-size: 1.05rem;
  }
}
