/* Cartes des 4 sous-domaines avec dépliage fluide au survol */
.taep-srv {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 24px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.taep-srv:hover,
.taep-srv:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 61, 0.08);
  border-color: #40d2a7;
}

.taep-srv ul {
  margin: 12px 0 0 18px;
  padding: 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.55;
}

.taep-srv li {
  margin-bottom: 8px;
}

.taep-srv li::marker {
  color: #168e83;
}

/* Bloc de texte masqué par défaut et déplié au survol */
.taep-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
}

.taep-more > .wpb_wrapper {
  overflow: hidden;
}

.taep-more p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  color: #5f6f82;
  font-size: 14.5px;
  line-height: 1.55;
}

.taep-srv:hover .taep-more,
.taep-srv:focus-within .taep-more {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}

.taep-hint {
  margin-top: 12px !important;
  font-size: 13px;
  font-weight: 600;
  color: #168e83;
}

.taep-srv:hover .taep-hint,
.taep-srv:focus-within .taep-hint {
  display: none;
}

/* Badges chiffrés des études de cas (Budget / Durée / Équipe) */
.taep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px !important;
}

.taep-meta span {
  background: #ffffff;
  color: #00003d;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
}