/* === 🦾 Footer principal === */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 46px 0 28px;
    font-family: var(--font-main);
}

html[data-theme="dark"] .footer {
    background: #070707;
}

/* 📌 Conteneur principal */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 24px;
}


/* 📍 Section gauche */
.footer-left ul {
    list-style: none;
    padding: 0;
}

.footer-left ul li {
    margin-bottom: 10px;
}

.footer-left ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-left ul li a:hover {
    color: var(--color-primary);
}


.footer-logo {
    width: min(320px, 72vw);
    height: auto;
}

/* 📩 Section droite */
.footer-right {
    text-align: right;
    max-width: 420px;
}

.footer-right p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.82);
}

.footer-right h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-mail {
    text-decoration: none;
    color: #ffffff;
}

.footer-mail:hover {
    color: var(--color-primary);
}

/* 🖇 Liens sociaux */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* 📱 Adaptation mobile */
@media screen and (max-width: 500px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-right p {
        margin: 10px 0;
    }
    .footer-logo {
        width: min(280px, 72vw);
        height: auto;
    }
}
