:root{
    --noir-1: #301934;
    --noir-2: #352A39;

    --blanc-1: #FFFFFF;
    --blanc-2: #F8E6FF;

    --violet: #9d52b9;
    --violet-2: #E1AAFF;

    --radius: 10px;
    --animation-duration: .3s;
    --font-family-base: "orillu";
    --font-size: 28px;
    --letter-spacing: 0px;
    --line-height: 2rem;
}

@media screen and (min-width: 800px) {
    :root{
        --padding-x: 10vw;
        --padding-y: 10vh;
    }
}
@media screen and (max-width: 799px) {
    :root{
        --padding-x: 10px;
        --padding-y: 20px;
    }
}

:root[data-theme="light"] {
    --text-color: var(--noir-2);
    --link-color: var(--violet);
    --quote-color: var(--violet);
    --bg-1: var(--blanc-2);
    --bg-2: var(--blanc-1);
}
:root[data-theme="dark"] {
    --text-color: var(--blanc-2);
    --link-color: var(--violet);
    --quote-color: var(--violet);
    --bg-1: var(--noir-2);
    --bg-2: var(--noir-1);
}

::selection{
    background: var(--violet) !important;
    color: var(--blanc-1) !important;
    opacity: 1 !important;
}

@font-face {
    font-family: 'orillu';
    src: url(/build/fonts/Orillu-Regular.0e45ecfb.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

svg{
    pointer-events: none;
}

html {
    font-size: var(--font-size);
}

body{
    position: relative;
    min-height: 100vh;
    background-color: var(--bg-1);
    color: var(--text-color);
    margin: 0;
    padding: 0;

    background-image:
    linear-gradient(to right, rgb(128,128,128,.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(128,128,128,.2) 1px, transparent 1px),
    /*url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .45  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),*/
    /*url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .5' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4  0 0 0 0 .3  0 0 0 0 .5  0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),*/
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.15), transparent 60%)
;

    background-size:
        28px 28px,
        28px 28px,
        /*300px 300px, */
        /*500px 500px, */
        100% 100%;
    background-repeat:
        repeat,
        repeat,
        /*repeat,*/
        /*repeat,*/
        no-repeat;
    background-attachment:
        scroll,
        scroll,
        /*scroll, */
        /*scroll, */
        fixed;
}

@media screen and (min-width: 800px) {
    body::before,
    body::after{
        --trou: 15px;
        --pas: 200px;
        --x: 40px;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 72px;
        pointer-events: none;
        background-size: 100% var(--pas);
        background-repeat: repeat-y;
    }

    body::before{
        z-index: 1;
        background-image:
            /*ombrage de l'anneau du trou*/
            radial-gradient(
                circle at var(--x) 50%,
                transparent calc(var(--trou) + 1px),
                rgba(255,255,255,.55) calc(var(--trou) + 2px),
                rgba(255,255,255,.55) calc(var(--trou) + 3px),
                transparent calc(var(--trou) + 4px)
            ),
                /*couleur l'anneau du trou*/
            radial-gradient(
                circle at var(--x) 50%,
                transparent calc(var(--trou) + 3px),
                rgba(0,0,0,.10) calc(var(--trou) + 4px),
                transparent calc(var(--trou) + 10px)
            )
    ;
    }

    body::after{
        /* Trou */
        z-index: 2;
        background-color: var(--violet-2);

        /* Ombrage du trou */
        background-image:
            radial-gradient(circle at calc(var(--x) + 6px) calc(50% + 6px),
            transparent 0,
            transparent 8px,
            rgba(0,0,0,.2) 18px);

        /* masque du trou (sinon la bande est toute noire) */
        -webkit-mask-image:
            radial-gradient(circle at var(--x) 50%,
            #000 var(--trou),
            transparent calc(var(--trou) + .5px));
        -webkit-mask-size: 100% var(--pas);
        -webkit-mask-repeat: repeat-y;
        mask-image: radial-gradient(circle at var(--x) 50%,
        #000 var(--trou),
        transparent calc(var(--trou) + .5px));
        mask-size: 100% var(--pas);
        mask-repeat: repeat-y;
    }
}


main{
    margin: 0;
    padding: 0;
}

*:focus-visible,
*:focus-visible + .mic-btn,
.drop-container:has(input:focus-visible) {
    outline: none !important;
    border-color: var(--violet) !important;
    box-shadow: 0 0 2px 3px rgba(20, 128, 73, 0.4) !important;
}

*{
    cursor: url(/build/images/curseur.9090652b.png), auto !important;
    box-sizing: border-box;
    font-family: var(--font-family-base),sans-serif;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
}
h1,h2,h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
h1 {
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
}
h2{
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    color: var(--violet);
}
h3{
    font-size: 1.1rem;
    a{
        text-decoration: none;
        color: var(--violet);
        &:hover{
            text-decoration: underline;
            text-decoration-thickness: 2px
        }
    }
}

a, button {
    -webkit-tap-highlight-color: transparent;
    &:active {
        background: transparent;
    }
}

blockquote {
    border-left: 3px solid var(--quote-color);
    padding-left: 20px;
    color: var(--quote-color);
    opacity: .8;
    margin: 12px 0;
    font-style: italic;
}

.orillu-logo {
    background-image: url(/build/images/logo.70da738c.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    width: min(100px, 10vw);
    min-width: 50px;
    aspect-ratio: 1;
}

.sg-loading-page{
    position: fixed;
    z-index: 1100;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--violet);
    background-image: url(/build/images/spinner.47d7dbe5.gif);
    background-size: max(30vw, 200px);
    background-repeat: no-repeat;
    background-position: center;
}



.d-none{display: none !important;}


.text-nowrap{text-wrap: nowrap;}
.text-center{text-align: center;}
.text-right{text-align: right;}
.text-left{text-align: left;}
.text-justify{text-align: justify;}


.flex-row{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.flex-column{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.flex-row-reverse{
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}
.flex-column-reverse{
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.flex-justify-center{
    justify-content: center;
}
.flex-justify-between{
    justify-content: space-between;
}
.flex-justify-around{
    justify-content: space-around;
}
.flex-justify-evenly{
    justify-content: space-evenly;
}

.flex-align-center{
    align-items: center;
}
.flex-align-start{
    align-items: start;
}
.flex-align-end{
    align-items: end;
}

.flex-stretch{
    align-content: stretch;
}
.flex-1{
    flex: 1;
}

.flex-no-wrap{flex-wrap: nowrap;}
.flex-wrap{flex-wrap: wrap;}
.flex-wrap-reverse{flex-wrap: wrap-reverse;}


.center {
    display: flex;
    justify-content: center;
    align-content: center;
}

.phone {
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.link{
    color: var(--link-color);
}

.rubrique{
    position: relative;
    max-width: 1800px;
    width: 100%;
    margin: auto;
    padding: var(--padding-y) var(--padding-x);

    h1:not(.customh1){
        font-size: min(2.5rem, 10vw);
        position: relative;
        margin-bottom: 100px;
        padding-left: calc(min(75px, 15vw) + 20px);
        color: var(--violet);
        filter: url(#bavure);

        &:before{
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            transform: translate(0, -50%) rotate(-1deg);
            width: min(75px, 15vw);
            background: var(--violet);
            aspect-ratio: 4392/3026;

            mask-image: url(/build/images/mask_Axolotl_haut.5970d166.svg);
            mask-repeat: no-repeat;
            mask-size: contain;
            mask-position: center;

            -webkit-mask-image: url(/build/images/mask_Axolotl_haut.5970d166.svg);
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
            -webkit-mask-size: contain;
        }
    }
}

.tache::after{
    content: '';
    display: inline-block;
    width: 1.1em;
    height: .22em;
    margin-left: -.2em;
    vertical-align: -.05em;

    background: var(--text-color);
    border-radius: 50% 70% 60% 40% / 60% 50% 70% 40%;

    filter: blur(1.5px);
    opacity: .55;

    mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .6) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .6) 50%, transparent 100%);

    transform: rotate(-2deg);
    transform-origin: left center;
}

.transparent-text{
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--violet);
}

.btn {
    padding: 10px 30px;
    font-size: var(--font-size);

    text-transform: uppercase;
    text-decoration: none;

    background: var(--noir-2);
    color: var(--blanc-2);
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;

    mask-image: url(/build/images/mask_dash.e052eeb8.svg);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    mask-position: right;

    -webkit-mask-image: url(/build/images/mask_dash.e052eeb8.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: right;

    &:hover{
        background: var(--blanc-1);
        color: var(--noir-2);
    }

    &.actif{
        background: var(--violet);
        color: var(--violet-2);

        &:hover{
            background: var(--violet-2);
            color: var(--violet);
        }
    }
}

.btn-inactive{
    opacity: .2 !important;
}

.btn-add {
    @media (max-width: 899px) {
        aspect-ratio: 1;
        border-radius: 50%;
        padding: 10px;
    }
    @media (min-width: 900px) {
        &::after {
            content: attr(aria-label);
        }
    }
}

.badge {
    min-width: 50px;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-color);
    background: var(--bg-2);
    text-align: center;
    font-weight: bold;
    text-wrap: nowrap;
    pointer-events: none;
    user-select: none;
}

.svg-preview{
    width: 120px;
    margin-block: 8px;
    margin: auto;

    svg{
        width: 100%;
        height: auto;

        path{
            fill: var(--text-color);
        }
    }
}

:root{
    --label-opacity: .55;
}


.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 20px 0;
}

label{
    opacity: var(--label-opacity);
}
input:not([type=range]), textarea {
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid var(--text-color) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--text-color) !important;
    font-size: 1rem !important;
    width: 100%;

    &::placeholder{
        color: var(--text-color);
        opacity: .5;
    }

    &:focus {
        outline: none;
        border-color: var(--violet-2);
    }

    &[readonly] {
        pointer-events: none;
        color: var(--link-color) !important;
        background: var(--bg-2) !important;
    }
}

