
/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Montserrat:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Poppins:300,400,500,600,700|Work+Sans:400,500,600");
@font-face {
  font-family: 'Sofia Pro Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Regular'), url('../fonts/sofia-pro-webfont/Sofia Pro Regular Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Regular Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro ExtraLight';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro ExtraLight'), url('../fonts/sofia-pro-webfont/Sofia Pro ExtraLight Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro UltraLight';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro UltraLight'), url('../fonts/sofia-pro-webfont/Sofia Pro UltraLight Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro ExtraLight Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro ExtraLight Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro ExtraLight Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro UltraLight Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro UltraLight Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro UltraLight Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Light';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Light'), url('../fonts/sofia-pro-webfont/Sofia Pro Light Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Light Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Light Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Light Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Medium'), url('../fonts/sofia-pro-webfont/Sofia Pro Medium Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Medium Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Medium Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Medium Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro SemiBold';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro SemiBold'), url('../fonts/sofia-pro-webfont/Sofia Pro Semi Bold Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro SemiBold Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro SemiBold Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Semi Bold Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Bold'), url('../fonts/sofia-pro-webfont/Sofia Pro Bold Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Bold Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Bold Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Bold Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Black';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Black'), url('../fonts/sofia-pro-webfont/Sofia Pro Black Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Black Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Black Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Black Italic Az.woff') format('woff');
  }
  
html {
  overflow-x: hidden;
}

body {
  line-height: 1.5;
  font-family: 'Sofia Pro Medium';
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
  
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #eee;
}

h1, .h1 {
  font-size: 3.5rem;
  font-family: 'Sofia Pro Black';
  line-height: 3.5rem;
}

h2, .h2 {
  font-size: 3rem;
  font-family: 'Sofia Pro Light';
}

h3, .h3 {
  font-size: 2rem;
  font-family: 'Sofia Pro Bold';
}

h4, .h4 {
  font-size: 1.5rem;
  line-height: 30px;
  font-family: 'Sofia Pro Bold';
}

h5, .h5 {
  font-size: 1.5rem;
  font-family: 'Sofia Pro Regular';
}

h6, .h6 {
  font-size: 1rem;
  font-family: 'Sofia Pro Light';
}
 hr{
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  max-width: auto;
  margin: 2rem 0rem
  }
p {
  font-size: 1.35rem;
  line-height: 1.1;
  font-family: 'Sofia Pro Light';
  color: #fff !important;
}
strong{
  font-family: 'Sofia Pro Medium' !important;
}
.bolder{
  font-family: 'Sofia Pro Bold';
}

.section-title .h2{
    font-size: 3.5rem;
  font-family: 'Sofia Pro Black';
  line-height: 1;
}
.section-title h1{
    font-size: 8rem;
  font-family: 'Sofia Pro Black';
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}
.text-outline{
  font-size: 3.5rem !important;
  font-family: 'Sofia Pro Black';
  color: transparent !important;
  -webkit-text-stroke: 1.5px #fff  !important;
}
.text-italic
{
  font-family: 'Sofia Pro Italic';
}
a.btn-customise{
  font-size: 1.5rem;
  font-family: 'Sofia Pro Medium';
  padding: 1rem 2rem;
  color: #fff;
  background: #031439;
  border: 1px solid #fff;
  transition: all .8s ease-in-out;
}
a.btn-customise:hover{
  text-decoration: none;
  color: #fff;
  background: #09b1f9;
}
.social-links {
      display: flex;
      gap: 12px;
    }

    .social-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 1px solid #eee;
      color: #eee;
      text-decoration: none;
      font-size:1.5rem;
      transition: all 0.3s ease;
    }

    .social-btn:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    }
