/* ========================================
   VARIABLES & BASE
======================================== */

:root {
    --gold: #c9a84c;
    --gold-light: #e0c068;
}

/* ========================================
   SECTION ERREUR
======================================== */

.erreur-section {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: #0d0d0d;
    overflow: hidden;
}

.erreur-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.erreur-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CODE 404
======================================== */

.erreur-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.erreur-4 {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    color: rgba(201,168,76,0.15);
    line-height: 1;
    user-select: none;
}

.erreur-paw {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(201,168,76,0.08);
    border: 2px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 2.5rem;
    animation: erreur-pulse 2s ease-in-out infinite;
}

@keyframes erreur-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,168,76,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

/* ========================================
   TEXTE
======================================== */

.erreur-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.erreur-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   BOUTONS
======================================== */

.erreur-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.erreur-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #c9a84c, #e0c068);
    color: #000;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.erreur-btn-primary:hover {
    opacity: 0.9;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.erreur-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.erreur-btn-secondary:hover {
    border-color: rgba(201,168,76,0.35);
    color: #c9a84c;
    background: rgba(201,168,76,0.06);
}

/* ========================================
   LIENS UTILES
======================================== */

.erreur-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.erreur-links span:first-child {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
}

.erreur-links span {
    color: rgba(255,255,255,0.15);
    font-size: 0.7rem;
}

.erreur-links a {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.25s ease;
}

.erreur-links a:hover { color: #c9a84c; }

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 767px) {
    .erreur-4 { font-size: 6rem; }
    .erreur-paw { width: 70px; height: 70px; font-size: 2rem; }
    .erreur-title { font-size: 1.5rem; }
    .erreur-content { padding: 3rem 0; gap: 1.5rem; }
}

@media (max-width: 575px) {
    .erreur-4 { font-size: 4.5rem; }
    .erreur-paw { width: 58px; height: 58px; font-size: 1.6rem; }
    .erreur-title { font-size: 1.25rem; }
    .erreur-btn-primary,
    .erreur-btn-secondary { width: 100%; justify-content: center; }
}