textarea{
    height: 300px !important;
}

select:not(.dt-input) {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 48px;
    padding: 0 44px 0 14px;
    border: 1px solid var(--text-color);
    border-radius: 0;
    background-color: transparent;
    color: var(--text-color);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, var(--text-color) 50%),
        linear-gradient(135deg, var(--text-color) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 15px) 50%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;

    &:focus {
        outline: none;
        border-color: var(--violet-2);
        background-image:
            linear-gradient(45deg, transparent 50%, var(--violet-2) 50%),
            linear-gradient(135deg, var(--violet-2) 50%, transparent 50%);
    }

    &:invalid {
        color: rgb(from var(--text-color) r g b / .5);
    }

    &:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

    option {
        background: var(--bg-1);
        color: var(--text-color);
    }
}


.file-upload {
    position: relative;
    border: 1px solid var(--text-color);
    border-radius: 8px;
    background: transparent;
    overflow: hidden;

    .file-upload-input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .file-upload-label {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 4px;
        cursor: pointer;
    }

    .file-upload-filename {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .file-upload-btn {
        padding: 8px 16px;
        border-radius: 6px;
        background: var(--text-color);
        color: var(--bg-1);
        font-weight: bold;
        transition: all var(--animation-duration);
    }

    &:hover .file-upload-btn {
        background: var(--bg-1);
        color: var(--text-color);
    }
}

.article-preview{
    position: relative;

    margin: 0 auto;
    width: max-content;

    .article-cover-preview {
        max-height: 300px;
        border-radius : 12px 12px 0 0;
        display: block;
    }
    button{
        border-radius : 0 0 12px 12px;
        width: 100%;

    }
}


.fiches-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border: 1px solid var(--text-color);
    border-radius: 8px;
    background: transparent;
    width: 100%;

    svg {
        opacity: 0.5;
    }

    input {
        border: none !important;
        outline: none !important;
        background: transparent !important;
        width: 100%;
        font-size: 0.9rem;
    }
}


label:has(input){
    opacity: 1;
    .toggle-text{
        opacity: var(--label-opacity);
    }
}


.champ-obl{
    &:after{
        content: '*';
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--violet-2);
    }
}

.images-grid {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;

    li {
        position: relative;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--text-color);
        background: var(--bg-2);
    }

    img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        display: block;
    }

    .images-grid-rang {
        position: absolute;
        top: 4px;
        left: 4px;
        min-width: 22px;
        padding: 2px 6px;
        text-align: center;
        font-size: .8rem;
        background: var(--bg-1);
        color: var(--text-color);
    }

    .images-grid-actions {
        display: flex;

        button {
            flex: 1;
            padding: 8px 0;
            border: 0;
            background: transparent;
            color: var(--text-color);
            cursor: pointer;

            &:hover:not(:disabled) { background: var(--violet-2); }
            &:disabled { opacity: .3; cursor: default; }
        }
    }
}

:root{
    --tooltip-bg : var(--bg-level-2);
    --tooltip-text : var(--text-color);
}


.tooltip{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1101;
    padding: 10px !important;
    border-radius: var(--radius);
    background: var(--tooltip-bg) !important;
    color: var(--tooltip-text);
    max-width: min(500px, 50vw);
}
.tooltip[data-active="true"], .tooltip:hover{
    opacity: 1;
}

.tooltip:before{
    content: 'Note : ';
    font-weight: bold;
}

.tooltip::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 0 10px 20px 10px;
    border-color: transparent transparent var(--tooltip-bg) transparent;
}

.tooltip-top::after {
    bottom: -2px;
}

.tooltip-bottom::after {
    top: -2px;
}

.tooltip-left::after {
    right: -6px;
}
.tooltip-right::after {
    left: -6px;
}

.tooltip-top.tooltip-left::after {
    transform: rotate(20deg);
}
.tooltip-bottom.tooltip-left::after {
    transform: rotate(160deg);
}
.tooltip-top.tooltip-right::after {
    transform: rotate(-20deg);
}
.tooltip-bottom.tooltip-right::after {
    transform: rotate(-160deg);
}


.navbar-header{
    position: sticky;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1rem 1.5rem;

    .navbar-menu{
        pointer-events: auto;
        background-color: var(--violet);
    }
    .navbar-tools-menu {
        position: relative;
        display: flex;
        align-items: center;
        gap: 20px;
        a, button{
            color: var(--text-color);
            font-size: 1rem;
            text-decoration: none;
            background: none;
            border: none;
            cursor: pointer;
        }
    }
}




