/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 10 2025 | 15:26:17 */
/* =======================
   PAGE 404 – STYLE GLOBAL
   ======================= */

.page-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Centre verticalement */
  align-items: center;       /* Centre horizontalement */
  text-align: center;        /* Centre le texte */
 
  padding: 40px 20px;

  color: #0e1726;
  font-family: 'Avenir Next', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
}

/* ===== TITRE ===== */
.page-404 h1 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00008f; /* Bleu AXA */
  text-align: center;
}

/* ===== TEXTE ===== */
.page-404 p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 25px;
  max-width: 600px;
  line-height: 1.5;
  text-align: center;
}

/* ===== IMAGE SVG ===== */
.page-404 .svg-404 {
  width: 320px;
  height: auto;
  margin: 30px 0;
  animation: pulse 3s infinite; /* effet animé par défaut */
}

/* ===== BOUTONS ===== */
.page-404 .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.page-404 .btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #00008f;
  color: #fff;
}

.page-404 .btn:hover {
  background: #e8ebfa;
  color: #00008f;
  transform: translateY(-2px);
}

/* =======================
   ANIMATIONS
   ======================= */

/* Pulsation douce */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* Tremblement alternatif */
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-3px, 2px) rotate(-3deg); }
  40% { transform: translate(3px, -2px) rotate(3deg); }
  60% { transform: translate(-3px, 2px) rotate(-3deg); }
  80% { transform: translate(3px, -2px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Effet dessin au trait (optionnel, si ton SVG est en stroke) */
.page-404 svg path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 3s linear forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 768px) {
  .page-404 h1 {
    font-size: 1.8rem;
  }

  .page-404 p {
    font-size: 0.95rem;
  }

  .page-404 .svg-404 {
    width: 220px;
    margin: 20px 0;
  }

  .page-404 .btn {
    width: 100%;
    text-align: center;
  }
}
