/* - REPERES DEVELOPPEMENT */
body.logged-in:before {
    --nb-c: var(--wp--custom--columns);
    --p: var(--wp--preset--spacing--30);
    --g: var(--wp--preset--spacing--20);
    --c: calc((100% - (var(--nb-c) - 1) * var(--g)) / var(--nb-c));

    /* content: ''; */
    position: fixed;
    top: 0;
    left: var(--p);
    height: 100%;
    width: calc(100% - 2 * var(--p));
    background-image:
        repeating-linear-gradient(90deg,
            red 0 calc(var(--c)),
            transparent calc(var(--c)) calc(var(--c) + var(--g)));
    background-size: 100%;
    opacity: 10%;
    z-index: 9;
    pointer-events: none;
}

/* - GLOBAL - */
[data-wpr-lazyrender] {
    content-visibility: unset !important;
}

*:not(canvas) {
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

#wpadminbar * {
    position: unset;
    max-width: unset;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-padding-top: calc(var(--wp--custom--header--height, 0px) + var(--wp--preset--spacing--20, 20px)) !important;
    scroll-behavior: smooth !important;
}

figure {
    line-height: 0;
    margin: 0;
}

figure>img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

figure.has-custom-border img {
    border-style: solid;
}

a.wp-block-button__link {
    word-break: auto-phrase;
}

figure[class*='icon'],
div:has(> figure[class*='icon']:only-child) {
    min-width: fit-content;
    user-select: none;
}

figure[class*='icon']:has(a) {
    pointer-events: auto !important;
}

figure>a {
    width: 100%;
}

.wp-block-cover img {
    user-select: none;
}

a:not(.wp-element-button)[href^="tel:"],
a:not(.wp-element-button)[href^="mailto:"],
a:not(.wp-element-button)[href*="maps.app.goo.gl"],
a:not(.wp-element-button)[href*="facebook"],
a:not(.wp-element-button)[href*="linkedin"],
a:not(.wp-element-button)[href*="instagram"] {
    text-decoration: none;
    color: unset;
}

p a {
    color: unset;
}

a:not(.wp-element-button)[href^="tel:"]:hover,
a:not(.wp-element-button)[href^="mailto:"]:hover,
a:not(.wp-element-button)[href*="maps.app.goo.gl"]:hover,
a:not(.wp-element-button)[href*="facebook"]:hover,
a:not(.wp-element-button)[href*="linkedin"]:hover,
a:not(.wp-element-button)[href*="instagram"]:hover,
.logo:hover {
    opacity: .5;
}

.overflow-hidden {
    overflow: hidden;
}

p:not(.is-style-number):empty {
    display: none;
}

.wp-block-list {
    list-style: disc;
    padding-inline-start: 1em;
}

p strong {
    font-weight: 700;
}

