:root {
    --color_blanc: rgb(255, 255, 255);
    --color_noir: rgb(1, 1, 1);
    --color_jaune: #D52D2E;
    --color_jaune-hover: #DF5E47;
    --color_bleu: #214583;
    --color_bleu-hover: #c7d0e0;
    --color_gris_fonce: #222222;
    --gradient_rouge: linear-gradient(180deg, #DF5E47 0%, #D52D2E 100%);
    --gradient_rouge_reverse: linear-gradient(180deg, #D52D2E 0%, #DF5E47 100%);
    --filter_jaune: brightness(0) saturate(100%) invert(83%) sepia(65%) saturate(2083%) hue-rotate(338deg) brightness(101%) contrast(100%);
    --filter_noir: brightness(0) saturate(100%);
    --font_principal: 'Sulphur Point', sans-serif;
    --padding_L: 5.3vw;
    --padding_LR: 9.3vw;
    --padding_LR-services: 5vw;
    --header_height: 80vh;
    --navbar_height: 80px;
    --width_services: 192px;
    --swiper-theme-color: var(--gradient_rouge) !important;
    --swiper-pagination-bullet-inactive-color: var(--color_bleu) !important;
    --swiper-pagination-bullet-width: 13px;
    --swiper-pagination-bullet-height: 13px;
    --swiper-pagination-bullet-horizontal-gap: 12px;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Sulphur Point', sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

body.page-404 {
    background-image: url("/themes/jvflex/assets/images/404.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

body.page-404 main {
    display: flex;
    justify-content: space-around;
}

body.page-404 main .content-404 {
    flex-shrink: 0;
}

body.page-404 main .text-404 {
    font-size: 2.75rem;
    margin: 0.5rem 0;
}

body.page-404 main .img-404 {
    width: 25%;
}

body.page-404 main .img-404 img {
    width: 100%;
    height: 100%;
}

* {
    box-sizing: border-box;
}

.jvflex {
    position: fixed;
    z-index: 9999;
    top: 70px;
    left: 16px;
}

.jvflex>a {
    border-radius: 24px;
    cursor: pointer;
    display: block;
    height: 48px;
    line-height: 48px;
    opacity: .9;
    position: absolute;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-size: 24px;
    font-weight: 400;
    font-variant: normal;
    speak: none;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 48px;
    background: url("/themes/jvflex/assets/images/theme-preview.png"), #f8f6f5;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 30%);
}

img {
    display: block;
    max-width: 100%;
}

.img_fit {
    object-fit: cover;
    object-position: center;
}

h1 {
    margin: 0;
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
}

p {
    font-size: 1.15rem;
}

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

.showmore a {
    text-decoration: none;
    color: var(--color_bleu);
    text-transform: uppercase;
    border-bottom: 1.6875px solid var(--color_bleu);
    padding: 10px 13px;
    display: flex;
    font-weight: 700;
    gap: 10px;
    transition: letter-spacing 0.35s;
}

.showmore a:hover {
    letter-spacing: 0.2rem;
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}

header.home {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #275c91;
    height: var(--header_height);
}

header #header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar_height);
    background-color: unset;
    transition: background-color 0.35s;
    padding: 0.5rem 2rem;
}

header.home #header-top:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

header.home #header-top:hover .logo img,
header.default #header-top .logo img,
footer .logo img {
    filter: var(--filter_noir);
}

header.home #header-top:hover .phone img,
header.default #header-top .phone img {
    filter: var(--filter_noir);
}

header #header-top #navbar {
    justify-self: center;
}

header #header-top #navbar ul {
    display: flex;
    padding: 0;
    list-style: none;
    gap: 1rem;
}

header #header-top #navbar ul a.nav-link,
header #header-top .phone {
    color: var(--color_blanc);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.25s;
}

header.default #header-top #navbar ul a.nav-link,
header #header-top:hover #navbar ul a.nav-link,
header.home #header-top:hover .phone,
header.default #header-top .phone {
    color: var(--color_noir);
}

header #header-top #navbar ul a.nav-link img {
    display: none;
}

header #header-top #navbar ul a.nav-link:hover,
header #header-top .phone:hover,
header.home #header-top:hover .phone:hover,
footer .footer-navigation ul a.nav-link:hover,
footer .footer-links a:hover {
    color: var(--color_jaune);
}

header #header-top:hover #navbar ul a.nav-link.active {
    color: var(--color_jaune);
}

header #header-top .phone {
    display: flex;
    gap: 0.5rem;
    text-decoration: none;
}

header#layout-header>#header-top>#burger-menu {
    display: none;
}

