/* Générale */
html {
    scroll-behavior: smooth;
}

#scroll-header {
    scroll-margin-top: 0;
}

#scroll {
    scroll-margin-top: 200px;
}

svg {
    flex-shrink: 0;
}

figure {
    position: relative;
}

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

p:empty {
    display: none;
}

footer a:has(svg) {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

footer a:has(svg):hover {
    opacity: 0.7;
}

h1 strong {
    font-weight: 500 !important;
    color: var(--wp--preset--color--blue) !important;
}

strong {
    font-weight: inherit !important;
    color: var(--wp--preset--color--blue) !important;
}

/* Fonctionalités */
.bg-filter {
    position: relative;
}

.bg-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.simple-link {
    position: relative;
}

.simple-link a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--wp--preset--color--blue-hover);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.simple-link a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.simple-link a {
    color: var(--wp--preset--color--dark);
    transition: color 0.3s ease-in-out;
}

.simple-link a:hover {
    color: var(--wp--preset--color--blue-hover) !important;
}

/* Hero */

.hero-container {
    padding-top: 160px;
    width: 100%;
    min-height: 100svh;
    padding-left: var(--spacing--40);
    padding-right: var(--spacing--40);

}

.hero-container h1 {
    max-width: 950px;
}

.hero-contact {
    padding-top: 160px;
    width: 100%;
    padding-left: var(--spacing--40);
    padding-right: var(--spacing--40);
    padding-bottom: 60px;
}

.video-container {
    position: relative;
    height: calc(100svh - 360px);
    overflow: hidden;
    width: 100%;
}

.video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    padding-top: 43%;
    overflow: hidden;
    aspect-ratio: 21/9;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.sound-player {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    z-index: 10;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.sound-on,
.sound-off {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sound-on.active,
.sound-off.active {
    opacity: 1;
    pointer-events: all;
}

/* Body */
.grid-block {
    gap: 0;
    width: 100%;
    padding-left: var(--wp--custom--px);
    padding-right: var(--wp--custom--px);
}

.grid-el {
    min-height: 190px;
    border-top: 1px solid var(--wp--preset--color--blue);
    border-bottom: 1px solid var(--wp--preset--color--blue);
    border-right: 1px solid var(--wp--preset--color--blue);
    width: 100%;
    display: flex;
    position: relative;
    flex-direction: column;
    padding: var(--spacing--20);
    gap: var(--spacing--20);
}

.grid-block .grid-el:first-child {
    border-left: 1px solid var(--wp--preset--color--blue);
}

.grid-block .grid-el:nth-child(4) {
    border-top: none;
    border-left: 1px solid var(--wp--preset--color--blue);
}

.grid-block .grid-el:nth-child(5) {
    border-top: none;
}

.grid-block:not(.grid-9) .grid-el:nth-child(6) {
    border-top: none;
    border-bottom: none;
    border-right: none;
}

.grid-9 .grid-el:nth-child(6) {
    border-top: none;
}

.grid-9 .grid-el:nth-child(7) {
    border-top: none;
    border-left: 1px solid var(--wp--preset--color--blue);
}

.grid-9 .grid-el:nth-child(8) {
    border-top: none;
}

.grid-9 .grid-el:nth-child(9) {
    border-top: none;
}

.grid-el .top-left {
    position: absolute;
    top: -1px;
    left: -1px;
    transform: translate(-50%, -50%);
}

.grid-el .top-right {
    position: absolute;
    top: -1px;
    right: 0px;
    transform: translate(50%, -50%);
}

.grid-el .bot-right {
    position: absolute;
    bottom: 0px;
    right: 0px;
    transform: translate(50%, 50%);
}

.grid-el .bot-left {
    position: absolute;
    bottom: 0px;
    left: -1px;
    transform: translate(-50%, 50%);
}

.scroll-div {
    position: absolute;
    bottom: var(--spacing--30);
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    gap: 0;
    display: flex;
    flex-direction: row;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.scroll-div:hover {
    background-color: rgba(20, 19, 19, 0.40);
    border: 1px solid var(--wp--preset--color--blue);
}

.scroll-div p {
    transition: color 0.3s ease-in-out;
}

.scroll-div:hover p {
    color: var(--wp--preset--color--blue) !important;
}


.scroll-div svg path {
    transition: stroke 0.3s ease-in-out, fill 0.3s ease-in-out;
}

.scroll-div:hover svg path {
    stroke: var(--wp--preset--color--blue);
    fill: var(--wp--preset--color--blue);

}

.separator {
    height: 1px;
    background-color: var(--wp--preset--color--blue);
    border: none;
    width: 100%;
    position: relative;
}

.separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--wp--preset--color--blue);
    transform: translateY(-50%);
    border-radius: 50%;
}

.separator::after {
    content: '';
    position: absolute;
    right: 0;
    width: 6px;
    height: 6px;
    background-color: var(--wp--preset--color--blue);
    transform: translateY(-50%);
    border-radius: 50%;
}

.block-border {
    position: relative;
    border: 1px solid var(--wp--preset--color--blue);
    width: 100%;
}

/* Button */
.button {
    background-color: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--light);
    padding: 12px 24px;
    font-size: var(--wp--preset--font-size--button);
    font-family: var(--wp--preset--font-family--jost) !important;
    cursor: pointer;
    font-weight: 300 !important;
    transition: background-color .3s ease-in-out;
}

