.ivs-mega-menu{
  position:relative;
}

.ivs-mega-menu::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:18px;
}

.ivs-mega-trigger{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  transition:color .18s ease,transform .18s ease;
}

.ivs-mega-trigger i{
  font-size:.78rem;
  color:#1167d8;
  transition:transform .18s ease;
}

nav.navbar .dropdown-toggle::after{
  display:none;
}

nav.navbar .dropdown-toggle .bi-chevron-down,
nav.navbar .ivs-mega-trigger .bi-chevron-down{
  margin-left:.25rem;
  font-size:.78rem;
  color:#1167d8;
}

.ivs-mega-trigger[aria-expanded="true"] i,
.ivs-mega-menu:hover .ivs-mega-trigger i,
.ivs-mega-menu:focus-within .ivs-mega-trigger i{
  transform:rotate(180deg);
}

.ivs-mega-panel{
  position:absolute;
  top:calc(100% + 16px);
  right:0;
  width:min(900px,calc(100vw - 24px));
  min-height:360px;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:1rem;
  padding:1rem;
  border-radius:26px;
  border:1px solid rgba(17,103,216,.28);
  background:linear-gradient(180deg,rgba(8,20,34,.98),rgba(5,12,22,.98));
  box-shadow:0 24px 80px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.035) inset;
  transform:translateY(12px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease,transform .22s ease;
  z-index:2200;
}

.ivs-mega-menu:hover .ivs-mega-panel,
.ivs-mega-menu:focus-within .ivs-mega-panel,
.ivs-mega-menu.is-open .ivs-mega-panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.ivs-mega-panel::before{
  content:"";
  position:absolute;
  inset:16px;
  border-radius:22px;
  border:1px solid rgba(17,103,216,.12);
  pointer-events:none;
}

.ivs-mega-categories{
  position:relative;
  z-index:1;
  display:grid;
  gap:.55rem;
  align-content:start;
  padding:.55rem;
  border-radius:22px;
  border:1px solid rgba(17,103,216,.16);
  background:linear-gradient(180deg,rgba(18,52,78,.72),rgba(8,26,42,.72));
}

.ivs-mega-category{
  display:flex;
  align-items:center;
  gap:.72rem;
  width:100%;
  max-width:100%;
  min-height:52px;
  padding:.72rem .85rem;
  border:1px solid transparent;
  border-radius:15px;
  background:transparent;
  color:#eaf4ff;
  text-align:left;
  font-weight:900;
  line-height:1.25;
  overflow-wrap:anywhere;
  transition:.18s ease;
}

.ivs-mega-category i{
  color:#1167d8;
  font-size:1rem;
  flex:0 0 auto;
}

.ivs-mega-category:hover,
.ivs-mega-category.is-active{
  border-color:rgba(17,103,216,.42);
  background:rgba(17,103,216,.14);
  color:#fff;
  box-shadow:0 10px 28px rgba(17,103,216,.12);
}

