
.page-header {
  position: fixed; /* `position: sticky` aurait rendu la fonction JS `updateStickyHeader()` inutile */ 
  z-index: 9999;
  width: 100%;
  color: white;
}
.page-header__container {
  display: flex;
  justify-content: space-between;
  margin: 0 35px;
  padding-top: 30px;
  padding-bottom: 20px;
  transition: padding 200ms ease-in-out;
}

.page-header__logo {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 300px;
  height: auto;
  transition: all 200ms;
}
.page-header__logo::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  border-radius: 25%;
  background-color: #01000a;
  filter: blur(20px);
  opacity: 0.5;
}
.page-header__logo::after {
  content: url(/public/img/logo-iph-france@white.svg);
  position: relative;
  display: block;
  line-height: 0;
}

.page-header--sticky {
  color: #005ba8;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: all 400ms;
}
.page-header--sticky .page-header__container {
  padding-top: 20px;
}
.page-header--sticky .page-header__logo {
  width: 200px;
  height: 70px;
}
.page-header--sticky .page-header__logo::before {
  visibility: hidden;
}
.page-header--sticky .page-header__logo::after {
  content: url(/public/img/logo-iph-france.svg);
}


.page-header__btn-menu-burger {
  display: none;
}


.page-header__menu ul {
  display: flex;
  margin: 2px 0 0;
  list-style: none;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.2em;
  font-weight: 500;
  transition: margin 200ms;
}

.page-header__menu li {
  margin: 0 10px;
}
.page-header__menu li:last-child {
  margin-right: 0;
}
.page-header__menu a {
  position: relative;
  display: block;
  padding: 0 10px;
  line-height: 40px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.page-header__menu a::after {
  position: absolute;
  left: 10px;
  bottom: 0;
  display: block;
  content: '';
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 250ms ease-in-out;
}
.page-header__menu a:hover::after {
  width: calc(100% - 10px - 10px);
}
.page-header--sticky .page-header__menu a::after {
  background-color: #005ba8;
}

@media screen and (min-width: 1550px) {
  .page-header__container {
    margin: 0 auto;
    max-width: 1480px;
  }
  .page-header__logo {
    width: 340px;
  }
  .page-header__menu li {
    margin: 0 20px;
  }
}

@media screen and (min-width: 1900px) {
  .page-header__container {
    max-width: 1600px;
  }
}
