
:root {
    --taupe-xl: #2e2924;
    --taupe-l:#6a5b4a;
    --taupe-ml:#7d6d5b;
    --taupe-m: #9b8d80; /* + 20% */
    --taupe-s: #dad4ce;
    --taupe-xs: #ede8e5;

    --bs-gutter-x: 1.5rem;
}
@media (min-width: 1024px) {
    .row {
        --bs-gutter-x: 2.5rem;
    }
}
html {
    font-size: 19px;
}
body {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 320;

    line-height: 1.4;
    letter-spacing: .03em;
    margin: 0;
}
.font1 {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 320;

    line-height: 1.4;
    letter-spacing: .03em;
}
div {
    box-sizing: border-box;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: var(--taupe-xl);
    text-underline-offset: .33em;
    text-decoration-thickness: .75px;
}
.bg-neg a {
    color: var(--taupe-s);
}
section,
footer {
    padding-top: 6.75rem;
    padding-bottom: 6.75rem;
}
/* #region NAV */



.p-btn {
    position: relative;
    z-index: 1;
    border: 0 none;
    padding: 0;
    background: transparent;

    width: 40px;
    height: 40px;
}

.p-btn:focus {
    outline: 0 none;
}

.p-btn span {
    overflow: hidden;
    text-indent: -200px;
    opacity: 0;
}

.p-btn span,
.p-btn::before,
.p-btn::after {
    content: "";
    display: block;
    border-radius: 2px;
    position: absolute;
    top: 47%;
    left: 10%;
    height: 6%;
    width: 80%;

    transform-origin: 50%;

    background: var(--taupe-xl);

    transition: all .3s linear;
}

.p-icon-burger::before {
    top: 24%;
}

.p-icon-burger span {
    opacity: 1;
}

.p-icon-burger::after {
    top: 70%;
}

/* close ------------- */
.p-icon-close::before {
    transform: rotate(-45deg);
    top: 50%;
}

.p-icon-close::after {
    transform: rotate(45deg);
    top: 50%;
}

.p-icon-close span {
    opacity: 0;
}

/* + plus ++++++++++++ */
.p-icon-plus::after {
    transform: rotate(90deg);
}

/* - moins ------------ */
.p-icon-minus::after {
    transform: rotate(0deg);
}

/* #endregion burger */
header {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;   
    padding-top: .5rem;
    padding-bottom: 0rem;
    background-color: rgba(237, 232, 229, .5);
    /* background: linear-gradient(0deg,rgba(237, 232, 229, 0) 0%, rgba(237, 232, 229, .5) 25%); */
    backdrop-filter: blur(10px);

}
header nav {
    padding-bottom: 0;
    margin-left: auto;
}
header ul.menu {
    list-style: none;
    padding: 0;
    margin-bottom: .33rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
}
header ul.menu li a {
    text-decoration: none;
    padding: .5rem 0;
    text-align: right;
    text-transform: uppercase;
    font-size: 1.5rem;
    display: block;
}
#toggleNav {
    display: block;
    position: absolute;
    right: 1rem;
}
#toggleNav+nav {
    height: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

#toggleNav.p-icon-close+nav {
    height: 50vh;
    max-height: none;
    
}
#toggleNav.p-icon-close+nav ul.menu {
    padding-top: 2rem;
    
}
@media (min-width:1024px) {
    #toggleNav+nav {
        height: auto;
        max-height: none;
    }
    #toggleNav {
        display: none;
    }
    header nav {
        padding-top: 0;
        padding-bottom: 0;
        margin-left: auto;
    }
    header ul.menu {
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-end;
    }
    header ul.menu li a {
        text-decoration: none;
        margin-left: 2rem;
        text-transform: uppercase;
        font-size: .92rem;
        text-align: left;
    }
}
/* .main-logo {
    transform: translateY(-90px);
    transition: all 1s ease-in-out;
}
.p-scrolled .main-logo {
    transform: translateY(0);
} */

