header {
    width: 100%;
    height: 650px;
    margin-bottom: calc(var(--gutter) * 2);
    color: var(--color-white);
    position: relative;
}

header figure {
    width: 100%;
    height: 100%;
}

figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-black);
    opacity: .5;
    /* couleur + opacité */
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(
        circle at bottom center,
        rgb(7, 50, 45, 1) 0%,
        rgb(7, 50, 45, .5) 50%,
        rgb(7, 50, 45, .3) 90%,
        transparent 100%
    ); */
    background: linear-gradient(360deg, rgb(7, 50, 45, 1) 10%, rgba(237, 221, 83, 0) 100%);
    z-index: 0;
}

header #headerCTA {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* gap: 120px; */

    /* border: 2px solid black; */
    width: 80%;

    position: absolute;
    left: 50%;
    bottom: calc(var(--gutter) * 2);
    transform: translateX(-50%);
}

#headerCTA #textCTA {
    /* border: 2px solid pink; */
    flex-basis: 60%;
}


.button {
    background-color: var(--color-primary);
    color: var(--color-black);
    -webkit-box-shadow: 0px 0px 15px -3px rgb(27, 38, 59, .75);
    box-shadow: 0px 0px 15px -3px rgb(27, 38, 59, .75);
}

.button:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    -webkit-box-shadow: 0px 0px 15px -3px rgb(27, 38, 59, .75);
    box-shadow: 0px 0px 15px -3px rgb(27, 38, 59, .75);
}

#chronic-container {
    margin-bottom: calc(var(--gutter) * 4);
}

#chronic-container h2#chronic-title {
    margin-bottom: var(--gutter);
    margin-left: var(--margin);
}

#chronic-hero {
    height: 400px;
    color: var(--color-white);

    position: relative;
}

#chronic-hero figure {
    width: 100%;
    height: 100%;
}

#chronic-hero figure img {
    filter: blur(2px);
}

#chronic-hero figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(13, 27, 42, .2);
    /* couleur + opacité */
    pointer-events: none;
}

#chronic-hero #chronic-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--margin);
    width: 100%;

    position: absolute;
    bottom: var(--gutter);
}

#chronic-hero #chronic-cta h2 {
    filter: drop-shadow(0px 0px 5px rgb(13, 27, 42, .75));
}

/* ----------------------------------------------------------------------------------- */
/* À PROPOS */
/* ----------------------------------------------------------------------------------- */

#bio-container {
    width: 100%;
    padding: var(--gutter) var(--margin);
    background-color: var(--color-black);
    color: var(--color-white);
    margin: calc(var(--gutter) * 4) 0;
}

#bio-container h2 {
    margin-bottom: var(--gutter);
    text-align: center;
}

#bio-container .flex-container {
    display: flex;
    gap: var(--gutter);
}

#bio-container .flex-container figure {
    flex-basis: 30%;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
    box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
}

#bio-container .flex-container .cta-container .button {
    -webkit-box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
    box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
}

#bio-container .flex-container figure img {
    border-radius: 20px;
}

#bio-container .flex-container .cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--margin);
}


/* ----------------------------------------------------------------------------------- */
/* ZA */
/* ----------------------------------------------------------------------------------- */

#za-container {}

#za-container h2 {
    margin-bottom: var(--gutter);
    margin-left: var(--margin);
}

#za-container #carte-container {
    width: 100%;
    height: 500px;
    margin-bottom: calc(var(--gutter) * 4);
}

#map {
    height: 100%;
}

/* ----------------------------------------------------------------------------------- */
/* MIROIR */
/* ----------------------------------------------------------------------------------- */

#miroir-container {
    color: var(--color-white);
    margin: calc(var(--gutter) * 4) 0;
    padding: var(--gutter) var(--margin);
    background-color: var(--color-black);
}

#miroir-container .flex-container {
    display: flex;
    gap: var(--gutter);
}

#miroir-container h2 {
    margin-bottom: var(--gutter);
    text-align: center;
}

#miroir-container .flex-container .cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--margin);
}

#miroir-container .flex-container #images {
    display: flex;
    gap: var(--margin);
    flex-direction: column;
    height: calc(400px + var(--margin));
    width: calc(400px + var(--margin));
    flex-wrap: wrap;

    flex-shrink: 0;

    position: relative;
}

#miroir-container .flex-container #images figure {
    width: 200px;
    height: 200px;

    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
    box-shadow: 0px 0px 15px -3px rgb(119, 141, 169, .25);
}

#miroir-container .flex-container #images figure img {
    border-radius: 20px;
}

#miroir-container .flex-container #images figure:last-of-type {
    position: absolute;
    top: 50%;
    left: calc(200px + var(--margin));
    transform: translateY(-50%);
}


@media screen and (max-width: 760px) {

    #indexHeader #headerCTA {
        flex-direction: column;
        text-align: center;
        gap: var(--gutter);

        bottom: 50%;
        transform: translate(-50%, 50%);
    }

    #chronic-hero #chronic-cta {
        width: 80%;
        justify-content: center;
        align-items: center;
        text-align: center;
        left: 50%;
        transform: translate(-50%);
    }

    .flex-container {
        flex-direction: column;
        text-align: center;
        width: 80%;
        margin: auto;
    }

    #miroir-container .flex-container #images {
        flex-direction: row;
        margin: auto;
        width: 100%;
    }

    #miroir-container .flex-container #images figure:last-of-type {
        position: absolute;
        left: 50%;
        left: calc(200px + var(--margin));
        transform: translateX(-50%);
    }

    #miroir-container .flex-container #images figure{
        width: calc(50% - var(--margin));
    }
    
}

@media screen and (max-width: 505px) {
    #miroir-container .flex-container #images figure{
        width: 100%;

    }

    #miroir-container .flex-container #images figure:last-of-type {
        display: none;
    }
}