* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.footer {
    width: 100%;
    margin: 0;
    margin-bottom: -70px;
    padding: 4rem 20px 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cubes-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.cube-row {
    display: flex;
    gap: 24px;
    justify-content: stretch;
    width: 100%;
}

.cube {
    width: 100%;
    height: 200px;
    background: rgba(28, 28, 28, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(42, 42, 42, 0.6);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideIn 0.6s ease-out forwards;
}

.cube:hover {
    background: rgba(37, 37, 37, 0.7);
    border-color: rgba(58, 58, 58, 0.7);
    transform: translateY(-2px);
}

.cube:active {
    transform: translateY(0);
}

/* Bouton audit */
.audit-button {
    width: 100%;
    height: 80px;
    position: relative;
    padding: 20px 0;
    text-align: center;
    color: #9593ad;
    font-size: 24px;
    font-weight: bold;
    background: transparent;
    outline: none;
    border: 2px solid #9593ad;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.audit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(149, 147, 173, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.audit-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #9593ad;
    transition: width 0.4s ease;
    z-index: -1;
}

.audit-button:hover {
    color: white;
    border-color: #9593ad;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 147, 173, 0.4);
}

.audit-button:hover::before {
    left: 100%;
}

.audit-button:hover::after {
    width: 100%;
}

/* Cubes sociaux */
.social-cube {
    flex: 1;
    width: 100%;
    min-width: unset;
    max-width: unset;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
}

.whatsapp-cube {
    background: rgba(37, 211, 102, 0.8);
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-cube:hover {
    background: rgba(37, 211, 102, 0.9);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-cube .cube-icon {
    font-size: 56px;
    color: white;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.516"/></svg>') no-repeat center;
    background-size: 48px 48px;
    width: 72px;
    height: 72px;
    text-indent: -9999px;
}

.linkedin-cube {
    background: rgba(0, 119, 181, 0.8);
    border-color: rgba(0, 119, 181, 0.3);
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.2);
}

.linkedin-cube:hover {
    background: rgba(0, 119, 181, 0.9);
    box-shadow: 0 0 30px rgba(0, 119, 181, 0.3);
}

.linkedin-cube .cube-icon {
    font-size: 72px;
    color: white;
    font-weight: bold;
}

.email-cube {
    background: rgba(183, 137, 210, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(183, 137, 210, 0.2);
}

.email-cube:hover {
    background: rgba(183, 137, 210, 0.8);
    box-shadow: 0 0 30px rgba(183, 137, 210, 0.3);
}

.email-cube .cube-icon {
    font-size: 72px;
    color: rgba(255, 255, 255, 0.9);
    background: url('../images/icone_email.svg') no-repeat center;
    background-size: 78px 78px;
    width: 102px;
    height: 102px;
    text-indent: -9999px;
}

.email-cube:hover .cube-icon {
    color: white;
}

/* Animation */
.cube:nth-child(1) { animation-delay: 0.1s; }
.cube-row:nth-child(2) .cube:nth-child(1) { animation-delay: 0.2s; }
.cube-row:nth-child(2) .cube:nth-child(2) { animation-delay: 0.3s; }
.cube-row:nth-child(2) .cube:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 15px 2rem;
    }

    .footer-container {
        gap: 20px;
    }

    .cubes-container {
        gap: 20px;
    }

    .cube-row {
        gap: 20px;
    }

    .audit-button {
        height: 70px;
        font-size: 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .social-cube {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        min-width: 160px;
        flex: 1;
    }
    
    .whatsapp-cube .cube-icon {
        background-size: 40px 40px;
        width: 60px;
        height: 60px;
    }
    
    .linkedin-cube .cube-icon {
        font-size: 60px;
    }

    .email-cube .cube-icon {
        background-size: 60px 60px;
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 12px 1.5rem;
    }

    .footer-container {
        gap: 16px;
    }

    .cubes-container {
        gap: 16px;
    }

    .cube-row {
        gap: 16px;
    }

    .cube-row:last-child {
        flex-direction: column;
        align-items: stretch;
    }

    .audit-button {
        height: 64px;
        font-size: 18px;
        width: 100%;
    }

    .social-cube {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        width: 100%;
        min-width: unset;
    }

    .whatsapp-cube .cube-icon,
    .linkedin-cube .cube-icon,
    .email-cube .cube-icon {
        transform: scale(0.9);
    }
} 