@media (max-width: 899px) {

    .navbar-menu {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 20px;

        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.12),
            0 2px 6px rgba(0, 0, 0, 0.08);

        &::before{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: inherit;
            border-radius: inherit;
        }
        .menu-bump {
            position: absolute;
            width: 40vw;
            min-width: 250px;
            height: 80px;
            left: 50%;
            top: -33px;
            transform: translateX(-50%);
            fill: var(--violet);
            z-index: -2;
            pointer-events: none;
            filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
        }

        a,button {
            position: relative;
            width: 90px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
            font-size: 11px;
            border: none;
            text-decoration: none;
            color: var(--text-color);
            background: transparent;


            svg {
                width: 23px;
                height: 23px;
                color: inherit;
            }
            span{
                line-height: 1;
            }

            &:hover {
                color: var(--violet-2);
                svg {
                    color: var(--violet-2);
                }
            }
            &.active {
                color: var(--violet-2);
                svg {
                    color: var(--violet-2);
                }
            }

            &:nth-child(3){
                color: transparent;
                svg{
                    background: var(--violet-2);
                    color: var(--violet);
                    padding: 20px;
                    border-radius: 50%;
                }
            }
        }
    }
    [data-theme="dark"] {
        .navbar-menu {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }
        .menu-bump{
            filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
        }
    }
}

@media (min-width: 900px) {
    .navbar-header{
        align-items: center;
        justify-content: space-between;
    }

    .navbar-menu{
        margin-left: 40px;
        position: relative;
        display: flex;
        gap: 22px;
        width: fit-content;
        background: transparent !important;

        a, button{
            flex: 1;
            position: relative;
            text-decoration: none;
            border: none;
            color: var(--blanc-1);
            background: var(--noir-2);

            font-size: inherit;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            padding: 0 10px;

            mask-image: url(/build/images/mask_dash.e052eeb8.svg);
            mask-repeat: no-repeat;
            mask-size: 100% 100%;
            mask-position: right;

            -webkit-mask-image: url(/build/images/mask_dash.e052eeb8.svg);
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-size: 100% 100%;
            -webkit-mask-position: right;

            &.active{
                background: var(--violet-2);
            }
        }
        svg{
            display: none;
        }
    }
}



.postits{
    margin-top: -100px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    z-index: 100;

    .postit {
        position: relative;
        margin: 100px 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;

        width: 400px;
        min-height: fit-content;
        height: 400px;

        color: var(--violet-2);
        font-weight: bold;
        background: var(--violet);
        border-bottom-right-radius: 60px 20px;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;

        &:first-of-type{
            rotate: -5deg;
        }
        &:last-of-type {
            rotate: 5deg;
        }
        dt{
            font-size: 2rem;
            text-align: center;
        }
        dd{
            text-align: center;
            font-size: 1.5rem;
        }
    }

}


.dt-layout-row.dt-layout-table{
    overflow: hidden;
    overflow-x: auto;
    max-width: 100%;
}

.datatable-wrapper {
    display: flex;
    flex-direction: column;
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0 10px;

    thead {
        display: none;
    }
    tbody {
        td {
            background: var(--noir-2);
            color: var(--blanc-1);
            margin: 10px 0;
            padding: 10px 20px;
            font-size: 1rem;

            &:first-of-type {
                border-radius: 20px 0 0 20px;
            }
            &:last-of-type {
                border-radius: 0 20px 20px 0;
            }

            img{
                width: min(300px, 30vw);
            }

        }

    }
    .dt-actions-col {
        white-space: nowrap;

        .datatable-actions {
            display: flex;
            gap: 6px;
            justify-content: flex-end;

            .datatable-action-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                border: none;
                border-radius: 8px;
                background: transparent;
                color: var(--blanc-1);
                cursor: pointer;
                transition: opacity var(--animation-duration), background var(--animation-duration);

                &:hover {
                    color: var(--violet-2);
                    background: var(--violet);
                }
            }
        }
    }
}

.dt-paging nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 10px;


    .dt-paging-button {
        background-color: var(--noir-1);
        color: var(--blanc-1);
        border: none;
        padding: 10px;
        aspect-ratio: 1;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;

        &:not(.disabled,.current):hover {
            background-color: var(--noir-2);
        }
        &.current{
            background: var(--violet) !important;
            color: var(--violet-2) !important;

            &:hover{
                background: var(--violet-2) !important;
                color: var(--violet) !important;
            }
        }
        &.previous{
            margin-right: 20px;
        }
        &.next{
            margin-left: 20px;
        }
        &.disabled {
            background: var(--bg-1);
            opacity: .55;
        }

    }
}


.dt-layout-table + .dt-layout-row .dt-layout-start{
    display: flex;
    flex-direction: column;
    justify-content: left !important;
    align-items: start !important;

    select{
        padding: 0 5px;
        border: none;
        font-size: 1rem;
    }

    .dt-info{
        font-style: italic;
        font-size: 0.9rem;
    }
}



.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-panel {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-1);
    padding: 2rem 0;

    .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--bleu-1);

        h2 {
            font-size: 1.5rem;
            margin: 0;
        }
        .modal-close {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 50%;
            background: transparent;
            font-size: 1.1rem;
            color: var(--text-color);
            opacity: 0.55;
            cursor: pointer;

            &:hover {
                opacity: 1;
                background: var(--bg-2);
            }
        }
    }
    .modal-body {
        padding: 1.5rem;
        overflow-y: auto;

        h3{
            position: relative;
            margin: 0 0 1rem;
            padding: 0;
            justify-content: start;
            align-items: center;
            &:not(&:first-of-type){
                margin-top: 2rem;
            }
            &:before{
                content: "///";
                color: var(--orange-2);
                display: flex;
                align-items: center;
            }
        }
    }
    .modal-footer {
        display: flex;
        justify-content: end;
        gap: 10px;
        padding: 1rem 1.5rem;
    }
}

@media (min-width: 900px) {
    .modal-overlay{
        padding: 1rem;
    }

    .modal-panel{
        width: 90%;
        height: fit-content;
        max-width: 1800px;
        max-height: 90vh;
        padding: 0;
        border-radius: 16px;
    }
}





.article-editor {
    border: 1px solid var(--text-color);
    overflow: hidden;

}

.editor-toolbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    background: var(--bg-1);
    &:after{
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: calc(100% - 16px);
        height: 1px;
        background: var(--text-color);
        border-radius: 50%;
    }
}

.editor-toolbar-separator {
    width: 1px;
    background: var(--text-color);
    margin: 4px 4px;
}

.editor-toolbar-btn {
    width: 34px;
    aspect-ratio: 1;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: background var(--animation-duration), opacity var(--animation-duration);

    &:hover {
        background: var(--violet-2);
    }
    &.active {
        background: var(--violet);
        color: var(--violet-2);
        opacity: 1;
    }
}

.editor-content {
    .ProseMirror {
        outline: none;
        box-shadow: none;
        padding: 0 1rem 1rem;
        margin: 0;
        min-height: 300px;

        &:focus, &:focus-visible {
            outline: none !important;
            box-shadow: none !important;
        }

        p.is-editor-empty:first-child::before {
            content: attr(data-placeholder);
            float: left;
            color: var(--text-color);
            opacity: .55;
            pointer-events: none;
            height: 0;
        }
    }
}


