/* OVIIGI PREMIUM MIGRATION V457D */
/* Composant independant */

.ov-migration-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 24px 90px;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(0, 112, 255, .25),
      transparent 60%
    ),
    linear-gradient(145deg, #020b20, #071c42 55%, #020b20);
  color: #fff;
}

.ov-migration-premium *,
.ov-migration-premium *::before,
.ov-migration-premium *::after {
  box-sizing: border-box;
}

.ov-migration-premium__inner {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.ov-migration-premium__heading {
  text-align: center;
  margin-bottom: 68px;
}

.ov-migration-premium__eyebrow {
  color: #48caff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.ov-migration-premium__heading h2 {
  margin: 18px auto;
  max-width: 1000px;
  color: #fff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.ov-migration-premium__heading p {
  color: #b8c9e7;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.7;
}

.ov-migration-premium__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ov-migration-premium__card {
  --accent: #19baff;
  position: relative;
  min-width: 0;
  padding: 58px 26px 34px;
  border: 1px solid var(--accent);
  border-radius: 28px;
  background:
    linear-gradient(
      160deg,
      rgba(16, 42, 91, .92),
      rgba(3, 13, 37, .96)
    );
  box-shadow:
    0 0 26px color-mix(in srgb, var(--accent) 18%, transparent),
    inset 0 1px 0 rgba(255,255,255,.12);
  text-align: center;
}

.ov-migration-premium__card--orange {
  --accent: #ff9d19;
}

.ov-migration-premium__card--purple {
  --accent: #a36aff;
}

.ov-migration-premium__number {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #071b44;
  color: #fff;
  font-size: 29px;
  font-weight: 800;
  box-shadow: 0 0 25px var(--accent);
}

.ov-migration-premium__card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.25;
}

.ov-migration-premium__card p {
  color: #c1cde4;
  font-size: 15px;
  line-height: 1.75;
}

.ov-migration-premium__visual {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 25px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--accent) 22%, transparent),
      transparent 70%
    );
}

.ov-migration-premium__visual svg {
  width: min(100%, 180px);
  height: auto;
  filter: drop-shadow(0 0 16px var(--accent));
}

.ov-migration-premium__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 55px;
  padding: 25px;
  border: 1px solid rgba(42, 157, 255, .5);
  border-radius: 24px;
  background: rgba(2, 17, 47, .8);
}

.ov-migration-premium__benefit {
  color: #d9e7ff;
  font-size: 14px;
  line-height: 1.5;
}

.ov-migration-premium__benefit strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.ov-migration-premium__action {
  margin-top: 40px;
  text-align: center;
}

.ov-migration-premium__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb21d, #ff8514);
  color: #07152c;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 143, 18, .25);
}

.ov-migration-premium__button:hover {
  filter: brightness(1.08);
}

.ov-migration-premium__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.ov-migration-premium__note {
  margin-top: 18px;
  color: #aebed9;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ov-migration-premium {
    padding: 70px 18px;
  }

  .ov-migration-premium__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .ov-migration-premium__card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .ov-migration-premium__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ov-migration-premium {
    padding: 55px 14px;
  }

  .ov-migration-premium__heading {
    margin-bottom: 65px;
  }

  .ov-migration-premium__heading h2 {
    font-size: 30px;
    letter-spacing: -.7px;
  }

  .ov-migration-premium__card {
    padding: 52px 20px 25px;
    border-radius: 22px;
  }

  .ov-migration-premium__visual {
    min-height: 145px;
  }

  .ov-migration-premium__benefits {
    gap: 14px;
    padding: 18px;
  }

  .ov-migration-premium__benefit {
    font-size: 12px;
  }

  .ov-migration-premium__benefit strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-migration-premium *,
  .ov-migration-premium *::before,
  .ov-migration-premium *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* OVIIGI MIGRATION VISUAL V457I */

.ov-migration-premium {
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(0, 100, 255, .24),
      transparent 65%
    ),
    linear-gradient(
      135deg,
      #020817 0%,
      #061b42 52%,
      #020817 100%
    );
}

.ov-migration-premium::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -100px;
  width: min(52vw, 750px);
  height: 520px;
  background:
    url('/assets/images/oviigi-transfert-globe-premium.webp')
    center / contain no-repeat;
  opacity: .52;
  pointer-events: none;
}

