
/* WikiMusic — Mentions légales.
   CSS isolé : pas de modification du header/footer.
*/

.wm-mentions {
    --ml-bg: #001225;
    --ml-panel: #081b34;
    --ml-text: #faf6ff;
    --ml-muted: #a7b9dc;
    --ml-purple: #b976ed;
    --ml-pink: #ff4d80;
    --ml-line: #263c60;

    background: radial-gradient(ellipse at 95% 12%, rgba(83, 38, 142, .19), transparent 42%), var(--ml-bg);
    color: var(--ml-text);
    font: 15px/1.8 Arial, Helvetica, sans-serif;
    padding: 0 0 90px;
    isolation: isolate;
}

.wm-mentions * {
    box-sizing: border-box;
}

.wm-mentions a {
    color: #d6aaff;
    text-decoration: none;
    text-underline-offset: 4px;
}

.wm-mentions a:hover {
    text-decoration: underline;
    color: #fff;
}

.wm-mentions a:focus-visible,
.wm-mentions summary:focus-visible {
    outline: 2px solid var(--ml-pink);
    outline-offset: 4px;
}

.wm-mentions .wml-container {
    width: min(1280px, calc(100% - 72px));
    margin-inline: auto;
}

/* Fil d'Ariane */

.wml-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 23px 0 22px;
    font-size: 13px;
    color: #b6c8e8;
}

.wml-breadcrumb a {
    color: #ca95fa;
}

.wml-breadcrumb > span[aria-hidden] {
    color: #d8dfef;
}

/* Hero */

.wml-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ml-line);
    overflow: hidden;
}

.wml-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 710px;
    padding: 18px 0 34px;
}

.wml-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #cc9ef7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 10px;
}

.wml-eyebrow svg {
    height: 15px;
    width: 15px;
}

.wml-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.4vw, 72px);
    letter-spacing: -.055em;
    line-height: 1.03;
    margin: 0 0 24px;
    font-weight: 700;
}

.wml-hero h1 span {
    color: var(--ml-purple);
}

.wml-lead {
    color: #d3e3ff;
    font-size: 17px;
    max-width: 670px;
    line-height: 1.85;
    margin: 0 0 25px;
}

.wml-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wml-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #2d486e;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 12px;
    color: #c3d7fd;
}

.wml-meta svg {
    height: 13px;
    width: 13px;
}

.wml-mascot {
    position: absolute;
    right: 8px;
    bottom: -35px;
    height: 390px;
    width: 390px;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(140, 57, 214, .23));
    pointer-events: none;
}

/* Mise en page */

.wml-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 62px;
    padding-top: 30px;
    align-items: start;
}

/* Sommaire latéral */

.wml-sidebar {
    position: sticky;
    top: 26px;
}

.wml-sidebar-inner {
    padding: 20px 18px;
    background: rgba(9, 27, 49, .76);
    border: 1px solid #2c466a;
    border-radius: 17px;
}

.wml-sidebar-title {
    font-size: 10px;
    color: #bad0f8;
    font-weight: 700;
    letter-spacing: .2em;
    padding: 0 4px 15px;
}

.wml-sidebar nav {
    display: grid;
    gap: 2px;
}

.wml-sidebar nav a {
    display: flex;
    gap: 12px;
    padding: 11px 4px;
    line-height: 1.5;
    color: #e5edff;
    font-size: 14px;
    border-radius: 8px;
}

.wml-sidebar nav a:hover {
    background: rgba(185, 118, 237, .08);
    text-decoration: none;
}

.wml-sidebar nav a span {
    color: #c979fc;
    flex: none;
    font-weight: 700;
}

/* Bloc d'aide latéral */

.wml-side-help {
    margin-top: 25px;
    padding: 17px;
    border: 1px solid #354676;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 72, 177, .15), rgba(30, 38, 76, .22));
    display: grid;
    gap: 5px;
}