.editor-content {
    img {
        max-width: 100%;
        border-radius: 8px;
        margin: 8px 0;
    }
    a {
        color: var(--violet-2);
        text-decoration: underline;
    }

}


/**
 * Swiper 14.3.0
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: September 28, 2026
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: "";
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

.swiper.swiper-cards {
  overflow: visible;
}
.swiper-cards {
  .swiper-slide {
    transform-origin: center bottom;
    backface-visibility: hidden;
    overflow: hidden;
  }
}


.banner{
    z-index: 3;
    position: relative;
    width: 100%;
    min-height: 40vh;
    aspect-ratio: 1200/480;
    overflow: hidden;

    margin-bottom: 100px;

    .banner-bg{
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        -webkit-user-drag: none;

        &::before{
            content: '';
            position: absolute;
            inset: -30% 0 0 0;
            background-image: inherit;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;

            @media screen and (pointer: fine){
                transform: translateY(var(--parallax, 0px));
                will-change: transform;
            }
        }
    }

    .orillu-logo{
        position: absolute;
        top: 50%;
        left: 50%;
        pointer-events: none;
        -webkit-user-drag: none;
        height: 70%;
        width: auto;
        filter:
            drop-shadow( 1px  0    0 var(--blanc-2))
            drop-shadow(-1px  0    0 var(--blanc-2))
            drop-shadow( 0    1px  0 var(--blanc-2))
            drop-shadow( 0   -1px  0 var(--blanc-2))
            drop-shadow( 1px  1px  0 var(--blanc-2))
            drop-shadow(-1px -1px  0 var(--blanc-2))
            drop-shadow( 1px -1px  0 var(--blanc-2))
            drop-shadow(-1px  1px  0 var(--blanc-2))
        ;
        @media screen and (pointer: fine){
            transform: translate(-50%, calc(-50% + var(--logo-parallax, 0px)));
            will-change: transform;
        }
        @media screen and (pointer: coarse){
            transform: translate(-50%, -50%);
        }
    }

    h2{
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        background: var(--violet-2);
        backdrop-filter: blur(20px);
        opacity: .8;
        gap: 20px;
        color: var(--bg-2);
        span{
            font-size: clamp(16px, 3vw, 1.5rem);
        }
    }
}

.about{

    & > div {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5vw;
    }

    aside{
        position: relative;
        overflow: hidden;
        isolation: isolate;
        width: clamp(300px, 30%, 500px);
        aspect-ratio: 1;
        pointer-events: none;
        -webkit-user-drag: none;

        mask-image: url(/build/images/Polyligne.1de38026.svg);
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;

        -webkit-mask-image: url(/build/images/Polyligne.1de38026.svg);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;

        &::before{
            content: '';
            position: absolute;
            inset: -8%;
            background-image: inherit;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;

            @media screen and (pointer: fine){
                transform: translate3d(calc(var(--mx, 0) * 5%), calc(var(--my, 0) * 5%), 0);
                will-change: transform;
            }
        }

        .ombre{
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;

            filter:
                drop-shadow(3px 4px 3px rgba(40, 0, 70, .55))
                drop-shadow(1px 1px 1px rgba(40, 0, 70, .6));

            &::before{
                content: '';
                position: absolute;
                inset: 0;
                background: #f9e4fc;

                mask-image: linear-gradient(#000 0 0), url(/build/images/Polyligne.1de38026.svg);
                mask-repeat: no-repeat, no-repeat;
                mask-size: 100% 100%, contain;
                mask-position: center, center;
                mask-composite: exclude;

                -webkit-mask-image: linear-gradient(#000 0 0), url(/build/images/Polyligne.1de38026.svg);
                -webkit-mask-repeat: no-repeat, no-repeat;
                -webkit-mask-size: 100% 100%, contain;
                -webkit-mask-position: center, center;
                -webkit-mask-composite: xor;
            }
        }
    }
    article{
        display: flex;
        justify-content: center;
        flex-direction: column;
        min-width: max(60%, 300px);
        flex: 1;

        @media screen and (min-width: 800px) {
            &:before{
                content: '';
                position: absolute;
                top: 100%;
                right: 200px;
                width: 200px;
                rotate: 160deg;
                aspect-ratio: 1;
                background-image: url(/build/images/axo.e9b23654.png);
                background-size: cover;
                background-position: bottom left;

                filter:
                    drop-shadow( 2px  0    0 var(--blanc-1))
                    drop-shadow(-2px  0    0 var(--blanc-1))
                    drop-shadow( 0    2px  0 var(--blanc-1))
                    drop-shadow( 0   -2px  0 var(--blanc-1))
                    drop-shadow( 2px  2px  0 var(--blanc-1))
                    drop-shadow(-2px -2px  0 var(--blanc-1))
                    drop-shadow( 2px -2px  0 var(--blanc-1))
                    drop-shadow(-0px  2px  0 var(--blanc-1))
            ;
            }
        }

    }
}

.coups-de-coeur {
    overflow: hidden;

    & > div {
        position: relative;
    }

    @media screen and (min-width: 550px) {
        .postit {
            position: absolute;
            top: 0;
            left: 50px;
            text-align:center;
            width: min(400px, 75vw);
            height: fit-content;

            color: var(--violet-2);
            font-weight: bold;
            background: var(--violet);
            border-bottom-right-radius: 60px 20px;
            box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
            rotate: -5deg;

            &:before{
                content: '';
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translate(-50%, 0);
                width: 200px;
                aspect-ratio: 1;
                background-image: url(/build/images/axo.e9b23654.png);
                background-size: cover;
                background-position: bottom left;

                filter:
                    drop-shadow( 2px  0    0 var(--blanc-1))
                    drop-shadow(-2px  0    0 var(--blanc-1))
                    drop-shadow( 0    2px  0 var(--blanc-1))
                    drop-shadow( 0   -2px  0 var(--blanc-1))
                    drop-shadow( 2px  2px  0 var(--blanc-1))
                    drop-shadow(-2px -2px  0 var(--blanc-1))
                    drop-shadow( 2px -2px  0 var(--blanc-1))
                    drop-shadow(-0px  2px  0 var(--blanc-1))
            ;
            }
        }
    }

    .photos{
        width: 300px;
        overflow: visible;
    }

    .swiper-wrapper{
        align-items: center;
    }
    .swiper-slide{
        height: auto;
        align-self: center;
        background: var(--bg-2);
        padding: 12px 12px 0;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgb(0 0 0 / .2), 0 8px 18px rgb(60 20 90 / .25);
        user-select: none;
        box-sizing: border-box;
    }
    .polaroid{
        position: relative;
        display: block;
        text-decoration: none;
        color: inherit;

        p{
            margin: 0;
            padding: 20px 8px;
            text-align: center;
            font-size: 1.1rem;
            line-height: 1;
        }
        .photo-cat{
            position: relative;
            width: fit-content;
            max-width: 90%;
            font-size: .6rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin: auto auto 20px;

            span{
                line-height: 1;
            }

            &:before, &:after{
                content: '-';
                position: absolute;
                top: 50%;
                transform: translate(0, -50%);
            }
            &:before{
                left: -15%;
            }
            &:after{
                right: -15%;
            }
        }
    }
    .photo{
        pointer-events: none;
        -webkit-user-drag: none;
        width: 100%;
        aspect-ratio: 1;
        background-size: cover;
        background-repeat: no-repeat;
        background-color: var(--noir-2);
        max-height: 60vh;
        margin-inline: auto;
    }
}

.categories{
    position: relative;

    ul{
        position: relative;
        width: 100%;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .card{
        position: relative;
        display: block;
        width: min(300px, calc(100vw - var(--padding-x) * 2));
        height: 340px;
        border-radius: 50px 50px 5px 5px;
        text-decoration: none;
        color: var(--violet-2);
        background-color: var(--noir-2);
        perspective: 900px;
        user-select: none;
        -webkit-user-drag: none;

        mask-image: url(/build/images/Polyligne.1de38026.svg);
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;

        -webkit-mask-image: url(/build/images/Polyligne.1de38026.svg);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;

        overflow: hidden;

        .ombre{
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;

            filter:
                drop-shadow(3px 4px 3px rgba(40, 0, 70, .55))
                drop-shadow(1px 1px 1px rgba(40, 0, 70, .6));

            &::before{
                content: '';
                position: absolute;
                inset: 0;
                background: #f9e4fc;

                mask-image: linear-gradient(#000 0 0), url(/build/images/Polyligne.1de38026.svg);
                mask-repeat: no-repeat, no-repeat;
                mask-size: 100% 100%, contain;
                mask-position: center, center;
                mask-composite: exclude;

                -webkit-mask-image: linear-gradient(#000 0 0), url(/build/images/Polyligne.1de38026.svg);
                -webkit-mask-repeat: no-repeat, no-repeat;
                -webkit-mask-size: 100% 100%, contain;
                -webkit-mask-position: center, center;
                -webkit-mask-composite: xor;
            }
        }

        .apercu{
            display: none;

            @media screen and (pointer: fine){
                display: block;
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                box-shadow: inset 0 0 40px rgba(0, 0, 0, .45);
            }
        }

        .porte{
            position: absolute;
            inset: 0;
            box-sizing: border-box;
            display: flex;
            flex-direction: column-reverse;
            justify-content: center;
            align-items: center;
            gap: 20px;
            padding: 20px;
            border-radius: inherit;
            background-color: var(--noir-1);

            @media screen and (pointer: fine){
                mask-image: url(/build/images/Polyligne.1de38026.svg);
                mask-repeat: no-repeat;
                mask-size: contain;
                mask-position: center;

                -webkit-mask-image: url(/build/images/Polyligne.1de38026.svg);
                -webkit-mask-repeat: no-repeat;
                -webkit-mask-position: center;
                -webkit-mask-size: contain;

                transform-origin: left center;
                transition: transform .6s cubic-bezier(.3, .7, .2, 1),
                box-shadow .6s ease;
                backface-visibility: hidden;
                will-change: transform;
            }

            .svg-render{
                width: 60%;
                aspect-ratio: 1;
                display: block;
                path{
                    fill: url(#degrade);
                }
            }
            span{
                position: relative;
                width: 100%;
                padding-top: 20px;
                text-align: center;
                font-size: clamp(24px, 5vw, 1.2rem);
                line-height: 1;
                font-weight: bold;
                background: linear-gradient(to top left, var(--blanc-1), var(--violet-2) 50%);
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;

                &:before{
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 50%;
                    width: 75%;
                    transform: translate(-50%, 0);
                    height: 1px;
                    border-radius: 50px;
                    background: linear-gradient(to  right, var(--blanc-1), var(--violet-2) 50%);
                }
            }
        }


        @media screen and (pointer: fine){
            &:hover .porte,
            &:focus-visible .porte{
                transform: rotateZ(-78deg) translate(100px, -100px);
                box-shadow: 10px 0 30px rgba(0, 0, 0, .35);
            }
        }
    }
}


.contact {
    position: relative;
    --papier: var(--bg-2);
    --trait: color-mix(in srgb, var(--violet-2) 40%, transparent);
    --ligne: 2rem;
    --bord-w: 20px;
    --bord-h: 132px;
    --bord: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%27132%27 viewBox=%270 0 20 132%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M20 0 L1.4 0 L2.6 2.5 L1.1 5 L2.2 8 L1.6 10.5 L3.8 12.2 L7.4 13.6 L10.8 15.8 L13.1 19 L13.9 22.4 L12.6 26 L9.9 28.4 L6.2 30 L3.2 31.2 L1.8 33 L2.9 36 L1.2 39 L2.4 42.5 L1 46 L2.5 49.5 L1.5 52.5 L2.7 54.6 L4.6 56.2 L8.5 57.4 L11.7 59.6 L14.2 63 L14.6 66.2 L13.4 70 L10.8 72.8 L7 74.4 L3.9 75.4 L1.6 77.6 L2.8 80.5 L1.2 83.6 L2.5 87 L1.1 90.4 L2.6 93.8 L1.4 97 L2.9 99 L4.2 100.8 L7.8 102.4 L10.9 104.8 L12.8 108 L13.5 111.5 L12.3 115 L9.5 117.4 L5.8 118.9 L3 119.8 L1.7 121.8 L2.8 124.5 L1.2 127.5 L2.3 130 L1.4 132 L20 132 Z%27/%3E%3C/svg%3E");

    width: min(800px, 90%);
    z-index: 10;
    color: var(--text-color);
    line-height: var(--ligne);
    padding: calc(var(--ligne) * 2) clamp(30px, 5vw, 100px);

    filter:
        drop-shadow(0 1px 1px rgb(40 0 70 / .25))
        drop-shadow(0 8px 14px rgb(40 0 70 / .18));


    @media screen and (min-width: 800px) and (pointer: fine) {
        rotate: -1deg;
        transition: rotate .2s;
        &:hover{
            rotate: 0deg;
        }
    }

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;

        background-color: var(--papier);
        background-image:
            linear-gradient(transparent calc(var(--ligne) - 1px), var(--trait) 0),
            url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27300%27 height=%27300%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.9%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .3  0 0 0 0 .25  0 0 0 0 .4  0 0 0 .12 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23n%29%27/%3E%3C/svg%3E");

        background-size: 100% var(--ligne), 300px 300px;
        background-position: 0 calc(var(--ligne) * -.12), 0 0;
        background-repeat: repeat-y, repeat;

        mask-image: linear-gradient(#000 0 0), var(--bord);
        mask-size: calc(100% - var(--bord-w) + 1px) 100%, var(--bord-w) var(--bord-h);
        mask-position: 100% 0, 0 0;
        mask-repeat: no-repeat, repeat-y;

        -webkit-mask-image: linear-gradient(#000 0 0), var(--bord);
        -webkit-mask-size: calc(100% - var(--bord-w) + 1px) 100%, var(--bord-w) var(--bord-h);
        -webkit-mask-position: 100% 0, 0 0;
        -webkit-mask-repeat: no-repeat, repeat-y;
    }

    h1{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        padding: 0;
        margin: 0 0 var(--ligne);
        text-align: center;
    }

    .contact-input{
        display: flex;
        label{
            position: relative;
            font-weight: bold;
            width: 100px;
            margin-right: 10px;
            &:after{
                position: absolute;
                right: -5px;
                content: ':';
            }
        }
        input, textarea{
            border: none !important;
        }
    }
    .contact-input:has(textarea){
        flex-direction: column;
    }
}


.contact.envoi {
    pointer-events: none;
    rotate: -2deg;
    animation: avion-vol 3s forwards;

    > * {
        opacity: 0;
        transition: opacity .5s;
    }

    &::before {
        animation: avion-pli 1s .25s cubic-bezier(.6, 0, .3, 1) both;
    }

    &::after {
        /* plie en petit navion */
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        clip-path: polygon(0 12%, 55% 36%, 100% 50%, 100% 50%, 55% 64%, 0 88%);
        background:
            linear-gradient(to bottom,
            transparent calc(50% - 1.5px),
            rgb(0 0 0 / 0.5) calc(50% - 1.5px),
            rgb(0 0 0 / 0.1) calc(50% + 1.5px),
            transparent calc(50% + 1.5px)),
            linear-gradient(to bottom, transparent 50%, rgb(0 0 0 / 0.1) 50%);

        animation: avion-ombre .5s .75s ease-out both;
    }
}

