/* Real in-app captures. Kept separate from the core theme so the screenshot
   presentation can evolve without disturbing the rest of the design system. */
.device-shot {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #050b12;
  border: 8px solid #050b12;
  border-radius: 52px;
  box-shadow:
    0 55px 100px rgba(0, 0, 0, .55),
    0 0 0 1px #405268,
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.device-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .08), transparent 24%, transparent 78%, rgba(255, 255, 255, .035));
}

.device-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-shot-hero {
  width: clamp(250px, 26vw, 310px);
  aspect-ratio: 1179 / 2556;
  transform: rotate(3deg);
}

.device-shot figcaption {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(5, 15, 27, .82);
  color: #dce8f7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2px;
  backdrop-filter: blur(12px);
}

.device-shot figcaption i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(49, 211, 154, .12);
}

.screen-proof {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 126px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  background: rgba(9, 24, 42, .9);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.screen-proof b {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(52, 120, 246, .2);
  color: #76a2ff;
  font-size: 11px;
}

.screen-proof span {
  max-width: 68px;
  color: #b7c7da;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.proof-one {
  top: 145px;
  left: 5px;
}

.proof-two {
  right: -25px;
  bottom: 120px;
}

.feature-with-screen {
  padding-bottom: 345px;
}

.feature-screen {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  height: 305px;
  overflow: hidden;
  background: #f4f7fb;
  border: 6px solid #050c15;
  border-radius: 27px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .35);
}

.feature-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-screen::after {
  content: "Capture réelle";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(5, 15, 27, .82);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .feature-with-screen {
    min-height: 650px;
  }
}

@media (max-width: 640px) {
  .phone-stage {
    min-height: 550px;
    margin-block: -20px;
    transform: none;
  }

  .device-shot-hero {
    width: min(250px, 73vw);
  }

  .screen-proof {
    transform: scale(.86);
  }

  .proof-one {
    top: 128px;
    left: -6px;
    transform-origin: left center;
  }

  .proof-two {
    right: -5px;
    bottom: 90px;
    transform-origin: right center;
  }

  .feature-with-screen {
    min-height: 635px;
    padding-bottom: 330px;
  }

  .feature-screen {
    right: 14px;
    bottom: 14px;
    left: 14px;
    height: 290px;
  }
}

@media (max-width: 390px) {
  .screen-proof {
    display: none;
  }
}
