.legal-page {
    width: min(
        900px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding: 45px 0 90px;
}


/* =========================
   TITRE
   ========================= */

.legal-heading {
    margin-bottom: 48px;
}

.legal-heading h1 {
    margin: 0;

    font-size: clamp(45px, 7vw, 70px);
    line-height: .98;

    letter-spacing: -3px;
}

.legal-heading h1::after {
    content: "";

    display: block;

    width: 65px;
    height: 6px;

    margin-top: 16px;

    background: var(--header-green);

    border-radius: 10px;
}

.legal-heading p {
    max-width: 610px;

    margin: 26px 0 0;

    color: var(--grey);

    font-size: 17px;
    line-height: 1.6;
}


/* =========================
   ACCORDÉON
   ========================= */

.legal-accordions {
    border-top: 1px solid var(--border);
}

.legal-item {
    border-bottom: 1px solid var(--border);
}


/* enlève le triangle natif */

.legal-item summary {
    list-style: none;
}

.legal-item summary::-webkit-details-marker {
    display: none;
}


/* ligne cliquable */

.legal-item summary {
    min-height: 92px;

    padding: 22px 4px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    cursor: pointer;

    color: var(--black);

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -.6px;
}


/* =========================
   PLUS / MOINS
   ========================= */

.legal-plus {
    width: 26px;
    height: 26px;

    position: relative;

    flex: 0 0 26px;
}

.legal-plus::before,
.legal-plus::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 22px;
    height: 3px;

    border-radius: 4px;

    background: var(--coral);

    transform:
        translate(-50%, -50%);
}

.legal-plus::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);

    transition: transform .2s ease;
}


/* quand accordéon ouvert */

.legal-item[open] .legal-plus::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================
   CONTENU
   ========================= */

.legal-content {
    max-width: 760px;

    padding:
        0
        4px
        42px;
}

.legal-content h2 {
    margin:
        32px
        0
        11px;

    color: var(--green-dark);

    font-size: 19px;
    line-height: 1.2;
}

.legal-content h2:first-child {
    margin-top: 5px;
}

.legal-content p {
    margin:
        0
        0
        17px;

    color: #4f5650;

    font-size: 16px;
    line-height: 1.7;
}


/* petit effet au survol */

.legal-item summary:hover {
    color: var(--green-dark);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .legal-page {
        width: calc(100% - 32px);

        padding:
            32px
            0
            65px;
    }

    .legal-heading {
        margin-bottom: 38px;
    }

    .legal-heading h1 {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .legal-heading p {
        font-size: 16px;
    }

    .legal-item summary {
        min-height: 82px;

        padding:
            20px
            2px;

        font-size: 20px;
        line-height: 1.15;
    }

    .legal-plus {
        width: 23px;
        height: 23px;

        flex-basis: 23px;
    }

    .legal-plus::before,
    .legal-plus::after {
        width: 20px;
    }

    .legal-content {
        padding-bottom: 34px;
    }

    .legal-content h2 {
        font-size: 18px;
    }

    .legal-content p {
        font-size: 15px;
    }
}