/* --- FOOTER COMPACT & STYLÉ --- */
.app-footer {
    /* On se différencie du fond vert avec un bloc sombre */
    background-color: #1a1a1a;
    color: var(--white-green); /* Texte clair (ton variable) */

    /* Une bordure fine en haut pour marquer la séparation proprement */
    border-top: 4px solid var(--main-color);

    padding: 30px 0;
    margin-top: auto; /* Si tu utilises flex-column sur le body, ça pousse le footer en bas */
    position: relative;
    z-index: 10; /* S'assure qu'il est au dessus des éléments flottants éventuels */
}

.footer-container {
    /* Même alignement que ton .body-content (10% de marge) */
    margin: 0 10%;

    display: flex;
    justify-content: space-between; /* Ecarte le texte et le bouton */
    align-items: center; /* Centre verticalement */
    gap: 20px;
}

/* Typographie */
.footer-project-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7); /* Blanc légèrement transparent */
    line-height: 1.4;
    margin-bottom: 10px;
}

.footer-copyright {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 8px;
}

/* Le Bouton Email */
.btn-email {
    text-decoration: none;
    background-color: var(--main-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px; /* Bouton arrondi style "Pill" */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap; /* Empêche le texte du bouton de passer à la ligne */
    border: 2px solid transparent;
}

/* Effet Hover sur le bouton */
.btn-email:hover {
    background-color: transparent;
    border-color: var(--main-color);
    color: var(--main-color);
    transform: translateY(-2px); /* Petit effet de levitation */
    box-shadow: 0 5px 15px rgba(135, 189, 108, 0.3); /* Lueur verte */
}

/* --- RESPONSIVE MOBILE --- */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* On empile tout sur mobile */
        text-align: center;
        gap: 25px;
    }

    .footer-text {
        /* On évite les br sur mobile pour laisser le texte couler */
        br { display: none; }
    }

    .btn-email {
        width: 100%; /* Bouton pleine largeur sur mobile */
        display: block;
        text-align: center;
    }
}