:root {
  --couleur-principale: #00DFDE;
  --couleur-secondaire: #16A2A2;
  --couleur-noir: #000000;
  --couleur-clair: #ffffff;
  --couleur-gris: #EFEFEF;
}
@font-face {
    font-family: 'VisbyCF';
    src: url('../font/VisbyCF-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
} 



/************************************************
* FIRST SECTION
************************************************/
#title {
    text-align: center;
}

#subtitle {
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

#subtitle p {
    margin: 0;
}


/************************************************
* BUILDING SECTION
************************************************/
#section-building {
    width: 100%; 
    height: 200px;
    
    /* Image de fond */
    background-image: url('../img/BUILDINGS.jpg'); 
    background-repeat: no-repeat;  
    background-position: right top;
    background-size: 200% auto;

    display: flex;
    align-items: center;
}

.section {
    width: 90%;
    margin: auto;
    font-size: 20px;
    text-align: center;
}

#section_building {
    font-weight: 500;
}

#section_proposition {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#section_proposition--button {
    font-family: 'VisbyCF', sans-serif;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

#section_proposition--button:hover {
    transform: scale(1.1);        /* agrandit le bouton à 120% */
    z-index: 2;                    /* optionnel : pour qu'il passe au-dessus des autres éléments */
}

#section_proposition--button img {
    width: 80%;
    margin-left: 10%;
    display: block; 
}

#section_proposition--button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center;
}

#section-systemic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* si tu veux centrer le contenu */
    overflow: hidden;
    width: 100%; /* pleine largeur */
    height: 150px; /* ou la hauteur que tu veux */
    
}

#section-systemic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/business-adviser-analyzing-financial-figures-denoting-progress-work-company.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;                  /* derrière le contenu */
}

#section_systemic {
    font-family: 'VisbyCF', sans-serif;
    color: var(--couleur-clair);
    text-align: left;
    font-size: 30px;
}

#section_systemic p {
    margin: 0;
    width: 200px;
}


@media screen and (min-width: 992px) {


    #section_title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
        margin: auto;
        align-items: center;
    }

    #subtitle {
        width: 80%;
        font-size: 32px;
    }

    /************************************************
    * BUILDING SECTION
    ************************************************/
    #section-building {
        height: 500px; 
        
        /* Image de fond */
        background-size: 100% auto;
    }

    .section {
        width: 90%;
        margin: auto;
        font-size: 32px;
        text-align: left;
    }

    #section_building--desc2 {
        width: 900px;
    }

    #section_proposition {
        flex-direction: row;
        justify-content: space-between;
    }

    #section_proposition--button img {
        width: 100%;
        margin-left: 0%;
    }

    #section_proposition--desc p {
        text-align: center;
    }

    #section-systemic {
        position: relative;
        width: 100%;
        height: 560px;
        display: block;
        justify-content: center; /* si tu veux centrer le contenu */
        overflow: hidden;
    }

    #section-systemic::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/business-adviser-analyzing-financial-figures-denoting-progress-work-company.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        transform: scaleX(-1);        /* flip horizontal */
        transform-origin: center;     /* ancrage au centre pour bien retourner */
        z-index: -1;                  /* derrière le contenu */
    }

    #section_systemic {
        text-align: right;
        font-size: 55px;
        margin-top: 40px;
    }

    #section_systemic p {
        margin: 0;
        width: auto;
    }
}


@media screen and (min-width: 1200px) {
    #section_title {
        width: 80%;
    }
    
}

@media screen and (min-width: 1400px) {
    #section_title {
        width: 75%;
    }

    #section_proposition {
        width: 80%;
    }
}

@media screen and (min-width: 1800px) {
    #section_title {
        width: 50%;
    }

    #section_proposition {
        width: 60%;
    }
}