/* =========================================================
   LISTE DES PROJETS
   ========================================================= */

/* Variables */
:root {
  --wrap-max: 1290px;
  --grcp-orange: #d66236;
  --grcp-violet: #5f2a83;
  --grcp-vert: #3ba19b;
  --grcp-jaune: #f2c84b;
}

/* Wrapper liste */
.proj-list {
  max-width: var(--wrap-max);
  margin: 0 auto 40px auto;
  padding: 10px 24px;
}

/* Carte projet */
.proj-card {
  position: relative;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  padding: 20px 18px;
  margin: 16px 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Liseré gauche (style actus/événements) */
.proj-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 6px;
  background: linear-gradient(180deg, var(--grcp-vert), var(--grcp-violet));
  border-radius: 6px;
}

/* Header titre + date */
.proj-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 10px 0;
}

/* Titre */
.proj-list .proj-title {
  margin: 0;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  font-size: 22px;
}
.proj-list .proj-title a {
  color: inherit;
  text-decoration: none;
}
.proj-list .proj-title a:hover {
  opacity: .85;
}

/* Date */
.proj-list .proj-date {
  font-size: 14px;
  color: var(--grcp-violet);
  background: #faf7ff;
  border: 1px solid #e7ddf2;
  border-radius: 12px;
  padding: 6px 10px;
}

/* Extrait */
.proj-list .proj-excerpt {
  color: #475467;
  margin: 0 0 12px 0;
}

/* CTA */
.proj-list .proj-cta .ev-cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--grcp-vert);
  color: var(--grcp-vert);
  text-decoration: none;
  background: #fff;
}
.proj-list .proj-cta .ev-cta:hover {
  background: #eaf7f6;
}

/* Liens non soulignés par défaut */
.proj-card a {
  text-decoration: none;
}
.proj-card a:hover {
  text-decoration: underline;
}