header #header-bottom {
    height: calc(100% - var(--navbar_height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color_blanc);
    padding: 0.5rem var(--padding_LR);
    max-width: calc(465px + 2 * var(--padding_LR))
}

header #header-bottom .paragraph {
    margin: 0.5rem 0;
    font-style: normal;
    font-weight: 300;
    font-size: 1.5rem;
}

.btn-container {
    display: flex;
    margin: 0;
}

.btn-container.button>a,
.btn {
    appearance: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 0.625rem 1.875rem;
    background: var(--gradient_rouge);
    text-decoration: none;
    color: var(--color_blanc);
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
}

.btn-container.button>a:hover,
.btn:hover {
    background: var(--gradient_rouge_reverse);
}

main {
    padding: 0 var(--padding_LR);
    margin: 0 auto;
}

body.page-404 main {
    margin: 0;
    color: var(--color_jaune);
    padding: 100px var(--padding_LR);
}

.titre {
    padding: 4.25rem 1rem;
    margin: 0 calc(-1 * var(--padding_LR));
    display: flex;
    justify-content: center;
}

.titre h2,
.titre h1 {
    margin: 0;
    color: var(--color_blanc);
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 2.8125rem;
    line-height: 1;
    display: flex;
    padding: 0 30px 20px;
    border-bottom: 4px solid var(--color_jaune);
}

section.full {
    margin: 0 calc(-1 * var(--padding_LR));
    padding: 0 var(--padding_LR);
}

section#entreprise {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section#entreprise #qui-sommes-nous,
#contact form {
    margin: 95px auto;
}

section#entreprise #qui-sommes-nous .enterprise-name {
    font-style: normal;
    font-weight: 700;
    font-size: 3rem;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.subtitle {
    color: var(--color_jaune);
    font-style: normal;
    font-weight: 300;
    font-size: 2.25rem;
    margin: 0;
    text-align: center;
}

section#entreprise .paragraph {
    font-style: normal;
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
}

section#services {
    padding: 0 var(--padding_LR-services);
}

section#services .titre {
    margin: 0 calc(-1 * var(--padding_LR-services));
}

section#services .services_list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin: 85px auto;
    position: relative;
    max-width: 1650px;
}

section#services .services_list .background {
    height: calc(100% - 90px);
    background-color: var(--color_bleu-hover);
    width: 9px;
    position: absolute;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
}

section#services .services_list .service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 86px;
    justify-items: center;
    align-items: center;
    text-decoration: none;
}

section#services .services_list .service:nth-child(2n) {
    direction: rtl;
}

section#services .services_list .service .image {
    justify-self: flex-start;
}

section#services .services_list .service .detail {
    background-color: var(--color_gris_fonce);
    padding: 1.625rem 2.75rem 1.625rem calc((2.75rem + var(--width_services))/2);
    position: relative;
    text-align: right;
    max-width: 505px;
    justify-self: flex-end;
}

section#services .services_list .service:nth-child(2n) .detail {
    padding: 1.625rem calc((2.75rem + var(--width_services))/2) 1.625rem 2.75rem;
    text-align: left;
}

section#services .services_list .service .detail h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 2.91rem;
    margin: 2rem 0;
    color: var(--color_jaune);
    line-height: 1;
}

section#services .services_list .service .detail p {
    font-style: normal;
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--color_blanc);
    direction: ltr;
}

section#services .services_list .service .detail .square {
    border-radius: 1px;
    border: 2px solid var(--color_jaune);
    position: absolute;
    left: calc((-1 * var(--width_services))/2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: var(--width_services);
    height: var(--width_services);
}

section#services .services_list .service:nth-child(2n) .detail .square {
    left: unset;
    right: calc((-1 * var(--width_services))/2);
}

section#services .services_list .service .large-square {
    width: 64px;
    height: 64px;
   background-color: var(--color_bleu-hover);
    position: absolute;
    display: block;
    z-index: 0;
}

section#services .services_list .service .medium-square {
    width: 32px;
    height: 32px;
    background-color: var(--color_bleu);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section#realisations .swiperRealisations {
    margin: 50px auto 15px;
    max-width: 1300px;
}

section#realisations .swiperRealisations .swiper-wrapper {
    align-items: center;
}

section#realisations .swiperRealisations .swiper-slide {
    display: flex;
    background-color: var(--color_gris_fonce);
    color: var(--color_blanc);
    padding: 4vw;
}

section#realisations .swiperRealisations .swiper-slide .realisation_img,
section#realisations .swiperRealisations .swiper-slide .realisation_img img {
    width: 100%;
}

section#realisations .swiperRealisations .swiper-slide .realisation_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 25px 0 25px 25px;
}

