/* Styles de base pour le site */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding: 0;
  background: url('../images/fond1.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Assurer une hauteur minimale pour occuper toute la fenêtre */
.content {
  min-height: 100vh;
}

/* ====== NAV HAUT (commun) ====== */
:root{
  --nav-bg: rgba(8,12,28,.78);
  --nav-border: rgba(255,255,255,.10);
  --brand:#4f7cff;
}
.topnav{
  position: sticky; top: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-inner{
  max-width:1100px; margin:0 auto; padding:12px 18px;
  display:flex; align-items:center; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.3px; color:#fff; text-decoration:none;
}
.brand svg{ width:26px; height:26px }
.nav{
  list-style:none; margin:0 0 0 auto; padding:0;
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.nav>li>a{
  color:#fff; text-decoration:none; padding:8px 10px;
  border-radius:10px; display:inline-flex; align-items:center; gap:6px;
  border:1px solid transparent;
}
.nav>li>a:hover{ border-color:var(--nav-border); background: rgba(255,255,255,.06); }
.btn-small{
  padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.2);
  color:#fff; text-decoration:none; font-weight:600;
}
.btn-small.primary{
  background: linear-gradient(180deg, var(--brand), #3a69ff); border-color:#365ff2;
}

/* Footer fixe en bas de la page */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f1f1f1;
  text-align: center;
  padding: 1em 0;
}
/* (Optionnel) Style pour un conteneur de fond, si utilisé */
.bg-container {
  background: url('../images/fond1.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ----- Styles pour le menu hamburger ----- */

/* Positionnement du bouton hamburger */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.hamburger-icon {
  font-size: 18px;
  cursor: pointer;
}

/* Overlay pour le menu */
.menu-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

/* Bouton de fermeture dans l'overlay */
.menu-overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
}

/* Contenu du menu */
.menu-overlay .menu-content {
  position: relative;
  top: 18%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}
@media (max-width: 1024px){
  .menu-overlay .menu-content a { font-size: 22px; }
}
@media (max-width: 480px){
  .menu-overlay .menu-content a { font-size: 24px; }
}

.menu-overlay .menu-content a {
  padding: 10px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #fff;
  display: block;
  transition: 0.3s;
  line-height: 1.3;
}

.menu-overlay .menu-content a:hover {
  color: #f1f1f1;
}

.home-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--brand);
}
.home-link:hover { opacity: .8; }