.ov-migration-premium::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(0, 122, 255, .08) 45%,
      transparent 70%
    );
  pointer-events: none;
}

.ov-migration-premium__card {
  box-shadow:
    0 0 16px color-mix(
      in srgb,
      var(--accent) 35%,
      transparent
    ),
    0 22px 55px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.ov-migration-premium__card::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(11px);
  opacity: .75;
}

@media (min-width: 901px) {
  .ov-migration-premium__grid {
    position: relative;
    gap: 30px;
  }

  .ov-migration-premium__card:not(:last-child)::before {
    content: "➜";
    position: absolute;
    z-index: 3;
    right: -37px;
    top: 54%;
    transform: translateY(-50%);
    color: #50d5ff;
    font-size: 46px;
    font-weight: 900;
    text-shadow:
      0 0 8px #008cff,
      0 0 18px #008cff;
  }
}

@media (max-width: 900px) {
  .ov-migration-premium::before {
    top: 0;
    right: -75px;
    width: 350px;
    height: 280px;
    opacity: .25;
  }

  .ov-migration-premium__grid {
    gap: 65px;
  }
}

@media (max-width: 480px) {
  .ov-migration-premium::before {
    right: -110px;
    width: 300px;
    height: 250px;
    opacity: .18;
  }
}

/* OVIIGI NUMEROS GRADIENT V457K */

.ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #52e7ff 0%,
    #087bff 48%,
    #0644d9 100%
  );
  border: 2px solid #63eaff;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 2px 5px rgba(0,0,0,.28);
  box-shadow:
    0 0 12px rgba(0,170,255,.8),
    0 0 30px rgba(0,110,255,.45),
    inset 0 2px 4px rgba(255,255,255,.35);
}

.ov-migration-premium__card--orange
.ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #ffe66a 0%,
    #ffac16 48%,
    #f46a00 100%
  );
  border-color: #ffdc64;
  box-shadow:
    0 0 12px rgba(255,169,0,.85),
    0 0 30px rgba(255,112,0,.45),
    inset 0 2px 4px rgba(255,255,255,.4);
}

.ov-migration-premium__card--purple
.ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #d2a1ff 0%,
    #9953ff 48%,
    #5622d6 100%
  );
  border-color: #d5aaff;
  box-shadow:
    0 0 12px rgba(169,92,255,.85),
    0 0 30px rgba(113,45,255,.45),
    inset 0 2px 4px rgba(255,255,255,.35);
}


/* OVIIGI NUMEROS PLEINS V457L */

.ov-migration-premium .ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #52e7ff 0%,
    #087bff 48%,
    #0644d9 100%
  ) !important;
  background-color: #087bff !important;
  color: #fff !important;
  opacity: 1 !important;
}

.ov-migration-premium
.ov-migration-premium__card--orange
.ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #ffe66a 0%,
    #ffac16 48%,
    #f46a00 100%
  ) !important;
  background-color: #ffac16 !important;
}

.ov-migration-premium
.ov-migration-premium__card--purple
.ov-migration-premium__number {
  background: linear-gradient(
    145deg,
    #d2a1ff 0%,
    #9953ff 48%,
    #5622d6 100%
  ) !important;
  background-color: #9953ff !important;
}



/* OVIIGI ILLUSTRATIONS PREMIUM V457Q */
.ov-migration-premium__visual svg {
  width: min(100%, 225px);
  max-height: 190px;
  overflow: visible;
}


/* OVIIGI IMAGES 3D PREMIUM V457AB */
.ov-migration-premium__visual {
  width: 100%;
  min-height: 200px;
  overflow: hidden;
}

.ov-migration-premium__image3d {
  display: block;
  width: min(100%, 310px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 16px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.3));
}

@media (max-width: 600px) {
  .ov-migration-premium__visual {
    min-height: 170px;
    margin-top: 18px;
  }

  .ov-migration-premium__image3d {
    width: min(100%, 280px);
  }
}


/* OVIIGI FINITION 3D PREMIUM V457AD */

