
:root {
    /* 🎨 Couleurs principales */
    --primary-color: #42cd17;
    --secondary-color: #77c4ef;
    --accent-color: #4856ea;

    /* 🎨 Couleurs du texte */
    --text-color: #333;
    --text-light: #f5f5f5;

    /* 🌗 Mode sombre */
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;

    /* ✍️ Polices */
    --font-titre:  'Climate Crisis', sans-serif;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}
.realisation .row{
    width: 100%;
    display: flex;
    align-items: center;
}
.realisation h1{
    font-size: 54px;
    font-family: var(--font-titre);
    text-align: left;
}
.realisation h3{
    font-size: 32px;
    font-family: var(--font-primary);
    text-align: left;
}
.realisation *{
    text-align: left;
    font-family: var(--font-primary);
    font-size: 32px;
}

.realisation a{
    color: var(--text-light);
    background-color: var(--primary-color) ;
    font-family: var(--font-titre);
    font-weight: 300;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 18px;
    max-width: 350px;
    width: fit-content;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    font-size: 18px;
}

.image-realisation{
    width: 100%;
    max-height: 80vh;
    margin: 60px 0;
    object-fit: contain;
    border-radius: 15px;
}

.section-realisation{
    min-height: 80vh;
}
.container-realisation{
    height: 100%;
}

.desc{
    height: 60vh;
    font-size: 18px;
    font-family: var(--font-primary);
    overflow-y: auto; /* Ajoute une barre de défilement verticale si nécessaire */
    padding: 10px;
}
.theme{
    font-size: 18px;
    font-family: var(--font-primary);
}

/* Liste des détails (grid pour mise en page responsive) */
.list-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px; /* Espacement entre les blocs */
}

/* Style des blocs individuels */
.list-details > div {
    background: #f8f9fa; /* Fond légèrement gris pour contraste */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    text-align: center;
}

/* Titres */
.list-details h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* Style des éléments de liste */
.list-details p {
    font-size: 1rem;
    color: #555;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(72, 86, 234, 0.4);
    display: inline-block;
    margin: 5px;
}

.div-apprentissage{
    height: 60vh;
}

/* Responsive : Mobile */
@media (max-width: 768px) {
    .list-details {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }

    .realisation h1{
        font-size: 32px;
    }
    .div-apprentissage{
        height: fit-content;
        margin-bottom: 50px;
    }
    .container-index{
        padding: 130px 0 0 0;
    }
}