/*
 =====================================================================
 [ÉTAT : FINAL]
 FICHIER : 404.css
 RÔLE : Styles pour la page d'erreur 404
 Auteurs : Yvan Dubé & Gemini (IA Collaboratrice)
 =====================================================================
*/

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f0fb; /* Fond mauve très clair, cohérent avec l'ADN du site */
}

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.error-card {
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(123, 28, 141, 0.1);
    border: 1px solid #e1bee7;
    max-width: 500px;
    width: 100%;
}

.error-card h1 {
    font-size: 80px;
    margin: 0;
    color: var(--couleur-primaire, #7b1c8d);
    line-height: 1;
}

.error-card h2 {
    font-size: 24px;
    color: #333;
    margin: 20px 0 15px;
}

.error-card p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.action-zone {
    margin-top: 20px;
}

.btn-nav {
    display: inline-block;
    background-color: var(--couleur-primaire, #7b1c8d);
    color: white !important;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-nav:hover {
    background-color: #6a1879;
    transform: translateY(-2px);
}

.btn-nav:active {
    transform: translateY(0);
}