.header {
  color: white;
  padding: var(--spacing-md) 0;
  background: transparent;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.logo a {
  color: var(--color-secondary);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.main-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-lg);
}
.main-nav__list li a {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}
.main-nav__list li a:hover {
  font-family: var(--font-heading);
  color: var(--color-secondary);
}
.main-nav__list-left {
  display: flex;
  gap: var(--spacing-lg);
  margin-right: auto;
  margin-left: 2rem;
}
.main-nav__list-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.header--fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(248, 248, 252, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    padding: var(--spacing-sm) 0;

    z-index: 9999;

    transition:
        background 0.3s ease,
        backdrop-filter 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}
.header--fixed + * {
  margin-top: 69px;
}
.header--fixed .main-nav__list li a {
  color: black;
  transition: color 0.3s;
}
.header--fixed #menu-item-45 > a {
  color: white !important;
}
.header--fixed #menu-item-44 > a {
  color: var(--color-primary);
}

#menu-item-123846 a {
  color: #fff!important;
}

#menu-item-44 a {
  color: #000!important;
}

.logo .logo-dark {
  display: none;
}

.header--fixed .logo .logo-light {
  display: none;
}

.header--fixed .logo .logo-dark {
  display: inline-block;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: transparent;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.burger__bar {
  position: absolute;
  right: 9px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.burger__bar:nth-child(1) {
  left: 9px;
  top: 13px;
}
.burger__bar:nth-child(2) {
  left: 2px;
  top: 20px;
}
.burger__bar:nth-child(3) {
  left: 11px;
  top: 27px;
}

.header--fixed .burger {
  border-color: rgba(0, 0, 0, 0.25);
}
.header--fixed .burger__bar {
  background: #000;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: 0 0 50px 50px;
  background: #f8f8fc;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-12px);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0 20px;
}
.mobile-nav__logo img {
  width: auto;
}
.mobile-nav__close {
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: none;
  cursor: pointer;
}
.mobile-nav__close-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #111;
  top: 20px;
}
.mobile-nav__close-line:first-child {
  transform: rotate(45deg);
}
.mobile-nav__close-line:last-child {
  transform: rotate(-45deg);
}

.mobile-nav__body {
  padding: 25px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mobile-nav__list a {
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.mobile-nav__cta {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}
.btn--solid {
  background: #0b0b5a;
  color: #fff;
}
.btn--outline {
  background: #fff;
  color: #0b0b5a;
  border: 2px solid #0b0b5a;
}

.mobile-nav.is-open {
  pointer-events: auto;
}
.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}
.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0);
  opacity: 1;
}

.no-scroll {
  overflow: hidden;
}

.mobile-nav__list--secondary .menu-item.btn-primary > a {
  color: #fff;
}
.mobile-nav__list--secondary .menu-item.btn-secondary > a {
  color: var(--color-primary);
}
.mobile-nav__list--secondary .menu-item.btn-primary > a:hover,
.mobile-nav__list--secondary .menu-item.btn-primary > a:focus {
  color: #fff;
}
.mobile-nav__list--secondary .menu-item.btn-secondary > a:hover,
.mobile-nav__list--secondary .menu-item.btn-secondary > a:focus {
  color: var(--color-primary);
}

.header-hero-wrapper.hero-article {
  min-height: clamp(320px, 42vw, 560px);
  border-radius: 0 0 150px 150px;
  display: block;
  background: #4D2AA3!important;
}

.hero-post-hero {
  border-radius: 0 0 50px 50px;
}
.hero-post {
  padding: 36px 0 24px;
}

.hero-post .breadcrumb {
  color: #fff;
  display: flex;
  gap: 8px;
  font-size: 14px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.hero-post .breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.hero-post__grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 24px;
  align-items: center;
}

.hero-post__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-post__category {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.hero-post__category .gradient-text {
  background: #EB0042;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}
.hero-post__media {
  margin: 0;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hero-post__media .hero-post__category {
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  z-index: 2;
}
.hero-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
}

.hero-post__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  color: #fff;
}
.hero-post__meta {
  color: #eaeaea;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.hero-post__meta .sep {
  opacity: 0.7;
}
.hero-post__excerpt {
  color: #fff;
  opacity: 0.95;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 720px;
}

.single-article {
  padding: 36px 0 0px;
}
.article-content img {
  max-width: 100%;
  height: auto;
}

.hero-home-entreprise .header--fixed #menu-item-518 {
    border: 1px solid black;
}

.hero-landing .header--fixed #menu-item-44 {
  border: 1px solid black;
}

.hero-landing .header--fixed #menu-item-44 a {
  color: #000!important;
}

@media (max-width: 1024px) {
  .header-hero-wrapper.hero-article {
    min-height: clamp(260px, 55vw, 420px);
  }
  .header-hero-wrapper.hero-article {
    height: 700px;
    border-radius: 0 0 50px 50px;
  }
  .hero-post {
    padding-top: 20px;
  }
  .hero-post__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-post__media {
    order: -1;
    margin-bottom: 6px;
  }
  .hero-post__media .hero-post__category {
    top: 10px;
    left: 10px;
  }
  .hero-post__text {
    gap: 8px;
  }
  .hero-post .breadcrumb {
    order: 0;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .header__container {
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }
  .main-nav__list-left,
  .main-nav__list-right {
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 0;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__container {
    justify-content: space-between;
  }
  .header--fixed {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: var(--spacing-md) 0;
  }
  .header--fixed + * {
    margin-top: 0 !important;
  }
}
@media (max-width: 420px) {
  .mobile-nav__list a {
    font-size: 17px;
  }
  .btn {
    padding: 12px 18px;
    border-radius: 14px;
  }
}

.header-hero-wrapper.hero-landing {
  min-height: clamp(320px, 42vw, 500px);
  border-radius: 0 0 150px 150px;
  display: block;
  background: #4D2AA3!important;
}

.hero-landing__grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}

.hero-landing__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-landing__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  color: #fff;
}
.hero-landing__subtitle {
  color: #e9f0ff;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.6;
}
.hero-landing__media {
  margin: 0;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hero-landing__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
}

.hero-landing__cta {
  display: flex;
  gap: 10px;
}

.btn.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #0f056b;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1024px) {
  .header-hero-wrapper.hero-landing {
    min-height: clamp(260px, 55vw, 420px);
    border-radius: 0 0 50px 50px;
  }
  .hero-landing__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
  }
}
