/* -----------------------
   Structure générale
------------------------ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background: url('img/motif_bg.png') repeat;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 1200px; /* ou la largeur que tu veux */
}

/* Superposition bleu semi-transparent */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('img/bleu_bg.png') center center / cover no-repeat;
  opacity: 0.99;
}

/* -----------------------
   Header
------------------------ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 60px;
  position: relative;
  z-index: 1;
}

header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 75px;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.logo {
  height: 60px;
  line-height: 60px;
}

.logo img {
  height: 120px;
  margin-right: 5px;
  display: inline-block;
  margin-top: -20px;
}

.logo-centre {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -120px;
  height: 300px;
  max-width: 100%;
}

.gestion {
  font-weight: bold;
  color: #A1BEFF;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  height: 60px;
  margin-top: 15px;
}

/* -----------------------
   Contenu principal
------------------------ */
.container {
  max-width: 400px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tabs a {
  margin: 0 10px;
  color: #bbb;
  text-decoration: none;
  font-weight: bold;
}

.tabs a.active {
  color: white;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0066cc;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

/* -----------------------
   Footer (version gelée)
------------------------ */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: none;
  display: grid;
  grid-template-columns: auto 1fr auto; /* gauche - centre - droite */
  align-items: center;
  position: relative;
  padding: 0 40px; /* 40px des bords pour socials et langues */
}

footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 75px;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

footer .socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1.4rem;
  margin-bottom: -30px;
}

.footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateX(-4px); /* petit ajustement optique */
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  text-align: center;
  margin-left: -25px;
  margin-bottom: -25px;
}

.footer-lang {
  display: flex;
  flex-direction: column;   /* garantit l’empilement vertical */
  align-items: center;      /* centre horizontalement les deux liens */
  justify-content: center;  /* centre verticalement dans le bloc */
  gap: 4px;
  text-align: center;
  margin-left: 960px; /* tel que dans ta version gelée */
  margin-bottom: -25px;;
}

footer a {
  color: white;
  text-decoration: none;
  margin-left: 5px;
  font-size: 1rem;
}

.footer-texte {
  font-size: 1.2rem;
  display: inline-block;
}

.bricolage {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  font-weight: 700;
  margin-right: 6px;
}

.vremena {
  font-family: 'Vremena Grotesk', Arial, sans-serif;
  font-weight: 400;
}

.lang-link {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  transition: color 0.2s, font-weight 0.2s;
}

.lang-link.active {
  color: #A1BEFF;
  font-weight: 700;
}
