/* ============================================
   FOOTER
   ============================================ */

footer,
.idet-footer {
    background: var(--text-primary);
    color: white;
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-section h3 {
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-size: 0.9375rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: white;
}

/* Contact dans le footer */
.footer-contact {
    margin-top: calc(var(--spacing-unit) * 3);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.footer-contact p {
    margin-bottom: 0;
}

.footer-contact strong {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Réseaux sociaux */
.footer-social {
    margin-top: calc(var(--spacing-unit) * 3);
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Footer bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: calc(var(--spacing-unit) * 4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }
}

@media (max-width: 768px) {
    footer,
    .idet-footer {
        padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 3);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }
}