@keyframes avion-pli {
    from {
        clip-path: polygon(0 0, 50% 0, 100% 0, 100% 100%, 50% 100%, 0 100%);
    }
    to   {
        clip-path: polygon(0 12%, 55% 36%, 100% 50%, 100% 50%, 55% 64%, 0 88%);
    }
}

@keyframes avion-ombre {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes avion-vol {
    0%   {
        transform: none;
        animation-timing-function: cubic-bezier(.6, 0, .3, 1);
    }
    25%  {
        /* plié, petit, sur place */
        transform: scale(.4) rotate(-3deg);
        animation-timing-function: ease-out;
    }
    50%  {
        /* petit recul avant le lancer */
        transform: translate(-10px, 10px) scale(.4) rotate(6deg);
        animation-timing-function: cubic-bezier(.55, 0, 1, .45);
    }
    100% {
        transform: translate(110vw, -85vh) scale(.3) rotate(-25deg);
    }
}

body:has(.contact.envoi) {
    overflow-x: clip;
}

.contact-merci{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    *{
        width: fit-content;
    }
}

.sg-login {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem 1rem;
}


.login-card {
    width: 100%;
    height: 100%;
    max-width: 400px;
    border-radius: 12px;
    padding: 2rem 1.5rem;

    h1{
        justify-content: center;
        font-size: 1.5rem;
    }
    .login-card-header {
        margin-bottom: 1.5rem;

        .login-card-header-badge {
            width: 50px;
            height: 50px;
            background: var(--violet);
            margin: 0 auto;
           display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            font-size: 1rem;
            color: var(--bg-1);
        }
    }

}

.login-forgot {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--violet);
    text-decoration: none;
    font-weight: bold;
    &:hover {
        opacity: .55;
    }
}

