/*
** Ce fichier regroupe toutes les class CSS utilisées pour le site ;
*/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color-primary: #bce4fa;
    --color-primary-rgb: 238, 116, 2;

    --color-secondary: #282E72;
    --color-secondary-rgb: 40, 46, 114;

    --color-tertiary: #0067B3;

    --color-text: #1E1E1E;
    --color-border: #DCDCDC;
    --color-faded: #eee;
    --color-accent: #C1121F;

    --block-shadow: 15px 15px;
    --radius-small: 10px;
    --radius-medium: 50px;

    --color-red: #ce0e2d;
    --color-blue: #bce4fa;
    --color-blue-dark: #282E72;
    --color-blue-light: #0067b3;
    --color-blue-text: #1e3b80;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
}
html,
body,
p,l {
    color: var(--color-text);
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6rem;
    font-weight: 400;
}
body {
    position: relative;
}
.bg-effect::before,
.bg-effect2::after {
    content: " ";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    max-width: 100vw;
}
.bg-effect::before {
    background-image: url('../img/bg-section.png');
    width: 785px;
    height: 1553px;
    left: 0;
    top: 491px;
}
.bg-effect2::after {
    background-image: url('../img/bg-section2.png');
    width: 826px;
    height: 1585px;
    right: 0;
    bottom: 66px;
}
a {
    color: var(--color-tertiary);
}
strong {
    font-weight: 700;
}
section {
    padding-top: 100px;
    padding-bottom: 100px;
    max-width: 100vw;
    overflow: hidden;
}
.section-pt {
    padding-top: 20px;
}
h1, h2, h3 {
    font-family: "Jost", sans-serif;
    color: var(--color-secondary);
    font-weight: 600;
}
h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 30px;
}
h2,
.h2 {
    font-size: 36px;
    margin-bottom: 10px;
}
h2.h2-small {
    font-size: 28px;
}
h2 span {
    color: var(--color-tertiary);
}
.subtitle-before {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}
.subtitle-before::before {
    content: " ";
    width: 70px;
    height: 3px;
    background-color: var(--color-secondary);
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}
h3 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-secondary)
}
h4 {
    font-size: 20px;
}

.color-primary {
    color: var(--color-blue-light) !important;
}
.color-secondary {
    color: var(--color-secondary) !important;
}
.color-text {
    color: var(--color-text) !important;
}
.color-accent {
    color: var(--color-accent) !important;
}
.bg-primary {
    background: var(--color-primary) !important;
}
.bg-secondary {
    background: var(--color-seondary) !important;
}
.bg-faded {
    background-color: var(--color-faded) !important;
}
.highlighted {
    color: var(--color-accent);
}
.fs-xs {
    font-size: 16px;
}
.fs-xsm {
    font-size: 26px;
}
.fs-sm {
    font-size: 32px;
    line-height: 32px;
}
.fs-md {
    font-size: 34px;
    line-height: 34px;
}
.fw-400 {
    font-weight: 400;
}
.top-0 {
    top: 0 !important;
}
.flex-none {
    flex: none;
}
.title-big {
    font-size: 40px;
}
.col-lg-47 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.img-fluid {
    object-fit: cover;
}
.label {
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .512px;
    background-color: var(--color-red);
    border-radius: 50px;
    padding: 5px 15px;
    display: inline-block;
}

/* Img Masonry */
.img-masonry {
    display: grid;
    grid-template-columns: 2.5fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: auto;
    padding-right: 9px;
    margin-top: -18px;
}
.img-masonry .img-masonry-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
.img-masonry .img-masonry-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}
.img-masonry .img-masonry-item:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 20px 0;
}

.img-masonry2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: auto;
    padding-left: 9px;
}
.img-masonry2 .img-masonry-item:nth-child(2) {
    max-width: calc(100% - 40px);
}

