/* Footer en bas de page */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto; /* pousse le footer en bas si contenu court */
    background-color: #34657f; /* même couleur que navbar si souhaité */
    padding: 0.5rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

/* Lien souligné et blanc */
.footer a {
    color: white !important;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #dceaf2 !important;
}

/* Texte adaptatif selon la taille de l’écran */

/* Mobile (petit écran) */
@media (max-width: 767.98px) {
    .footer {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 991.98px) {
    .footer {
        font-size: 1rem;
        padding: 0.7rem 0;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .footer {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
}