/* GENERAL STYLE */


    #canvas-container {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: 1;
    }

    /* HEADER TITRE + DESCRIPTION */
    .poc-header {
      position: fixed;
      width: 100vw;
      top: 0;
      left: 0;
      padding: 2% 2%;
      z-index: 4;
    }
    .poc-header a:hover{
      text-decoration: none;
    }
    .scroll-container {
      position: relative;
      z-index: 2;
      pointer-events: none;
    }

    .section {
      height: 100vh;
      display: flex;
      align-items: end;
      padding: 2% 2%;
    }

    .card {
      background: transparent !important;
      max-width: 100%;
      min-width: 100%;
      pointer-events: auto;
      border: none !important;
      height: 100%;
      display: flex;
        flex-direction: column;
        align-items: flex-end; 
        gap: 1.2rem; /* Espacement vertical entre chaque carte */
        justify-content:flex-end;
    }
    .card .h1{
         font-size: 3.5rem;
  font-family: 'Sofia Pro Black';
  line-height: 0.75;
  color: #fff;
  transform: rotate(-90deg);
    }

    .card h2 { color: #ffffff; margin-bottom: 0.5rem; font-size: 2rem !important; letter-spacing: 0.5px; font-weight: 600; }
  .blured{
    background: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
.img-scroll{
  width: 50%;
}
   /* Conteneur de la grille aligné à droite */
.specs-grid {
  
  width: 100%;
}

.bordered-bottom::after{
  position: absolute;
  content: "";
  background: #fff;
  opacity: 0.5;
  height: 2px;
  width: 20% ;
  bottom: 0;

}
.bordered-bottom-long::after{
  position: absolute;
  content: "";
  background: #000;
  height: 1.25px;
  width: 100% ;
  bottom: 0;

}
/* Style de chaque carte individuelle */
.spec-top{
    position: relative;
    top: 24px;
    right: 20px;
    transform: rotate(90deg);
    transform-origin: top right;
    display: inline-block;
    z-index: 10;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
}

.spec-top::before{
     position: absolute;
  content: "";
  background: #fff;
  opacity: 0.5;
  height: 2px;
  width: 50% ;
  top:20px;
  right: 110%;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1.5rem 0rem;
  width: auto; /* Largeur fixe ou max-width pour garder de belles proportions */
  pointer-events: auto;
}

.spec-label {
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
  display: block;
    font-family: 'Sofia Pro Light';
}

.spec-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  font-family: 'Sofia Pro Regular';
}

.spec-type {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  display: block;
  line-height: 0.5;
  font-family: 'Sofia Pro SemiBold';
}

    #ARButton {
      position: fixed !important;
      bottom: 24px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      z-index: 100 !important;
      background: #00a3e0 !important;
      color: #ffffff !important;
      border: none !important;
      font-weight: 700 !important;
      border-radius: 30px !important;
      padding: 14px 28px !important;
      box-shadow: 0 0 25px rgba(0, 163, 224, 0.4) !important;
      cursor: pointer;
    }

    #loader-overlay {
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
      background: radial-gradient(
      circle at 40% 75%,
      #1b3a6b 0%,   
      #0d2045 15%,  
      #031439 55%,  
      #000b2b 85%,  
      #000206 100%
    );
      z-index: 990;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease;
    }
    .spinner {
      width: 60px; height: 60px;
      border: 5px solid rgba(0, 163, 224, 0.15);
      border-top-color: #00a3e0;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 1rem;
    }

    /* 3d canvas style display */

#canvas-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at 40% 75%,
    #1b3a6b 0%,   
    #0d2045 15%,  
    #031439 55%,  
    #000b2b 85%,  
    #000206 100%
  );
}
    @keyframes spin { to { transform: rotate(360deg); } }

    @media (max-width: 768px) 
    {
      .poc-header {
        top: 16px;
        left: 5%;
        right: 5%;
        max-width: none;
      }
      .spec-top
      {
        top:0;
      }
      .section-title h1 {
    font-size: 3rem;
    font-family: 'Sofia Pro Black';
    line-height: 0.75;
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
      }

    p {
        font-size: 0.85rem;
    }
    .card .h1 {
        font-size: 1.5rem;
      }
        .spec-item {
        display: inline-block;
        padding: 0.5rem 0rem;
        width: 32%;
        justify-content: center;
        }
        .spec-value {
        font-size: 1.25rem;
        }
        .spec-type, .spec-label {
        font-size: 0.85rem;
        }
        a.btn-customise {
        font-size: 1.5rem;}
      }

    /* --- SECTION FOOTER --- */
    .footer {
      background-color: transparent;
      padding: 100px 0;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(55px);
      color: #eee;
      padding: 2%;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 40px;
    }

.timeline-nav {
  position: relative;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 60%;
  max-width: auto; /* Ajuste cette valeur selon la largeur souhaitée */
  justify-content: center;
}

.timeline-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* Répartit les points équitablement sur toute la largeur */
  align-items: center;
  position: relative;
  width: 100%;
}

/* Ligne horizontale de liaison qui s'étend sur toute la largeur */
.timeline-nav ul::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.timeline-nav li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.timeline-dot span {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  background: transparent;
  padding: 4px 10px;
  border-radius: 4px;
  position: absolute;
  bottom: 22px;
  white-space: nowrap;
  font-family: sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #fff;
  pointer-events: none;
  font-family: 'Sofia Pro Regular';
}

/* Le point cliquable parfaitement centré */
.timeline-dot::after {
  content: '';
  width: 16px;
  height: 16px;
  background: #031439;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: block;
}

/* Effet au survol et à l'état actif */
.timeline-dot:hover span,
.timeline-dot.active span {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot:hover::after,
.timeline-dot.active::after {
  background: #ffffff;
  border-color: #fff;
  box-shadow: 0 0 10px #00a3e0;
}

/* MEASURE CSS */

.dimensions-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dimensions-overlay.visible {
  opacity: 1;
}

.dimension-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(0, 9, 31, 0.9);
  border: 1px solid rgba(0, 163, 224, 0.5);
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.dimension-tag .value {
  color: #fff;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
}

.dimension-tag .label {
  color: #00a3e0;
  font-family: sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
}
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }