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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ebe5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: white;
    overflow-x: hidden;
    position: relative;
}


/* Éléments décoratifs flottants */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.icon {
    position: absolute;
    opacity: 0.8;
    animation: float 20s infinite ease-in-out;
}

.icon-cursor {
    font-size: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    height: 100px;
}

.icon-code {
    font-size: 50px;
    top: 70%;
    left: 15%;
    animation-delay: 2s;
    height: 230px;
}

.icon-paint {
    font-size: 55px;
    top: 20%;
    right: 15%;
    animation-delay: 4s;
    height: 150px;
}

.icon-rocket {
    font-size: 65px;
    bottom: 15%;
    right: 10%;
    animation-delay: 1s;
    height: 200px;
}

.icon-search {
    font-size: 45px;
    top: 50%;
    left: 5%;
    animation-delay: 3s;
    height: 100px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
    75% {
        transform: translateY(-40px) rotate(3deg);
    }
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    height: 20px;
}

.logo img {
    height: 40px ; /* Ajuste la taille */
    width: auto;
}

.logo span {
    color: #4A90E2;
}

/* Container principal */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Section 404 */
.error-section {
    max-width: 700px;
}

.error-code {
    font-size: 150px;
    font-weight: bold;
    background: linear-gradient(135deg, #B87800 0%, #FFBF47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 225, 0, 0.665);
}

.error-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    color: black;
}

.highlight {
    color: #05CD67;
    display: inline-block;
    background: rgba(5, 205, 103, 0.4);
    padding: 0 15px;
    border-radius: 8px;
}

.error-message {
    font-size: 18px;
    color: black;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Boutons de contact */
.contact-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: #FD482B;
    color: white;
    box-shadow: 0 10px 30px rgba(253, 72, 43, 0.4);
}

.btn-primary:hover {
    background: #BB1C02;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(121, 18, 1, 0.6);
}

.btn-secondary {
    background: #4A90E2;
    color: white;
    border: 2px solid #4A90E2 rgba(74, 144, 226, 0.2);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.btn-secondary:hover {
    background: rgba(74, 144, 226, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
    color: black;
}

.icon-btn {
    font-size: 20px;
}

/* Footer */
footer {
    padding: 30px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 10;
}

footer p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .error-code {
        font-size: 100px;
    }

    .error-title {
        font-size: 32px;
    }

    .error-message {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    header {
        padding: 20px;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 26px;
    }
}