/* ============================================================
 ANTHONY IT SOLUTIONS, En-tête & navigation
 ============================================================ */

/* === HEADER (2 bandes) === */
.ais-site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  overflow: visible;
}
.ais-header-row {
  width: 100%;
  max-width: var(--ais-header-max);
  margin: 0 auto;
  padding: 0 var(--ais-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ais-topbar {
  color: #ffffff;
  font-size: 0.86rem;
  background: #163a72;
}
.ais-topbar a { color: #ffffff; text-decoration: none; transition: opacity .2s; }
.ais-topbar a:hover { opacity: .8; color: #ffffff; }
.ais-topbar .ais-header-row {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.ais-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff !important;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}
.ais-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.ais-brand-text {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1.2;
  min-width: 0;
  flex: 1 1 auto;
}
.ais-brand-name {
  font-family: var(--ais-font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ais-brand-slogan {
  font-family: var(--ais-font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
.ais-brand-slogan--promo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ais-brand-slogan__offer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  overflow: hidden;
}
.ais-brand-slogan__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.62rem;
  border-radius: 999px;
  background: rgba(253, 230, 138, 0.18);
  border: 1px solid rgba(253, 230, 138, 0.42);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  flex-shrink: 0;
  white-space: nowrap;
}
.ais-brand-slogan__icon {
  flex-shrink: 0;
  font-size: 0.68rem;
  opacity: 0.95;
}
.ais-brand-slogan__promo-text {
  min-width: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}
.ais-brand-slogan__sep {
  flex-shrink: 0;
  width: 1px;
  height: 0.9rem;
  background: rgba(255, 255, 255, 0.28);
}
.ais-brand-slogan__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  flex-shrink: 0;
  white-space: nowrap;
}
.ais-brand-slogan__timer-icon {
  flex-shrink: 0;
  font-size: 0.68rem;
  opacity: 0.95;
}
.ais-brand-slogan__timer-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}
.ais-brand-slogan__timer-value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.ais-topbar-utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 0;
}
.ais-topbar-utils > a,
.ais-topbar-utils > .ais-topbar-linkbtn,
.ais-topbar-utils > .ais-topbar-divider {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.ais-topbar-divider { opacity: .35; }
.ais-phone i { color: #ffffff; }

/* Sélecteur de langue (dropdown) */
.ais-lang-select {
  position: relative;
  display: inline-flex;
}

.ais-lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.ais-lang-select__flag.fi {
  width: 1.15em;
  line-height: 1em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.ais-lang-select__code {
  letter-spacing: 0.04em;
}

.ais-lang-select__caret {
  font-size: 0.65rem;
  opacity: 0.85;
}

.ais-lang-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1105;
  min-width: 176px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
}

.ais-lang-select__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 40px;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.ais-lang-select__option .fi {
  width: 1.25em;
  line-height: 1em;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}

.ais-lang-select__option .bi-check2 {
  margin-left: auto;
  color: var(--ais-brand, #163a72);
  font-size: 0.95rem;
}

.ais-lang-select__option.is-active {
  background: rgba(22, 58, 114, 0.08);
  color: var(--ais-brand, #163a72);
}

.ais-lang-select--light .ais-lang-select__trigger {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
}

.ais-lang-select--light .ais-lang-select__flag.fi {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

[data-style="dark"] .ais-lang-select--light .ais-lang-select__trigger,
[data-theme="dark"] .ais-lang-select--light .ais-lang-select__trigger {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

[data-style="dark"] .ais-lang-select__menu,
[data-theme="dark"] .ais-lang-select__menu {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

[data-style="dark"] .ais-lang-select__option,
[data-theme="dark"] .ais-lang-select__option {
  color: #e2e8f0;
}

[data-style="dark"] .ais-lang-select__option.is-active,
[data-theme="dark"] .ais-lang-select__option.is-active {
  background: rgba(147, 197, 253, 0.1);
  color: #93c5fd;
}

[data-style="dark"] .ais-lang-select__option .bi-check2,
[data-theme="dark"] .ais-lang-select__option .bi-check2 {
  color: #93c5fd;
}

.ais-translate-root,
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

.ais-topbar-utils .ais-theme-switch {
  flex-shrink: 0;
  margin-left: 0.1rem;
}

.ais-cta-client {
  background: var(--ais-brand);
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.ais-cta-client i {
  color: inherit;
}
.ais-cta-client:hover {
  background: var(--ais-brand-hover);
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
  opacity: 1;
}

[data-style="dark"] .ais-cta-client,
[data-theme="dark"] .ais-cta-client {
  background: linear-gradient(135deg, #163a72, #1e4a8f);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

[data-style="dark"] .ais-cta-client:hover,
[data-theme="dark"] .ais-cta-client:hover {
  background: linear-gradient(135deg, #1e4a8f, #0f2d5c);
  color: #ffffff !important;
  transform: none;
  opacity: 1;
}

/* === BARRE MENU PRINCIPAL === */
.ais-mainnav {
  position: relative;
  overflow: visible;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.ais-mainnav .ais-header-row {
  min-height: var(--ais-mainnav-h);
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow: visible;
}
.ais-mobile-toggle {
  flex: 0 0 auto;
  margin-right: 0.25rem;
}
.ais-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.ais-menu > li { position: relative; flex-shrink: 0; }

.ais-menu > li.ais-menu-divider {
  display: flex;
  align-items: center;
  padding: 0 0.35rem;
  margin: 0 0.1rem;
  color: rgba(22, 58, 114, 0.22);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}

/* Pont invisible : garde le hover actif entre le lien et le dropdown.
   Il ne doit exister QUE pour l'entrée survolée / ouverte. Quand il était posé
   sous toutes les entrées, cette bande invisible captait la souris sous la
   barre et ouvrait (ou changeait) un menu dès qu'on longeait le bandeau. */
.ais-menu > li:has(> .ais-dropdown):hover::after,
.ais-menu > li:has(> .ais-dropdown):focus-within::after,
.ais-menu > li:has(> .ais-dropdown).open::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  z-index: 1003;
}

.ais-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #0a1f5c !important;
  font-weight: 700;
  padding: 0.72rem 0.58rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s, background .2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
/* Les huit entrées et le bouton d'espace client se partagent une seule ligne.
   Les libellés complets réclament 1152 px de piste alors que le bandeau n'en
   offrait que 1043 à 1350 px : le bouton finissait par recouvrir « Wiki » et
   « État des services », qui devenaient inatteignables au clic.
   On n'élargit donc les entrées, puis on ne réaffiche le préfixe « Univers »,
   que lorsque la fenêtre a réellement la place. */
@media (min-width: 1300px) {
  .ais-menu > li > a {
    padding-inline: 0.72rem;
    font-size: 0.84rem;
  }
}
@media (min-width: 1400px) {
  .ais-menu > li > a {
    padding-inline: 0.85rem;
    font-size: 0.86rem;
  }
}
/* Hors du tiroir mobile, « Univers Cloud » se lit « Cloud » tant que la
   largeur ne permet pas d'afficher les libellés entiers. */
.ais-menu > li > a .ais-nav-full { display: none; }
.ais-menu > li > a .ais-nav-short { display: inline; }

@media (min-width: 1366px) {
  .ais-menu > li > a .ais-nav-full { display: inline; }
  .ais-menu > li > a .ais-nav-short { display: none; }
}

/* Entre 1400 et 1560 px, les libellés entiers ne tiennent qu'avec un
   espacement resserré : sinon le bouton « Espace client » recouvre « Wiki ». */
@media (min-width: 1366px) and (max-width: 1559.98px) {
  .ais-menu > li > a {
    padding-inline: 0.58rem;
    font-size: 0.815rem;
  }
}
.ais-menu > li > a:hover,
.ais-menu > li.active > a {
  color: #163a72 !important;
  border-bottom-color: #163a72;
}

/* Items avec dropdown : pas de double barre, fond léger au survol */
.ais-menu > li:has(> .ais-dropdown).open > a {
  border-bottom-color: transparent;
  background: rgba(22, 58, 114, 0.06);
  border-radius: 8px 8px 0 0;
}
.ais-menu > li > a .ais-caret {
  font-size: 0.7rem;
  margin-left: 0.15rem;
  opacity: 0.7;
  transition: transform .2s;
}
.ais-menu > li.open > a .ais-caret { transform: rotate(180deg); }

/* Dropdowns, panneaux modernes */
.ais-dropdown,
.ais-account-menu {
  --ais-dd-radius: 14px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(22, 58, 114, 0.1);
  border-radius: var(--ais-dd-radius);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.12);
  padding: 0.45rem;
  min-width: 280px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.99);
  transform-origin: top left;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 1100;
  overflow: visible;
}

/* Le panneau couvre lui-même l'espace qui le sépare de la barre, sur TOUTE sa
   largeur : sans ça, un trajet en diagonale vers un item de droite sortait de
   l'entrée de menu et refermait (ou changeait) le dropdown. */
@media (min-width: 992px) {
  .ais-dropdown::before,
  .ais-account-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }
}

.ais-account-menu,
.ais-dropdown--account {
  right: 0;
  left: auto !important;
  top: 100%;
  min-width: 280px;
  width: 280px;
  max-width: calc(100vw - 1.25rem);
  transform-origin: top right;
}

.ais-menu > li.open > .ais-dropdown,
.ais-account.open > .ais-dropdown,
.ais-account.open > .ais-account-menu,
.ais-account:hover > .ais-dropdown,
.ais-account:hover > .ais-account-menu,
.ais-account:focus-within > .ais-dropdown,
.ais-account:focus-within > .ais-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (min-width: 992px) {
  /* Desktop : hover + .open (JS), hover garantit le menu sans rebuild Next */
  .ais-menu > li:hover > .ais-dropdown,
  .ais-menu > li:focus-within > .ais-dropdown,
  .ais-menu > li:hover > .ais-dropdown--wide,
  .ais-menu > li:focus-within > .ais-dropdown--wide,
  .ais-menu > li:hover > .ais-dropdown--games-nav,
  .ais-menu > li:focus-within > .ais-dropdown--games-nav,
  .ais-menu > li.open > .ais-dropdown,
  .ais-menu > li.open > .ais-dropdown--wide,
  .ais-menu > li.open > .ais-dropdown--games-nav,
  .ais-account.open > .ais-dropdown,
  .ais-account.open > .ais-account-menu,
  .ais-account:hover > .ais-dropdown,
  .ais-account:hover > .ais-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

.ais-dropdown--wide {
  min-width: 470px;
  max-width: min(520px, calc(100vw - 1.5rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  padding: 0.45rem 0.5rem 0.55rem;
}

.ais-dropdown--wide > .ais-dropdown__head {
  grid-column: 1 / -1;
}

.ais-dropdown--wide .ais-dropdown__text strong {
  white-space: nowrap;
}

/* Dropdown Serveurs de jeux, catégories + panel (style AIS) */
.ais-dropdown--games-nav {
  display: block;
  min-width: min(640px, calc(100vw - 2rem));
  max-width: 640px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(22, 58, 114, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.ais-dropdown--games-nav,
.ais-dropdown--games-nav ul,
.ais-dropdown--games-nav li {
  list-style: none;
}

.ais-dropdown--games-nav > .ais-games-nav__shell {
  margin: 0;
  padding: 0;
}

.ais-games-nav {
  background: #fff;
  color: #0f172a;
}

.ais-games-nav__head {
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid #eef2f7;
}

.ais-games-nav__head-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #163a72;
  letter-spacing: -0.01em;
}

.ais-games-nav__head-sub {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #64748b;
}

.ais-games-nav__body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 190px;
}

.ais-games-nav__cats {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.4rem;
  border-right: 1px solid #eef2f7;
}

.ais-games-nav__cat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ais-games-nav__cat i {
  width: 0.95rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.ais-games-nav__cat:hover,
.ais-games-nav__cat:focus-visible {
  color: #163a72;
  background: rgba(22, 58, 114, 0.04);
  outline: none;
}

.ais-games-nav__cat.is-active {
  color: #163a72;
  border-left-color: #163a72;
  background: rgba(22, 58, 114, 0.06);
}

.ais-games-nav__cat.is-active i {
  color: #163a72;
}

.ais-games-nav__panels {
  padding: 0.65rem 0.75rem 0.55rem;
}

.ais-games-nav__panel {
  display: none;
}

.ais-games-nav__panel.is-active {
  display: block;
}

.ais-games-nav__panel[hidden] {
  display: none !important;
}

.ais-games-nav__panel-label {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ais-games-nav__games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.ais-games-nav__games li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.55rem;
  border-radius: 9px;
  border: 1px solid #eef2f7;
  background: #fafbfc;
  color: #0f172a !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ais-games-nav__games li a:hover,
.ais-games-nav__games li a:focus-visible {
  border-color: rgba(22, 58, 114, 0.22);
  background: #fff;
  outline: none;
}

.ais-games-nav__game-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e8edf3;
}

.ais-games-nav__game-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.ais-games-nav__game-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}

.ais-games-nav__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1rem 0.75rem;
  border-top: 1px solid #eef2f7;
}

.ais-games-nav__foot-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #163a72 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-color: rgba(22, 58, 114, 0.35) !important;
}

.ais-games-nav__foot-link:hover,
.ais-games-nav__foot-link:focus-visible {
  text-decoration-color: #163a72 !important;
}

.ais-games-nav__foot-meta {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

[data-style="dark"] .ais-games-nav,
[data-theme="dark"] .ais-games-nav {
  background: #1e293b;
  color: #e2e8f0;
}

[data-style="dark"] .ais-games-nav__head,
[data-theme="dark"] .ais-games-nav__head,
[data-style="dark"] .ais-games-nav__foot,
[data-theme="dark"] .ais-games-nav__foot,
[data-style="dark"] .ais-games-nav__cats,
[data-theme="dark"] .ais-games-nav__cats {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-style="dark"] .ais-games-nav__head-title,
[data-theme="dark"] .ais-games-nav__head-title {
  color: #93c5fd;
}

[data-style="dark"] .ais-games-nav__head-sub,
[data-theme="dark"] .ais-games-nav__head-sub {
  color: #94a3b8;
}

[data-style="dark"] .ais-games-nav__games li a,
[data-theme="dark"] .ais-games-nav__games li a {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0 !important;
}

[data-style="dark"] .ais-games-nav__game-icon,
[data-theme="dark"] .ais-games-nav__game-icon {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-style="dark"] .ais-games-nav__game-name,
[data-theme="dark"] .ais-games-nav__game-name {
  color: #e2e8f0;
}

[data-style="dark"] .ais-games-nav__foot-link,
[data-theme="dark"] .ais-games-nav__foot-link {
  color: #93c5fd !important;
}

.ais-dropdown__head {
  padding: 0.55rem 0.75rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  pointer-events: none;
  user-select: none;
}

.ais-dropdown__sep {
  height: 1px;
  margin: 0.25rem 0.5rem;
  background: #e2e8f0;
  list-style: none;
}

.ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) a,
.ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action,
.ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
.ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  color: #0f172a !important;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.ais-dropdown li a strong,
.ais-dropdown li a small,
.ais-account-menu li a strong,
.ais-account-menu li a small {
  text-decoration: none !important;
}

.ais-dropdown:not(.ais-dropdown--games-nav) li a:hover,
.ais-dropdown:not(.ais-dropdown--games-nav) li button.ais-dropdown__action:hover,
.ais-account-menu li a:hover,
.ais-account-menu li button.ais-dropdown__action:hover {
  background: rgba(22, 58, 114, 0.08);
  color: #0f172a !important;
  transform: translateX(2px);
}

.ais-dropdown__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(22, 58, 114, 0.08);
  border: 1px solid rgba(22, 58, 114, 0.1);
}

.ais-dropdown__icon img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.ais-dropdown__icon--ryzen,
.ais-dropdown__icon:has(img[src*="ryzen"]) {
  width: 2.65rem;
  padding-inline: 0.15rem;
  background: rgba(255, 135, 0, 0.1);
  border-color: rgba(255, 135, 0, 0.22);
}

.ais-dropdown__icon img[src*="ryzen"] {
  width: 100%;
  height: 0.95rem;
  max-width: none;
  object-fit: contain;
  filter: none;
}

.ais-dropdown__icon i {
  font-size: 1.05rem;
  color: #163a72;
}

.ais-dropdown__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.25;
}
.ais-account-menu .ais-dropdown__text,
.ais-dropdown--account .ais-dropdown__text {
  display: block;
}
.ais-account-menu .ais-dropdown__text strong,
.ais-dropdown--account .ais-dropdown__text strong,
.ais-account-menu .ais-dropdown__head,
.ais-dropdown--account .ais-dropdown__head,
.ais-cta-client span {
  white-space: nowrap;
}
.ais-site-header font {
  display: inline !important;
}

.ais-dropdown__text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: inherit;
}

.ais-dropdown__text small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.3;
}

.ais-dropdown li a:hover .ais-dropdown__text small,
.ais-account-menu li a:hover .ais-dropdown__text small {
  color: #475569;
}

.ais-dropdown li a:hover .ais-dropdown__icon,
.ais-account-menu li a:hover .ais-dropdown__icon {
  background: rgba(22, 58, 114, 0.16);
  border-color: rgba(22, 58, 114, 0.35);
}

.ais-dropdown li a:hover .ais-dropdown__icon:has(i),
.ais-account-menu li a:hover .ais-dropdown__icon:has(i) {
  background: #163a72;
  border-color: #163a72;
}

.ais-dropdown li a:hover .ais-dropdown__icon i,
.ais-account-menu li a:hover .ais-dropdown__icon i {
  color: #fff;
}

.ais-mainnav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 0.35rem;
  overflow: visible;
}
.ais-mainnav-right .ais-cta-client {
  padding: 0.4rem 0.8rem;
  min-height: 36px;
  line-height: 1.2;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.8125rem;
}
.ais-mainnav-right .ais-cta-client i {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}
/* Espace client dropdown (compte) */
.ais-account {
  position: relative;
  overflow: visible;
}

.ais-account:hover::after,
.ais-account:focus-within::after,
.ais-account.open::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  height: 16px;
  z-index: 1003;
}

.ais-account-menu li a.text-danger { color: #dc2626 !important; }
.ais-account-menu li a.text-danger:hover { background: #fef2f2; color: #b91c1c !important; }

/* Mobile toggle */
.ais-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #0a1f5c;
  font-size: 1.5rem;
  cursor: pointer;
  padding: .3rem .6rem;
  line-height: 1;
  flex-shrink: 0;
}

.ais-mobile-toggle--topbar {
  margin-left: auto;
  color: #ffffff;
  min-width: var(--ais-touch-min, 44px);
  min-height: var(--ais-touch-min, 44px);
  padding: 0.35rem 0.5rem;
}

/* Page-home : top bar et menu adaptés */
body.page-home .ais-mainnav {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
}
[data-style="dark"] body.page-home .ais-mainnav {
  background: rgba(17, 24, 39, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-style="dark"] body.page-home .ais-menu > li > a,
[data-style="dark"] body.page-home .ais-mobile-toggle {
  color: #e2e8f0;
}
[data-style="dark"] body.page-home .ais-menu > li > a:hover,
[data-style="dark"] body.page-home .ais-menu > li > a.active {
  color: #b8cce8;
  background: rgba(22, 58, 114, 0.12);
}

[data-style="dark"] .ais-dropdown,
[data-style="dark"] .ais-account-menu,
[data-style="dark"] body.page-home .ais-dropdown,
[data-style="dark"] body.page-home .ais-account-menu {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

[data-style="dark"] .ais-menu > li:has(> .ais-dropdown).open > a,
[data-theme="dark"] .ais-menu > li:has(> .ais-dropdown).open > a {
  background: rgba(22, 58, 114, 0.2);
}

[data-style="dark"] .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-style="dark"] .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action,
[data-style="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-style="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action,
[data-style="dark"] body.page-home .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-style="dark"] body.page-home .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-style="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) a,
[data-style="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) button.ais-dropdown__action,
[data-theme="dark"] .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-theme="dark"] .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action,
[data-theme="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-theme="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action,
[data-theme="dark"] body.page-home .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-theme="dark"] body.page-home .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a,
[data-theme="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) a,
[data-theme="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) button.ais-dropdown__action {
  color: #e2e8f0 !important;
}

[data-style="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) a:hover,
[data-style="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) button.ais-dropdown__action:hover,
[data-style="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover,
[data-style="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action:hover,
[data-style="dark"] body.page-home .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover,
[data-style="dark"] body.page-home .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover,
[data-theme="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) a:hover,
[data-theme="dark"] .ais-dropdown:not(.ais-dropdown--games-nav) li:not(.ais-dropdown__head):not(.ais-dropdown__sep):not(.ais-games-nav__shell) button.ais-dropdown__action:hover,
[data-theme="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover,
[data-theme="dark"] .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) button.ais-dropdown__action:hover,
[data-theme="dark"] body.page-home .ais-dropdown li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover,
[data-theme="dark"] body.page-home .ais-account-menu li:not(.ais-dropdown__head):not(.ais-dropdown__sep) a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc !important;
}

[data-style="dark"] .ais-dropdown__head,
[data-style="dark"] body.page-home .ais-dropdown__head,
[data-theme="dark"] .ais-dropdown__head,
[data-theme="dark"] body.page-home .ais-dropdown__head {
  color: #94a3b8;
}

[data-style="dark"] .ais-dropdown__text strong,
[data-style="dark"] .ais-dropdown li a strong,
[data-style="dark"] .ais-account-menu li a strong,
[data-theme="dark"] .ais-dropdown__text strong,
[data-theme="dark"] .ais-dropdown li a strong,
[data-theme="dark"] .ais-account-menu li a strong {
  color: #f1f5f9 !important;
}

[data-style="dark"] .ais-dropdown__text small,
[data-style="dark"] .ais-dropdown li a small,
[data-style="dark"] .ais-account-menu li a small,
[data-theme="dark"] .ais-dropdown__text small,
[data-theme="dark"] .ais-dropdown li a small,
[data-theme="dark"] .ais-account-menu li a small {
  color: #94a3b8 !important;
}

[data-style="dark"] .ais-dropdown li a:hover .ais-dropdown__text small,
[data-style="dark"] .ais-account-menu li a:hover .ais-dropdown__text small,
[data-theme="dark"] .ais-dropdown li a:hover .ais-dropdown__text small,
[data-theme="dark"] .ais-account-menu li a:hover .ais-dropdown__text small,
[data-style="dark"] .ais-dropdown li a:hover small,
[data-style="dark"] .ais-account-menu li a:hover small,
[data-theme="dark"] .ais-dropdown li a:hover small,
[data-theme="dark"] .ais-account-menu li a:hover small {
  color: #cbd5e1 !important;
}

[data-style="dark"] .ais-dropdown li a:hover .ais-dropdown__text strong,
[data-style="dark"] .ais-account-menu li a:hover .ais-dropdown__text strong,
[data-theme="dark"] .ais-dropdown li a:hover .ais-dropdown__text strong,
[data-theme="dark"] .ais-account-menu li a:hover .ais-dropdown__text strong,
[data-style="dark"] .ais-dropdown li a:hover strong,
[data-style="dark"] .ais-account-menu li a:hover strong,
[data-theme="dark"] .ais-dropdown li a:hover strong,
[data-theme="dark"] .ais-account-menu li a:hover strong {
  color: #f8fafc !important;
}

[data-style="dark"] .ais-dropdown__icon,
[data-style="dark"] body.page-home .ais-dropdown__icon {
  background: rgba(22, 58, 114, 0.35);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-style="dark"] .ais-dropdown__icon i {
  color: #b8cce8;
}

/* Tuiles d'icônes teintées, une couleur par gamme (Univers Cloud) */
.ais-dropdown__icon--tint {
  --ais-tint: 22 58 114;
  background: rgb(var(--ais-tint) / 0.1);
  border-color: rgb(var(--ais-tint) / 0.2);
}

.ais-dropdown__icon--tint.is-emerald {
  --ais-tint: 4 120 87;
}

.ais-dropdown__icon--tint.is-violet {
  --ais-tint: 109 40 217;
}

.ais-dropdown__icon--tint.is-amber {
  --ais-tint: 194 92 0;
}

.ais-dropdown__icon--tint.is-sky {
  --ais-tint: 2 120 212;
}

.ais-dropdown__icon--tint i {
  font-size: 1rem;
  color: rgb(var(--ais-tint));
}

.ais-dropdown li a:hover .ais-dropdown__icon--tint:has(i),
.ais-dropdown li a:focus-visible .ais-dropdown__icon--tint:has(i) {
  background: rgb(var(--ais-tint));
  border-color: rgb(var(--ais-tint));
}

.ais-dropdown li a:hover .ais-dropdown__icon--tint i,
.ais-dropdown li a:focus-visible .ais-dropdown__icon--tint i {
  color: #fff;
}

[data-style="dark"] .ais-dropdown__icon--tint,
[data-theme="dark"] .ais-dropdown__icon--tint,
[data-style="dark"] body.page-home .ais-dropdown__icon--tint,
[data-theme="dark"] body.page-home .ais-dropdown__icon--tint {
  background: rgb(var(--ais-tint) / 0.24);
  border-color: rgb(var(--ais-tint) / 0.42);
}

[data-style="dark"] .ais-dropdown__icon--tint i,
[data-theme="dark"] .ais-dropdown__icon--tint i {
  color: #fff;
}

[data-style="dark"] body.page-home .ais-mainnav-right #themeToggle {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

[data-style="dark"] body.page-home .ais-mainnav-right #themeToggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Panneau compte / utilitaires dans le menu mobile */
.ais-menu-mobile-extra {
  list-style: none;
}

@media (min-width: 992px) {
  .ais-menu > .ais-menu-mobile-extra,
  .ais-menu-mobile-extra.ais-hide-desktop {
    display: none !important;
  }
}

.ais-menu-mobile-extra__block {
  padding: 0.85rem 1.15rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ais-menu-mobile-extra__block--account {
  background: #ffffff;
}

.ais-menu-mobile-extra__block--footer {
  padding-top: 0.65rem;
}

.ais-menu-mobile-extra__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--ais-touch-min, 44px);
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #163a72, #1e4a8f);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.ais-menu-mobile-extra__cta i {
  font-size: 1.15rem;
}

.ais-menu-mobile-extra__block .ais-dropdown__head {
  margin: 0 0 0.65rem;
  padding: 0;
}

.ais-menu-mobile-extra__account {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #163a72, #1e4a8f);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.ais-menu-mobile-extra__account i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ais-menu-mobile-extra__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.15rem;
  min-height: var(--ais-touch-min, 44px);
  color: #0f172a !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.ais-menu-mobile-extra__link i {
  width: 1.25rem;
  color: #163a72;
  flex-shrink: 0;
}

.ais-menu-mobile-extra__link--danger {
  color: #dc2626 !important;
}

.ais-menu-mobile-extra__link--danger i {
  color: #dc2626;
}

.ais-menu-mobile-extra__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
}

[data-style="dark"] .ais-menu-mobile-extra__block,
[data-theme="dark"] .ais-menu-mobile-extra__block {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-style="dark"] .ais-menu-mobile-extra__link,
[data-theme="dark"] .ais-menu-mobile-extra__link {
  color: #e2e8f0 !important;
}

[data-style="dark"] .ais-menu-mobile-extra__link i,
[data-theme="dark"] .ais-menu-mobile-extra__link i {
  color: #93c5fd;
}

[data-style="dark"] .ais-menu-mobile-extra__row,
[data-theme="dark"] .ais-menu-mobile-extra__row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .ais-site-header {
    --ais-mainnav-h: 0px;
  }

  .ais-menu > li.ais-menu-divider {
    display: none;
  }

  .ais-topbar {
    position: relative;
    z-index: 1060;
  }

  .ais-mobile-toggle--topbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ais-mobile-toggle--topbar.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }

  .ais-topbar .ais-header-row {
    flex-wrap: nowrap;
    gap: 0.65rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .ais-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ais-brand-text {
    min-width: 0;
  }

  .ais-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .ais-brand-slogan {
    display: none !important;
  }

  .ais-topbar-utils,
  .ais-topbar-utils.ais-hide-mobile {
    display: none !important;
  }

  .ais-mainnav {
    height: 0;
    min-height: 0;
    overflow: visible;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .ais-mainnav .ais-header-row {
    position: static;
    height: 0;
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
  }

  .ais-mainnav-right,
  .ais-mainnav-right.ais-hide-mobile {
    display: none !important;
  }

  .ais-menu {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    top: calc(var(--ais-topbar-h, 52px) + env(safe-area-inset-top, 0px));
    left: auto;
    right: 0;
    width: min(88vw, 360px);
    z-index: 1050;
    height: calc(100dvh - var(--ais-topbar-h, 52px) - env(safe-area-inset-top, 0px));
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 0 calc(env(safe-area-inset-bottom, 0px));
    border-left: 1px solid #e2e8f0;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
  }

  /* Footer (compte / contact / langue / thème) ancré en bas du tiroir */
  .ais-menu > .ais-menu-mobile-extra {
    margin-top: auto;
  }

  /* Surface unique : blocs extra transparents, séparateurs nets */
  .ais-menu-mobile-extra__block,
  .ais-menu-mobile-extra__block--account {
    background: transparent;
    padding: 0.85rem 1.15rem;
  }
  .ais-menu-mobile-extra__block--account {
    border-top: 1px solid #e2e8f0;
  }
  .ais-menu-mobile-extra__block--footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
  }

  [data-style="dark"] .ais-menu,
  [data-theme="dark"] .ais-menu {
    background: #111827;
    border-left-color: rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  }

  .ais-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .ais-menu > li:hover > .ais-dropdown,
  .ais-menu > li:focus-within > .ais-dropdown {
    display: none;
  }

  .ais-menu > li > a .ais-caret {
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .ais-menu > li.open > a .ais-caret {
    transform: rotate(180deg);
  }
  .ais-menu > li > a {
    padding: 0.85rem 1.15rem;
    min-height: var(--ais-touch-min, 44px);
    border-bottom: none;
    margin-bottom: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .ais-dropdown,
  .ais-account-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.15rem 0 0.35rem;
    background: #f1f5f9;
    display: none;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  [data-style="dark"] .ais-dropdown,
  [data-theme="dark"] .ais-dropdown {
    background: rgba(15, 23, 42, 0.55);
  }

  .ais-menu > li:has(> .ais-dropdown)::after,
  .ais-account:has(> .ais-account-menu)::after,
  .ais-dropdown::before,
  .ais-account-menu::before {
    display: none;
  }

  .ais-dropdown__head {
    padding: 0.5rem 1.25rem 0.25rem 1.5rem;
  }

  .ais-dropdown li a,
  .ais-account-menu li a {
    padding: 0.75rem 1.25rem 0.75rem 1.5rem;
    min-height: var(--ais-touch-min, 44px);
    border-radius: 0;
    transform: none !important;
  }

  .ais-dropdown li a:hover,
  .ais-account-menu li a:hover {
    transform: none !important;
  }

  .ais-dropdown--games-nav .ais-games-nav__games li a {
    min-height: 0;
    transform: none !important;
  }

  .ais-menu > li.open > .ais-dropdown {
    display: block;
  }

  .ais-dropdown--wide {
    display: none;
  }

  .ais-dropdown--games-nav {
    display: none;
    min-width: 0;
    max-width: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .ais-menu > li.open > .ais-dropdown--games-nav {
    display: block;
  }

  .ais-games-nav__body {
    grid-template-columns: 1fr;
  }

  .ais-games-nav__cats {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #eef2f7;
    padding: 0.45rem 0.75rem;
  }

  .ais-games-nav__cat {
    flex: 0 0 auto;
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
  }

  .ais-games-nav__cat.is-active {
    border-left-color: transparent;
    border-bottom-color: #163a72;
  }

  .ais-games-nav__games {
    grid-template-columns: 1fr;
  }

  .ais-games-nav__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .ais-games-nav__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem 1.25rem 0.85rem;
  }

  .ais-menu > li.open > .ais-dropdown--wide {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .ais-topbar-utils .ais-phone span,
  .ais-topbar-utils a.js-ais-contact-email span {
    display: none;
  }
}


.ais-topbar-linkbtn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: none !important;
  cursor: pointer;
  min-height: 0;
  vertical-align: baseline;
}
.ais-topbar-linkbtn:hover,
.ais-topbar-linkbtn:focus,
.ais-topbar-linkbtn:focus-visible,
.ais-topbar-linkbtn:active {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  opacity: 0.8;
}
.ais-topbar-linkbtn i {
  color: inherit;
  font-size: 1em;
  line-height: 1;
}
.ais-brand img {
  width: 30px;
  height: 30px;
}
.ais-dropdown__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.ais-menu-mobile-extra__link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}
.ais-menu-mobile-extra .ais-theme-switch {
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
}
.ais-menu-mobile-extra .ais-lang-select__trigger {
  min-height: 44px;
  padding: 0.45rem 0.7rem;
}

/* Placé en fin de feuille : `.ais-mainnav-right { display: flex }` est déclaré
   plus haut, et une media query n'ajoute aucune spécificité.
   Entre 992 et 1240 px, même avec les libellés raccourcis, les entrées du menu
   occupent toute la piste ; le bouton d'espace client se replie donc pour ne
   pas recouvrir « Wiki » et « État des services ». L'accès au compte reste
   assuré par le lien « Mon compte » du bandeau du haut. */
@media (min-width: 992px) and (max-width: 1239.98px) {
  .ais-mainnav-right {
    display: none;
  }
}
