/*--- GLOBAL ---*/
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 300;
    background-color: var(--white-color);
    color: var(--grey-color);
    overflow-x: hidden; /* Si un élement déborde, il sera coupé a lieu de décalé la structure du site */
    cursor: default;
}

* {
    box-sizing: border-box; /* Inclus tout les padding et margin */
}

a {
    color: var(--blue-color);
    text-decoration: none;
    transition: color 0.3s; /* Précise la transition uniquement sur la couleur du lien */
}

h1, h2 {
    font-family: 'Yeseva One', serif;
    color: var(--blue-color);
    font-weight: normal; /* Neutralise le gras du H1 par défaut */
    font-size: 32px;
    line-height: 1.3em;
    margin: 0 0 .5em 0;
    padding: 0; /* Reinitialise le padding du H1 par défaut */
}

h1 .bloc {
    display: block;
}

h1 span.green, h2 span.green {
    color: var(--green-color);
}

h4 {
    font-family: 'Yeseva One', serif;
    color: var(--blue-color);
    font-weight: normal; /* Neutralise le gras du H1 par défaut */
    font-size: 21px;
    line-height: 1.3em;
    margin: 0;
    padding: 0; /* Reinitialise le padding du H1 par défaut */
}



/* TITLE SECTION */
.section-title {
    font-family: 'Yeseva One', serif;
    font-weight: normal; /* Neutralise le gras du H1 par défaut */
    font-size: 24px;
    line-height: 1.3em;
    text-align: center;
    color: var(--blue-color);
    margin: 0 0 .5em 0;
    padding: 0; /* Reinitialise le padding du H1 par défaut */
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title .point {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background-color: var(--green-color);
    margin: 0 .4rem 0 0;
}

.subtitle {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: var(--grey-color);
    display: inline-block;
}

p {
    margin: 0;
    padding: 0;
    line-height: 1.5em; /* aération sympa entre les lignes pour le texte */
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0 0 .5rem 0;
}

li:last-child() {
    margin: 0;
}

.container, .container-project {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.fancybox__caption {
    font-weight: 700;
    font-family: 'Montserra', sans-serif;
}


/*--- RESPONSIVE  ---*/
@media (min-width: 800px) {
    p {
        font-size: 20px;
    }

    h1, h2 {
        font-size: 48px;
    }

    h4 {
        font-size: 24px;
    }

    .container, .container-project {
        padding: 0;
    }
}

@media (min-width: 767px) and (max-width: 1199px) {
    .container, .container-project {
        width: 800px;
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .section-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .container {
        width: 1185px;
    }

    .container-project {
        width: 1024px;
    }
}

