/* Pages légales (Mentions légales, Cookies, RGPD) */

.hero-legal {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 40dvh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-legal .wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    padding: 3rem 1rem;
}

.hero-legal__title {
    font-family: "Monteserrat", sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    text-wrap-style: balance;
    color: #FFFFFF;
    font-weight: 900;
    margin: 1rem 0;
    padding: 0;
    letter-spacing: 6px;
    line-height: 1.05;
}

.page-legal__content {
    padding: 4rem 0;
}

.page-legal__content .wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    color: var(--c-vert-100);
    line-height: 1.6;
}

.page-legal__content h2 {
    font-family: "Monteserrat", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--c-vert-100);
    margin: 2.5rem 0 1rem;
    text-wrap-style: balance;
}

.page-legal__content h2:first-child {
    margin-top: 0;
}

.page-legal__content h3 {
    font-family: "Monteserrat", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-vert-100);
    margin: 2rem 0 .75rem;
}

.page-legal__content p {
    margin: 0 0 1rem;
    font-size: 16px;
    color: var(--c-noir-900);
}

.page-legal__content ul,
.page-legal__content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.page-legal__content li {
    margin-bottom: .5rem;
    line-height: 1.5;
}

.page-legal__content a {
    color: var(--c-orange-900);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    word-break: break-word;
}

.page-legal__content a:hover {
    text-decoration-thickness: 2px;
}

.page-legal__content strong {
    font-weight: 600;
    color: var(--c-vert-100);
}

.section-conseil .wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 4rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: rgb(236 160 38 / 0.2);
    border-radius: 0 40px 40px 0;
}

.section-conseil .wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgb(236 160 38 / 0.2);
}

.section-conseil__title {
    font-family: "Monteserrat", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-vert-100);
    margin: 0 0 1rem 0;
    padding: 0;
    text-wrap-style: balance;
}

.section-conseil__content {
    position: relative;
}

.section-conseil__content * {
    color: var(--c-noir-900);
    font-size: 16px;
    font-weight: 500;
}

.section-conseil__cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-conseil .petale-verte {
    position: absolute;
    bottom: 50%;
    left: 150px;
    width: 180px;
    z-index: 1;
    mix-blend-mode: multiply;
}

.section-conseil .petale-marron {
    position: absolute;
    width: 400px;
    height: 270px;
    bottom: 50%;
    transform: translateY(50%);
}

.section-conseil__dl {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    color: #FFFFFF;
    font-size: 18px;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease-in-out;
}

.section-conseil__dl span:nth-child(2) {
    font-weight: 700;
}

.section-conseil__dl:hover {
    color: var(--c-vert-300);
}

.section-conseil__dl svg {
    position: absolute;
    bottom: -40px;
}

@media (max-width: 768px) {
    .hero-legal {
        min-height: 30dvh;
    }

    .hero-legal__title {
        letter-spacing: normal;
    }

    .page-legal__content {
        padding: 2.5rem 0;
    }

    .page-legal__content h2 {
        font-size: 1.4rem;
    }

    .page-legal__content h3 {
        font-size: 1.1rem;
    }

    .section-conseil .wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 1rem 2rem;
    }

    .section-conseil__cta {
        position: relative;
        height: 200px;
        margin: 0;
    }

    .section-conseil .petale-verte {
        display: none;
    }

    .section-conseil .petale-marron {
        width: 100%;
        max-width: 320px;
        height: 200px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .section-conseil__dl {
        position: absolute;
        bottom: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, 50%);
        font-size: 14px;
        max-width: 220px;
    }

    .section-conseil__dl svg {
        bottom: -32px;
    }
}