.ivs-mega-content{
  position:relative;
  z-index:1;
  min-height:328px;
  padding:1.35rem;
  overflow:hidden;
  border-radius:22px;
  border:7px solid #08a9f4;
  border-left-width:6px;
  background:linear-gradient(180deg,#071321,#07111f);
}

.ivs-mega-content::before{
  content:"";
  position:absolute;
  inset:-86px auto auto -86px;
  width:190px;
  height:190px;
  border-radius:50%;
  border:30px solid rgba(8,169,244,.34);
  pointer-events:none;
}

.ivs-mega-pane{
  position:relative;
  z-index:2;
  display:none;
}

.ivs-mega-pane.is-active{
  display:block;
}

.ivs-mega-pane h3{
  margin:0 0 1rem;
  color:#fff;
  font-size:1.3rem;
  font-weight:900;
}

.ivs-mega-products{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}

.ivs-mega-product{
  display:flex;
  align-items:center;
  gap:.6rem;
  min-height:42px;
  padding:.7rem .85rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#f5f8fc;
  font-weight:800;
  font-size:.9rem;
  text-decoration:none;
  min-width:0;
  overflow-wrap:anywhere;
}

.ivs-mega-product i{
  color:#1167d8;
  flex:0 0 auto;
}

.ivs-mega-product:hover{
  color:#fff;
  background:linear-gradient(135deg,#0d5ea8,#98c000);
}

.ivs-mega-product:hover i{
  color:#fff;
}

.ivs-mega-all{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top:1rem;
  color:#1167d8;
  font-weight:900;
  text-decoration:none;
}

.ivs-mega-all:hover{
  color:#1167d8;
}

.ivs-mega-mobile-bar{
  display:none;
}

@media(max-width:991.98px){
  .navbar .navbar-collapse{
    margin-top:.45rem;
    padding:.75rem;
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;
    background:rgba(10,10,10,.96);
  }

  .navbar .navbar-nav{
    align-items:flex-start!important;
    gap:.25rem;
  }

  .navbar .navbar-nav .nav-item{
    width:100%;
  }

  .navbar .navbar-nav .nav-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin:0;
    padding:.72rem .85rem;
    border-radius:12px;
    color:#eef4fb!important;
    font-weight:800;
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link.active{
    background:rgba(17,103,216,.14);
    color:#1167d8!important;
  }

  .ivs-mega-panel{
    position:static;
    width:100%;
    min-height:0;
    display:none;
    margin:.5rem 0 0;
    grid-template-columns:1fr;
    gap:0;
    padding:.75rem;
    border-radius:24px;
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    overflow:hidden;
  }

  .ivs-mega-menu:hover .ivs-mega-panel,
  .ivs-mega-menu:focus-within .ivs-mega-panel,
  .ivs-mega-menu.is-open .ivs-mega-panel{
    display:grid;
    transform:none;
  }

  .ivs-mega-panel::before{
    display:none;
  }

  .ivs-mega-mobile-bar{
    display:none;
  }

  .ivs-mega-categories,
  .ivs-mega-content{
    grid-area:1 / 1;
    position:relative;
    width:100%;
    height:auto;
    min-height:0;
    border-width:4px;
    transition:.24s ease;
  }

  .ivs-mega-categories{
    padding:.5rem;
    max-height:none;
    overflow:visible;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(0);
  }

  .ivs-mega-content{
    min-height:auto;
    border-width:4px 4px 8px;
    border-radius:34px 0 0 0;
    padding:1rem;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateX(105%);
    background:linear-gradient(180deg,rgba(7,17,31,.99),rgba(9,22,36,.98));
  }

  .ivs-mega-content::before{
    display:none;
  }

  .ivs-mega-menu.is-drilled .ivs-mega-categories{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateX(-24%);
  }

  .ivs-mega-menu.is-drilled .ivs-mega-content{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(0);
  }

  .ivs-mega-back{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    margin-bottom:.9rem;
    padding:.62rem .9rem;
    border:1px solid rgba(0,169,244,.34);
    border-radius:999px;
    background:rgba(0,169,244,.12);
    color:#1167d8;
    font-weight:900;
  }

  .ivs-mega-products{
    grid-template-columns:1fr;
  }

  .ivs-mega-all{
    justify-content:flex-start;
    width:100%;
  }
}

.ivs-bottom-ticker{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:2400;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.14);
  background:linear-gradient(90deg,rgba(7,17,31,.98),rgba(10,28,44,.98));
  backdrop-filter:blur(6px);
}

.ivs-bottom-ticker__track{
  display:flex;
  width:max-content;
  min-width:100%;
  animation:ivsTickerScroll 22s linear infinite;
}

.ivs-bottom-ticker__text{
  flex:0 0 auto;
  padding:.6rem 1.2rem;
  color:#dff7ff;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}

@keyframes ivsTickerScroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@media (prefers-reduced-motion: reduce){
  .ivs-bottom-ticker__track{
    animation:none;
  }
}


/*-----------------------------------------------------TEST*/
.x-hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:#050b16;
  color:#fff;
  isolation:isolate;
}

/* SLIDES */
.x-slide{
  position:absolute;
  inset:0;
  display:none;
  grid-template-columns:35% 65%;
  align-items:center;
  gap:2rem;
  padding:150px 6vw 70px;
  pointer-events:none;
}

.x-slide.is-active{
  display:grid;
  pointer-events:auto;
  z-index:3;
}

/* OVERLAY PLUS LÉGER */
.x-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 45%, rgba(152,192,0,.12), transparent 35%),
    linear-gradient(
      90deg,
      rgba(5,11,22,.82) 0%,
      rgba(5,11,22,.55) 35%,
      rgba(5,11,22,.10) 70%,
      transparent 100%
    );
  z-index:0;
}

/* TEXTE */
.x-slide-content{
  position:relative;
  z-index:5;
  max-width:560px;
}

.x-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.62rem 1rem;
  border-radius:999px;
  background:rgba(152,192,0,.13);
  border:1px solid rgba(152,192,0,.45);
  color:#98c000;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.x-slide-content h1{
  margin:1.25rem 0 1rem;
  font-size:clamp(2.2rem,4.4vw,4.8rem);
  line-height:.96;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-.045em;
  color:#fff;
}

.x-slide-content p{
  max-width:540px;
  color:#dce8f5;
  font-size:clamp(.98rem,1.15vw,1.12rem);
  font-weight:600;
  line-height:1.7;
}

/* IMAGE À DROITE */
.x-slide-visual{
  position:relative;
  z-index:5;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.x-slide-visual img{
  width:150%;
  max-width:none;
  max-height:95vh;
  object-fit:contain;
  transform:translateX(55px);
  filter:drop-shadow(0 40px 85px rgba(0,0,0,.40));
}

/* ANIMATION IMAGE */
.x-slide.is-active .x-slide-visual img{
  animation:floatImage 8s ease-in-out infinite;
}

@keyframes floatImage{
  0%{
    transform:translateX(55px) translateY(0);
  }

  50%{
    transform:translateX(55px) translateY(-14px);
  }

  100%{
    transform:translateX(55px) translateY(0);
  }
}

/* BOUTONS */
.x-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:2rem;
}

