/* ===== Container ===== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* ===== Grille de liens ===== */
.page-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, auto));
    /* grid-template-columns: repeat(3, 1fr); 3 médaillons max par ligne */
    justify-content: center; /* centre la grille si ligne incomplète */
    gap: 40px;
}

/* ===== Médaillons ===== */
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.link-card:hover {
    transform: scale(1.1);
}

/* ===== Image ronde avec halo ===== */
.link-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.15),
        0 0 0 4px rgba(255, 255, 255, 0.2);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

.link-card:hover img {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(0, 150, 255, 0.4);
}

/* ===== Texte ===== */
.link-card span {
    font-weight: bold;
    color: #005f99;
    text-align: center;
    font-size: 1em;
    transition: color 0.3s;
}

.link-card:hover span {
    color: #007acc;
}

.link-card .subtitle {
    font-weight: normal;
    color: #333;
    text-align: center;
    font-size: 0.9em;
    margin-top: 4px;
}
