header{
    background-color: transparent;
    border-bottom: 1px solid white;
}

body{
    overflow: hidden;
}



#titreCourant{
    display: grid;
    position: fixed;
    top: var(--headerH);
    height: 0;
    transition: .2s;
    overflow: hidden;
    font-size: var(--fsS);
    width: 100%;
    grid-template-columns: repeat(12, 1fr);
    left: 0;
}

.titreShow{
    height: var(--headerH) !important;
}


#titreCourant div{
    display: flex;
    height: 100%;
    align-items: center;
}

.titreC{
    grid-column-start: 1;
    margin-left: var(--marge);
    font-style: italic;
    grid-column-end: 7;
}

.subCat{
    grid-column-start: 8;
    text-transform: uppercase;
    grid-column-end: 11;
}

.subCat span::before{
    content: "#";
}


.subDate{
    font-family: sabon;
    justify-content: right;
    grid-column-start: 11;
    grid-column-end: 13;
    margin-right: var(--marge);
}



#imgHeader{
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    display: none;
    left: 0;
}

#introduction{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    min-height: 100vh;
    max-width: 75%;
    margin: 0 auto;
}

#introduction h1{
    line-height: .95;
}

#chapeau{
    font-family: sabon;
    text-align: center;
    line-height: 1.2;
}

.imgArt{
    display: block;
    position: fixed;
    top: 0;
    filter: grayscale(1);
    left: 0;
    width: 100%;
    height: 100%;
}

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

.opFilt{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .75;
    background-color: black;

}

#titre{
    font-size: var(--sanT);
    text-align: center;
}

.subTitle{
    padding-bottom: var(--marge);
}

main{
    display: block;
    height: calc(100vh - var(--headerH));
    overflow-y: scroll;
    top: 0;
    overflow-x: hidden;

    position: relative;
    transition: .2s top, .2s height;
    z-index: 3;

}

.lecture{
    height: calc(100vh - 2*(var(--headerH))) !important;
    top: var(--headerH) !important;
}

article{
    max-width: 750px;
    margin: 0 auto;
    padding: 100px 140px;
    counter-reset: paragraphe;
}

#article{
    width: fit-content;
    display: block;
    margin: 0 auto;
    font-family: sabon;
    background-color: black;
    line-height: 1.4;
}

article p{
    position: relative;
    display: block;
    counter-increment: paragraphe;
}


article p:hover::before{
    opacity: 1;
}


article p::before{
    content: counters(paragraphe, ".", decimal);
    display: block;
    position: absolute;
    transition: .2s;
    top: 0;
    opacity: 0;
    font-size: calc(var(--fsS) * .75) ;
    width: 70px;
    color: var(--grey);
    font-style: italic;
    left: -70px;
}

#article h2{
    font-family: sans;
}

#article p::after, #article h1::after, #article h2::after, #article h3::after, #article h2::before{
    display: block;
    content: " ";
    white-space: pre;
} 

#article em{
    font-style: italic;
}

#article strong{
    font-family: sans;
}

.footnotes{
    display: block;
    padding-top: calc(var(--marge) * 10);
}

.footnotes ol{
    box-sizing: border-box;
    display: block;
    padding: calc(var(--marge) * 2);
    column-count: 2;
    position: absolute;
    background-color: var(--grey);
    left: 0;
    counter-reset: count;
    width: 100vw;
}

.footnotes ol li {
    display: inline-block;
    font-size: var(--fsS); 
    font-style: italic;
    color: var(--black);
    counter-increment: count;
    width: 100%;
}

.footnotes ol li p{
    display: contents;
}

.footnotes ol li::before{
      content: counters(count, ".", decimal);
      display: contents;
      margin-right: var(--marge);
}

.footnotes::before{
    content: "Notes et références";
    box-sizing: border-box;
    display: block;
    background-color: white;
    color: var(--black);
    font-family: sans;
    width: 100vw;
    transform: translate(0 , -100%);
    padding: var(--marge);
    position: absolute;
    left: 0;
}

#footNotesT{
    display: block;
    z-index: 5;
    position: fixed;
    bottom: 0;
    width: 1030px;
    left: 50%;
    padding: 0 140px;
    transform: translate(-50%, 0);
    margin: 0 auto;
    box-sizing: border-box;
    background-color: var(--grey);
}

.fnt{
    padding: var(--marge) 0;
    margin: var(--marge) 0;
    font-family: sabon;
    position: relative;
    color: var(--black);
    font-size: var(--fsS);

}

.fntClose{
    display: none;
}

.footnote-ref{
    vertical-align: text-top;
    font-size: .75em;
    margin-top: 5px;
    line-height: 0;
}

.fooN{
    display: block;
    position: absolute;
    padding: var(--marge);
    transform: translate(-100%, 0);
    width: 50px;
    top: 0;
    left: 0;
}