.legal {
    background-color: var(--white);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 768px) {
    .legal {
        gap: 64px;
        padding: 64px 20px;
    }
}

.th-dark .legal {
    --color-title: var(--neutre-100);
}

.th-dore .legal {
    --color-title: var(--ocre-100);
}

.th-light .legal {
    --color-title: var(--neutre-100);
}

@media screen and (min-width: 768px) {
    .legal .co-text {
        align-items: center;
    }
}

.legal .co-text h1,
.legal .co-text .co-text--content p {
    text-align: center;
}

.legal .co-text h1 {
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 56px;
    max-width: 680px;
    margin: 0 auto 32px auto;
}

@media screen and (min-width: 768px) {
    .legal .co-text h1 {
        font-size: 48px;
    }
}

.legal--container h2 {
    margin-bottom: 16px;
}

.legal--container h3 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 36px;
    color: var(--color-title);
}

@media screen and (min-width: 1200px) {
    .legal--container h3 {
        font-size: 28px;
    }
}

.legal--container p {
    margin-bottom: 16px;
}

.legal--container ul {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal--container ul li{
    font-family: var(--roboto);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.legal--container ul + h2 {
    margin-top: 32px;
}

.legal--container ul + p {
    margin-top: 32px;
}

.legal--container p+h2 {
    margin-top: 32px;
}

.legal--container p+h3 {
    margin-top: 32px;
}

.legal--container a {
    font-family: var(--roboto);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration-line: underline;
    color: var(--ocre-100);
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .legal--container a:hover {
        opacity: 0.5;
    }
}