/* ==========================================================================
   GRCP - Liste des projets
   Fichier : style-projets.css
   ========================================================================== */


/* ==========================================================================
   CONTENEUR LISTE
   ========================================================================== */

.proj-list {
    max-width: 1290px;
    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 (dégradé turquoise > violet). */
.proj-card::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 12px;
    bottom: 12px;
    width: 6px;
    background: linear-gradient(180deg, #3ba19b, #5f2a83);
    border-radius: 6px;
}

/* Header titre + date. */
.proj-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 10px 0;
}

/* Titre. */
.proj-list .proj-title {
    margin: 0 12px 0 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: 0.85;
}

/* Date. */
.proj-list .proj-date {
    font-size: 14px;
    color: #5f2a83;
    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 #3ba19b;
    color: #3ba19b;
    text-decoration: none;
    background: #fff;
}

.proj-list .proj-cta .ev-cta:hover {
    background: #eaf7f6;
}

/* Liens dans les cartes. */
.proj-card a {
    text-decoration: none;
}

.proj-card a:hover {
    text-decoration: underline;
}