.x-actions a{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:1rem 1.45rem;
  border-radius:999px;
  background:linear-gradient(135deg,#0d5ea8,#98c000);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  text-decoration:none;
  box-shadow:0 18px 45px rgba(152,192,0,.25);
  transition:.25s ease;
}

.x-actions a:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(152,192,0,.38);
}

.x-actions .x-outline{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.38);
  backdrop-filter:blur(14px);
}

/* GRILLE DE FOND */
.x-hero-bg-grid{
  position:absolute;
  inset:0;
  z-index:1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:70px 70px;
  animation:gridMove 18s linear infinite;
}

@keyframes gridMove{
  from{
    background-position:0 0;
  }

  to{
    background-position:70px 70px;
  }
}

/* PARTICULES */
.x-hero-particles{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}

.x-hero-particles::before,
.x-hero-particles::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  filter:blur(8px);
  animation:floatOrb 9s ease-in-out infinite;
}

.x-hero-particles::before{
  left:5%;
  bottom:10%;
  background:radial-gradient(circle,rgba(152,192,0,.16),transparent 62%);
}

.x-hero-particles::after{
  right:18%;
  top:16%;
  background:radial-gradient(circle,rgba(13,94,168,.18),transparent 62%);
  animation-delay:-3s;
}

@keyframes floatOrb{
  0%,100%{
    transform:translate3d(0,0,0) scale(1);
  }

  50%{
    transform:translate3d(30px,-25px,0) scale(1.12);
  }
}

/* CARTES DROITES */
.x-hero-side{
  position:absolute;
  right:3vw;
  bottom:95px;
  z-index:8;
  display:grid;
  gap:.75rem;
  width:230px;
}

.x-status,
.x-mini-card{
  padding:.9rem 1rem;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(18px);
}

.x-status{
  display:flex;
  align-items:center;
  gap:.55rem;
  font-weight:900;
  text-transform:uppercase;
  font-size:.72rem;
}

.x-status span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#00ff7b;
  animation:pulseLive 1.2s infinite;
}

.x-mini-card strong{
  display:block;
  font-size:1.2rem;
  font-weight:900;
  color:#fff;
}

.x-mini-card small{
  color:#b8c8d8;
  font-weight:700;
}

@keyframes pulseLive{
  0%{
    box-shadow:0 0 0 0 rgba(0,255,123,.8);
  }

  100%{
    box-shadow:0 0 0 14px rgba(0,255,123,0);
  }
}

/* NAVIGATION SLIDER */
.x-slider-ui{
  position:absolute;
  left:6vw;
  bottom:45px;
  z-index:12;
  display:flex;
  align-items:center;
  gap:.75rem;
}

.x-prev,
.x-next{
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  backdrop-filter:blur(12px);
  transition:.25s ease;
}

.x-prev:hover,
.x-next:hover{
  background:linear-gradient(135deg,#0d5ea8,#98c000);
  transform:translateY(-3px);
}

.x-dots{
  display:flex;
  gap:.55rem;
}

.x-dots button{
  width:11px;
  height:11px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  transition:.25s ease;
}

.x-dots button.is-active{
  width:42px;
  background:linear-gradient(90deg,#0d5ea8,#98c000);
}

/* PROGRESS BAR */
.x-progress{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:20;
  height:4px;
  background:rgba(255,255,255,.12);
}

.x-progress span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#0d5ea8,#98c000,#98c000);
}

.x-progress.is-running span{
  animation:progressRun 6.5s linear forwards;
}

@keyframes progressRun{
  from{
    width:0%;
  }

  to{
    width:100%;
  }
}

/* RESPONSIVE */
@media(max-width:991px){
  .x-slide{
    grid-template-columns:1fr;
    padding:135px 1.3rem 90px;
  }

  .x-slide-content{
    max-width:100%;
  }

  .x-slide-visual{
    justify-content:center;
  }

  .x-slide-visual img{
    width:100%;
    max-width:100%;
    max-height:42vh;
    transform:none;
  }

  .x-slide.is-active .x-slide-visual img{
    animation:none;
  }

  .x-hero-side{
    display:none;
  }

  .x-slider-ui{
    left:1.3rem;
  }
}

@media(max-width:575px){
  .x-hero{
    min-height:720px;
  }

  .x-actions a{
    width:100%;
    justify-content:center;
  }

  .x-slide-content h1{
    font-size:clamp(2rem,10vw,3rem);
    letter-spacing:-.035em;
  }

  .x-slide-content p{
    font-size:.95rem;
  }
}