.img-masonry img,
.img-masonry2 img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-portrait {
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.section-float {
    position: absolute;
    right: 67px;
    top: -192px;
    width: 447px;
    height: 407px;
}

/* Block */

.block {
    background-color: var(--color-primary);
}
.block h2::before {
    background-color: #fff;
}
.block-body {
    padding: 40px 50px;
}
.block h2,
.block p {
    color: #fff;
}

.img-block {
    border: 3px solid var(--color-primary);
    border-radius: var(--radius-small);
    overflow: hidden;
}

.before-block,
.before-block-primary {
    position: relative;
}
.before-block::before,
.before-block-primary::before {
    content: " ";
    background-color: var(--color-secondary);
    position: absolute;
    top: -60px;
    right: -41px;
    bottom: -60px;
    left: -77px;
    z-index: -1;
}
.before-block-primary::before {
    background-color: var(--color-primary);
}
.before-block-primary h2,
.before-block-primary p {
    color: #fff;
}
.before-block.text-right::before {
    content: " ";
    background-color: var(--color-secondary);
    position: absolute;
    top: -75px;
    right: -82px;
    bottom: -68px;
    left: -31px;
    z-index: -1;
}
.block-bg {
    background-image: url('../img/bg-section4.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-left: 66px;
    border-radius: var(--radius-small);
}
.block-bg h2,
.block-bg p {
    color: #fff;
}
.block-bg .img-fluid {
    margin-top: -72px;
    margin-right: 79px;
    margin-left: 80px;
    width: 376px;
}
.block-bg .btn.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 20px;
    font-weight: 600;
}

/* Navigation & Navbar */

nav.nav-wrapper {
    position: relative;
    background: var(--color-primary);
    padding: 16px 45px;
    position: sticky;
    top: 0;
    z-index: 1024;
    display: flex;
    align-items: center;
    flex-direction: row;
}
nav.nav-wrapper .container {
    display: flex;
    align-items: center;
    flex-direction: row;
}
nav .nav-logo {
    position: relative;
    z-index: 1028;
}
nav .nav-logo::before {
    content: " ";
    background-color: #fff;
    position: absolute;
    top: -16px;
    left: -100px;
    bottom: -16px;
    width: calc(100% + 160px);
    transform: skewX(35deg);
    z-index: -1;
}
nav .nav-logo a {
    display: block;
    width: auto;
    height: auto;
}
nav .nav-logo img {
    width: 135px;
    max-width: 135px;
}
nav .nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 187px;
    width: auto;
    padding-left: 0;
    margin-bottom: 0;
}
nav .nav-menu li {
    list-style: none;
    width: max-content;
}
nav .nav-menu li a:not(.btn),
nav .nav-menu li button {
    font-size: 16px;
    padding: 2px 0;
    background-color: transparent;
    color: var(--color-blue-dark);;
    text-transform: uppercase;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    transition: all .2s;
    -webkit-appearance: none;
    border: none;
    line-height: 24px;
    position: relative;
    text-decoration: none;
}
nav .nav-menu li a:not(.dropdown-item):not(.btn)::before,
nav .nav-menu li button::before {
    content: " ";
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    opacity: 0;
    background-color: var(--color-primary);
    transition: all .2s ease;
}
nav .nav-menu li button .bi-chevron-down {
    display: inline-block;
    transition: all .2s ease;
    vertical-align: 2px;
    -webkit-text-stroke: thin;
    font-size: 12px;
}
nav .nav-menu li button[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(-180deg);
}
nav .nav-menu li a:not(.active):hover::before,
nav .nav-menu li button:not(.active):hover::before  {
    opacity: .2 !important;
}
nav .nav-menu li a.active::before,
nav .nav-menu li button.active::before {
    opacity: 1 !important;
}
nav .nav-menu li a.btn.btn-primary {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 36px;
    line-height: 21px;
    border-radius: var(--radius-small);
}

