/* Barre de navigation commune à toutes les pages françaises du site test. */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan, #00b4d8), var(--cyan-2, #00d4ff));
  box-shadow: 0 0 12px rgba(0, 212, 255, .7);
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  min-height: 72px;
  padding: .55rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: #f3f3f2;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  transition: padding .4s var(--ease, cubic-bezier(.22, .61, .21, 1)), box-shadow .4s;
}

#navbar.scrolled {
  min-height: 64px;
  padding: .3rem 3rem;
  box-shadow: 0 10px 40px -18px rgba(10, 22, 40, .28);
}

#navbar .logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: max-content;
  color: inherit;
  text-decoration: none;
}

#navbar .logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#navbar .logo-aq-img {
  width: auto;
  height: 42px;
  display: block;
  object-fit: contain;
  transition: height .4s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar.scrolled .logo-aq-img { height: 36px; }

#navbar .logo-caption {
  color: #06233d;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}

#navbar .logo-caption i {
  margin: 0 1px;
  color: var(--cyan, #00b4d8);
  font-style: normal;
  font-weight: 700;
}

#navbar .nav-slogan {
  margin-left: .5rem;
  padding-left: .75rem;
  color: var(--text-secondary, #5b6b81);
  border-left: 1px solid var(--border, #e2e8f0);
  font-size: .7rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
}

#navbar .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.8rem, 1.55vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

#navbar .nav-links > li { flex: 0 0 auto; }

#navbar .nav-links a {
  position: relative;
  padding: .35rem 0;
  color: var(--text-secondary, #5b6b81);
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}

#navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan, #00b4d8), var(--cyan-2, #00d4ff));
  box-shadow: 0 0 10px rgba(0, 212, 255, .6);
  transition: width .35s var(--ease, cubic-bezier(.22, .61, .21, 1)), left .35s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar .nav-links a:hover,
#navbar .nav-links a[aria-current='page'] { color: #0a1628; }

#navbar .nav-links a:hover::after,
#navbar .nav-links a[aria-current='page']::after {
  left: 0;
  width: 100%;
}

#navbar .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 650;
  text-decoration: none;
}

#navbar .btn-nav {
  padding: .6rem 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, #0a1628, #11253f);
  box-shadow: inset 0 0 0 1px rgba(0, 180, 216, .35), 0 8px 24px -10px rgba(10, 22, 40, .5);
  font-size: .8rem;
  white-space: nowrap;
  transition: color .4s var(--ease, cubic-bezier(.22, .61, .21, 1)), box-shadow .4s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  width: 50%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar .btn:hover::before { left: 130%; }

#navbar .btn-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan-2, #00d4ff), var(--cyan, #00b4d8));
  transform: translateY(101%);
  transition: transform .45s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar .btn-nav:hover {
  color: #0a1628;
  box-shadow: 0 10px 30px -10px rgba(0, 212, 255, .6);
}

#navbar .btn-nav:hover::after { transform: translateY(0); }

#navbar .lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #e7e9eb;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 50px;
}

#navbar .lang-btn {
  padding: .3rem .68rem;
  color: var(--text-secondary, #5b6b81);
  background: transparent;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  line-height: 1.2;
  transition: all .3s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

#navbar .lang-btn.active {
  color: #fff;
  background: #0a1628;
  box-shadow: 0 4px 12px -4px rgba(10, 22, 40, .4);
}

#navbar .nav-mobile-controls {
  display: none;
  align-items: center;
  gap: .7rem;
}

#navbar .mobile-menu-btn {
  display: none;
  z-index: 200;
  padding: 0;
  color: #0a1628;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.9rem;
  pointer-events: none;
  opacity: 0;
  background: rgba(8, 17, 32, .9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: opacity .35s var(--ease, cubic-bezier(.22, .61, .21, 1));
}

.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 650;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease, cubic-bezier(.22, .61, .21, 1)), transform .45s var(--ease, cubic-bezier(.22, .61, .21, 1)), color .25s;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:hover { color: var(--cyan-2, #00d4ff); }

.mobile-menu .btn-menu {
  padding: .95rem 2.1rem;
  color: #0a1628;
  background: linear-gradient(135deg, var(--cyan-2, #00d4ff), var(--cyan, #00b4d8));
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: 650 1rem/1.2 inherit;
  box-shadow: 0 0 40px rgba(0, 180, 216, .35);
}

.mobile-menu .menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: transform .3s, background .3s;
}

.mobile-menu .menu-close:hover {
  background: rgba(0, 180, 216, .25);
  transform: rotate(90deg);
}

@media (max-width: 1180px) {
  #navbar,
  #navbar.scrolled {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  #navbar .nav-links { display: none; }
  #navbar .nav-mobile-controls { display: flex; }
  #navbar .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  #navbar,
  #navbar.scrolled {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  #navbar .logo-aq-img { height: 36px; }
  #navbar.scrolled .logo-aq-img { height: 32px; }
  #navbar .logo-caption { font-size: .56rem; }
  #navbar .nav-slogan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #navbar *,
  .mobile-menu * { transition-duration: .01ms !important; }
}
