/* Site header — exact values from source data-ref="accueil-desktop" */

.lta-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: content-box;
  padding: 22px 72px;
  background: #173F77;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* Sit below the WP admin bar when logged in (32px / 46px via core var) */
.admin-bar .lta-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

/* Below 600px the admin bar is position:absolute and scrolls away */
@media screen and (max-width: 600px) {
  .admin-bar .lta-header {
    top: 0;
  }
}

.lta-header__logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.lta-header__logo {
  height: 56px;
  width: auto;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}

.lta-header__logo.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}

.lta-header--always .lta-header__logo {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

.lta-header__nav {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 18px;
  letter-spacing: .04em;
  color: #fff;
}

.lta-header__link {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.lta-header__link.is-active {
  border-bottom-color: #F3C416;
}

.lta-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  margin-left: 8px;
  padding: 0 32px;
  background: #F3C416;
  color: #0E2C54;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lta-header__cta:hover {
  background: #fff;
  color: #0E2C54;
}

.lta-header__actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.lta-header__cta--compact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: #F3C416;
  color: #0E2C54;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lta-header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: flex-end;
  justify-content: center;
}

.lta-header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

/* Tablet / mobile header rules from README */
@media (max-width: 1023px) {
  .lta-header {
    padding: 14px 20px;
  }

  .lta-header__logo {
    height: 28px;
  }

  .lta-header__nav {
    display: none;
  }

  .lta-header__actions {
    display: flex;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .lta-header {
    padding: 22px 48px;
  }
}