.button:hover {
    background-color: var(--wp--preset--color--blue-hover) !important;
}

.border-button {
    border: 1px solid var(--wp--preset--color--blue);
    background-color: transparent;
    color: var(--wp--preset--color--dark);
    padding: 12px 24px;
    font-size: var(--wp--preset--font-size--button);
    font-family: var(--wp--preset--font-family--jost) !important;
    cursor: pointer;
    font-weight: 300 !important;
    transition: background-color .3s ease-in-out, border .3s ease-in-out;
}

.border-button:hover {
    background-color: var(--wp--preset--color--gray);
    border: 1px solid var(--wp--preset--color--gray);
}


/* Formulaire */
.text-form {
    font-family: var(--wp--preset--font-family--jost) !important;
    font-size: var(--wp--preset--font-size--callout) !important;
    font-weight: 600 !important;

}

.form-wrapper {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.50);
}

.wpforms-container {
    width: 100% !important;
}

.wpforms-container-full {
    margin: 0 !important
}

.wpforms-field {
    padding: 0 0 16px 0 !important;
}

.wpforms-field-label,
.wpforms-field-label-inline {
    font-family: var(--wp--preset--font-family--outfit);
    font-size: var(--wp--preset--font-size--p-button);
    color: var(--wp--preset--color--light);
    font-weight: 400 !important;
    margin: 0 0 6px 0 !important;
}

.wpforms-required-label {
    display: none
}

#wpforms-submit-417 {
    font-family: var(--wp--preset--font-family--jost) !important;
    font-size: var(--wp--preset--font-size--button) !important;
    cursor: pointer;
    font-weight: 300;
    line-height: normal;
    transition: all .3s ease-in-out;
    text-wrap: nowrap;
    padding: 12px 24px;
    line-height: normal;
    background: unset;
    background-color: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--light);
    height: 100%;
}

#wpforms-submit-417:hover {
    background-color: var(--wp--preset--color--blue-hover);
}

div.wpforms-container-full input[type=checkbox]:before {
    border-color: var(--wp--preset--color--dark) !important;
}

.wpforms-submit-container {
    display: flex;
    justify-content: flex-start !important;
}

div.wpforms-container-full input[type=checkbox]:before {
    border-radius: 0px;
    background-color: transparent;
    border: 1px solid var(--wp--preset--color--light);
}

.choice-1 {
    align-items: center !important
}

.wpforms-submit-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0px !important;
    width: fit-content !important;
}

option {
    font-family: var(--wp--preset--font-family--outfit);
    font-size: var(--wp--preset--font-size--p);
}

.wpforms-field-radio fieldset {
    display: flex;
    align-items: center !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.wpforms-field-radio fieldset legend {
    float: inline-start !important;
    margin: 0 !important;
    align-self: flex-start !important;
    white-space: nowrap !important;
}

.wpforms-field-radio label {
    margin: 0 0 0 0 !important;
    padding-inline-start: 6px !important;
}

.wpforms-field-radio ul {
    gap: 20px !important;
}


/* Map */
.wpgmza_map {
    width: 100% !important;

}

.svg-wrapper {
    width: 40% !important;
    align-self: center !important;
}

.ol-uncollapsible {
    display: none !important;
}

.text-border {
    gap: 10px;
}

.text-border p {
    padding: 12px 24px;
    border-left: 2px solid var(--wp--preset--color--blue);
    border-bottom: 2px solid var(--wp--preset--color--blue);
    font-family: var(--wp--preset--font-family--jost) !important;
    font-weight: 700 !important;
}

/* Footer */
.scroll-header {
    display: flex;
    padding: 24px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--wp--preset--color--blue);
    background-color: transparent;
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.scroll-header:hover {
    border-color: var(--wp--preset--color--gray);
    background-color: var(--wp--preset--color--gray);
    ;
}

footer hr {
    border-color: var(--wp--preset--color--blue);
    width: 100%;
}

/* Responsive */
@media not all and (min-width: 1537px) {}

@media not all and (min-width: 1281px) {}

@media not all and (min-width: 1025px) {
    .video-container {
        height: calc(100svh - 330px);
    }

    .grid-block {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .grid-block .grid-el:nth-child(3) {
        border-left: 1px solid var(--wp--preset--color--blue);
        border-top: none;
    }

    .grid-block .grid-el:nth-child(4) {
        border-left: none;
    }

    .grid-block .grid-el:nth-child(5),
    .grid-9 .grid-el:nth-child(9) {
        border-left: 1px solid var(--wp--preset--color--blue);
    }

}

@media not all and (min-width: 769px) {}

@media not all and (min-width: 641px) {
    .hero-container {
        padding-left: var(--spacing--20);
        padding-right: var(--spacing--20);
    }

    .video-container {
        height: calc(100svh - 330px);
    }

    .grid-block {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .grid-block .grid-el:nth-child(2) {
        border-left: 1px solid var(--wp--preset--color--blue);
        border-top: none;
    }

    .grid-block .grid-el:nth-child(4),
    .grid-9 .grid-el:nth-child(6),
    .grid-9 .grid-el:nth-child(8) {
        border-left: 1px solid var(--wp--preset--color--blue);
    }

    .grid-el {
        min-height: 300px;
    }
}

@media not all and (min-width: 391px) {}