
/* =========================================================
   JUDO ADMINISTRATOR
   FOOTER MODERNE
========================================================= */

.judo-footer {
    background: #111827;
    color: #cbd5e1;
    font-size: 14px;
}

/* =========================================================
   CONTENU PRINCIPAL
========================================================= */

.judo-footer-main {
    padding-top: 65px;
    padding-bottom: 55px;
}

/* TITRES */

.judo-footer-title {
    position: relative;

    margin-bottom: 26px;
    padding-bottom: 14px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
}

.judo-footer-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 35px;
    height: 3px;

    border-radius: 3px;
    background: #3b82f6;
}

/* =========================================================
   LIENS AVEC CEINTURES
========================================================= */

.judo-footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.judo-footer-links li {
    margin: 0;
    padding: 0;
}

.judo-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #cbd5e1;
    font-size: 14px;
    font-weight: 400;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

/* IMAGES DES CEINTURES */

.judo-footer-links img {
    display: block;

    width: 24px;
    height: 24px;

    flex-shrink: 0;
    object-fit: contain;

    transition: transform .2s ease;
}

/* SURVOL */

.judo-footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.judo-footer-links a:hover img {
    transform: scale(1.12);
}

/* =========================================================
   LOGO
========================================================= */

.judo-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.judo-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    max-width: 100%;
    padding: 12px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    background: rgba(255,255,255,.05);

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.judo-footer-logo:hover {
    background: rgba(255,255,255,.09);
    transform: translateY(-2px);
}

.judo-footer-logo-img {
    display: block;

    width: 150px;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

.judo-footer-brand-text {
    margin: 18px 0 20px;

    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   RÉSEAUX SOCIAUX
========================================================= */

.judo-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.judo-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;

    background: rgba(255,255,255,.05);

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.judo-footer-social a:hover {
    background: rgba(59,130,246,.15);
    border-color: rgba(59,130,246,.45);
    transform: translateY(-3px);
}

.judo-footer-social img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* =========================================================
   SÉPARATEUR
========================================================= */

.judo-footer-divider {
    width: 100%;
    height: 1px;

    background: rgba(255,255,255,.10);
}

/* =========================================================
   BAS DU FOOTER
========================================================= */

.judo-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;

    padding: 25px 0 30px;
}

.judo-footer-copyright,
.judo-footer-credit {
    margin: 0;

    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

.judo-footer-credit a {
    color: #cbd5e1;
    font-weight: 600;
    text-decoration: none;

    transition: color .2s ease;
}

.judo-footer-credit a:hover {
    color: #ffffff;
}

/* ACCESSIBILITÉ */

.judo-footer a:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
    border-radius: 4px;
}

/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 991.98px) {

    .judo-footer-main {
        padding-top: 50px;
        padding-bottom: 40px;
    }

}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .judo-footer-main {
        padding-top: 40px;
        padding-bottom: 35px;
    }

    .judo-footer-title {
        margin-bottom: 20px;
    }

    .judo-footer-links {
        gap: 13px;
    }

    .judo-footer-brand {
        align-items: center;
        text-align: center;
    }

    .judo-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

}


/* =========================================================
   JUDO ADMINISTRATOR
   RETOUR EN HAUT DE PAGE
========================================================= */

.judo-back-to-top {
    display: flex;
    justify-content: center;

    padding: 22px 15px;

    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.judo-back-to-top-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #e2e8f0;
    text-decoration: none;

    transition: color .25s ease;
}

.judo-back-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;

    background: rgba(255, 255, 255, .06);

    font-size: 18px;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.judo-back-to-top-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

.judo-back-to-top-link:hover {
    color: #ffffff;
}

.judo-back-to-top-link:hover .judo-back-to-top-icon {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, .2);
    border-color: #3b82f6;
}

.judo-back-to-top-link:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 5px;
    border-radius: 8px;
}

/* Défilement fluide */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .judo-back-to-top-icon {
        transition: none;
    }
}


/* =========================================================
   JUDO ADMINISTRATOR
   MODAL POLITIQUE DE CONFIDENTIALITÉ
========================================================= */

.policy-modal {
    --policy-primary: #183153;
    --policy-primary-dark: #10243d;
    --policy-accent: #3b82f6;
    --policy-text: #334155;
    --policy-muted: #64748b;
    --policy-border: #e2e8f0;
    --policy-background: #f8fafc;
}

/* =========================================
   CONTENEUR
========================================= */

