.realisation-banner {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.realisation-banner__image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.realisation-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #13151f;
    opacity: 0.76;
}

.realisation-banner__inner,
.realisation-single {
    position: relative;
    z-index: 2;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    padding-block-end: 4%;
    padding-block-start: 20%;
}

.realisation-banner__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.realisation-banner__category {
    display: inline-block;
    background: #edf0f4;
    color: #070f25;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    padding: 8px 10px;
}

.realisation-banner__title {
    margin: 0;
    color: #ffffff !important;
    font-family: "Strait", sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: -0.04em;
    text-align: left;
    text-transform: none;
}

.realisation-single {
    padding: 8% 5% 10%;
}

.realisation-section + .realisation-section,
.realisation-section + .realisation-gallery {
    margin-top: 30px;
}

.realisation-section__title {
    margin: 0 0 16px;
    color: #070f25;
    font-family: "Strait", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

.realisation-section__body {
    color: #070f25;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.realisation-section__body > *:first-child {
    margin-top: 0;
}

.realisation-section__body > *:last-child {
    margin-bottom: 0;
}

.realisation-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.realisation-gallery__trigger {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 2px;
    background: #edf0f4;
    cursor: pointer;
}

.realisation-gallery__trigger img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .realisation-banner__content {
        width: 60%;
    }

    .realisation-banner__title {
        font-size: 44px !important;
    }
}

@media (max-width: 767px) {
    .realisation-banner {
        padding: 24% 0 8%;
    }

    .realisation-banner__content {
        width: 100%;
    }

    .realisation-banner__title {
        font-size: 30px !important;
    }

    .realisation-single {
        padding: 15% 5%;
    }

    .realisation-section__title {
        font-size: 26px;
    }

    .realisation-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

.realisation-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 80px 40px;
    box-sizing: border-box;
}

.realisation-lightbox.is-open {
    display: flex;
}

.realisation-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 37, 0.9);
    cursor: pointer;
}

.realisation-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.realisation-lightbox__image {
    display: block;
    max-width: min(92vw, 1200px);
    max-height: calc(100dvh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.realisation-lightbox__close,
.realisation-lightbox__nav {
    position: fixed;
    z-index: 2;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.realisation-lightbox__close:hover,
.realisation-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.realisation-lightbox__close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    font-size: 28px;
}

.realisation-lightbox__nav {
    top: 50%;
    width: 44px;
    height: 64px;
    border-radius: 2px;
    font-size: 36px;
    transform: translateY(-50%);
}

.realisation-lightbox__nav--prev {
    left: 20px;
}

.realisation-lightbox__nav--next {
    right: 20px;
}

body.realisation-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .realisation-lightbox {
        padding: 64px 16px 24px;
    }

    .realisation-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .realisation-lightbox__nav {
        width: 36px;
        height: 52px;
        font-size: 28px;
    }

    .realisation-lightbox__nav--prev {
        left: 8px;
    }

    .realisation-lightbox__nav--next {
        right: 8px;
    }
}