.wml-side-help > svg {
    height: 20px;
    width: 20px;
    color: #e6acff;
}

.wml-side-help strong {
    font-size: 14px;
}

.wml-side-help > span {
    font-size: 12px;
    color: var(--ml-muted);
}

.wml-side-help a {
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

.wml-side-help a svg {
    height: 13px;
    width: 13px;
    vertical-align: middle;
}

/* Encadré d'information */

.wml-notice {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    border-left: 3px solid var(--ml-purple);
    background: rgba(185, 118, 237, .07);
    padding: 13px 17px;
    color: #d7e3fc;
    font-size: 13px;
    margin-bottom: 33px;
}

.wml-notice svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: #d9acff;
    margin-top: 2px;
}

.wml-notice p {
    margin: 0;
}

/* Sections juridiques */

.wml-section {
    border-bottom: 1px solid var(--ml-line);
    padding: 0 0 29px;
    margin-bottom: 32px;
    scroll-margin-top: 35px;
}

.wml-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.25;
    font-size: clamp(24px, 2.4vw, 32px);
    margin: 0 0 21px;
}

.wml-number {
    font: 700 12px/1.2 Arial, Helvetica, sans-serif;
    color: #e2a1ff;
    letter-spacing: 0;
    flex: none;
    padding: 9px 10px;
    background: #151631;
    border: 1px solid #453273;
    border-radius: 11px;
}

.wml-section p {
    color: #d4e2fb;
    margin: 0 0 15px;
    font-size: 15px;
    line-height: 1.85;
}

.wml-section p:last-child {
    margin-bottom: 0;
}

.wml-section strong {
    color: #fff;
}

.wml-section .wml-small {
    font-size: 12px;
    color: var(--ml-muted);
    margin-top: 13px;
}

/* Tableau des informations légales */

.wml-facts {
    border: 1px solid var(--ml-line);
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0 0;
}

.wml-facts > div {
    display: grid;
    grid-template-columns: 39% 1fr;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--ml-line);
    background: rgba(255, 255, 255, .016);
}

.wml-facts > div:nth-child(even) {
    background: rgba(255, 255, 255, .032);
}

.wml-facts > div:last-child {
    border-bottom: 0;
}

.wml-facts span {
    color: var(--ml-muted);
    font-size: 13px;
}

