/* font ====================================================== */

@font-face {
    font-family: 'simplon_mono_regular_italique';
    src: url('font/SimplonBPMono-RegularItalic.woff2') format('woff2'),
        url('font/SimplonBPMono-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_regular_italique';
    src: url('font/SimplonBPRegular-Italic.woff2') format('woff2'),
        url('font/SimplonBPRegular-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_bold_italique';
    src: url('font/SimplonBP-BoldItalic.woff2') format('woff2'),
        url('font/SimplonBP-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_medium';
    src: url('font/SimplonBPMono-Medium.woff2') format('woff2'),
        url('font/SimplonBPMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_bold';
    src: url('font/SimplonBP-Bold.woff2') format('woff2'),
        url('font/SimplonBP-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_light_italique';
    src: url('font/SimplonBP-LightItalic.woff2') format('woff2'),
        url('font/SimplonBP-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_light';
    src: url('font/SimplonBP-Light.woff2') format('woff2'),
        url('font/SimplonBP-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_regular';
    src: url('font/SimplonBPRegular.woff2') format('woff2'),
        url('font/SimplonBPRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_light_italique';
    src: url('font/SimplonBPMono-LightItalic.woff2') format('woff2'),
        url('font/SimplonBPMono-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_medium';
    src: url('font/SimplonBP-Medium.woff2') format('woff2'),
        url('font/SimplonBP-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_bold_italique';
    src: url('font/SimplonBPMono-BoldItalic.woff2') format('woff2'),
        url('font/SimplonBPMono-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_light';
    src: url('font/SimplonBPMono-Light.woff2') format('woff2'),
        url('font/SimplonBPMono-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_norm_medium_italique';
    src: url('font/SimplonBP-MediumItalic.woff2') format('woff2'),
        url('font/SimplonBP-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_medium_italique';
    src: url('font/SimplonBPMono-MediumItalic.woff2') format('woff2'),
        url('font/SimplonBPMono-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_bold';
    src: url('font/SimplonBPMono-Bold.woff2') format('woff2'),
        url('font/SimplonBPMono-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simplon_mono_regular';
    src: url('font/SimplonBPMono-Regular.woff2') format('woff2'),
        url('font/SimplonBPMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* basique =================================================== */

body {
  margin: 0px;
  padding: 0px;
  font-family: 'simplon_norm_regular';
  font-size: 16px;
  overflow: hidden !important;

  overscroll-behavior: none; /* empêche le scroll élastique */
  -webkit-overflow-scrolling: auto; /* désactive momentum scroll */
}

html, body {
  height: 100%;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.body_wrap {
  position: fixed;  /* fixe la div au viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;   /* dynamique pour inclure la barre d’adresse mobile */
  overflow: hidden;
}

.bg_detail {
  background: #000000;
  background: radial-gradient(circle, rgba(0, 0, 0, 1) 1%, rgba(2, 2, 18, 1) 100%, rgba(0, 212, 255, 1) 75%);
  height: 500vw;
  width: 200vw;
  position: absolute;
  top: 0px;
  z-index: -1001;
}

.mono {
  font-family: 'simplon_mono_regular';
}

.full_s {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.video_wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: -100;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inv_color {
  color: white;
  mix-blend-mode: difference;
}

.f26 {
  font-size: 26px;
}

/* nav ========================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px 20px 0px;
}

nav > div > a > svg{
  width: 200px;
  fill: white;
  mix-blend-mode: difference;
}

.nav_lien:link, .nav_lien:visited  {
  margin-right: 20px;
  font-family: 'simplon_mono_light';
  color: white !important;
  mix-blend-mode: difference;
  text-decoration: none;
}

.nav_lien:hover, .nav_lien:active  {
  color: white !important;
  mix-blend-mode: difference;
}


/* video ====================================================== */
.global_cont {
  overflow: hidden;
  height: 100vh;
}

.largeur {
  display: flex;
  align-items: center;
  height: 80%;
}

.largeur > div {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.largeur > div img {
  width: 100%;
}

.p01, .p02, .p03, .p04, .p05, .p06, .p07, .p08 {
  width: 330px;
}

.p01m, .p02m, .p03m, .p04m, .p05m, .p06m, .p07m, .p08m {
  width: 330px;
}

.largeur_m {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.global_cont_mobile {
  height: 100vh;
  overflow-y: scroll;
}

.largeur_m > div img {
  width: 100%;
}

.nom_client_cover {
  margin-bottom: 0px;
  font-size: 12px;
  font-family: 'simplon_mono_regular';
}

.nom_projet_cover {
  margin-bottom: -15px;
  font-size: 16px;
  font-family: 'simplon_mono_regular';
}

/* detail de projet ==================== */
.detail_projet_body {
  overflow: hidden;
}

.client, .titre, .date_proj {
  margin-bottom: 0px;
}

.plus_info {
  text-decoration: underline;
}

.desc {
  max-width: 28.5vw;
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #fff;
  mix-blend-mode: difference;
}


.cont_desc_mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(calc(100% + 20px));
}

.desc_mobile {
  color: #fff;
  mix-blend-mode: difference;
}

.cont_desc {
  max-width: 520px;
  position: absolute;
  background-color: white;
  bottom: 0px;
  height: 100vh;
  left: -520px;
  z-index: -30;
}

.prev_next {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
}

.prev_next > a:link, .prev_next > a:visited {
 margin-right: 20px;
 color: #fff;
 mix-blend-mode: difference;
 text-decoration: none;
}

.prev_next > a:hover, .prev_next > a:active {
 margin-right: 20px;
}

/* about ==================== */
#three-canvas {
  margin-top: -90px;
  position: relative;
  z-index: -1000;
}

.contact_btn {
  margin-right: 20px;
  color: #000000;
  text-decoration: none;
}

.cont_contact {
  z-index: 100;
  position: absolute;
  bottom: 20px;
  text-align: end;
}

.cont_info {
  max-width: 600px;
  z-index: 100;
  position: absolute;
  bottom: 0px;
}

.cont_info > p {
  color: black;
  mix-blend-mode: difference;
}


/* Home ====================================*/

.intro_video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centre exact */
  max-width: 50%;
  max-height: 50%;
  object-fit: contain; /* garde tout visible sans cropper */
  z-index: -1000;
}




/* responsive ==============================*/
@media (min-width: 576px) {

}


@media (min-width: 768px) {
  .cont_desc_mobile{
    display: none;
  }
}


@media (min-width: 992px) {
  .desc {
    max-width: 28.5vw;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .cont_desc {
    max-width: 520px;
    position: absolute;
    background-color: white;
    bottom: 0px;
    height: 100vh;
    left: -520px;
    z-index: -30;
  }
}


@media (min-width: 1200px) {
  .desc {
    max-width: 28.5vw;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .cont_desc {
    max-width: 520px;
    position: absolute;
    background-color: white;
    bottom: 0px;
    height: 100vh;
    left: -520px;
    z-index: -30;
  }
}


@media (min-width: 1400px) {

}
