/* Shared legal lightbox (CGU / Politique de confidentialité) */
.ss-modal[hidden] {
    display: none !important;
}

.ss-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.ss-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.ss-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    padding: 28px 32px 36px;
    box-sizing: border-box;
}

.ss-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 2;
    appearance: none;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    margin: -8px -8px 0 12px;
}

.ss-modal__close:hover,
.ss-modal__close:focus-visible {
    color: #4c8dd8;
}

.ss-modal__body {
    clear: both;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.ss-modal__body h1 {
    margin: 0 0 18px;
    color: #4c8dd8;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.ss-modal__body h2 {
    margin: 22px 0 10px;
    color: #4c8dd8;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.ss-modal__body p {
    margin: 0 0 12px;
}

.ss-modal__body ul {
    margin: 0 0 12px;
    padding-left: 1.4em;
}

.ss-modal__body li {
    margin-bottom: 4px;
}

.ss-modal__body strong {
    font-weight: 700;
}