/* Illustrations plus grandes et mieux centrees */
.ov-migration-premium__visual {
  width: 100%;
  min-height: 0;
  margin-top: 16px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.ov-migration-premium__image3d {
  display: block;
  width: min(115%, 355px);
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 16px;
}

/* Adaptation pour petits ecrans */
@media (max-width: 600px) {
  .ov-migration-premium__visual {
    min-height: 0;
    margin-top: 12px;
  }

  .ov-migration-premium__image3d {
    width: min(115%, 320px);
  }
}

/* OVIIGI ALPHA PREMIUM V457AG */
.ov-migration-premium__image3d {
  mix-blend-mode: normal;
  background: transparent;
}


/* OVIIGI ALIGNEMENT BAS V457AK */

/* Chaque carte devient une colonne verticale */
.ov-migration-premium__card {
  display: flex;
  flex-direction: column;
}

/* L'illustration occupe la partie basse disponible */
.ov-migration-premium__visual {
  margin-top: auto;
  padding-top: 30px;
  padding-bottom: 8px;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

/* Socles lumineux alignes en bas */
.ov-migration-premium__image3d {
  display: block;
  width: min(115%, 355px);
  max-width: none;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Adaptation mobile */
@media (max-width: 600px) {
  .ov-migration-premium__visual {
    padding-top: 22px;
    padding-bottom: 6px;
  }

  .ov-migration-premium__image3d {
    width: min(115%, 320px);
  }
}


/* OVIIGI ECLAIRAGE 3D V457AL */

/* Halo lumineux sous chaque illustration */
.ov-migration-premium__visual {
  position: relative;
  isolation: isolate;
}

.ov-migration-premium__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  right: 12%;
  bottom: 7%;
  height: 34%;
  border-radius: 50%;
  background: var(--accent);
  opacity: .27;
  filter: blur(32px);
  pointer-events: none;
}

/* Relief, couleurs et brillance des objets 3D */
.ov-migration-premium__image3d {
  position: relative;
  z-index: 1;
  filter:
    brightness(1.16)
    contrast(1.09)
    saturate(1.24)
    drop-shadow(0 0 13px var(--accent))
    drop-shadow(0 13px 17px rgba(0,0,0,.42));
}

/* Lumiere adaptee aux petits ecrans */
@media (max-width: 600px) {
  .ov-migration-premium__visual::before {
    opacity: .21;
    filter: blur(24px);
  }

  .ov-migration-premium__image3d {
    filter:
      brightness(1.13)
      contrast(1.07)
      saturate(1.18)
      drop-shadow(0 0 9px var(--accent))
      drop-shadow(0 9px 12px rgba(0,0,0,.35));
  }
}


/* OVIIGI CARTES COMPLETES V457AN */

/* Surface et relief des trois cartes */
.ov-migration-premium__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      ellipse at 50% 110%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 65%
    ),
    linear-gradient(
      160deg,
      rgba(18, 43, 91, .96) 0%,
      rgba(7, 24, 58, .98) 52%,
      rgba(3, 13, 35, .99) 100%
    );
  border: 1px solid
    color-mix(in srgb, var(--accent) 78%, white 6%);
  border-radius: 25px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 28px
      color-mix(in srgb, var(--accent) 5%, transparent),
    0 18px 35px rgba(0,0,0,.24),
    0 0 19px
      color-mix(in srgb, var(--accent) 19%, transparent);
  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

/* Eclairage discret en haut des cartes */
.ov-migration-premium__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 55%
    );
  pointer-events: none;
}

