html,
body {
    font-family: var(--font-base);
    font-size: var(--base);
    background-color: #fff;
    color: var(--color-primary);
    line-height: 1.6;
}

.title {
    font-size: var(--title);
    font-family: var(--font-title);
    font-weight: 300;
    line-height: 1.25;
    color: var(--color-primary);
}

.subtitle {
    font-size: var(--subtitle);
    line-height: 1.4;
    color: var(--color-secondary);
}

.btn__content {
    text-align: center;
}

.btn {
    letter-spacing: 1.6px;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--color-primary);
    text-underline-offset: 5px;
}

p,
li,
ul,
ol {
    font-family: var(--font-base);
}

.edit p {
    margin-bottom: .6rem;
}

.edit a {
    text-decoration: underline;
}

.produit__message-icon svg path,
.produit__message-icon svg rect {
    fill: transparent;
}

/* STRUCTURE */
.row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.row--cut {
    max-width: calc(1250px + 4rem);
    padding: 0 2rem;
}

/* Variantes de couleur */
.btn.bg--primary {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, #3aa8b8 100%);
    color: var(--color-light);
}

.btn.bg--primary:hover {
    background: linear-gradient(135deg, #3aa8b8 0%, var(--color-primary) 100%);
    color: var(--color-light);
    border-color: #3aa8b8;
}

.btn.bg--secondary {
    border-color: var(--color-secondary);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #e68a00 100%);
    color: var(--color-light);
}

.btn.bg--secondary:hover {
    background: linear-gradient(135deg, #e68a00 0%, var(--color-secondary) 100%);
    color: var(--color-light);
    border-color: #e68a00;
}

.btn.bg--light {
    border-color: var(--color-light);
    background: linear-gradient(135deg, var(--color-light) 0%, #f8f9fa 100%);

}

.btn.bg--light:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, var(--color-light) 100%);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Animation spéciale pour les boutons avec effet de pression */
.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

.link {
    text-decoration: underline;
    color: var(--color-dark);
}

.number {
    font-size: var(--title-nb);
    color: var(--color-secondary);
}




.flex-start {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-s);
}

/* COLORS */
.primary {
    color: var(--color-primary);
}

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

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

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

.bg--primary {
    background-color: var(--color-primary);
}

.bg--secondary {
    background-color: var(--color-secondary);
}

.bg--light {
    background-color: var(--color-light);
}

.bg--dark {
    background-color: var(--color-dark);
}

.bg--section {
    background-color: #EBEBEB;
}

/* GF AJAX SPINNER */
body img.gform_ajax_spinner {
    width: initial;
}

/* GF CHECKBOX */
.gfield_consent_label {
    cursor: pointer;
    position: relative;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"],
.ginput_container_consent input[type="checkbox"] {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.ginput_container_checkbox label::before,
.gfield_consent_label::before {
    background-color: var(--color-light);
    content: "";
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 8px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
    border: 0.5px solid #2768AD33;
}

.ginput_container_checkbox label::before,
.ginput_container_checkbox label::before {
    display: none;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"]:checked+label::after,
.ginput_container_consent input[type="checkbox"]:checked+.gfield_consent_label::after {
    color: var(--color-secondary);
    content: "\2713";
    display: block;
    position: absolute;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-secondary);
    left: 1px;
    width: 16px;
    height: 17px;
}

.gform_legacy_markup_wrapper .gfield_checkbox li input[type="checkbox"]:checked+label::after {
    top: -3px;
}

.ginput_container_consent input[type="checkbox"]:checked+.gfield_consent_label::after {
    top: 0px;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal--left {
    transform: translate3d(-48px, 0, 0);
}

.reveal.reveal--right {
    transform: translate3d(48px, 0, 0);
}

.reveal.reveal--left.is-visible,
.reveal.reveal--right.is-visible {
    transform: translate3d(0, 0, 0);
}

.reveal--btn {
    opacity: 0;
    transition: opacity 0.7s ease-out;
    transition-delay: .8s;
}

.reveal--btn.is-visible {
    opacity: 1;
}

.reveal-stagger>.reveal {
    transition-delay: calc(var(--reveal-i, 0) * 0.12s);
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal--btn {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reveal-stagger>.reveal {
        transition-delay: 0s;
    }
}

/* PROGRESS BAR */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.progress-bar-fill {
    height: 100%;
    width: 100%;
    /* background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(90deg, #45bdcf 0%, #2a8ba3 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s ease-out;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    background: var(--color-secondary);
    color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 8;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, var(--color-light) 0%, #f8f9fa 100%);
    color: var(--color-secondary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover svg path {
    fill: currentColor;
}

/* LENIS */
html.lenis,
html.lenis body {
    height: auto
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
    overflow: clip
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain
}

.lenis.lenis-smooth iframe {
    pointer-events: none
}

.lenis.lenis-autoToggle {
    transition-property: overflow;
    transition-duration: 1ms;
    transition-behavior: allow-discrete
}


/******************************
  ******** MEDIA QUERIES ********
  ******************************/
@media screen and (min-width: 480px) {}

@media screen and (min-width: 600px) {}

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

@media screen and (min-width: 768px) {
    .back-to-top {
        right: 2rem;
    }
}

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

@media screen and (min-width: 992px) {}

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

@media screen and (min-width: 1024px) {}

@media screen and (min-width: 1280px) {}

/***************************************************************/
/***************************************************************/
/********************** ERROR 404 ******************************/
/***************************************************************/
/***************************************************************/
.error-404 {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: #fff;
    color: #000;
}

.error-404__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    max-width: 42rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.error-404__number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-main);
}

.error-404__digit {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #000;
    line-height: 1;
    letter-spacing: -0.04em;
}

.error-404__title {
    font-size: var(--title-xl);
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

.error-404__text {
    font-size: var(--base);
    color: #000;
    line-height: 1.65;
    text-align: left;
}

.error-404__text p:last-child {
    margin-bottom: 0;
}

.error-404__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.error-404__actions .btn {
    border-color: #000;
    background: #fff;
    color: #000;
    box-shadow: none;
}

.error-404__actions .btn.dark {
    background: #000;
    color: #fff;
}

.error-404__actions .btn:hover,
.error-404__actions .btn:focus-visible {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: none;
}

.error-404__actions .btn.dark:hover,
.error-404__actions .btn.dark:focus-visible {
    background: #fff;
    color: #000;
}

.error-404__navigation {
    position: fixed;
    left: 1rem;
    top: 25%;
    z-index: 5;
    width: min(12rem, calc(100vw - 2rem));
    padding: 0.75rem 1rem;
    text-align: left;
    background: #fff;
    border: 2px solid #000;
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 #000;
}

.error-404__subtitle {
    font-size: var(--title-m);
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0 0 0.75rem;
}

.error-404__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

.error-404__item {
    margin: 0;
}

.error-404__link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: calc(var(--radius) - 2px);
    color: #000;
    text-decoration: none;
    background: #fff;
    border: 1px solid #000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.error-404__link:hover,
.error-404__link:focus-visible {
    background: #000;
    color: #fff;
}

.error-404__support {
    align-self: center;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 2px solid #000;
    background: #000;
    color: #fff;
}

.error-404__support-text {
    font-size: var(--base);
    margin: 0;
}

.error-404__support-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.error-404__support-link:hover,
.error-404__support-link:focus-visible {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .error-404 {
        padding: 2rem 0 2.5rem;
        min-height: auto;
        justify-content: flex-start;
    }

    .error-404__title {
        font-size: var(--title-l);
    }

    .error-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404__actions .btn {
        width: 100%;
        text-align: center;
    }

    .error-404__navigation {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 42rem;
        margin: 1.5rem auto 0;
        padding: 1rem 1.25rem;
        box-shadow: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .error-404__navigation {
        left: 0.75rem;
        width: min(14rem, calc(100vw - 1.5rem));
    }
}