/* assets/css/style.css - styled to match provided image (French comments) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Image d’arrière-plan */
    background-image: url('../img/ar2.png');
    background-size: cover;        /* Remplit tout l’écran */
    background-position: center;   /* Centrée */
    background-repeat: no-repeat;  /* Pas de répétition */
  	

    /* Optionnel : filtre sombre ou clair pour lisibilité */
    backdrop-filter: brightness(0.8);
    font-family: Arial, sans-serif;
}


.card {
  width: 720px;
  max-width: 96%;
  background: #ffffff;
  border-radius: 18px;
  padding: 48px 56px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  text-align: center;
}
.logo { width: 220px; margin: 0 auto 10px; display:block; }
.subtitle { color: #222; font-size:20px; margin-bottom: 18px; font-weight:700; }
h1 { font-size:32px; color:#0b375f; margin-bottom:24px; font-weight:700; }
.input-field {
  width: 100%;
  padding: 16px 18px;
  margin: 10px 0;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  font-size:16px;
  color:#334155;
  background:#fbfdff;
}
.btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  background:#d5282f;
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:18px;
  cursor:pointer;
}
.links { margin-top:14px; font-size:14px; color:#0b375f; }
.error { color:#b91c1c; margin-top:10px; font-size:14px; display:none; }
.center-screen {
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  
  padding:20px;
}
.container-nacmd {
  background:#fff;
  padding:48px;
  border-radius:16px;
  text-align:center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.btn-nacmd {
  display:inline-block;
  width:260px;
  height:100px;
  margin: 16px;
  border-radius:12px;
  border:none;
  font-size:28px;
  font-weight:700;
  cursor:pointer;
}
.btn-na { background:#0e3b7a; color:#fff; }
.btn-cmd { background:#d5282f; color:#fff; }
@media (max-width:600px){
  .card { padding:24px; width: 92%; }
  .logo { width:160px; }
  .btn-nacmd { width:160px; height:64px; font-size:20px; }
}

/* ======================================================================
   MENU HORIZONTAL PROFESSIONNEL
   ====================================================================== */
.menu-horizontal {
  width: 100%;
  background: linear-gradient(90deg, #004aad, #0078ff);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  margin-bottom: 30px;
}

.menu-horizontal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-horizontal li {
  margin: 0;
  padding: 0;
}

.menu-horizontal a {
  display: block;
  padding: 16px 28px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s, transform 0.2s;
}

.menu-horizontal a:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

.menu-horizontal a.actif {
  background: #002c6e;
  border-bottom: 3px solid #ffd700;
}


