/* ── Hero compact ── */
.legal-hero {
    background: var(--dark-deep);
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}
.legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 300px at 80% 50%, rgba(231,76,60,.10), transparent 60%);
    pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero h1 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.08;
    color: var(--white);
    margin: 14px 0 14px;
}
.legal-hero p {
    font-size: 15px;
    color: rgba(255,255,255,.50);
    font-weight: 300;
    margin: 0;
}
.legal-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.35);
    margin-bottom: 18px;
}
.legal-hero .breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.legal-hero .breadcrumb a:hover { color: rgba(255,255,255,.75); }
.legal-hero .breadcrumb span { color: rgba(255,255,255,.25); }

/* ── Layout principal ── */
.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
    padding: 64px 0 88px;
}

/* ── Sommaire flottant ── */
.legal-toc {
    position: sticky;
    top: 84px;
}
.legal-toc h3 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hint);
    margin: 0 0 14px;
}
.legal-toc nav { display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    border-left: 2px solid transparent;
    transition: color .15s, border-color .15s, background .15s;
    line-height: 1.4;
}
.legal-toc a:hover {
    color: var(--dark);
    background: var(--off-white);
    border-left-color: var(--border);
}
.legal-toc a.active {
    color: var(--red);
    border-left-color: var(--red);
    background: var(--red-light);
    font-weight: 500;
}

/* ── Contenu légal ── */
.legal-content { max-width: 720px; }

.legal-section {
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border-sm);
    margin-bottom: 52px;
}
.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.legal-section-num::before {
    content: "";
    width: 16px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin: 0 0 20px;
    line-height: 1.2;
}

.legal-section p {
    font-size: 15px;
    color: #4A4A52;
    line-height: 1.78;
    font-weight: 300;
    margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section strong {
    font-weight: 600;
    color: var(--dark);
}

/* Carte info entreprise */
.legal-infocard {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
}
.legal-infocard-item {}
.legal-infocard-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--hint);
    margin-bottom: 4px;
}
.legal-infocard-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.5;
}
.legal-infocard-value a {
    color: var(--red);
    text-decoration: none;
}
.legal-infocard-value a:hover { text-decoration: underline; }

/* Bloc mise en avant (droits, durées) */
.legal-highlight {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 20px 0;
}
.legal-highlight p {
    font-size: 14px;
    margin: 0;
    color: var(--muted);
}
.legal-highlight strong { color: var(--dark); }

/* Liste custom */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: #4A4A52;
    font-weight: 300;
    line-height: 1.6;
}
.legal-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    margin-top: 8px;
}

/* Tag date */
.legal-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 0; }
    .legal-toc {
        position: static;
        background: var(--off-white);
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 40px;
    }
    .legal-hero h1 { font-size: 30px; }
    .legal-infocard { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
    .legal-hero { padding: 52px 0 40px; }
    .legal-hero h1 { font-size: 24px; }
    .legal-layout { padding: 40px 0 56px; }
    .legal-section { padding-bottom: 36px; margin-bottom: 36px; }
    .legal-section h2 { font-size: 18px; }
}
