/* =========================
   VARIABLES
========================= */
:root{
  --dark_orange: #a85a1e;
  --dark_green: #31492c;
  --dark-blue: #0a2240;
  --gold-color: #f3c30f;
  --light-gray: #ededed;
  --text-color: #ffffff;
  --border-radius: 8px;

  /* Navbar */
  --nav-height: 72px;
}

/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after{
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img{
  -webkit-user-drag: none;
  max-width: 100%;
  height: auto;
}

/* Réactiver la sélection si besoin */
input,
textarea,
select,
button{
  user-select: text;
}

/* =========================
   BODY
========================= */
.mm-body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  overflow-x: hidden;
}


/* =========================
   NAVBAR DYNAMIQUE
========================= */

.custom-navbar{
  background: transparent;
  transition: all .3s ease;
  padding: 18px 0;
}

/* Texte blanc au départ */
.custom-navbar .nav-link,
.custom-navbar .navbar-brand{
  color: #fff;
  transition: color .3s ease;
}

/* Version scrollée */
.custom-navbar.scrolled{
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* Texte devient noir */
.custom-navbar.scrolled .nav-link,
.custom-navbar.scrolled .navbar-brand{
  color: #111;
}

/* Burger noir quand scroll */
.custom-navbar.scrolled .navbar-toggler-icon{
  filter: invert(1);
}
/* =========================
   404 PAGE
========================= */

.error-404{
  background: var(--dark_green);
  color: #fff;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 40px 20px;
}

.error-inner{
  max-width: 600px;
}

.error-code{
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(120px, 18vw, 200px);
  letter-spacing: .1em;
  margin: 0;
}

.error-title{
  font-size: 28px;
  margin: 10px 0 20px;
}

.error-text{
  font-size: 16px;
  opacity: .85;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Bouton */
.btn-home{
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--dark_green);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all .3s ease;
}

.btn-home:hover{
  background: #f3c30f;
  color: #111;
}