summary {
    list-style-type: none !important;
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

hr {
    width: 100%;
}

.is-layout-flex:not(.is-vertical) svg {
    flex: none;
}

/* - HEADER - */
body:not(:has(.is-style-hero)) {
    padding-top: var(--wp--custom--header--height);
}

body.logged-in:has(#wpadminbar) header {
    margin-top: 32px;
}

header {
    position: fixed !important;
    width: 100%;
    top: 0;
    z-index: 9;
    transition: 300ms;
    color: var(--wp--preset--color--light);
}

header.scrolled,
.error404 header {
    background: var(--wp--preset--color--dark);
}

header>div:first-of-type {
    min-height: var(--wp--custom--header--height)
}

header a:has(svg) {
    color: unset;
    margin-left: var(--wp--preset--spacing--20) !important;
}

header svg {
    fill: currentColor;
}

header nav .responsive,
header .open-menu-button {
    display: none !important;
}

header nav .current-menu-item,
header nav li:has(a:hover) {
    color: var(--wp--preset--color--primary);
}

/* - BODY AND SPECIFIC - */
.wp-block-button__link.has-primary-background-color:hover {
    background-color: #E2B338 !important
}

div.has-background[style *="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"],
div.has-background[style *="padding-top: var(--wp--preset--spacing--30); padding-right: var(--wp--preset--spacing--30); padding-bottom: var(--wp--preset--spacing--30); padding-left: var(--wp--preset--spacing--30)"] {
    padding: 40px !important;
}

.min-width-50-pc{
	min-width: 50%;
}

/* - FOOTER - */
footer a svg {
    fill: currentColor;
}

/* - WP FORMS - */

.wpforms-container * {
    font-family: var(--wp--preset--font-family--secondary) !important;
    font-weight: 400 !important;
}

.wpforms-container {
    padding: unset !important;
    margin: unset !important;
}

.wpforms-field {
    padding-top: unset !important;
    padding-bottom: 20px !important;
}

.wpforms-field-label {
    font-weight: 400 !important;
}

.wpforms-required-label {
    display: none;
    color: unset !important;
}

.wpforms-field-checkbox li {
    align-items: center !important;
}

.wpforms-submit {
    height: unset !important;
    font-family: var(--wp--preset--font-family--primary) !important;
    font-size: var(--wp--preset--font-size--button, inherit) !important;
    font-weight: 500 !important;
    line-height: 1.5em !important;
    padding: 12px 24px !important;
    text-transform: uppercase !important;
}

.wpforms-submit:hover {
    background: var(--wp--preset--color--accent-hover) !important;
    border-color: currentColor !important;
    opacity: 1 !important;
}

.wpforms-uploader {
    padding: 10px 16px !important;
    border-style: solid !important;
}

.wpforms-uploader,
.dz-message {
    align-items: flex-start !important;
    gap: 5px;
}

.iti__dropdown-content {
    max-width: unset !important;
}

.iti__dropdown-content * {
    color: var(--wp--preset--color--dark, black) !important;
}

.dz-message svg {
    display: none;
}

.dz-message .modern-title {
    color: currentColor !important;
}

.dz-message .modern-title,
.dz-message .modern-hint {
    text-align: left;
}

.ui-timepicker-wrapper * {
    color: black !important;
}

.flatpickr-monthDropdown-months {
    text-transform: capitalize;
}

/* - MENTIONS LEGALES - */
.netdev-mentions-legales h2 {
    margin-top: var(--wp--preset--spacing--20);
    margin-bottom: var(--wp--preset--spacing--20);
}

.netdev-mentions-legales a {
    color: var(--wp--preset--color--accent) !important;
    text-decoration: underline;
}

.netdev-mentions-legales a:hover {
    opacity: 0.5;
}

/* - SWIPER - */
.swiper-slide {
    height: unset;
}

.swiper.pictures img {
    max-height: calc(100svh - var(--wp--custom--header--height)) !important;
}

:is(.swiper.page-services-home, .swiper.page-services-alt) .swiper-slide {
    width: 365px;
}

.swiper .single-service,
.swiper .single-service .detail {
    display: flex;
    flex-direction: column;
}

.swiper .single-service {
    min-height: 100%;
    text-decoration: none;
    color: unset;
}

.swiper .single-service figure:after {
    content: 'En savoir plus';
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--callout-2);
    font-weight: 500;
    line-height: 1.25em;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    align-content: center;
    text-align: center;
    padding: var(--wp--preset--spacing--20);
    color: var(--wp--preset--color--light);
    background: #14131366;
    box-sizing: border-box;
    opacity: 0;
    transition: 300ms;
}

.swiper .single-service:hover figure:after {
    opacity: 1;
}

.swiper .single-service img {
    aspect-ratio: 1;
    object-fit: cover;
    height: unset;
}

.swiper .single-service .detail {
    padding: var(--wp--preset--spacing--30);
    gap: var(--wp--preset--spacing--20);
    border: solid 1px var(--wp--preset--color--dark);
    flex: auto;
    transition: 300ms;
}

.swiper .single-service:hover .detail {
    background: var(--wp--preset--color--primary);
    border-color: transparent;
}

.swiper.page-services-alt .detail {
    justify-content: center;
}