nav .dropdown .nav-link::after {
    content: " ";
    width: 12px;
    height: 12px;
    display: inline-block;
    background-image: url('../img/icon/caret-down.svg');
    background-size: contain;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all .2s ease;
    vertical-align: middle;
}
nav .dropdown.show .nav-link::after {
    transform: rotate(180deg);
}
nav .dropdown .dropdown-menu {
    max-width: 400px;
    margin-top: 22px;
    margin-left: -20px;
    background: var(--color-primary);
    padding: 8px 10px;
    width: max-content;
}
nav .dropdown a.dropdown-item {
    white-space: normal;
    color: #000;
    transition: all .12s ease;
    padding: 6px 13px !important;
    border-radius: var(--radius-small);
    margin: 2px 0;
}
nav .dropdown a.dropdown-item.active {
    background-color: var(--color-text);
    color: #fff;
}
nav .dropdown .dropdown-item:not(.active):hover {
    background: rgba(0,0,0,.1);
    text-decoration: none;
}
nav .nav-menu-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: var(--color-primary);
    -webkit-appearance: none;
    appearance: none;
    border: none;
    font-size: 20px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border: 2px solid #fff;
    border-radius: var(--radius-small);
}

/* Header */

header {
    position: relative;
}
header.header {
    padding: 100px 0;
    background-color: var(--color-primary);
}
header.hero {
    padding: 195px 0;
    position: relative;
    z-index: 1;
}
header.hero::after {
    content: " ";
    background-image: url('../img/featured-line.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    height: 54px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    object-fit: cover;
    object-position: center bottom;
    z-index: -1;
}
header.hero img.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 53px;
    left: 0;
    width: 100vw;
    height: calc(100% - 53px);
    object-fit: cover;
    object-position: center bottom;
}
header.hero.hero-small {
    height: auto;
    padding: 100px 0;
}
header.hero + .section-faded {
    box-shadow: 0 -50px rgba(188,228,250,.2);
    z-index: 0;
    position: relative;
}
header h1 {
    font-size: 46px;
    line-height: 54px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 18px;
}
header .subtitle {
    font-size: 16px;
    line-height: 20px;
    color: #fff;
}
header.bg-overlay .container {
    z-index: 1;
    position: relative;
}
header.bg-overlay::after {
    content: " ";
    background-color: #000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .5;
}
header .hero-float {
    position: absolute;
    bottom: 0;
    left: 19px;
    transform: translateY(31%);
    z-index: 1;
    width: 520px;
    height: auto;
    pointer-events: none;
    user-select: none;
}

/* Footer */

footer {
    font-size: 14px;
    padding: 24px 0 24px 0;
    background-color: var(--color-primary);
}
footer * {
    color: var(--color-blue-text);
}
footer a:hover {
    color: var(--color-blue-text);
}
footer hr {
    border-color: var(--color-blue-text);
    margin: 44px 0 30px 0;
}

/* Prestation Item */

.prestation-item {
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: column;
}
.prestation-item img {
    height: auto;
    aspect-ratio: 496 / 222;
    object-fit: cover;
    object-position: center;
}
.prestation-item-body {
    padding: 29px 35px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.prestation-item-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
}
.prestation-item-body p {
    margin-bottom: 26px;
}

/* Related Articles */

