/* ==========================================================
   FOOTER — GRENOBLE POKER PONTOIS
   ========================================================== */

.gp-footer {
    background: #090c10;
    color: #bfc5cd;
    font-family: var(--gp-font-primary);
    padding: 22px 0;
    text-align: left;
}

.gp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Bootstrap 3 : neutralisation du clearfix dans Flexbox */

.gp-footer-inner::before,
.gp-footer-inner::after {
    display: none;
}

/* ==========================================================
   IDENTITÉ DU CLUB
   ========================================================== */

.gp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.gp-footer-brand:hover,
.gp-footer-brand:focus {
    text-decoration: none;
}

.gp-footer-logo {
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e30628;
}

.gp-footer-brand-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.gp-footer-brand-name strong {
    color: #ffffff;
    font-weight: 800;
}

/* ==========================================================
   LIENS JURIDIQUES
   ========================================================== */

.gp-footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.gp-footer-legal a {
    color: #bfc5cd;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.gp-footer-legal a:hover,
.gp-footer-legal a:focus {
    color: #ff405b;
    text-decoration: none;
}

/* ==========================================================
   COPYRIGHT
   ========================================================== */

.gp-footer-copyright {
    margin: 0;
    color: #9ca4ad;
    font-size: 11px;
    text-align: right;
    line-height: 1.5;
    flex-shrink: 0;
}

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

.gp-footer-mobile-social {
    display: none;
}

.gp-footer-mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #252b32;
    border: 1px solid #343b44;
    border-radius: 6px;
}

.gp-footer-mobile-social img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

@media (min-width: 768px) and (max-width: 1199px) {

    .gp-footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 30px;
    }

    .gp-footer-brand {
        margin-right: auto;
    }

    .gp-footer-copyright {
        margin-left: auto;
    }

    .gp-footer-legal {
        order: 3;
        width: 100%;
    }

}

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

@media (max-width: 767px) {

    .gp-footer {
        padding: 30px 0 22px;
    }

    .gp-footer-inner {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }

    /* Réseaux sociaux en haut */

    .gp-footer-mobile-social {
        display: grid;
        grid-template-columns: repeat(3, 42px);
        gap: 12px;
        justify-content: center;
    }

    /* Liens juridiques */

    .gp-footer-legal {
        order: 1;
        width: 100%;
        gap: 12px 18px;
    }

    .gp-footer-legal a {
        font-size: 12px;
    }

    /* Séparateur rouge avant le logo */

    .gp-footer-brand {
        order: 2;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        padding-top: 24px;
        border-top: 1px solid #e30628;
    }

    .gp-footer-logo {
        width: 70px;
        height: 70px;
    }

    .gp-footer-brand-name {
        font-size: 14px;
    }

    /* Copyright */

    .gp-footer-copyright {
        order: 3;
        text-align: center;
        font-size: 11px;
    }

    .gp-footer-rights {
        display: block;
    }

}