/*#region TYPO */
h1, h2, h3 {
    font-family: "span", serif;
    font-weight: 700;
    font-style: normal;
}
h1 {
    /* font-size: 4rem; */
    font-size: clamp(2rem, 4vw, 5rem);
    line-height: 1;
    margin-bottom: 0rem;
}
h1+p {
    margin: 1.5rem 0 2.5rem;
}
h2 {
    color: var(--taupe-l);
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    line-height: 1;
    margin-top: 0;
}
.bg-neg h2 {
    color: var(--taupe-xs);
}
h3,
.h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
h3+p {
    margin-top: 0;
}
blockquote {
    padding: 1rem 0;
    margin: 4rem 0 ;
    position: relative;
}
blockquote::before,
blockquote::after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    width: 33%;
    background-color: var(--taupe-s);
    top: 0;
    left: 0;
}
blockquote::after {
    top: auto;
    bottom: 0
}
blockquote p.citation {
    font-family: 'span', serif;
    font-size: clamp(1.5rem, 2rem, 4vw);
    max-width: 20em;
    color: var(--taupe-l);
}
p {
    max-width: 40em;
}
p.signature {
    font-family: 'Geist', sans-serif;
    margin-top: 1rem;
    font-size: 1rem;
}
p.lead  {
    font-size: 1.5rem;
}



/* #endregion */

.btn {
    font-family: 'span', serif;
    letter-spacing: 3%;
    text-decoration: none;
    display: inline-block;
    padding: .75rem 1.5rem ; 
    scroll-padding-block-start: ;
    background-color: var(--taupe-ml);
    color: var(--taupe-s);
    border-radius: 3rem;
}
/* #region COLOR & BG */
.bg-light {
    background-color: var(--taupe-xs);
}
.bg-med {
    background-color: var(--taupe-m);
   
}
.bg-dark {
    background-color: var(--taupe-xl);
}




.bg-white {
    background-color: #FFF;
}

.bg-neg {
    color: var(--taupe-xs);
}
.bg-med.bg-neg {
    color: #FFF;
}
/* #endregion */

/* #region MISC CONTENT */
.intro {
    min-height: 60vh;
}
.intro p.baseline {
    max-width: 20em;
}
.logo-accueil {
    mix-blend-mode: multiply;
}
.competences {
    min-height: 80vh;
    background-position: center top;
    background-size: contain;
    background-image: url('img/watermark.png');
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
}
.comp-item {
    margin-top: ;
    margin-bottom: 3rem;
}
.comp-item h3 {
    margin-bottom: .5rem;
}
.presentation ul {
    padding-left: 0;
}
.presentation ul li {
    list-style-type: none;
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
}
.presentation .list-tab {
}
.presentation .list-title {
    white-space: nowrap;
    min-width: 100px;
    margin-right: 2rem;
}
.sticky-container {
}
.photo {
    margin-bottom: 3rem;
}
/* #endregion */

/* #region FORM */
form {
 margin-top: 6vh;
}
.onpeutpasvoir {
    height: 0;
    overflow: hidden;
    display: none;
}
.alert {
    border: 1px solid var(--taupe-m);
    padding: .5rem 2rem;
    margin-bottom: 1rem;
    font-size: .875rem;
}
.alert-error {
    color: #cd5f44;
}
.form-item {
    margin-bottom: .5rem;
}
form label {
    display: block;
    font-size: .875rem;
    color: var(--taupe-s);
}
.form-item *::placeholder {
    color: var(--taupe-m);
}
form input, form textarea {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    padding: .5rem .75rem;
    background-color: var(--taupe-s);
    border: 0;
    width: 100%;
    box-sizing: border-box;
}
form button {
    border: 0;
    font-size: 1rem;
}
/* #endregion */

footer {
    min-height: 40vh;

    font-family: 'span', serif;

    background: transparent url(img/watermark_footer.svg) no-repeat 90% bottom;
    background-size: 33%;
    background-blend-mode: multiply;
    padding-bottom: 1rem;
}
.footer-bottom {
    padding-top: 2rem;
    color: var(--taupe-m);
}
@media (max-width: 767px) {
    html {
        font-size: 17px;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3, .h3 {
        font-size: 1.25rem;
    }
    p.lead  {
        font-size: 1.2rem;
    }
    /* #region BURGER */
    .site-header>div {
        width: 100%;
    }



    

}