/* BASE */
* {
  box-sizing: border-box;
}

html {
  background: #000000;
  color-scheme: dark;
}

body {
  margin: 0;
  background: #000000;
  color: #f5f5f7;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

/* IMAGE ET COMPOSITION */
.scene-wapp {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;

  height: 100vh;
  height: 100svh;
  min-height: 540px;

  overflow: hidden;
  background: #000000;
}

.visuel-wapp {
  position: absolute;
  inset: 0;
  z-index: -1;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: right center;

  pointer-events: none;
}

/* TITRE DANS L’ESPACE LIBRE À GAUCHE */
.contenu-wapp {
  width: 60%;
  padding: 120px clamp(24px, 4vw, 80px) 60px;
  text-align: center;
}

#titre-wapp {
  margin: 0 0 28px;

  color: #f5f5f7;

  font-size: clamp(76px, 9vw, 180px);
  font-weight: 700;

  line-height: 1;
  letter-spacing: -0.055em;
}

/* BOUTON BLEU */
.bouton-wapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 12px 24px;

  border: 0;
  border-radius: 999px;

  background: #0071e3;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;

  font: inherit;
  font-size: 17px;
  line-height: 1.2;

  opacity: 1;
  cursor: default;
}

/* MOBILE : TITRE AU-DESSUS DU TÉLÉPHONE */
@media (max-width: 600px) {
  .scene-wapp {
    height: auto;
    min-height: 100svh;

    flex-direction: column;
    align-items: stretch;
  }

  .contenu-wapp {
    order: 1;
    width: 100%;
    padding: 135px 22px 20px;
  }

  #titre-wapp {
    margin-bottom: 24px;
    font-size: clamp(64px, 18vw, 100px);
  }

  .visuel-wapp {
    position: relative;
    inset: auto;
    z-index: 0;

    order: 2;
    flex-shrink: 0;

    width: 100%;
    height: 65svh;
    min-height: 380px;
    max-height: 650px;

    object-fit: cover;
    object-position: right center;
  }
}




/* W-APP — COMPOSITION EN BAS À GAUCHE */
.contenu-wapp {
  position: absolute;
  z-index: 1;

  left: clamp(24px, 5vw, 100px);
  bottom: clamp(48px, 8vh, 96px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;

  width: auto;
  max-width: 55%;
  padding: 0;

  text-align: left;
}

/* TITRE FUTURISTE ET DÉGRADÉ LUMINEUX */
#titre-wapp {
  display: inline-block;

  margin: 0;
  padding: 0 0.16em 0.05em 0;

  font-family: "Orbitron", Arial, sans-serif;
  font-size: clamp(60px, 6.5vw, 128px);
  font-weight: 700;

  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;

  transform: skewX(-10deg);
  transform-origin: left bottom;

  background: linear-gradient(
    110deg,
    #b4ddff 0%,
    #cebaff 42%,
    #a36cff 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(
    0 0 16px rgba(166, 108, 255, 0.22)
  );
}

/* ADAPTATION MOBILE */
@media (max-width: 600px) {
  .contenu-wapp {
    position: relative;
    inset: auto;

    width: 100%;
    max-width: none;
    padding: 135px 24px 20px;

    gap: 12px;
  }

  #titre-wapp {
    margin: 0;
    font-size: clamp(48px, 14vw, 76px);
  }
}


/* CENTRAGE VERTICAL ET ALIGNEMENT */
.contenu-wapp {
  top: 60%;
  bottom: auto;
  transform: translateY(-50%);

  align-items: flex-start;
  gap: 18px;
  text-align: left;
}

/* AJUSTEMENT VISUEL DU TITRE INCLINÉ */
.contenu-wapp #titre-wapp {
  margin: 0 0 0 -0.08em;
  transform-origin: left center;
}

/* COURTE DESCRIPTION */
.description-wapp {
  max-width: 440px;
  margin: 0;

  color: #cbc6d8;
  font-size: clamp(17px, 1.2vw, 23px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* BOUTON PREMIUM */
.bouton-wapp {
  position: relative;
  isolation: isolate;

  min-height: 50px;
  padding: 14px 28px;

  border: 1px solid transparent;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #1685ff,
      #0753bd
    ) padding-box,
    linear-gradient(
      125deg,
      #edfaff,
      #81c2ff 28%,
      rgba(99, 155, 255, 0.25) 62%,
      #baa3ff
    ) border-box;

  box-shadow:
    0 10px 30px rgba(0, 100, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  color: #ffffff;
  -webkit-text-fill-color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;

  overflow: visible;
  opacity: 1;
}

/* ÉCLAT LUMINEUX SUR LE BORD SUPÉRIEUR */
.bouton-wapp::before {
  content: "";

  position: absolute;
  top: -1px;
  left: 20%;
  z-index: 2;

  width: 42%;
  height: 1px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    #ffffff,
    transparent
  );

  box-shadow:
    0 0 8px rgba(175, 222, 255, 0.9),
    0 0 18px rgba(115, 172, 255, 0.65);

  pointer-events: none;
}

/* REFLET DOUX SUR LA SURFACE */
.bouton-wapp::after {
  content: "";

  position: absolute;
  inset: 1px 1px auto;
  z-index: 0;

  height: 46%;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.17),
    transparent
  );

  pointer-events: none;
}

.bouton-wapp > span {
  position: relative;
  z-index: 1;
}

/* ADAPTATION MOBILE */
@media (max-width: 600px) {
  .contenu-wapp {
    position: relative;
    inset: auto;
    transform: none;

    width: 100%;
    max-width: none;
    padding: 135px 24px 20px;

    gap: 16px;
  }
}