main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

/* cartes */
main > a {
    width: 250px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    

    /* 🔥 ajout */
    font-family: Arial, sans-serif;
    text-decoration: none; /* enlève le soulignement */
    color: inherit; /* enlève le bleu du lien */
}

main > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* optionnel : si tu as du texte dedans */
main > a h1,
main > a h2,
main > a p {
    color: #222;
}
