
/* ===================== Titre principal ===================== */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  text-align: center;

  background: linear-gradient(90deg, #114d8a, #3a5e91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* lisibilité sur mobile */
  transition: transform 0.3s ease;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #a15e5e, #739dc7);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  animation: slide-line 1.5s infinite alternate;
}

@keyframes slide-line {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

/* ===================== Cartes ===================== */
.doc-card {
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.doc-card .card-body {
  display: flex;
  flex-direction: column;
}

.doc-card .card-title {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Badge type */
.badge-type {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  background-color: #114d8a;
  color: #fff;
  margin-bottom: 0.5rem;
  width: fit-content;
}

/* Boutons */
.btn-outline-primary {
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background-color: #114d8a;
  color: #fff;
  border-color: #114d8a;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .doc-card .card-title {
    font-size: 1rem;
  }
  .badge-type {
    margin: 0 auto 0.5rem;
  }
}
