/*
|--------------------------------------------------------------------------
| MON ESPACE PERSONNEL / PAGES SYSTÈME / 404
|--------------------------------------------------------------------------
| Feuille volontairement autonome et chargée après app.css afin de rester
| fidèle à la structure CARPRASSUR sans modifier les styles globaux.
*/

.system-page-wrap {
    background: #ffffff !important;
}

.system-page {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: #182765 !important;
    padding: 78px 24px 92px !important;
}

.system-page__inner {
    width: min(980px, 100%) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.system-page__eyebrow {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 12px !important;
    color: #3d63d6 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.system-page__header {
    width: min(760px, 100%) !important;
    margin: 0 auto 46px !important;
    text-align: center !important;
}

.system-page .system-page__title {
    margin: 0 0 22px !important;
    color: #182765 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.system-page .system-page__intro,
.system-page .system-page__status-text,
.system-page .system-page__social-text {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #707070 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
}

.system-page .system-page__intro {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.system-page__visual {
    width: min(760px, 100%) !important;
    margin: 0 auto 44px !important;
    text-align: center !important;
}

.system-page__image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.system-page__status {
    width: min(640px, 100%) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.system-page .system-page__status-title,
.system-page .system-page__social-title {
    margin: 0 !important;
    color: #182765 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.system-page__progress {
    width: min(520px, 100%) !important;
    margin: 30px auto 0 !important;
}

.system-page__progress-track {
    position: relative !important;
    width: 100% !important;
    height: 7px !important;
    overflow: hidden !important;
    background: #e6e6e6 !important;
}

.system-page__progress-value {
    display: block !important;
    height: 100% !important;
    background: #3d63d6 !important;
}

.system-page__progress-labels {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 9px !important;
    color: #707070 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
}

.system-page__social-block {
    width: min(700px, 100%) !important;
    margin: 64px auto 0 !important;
    padding-top: 50px !important;
    border-top: 1px solid #ececec !important;
    text-align: center !important;
}

.system-page .system-page__social-text {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

.system-page__socials {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-top: 26px !important;
}

.system-page__social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 9px !important;
    border: 1px solid #182765 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    overflow: visible !important;
    clip-path: none !important;
    transition: transform .2s ease, background .2s ease !important;
}

.system-page__social-link:hover {
    background: #f3f5fb !important;
    transform: translateY(-2px) !important;
}

.system-page__social-link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.system-page__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin: 34px auto 0 !important;
}

.system-page__button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 190px !important;
    min-height: 48px !important;
    padding: 15px 26px !important;
    border: 1px solid #182765 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    overflow: visible !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

.system-page__button::before,
.system-page__button::after {
    content: none !important;
    display: none !important;
}

.system-page__button--primary {
    background: #182765 !important;
    color: #ffffff !important;
}

.system-page__button--secondary {
    background: #ffffff !important;
    color: #182765 !important;
}

.system-page__status-text {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

/* 404 : un peu plus compacte que la page espace personnel. */
.system-page-wrap--404 .system-page {
    padding-top: 64px !important;
    padding-bottom: 76px !important;
}

.system-page-wrap--404 .system-page__header {
    margin-bottom: 34px !important;
}

.system-page-wrap--404 .system-page__visual {
    width: min(620px, 100%) !important;
    margin-bottom: 34px !important;
}

@media (max-width: 700px) {
    .system-page {
        padding: 48px 18px 64px !important;
    }

    .system-page__header {
        margin-bottom: 32px !important;
    }

    .system-page .system-page__title {
        font-size: 24px !important;
        letter-spacing: 3px !important;
    }

    .system-page .system-page__status-title,
    .system-page .system-page__social-title {
        font-size: 18px !important;
        letter-spacing: 2.2px !important;
    }

    .system-page__visual {
        margin-bottom: 34px !important;
    }

    .system-page__social-block {
        margin-top: 48px !important;
        padding-top: 38px !important;
    }

    .system-page__actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .system-page__button {
        width: 100% !important;
    }
}