.login-submit {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0 1.5rem;
}


.navbar-header{
    pointer-events: none;
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 2vh 3vw;

    .homeBtn{
        pointer-events: auto;
        width: 50px;
        height: 50px;
        background-image: url(/build/images/logo_simple.28eb1ec7.svg);
        background-size: cover;
        background-position: center;

        filter:
            drop-shadow( 1px  0    0 var(--blanc-1))
            drop-shadow(-1px  0    0 var(--blanc-1))
            drop-shadow( 0    1px  0 var(--blanc-1))
            drop-shadow( 0   -1px  0 var(--blanc-1))
            drop-shadow( 1px  1px  0 var(--blanc-1))
            drop-shadow(-1px -1px  0 var(--blanc-1))
            drop-shadow( 1px -1px  0 var(--blanc-1))
            drop-shadow(-0px  1px  0 var(--blanc-1))
        ;

        transition: all .5s;
        &:hover{
            rotate: -5deg;
        }
    }

    #toggleTheme{
        pointer-events: auto;
        border: none;
        background-color: transparent;
        color: var(--noir-2);
        font-size: 1rem;
        svg,span {
            filter:
                drop-shadow( 1px  0    0 var(--blanc-1))
                drop-shadow(-1px  0    0 var(--blanc-1))
                drop-shadow( 0    1px  0 var(--blanc-1))
                drop-shadow( 0   -1px  0 var(--blanc-1))
                drop-shadow( 1px  1px  0 var(--blanc-1))
                drop-shadow(-1px -1px  0 var(--blanc-1))
                drop-shadow( 1px -1px  0 var(--blanc-1))
                drop-shadow(-0px  1px  0 var(--blanc-1))
          ;
        }
        span{
            display: none;
            letter-spacing: 2px;
            padding-left: 10px;

            @media screen and (min-width: 800px) {
                display: inline;
            }
        }


    }
}

.site-footer {
    margin-top: 300px;
    z-index: 100;
    position: relative;
    width: 100%;
    padding: 55px 7vw 20px;
    box-sizing: border-box;
    background-color: var(--noir-1);
    color: var(--blanc-2);
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    overflow: hidden;

    .footer-content {
        position: relative;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }

    .footer-eyebrow {
        display: block;
        color: var(--violet-2);
        font-size: 0.7rem;
        font-weight: bold;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .footer-socials {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        margin: 0;
        padding: 0;

        svg {
            display: block;
            width: 25px;
            height: 25px;
            fill: var(--blanc-2);
        }

        a {
            display: flex;
            align-items: center;
            gap: 16px;
            color: var(--blanc-2) !important;
            text-decoration: none;
            font-size: .8rem;
            transition: transform 0.2s ease, opacity 0.2s ease;
            line-height: 1;

            &:hover {
                transform: translateX(6px);
                opacity: 0.7;
            }

            span{
                color: var(--blanc-2);
            }
        }
    }

    .footer-message {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        text-align: right;

        p {
            span{color: var(--blanc-2);}
            font-size: .8rem;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            line-height: 1;
        }
        a {
            color: var(--blanc-2) !important;
            font-size: 0.6rem;
            text-decoration: none;
            opacity: 0.55;
            line-height: 1;
            transition: opacity 0.2s ease;
        }
    }

    .credits{
        flex: 1;
        color: var(--blanc-2) !important;
        opacity: 0.55;
        font-size: 0.8rem;
        text-align: center;

        a{
            color: var(--blanc-2) !important;
            text-decoration: none;
            &:hover{
                opacity: .4;
            }
        }
    }
}



@media (max-width: 400px) {
    .footer-content{
        gap: 40px;
        flex-direction: column;
    }
}

:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-border-radius: 50%;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  &.swiper-pagination-hidden {
    opacity: 0;
  }
  .swiper-pagination-disabled > &,
  &.swiper-pagination-disabled {
    display: none !important;
  }
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 8px);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
  .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
  }
  .swiper-pagination-bullet-active {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-main {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
  }
  .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
  }
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
  button& {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    appearance: none;
  }
  .swiper-pagination-clickable & {
    cursor: pointer;
  }

  &:only-child {
    display: none !important;
  }
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: var(--swiper-pagination-right, 8px);
  left: var(--swiper-pagination-left, auto);
  top: 50%;
  transform: translate3d(0px, -50%, 0);
  .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block;
  }
  &.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    .swiper-pagination-bullet {
      display: inline-block;
      transition:
        200ms transform,
        200ms top;
    }
  }
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
  .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
  }
  &.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    .swiper-pagination-bullet {
      transition:
        200ms transform,
        200ms left;
    }
  }
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition:
    200ms transform,
    200ms right;
}
/* Fraction */
.swiper-pagination-fraction {
  color: var(--swiper-pagination-fraction-color, inherit);
}
/* Progress */
.swiper-pagination-progressbar {
  background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
  position: absolute;
  .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
  }
  .swiper-rtl & .swiper-pagination-progressbar-fill {
    transform-origin: right top;
  }
  .swiper-horizontal > &,
  &.swiper-pagination-horizontal,
  .swiper-vertical > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size, 4px);
    left: 0;
    top: 0;
  }
  .swiper-vertical > &,
  &.swiper-pagination-vertical,
  .swiper-horizontal > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
    width: var(--swiper-pagination-progressbar-size, 4px);
    height: 100%;
    left: 0;
    top: 0;
  }
}
.swiper-pagination-lock {
  display: none;
}

