/* =================== Pages Légales ==================== */
.page-legal {
    display: flex;
    width: 100%;
    max-width: 1420px;
    padding: 50px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}


/* =================== Hero ==================== */
.legal-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.legal-label {
    color: var(--text-secondary);
    font-family: Baskervville;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}


/* =================== Contenu ==================== */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: stretch;
}


/* =================== Section article ==================== */
.legal-section {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 25px;
    align-items: start;

    padding: 35px 40px;
    border-radius: 20px;
    border: 0.5px solid var(--border-default);
    background: var(--surface-2);

    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.legal-section:nth-child(even) {
    background: var(--surface-1);
}

.legal-section:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

/* Numéro d'article — décoratif */
.section-num {
    color: var(--text-primary);
    font-family: Baskervville;
    font-size: 36px;
    font-weight: 700;
    opacity: 0.15;
    line-height: 1;
    text-align: right;
    padding-top: 6px;
    user-select: none;
}

.section-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-body h3 {
    align-items: flex-start;
    margin-bottom: 4px;
}

.section-body p {
    color: var(--text-secondary);
    font-family: Baskervville;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
    display: block;
}

.section-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.section-body ul {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-body ul li {
    color: var(--text-secondary);
    font-family: Baskervville;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

.section-body ul li strong {
    color: var(--text-primary);
}

.section-body a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease-in-out;
}

.section-body a:hover {
    color: var(--text-primary);
}


/* =================== Responsive ==================== */
@media screen and (max-width: 768px) {
    .legal-section {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 15px;
        padding: 25px 20px;
    }

    .section-num {
        font-size: 24px;
    }

    .section-body p,
    .section-body ul li {
        font-size: 16px;
    }
}

@media screen and (max-width: 580px) {
    .legal-section {
        grid-template-columns: 1fr;
    }

    .section-num {
        display: none;
    }
}