/* Variables couleurs */
:root {
    --primary-color: #325de7;
    --secondary-color: #1b1e27;
    --color-black-hover: #31343d;
    --color-cyan: #22d9ba;
    --color-white: #fff;
    --color-white-green: #f5f6f8;
    --color-grey: #9a9fae;
    --color-white-2: #ededed;
    --color-white-opacity: #ffffffcf;
    --color-green: #d7ffdf;
    --color-white-cyan: #dbfdf7;
    --color-dark-grey: #757d93;
    --disponible: #3fd83f ;
    --indisponible: #DD4040 ;
}

h1 {
    margin-bottom: 24px;
}

h3 {
    margin-bottom: 8px;
}

.heading {
    padding: 56px 0 32px 0;
    background-color: var(--primary-color);
    color: var(--color-white);
}

.projet {
    background-image: url('../../ressources/images/Image-quadrillage-papier.avif');
    background-position: 0 0;
    background-size: auto;
}

.projet-presentation {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de même largeur */
    gap: 80px; /* Espace entre les colonnes */
}

.point {
    margin-bottom: 24px;
    text-align: center;
}

section {
    padding: 80px 0 80px 0;
    margin: auto;
}

.projet-section-grey {
    background-color: var(--color-white-2);
}

.projet-section-right, .projet-section-left {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de même largeur */
    align-items: center; /* Centre les éléments verticalement */
    gap: 24px; /* Espace entre les colonnes */
    text-align: center;
}

.projet-section-target {
    background-image: url('../../ressources/images/Image-quadrillage-papier.avif');
    background-position: 0 0;
    background-size: auto;
}

.targets {
    display: grid;
    margin-top: 40px;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de même largeur */
    align-items: normal; /* Centre les éléments verticalement */
    gap: 32px; /* Espace entre les colonnes */
    max-width: 600px;
    margin: auto;
}

.projet-section-list p {
    margin: 0;
}

.projet-section-list h4 {
    margin: 0;
}

.projet-section-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px; /* Espace entre les colonnes */
    text-align: center;
}

.projet-section-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center; /* Centre les éléments verticalement */
    gap: 32px; /* Espace entre les colonnes */
    text-align: center;
}

.projet-section-gallery-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; /* Centre les éléments verticalement */
    gap: 32px; /* Espace entre les colonnes */
    text-align: center;
}

.projet-section-center, .projet-section-CTA {
    text-align: center;
}

.projet-section-CTA {
    background-color: var(--color-white-green);
}

.projet-section-CTA h3 {
    margin-bottom: 32px;
}

.image-text-center {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.projet-text {
    border-radius: 16px;
    height: fit-content;
    align-content: space-around;
    padding: 40px;
    background-color: var(--color-white);
    border: 1px solid var(--secondary-color);
    text-align: left;
    max-width: 100%; /* S'adapte au parent */
    box-sizing: border-box;
}

.projet-text-row {
    display: flex;
    flex-direction: row;
    border-radius: 16px;
    gap: 24px;
    padding: 24px;
    background-color: var(--color-white-green);
    text-align: left;
    align-items: center;
}

.image-projet {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 0px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-projet:hover {
    transform: scale(1.015);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.bulle-numero {
    background-color: var(--primary-color);
    text-align: center;
    border-radius: 24px;
}

.numero {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    width: 48px;
    text-align: center;
    align-content: space-evenly;
}

.text-center {
    text-align: center;
}

.post-it-target {
    background-color: #fbeb75;
    height: auto;
    padding: 24px 24px;
    border-radius: 4px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
    transform: rotate(-3deg);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: left;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.post-it-target:hover {
    transform: rotate(0deg) scale(1.05);
}

.developpement {
    text-align: center;
    background-color: var(--color-white-2);
}


/* Mobile Responsiveness */
@media (max-width: 768px) {

    .projet-presentation {
        grid-template-columns: 1fr; /* Une seule colonne */
        grid-template-rows: auto auto; /* Deux lignes */
        gap: 0px;
    }

    .projet-section-right, .projet-section-left {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .projet-text-row {
        width: auto;
    }

    .targets {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .projet-section-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .projet-section-gallery-2 {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .projet-section-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    section {
        padding: 40px 0 40px 0;
        margin: auto;
    }

}

/* Pour les tablettes (768px à 1040px) */
@media (min-width: 768px) and (max-width: 1040px) {
    .projet-section-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .projet-section-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
}

/* Pour les écrans de bureau (1040px et plus) */
@media (min-width: 1040px) {
    
}