.related-item {
    display: block;
    width: 100%;
    transition: all .2s;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.related-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    transition: all .8s ease;
}
.related-item .related-image::after {
    content: " ";
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.related-item .related-infos {
    padding: 25px;
    position: relative;
}
.related-item .related-infos p {
    font-size: 14px;
    line-height: 1.6em;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #fff;
}
.related-item .related-infos h3 {
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  letter-spacing: .5px;
  line-height: 26px;
  margin-bottom: 10px;
}
.related-item .related-infos * {
    text-shadow: 0 1px 5px rgba(0,0,0,.5);
}
a.related-item:hover {
    text-decoration: none;
    transform: scale(1.04) !important;
}
a.related-item:hover img {
    transform: scale(1.05);
}

/* Map */

.map-wrapper {
    display: block;
    position: relative;
    height: calc(100% - 100px);
    margin-bottom: 66px;
    border-radius: var(--radius-medium) 0 0 var(--radius-medium);
    overflow: hidden;
}
.map-wrapper #map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sections */

section:has(.img-left),
section:has(.img-right) {
    position: relative;
}
.section-primary {
    background-color: #780000;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 66px;
}
.section-primary h2 {
    color: #fff;
    margin-bottom: 27px;
}
.section-primary p {
    color: #fff;
    margin-bottom: 35px;
}
.section-faded {
    background-color: rgba(188,228,250,.2);
    padding-top: 130px;
    padding-bottom: 130px;
}
section:has(.img-left) {
    overflow: visible;
}
.section-superposed {
    padding-top: 229px;
    padding-bottom: 81px;
    z-index: 1;
}
.section-superposed2 {
    padding-top: 0;
    margin-top: -35px;
    z-index: 1;
    overflow: visible;
}
.section-background {
    background-image: url('../img/bg-section3.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 52% -24px;
    padding-bottom: 163px;
    padding-bottom: 135px;
}

.contact-form {
    position: relative;
    z-index: 2;
}
.contact-form::before {
    content: " ";
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--color-primary);
    z-index: -1;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: var(--color-accent);
    font-weight: 300;
    margin-top: 1.5em;
    margin-bottom: .75em;
}
article h1 {
    font-size: 52px;
    margin-top: 10px;
}
article h2 {
    font-size: 42px;
}
article h3 {
    font-size: 38px;
}
article h4 {
    font-size: 34px;
}
article h5 {
    font-size: 32px;
}
article,
article p {
    font-size: 18px;
    line-height: 1.6em;
    color: rgba(var(--color-text-rgb), .8)
}

/* WYSIWYG */

.article-wp img {
    box-shadow: 0 0 50px 10px rgba(0,0,0,.05);
}
.article-wp ul,
.article-wp ol {
    margin-top: 40px;
    margin-bottom: 40px;
}
.article-wp .wys-featured-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    border-radius: var(--radius-small);
}
.article-wp .wys-img-left {
    float: left;
    margin: 5px 30px 15px 0;
}
.article-wp .wys-img-right {
    float: right;
    margin: 5px 0 15px 30px;
}
.article-wp .wys-highlighted {
    margin: 40px auto;
    width: 75%;
    padding: 40px;
    font-style: italic;
    background-color: var(--color-primary);
    border-radius: 0;
    color: #fff;
}

/* Buttons */

.btn {
    border: none;
    font-weight: 500;
    border-radius: var(--radius-medium);
    transition: all .2s;
    font-size: 22px;
    line-height: 34px;
    display: inline-block;
}
.btn svg {
    margin-left: 12px;
    vertical-align: -2px;
}
.btn.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-blue-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .85px;
    line-height: 21px;
}
.btn.btn-primary:hover {
    background-color: var(--color-blue-dark);
    color: var(--color-primary);
}
.btn.btn-primary svg {
    fill: #fff;
}
.btn.btn-primary.bg-white:hover {
    background-color: var(--color-primary) !important;
}
.btn.btn-secondary {
    background-color: var(--color-primary);
    border-radius: var(--radius-small);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: var(--color-blue-dark);
    text-transform: uppercase;
    letter-spacing: .85px;
}
.btn.btn-secondary span,
.btn.btn-secondary svg {
    transition: all .2s;
}
.btn.btn-secondary:hover {
    color: var(--color-primary);
    background-color: var(--color-blue-light);
}
.btn.btn-secondary:hover span,
.btn.btn-secondary:hover svg {
    color: #fff !important;
    fill: #fff;
}
.btn.btn-tertiary {
    font-size: 24px;
    color: var(--color-text);
    background-color: var(--color-secondary);
    font-weight: 600;
    padding: 9px 32px;
}
.btn i,
.btn .bi {
    vertical-align: 1px;
    margin-right: 4px;
}
.btn:focus,
button:focus {
    outline: none;
}
.btn.btn-small {
    font-size: 20px;
    padding: 5px 18px;
}
#scrollTopButton {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1032;
    font-size: 22px;
}
#scrollTopButton i::before {
    font-weight: 800 !important;
}

/* Inputs */

