:root {
    --primary: #1e90ff;
    --bg: #f5f5f5;
    --card: #ffffff;
    --text: #333;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* TITRE */
h1 {
    margin-bottom: 30px;
    font-size: 32px;
}

/* GRID : alignement à gauche et responsive */
.apps {
    display: flex;
    flex-wrap: wrap;        /* passe à la ligne suivante */
    gap: 30px;
    align-items: flex-start; /* top align */
}

/* CARTE APP */
.app {
    background: var(--card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 200px;       /* largeur minimale */
    max-width: 200px;       /* largeur maximale */
    flex: 1 1 200px;        /* flexible pour s’adapter */
    min-height: 150px;
}

.app:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.app img {
    width: 48px;
    margin-bottom: 15px;
}

.app p {
    font-weight: 600;
    text-align: center;
}