/* =========================
   1) Reset + fond + texte
   ========================= */
* { margin: 0; box-sizing: border-box; }

body{
  color: #e8ecff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;

  background:
    radial-gradient(800px 420px at 20% 15%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(700px 380px at 80% 25%, rgba(0,0,0,0.20), transparent 60%),
    linear-gradient(180deg, #3a3b3f, #2f3033);

  min-height: 100vh;
}

/* On centre tout (header/main/footer) + on ajoute de l’air sur les côtés */
header, main, footer{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* =========================
   2) Header + titre
   ========================= */
header{
  padding-top: 28px;
  padding-bottom: 18px;
}

.titre_page{
  text-align: center;
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff;

  /* le “cadre néon” */
  box-shadow:
    0 0 0 3px #00fff0,
    0 0 18px 4px rgba(0,255,240,0.45);

  font-family: "Lucida Console", Monaco, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.02em;

  margin-bottom: 18px; /* espace avant la nav */
}

/* =========================
   3) Navigation (3 boutons)
   ========================= */
.btns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 720px){
  .btns{ grid-template-columns: 1fr; }
}

.metal-btn{
  display: flex;
  align-items: center;
  justify-content: center;

  height: 70px;
  border-radius: 14px;

  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #101114;

  border: 1px solid rgba(0,0,0,0.35);

  /* effet métal : 3 couches */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0) 28%),
    linear-gradient(0deg, rgba(0,0,0,0.22), rgba(0,0,0,0) 32%),
    linear-gradient(180deg, #f7f7f7 0%, #dcdcdc 40%, #bdbdbd 70%, #9a9a9a 100%);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -2px 3px rgba(0,0,0,0.20),
    0 10px 18px rgba(0,0,0,0.35);
}

/* =========================
   4) Main + sections
   ========================= */
main{
  padding-top: 8px;
  padding-bottom: 26px;
}

/* espace entre les sections */
.partie{ margin-top: 26px; }

/* look “carte” pour chaque section */
.partie{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}

.partie h2{
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.plan{
  display: block;
  width: 100%;
  max-width: 520px;   /* taille raisonnable du plan */
  height: auto;

  margin: 0 auto 16px; /* centré */
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 18px rgba(0,0,0,0.22);
}

/* =========================
   5) Tableaux lisibles
   ========================= */
table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;

  margin-top: 16px;
  background: rgba(0,0,0,0.10);

  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  overflow: hidden;
}

caption{
  text-align: left;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  color: #e8ecff;
  font-weight: 700;
}

th, td{
  padding: 12px 14px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.55);
  border-left: 1px solid rgba(255,255,255,0.18);
}

/* on évite le trait en trop tout à gauche */
th:first-child, td:first-child{ border-left: none; }

/* en-tête un peu contrasté */
thead th{
  background: rgba(255,255,255,0.06);
  border-top: none;
}

/* =========================
   6) Liens visibles + footer
   ========================= */
a{
  color: #00fff0;
}

footer{
  text-align: center;
  padding: 18px 18px 28px;
  color: #c9d2ff;
}

footer a{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  text-decoration: none;
}
