/* === Footer PRIMEDIS === */
.custom-footer {
    background: linear-gradient(90deg, rgba(15,27,49,0.98) 0%, rgba(31,111,235,0.95) 100%);
    color: #e6edf3;
    font-size: 0.85rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Open Sans', sans-serif;
}

.custom-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.custom-footer .footer-left,
.custom-footer .footer-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.custom-footer .footer-left img {
    height: 28px;
    margin-right: 8px;
}

.custom-footer a {
    color: #9fb0c4;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.custom-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-footer .social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.custom-footer .social-icons a i {
    color: #e6edf3;
    font-size: 0.9rem;
}

.custom-footer .social-icons a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-footer .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .custom-footer .footer-left,
    .custom-footer .footer-right {
        justify-content: center;
    }
}

/* Forcer les modales à passer devant tout */
.modal {
    z-index: 2000 !important;
}
.modal-backdrop {
    z-index: 1999 !important;
}
