/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    opacity: 0.85;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item-icon {
    font-size: 1.3rem;
    color: var(--secondary-color);
    min-width: 25px;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Logo footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    font-size: 3rem;
}

.footer-logo-text h2 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 5px 0 0 0;
}

/* Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE FOOTER
   ========================================== */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}