/* Numeros lumineux */
.ov-migration-premium__number {
  box-shadow:
    0 0 0 3px rgba(255,255,255,.06),
    0 0 17px
      color-mix(in srgb, var(--accent) 60%, transparent),
    0 0 34px
      color-mix(in srgb, var(--accent) 24%, transparent),
    inset 0 2px 3px rgba(255,255,255,.3);
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Images et socles integres a la carte */
.ov-migration-premium__visual {
  margin-top: auto;
  background: transparent;
}

/* Survol desktop */
@media (hover: hover) and (pointer: fine) {
  .ov-migration-premium__card:hover {
    transform: translateY(-5px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 24px 45px rgba(0,0,0,.32),
      0 0 28px
        color-mix(in srgb, var(--accent) 28%, transparent);
  }
}

/* Finition mobile */
@media (max-width: 600px) {
  .ov-migration-premium__card {
    border-radius: 20px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      0 12px 25px rgba(0,0,0,.23),
      0 0 13px
        color-mix(in srgb, var(--accent) 16%, transparent);
  }
}

/* Respect des preferences d'animation */
@media (prefers-reduced-motion: reduce) {
  .ov-migration-premium__card {
    transition: none;
  }
}


/* OVIIGI CARTES XL V457AP */

/* Section large pour rendu panoramique */
.ov-migration-premium {
  width: 100%;
  box-sizing: border-box;
}

/* Trois grandes cartes Premium */
@media (min-width: 1101px) {
  .ov-migration-premium__grid {
    width: 100%;
    max-width: 1560px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
  }

  .ov-migration-premium__card {
    min-height: 570px;
    padding: 65px 30px 16px;
  }

  .ov-migration-premium__visual {
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 0;
  }

  .ov-migration-premium__image3d {
    width: min(124%, 490px);
    max-width: none;
    height: auto;
  }

  /* Fleches entre les grandes cartes */
  .ov-migration-premium__card:not(:last-child)::before {
    right: -43px;
  }
}

/* Ecrans intermediaires */
@media (min-width: 901px) and (max-width: 1100px) {
  .ov-migration-premium__grid {
    gap: 24px;
  }

  .ov-migration-premium__card {
    min-height: 490px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .ov-migration-premium__image3d {
    width: min(120%, 380px);
  }
}

/* Tablettes et telephones */
@media (max-width: 900px) {
  .ov-migration-premium__grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .ov-migration-premium__card {
    width: 100%;
    max-width: 640px;
    min-height: 480px;
    margin-inline: auto;
  }

  .ov-migration-premium__visual {
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 0;
  }

  .ov-migration-premium__image3d {
    width: min(112%, 490px);
    max-width: none;
  }
}

/* Petits telephones */
@media (max-width: 480px) {
  .ov-migration-premium__card {
    min-height: 420px;
    padding: 52px 14px 12px;
  }

  .ov-migration-premium__image3d {
    width: min(112%, 390px);
  }
}


/* OVIIGI PANORAMIQUE V457AR */

/* Debloquer la largeur du conteneur */
.ov-migration-premium__inner {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
}

/* Grandes cartes panoramiques */
@media (min-width: 1101px) {
  .ov-migration-premium__grid {
    max-width: 1560px;
    gap: 42px;
  }

  .ov-migration-premium__card {
    min-height: 590px;
  }

  .ov-migration-premium__image3d {
    width: min(120%, 520px);
  }
}

/* Fleches positionnees dans les espaces */
@media (min-width: 901px) {
  .ov-migration-premium__card:not(:last-child)::before {
    content: "➜";
    position: absolute;
    inset: auto;
    top: 51%;
    right: -39px;
    left: auto;
    bottom: auto;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    background: none;
    border: 0;
    border-radius: 0;
    color: #55dfff;
    font-size: 46px;
    line-height: 1;
    text-shadow:
      0 0 8px #00aaff,
      0 0 20px #007bff;
    pointer-events: none;
    z-index: 5;
  }
}

/* Aucun symbole superpose sur mobile */
@media (max-width: 900px) {
  .ov-migration-premium__card:not(:last-child)::before {
    content: none;
  }
}

/* Adaptation des tres grands ecrans */
@media (min-width: 1600px) {
  .ov-migration-premium {
    padding-inline: 36px;
  }
}


/* OVIIGI COMPACT PREMIUM V457AT */

/* Cartes desktop moins hautes */
@media (min-width: 1101px) {
  .ov-migration-premium__card {
    min-height: 520px;
    padding-top: 54px;
    padding-bottom: 12px;
  }

  .ov-migration-premium__visual {
    padding-top: 12px;
    padding-bottom: 0;
  }
}

/* Ecrans intermediaires */
@media (min-width: 901px) and (max-width: 1100px) {
  .ov-migration-premium__card {
    min-height: 450px;
    padding-top: 54px;
    padding-bottom: 12px;
  }

  .ov-migration-premium__visual {
    padding-top: 12px;
  }
}

/* Tablettes */
@media (min-width: 481px) and (max-width: 900px) {
  .ov-migration-premium__card {
    min-height: 420px;
    padding-bottom: 12px;
  }

  .ov-migration-premium__visual {
    padding-top: 12px;
  }
}

/* Telephones */
@media (max-width: 480px) {
  .ov-migration-premium__card {
    min-height: 370px;
    padding-top: 50px;
    padding-bottom: 10px;
  }

  .ov-migration-premium__visual {
    padding-top: 10px;
    padding-bottom: 0;
  }
}


/* OVIIGI BORDURES NEON V457AU */

.ov-migration-premium__card {
  border: 2px solid var(--accent);
  box-shadow:
    0 0 9px color-mix(in srgb, var(--accent) 48%, transparent),
    0 0 25px color-mix(in srgb, var(--accent) 20%, transparent),
    inset 0 0 13px color-mix(in srgb, var(--accent) 12%, transparent),
    0 18px 35px rgba(0,0,0,.28);
}

@media (hover: hover) and (pointer: fine) {
  .ov-migration-premium__card:hover {
    box-shadow:
      0 0 13px color-mix(in srgb, var(--accent) 60%, transparent),
      0 0 32px color-mix(in srgb, var(--accent) 27%, transparent),
      inset 0 0 18px color-mix(in srgb, var(--accent) 15%, transparent),
      0 22px 40px rgba(0,0,0,.3);
  }
}


/* OVIIGI REFLETS MULTICOLORES V457AV */

/* Couleurs lumineuses propres a chaque carte */
.ov-migration-premium__card {
  --glow-left: #00d9ff;
  --glow-center: #007bff;
  --glow-right: #48e5ff;
}

.ov-migration-premium__card--orange {
  --glow-left: #ff7b00;
  --glow-center: #ffca28;
  --glow-right: #ff3d7f;
}

.ov-migration-premium__card--purple {
  --glow-left: #714bff;
  --glow-center: #e347ff;
  --glow-right: #00dfff;
}

/* Halo multicolore dans le bas des cartes */
.ov-migration-premium__card {
  background:
    radial-gradient(
      ellipse at 18% 100%,
      color-mix(in srgb, var(--glow-left) 28%, transparent),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 52% 100%,
      color-mix(in srgb, var(--glow-center) 23%, transparent),
      transparent 52%
    ),
    radial-gradient(
      ellipse at 88% 100%,
      color-mix(in srgb, var(--glow-right) 24%, transparent),
      transparent 48%
    ),
    linear-gradient(
      160deg,
      rgba(18,43,91,.96),
      rgba(7,24,58,.98) 52%,
      rgba(3,13,35,.99)
    );
}

/* Reflet colore au ras de la bordure inferieure */
.ov-migration-premium__card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -3px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    var(--glow-left),
    var(--glow-center),
    var(--glow-right)
  );
  filter: blur(8px);
  opacity: .9;
  pointer-events: none;
}

/* Socle 3D plus lumineux */
.ov-migration-premium__image3d {
  filter:
    brightness(1.15)
    contrast(1.08)
    saturate(1.25)
    drop-shadow(
      0 0 12px var(--accent)
    )
    drop-shadow(
      0 10px 15px rgba(0,0,0,.35)
    );
}


/* OVIIGI AVANTAGES PANORAMIQUES V457AX */

.ov-migration-premium__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 42px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 154, 255, .75);
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(2, 20, 54, .98),
                           rgba(3, 15, 43, .98));
  box-shadow:
    0 0 25px rgba(0, 119, 255, .12),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.ov-migration-premium__benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 5px 22px;
  text-align: left;
  color: #b9c9e4;
}