:is(.swiper.page-services-home, .swiper.page-services-alt) [class*='swiper-button-'] {
    top: unset;
    bottom: 0;
    background: var(--wp--preset--color--accent);
    fill: var(--wp--preset--color--light);
    right: unset;
}

:is(.swiper.page-services-home, .swiper.page-services-alt) [class*='swiper-button-']:hover {
    background: var(--wp--preset--color--accent-hover);
}

:is(.swiper.page-services-home, .swiper.page-services-alt) .swiper-button-prev {
    left: 0;
}

:is(.swiper.page-services-home, .swiper.page-services-alt) .swiper-button-next {
    left: calc(var(--swiper-navigation-size) + var(--wp--preset--spacing--20));
}

.swiper.pictures-duo img {
    aspect-ratio: 269/282 !important;
}

.swiper.pictures-line-left {
    width: 650px;
    margin-left: 70px;
    padding-block: 70px;
    padding-right: 70px;
    border-left: solid 1px var(--wp--preset--color--dark);
}

.swiper.pictures-line-left {
    --progress: 1;
                   
	object-fit: cover;
	clip-path: polygon(
		0 0,
		calc(100% * var(--progress)) 0,
		calc(100% * var(--progress)) 100%,
		0 100%
	);
}

.swiper.pictures-line-left img {
    aspect-ratio: 514/478 !important;
}

.swiper.pictures-square img {
    aspect-ratio: 1 !important;
}

.swiper.pictures-stairs {
    --step-height: min(260px, calc((100svh - var(--wp--custom--header--height))) / 3);

    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 2 * var(--step-height)),
            calc(100% - var(--step-height)) calc(100% - 2 * var(--step-height)),
            calc(100% - var(--step-height)) calc(100% - var(--step-height)),
            calc(100% - var(--step-height) * 2) calc(100% - var(--step-height)),
            calc(100% - var(--step-height) * 2) 100%,
            0 100%);
}

.swiper.pictures-stairs img {
    aspect-ratio: 867/794 !important;
}

.swiper.pictures-line-above {
    --progress: 1;

    padding-inline: 70px;
    border-top: solid 1px var(--wp--preset--color--dark);
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% * var(--progress)),
            0 calc(100% * var(--progress)));
}

.swiper.pictures-line-below {
    --progress: 1;

    border-bottom: solid 1px var(--wp--preset--color--dark);
    padding-inline: 70px;
    flex-basis: 650px;

    clip-path: polygon(0 calc(100% - 100% * var(--progress)),
            100% calc(100% - 100% * var(--progress)),
            100% 100%,
            0 100%);
}

.swiper.pictures-line-below img {
    aspect-ratio: 514/478 !important;
    object-fit: cover;
}

/* - POPUPS - */
.popup,
.form-popup {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    align-content: center;
    z-index: 9;
}

.popup:not(.open),
.form-popup:not(.open) {
    display: none;
}

