.article {
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    background: white;
}

.article:hover, .article:focus {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article img {
    transition: transform 0.3s ease;
}

.article:hover img, .article:focus img {
    transform: scale(1.05);
}

.article .textes {
    transition: padding 0.3s ease;
}

.article:hover .textes, .article:focus .textes {
    padding-left: 15px;
}

.article .titre {
    transition: color 0.3s ease;
}

.article:hover .titre, .article:focus .titre {
    color: #ef509f;  
}

/* Pour assurer l'accessibilité, on ajoute aussi les effets au focus */
.article:focus {
    outline: 2px solid #ef509f;
    outline-offset: 2px;
}
.description {
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    padding: 5px;
    }