/*
 * Mentions légales page.
 */

body.eclat-legal-page-body {
    margin: 0;
    color: #07191d;
    background: #ffffff;
}

body.eclat-legal-page-body #eclat-home-hero.eclat-projects-menu-shell {
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

body.eclat-legal-page-body #eclat-home-hero .eclat-home-hero__topbar,
body.eclat-legal-page-body #eclat-home-hero .eclat-hero__topbar {
    background: #00242c;
}

.eclat-legal-page {
    box-sizing: border-box;
    min-height: 100vh;
    background: #ffffff;
}

.eclat-legal-page *,
.eclat-legal-page *::before,
.eclat-legal-page *::after {
    box-sizing: border-box;
}

.eclat-legal-page__hero {
    position: relative;
    min-height: clamp(280px, 38vw, 460px);
    padding: calc(clamp(54px, 6.2vh, 76px) + clamp(56px, 8vw, 110px)) clamp(20px, 6vw, 84px) clamp(54px, 8vw, 104px);
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #f8faf8;
    background:
        linear-gradient(135deg, rgba(0, 36, 44, 0.96), rgba(0, 54, 62, 0.88)),
        #00242c;
}

.eclat-legal-page__hero-media,
.eclat-legal-page__hero-image,
.eclat-legal-page__hero-overlay {
    position: absolute;
    inset: 0;
}

.eclat-legal-page__hero-media {
    z-index: 0;
}

.eclat-legal-page__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.eclat-legal-page__hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 36, 44, 0.84), rgba(0, 36, 44, 0.48)),
        linear-gradient(180deg, rgba(0, 18, 22, 0.2), rgba(0, 18, 22, 0.58));
}

.eclat-legal-page__hero-inner {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    text-align: center;
}

.eclat-legal-page__kicker {
    margin: 0 0 14px;
    color: #81e291;
    font-family: Ubuntu, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eclat-legal-page__title {
    margin: 0;
    color: #ffffff;
    font-family: "Antonio Bold", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(54px, 9vw, 128px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.eclat-legal-page__content-shell {
    padding: clamp(48px, 8vw, 112px) clamp(18px, 6vw, 84px) clamp(64px, 9vw, 124px);
    background: #ffffff;
}

.eclat-legal-page__content {
    width: min(1080px, 100%);
    max-width: 100%;
    margin: 0 auto;
    color: #07191d;
    font-family: "Ubuntu Light", Ubuntu, "Segoe UI", sans-serif;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.eclat-legal-page__content > *:first-child {
    margin-top: 0;
}

.eclat-legal-page__content > *:last-child {
    margin-bottom: 0;
}

.eclat-legal-page__content p,
.eclat-legal-page__content ul,
.eclat-legal-page__content ol {
    margin: 0 0 1.35em;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.eclat-legal-page__content h2,
.eclat-legal-page__content h3 {
    margin: 1.55em 0 0.55em;
    color: #07131a;
    font-family: "Antonio Bold", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eclat-legal-page__content h2 {
    font-size: clamp(34px, 4.4vw, 62px);
}

.eclat-legal-page__content h3 {
    font-size: clamp(25px, 3vw, 40px);
}

.eclat-legal-page__content a {
    color: #0d7f44;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    overflow-wrap: anywhere;
}

.eclat-legal-page__content strong,
.eclat-legal-page__content b {
    color: #061115;
    font-weight: 700;
}

.eclat-legal-page__content ul,
.eclat-legal-page__content ol {
    padding-left: 1.15em;
}

.eclat-legal-page__content li + li {
    margin-top: 0.45em;
}

.eclat-legal-page__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(18px, 5vw, 72px);
    color: rgba(235, 246, 238, 0.68);
    background: #00242c;
    border-top: 1px solid rgba(129, 226, 145, 0.18);
    font-family: Ubuntu, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eclat-legal-page__footer p {
    margin: 0;
}

.eclat-legal-page__footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 28px;
}

.eclat-legal-page__footer a {
    color: rgba(235, 246, 238, 0.74);
    text-decoration: none;
    transition: color 0.18s ease;
}

.eclat-legal-page__footer a:hover,
.eclat-legal-page__footer a:focus-visible {
    color: #81e291;
}

.eclat-legal-page__footer a:focus-visible {
    outline: 2px solid #81e291;
    outline-offset: 4px;
}

@media (max-width: 780px) {
    .eclat-legal-page__hero {
        min-height: 330px;
        padding: calc(clamp(54px, 6.2vh, 76px) + 52px) 20px 58px;
    }

    .eclat-legal-page__kicker {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .eclat-legal-page__title {
        font-size: clamp(46px, 16vw, 76px);
    }

    .eclat-legal-page__content-shell {
        padding: 42px 20px 72px;
    }

    .eclat-legal-page__content {
        font-size: 16px;
        line-height: 1.68;
    }

    .eclat-legal-page__content h2 {
        font-size: clamp(30px, 10vw, 45px);
    }

    .eclat-legal-page__content h3 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .eclat-legal-page__footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px 20px 30px;
        letter-spacing: 0.1em;
    }

    .eclat-legal-page__footer nav {
        justify-content: flex-start;
        gap: 12px 18px;
    }
}

@media (max-width: 420px) {
    .eclat-legal-page__content-shell {
        padding-inline: 18px;
    }

    .eclat-legal-page__title {
        font-size: clamp(42px, 15vw, 62px);
    }
}