/* - RESPONSIVE - */
@media screen and (max-width: 1511px) {

    /* BIGGER TABLET > GLOBAL */
    :root {
        --wp--custom--columns: 8;
        --wp--preset--spacing--90: var(--wp--preset--spacing--30);
    }

    .swiper.pictures-line-below {
        flex-basis: 620px;
    }
}

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

    /* TABLET > GLOBAL */
    :root {}

    .tablet-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .tablet-column.reverse {
        flex-direction: column-reverse !important;
    }

    .tablet-column>* {
        flex-basis: unset !important;
    }

    .tablet-unset-max-width,
    .tablet-unset-max-width>*,
    .tablet-unset-max-width .wp-block-cover__inner-container>div {
        max-width: unset !important;
        flex-basis: unset !important;
        width: 100% !important;
    }

    .tablet-unset-padding-inline {
        padding-right: unset !important;
        padding-left: unset !important;
    }

    .tablet-unset-gap {
        gap: unset !important;
    }

    .tablet-text-align-center,
    .tablet-text-align-center * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .tablet-2-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .tablet-unset-grid-column {
        grid-column: span 1;
    }

    .tablet-unset-grid-row {
        grid-row: span 1;
    }

    .tablet-reset-padding-left {
        padding-left: var(--wp--preset--spacing--90);
    }

    /* TABLET > HEADER */
    html:has(.menu-burger.open) {
        overflow: hidden;
    }

    header:has(.menu-burger.open),
    header nav.menu-burger {
        background-color: var(--wp--preset--color--accent);
    }

    header nav.menu-burger:not(.open) {
        --progress: 0;
    }

    header nav.menu-burger {
        --progress: 1;

        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        height: calc(100dvh - var(--wp--custom--header--height));
        width: 100%;
        font-size: 28px !important;
        line-height: 1.2em !important;
        overflow-y: auto;
        display: flex;
        align-items: flex-start;
        transition: clip-path 1s;
        transition-timing-function: ease-in-out;
        clip-path: polygon(
                /*1*/
                0% 0%,
                /* 2 */
                100% 0%,
                /* 3 */
                100% calc(400% * var(--progress)),
                /* 4 */
                67% calc(400% * var(--progress)),
                /* 5 */
                67% calc(200% * var(--progress)),
                /* 6 */
                33% calc(200% * var(--progress)),
                /* 7 */
                33% calc(100% * var(--progress)),
                /* 8 */
                0% calc(100% * var(--progress)));
    }

    header ul.menu-burger {
        min-height: 100%;
        flex-direction: column;
        padding: var(--wp--preset--spacing--30);
    }

    header .open-menu-button {
        display: flex !important;
    }

    /* TABLET > BODY AND SPECIFIC */

    .tablet-column .swiper.pictures-line-left {
        width: 810px !important;
        margin-inline: auto !important;
        padding-right: unset !important;
    }

    .swiper.pictures-stairs {
        --step-height: min(150px, 33%);
    }

    .tablet-column .swiper.pictures-line-below {
        width: 950px !important;
        margin-inline: auto !important;
    }

    /* TABLET > FOOTER */

    /* TABLET > SWIPER */

}

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

    /* SMALLER TABLET > GLOBAL */
    :root {
        --wp--preset--font-size--h-1: 48px;
        --wp--preset--font-size--h-2: 36px;
        --wp--preset--font-size--h-3: 28px;
        --wp--preset--font-size--callout-2: 24px;
    }

    .has-background[style *="padding-top:var(--wp--preset--spacing--60)"],
    .has-background[style *="padding-top: var(--wp--preset--spacing--60)"],
    .smaller-tablet-bigger-padding-vertical,
    .smaller-tablet-bigger-padding-top {
        padding-top: 40px !important;
    }

    div[style *="margin-top:var(--wp--preset--spacing--60)"],
    div[style *="margin-top: var(--wp--preset--spacing--60)"] {
        margin-top: 40px !important;
    }

    .has-background[style *="padding-bottom:var(--wp--preset--spacing--60)"],
    .has-background[style *="padding-bottom: var(--wp--preset--spacing--60)"],
    .smaller-tablet-bigger-padding-vertical,
    .smaller-tablet-bigger-padding-bottom {
        padding-bottom: 40px !important;
    }

    div[style *="margin-bottom:var(--wp--preset--spacing--60)"],
    div[style *="margin-bottom: var(--wp--preset--spacing--60)"] {
        margin-bottom: 40px !important;
    }

    /* SMALLER TABLET > HEADER */

    /* SMALLER TABLET > BODY AND SPECIFIC */

    .smaller-tablet-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .smaller-tablet-column.reverse {
        flex-direction: column-reverse !important;
    }

    .smaller-tablet-column>* {
        flex-basis: unset !important;
    }

    .smaller-tablet-unset-max-width,
    .smaller-tablet-unset-max-width>*,
    .smaller-tablet-unset-max-width .wp-block-cover__inner-container>div {
        max-width: unset !important;
        flex-basis: unset !important;
        width: 100% !important;
    }

    .smaller-tablet-unset-padding-right,
    .smaller-tablet-unset-padding-inline {
        padding-right: unset !important;
    }

    .smaller-tablet-unset-padding-left,
    .smaller-tablet-unset-padding-inline {
        padding-left: unset !important;
    }

    .smaller-tablet-unset-padding-vertical {
        padding-top: unset !important;
        padding-bottom: unset !important;
    }

    .smaller-tablet-reset-padding-vertical {
        padding-top: var(--wp--preset--spacing--20) !important;
        padding-bottom: var(--wp--preset--spacing--20) !important;
    }

    .smaller-tablet-reset-gap {
        gap: var(--wp--preset--spacing--20) !important;
    }

    .smaller-tablet-reset-padding-inline {
        padding-left: var(--wp--preset--spacing--60) !important;
        padding-right: var(--wp--preset--spacing--60) !important;
    }

    .smaller-tablet-hide {
        display: none !important;
    }

    .smaller-tablet-full-width {
        width: 100% !important;
        max-width: unset !important;
    }

    .smaller-tablet-text-align-center,
    .smaller-tablet-text-align-center * {
        text-align: center !important;
    }

    .smaller-tablet-bigger-gap {
        gap: var(--wp--preset--spacing--60) !important;
    }

    .smaller-tablet-bigger-padding-vertical {
        padding-top: var(--wp--preset--spacing--70) !important;
        padding-bottom: var(--wp--preset--spacing--70) !important;
    }

    .wpgmza_map {
        max-height: 300px !important;
    }

    /* SMALLER TABLET > SWIPER */

    /* SMALLER TABLET > FOOTER */

}

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

    /* BIGGER MOBILE > GLOBAL */
    :root {
        --wp--custom--columns: 4;
        --wp--preset--spacing--30: 20px;
    }

    .bigger-mobile-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .bigger-mobile-column.reverse {
        flex-direction: column-reverse !important;
    }

    .bigger-mobile-column>* {
        flex-basis: unset !important;
    }

    .bigger-mobile-reset-padding-inline {
        padding-inline: var(--wp--preset--spacing--30) !important;
    }

    /* BIGGER MOBILE > HEADER */

    /* BIGGER MOBILE > BODY AND SPECIFIC */
    .bigger-mobile-column.align-items-left {
        align-items: flex-start !important;
    }

    .bigger-mobile-column :is(div[style*='min-height:740px'], div[style*='min-height: 740px']) {
        min-height: unset !important;
    }

    /* BIGGER MOBILE > SWIPER */

    /* BIGGER MOBILE > FOOTER */
}

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

    /* MOBILE > GLOBAL */
    :root {
        --wp--preset--font-size--h-1: 36px;
        --wp--preset--font-size--h-2: 28px;
        --wp--preset--font-size--h-3: 24px;
    }

    .mobile-column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .mobile-column.reverse {
        flex-direction: column-reverse !important;
    }

    .mobile-column>* {
        flex-basis: unset !important;
    }

    .mobile-column.align-center {
        align-items: center !important;
    }

    /* MOBILE > HEADER */
    header .wp-block-buttons .wp-block-button:not(.open-menu-button) {
        display: none !important;
    }

    header nav .responsive {
        display: flex !important;
    }

    /* MOBILE > BODY AND SPECIFIC */
    .smaller-tablet-bigger-gap {
        gap: 60px !important;
    }

    .swiper.pictures-line-above {
        padding-inline: 35px;
        border-top: solid 1px var(--wp--preset--color--dark);
    }

    .swiper.pictures-line-below {
        padding-inline: 35px;
    }

    /* MOBILE > SWIPER */

    /* MOBILE > FOOTER */
}

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

    /* SMALLER MOBILE > GLOBAL */
    :root {}

    /* SMALLER MOBILE > HEADER */

    /* SMALLER MOBILE > BODY AND SPECIFIC */

    /* SMALLER MOBILE > SWIPER */

    /* SMALLER MOBILE > FOOTER */
}