section#realisations .swiperRealisations .swiper-slide .realisation_content h3 {
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 2.5rem;
}

section#realisations .swiperRealisations .swiper-slide .realisation_content .realisation_city {
    display: flex;
    align-items: center;
    gap: 4px;
}

section#realisations .swiperRealisations .swiper-slide .realisation_content .realisation_city p {
    line-height: 1;
    margin: 0;
}

section#realisations .swiper-pagination {
    margin: 40px 0;
    position: unset;
    display: block;
}

footer {
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color_noir);
    display: flex;
    justify-content: space-between;
    padding: 5vh var(--padding_LR);
}

footer a,
footer p,
footer address {
    color: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
}

footer a {
    text-decoration: none;
}

footer p {
    margin: 0;
}

footer .title {
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    color: inherit;
    margin-bottom: 0.5rem;
    line-height: 1;
}

footer .footer-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 0;
}

footer .footer-address img {
    width: 12px;
    height: 100%;
}

footer .footer-phone {
    display: flex;
    gap: 5px;
}

footer .footer-phone img {
    filter: var(--filter_noir);
    width: 16px;
    height: 100%;
}

footer .footer-navigation ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0.5rem 0;
}

#contact p.intro,
#contact form {
    max-width: 650px;
    width: 100%;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#contact .form-block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#contact .form-identity {
    display: flex;
    gap: 1rem;
}
#contact .form-block input,
#contact .form-block textarea {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    resize: none;
    border-radius: 0;
    font-family: var(--font_principal);
    font-size: 1rem;
    padding: 5px 10px;
    border: 1.5px solid var(--color_jaune);
    background-color: var(--color_bleu-hover);
}

#contact .form-block input:focus-visible,
#contact .form-block textarea:focus-visible {
    outline-style: solid;
    border-color: var(--color_bleu);
    caret-color: var(--color_bleu);
}

#contact .form-block label {
    font-size: 1.15rem;
    padding-bottom: 5px;
    font-weight: 500;
    color: var(--color_gris_fonce);
    text-transform: uppercase;
}

#contact .form-submit {
    margin: 0 auto;
}

#contact .form-submit input {
    font-family: var(--font_principal);
}

.page-services section#nos-services {
    background-color: var(--color_gris_fonce);
    color: var(--color_blanc);
}

.page-services section#nos-services .title-service {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-services section#nos-services .title-service h2 {
    color: var(--color_jaune);
    margin: 2rem 0;
    font-style: normal;
    font-weight: 700;
    font-size: 2.8125rem;
    line-height: 1;
}

.page-services section#nos-services .services_list {
    padding: 6.25rem 0;
}

.page-services section#nos-services .description p {
    margin-top: 0;
}

.page-services section#nos-services .caroussel {
    margin: 3.6875rem 0;
}

.page-services section#nos-services .caroussel .swiper-pagination {
    margin-top: 15px;
    position: unset;
}

.page-services section#nos-services .caroussel .swiper-slide {
    width: unset;
}

@media all and (max-width:1430px) {
    :root {
        --padding_LR: 5.3vw;
        --padding_LR-services: 1vw;
        --width_services: 150px;
    }

    section#services .services_list .service .detail .square {
        top: 0%;
    }
}

@media all and (max-width: 1025px) {

    header #header-top #navbar,
    header #header-top .phone {
        display: none;
    }

    header#layout-header>#header-top>#burger-menu {
        display: block;
        justify-self: flex-end;
        width: 2.25rem;
        height: 2.5rem;
        cursor: pointer;
        position: relative;
        appearance: none;
        border: none;
        background: none;
        box-sizing: border-box;
        padding: 0;
        flex-shrink: 0;
    }

    header#layout-header>#header-top>#burger-menu span {
        width: 100%;
        height: 5px;
        background-color: var(--color_noir);
        display: block;
        transition: background-color 0.5s ease-in-out;
        margin: 0 0 0 auto;
    }

    header#layout-header>#header-top>#burger-menu span:nth-child(1) {
        transform: translateY(-10px);
    }

    header#layout-header>#header-top>#burger-menu span:nth-child(2) {
        width: 65%;
    }

    header#layout-header>#header-top>#burger-menu span:nth-child(3) {
        transform: translateY(10px);
        width: 35%;
    }

    header#layout-header>#header-top>#burger-menu.active span:nth-child(2) {
        width: 100%;
    }

    header#layout-header>#header-top>#burger-menu.active span:nth-child(1),
    header#layout-header>#header-top>#burger-menu.active span:nth-child(3) {
        display: none;
    }

    header#layout-header>#header-top>nav>ul>li.nav-item>a.nav-link,
    header#layout-header>#header-top>nav>ul>li.nav-item>a.nav-link.active {
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 1.5rem;
        text-align: left;
        color: var(--color_noir);
    }

    header #header-top #navbar ul a.nav-link img {
        display: block;
    }

    header#layout-header>#header-top>#burger-menu.active~nav {
        position: absolute;
        display: flex;
        top: var(--navbar_height);
        flex-direction: column;
        width: 100%;
         background: var(--gradient_rouge);
        left: 0;
        padding: var(--padding_LR) calc(var(--padding_LR) + 1rem);
        box-sizing: border-box;
        z-index: 999;
    }

    header#layout-header>#header-top>#burger-menu.active~nav>ul {
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }
}