:root {
  --swiper-navigation-size: 44px;
  /*
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 4px;
  --swiper-navigation-color: var(--swiper-theme-color);
  */
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;

  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);

  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  &.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
  }
  &.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
  }
  .swiper-navigation-disabled & {
    display: none !important;
  }

  ::slotted(svg),
  svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
    fill: currentColor;
    pointer-events: none;
  }
}

.swiper-button-lock {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  top: var(--swiper-navigation-top-offset, 50%);
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
}
.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 4px);
  right: auto;
  ::slotted(.swiper-navigation-icon),
  .swiper-navigation-icon {
    transform: rotate(180deg);
  }
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 4px);
  left: auto;
}
.swiper-horizontal {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 50%);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-left: 0;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 4px);
    right: auto;
  }
  .swiper-button-next,
  & ~ .swiper-button-next,
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 4px);
    left: auto;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(180deg);
    }
  }
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(0deg);
    }
  }
}
.swiper-vertical {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    left: var(--swiper-navigation-top-offset, 50%);
    right: auto;
    margin-left: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-top: 0;
  }
  .swiper-button-prev,
  ~ .swiper-button-prev {
    top: var(--swiper-navigation-sides-offset, 4px);
    bottom: auto;
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(-90deg);
    }
  }
  .swiper-button-next,
  ~ .swiper-button-next {
    bottom: var(--swiper-navigation-sides-offset, 4px);
    top: auto;
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(90deg);
    }
  }
}