.policy-modal .modal-dialog {
    max-width: 1050px;
}

.policy-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.22);
}

/* =========================================
   HEADER
========================================= */

.policy-modal .modal-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 38px;
    border-bottom: none;

    background: linear-gradient(
        135deg,
        var(--policy-primary-dark),
        var(--policy-primary)
    );

    color: #ffffff;
}

.policy-modal-heading {
    max-width: 760px;
}

.policy-modal-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
}

.policy-modal .modal-title {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 750;
    line-height: 1.25;
    color: #ffffff;
}

.policy-modal-subtitle {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
}

.policy-modal .btn-close {
    flex-shrink: 0;
    margin: 0;
    padding: 8px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.policy-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.policy-modal .btn-close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    box-shadow: none;
}

/* =========================================
   BODY
========================================= */

.policy-modal .modal-body {
    padding: 36px 42px;
    background: #ffffff;
    overscroll-behavior: contain;
}

.policy-modal-document {
    max-width: 900px;
    margin: 0 auto;
}

.policy-modal-document-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--policy-primary);
}

.policy-modal-divider {
    width: 65px;
    height: 4px;
    margin-bottom: 30px;
    border-radius: 4px;
    background: var(--policy-accent);
}

/* =========================================
   CONTENU JURIDIQUE
========================================= */

.policy-modal-text {
    color: var(--policy-text);
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.policy-modal-text h1,
.policy-modal-text h2,
.policy-modal-text h3,
.policy-modal-text h4 {
    margin-top: 30px;
    margin-bottom: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--policy-primary);
}

.policy-modal-text h1 {
    font-size: 23px;
}

.policy-modal-text h2 {
    font-size: 20px;
}

.policy-modal-text h3 {
    font-size: 17px;
}

.policy-modal-text h4 {
    font-size: 15px;
}

.policy-modal-text p {
    margin-bottom: 16px;
}

.policy-modal-text ul,
.policy-modal-text ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.policy-modal-text li {
    margin-bottom: 8px;
}

.policy-modal-text strong {
    color: #1e293b;
    font-weight: 700;
}

.policy-modal-text a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-modal-text a:hover {
    color: #1d4ed8;
}

/* TABLEAUX ÉVENTUELS */

.policy-modal-text table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 13px;
}

.policy-modal-text th,
.policy-modal-text td {
    padding: 12px 14px;
    border: 1px solid var(--policy-border);
    text-align: left;
}

.policy-modal-text th {
    background: var(--policy-background);
    color: var(--policy-primary);
    font-weight: 700;
}

/* =========================================
   FOOTER
========================================= */

.policy-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 38px;

    background: var(--policy-background);
    border-top: 1px solid var(--policy-border);
}

.policy-modal-update {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--policy-muted);
    font-size: 12px;
}

.policy-modal-update i {
    color: var(--policy-accent);
    font-size: 15px;
}

/* BOUTON FERMER */

.policy-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 11px 24px;
    border: none;
    border-radius: 10px;

    background: var(--policy-primary);
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.policy-modal-close:hover {
    background: var(--policy-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(24, 49, 83, 0.2);
}

.policy-modal-close:focus-visible {
    outline: 3px solid var(--policy-accent);
    outline-offset: 3px;
}

/* =========================================
   TABLETTE
========================================= */

@media (max-width: 991.98px) {

    .policy-modal .modal-dialog {
        max-width: calc(100% - 32px);
        margin: 16px auto;
    }

    .policy-modal .modal-header {
        padding: 26px;
    }

    .policy-modal .modal-body {
        padding: 28px;
    }

    .policy-modal .modal-footer {
        padding: 18px 26px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {

    .policy-modal .modal-dialog {
        max-width: calc(100% - 20px);
        margin: 10px auto;
    }

    .policy-modal .modal-content {
        border-radius: 14px;
    }

    .policy-modal .modal-header {
        padding: 22px 20px;
    }

    .policy-modal .modal-title {
        font-size: 21px;
    }

    .policy-modal-subtitle {
        font-size: 12px;
    }

    .policy-modal .modal-body {
        padding: 24px 20px;
    }

    .policy-modal-document-title {
        font-size: 19px;
    }

    .policy-modal-text {
        font-size: 13px;
    }

    .policy-modal .modal-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px;
    }

    .policy-modal-update {
        justify-content: center;
        text-align: center;
    }

    .policy-modal-close {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .policy-modal .btn-close,
    .policy-modal-close {
        transition: none;
    }
}

