/* ============================================
   FOOTER - STYLES ORGANISÉS
   ============================================ */

/* Container principal du footer */
.ek-footer {
    border-top: 1px solid #e5e7eb;
    background: #1f2937;
    color: #e5e7eb;
    padding: 0;
    margin-top: 60px;
    width: 100%;
    clear: both;
}

/* Contenu principal du footer */
.ek-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding: 56px 0;
    width: 100%;
}

/* Colonnes du footer */
.ek-footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0; /* Permet le shrink sur petits écrans */
}

/* Titres des sections */
.ek-footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.ek-footer-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d1d5db;
    margin: 0 0 12px 0;
}

/* Description */
.ek-footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #9ca3af;
    margin: 0;
}

/* Logo dans le footer */
.ek-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ek-footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.ek-footer-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

/* Liens de navigation */
.ek-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ek-footer-links li {
    margin: 0;
}

.ek-footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.5;
}

.ek-footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* Contact */
.ek-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ek-footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.ek-footer-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    display: inline-block;
}

.ek-footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.ek-footer-contact a:hover {
    color: #ffffff;
}

/* Réseaux sociaux */
.ek-footer-social {
    margin-top: 16px;
}

.ek-footer-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.ek-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ek-footer-social-link:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.4);
}

.ek-footer-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Barre de copyright */
.ek-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #111827;
    padding: 24px 0;
    margin-top: 0;
    width: 100%;
}

.ek-footer-bottom-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ek-footer-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.ek-footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ek-footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.ek-footer-legal a:hover {
    color: #ffffff;
}

.ek-footer-separator {
    color: #4b5563;
    font-size: 0.85rem;
    user-select: none;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE
   ============================================ */

/* Tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .ek-footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 48px 0;
    }
}

/* Tablettes et petits écrans (max-width: 768px) */
@media (max-width: 768px) {
    .ek-footer {
        margin-top: 40px;
    }

    .ek-footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 40px 0;
    }

    .ek-footer-column {
        gap: 16px;
    }

    .ek-footer-title {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }

    .ek-footer-social-links {
        gap: 10px;
    }

    .ek-footer-social-link {
        width: 40px;
        height: 40px;
    }
}

/* Petits écrans (max-width: 640px) */
@media (max-width: 640px) {
    .ek-footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0;
    }

    .ek-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .ek-footer-legal {
        justify-content: center;
    }

    .ek-footer-copyright {
        text-align: center;
    }
}

/* Très petits écrans (max-width: 480px) */
@media (max-width: 480px) {
    .ek-footer {
        margin-top: 32px;
    }

    .ek-footer-content {
        padding: 24px 0;
        gap: 24px;
    }

    .ek-footer-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .ek-footer-description {
        font-size: 0.85rem;
    }

    .ek-footer-links a,
    .ek-footer-contact a {
        font-size: 0.85rem;
    }

    .ek-footer-logo-img {
        width: 32px;
        height: 32px;
    }

    .ek-footer-logo-text {
        font-size: 1rem;
    }

    .ek-footer-social-link {
        width: 38px;
        height: 38px;
    }

    .ek-footer-social-link svg {
        width: 18px;
        height: 18px;
    }

    .ek-footer-bottom {
        padding: 20px 0;
    }

    .ek-footer-bottom-content {
        /* Padding géré par ek-container */
    }

    .ek-footer-copyright {
        font-size: 0.8rem;
    }

    .ek-footer-legal a {
        font-size: 0.8rem;
    }
}

