:root {
    --main-blue-25: #1220363F;
    --main-blue-50: #1220367F;
    --main-blue-75: #122036B7;
    --main-blue: #122036;
    --main-blue-lighter: hsl(217, 50%, 4%);
    --main-blue-darker: hsl(217, 50%, 24%);

    --second-blue-25: #3582AE3F;
    --second-blue-50: #3582AE7F;
    --second-blue-75: #3582AEB7;
    --second-blue: #3582AE;
    --second-blue-lighter: hsl(202, 53%, 55%);
    --second-blue-darker: hsl(202, 53%, 35%);
}

/* RESET */

html,
body {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font: Roboto;
    line-height: 16px;
    scroll-behavior: smooth;
}

/* BASICS 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.user-select-none,
.usn {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* SCROLL BEHAVIOR 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.smooth-scroll {
    scroll-behavior: smooth;
}

/* CUSTOM SCROLLBARS 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.custom-scrollbar::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar-button,
.custom-scrollbar::-webkit-scrollbar-thumb {
    width: 7px;
    height: 7px;
}
.thin-scrollbar::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar::-webkit-scrollbar-thumb {
    width: 3px;
    height: 3px;
}
.no-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar-button,
.no-scrollbar::-webkit-scrollbar-thumb {
    height: 0px;
    width: 0px;
}

.custom-scrollbar,
.thin-scrollbar,
.no-scrollbar {
    overflow: auto;
}

.custom-scrollbar::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    background-color: #F3F4F6;
}
.custom-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar::-webkit-scrollbar-button,
.no-scrollbar::-webkit-scrollbar-button {
    background-color: var(--main-blue);
}
.custom-scrollbar::-webkit-scrollbar-thumb,
.thin-scrollbar::-webkit-scrollbar-thumb,
.no-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--second-blue);
}

.custom-scrollbar.black-scrollbar::-webkit-scrollbar,
.thin-scrollbar.black-scrollbar::-webkit-scrollbar,
.no-scrollbar.black-scrollbar::-webkit-scrollbar {
    background-color: #F3F4F6;
}
.custom-scrollbar.black-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar.black-scrollbar::-webkit-scrollbar-button,
.no-scrollbar.black-scrollbar::-webkit-scrollbar-button {
    background-color: #000;
}
.custom-scrollbar.black-scrollbar::-webkit-scrollbar-thumb,
.thin-scrollbar.back-scrollbar::-webkit-scrollbar-thumb,
.no-scrollbar.back-scrollbar::-webkit-scrollbar-thumb {
    background-color: #111;
}

/* #ELLISPSIS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* LOADING BORDER 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

input.border-loading,
textarea.border-loading,
.card-content.border-loading {
    opacity: 0.7;
    animation: border-loading 1s ease-in-out infinite;
    border: 3px solid var(--twc-gray-400);
}

@keyframes border-loading {
    0% {
        border-color: var(--twc-gray-300);
    }
    25% {
        border-color: var(--twc-gray-500-f8);
    }
    50% {
        border-color: var(--twc-gray-300);
    }
    75% {
        border-color: var(--twc-gray-500-f8);
    }
    100% {
        border-color: var(--twc-gray-300);
    }
}

/* MASKS 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.mask-mask {
    background-color: rgba(0, 0, 0, 0.7);
}

.mask-error {
    background-image: linear-gradient(45deg, #8004, #8002, #8001);
    border-top: 2px solid;
    border-left: 2px solid;
    border-color: #f00a;
}

.mask-success {
    background-image: linear-gradient(45deg, #0803, #0802, #0801);
    border-top: 2px solid;
    border-left: 2px solid;
    border-color: #0f0A;
}

/* ANIMATIONS 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

/* H-WHEEZE */

.h-wheeze {
    animation: h-wheeze 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes h-wheeze {
    10%, 90% {
        transform: translate3d(-0.5px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(1px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-2px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(2px, 0, 0);
    }
}

/* V-WHEEZE */

.v-wheeze {
    animation: v-wheeze 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes v-wheeze {
    10%, 90% {
        transform: translate3d(0, -0.5px, 0);
    }

    20%, 80% {
        transform: translate3d(0, 1px, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(0, -2px, 0);
    }

    40%, 60% {
        transform: translate3d(0, 2px, 0);
    }
}

/* PULSE WHEEZE */

.pulse-wheeze {
    animation: pulse-wheeze 0.5s cubic-bezier(.36,.07,.19,.97) both;
    transform: scale(1);
}

@keyframes pulse-wheeze {
    20% {
        transform: scale(0.99);
    }

    40% {
        transform: scale(1.01);
    }

    60% {
        transform: scale(0.99);
    }

    80% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

/* LOADERS */

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* EXPANDABLE DESCR */

.produit-card.expanded {
    background-color: var(--main-blue);
}

.produit-card.expanded .descr {

}

.produit-card.expanded .full-descr {
    display: block;
    border-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 20;
}

.produit-card.expanded img {
    transform: scale(1.02);
}

/* SERVICES CARROUSEL */


/* CONTACT */

section#contact {
    overflow: hidden;
}

section#contact #bg-gradient {
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    position: absolute;
    background-image: linear-gradient(
        35deg,
        var(--second-blue-lighter),
        var(--second-blue-darker)
    );
    filter: blur(128px);
}

/* FORM */

form.form-soumis button[type="submit"] {
    animation: bouton_soumis 0.9s linear 0s infinite;
}

form.form-soumis .form-element {
    opacity: 0.35;
}

@keyframes bouton_soumis {
    0% {
        opacity: 0.85;
    }

    50% {
        opacity: 0.65;
    }

    100% {
        opacity: 0.85;
    }
}

.form-element {
    width: 100%;
    z-index: 10;
}

form button[type="submit"] {
    z-index: 10;
}

.form-element:has(input:required) > label[for]::after,
.form-element:has(select:required) > label[for]::after,
.form-element:has(textarea:required) > label[for]::after {
    content: "*";
    font-size: 16px;
    margin-left: 2px;
    color: rgba(255, 0, 0, 0.7);
}

.form-element label {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-blue);
    width: 100%;
    display: block;
    user-select: none;
    text-decoration: underline 2px solid var(--second-blue-lighter);
}

.form-element label.w-fit {
    width: fit-content;
}

.form-element input {

}

.form-element textarea {

}

.form-element select {

}

.form-element input,
.form-element textarea {
    caret-color: var(--second-blue);
}

.form-element input,
.form-element textarea,
.form-element select {
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 16px;
    border: 2px solid var(--main-blue-75);
    outline: none;
    border-radius: 5px;
    width: 100%;
}

.form-element input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.form-element input:focus,
.form-element textarea:focus,
.form-element select:focus {
    border: 2px solid var(--main-blue);
}

/* CARROUSEL */

#carrousel-service-elements {
    max-width: 100%;
    width: calc(100vw - 0px);
    height: calc(100vh - 256px);
    cursor: default;
}

@media (min-width: 768px) {
    #carrousel-service-elements {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    #carrousel-service-elements {
        
    }
}

.carrousel-services-textes {
    height: calc(100% - 4rem);
}
