.legal-page,
.legal-container {
    flex: 1;
    width: min(900px, calc(100% - 40px));
    margin: clamp(40px, 6vh, 60px) auto clamp(70px, 10vh, 120px);
    text-align: center;
}

.legal-container {
    width: min(1200px, calc(100% - 40px));
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.legal-title,
.legal-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-transform: uppercase;
    color: var(--neutre-bordeaux);
    margin: 0 0 40px 0;
    line-height: 1.1;
}

.legal-main-title {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 18px;
}

.legal-title .highlight {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.legal-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -2%;
    width: 104%;
    height: 30%;
    background-color: var(--adn-jaune);
    z-index: -1;
    transform: skewX(-15deg);
    opacity: 0.9;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

/* Variante "carte" utilisée sur la page confidentialité */
.legal-container .legal-section {
    margin-top: 22px;
    margin-bottom: 0;
    padding: 18px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
}

.legal-section h2,
.legal-title-section {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--neutre-bleu);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.legal-container .legal-section h2 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-family: 'Manrope', sans-serif;
}

.legal-section p,
.legal-section ul {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 12px 0;
}

.legal-container .legal-section p,
.legal-container .legal-section ul {
    line-height: 1.85;
}

.legal-container .legal-section ul {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
    display: inline-block;
}

.legal-container .legal-section li {
    margin: 6px 0;
}

.legal-section strong {
    color: var(--texte);
}

.legal-link,
.legal-section a {
    color: var(--neutre-bordeaux);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.legal-container .legal-section a {
    color: var(--neutre-bleu);
    font-weight: 400;
}

.legal-link:hover,
.legal-section a:hover {
    border-bottom-color: var(--adn-jaune);
}