.ov-migration-premium__benefit + .ov-migration-premium__benefit {
  border-left: 1px solid rgba(34, 131, 231, .42);
}

.ov-migration-premium__benefit-icon {
  --benefit-color: #168bff;
  display: grid;
  place-items: center;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border: 2px solid var(--benefit-color);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 28%,
      color-mix(in srgb, var(--benefit-color) 32%, transparent),
      rgba(2, 12, 39, .95) 76%);
  color: var(--benefit-color);
  box-shadow:
    0 0 15px color-mix(in srgb, var(--benefit-color) 45%, transparent),
    inset 0 0 14px color-mix(in srgb, var(--benefit-color) 20%, transparent);
}

.ov-migration-premium__benefit--orange .ov-migration-premium__benefit-icon {
  --benefit-color: #ffad19;
}

.ov-migration-premium__benefit--purple .ov-migration-premium__benefit-icon {
  --benefit-color: #b86aff;
}

.ov-migration-premium__benefit--green .ov-migration-premium__benefit-icon {
  --benefit-color: #00df91;
}

.ov-migration-premium__benefit-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px currentColor);
}

.ov-migration-premium__benefit-copy {
  min-width: 0;
}

.ov-migration-premium__benefit-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.25;
  font-weight: 800;
}

.ov-migration-premium__benefit-copy > span {
  display: block;
  color: #b9c9e4;
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1.45;
}