.form-control {
    border-radius: 0;
    height: 48px;
    padding: 16px 18px;
    border-color: rgba(0,0,0,.2);
    border-radius: var(--radius-small);
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb),.5);
}
.form-check-input {
    margin-top: 5px;
}
select.form-control {
    padding: 2px 18px;
}
input[type="file"] {
    appearance: none;
    -webkit-appearance: none;
    line-height: 20px;
    padding: 3px 44px;
    position: relative;
    cursor: pointer;
}
input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
    width: 100%;
    display: block;
    height: 0;
}
input[type="file"]::before {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" color="darkgrey" width="16" height="16" fill="darkgrey" class="bi bi-file-earmark-text" viewBox="0 0 16 16"><path d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z"/><path d="M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5z"/></svg>');
    width: 20px;
    height: 20px;
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-43%);
}
.form-group label {
    line-height: 1em;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    width: 0;
    height: 0;
}
label[required]::after,
label[required="required"]::after {
    content: "*";
    color: var(--color-primary);
}

/* Dropdowns */

.dropdown-menu {
    border-radius: 0;
    border-color: transparent;
    box-shadow: 0 0 37px rgba(0,0,0,.06);
}
.dropdown-item {
    font-size: 16px;
    padding: 10px 20px;
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    background: var(--color-primary);
}

