/* Propriétés globales */
body {
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(135deg, #667eea 5%, #764ba2 87%);
    margin: 0;
    padding: 0;
    color: #1a1a1a;
    padding-top: 200px;
}

/* Bloc 1 - En-tête principal */
#b1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #0066ff 0%, #00ccff 100%);
    color: white;
    padding: 30px 10px;
    text-align: center;
    margin: 0;
    border-radius: 0px 0px 40px 40px;
    z-index: 1000;
}

/* Titre principal du bloc 1 */
#b1 h1 {
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    animation: pulse 1.5s infinite;
}

/* Animation de pulsation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

/* Paragraphe du bloc 1 */
#b1 p {
    margin: 0;
    padding: 0;
    font-size: 50px;
}

/* Sous-titre avec fond blanc */
.sous-titre {
    position: relative;
    color: #333333;
    background-color: white;
    padding: 50px 30px;
    text-align: center;
    font-size: 30px;
    margin: 50px 70px;
    border-radius: 30px 30px 30px 30px;
    border: 4px solid #0066ff;
}

/* Petite taille de texte dans sous-titre */
.sous-titre small {
    font-size: 28px;
}

/* Titre de section avec dégradé bleu */
.titre-section {
    position: relative;
    color: white;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    margin: 5px 20px 30px 20px;
    padding: 35px;
    background: linear-gradient(90deg, #0066ff 0%, #00ccff 100%);
    border-radius: 25px 25px 25px 25px;
}

/* Soulignement du titre de section */
.titre-section {
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 4px;
}

/* Liste des campus - disposition horizontale */ 
.liste-campus {  

    list-style: none;     
    padding: 0;     
    margin: 0 auto;     
    column-count: 3;     
    column-gap: 30px; }

.campus-item li {
    display: inline;
}

/* Carte individuelle de campus */ 
.campus-item {     
    
    position: relative;     
    background-color: white;     
    border-radius: 30px 30px 30px 30px;     
    padding: 50px;     
    width: 355px;     
    text-align: center;     
    border: 4px solid #0066ff;     
    break-inside: avoid; 
}

/* Effet hover sur carte campus */
.campus-item:hover {
    transform: scale(1.1);
    border-color: #00ccff;
}

/* Image du campus */
.campus-item img {

    border-radius: 30px 30px 30px 30px;
    margin: 25px;
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 5px solid #0066ff;
    
}

/* Effet hover sur image campus */
.campus-item img:hover {
    transform: scale(1.15);
    animation: pulse 2s infinite;
    border-color: #00ccff;
}

/* Titre h2 du campus */
.campus-item h2 {
    color: #0066ff;
    font-size: 30px;
    font-weight: bold;
    text-decoration: underline;
    margin: 20px 0;
}

/* Titre h3 du campus */
.campus-item h3 {
    color: #0066ff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.6;
    margin: 15px 0;
}

/* Petits textes */
small {
    font-size: 17px;
    color: #555555;
} 

/* Conteneur pour trois cartes */
.trois-cartes {
    display: flex;
    gap: 30px;
    margin: 40px 20px;
    justify-content: center;
}

/* Carte circulaire individuelle */
.carte {
    background-color: white;
    border-radius: 40%;
    padding: 60px;
    width: 290px;
    border: 4px solid #0066ff;
}

/* Titre h3 de la carte */
.carte h3 {
    color: #0066ff;
    font-size: 34px;
    text-align: center;
}


/* Paragraphe de la carte */
.carte p {
    color: grey;
    font-size: 18px;
    text-align: center;
}

/* Zone de texte centré */
.texte-centre {
    text-align: center;
    font-size: 25px;
    color: grey;
    margin: 20px;
    background-color: white;
    border-radius: 20px 20px 20px 20px;
    padding: 60px;
}

/* Tableau des formations */
.tableau-formations {
    position: relative;
    width: 92%;
    margin: 40px auto;
    border-collapse: collapse;
    background-color: white;
    border-radius: 25px 25px 25px 25px;
    overflow: hidden;
    border: 4px solid #0066ff;
}

/* Tableau - largeur totale */
table {
    width: 100%;
}

/* En-têtes du tableau */
th {
    background-color: navy;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: bold;
    border: 2px;
    font-size: 17px;
}

/* Effet hover sur en-têtes */
th:hover {
    background: linear-gradient(135deg, #00ccff 10%, #0066ff 100%);
}

/* Cellules du tableau */
td {
    padding: 20px 22px;
    text-align: left;
    border: 2px solid;
    color: black;
}

/* Effet hover sur cellules */
td:hover {
    background-color: darkorange;
    border: 2px Navy;
}

/* Lignes paires du tableau */
tr:nth-child(even) {
    background-color: #f5f8ff;
}

/* Lignes impaires du tableau */
tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Conteneur des chiffres clés */
.chiffres-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 20px;
    flex-wrap: nowrap;
}

/* Carte de chiffre individuel */
.chiffre-card {
    background-color: white;
    border-radius: 25px 25px 25px 25px;
    padding: 40px 30px;
    width: 250px;
    text-align: center;
    border: 4px solid #0066ff;
}

/* Effet hover sur carte chiffre */
.chiffre-card:hover {
    transform: scale(1.1);
    border-color: #00ccff;
}

/* Affichage du chiffre */
.chiffre {
    color: #0066ff;
    font-size: 50px;
    font-weight: bold;
    margin: 15px 0;
}

/* Description du chiffre */
.chiffre-card p {
    color: #555555;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Conteneur des réseaux sociaux */
.reseaux-sociaux {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 20px 60px 20px;
    flex-wrap: wrap;
}

/* Bouton de réseau social */
.lien-reseau {
    background-color: #0066ff;
    color: white;
    padding: 15px 35px;
    border-radius: 20px 20px 20px 20px;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #0066ff;
}

/* Effet hover sur lien réseau social */
.lien-reseau:hover {
    background-color: white;
    color: #0066ff;
    transform: scale(1.1);
}
/*Modifications pour les autres pages html*/
.campus-item a {
    display: block;
    cursor: pointer;
}
 
.campus-item a img {
    transition: all 0.3s;
}
 
.campus-item a:hover img {
    transform: scale(1.2);
    border-color: #00ccff;
}