/* ===== FOOTER ===== */
footer {
    background-color: rgba(14, 152, 206, 0.95);
    color: white;
    padding: 50px 20px;
    margin-top: 100px;
    width: 100%;
    box-sizing: border-box;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Wrapper pour les informations + images */
.footer-legal-images-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.footer-legal-images-wrapper .footer-legal {
    flex: 1;
    min-width: 200px;
}

.footer-legal-images-wrapper .footer-images {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 10px;
}

footer h3 {
    font-size: 20px;
    margin: 0 0 20px 0;
    padding: 0;
    font-weight: bold;
}

footer p {
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ===== SECTION 1 : À PROPOS ===== */
.footer-section h3 {
    color: white;
}

.footer-section p {
    color: #e0e0e0;
}

/* ===== SECTION 2 : RÉSEAUX SOCIAUX ===== */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-socials h3 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: white;
    color: rgb(14, 152, 206);
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: 0.3s ease-in-out;
}

.social-links a:hover {
    transform: scale(1.15);
    filter: brightness(90%);
}

.social-link-text {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: 0.3s ease-in-out;
}

.social-link-text:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link-text span {
    font-size: 20px;
}

/* ===== SECTION 3 : MENTIONS LÉGALES ===== */
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s ease-in-out;
}

.footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

/* ===== SECTION 4 : IMAGES CARRÉES ===== */
.footer-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.footer-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER BOTTOM ===== */
footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #e0e0e0;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    footer {
        padding: 40px 15px;
        margin-top: 50px;
    }

    footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer h3 {
        font-size: 18px;
    }

    footer p {
        font-size: 14px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal-images-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-legal-images-wrapper .footer-images {
        grid-template-columns: repeat(4, 60px);
        gap: 8px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (min-width: 1024px) {
    footer .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    footer h3 {
        font-size: 22px;
    }

    footer p {
        font-size: 16px;
    }
}
