header {
    position: sticky;
    top: 0;
    left: 0;
    background-color: var(--header_color_1);
    z-index: 1000;
}

header.is-stuck { box-shadow: 0 2px 10px rgba(0,0,0,.25); }

footer,
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav a {
  font-size: 1.1em;
  margin: 0px 15px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.burger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: var(--text_color);
  cursor: pointer;
  margin-left: 15px;
  z-index: 11;
}

@media (max-width: 1300px) {
  .burger {
    display: block;
    position: relative;
    margin-right: 30px;
    z-index: 1001; /* toujours au-dessus du menu */
  }
  .nav-links {
    /* margin-top: 30px; */
    position: absolute;
    top: 100%;
    height: 100vh;
    right: 0;
    width: 250px;
    padding: 0px 0px;
    background-color: rgba(4, 23, 38, 0.2);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0px;
    gap: 20px;
    transform: translateX(100%);  /* 👈 totalement hors écran */
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  .nav-links a {
    display: block;
    width: 100%;
    margin: 30px 30px;
  }
  .nav-links.open {
    transform: translateX(0);     /* 👈 revient à sa place */
  }
}

section {
  margin: 150px 0; /* espace haut et bas entre les sections */
}

@media screen and (max-width: 1300px) {
  section {
      margin: 100px 0px;
  }
}

.lien-icone {
    margin-right: auto;
    margin-left: 0;
    /* margin-right: 30px;
    margin-left: 0px; */
}

.lien-icone img {
  height: 80px;
  display: block;
}

.lien-icone:hover {
    opacity: 0.5;
    cursor: pointer;
}

footer {
  background: var(--header_color_1);
  color: var(--text_color);
  padding: 40px 20px;
  margin-top: auto;        
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: auto;
  gap: 20px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 100px;
  width: 100px;
  display: block;
  margin-bottom: 10px;
}

.footer-logo p {
    display: inline-block;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 200;
}

.footer-contact a {
  color: var(--text_color);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--button_color);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  font-size: 0.9em;
}