@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%;
}

/* === STRUCTURE === */
body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: rgb(18, 17, 17);
  color: #C2A878;
}

a {
  color: white;            /* met le texte du lien en blanc */
  text-decoration: none;   /* enlève le soulignement */
}

a:hover {
  text-decoration: underline; /* souligne au survol pour l'accessibilité */
}


/* === RESPONSIVE FLAGS + MARGE POUR ÉVITER LE CHEVAUCHEMENT === */
@media (max-width: 600px) {

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

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

  /* ✅ Pousse le contenu pour qu’il ne passe pas sous les drapeaux */
  .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;
}

/* === 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%);
}

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

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