/* ============================================
   FOOTER - ÉLECTRICIEN PRO
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-8);
}

.footer__main {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--border-color);
}

/* Brand column */
.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__logo img {
    height: 150px;
    width: auto;
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-electric-blue-dark));
    border-radius: var(--radius-lg);
    color: var(--color-deep-black);
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

.footer__logo-text span {
    color: var(--color-electric-blue);
}

.footer__description {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

/* Certifications */
.footer__certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer__cert {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
}

.footer__cert svg {
    color: var(--color-neon-green);
}

/* Links columns */
.footer__column-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: var(--transition-all);
}

.footer__link svg {
    color: var(--color-electric-blue);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-all);
}

.footer__link:hover {
    color: var(--color-electric-blue);
    transform: translateX(4px);
}

.footer__link:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Contact column */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    color: var(--color-electric-blue);
    flex-shrink: 0;
}

.footer__contact-content {
    flex: 1;
}

.footer__contact-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: 2px;
}

.footer__contact-value {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    transition: var(--transition-colors);
}

.footer__contact-value:hover {
    color: var(--color-electric-blue);
}

/* Social links */
.footer__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: var(--transition-all);
}

.footer__social-link:hover {
    background: var(--color-electric-blue);
    border-color: var(--color-electric-blue);
    color: var(--color-deep-black);
    transform: translateY(-4px);
    box-shadow: var(--glow-blue);
}

/* Bottom bar */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    gap: var(--space-6);
}

.footer__legal-link {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: var(--transition-colors);
}

.footer__legal-link:hover {
    color: var(--color-electric-blue);
}

/* Back to top */
.footer__top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-electric-blue);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-deep-black);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-all);
    z-index: var(--z-fixed);
    box-shadow: var(--glow-blue);
}

.footer__top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer__top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--color-electric-blue-glow);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer__main {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .footer__brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer__main {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}