@media all and (max-width:915px) {
    :root {
        --padding_LR-services: 1vw;
        --width_services: 192px;
        --gap_services_list: 164px;
    }

    section#services .services_list {
        gap: var(--gap_services_list);
    }

    section#services .services_list .service {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
    }

    section#services .services_list .service .image,
    section#services .services_list .service .detail {
        justify-self: unset;
        max-width: 546px;
    }

    section#services .services_list .service .detail,
    section#services .services_list .service:nth-child(2n) .detail {
        padding: 1.625rem 2.75rem calc(1.625rem + var(--width_services)/2);
        text-align: center;
        margin-bottom: calc(var(--width_services)/2);
    }

    section#services .services_list .service .detail .square,
    section#services .services_list .service:nth-child(2n) .detail .square {
        top: unset;
        bottom: 0;
        transform: translate(-50%, 50%);
        left: 50%;
        right: unset;
    }

    section#services .services_list .service .image {
        border: 2px solid var(--color_jaune);
    }

    section#services .services_list .service .large-square {
        bottom: calc(-1 * (var(--gap_services_list) - 64px) / 2);
        transform: translateY(64px);
    }
}

@media all and (max-width: 780px) {
    :root {
        --header_height: 80vh;
    }

    body.page-404 {
        background-image: url("/themes/jvflex/assets/images/404-780.webp");
    }

    body.page-404 main {
        padding: 1.5rem var(--padding_LR);
        min-height: calc(100vh - var(--navbar_height));
        text-align: center;
        flex-direction: column;
        gap: 1.25rem;
    }

    body.page-404 main .content-404 {
        flex-shrink: unset;
    }

    body.page-404 main .btn-container.btn {
        justify-content: center;
    }

    body.page-404 main .img-404 {
        width: 100%;
    }

    h1 {
        font-size: 2.875rem;
    }

    p {
        font-size: 1.25rem;
        line-height: 1.1;
    }

    header #header-bottom .paragraph {
        font-size: 1.5rem;
    }

    .titre h2,
    .titre h1 {
        font-size: 2.5rem;
    }

    section#entreprise #qui-sommes-nous .enterprise-name {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1.95rem;
    }

    section#entreprise .paragraph {
        font-size: 1.35rem
    }

    section#services .services_list .service {
        flex-direction: column;
    }

    section#services .services_list .service .detail,
    section#services .services_list .service:nth-child(2n) .detail {
        padding: 1.25rem 1rem calc(1.25rem + var(--width_services)/2);
    }

    section#services .services_list .service .detail h3 {
        font-size: 2.45rem;
    }

    footer {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.75rem;
    }

    footer a,
    footer p,
    footer address {
        font-size: 1.125rem;
    }

    footer .footer-infos {
        order: 1;
    }

    footer .footer-hours {
        order: 2;
    }

    footer .footer-navigation {
        order: 3;
    }

    footer .footer-links {
        order: 4;
    }

    section#realisations .swiperRealisations .swiper-slide {
        flex-direction: column;
    }

    section#realisations .swiperRealisations .swiper-slide .realisation_content {
        padding-left: 0;
        text-align: center;
    }

    section#realisations .swiperRealisations .swiper-slide .realisation_content h3 {
        font-size: 1.575rem;
        order: 1;
    }

    section#realisations .swiperRealisations .swiper-slide .realisation_content .realisation_city {
        order: 2;
    }

    section#realisations .swiperRealisations .swiper-slide .realisation_content p {
        order: 3;
    }

    section#realisations .swiperRealisations .swiper-slide .realisation_img img,
    .page-services section#nos-services .caroussel .swiper-slide img {
        max-height: 35vh;
    }

    .page-services section#nos-services .caroussel .swiper-slide img {
        width: 100vw;
    }
}


@media all and (max-width: 675px) {
    #contact .form-identity {
        flex-direction: column;
    }
}