.portfolio-banner{
    z-index: 3;
    position: relative;
    width: 100%;
    min-height: 40vh;
    aspect-ratio: 1200/480;
    overflow: hidden;

    margin-bottom: 100px;

    .portfolio-banner-bg {
        position: absolute;
        inset: 0;
        overflow: hidden;
        background-color: var(--violet);
        background-size: 0;

        &::before{
            content: '';
            position: absolute;
            inset: -30% 0 0 0;
            background-image: inherit;
            background-size: cover;
            background-position: top;

            @media screen and (pointer: fine){
                transform: translateY(var(--parallax, 0px));
                will-change: transform;
            }
        }
        &::after{
            pointer-events: none;
            content: '';
            position: absolute;
            inset: 0;
            z-index: 5;
            box-shadow: var(--bg-1) 0px -50px 36px -28px inset;
        }
    }

    .portfolio-banner-menu{
        position: absolute;
        top: 50%;
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5vw;

        @media screen and (pointer: fine){
            transform: translate(0, calc(-50% + var(--menu-parallax, 0px)));
            will-change: transform;
        }
        @media screen and (pointer: coarse){
            transform: translate(0, -50%);
        }

        .prev, .next{
            position: relative;
            width: min(200px, 20%);

            text-decoration: none;
            color: var(--noir-1);
            font-weight: bold;

            display: flex;
            flex-direction: column;
            align-items: center;


            .portfolio-banner-menu-svg{
                position: relative;
                width: min(100px, 10vw);
                height: min(100px, 10vw);
                display: flex;
                align-items: center;
                justify-content: center;

                padding: 10%;
                background: var(--noir-1);
                border-radius: 50%;
                pointer-events: none;
                -webkit-user-drag: none;

                svg{
                    width: 100%;
                    height: 100%;
                    path{
                        fill: url(#degrade);
                        stroke: url(#degrade);
                        stroke-width: 5px;
                        stroke-linejoin: round;
                    }
                }

            }

            span{
                position: absolute;
                top: calc(100% + 20px);
                display: none;
                text-align: center;
                line-height: 1;
            }

            .portfolio-banner-menu-svg, span{
                filter:
                    drop-shadow( 1px  0    0 var(--blanc-1))
                    drop-shadow(-1px  0    0 var(--blanc-1))
                    drop-shadow( 0    1px  0 var(--blanc-1))
                    drop-shadow( 0   -1px  0 var(--blanc-1))
                    drop-shadow( 1px  1px  0 var(--blanc-1))
                    drop-shadow(-1px -1px  0 var(--blanc-1))
                    drop-shadow( 1px -1px  0 var(--blanc-1))
                    drop-shadow(-0px  1px  0 var(--blanc-1))
                ;
            }

            @media screen and (pointer: fine){
                &:hover{
                    span{
                        display: block;
                    }
                }
            }

        }

        .current{
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;

            .portfolio-banner-menu-svg{
                @media screen and (max-width: 799px) {
                    display: none;
                }
                @media screen and (min-width: 800px) {
                    width: min(30%, 300px);
                    display: flex;
                    align-items: end;
                    justify-content: center;

                    path{
                        /*fill: url(#degrade);*/
                        /*stroke: url(#degrade);*/
                        fill: var(--noir-2);
                        stroke: var(--noir-2);
                        stroke-width: 5px;
                        stroke-linejoin: round;
                    }
                }

            }
            h1{
                padding-top: 20px;
                font-size: clamp(30px, 7vw, 80px);
                line-height: 1;
                /*background: linear-gradient(to top left, var(--blanc-1), var(--violet-2) 50%);*/
                /*-webkit-background-clip: text;*/
                /*background-clip: text;*/
                color: var(--noir-2);
                text-align: center;
            }
            svg, h1{
                filter:
                    drop-shadow( 1px  0    0 rgb(255 255 255 / 1))
                    drop-shadow(-1px  0    0 rgb(255 255 255 / 1))
                    drop-shadow( 0    1px  0 rgb(255 255 255 / 1))
                    drop-shadow( 0   -1px  0 rgb(255 255 255 / 1))
                    drop-shadow( 1px  1px  0 rgb(255 255 255 / 1))
                    drop-shadow(-1px -1px  0 rgb(255 255 255 / 1))
                    drop-shadow( 1px -1px  0 rgb(255 255 255 / 1))
                    drop-shadow(-0px  2px  0 rgb(255 255 255 / 1))
            ;
            }
        }
    }
}

.portfolio-menu{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.portfolio-galerie{
    --gap: 20px;
    --card-max: 300px;

    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    container-type: inline-size;

    .projets-section{
        --section-w: calc(100cqw - 2 * var(--padding-x));

        column-width: min(var(--card-max), calc((var(--section-w) - var(--gap)) / 2 - 1px));
        column-gap: var(--gap);
        padding: 0;
        margin: 0 var(--padding-x);
        list-style: none;

        li{
            break-inside: avoid;
            margin-bottom: var(--gap);

            .projet{
                position: relative;
                z-index: 3;
                width: 100%;
                max-width: var(--card-max);
                margin-inline: auto;
                background: var(--bg-2);
                padding: 20px 20px 0;
                transition: rotate .5s;

                .photo{
                    pointer-events: none;
                    -webkit-user-drag: none;
                    position: relative;
                    width: 100%;
                    background-size: cover;
                    background-repeat: no-repeat;
                    background-color: var(--text-color);
                    margin-inline: auto;

                    .count-enfants{
                        position: absolute;
                        bottom: -20px;
                        right: -10px;
                        width: 25%;
                        aspect-ratio: 4392/3026;
                        background: var(--violet-2);
                        color: var(--noir-2);
                        padding-top: 5px;
                        text-align: center;
                        rotate: 10deg;

                        mask-image: url(/build/images/mask_Axolotl_haut.5970d166.svg);
                        mask-repeat: no-repeat;
                        mask-size: contain;
                        mask-position: center;

                        -webkit-mask-image: url(/build/images/mask_Axolotl_haut.5970d166.svg);
                        -webkit-mask-repeat: no-repeat;
                        -webkit-mask-position: center;
                        -webkit-mask-size: contain;


                    }
                }
                figcaption{
                    color: var(--text-color);
                    margin: 0;
                    padding: 14px 0 18px;
                    text-align: center;
                    font-size: .8rem;
                    line-height: 1;
                }
            }

            @media screen and (pointer: fine) {
                --rot: -5deg;
                &:nth-child(2n){ --rot: 2deg; }
                &:nth-child(3n){ --rot: -3deg; }
                &:nth-child(5n){ --rot: 5deg; }
                &:nth-child(7n){ --rot: -2deg; }

                &:hover .projet{
                    z-index: 4;
                    rotate: var(--rot);
                }
            }
        }
    }
}




.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #000;
    background-image:
        linear-gradient(to right, rgb(128,128,128,.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(128,128,128,.2) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27300%27 height=%27300%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.8%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .45  0 0 0 .22 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23n%29%27/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27500%27 height=%27500%27%3E%3Cfilter id=%27f%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.012 .5%27 numOctaves=%273%27 seed=%274%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .4  0 0 0 0 .3  0 0 0 0 .5  0 0 0 .12 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url%28%23f%29%27/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.15), transparent 60%)
    ;

    background-size: 28px 28px, 28px 28px, 300px 300px, 500px 500px, 100% 100%;
    background-repeat: repeat, repeat, repeat, repeat, no-repeat;
    background-attachment: scroll, scroll, scroll, scroll, fixed;

    .portfolio-lightbox-swiper,
    .portfolio-lightbox-swiper .swiper-wrapper,
    .portfolio-lightbox-swiper .swiper-slide {
        width: 100%;
        height: 100%;
    }

    .portfolio-lightbox-content {
        width: 100%;
        height: 100%;
        min-width: 0;

        .portfolio-lightbox-content-info {
            position: absolute;
            z-index: 30;
            top: 20px;
            left: 20px;

            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 30px;
            font-size: 32px;
            line-height: 1;
            color: var(--blanc-2);

            &::before {
                content: '';
                position: absolute;
                inset: 0;
                z-index: -1;
                background: var(--noir-2);

                mask-image: url(/build/images/mask_dash.e052eeb8.svg);
                mask-repeat: no-repeat;
                mask-size: 100% 100%;
                mask-position: right;

                -webkit-mask-image: url(/build/images/mask_dash.e052eeb8.svg);
                -webkit-mask-repeat: no-repeat;
                -webkit-mask-size: 100% 100%;
                -webkit-mask-position: right;
            }

            i {
                font-size: 1.2rem;
            }

            div {
                display: none;
                position: fixed;
                bottom: 1rem;
                left: 50%;
                transform: translate(-50%, 0);
                overflow: auto;
                z-index: 1000;
                width: 90vw;
                min-height: 30vh;
                max-height: 90vh;
                align-items: center;
                justify-content: center;
                padding: 30px;
                font-weight: bold;
                background-color: rgb(157 82 185 / 0.9);
                backdrop-filter: blur(20px);

                mask-image: url(/build/images/mask_dash_lisse.0de267b7.svg);
                mask-repeat: no-repeat;
                mask-size: 100% 100%;
                mask-position: right;

                -webkit-mask-image: url(/build/images/mask_dash_lisse.0de267b7.svg);
                -webkit-mask-repeat: no-repeat;
                -webkit-mask-size: 100% 100%;
                -webkit-mask-position: right;

                a{color: var(--noir-2)}
            }

            &.active{
                i{color: var(--noir-2);}
                &:before{
                    background: var(--blanc-2);
                }
            }

            div.active{
                display: flex;
            }
        }
    }

    .portfolio-lightbox-close {
        position: absolute;
        z-index: 2;
        top: 20px;
        right: 20px;

        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 30px;
        border: none;
        font-size: 32px;
        line-height: 1;
        background: var(--noir-2);
        color: var(--blanc-2);


        mask-image: url(/build/images/mask_dash.e052eeb8.svg);
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
        mask-position: right;

        -webkit-mask-image: url(/build/images/mask_dash.e052eeb8.svg);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        -webkit-mask-position: right;

        &:hover{
            background: var(--blanc-1);
            color: var(--noir-2);
        }
    }

    .portfolio-lightbox-swiper{

        .swiper-button-prev, .swiper-button-next{
            color: transparent;
            background-image: url(/build/images/fleche.18120db3.png);
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            width: max(50px, 5vw);
            aspect-ratio: 1/1;
            transition: all .5s;
            &:hover{
                scale: 1.2;
            }
        }
        .swiper-button-next{
            rotate: -180deg;
        }

        .swiper-pagination {

            .swiper-pagination-bullet {
                background: var(--violet-2);
                width: 50px;
                height: auto;
                aspect-ratio: 838/361;

                mask-image: url(/build/images/mask_Axolotl.4a728e2d.svg);
                mask-repeat: no-repeat;
                mask-size: cover;
                mask-position: center;

                -webkit-mask-image: url(/build/images/mask_Axolotl.4a728e2d.svg);
                -webkit-mask-repeat: no-repeat;
                -webkit-mask-position: center;
                -webkit-mask-size: cover;
                &.swiper-pagination-bullet-active {
                    opacity: 1;
                }
            }

        }

    }

    .portfolio-lightbox-slide {
        width: 100%;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 50px 60px 70px;
        box-sizing: border-box;

        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            user-select: none;
            pointer-events: none;
            -webkit-user-drag: none;
        }
    }
}