/* List Checked */
.list-check {
    list-style: none;
    padding-left: 28px;
}
.list-check li {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-secondary);
}
.list-check li strong {
    font-weight: 600;
}
.list-check li:not(:last-child) {
    margin-bottom: 10px;
}
.list-check li::before {
    content: " ";
    display: inline-block;
    background-image: url('../img/icon/check.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 18px;
    height: 18px;
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}
.list-check.check-secondary li::before {
    background-image: url('../img/icon/check-secondary.svg');
}

/* Responsive ; Media Queries */

@media (min-width:992px) {
    nav .nav-menu-btn {
        display: none;
    }
    nav .nav-menu {
        flex: 1;
        gap: 60px;
    }

    /* Column Override */
    .col-lg-55 {
        -ms-flex: 0 0 44.136%;
        flex: 0 0 44.136%;
        max-width: 44.136%;
    }
    section .container {
        padding-left: 48px;
        padding-right: 48px;
    }
    .col-lg-47 {
        -ms-flex: 0 0 47%;
        flex: 0 0 47%;
        max-width: 47%;
    }
    .img-right {
        position: absolute;
        width: 50vw;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        border-radius: var(--radius-medium) 0 0 var(--radius-medium);
        max-width: 800px;
    }
    .img-left {
        position: absolute;
        width: calc(50vw - 70px);
        height: calc(100% + 39px + 83px);
        left: 0;
        top: -39px;
        border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
        object-fit: cover;
    }
}

@media (max-width: 1399px) {
    .block-bg .img-fluid {
        margin-right: 0;
        margin-left: 0;
        width: 421px;
    }
}
@media (max-width: 1299px) {
    .section-float {
        width: 377px;
        height: auto;
    }
}
@media (max-width: 1199px) {
    nav .nav-menu {
        gap: 15px;
    }
    .block-bg .img-fluid {
        width: 443px;
        margin-top: -43px;
    }
    header .hero-float {
        width: 420px;
    }
}
@media (min-width: 1500px) {
    .section-background {
        background-size: 1200px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1330px;
    }
    nav .nav-menu {
        gap: 77px;
    }
}
@media (max-width: 991px) {
    nav.nav-wrapper {
        padding: 15px 0;
    }
    nav .nav-menu {
        position: absolute;
        top: 100%;
        background: var(--color-primary);
        width: 100%;
        z-index: 1024;
        left: 0;
        padding: 30px 20px;
        flex-direction: column;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 110px 100px 0px rgba(0,0,0,.3);
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: all .2s;
        margin-left: 0;
    }
    nav .nav-menu.opened {
        opacity: 1;
        transform: scaleY(1);
    }
    nav .nav-menu li:not(:last-child) {
        margin-bottom: 10px;
    }
    nav.nav-wrapper .container {
        justify-content: space-between;
    }
    nav .nav-menu li.nav-item-logo {
        display: none;
    }
    nav .nav-menu-btn {
        order: 2;
    }
    nav .nav-logo {
        max-width: 180px;
        order: 1;
    }
    nav .nav-logo img {
        margin-left: 20px;
    }
    nav .nav-infos {
        display: none;
    }
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    nav .dropdown .dropdown-menu {
        position: relative !important;
        max-width: 90vw;
        margin-top: 0;
        margin-left: 0;
        transform: none !important;
    }
    nav .dropdown.show button {
        margin: auto;
    }
    .img-under-section {
        background-color: #fff;
        max-width: 100%;
    }
    section:has(.img-masonry),
    section:has(.img-masonry2) {
        padding-bottom: 100px;
    }
    section:has(.img-masonry) .before-block,
    section:has(.img-masonry2) .before-block,
    section:has(.img-masonry) .before-block-primary,
    section:has(.img-masonry2) .before-block-primary,
    section:has(.img-portrait) .before-block {
        padding-bottom: 40px;
    }
    section:has(.img-masonry) .before-block::before,
    section:has(.img-masonry2) .before-block::before,
    section:has(.img-masonry) .before-block-primary::before,
    section:has(.img-masonry2) .before-block-primary::before {
        top: -80px;
        right: -20px;
        bottom: -50px;
        left: -20px;
    }
    header.hero {
        padding-top: 50px;
        padding-bottom: 240px;
    }
    header.hero:not(:has(.hero-float)) {
        padding-top: 100px;
        padding-bottom: 150px;
    }
    header.hero::before {
        content: none;
    }
    .btn {
        font-size: 22px;
        line-height: 24px;
    }
    .btn svg {
        margin-left: 2px;
    }
    .img-right {
        max-width: calc(100% + (50vw + (-750px / 2) + 30px));
        width: calc(100% + (50vw + (-750px / 2) + 30px));
        margin-top: 40px;
        border-radius: var(--radius-medium) 0 0 var(--radius-medium);
    }
    .img-left {
        max-width: calc(100% + (50vw + (-750px / 2) + 30px));
        margin-top: 40px;
        border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
        margin-left: calc((50vw + (-750px / 2) + 30px) * -1);
    }
    .block-bg {
        padding: 0 30px;
        background-image: url('../img/bg-section4-mobile.jpg');
    }
    .block-bg .col-lg-auto:has(.img-fluid) {
        text-align: right;
    }
    .block-bg .img-fluid {
        margin-top: 0;
    }
    .section-superposed {
        padding-bottom: 0;
        margin-bottom: -30px;
    }
    .section-background {
        background-position: 52% 46px;
    }
    .section-pt-sm {
        padding-top: 50px;
    }
    .img-left-sm {
        max-height: 450px;
        width: -webkit-fill-available;
    }
}
@media (max-width:767px) {
    .block-body {
        padding: 20px;
    }
    nav .nav-logo img {
        width: 140px;
        max-width: 140px;
    }
    header.hero {
        padding: 100px 0 240px;
    }
    header.hero h1 {
        font-size: 38px;
        line-height: 40px;
    }
    h2, .h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }
    .img-right {
        max-width: calc(100% + (50vw + (-540px / 2) + 30px));
        width: calc(100% + (50vw + (-540px / 2) + 30px));
    }
    .img-left {
        max-width: calc(100% + (50vw + (-540px / 2) + 30px));
        margin-left: calc((50vw + (-540px / 2) + 30px) * -1);
    }
    .img-left-sm {
        max-height: 350px;
        width: -webkit-fill-available;
    }
    .section-float {
        right: 37px;
        top: -122px;
        width: 387px;
        height: auto;
    }
    .section-faded {
        padding-top: 70px;
    }
}
@media (max-width: 575px) {
    .btn {
        font-size: 18px;
        line-height: 24px;
    }
    header .hero-float {
        width: 300px;
    }
    .img-right {
        width: calc(100% + 15px);
        max-width: calc(100% + 15px);
    }
    .img-left {
        max-width: calc(100% + 15px);
        margin-left: -15px;
    }
    .section-float {
        right: 37px;
        top: -82px;
        width: 200px;
        height: auto;
    }
    .section-superposed {
        padding-top: 120px;
    }
}
