
/* STYLE GENERAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #eef3f9;
    color: #25364a;
}

/* CONTENEUR */
.page-competences {
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
}

/* EN-TETE */
.entete {
    background: linear-gradient(
        135deg,
        #173b63,
        #2196f3
    );
    color: white;
    padding: 35px;
    border-radius: 14px;
    margin-bottom: 30px;
}

.entete h1 {
    font-size: 32px;
    margin: 20px 0 12px;
}

.entete p {
    font-size: 16px;
    line-height: 1.6;
    color: #e3f2fd;
}

.retour {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.retour:hover {
    text-decoration: underline;
}

/* GRILLE DE COMPETENCES */
.grille-competences {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* CARTES */
.carte {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border-left: 5px solid #2196f3;

    box-shadow: 0 5px 18px rgba(0,0,0,0.07);

    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.13);
}

.icone {
    font-size: 32px;
    margin-bottom: 15px;
}

.carte h2 {
    color: #173b63;
    font-size: 20px;
    margin: 0 0 12px;
}

.carte p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* TELEPHONE */
@media (max-width: 700px) {
    .page-competences {
        margin: 15px auto;
    }

    .entete {
        padding: 25px;
    }

    .entete h1 {
        font-size: 25px;
    }

    .grille-competences {
        grid-template-columns: 1fr;
    }
}