@media (max-width: 1250px) {
  .ov-migration-premium__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .ov-migration-premium__benefit:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .ov-migration-premium__benefits {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 18px;
    border-radius: 24px;
  }

  .ov-migration-premium__benefit {
    padding: 16px 2px;
    gap: 16px;
    border-left: 0 !important;
  }

  .ov-migration-premium__benefit + .ov-migration-premium__benefit {
    border-top: 1px solid rgba(34, 131, 231, .30);
  }

  .ov-migration-premium__benefit-icon {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .ov-migration-premium__benefit-icon svg {
    width: 29px;
    height: 29px;
  }

  .ov-migration-premium__benefit-copy strong {
    font-size: 15px;
  }

  .ov-migration-premium__benefit-copy > span {
    font-size: 13px;
  }
}


/* OVIIGI CONNECTEURS PREMIUM V457AY */

/* Anciennes fleches desactivees */
.ov-migration-premium__card:not(:last-child)::before {
  content: none !important;
}

/* Espace reserve aux connecteurs */
@media (min-width: 901px) {
  .ov-migration-premium__grid {
    column-gap: 48px;
  }

  .ov-migration-premium__card:not(:last-child) {
    position: relative;
  }

  .ov-migration-premium__card:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 6;
    top: 50%;
    right: -49px;
    left: auto;
    bottom: auto;
    width: 48px;
    height: 14px;
    border: 0;
    border-radius: 0;
    transform: translateY(-50%);
    background:
      linear-gradient(135deg, transparent 44%, #9deeff 45% 57%, transparent 58%)
        right 1px center / 11px 11px no-repeat,
      linear-gradient(45deg, transparent 44%, #9deeff 45% 57%, transparent 58%)
        right 1px center / 11px 11px no-repeat,
      linear-gradient(90deg, #00cfff, #ffae29)
        left center / calc(100% - 9px) 3px no-repeat;
    filter: drop-shadow(0 0 5px #20bfff);
    pointer-events: none;
  }

  .ov-migration-premium__card--orange::after {
    background:
      linear-gradient(135deg, transparent 44%, #d5a2ff 45% 57%, transparent 58%)
        right 1px center / 11px 11px no-repeat,
      linear-gradient(45deg, transparent 44%, #d5a2ff 45% 57%, transparent 58%)
        right 1px center / 11px 11px no-repeat,
      linear-gradient(90deg, #ffae29, #b76cff)
        left center / calc(100% - 9px) 3px no-repeat !important;
    filter: drop-shadow(0 0 5px #b76cff);
  }
}

/* Liaison verticale entre cartes sur mobile */
@media (max-width: 900px) {
  .ov-migration-premium__grid {
    row-gap: 65px;
  }

  .ov-migration-premium__card:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 6;
    top: auto;
    bottom: -51px;
    left: 50%;
    right: auto;
    width: 14px;
    height: 43px;
    border: 0;
    border-radius: 0;
    transform: translateX(-50%);
    background:
      linear-gradient(135deg, transparent 44%, #a5edff 45% 57%, transparent 58%)
        center bottom / 11px 11px no-repeat,
      linear-gradient(45deg, transparent 44%, #a5edff 45% 57%, transparent 58%)
        center bottom / 11px 11px no-repeat,
      linear-gradient(180deg, #00cfff, #ffae29)
        center top / 3px calc(100% - 9px) no-repeat;
    filter: drop-shadow(0 0 5px #20bfff);
    pointer-events: none;
  }

  .ov-migration-premium__card--orange::after {
    background:
      linear-gradient(135deg, transparent 44%, #d5a2ff 45% 57%, transparent 58%)
        center bottom / 11px 11px no-repeat,
      linear-gradient(45deg, transparent 44%, #d5a2ff 45% 57%, transparent 58%)
        center bottom / 11px 11px no-repeat,
      linear-gradient(180deg, #ffae29, #b76cff)
        center top / 3px calc(100% - 9px) no-repeat !important;
    filter: drop-shadow(0 0 5px #b76cff);
  }
}
