/* ============================================
       STYLES FOOTER (assets/pages/principal/footer.php)
       ============================================ */
    
    .footer {
        background: #f5f6f8;
        color: var(--text-muted);
        padding: 60px 0 0 0;
        margin-top: 60px;
        border-top: 1px solid var(--border);
        transition: all var(--transition-speed) ease;
    }

    [data-theme="dark"] .footer {
        background: var(--bg-footer);
        border-top-color: var(--border-dark);
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .footer-widgets {
        padding-bottom: 20px;
    }

    /* Lignes du footer */
    .footer-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-col h4 {
        font-size: 17px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-title);
        margin-bottom: 18px;
        transition: color var(--transition-speed) ease;
    }

    [data-theme="dark"] .footer-col h4 {
        color: #ffffff;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-col ul li {
        margin-bottom: 12px;
    }

    .footer-col ul li a {
        font-size: 15px;
        color: var(--text-muted);
        text-decoration: none;
        transition: color var(--transition-speed) ease;
        line-height: 1.5;
    }

    .footer-col ul li a:hover {
        color: var(--text-title);
    }

    [data-theme="dark"] .footer-col ul li a:hover {
        color: #ffffff;
    }

    /* Divider */
    .footer-divider {
        border: none;
        border-top: 1px solid var(--border);
        margin: 20px 0 30px 0;
        transition: border-color var(--transition-speed) ease;
    }

    [data-theme="dark"] .footer-divider {
        border-top-color: var(--border-dark);
    }

    /* Partie basse */
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        padding: 10px 0 30px 0;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .footer-logo-link {
        display: inline-block;
    }

    .footer-logo {
        height: 75px;
        width: auto;
        display: block;
        transition: opacity var(--transition-speed) ease;
    }

    .footer-logo-light {
        display: block !important;
    }

    .footer-logo-dark {
        display: none !important;
    }

    [data-theme="dark"] .footer-logo-light {
        display: none !important;
    }

    [data-theme="dark"] .footer-logo-dark {
        display: block !important;
    }

    .footer-description {
        font-size: 15px;
        color: var(--text-muted);
        max-width: 320px;
        line-height: 1.7;
        margin: 0;
        transition: color var(--transition-speed) ease;
    }

    .footer-social {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--bg-sub);
        border: 1px solid var(--border);
        color: var(--text-muted);
        text-decoration: none;
        transition: all var(--transition-speed) ease;
    }

    .social-link:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow-hover);
    }

    [data-theme="dark"] .social-link {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.08);
    }

    [data-theme="dark"] .social-link:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    .social-link i {
        font-size: 18px;
    }

    .footer-description-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-description-list ul li {
        font-size: 15px;
        color: var(--text-muted);
        line-height: 1.7;
        padding: 8px 0;
        position: relative;
        padding-left: 24px;
        transition: color var(--transition-speed) ease;
    }

    .footer-description-list ul li::before {
        content: '•';
        position: absolute;
        left: 0;
        color: var(--accent);
        font-size: 20px;
    }

    [data-theme="dark"] .footer-description-list ul li {
        color: rgba(255, 255, 255, 0.7);
    }

    /* Copyright */
    .footer-copyright {
        background: #eef0f3;
        border-top: 1px solid var(--border);
        padding: 20px 0;
        transition: all var(--transition-speed) ease;
    }

    [data-theme="dark"] .footer-copyright {
        background: rgba(255, 255, 255, 0.03);
        border-top-color: var(--border-dark);
    }

    .footer-copyright-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-copyright-left {
        font-size: 14px;
        color: var(--text-muted);
        transition: color var(--transition-speed) ease;
    }

    .footer-copyright-right {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }

    .footer-copyright-right a {
        font-size: 14px;
        color: var(--text-muted);
        text-decoration: none;
        transition: color var(--transition-speed) ease;
        position: relative;
    }

    .footer-copyright-right a::after {
        content: '|';
        position: absolute;
        right: -14px;
        color: var(--border);
    }

    .footer-copyright-right a:last-child::after {
        display: none;
    }

    .footer-copyright-right a:hover {
        color: var(--text-title);
    }

    [data-theme="dark"] .footer-copyright-right a:hover {
        color: #ffffff;
    }

    [data-theme="dark"] .footer-copyright-right a::after {
        color: var(--border-dark);
    }

    /* ============================================
       RESPONSIVE
       ============================================ */
    @media (max-width: 968px) {
        .footer {
            padding: 40px 0 0 0;
        }

        .footer-container {
            padding: 0 24px;
        }

        .footer-copyright-container {
            padding: 0 24px;
        }

        .footer-row {
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

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

        .footer-description {
            max-width: 100%;
        }

        .footer-logo {
            height: 48px;
        }
    }

    @media (max-width: 600px) {
        .footer {
            padding: 30px 0 0 0;
            margin-top: 40px;
        }

        .footer-container {
            padding: 0 16px;
        }

        .footer-copyright-container {
            padding: 0 16px;
        }

        .footer-row {
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .footer-col h4 {
            font-size: 15px;
            margin-bottom: 14px;
        }

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

        .footer-col ul li a {
            font-size: 14px;
        }

        .footer-bottom {
            gap: 20px;
            padding: 0 0 20px 0;
        }

        .footer-description {
            font-size: 14px;
        }

        .footer-description-list ul li {
            font-size: 14px;
            padding: 6px 0;
            padding-left: 20px;
        }

        .footer-social {
            gap: 10px;
        }

        .social-link {
            width: 40px;
            height: 40px;
        }

        .social-link i {
            font-size: 16px;
        }

        .footer-logo {
            height: 40px;
        }

        .footer-copyright {
            padding: 16px 0;
        }

        .footer-copyright-left {
            font-size: 13px;
        }

        .footer-copyright-right {
            gap: 14px;
        }

        .footer-copyright-right a {
            font-size: 13px;
        }

        .footer-copyright-right a::after {
            right: -10px;
        }

        .footer-divider {
            margin: 15px 0 20px 0;
        }
    }

    @media (max-width: 400px) {
        .footer-row {
            grid-template-columns: 1fr;
            gap: 24px;
        }

        .footer-copyright-right {
            flex-wrap: wrap;
            gap: 8px 12px;
        }

        .footer-copyright-right a::after {
            display: none;
        }

        .footer-logo {
            height: 36px;
        }
    }