/* ================= PREMIUM FOOTER ================= */
/* Copiez ce bloc dans chaque CSS de page de formation :
   infographie-style.css, photographie.css, videographie.css,
   montagevideo.css, animationgraphique.css, marketing.css, site.css */

.footer-section{
    position: relative;
    background: linear-gradient(135deg, #04141d, #004763);
    padding: 5rem 8%;
    overflow: hidden;
    color: #ffffff;
}

.footer-section::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 204, 0, 0.08);
    border-radius: 50%;
    top: -250px;
    right: -150px;
    filter: blur(80px);
}

.footer-section::after{
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(1, 98, 136, 0.25);
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    filter: blur(100px);
}

.footer-infos{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4{
    color: #ffcc00;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: #ffcc00;
    border-radius: 10px;
}

.infos-ft p{
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.link-ft{
    display: flex;
    flex-direction: column;
}

.link-ft a{
    position: relative;
    width: fit-content;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
    transition: 0.3s ease;
    font-weight: 400;
}

.link-ft a::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #ffcc00;
    transition: 0.3s ease;
}

.link-ft a:hover{
    color: #ffcc00;
    transform: translateX(5px);
}

.link-ft a:hover::before{
    width: 100%;
}

.social-icons{
    position: relative;
    z-index: 2;
}

.social-icons a{
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: 0.35s ease;
}

.social-icons a i{
    color: #ffffff;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.social-icons a:hover{
    transform: translateY(-8px) scale(1.08);
    background: #ffcc00;
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.35);
}

.social-icons a:hover i{
    color: #04141d;
}

.divider{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    margin: 2rem 0;
}

.footer-links{
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-links h3{
    display: inline-block;
}

.footer-links ul{
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
}

.footer-links ul li{
    list-style: none;
}

.footer-links ul li a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 40px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.footer-links ul li a:hover{
    background: #ffcc00;
    color: #04141d;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
}

.footer-down{
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 3rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ================= RESPONSIVE FOOTER ================= */

@media (max-width: 768px){

    .footer-section{
        padding: 4rem 1.5rem;
    }

    .footer-infos{
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-infos > div{
        align-items: center;
        text-align: center;
    }

    .footer-section h3,
    .footer-section h4{
        text-align: center;
    }

    .footer-section h3::after,
    .footer-section h4::after{
        left: 50%;
        transform: translateX(-50%);
    }

    .infos-ft p{
        max-width: 100%;
        text-align: center;
    }

    .link-ft{
        align-items: center;
    }

    .social-icons{
        justify-content: center;
    }

    .footer-links ul{
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links ul li{
        width: 100%;
    }

    .footer-links ul li a{
        width: 100%;
        max-width: 320px;
    }

    .footer-down{
        text-align: center;
    }
}

@media (max-width: 480px){

    .footer-section{
        padding: 3.5rem 1rem;
    }

    .footer-section h3,
    .footer-section h4{
        font-size: 1.15rem;
    }

    .infos-ft p{
        font-size: 0.92rem;
    }

    .link-ft a{
        font-size: 0.93rem;
    }

    .social-icons a{
        width: 46px;
        height: 46px;
    }
}