/* ========== VARIABLES / BASE ========== */
:root{
  --bg:#0e0f12;
  --text:#e8e8e8;
  --muted:#bdbdbd;

  /* 🔵 Bleu électrique */
  --accent:#003366;
  --accent-2:#003366;

  --card:#ffffff;
  --ink:#1f2430;
  --border:rgba(0,0,0,.08);
  --shadow:0 10px 30px rgba(0,0,0,.20);
  --maxw:1200px;
  --surface:#efefef;
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ========== HEADER (COMMUN) ========== */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(0,0,0,.6);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:saturate(1.1) blur(6px);
  transition:background .3s ease, backdrop-filter .3s ease;
}
#mainHeader.scrolled{
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(6px);
}
.nav{
  display:flex;
  gap:28px;
  justify-content:center;   /* centré (uniforme partout) */
  align-items:center;
  padding:16px 0;
  font-weight:500;
  flex-wrap:wrap;
}
.nav a{opacity:.9; transition:opacity .2s}
.nav a:hover,.nav a.active{opacity:1}

/* ========== FOOTER (COMMUN) ========== */
footer{background:#1a1c21;border-top:1px solid rgba(255,255,255,.08)}
.footer-top{
  display:flex;
  flex-wrap:nowrap;             /* 1 seule ligne */
  justify-content:center;
  align-items:center;
  gap:22px;
  padding:36px 0;
  overflow-x:auto;              /* scroll s'il n'y a pas la place */
}
.footer-top a{white-space:nowrap}
@media (max-width:900px){
  .footer-top{flex-wrap:wrap;overflow-x:visible}
}
.footer-second-line{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:20px;
  padding:16px 0 30px;
  border-top:1px solid rgba(255,255,255,.05);
  font-size:14px;
  color:#bcbcbc;
}
.footer-second-line a{color:#bcbcbc;opacity:.9}
.footer-second-line a:hover{opacity:1;color:#fff}

.footer-logo{display:grid;place-items:center;padding:18px 0 42px}
.footer-logo .logo{font-size:54px;font-weight:700;color:#e9e9e9}

/* ========== SECTIONS / HELPERS (COMMUNS) ========== */
section{padding:56px 0}
.center{text-align:center}

/* Pagination commune */
.pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:56px}
.pagination a{
  padding:10px 16px;border-radius:6px;background:#fff;color:#222;font-weight:600;
  border:1px solid var(--border); box-shadow:var(--shadow); transition:.2s
}
.pagination a.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.pagination a:hover{background:var(--accent-2);color:#fff;border-color:var(--accent-2)}
