/* En-tête bicolore : bandeau de choix puis identité Suplearn sur fond blanc. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  display: block;
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(7, 17, 31, .16);
  box-shadow: none;
  backdrop-filter: none;
}

.header-choice-bar,
.header-brand-bar {
  padding-left: max(22px, calc((100% - var(--max)) / 2));
  padding-right: max(22px, calc((100% - var(--max)) / 2));
}

.header-choice-bar {
  display: flex;
  align-items: stretch;
  height: 42px;
  background: #007f5f;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: stretch;
  gap: 0;
  color: #fff;
  font-size: .87rem;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  padding: 0 23px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 700;
}

.desktop-nav a:first-child,
.desktop-nav a:hover,
.desktop-nav a:focus {
  background: #00684f;
  color: #fff;
}

.header-actions {
  gap: 16px;
}

.language {
  color: rgba(255, 255, 255, .76);
}

.language b {
  color: #fff;
}

.header-actions .button-small {
  padding: 7px 12px;
  font-size: .8rem;
}

.header-brand-bar {
  display: flex;
  align-items: center;
  height: 88px;
  gap: 28px;
  color: var(--ink);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  display: block;
  width: 128px;
  height: 76px;
  object-fit: contain;
}

.header-slogan {
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid #c4d0d8;
  color: #18364d;
  font-size: clamp(.86rem, 1.7vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.menu-toggle {
  color: var(--ink);
}

@media (max-width: 760px) {
  .header-choice-bar {
    display: none;
  }

  .header-brand-bar {
    height: 70px;
    justify-content: space-between;
    gap: 12px;
  }

  .brand img {
    width: 102px;
    height: 62px;
  }

  .header-slogan {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    top: 70px;
  }
}
