@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
}

/* === BODY STRUCTURE === */
body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: rgb(18, 17, 17);
  color: #C2A878;
}
.guide-list a {
    color: white;
    text-decoration: none;
  }

  .guide-list a:hover {
    text-decoration: underline;
  }

/* === LANGUAGE SWITCHER (drapeaux) === */
.language-switcher {
  position: fixed;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 8px;
  z-index: 1000;
  background: rgba(0,0,0,0.25);
  padding: 6px 8px;
  border-radius: 8px;
}

.flag {
  width: 30px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.flag:hover {
  transform: scale(1.1);
}

/* === RESPONSIVE FIX : drapeaux + espace anti-chevauchement === */
@media (max-width: 600px) {

  .language-switcher {
    top: 0.5rem;
    left: 0.5rem;
    gap: 5px;
    padding: 4px 6px;
  }

  .flag {
    width: 22px;
    height: 14px;
  }

  /* ✅ Empêche les drapeaux de recouvrir le texte */
  .legal-container {
    padding-top: 80px !important;
  }
}

/* === MAIN CONTAINER === */
main.legal-container {
  flex: 1;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === TITRE === */
.title {
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  color: #C2A878;
}

/* === LISTE DU GUIDE === */
.guide-list {
  list-style: none;
  padding: 0;
}

.guide-list li {
  margin-bottom: 15px;
  line-height: 1.7;
  position: relative;
  padding-left: 18px;
}

.guide-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #C2A878;
  font-size: 20px;
  line-height: 1;
}

/* === FOOTER === */
.footer {
  width: 100%;
  background-color: rgb(18, 17, 17);
  color: rgb(255, 182, 193);
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer a {
  color: rgb(255, 182, 193);
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links img {
  width: 22px;
  height: 22px;
  filter: invert(80%) sepia(25%) saturate(250%) hue-rotate(20deg);
  transition: 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
  filter: invert(100%);
}

/* === RESPONSIVE GLOBAL === */
@media (max-width: 768px) {
  main.legal-container {
    padding: 20px;
    font-size: 16px;
  }

  .title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  main.legal-container {
    padding: 10px;
    font-size: 14px;
  }

  .title {
    font-size: 22px;
  }
}

