
/* NOVALYS - LAPTOP REALISTIC V15 */

/* Finitions générales */

.nv13-laptop {
  perspective: 1100px;
  transform-style: preserve-3d;
  filter: none !important;
}

.nv13-lid {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    135deg,
    #77818e 0%,
    #303c4a 8%,
    #101a28 40%,
    #172637 85%,
    #778493 100%
  ) !important;
  border: 1px solid rgba(223,231,240,.55) !important;
  border-radius: 13px 13px 4px 4px !important;
  padding: 7px 7px 8px !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.48),
    inset 1px 0 1px rgba(255,255,255,.15),
    inset -1px 0 1px rgba(255,255,255,.21),
    0 20px 35px rgba(0,8,25,.21) !important;
}

.nv13-lid::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.65),
    transparent
  );
  pointer-events: none;
}

.nv13-screen {
  position: relative;
  background: #f7f9fc;
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 5px;
}

.nv13-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    119deg,
    rgba(255,255,255,.11) 0%,
    rgba(255,255,255,.025) 21%,
    transparent 38%,
    transparent 80%,
    rgba(190,214,245,.07) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Ancienne barre horizontale supprimée */

.nv13-base {
  display: none !important;
}

/* Véritable partie inférieure du portable */

.nv15-deck {
  position: relative;
  z-index: 1;
  width: 108%;
  left: -4%;
  height: 152px;
  margin-top: -2px;
  margin-bottom: -91px;
  transform-origin: center top;
  transform: rotateX(68deg);
  border-radius: 4px 4px 18px 18px;
  background: linear-gradient(
    165deg,
    #e4e8eb 0%,
    #c9d0d7 22%,
    #aab4be 57%,
    #7b8794 100%
  );
  border: 1px solid rgba(230,237,244,.6);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 1px 0 rgba(255,255,255,.5),
    inset -2px 0 rgba(53,67,85,.18),
    0 8px 14px rgba(0,8,23,.19);
}

.nv15-deck::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 6%;
  width: 88%;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(
    180deg,
    #111e2c,
    #758290 55%,
    #e4eaf0
  );
}

.nv15-deck::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2%;
  right: 2%;
  height: 5px;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.7),
    rgba(77,89,104,.35)
  );
}

/* Clavier compact avec touches en relief */

.nv15-keyboard {
  position: absolute;
  top: 10%;
  left: 8%;
  width: 84%;
  height: 58%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv15-keyrow {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 4px;
}

.nv15-key {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  line-height: 1;
  color: rgba(222,231,239,.65);
  background: linear-gradient(
    155deg,
    #3c4856 0%,
    #202c3b 45%,
    #121e2c 100%
  );
  border: 1px solid rgba(0,0,0,.22);
  box-shadow:
    inset 0 1px rgba(255,255,255,.18),
    0 2px 1px rgba(42,53,66,.32);
}

.nv15-key.nv15-space {
  flex: 4 1 0;
}

.nv15-trackpad {
  position: absolute;
  width: 32%;
  height: 25%;
  left: 34%;
  bottom: 7%;
  border-radius: 5px;
  border: 1px solid rgba(82,96,111,.24);
  background: linear-gradient(
    160deg,
    rgba(236,240,244,.47),
    rgba(156,169,182,.12)
  );
  box-shadow:
    inset 0 1px rgba(255,255,255,.48);
}

/* Ombre au sol et lumière ambiante */

.nv13-laptop::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -15% -10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 55% 55%,
    rgba(228,185,117,.12),
    rgba(98,137,187,.06) 40%,
    transparent 70%
  );
  filter: blur(25px);
  pointer-events: none;
}

.nv13-laptop::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 10%;
  right: 8%;
  bottom: -10px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0,8,23,.38);
  filter: blur(19px);
  pointer-events: none;
}

.nv13-note {
  position: relative;
  z-index: 3;
  margin-top: 16px !important;
  font-size: 8px !important;
  letter-spacing: .055em !important;
  color: rgba(204,217,232,.52) !important;
}

/* Présentation 3/4, inspirée des visuels produit */

@media (min-width: 951px) {
  .nv13-layout .nv13-laptop {
    width: min(100%, 465px);
    margin: 0 0 0 auto;
    transform-origin: center center;
    transform:
      perspective(1150px)
      rotateY(-17deg)
      rotateX(1deg)
      rotateZ(2deg)
      translate3d(3px, 6px, 0) !important;
    transition:
      transform .75s cubic-bezier(.2,.75,.2,1);
  }

  .nv13-layout .nv13-laptop:hover {
    transform:
      perspective(1150px)
      rotateY(-13deg)
      rotateX(1deg)
      rotateZ(1deg)
      translate3d(3px, 0, 0) !important;
  }
}

/* Mobile : lisibilité et bonnes proportions */

@media (max-width: 950px) {
  .nv13-layout .nv13-laptop {
    transform: none !important;
    width: min(90%, 430px);
    margin: 27px auto 12px;
  }
}

@media (max-width: 520px) {
  .nv13-layout .nv13-laptop {
    width: min(90%, 390px);
  }

  .nv15-deck {
    height: 125px;
    margin-bottom: -75px;
  }

  .nv15-keyboard {
    gap: 3px;
  }

  .nv15-keyrow {
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv13-layout .nv13-laptop {
    transition: none !important;
  }
}