.wml-facts strong {
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.wml-facts em {
    font-style: normal;
    color: #e9a1c5;
}

/* Hébergeur */

.wml-host {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #31456e;
    background: linear-gradient(110deg, rgba(117, 61, 177, .13), rgba(8, 27, 52, .55));
    padding: 19px 22px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.wml-host-icon {
    display: grid;
    place-items: center;
    flex: none;
    height: 50px;
    width: 50px;
    border-radius: 13px;
    background: #292047;
    color: #daabff;
}

.wml-host-icon svg {
    width: 26px;
    height: 26px;
}

.wml-host > div:last-child {
    display: grid;
    gap: 3px;
}

.wml-host strong {
    font-size: 18px;
}

.wml-host span {
    font-size: 13px;
    color: #c3d2f3;
}

.wml-host a,
.wml-link-panel a {
    font-size: 13px;
}

.wml-host a svg,
.wml-link-panel a svg {
    height: 13px;
    width: 13px;
    vertical-align: middle;
}

/* Panneau de liens */

.wml-link-panel {
    display: flex;
    gap: 17px;
    background: #0a1c36;
    border: 1px solid #2c4268;
    border-radius: 14px;
    padding: 19px;
    margin: 18px 0;
}

.wml-link-panel > svg {
    color: #d3a0ff;
    width: 27px;
    height: 27px;
    flex: none;
}

.wml-link-panel > div {
    display: grid;
    gap: 5px;
}

.wml-link-panel strong {
    font-size: 14px;
}

/* Bouton de contact */

.wml-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(110deg, #a55be5, #ef4c90);
    color: white !important;
    border-radius: 11px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    margin-top: 7px;
}

.wml-contact-button:hover {
    text-decoration: none !important;
    filter: brightness(1.12);
}

.wml-contact-button svg {
    width: 16px;
    height: 16px;
}

/* Bloc de bas de page */

.wml-bottom {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    background: linear-gradient(120deg, rgba(73, 43, 126, .25), rgba(8, 27, 52, .8));
    border: 1px solid #364472;
    border-radius: 16px;
}

.wml-bottom > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.wml-bottom > div > svg {
    height: 30px;
    width: 30px;
    flex: none;
    color: #d8a1ff;
}

.wml-bottom > div > div {
    display: grid;
    gap: 3px;
}

.wml-bottom strong {
    font-size: 13px;
}

.wml-bottom span {
    font-size: 12px;
    color: var(--ml-muted);
}

.wml-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    white-space: nowrap;
}

/* Sommaire mobile */

.wml-mobile-toc {
    display: none;
}

/* Tablettes et petits écrans */

@media (max-width: 1100px) {
    .wml-hero-copy {
        max-width: 65%;
    }

    .wml-mascot {
        width: 350px;
        height: 350px;
        right: -25px;
    }

    .wml-layout {
        gap: 34px;
        grid-template-columns: 245px minmax(0, 1fr);
    }

    .wml-bottom {
        display: block;
    }

    .wml-bottom nav {
        margin-top: 15px;
    }
}

/* Smartphones */

@media (max-width: 760px) {
    .wm-mentions .wml-container {
        width: min(100% - 36px, 620px);
    }

    .wml-breadcrumb {
        padding: 16px 0 12px;
    }

    .wml-hero {
        min-height: 0;
        display: block;
        padding-bottom: 185px;
    }

    .wml-hero-copy {
        max-width: 100%;
        padding: 9px 0 0;
    }

    .wml-hero h1 {
        font-size: clamp(40px, 9vw, 56px);
        margin-bottom: 15px;
    }

    .wml-lead {
        font-size: 14px;
        line-height: 1.7;
        max-width: 95%;
    }

    .wml-meta span {
        font-size: 11px;
        padding: 4px 9px;
    }

    .wml-mascot {
        height: 235px;
        width: 235px;
        bottom: -48px;
        right: 0;
    }

    .wml-layout {
        display: block;
        padding-top: 22px;
    }

    .wml-sidebar {
        display: none;
    }

    .wml-mobile-toc {
        display: block;
        background: #091b34;
        border: 1px solid #2b4366;
        border-radius: 12px;
        margin: 18px 0 0;
        overflow: hidden;
    }

    .wml-mobile-toc summary {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 15px;
        cursor: pointer;
        color: #e8ddff;
        font-weight: 700;
        list-style: none;
        font-size: 13px;
    }

    .wml-mobile-toc summary::-webkit-details-marker {
        display: none;
    }

    .wml-mobile-toc summary svg {
        height: 17px;
        width: 17px;
    }

    .wml-mobile-toc nav {
        display: grid;
        border-top: 1px solid var(--ml-line);
        padding: 7px 15px 13px;
    }

    .wml-mobile-toc nav a {
        padding: 6px 0;
        color: #cbd9f6;
        font-size: 12px;
    }

    .wml-section {
        padding-bottom: 23px;
        margin-bottom: 27px;
    }

    .wml-section h2 {
        gap: 12px;
        font-size: 26px;
    }

    .wml-section p {
        font-size: 14px;
    }

    .wml-facts > div {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 12px 13px;
    }

    .wml-host {
        padding: 15px;
    }

    .wml-bottom {
        padding: 17px;
    }
}

/* Animations et transitions */

@media (prefers-reduced-motion: no-preference) {
    .wm-mentions a,
    .wml-contact-button {
        transition: color .2s, background .2s, filter .2s;
    }
}
