/* ============ STYLES PARTAGÉS PAGES LÉGALES ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: #b39200; text-decoration: underline; }
a:hover { color: #FFD700; }
ul { padding-left: 20px; }

:root {
    --yellow: #FFD700;
    --yellow-dark: #E6B800;
    --black: #0a0a0a;
    --gray: #4a4a4a;
    --gray-light: #f5f5f5;
}

/* Header simplifié */
.legal-header {
    background: var(--black);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--yellow);
}
.legal-header-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.legal-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 1px;
    text-decoration: none;
}
.legal-logo-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--yellow);
    letter-spacing: 3px;
}
.legal-logo-sub {
    font-size: .6rem;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .3s;
}
.legal-back:hover { background: #fff; transform: translateY(-2px); color: var(--black); }

/* Hero bandeau */
.legal-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 70px 24px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.legal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.legal-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.legal-hero h1 span { color: var(--yellow); }
.legal-hero p {
    color: #ccc;
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}
.legal-hero small {
    display: block;
    color: var(--yellow);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 16px;
}

/* Contenu */
.legal-content {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.legal-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--black);
    margin: 50px 0 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--yellow);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 1.15rem;
    color: var(--black);
    margin: 24px 0 10px;
    font-weight: 700;
}
.legal-content p {
    margin-bottom: 14px;
    color: var(--gray);
}
.legal-content ul {
    margin-bottom: 14px;
    color: var(--gray);
}
.legal-content ul li { margin-bottom: 6px; }
.legal-content strong { color: var(--black); }

.info-box {
    background: #fffbe6;
    border-left: 4px solid var(--yellow);
    padding: 18px 22px;
    border-radius: 6px;
    margin: 20px 0;
}
.info-box strong { color: var(--black); }

.contact-box {
    background: var(--black);
    color: #fff;
    padding: 28px;
    border-radius: 12px;
    margin: 30px 0;
    border-top: 4px solid var(--yellow);
}
.contact-box h3 {
    color: var(--yellow);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.contact-box p { color: #ddd; margin-bottom: 6px; }
.contact-box a { color: var(--yellow); }

/* Footer simplifié */
.legal-footer {
    background: var(--black);
    color: #888;
    padding: 30px 24px;
    text-align: center;
    font-size: .85rem;
    border-top: 3px solid var(--yellow);
}
.legal-footer a { color: #aaa; margin: 0 10px; }
.legal-footer a:hover { color: var(--yellow); }
.legal-footer p { margin-bottom: 10px; }

/* Table des matières */
.toc {
    background: var(--gray-light);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--yellow);
}
.toc strong {
    display: block;
    margin-bottom: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.toc ol { padding-left: 20px; }
.toc ol li { margin-bottom: 6px; }
.toc a { color: #4a4a4a; text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--yellow-dark); text-decoration: underline; }

@media (max-width: 640px) {
    .legal-content { padding: 40px 20px 60px; }
    .legal-content h2 { font-size: 1.4rem; }
}
