/* src/css/pages/404.css */

/* --- BLOC PRINCIPAL --- */
.error-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column; /* Ajout pour bien empiler */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--bg-color, #000000); 
    color: var(--text-color, #fff);
}

/* --- ÉLÉMENTS --- */

/* Le code 404 */
.error-page__code {
    font-size: clamp(6rem, 15vw, 12rem); 
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    color: #ffffff; 
    text-shadow: 0 0 30px rgba(223, 163, 94, 0.2);
}

/* Conteneur du texte */
.error-page__content {
    margin-bottom: 3rem;
}

/* Titre */
.error-page__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
    color: #fff;
}

/* Sous-titre */
.error-page__subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 2rem;
    color: #fff;
}

/* Description standard */
.error-page__desc {
    max-width: 600px;
    margin: 0 auto 0.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Description en anglais (Modificateur BEM) */
.error-page__desc--en {
    max-width: 600px;
    margin: 20px auto 0.5rem; /* Marge du haut intégrée ici */
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Conteneur des boutons (Actions) */
.error-page__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

/* --- COMPOSANT BOUTON (Modificateur) --- */
.btn--error {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ffffff; 
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn--error:hover {
    background-color: #ffffff; /* Fond blanc */
    color: #000000; /* Texte noir */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}