@font-face {
  font-family: 'FunnelDisplay';
  src: url('assets/fonts/FunnelDisplay.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/Outfit.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SpaceGrotesk';
  src: url('assets/fonts/SpaceGrotesk.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #f9fafb;
  margin-top:-2px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3{
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}


.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.hiddenLabel {
  display: none;
}

/* Page Loader initial */
/* Loader visible initialement */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #022c2d;
  z-index: 1001;
  display: block;
  transform: translateY(0); /* État initial */
  opacity: 1;
  visibility: visible;
  transition: transform 0.8s ease-in-out, opacity 0.3s ease;
}

/* Désactive la transition au tout début */
#loader.initial {
  transition: none !important;
}

/* Disparaît après animation */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Slide vers le haut */
#loader.slide-up {
  transform: translateY(-100%);
}

/* Slide vers le bas */
#loader.slide-down {
  transform: translateY(0%);
}

#hero-svg-bg-loader{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12rem;
  height: 12rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  transform: translate(-50%, -50%);
}    

.st0 {
  fill: none;
  stroke: #EB5D40;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 110;
  stroke-dashoffset: 0;
  animation: trace 1.5s linear infinite;
}

@keyframes trace {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes fadein {
  to {
    opacity: 0.5;
  }
}

/* Contenu */
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
}

nav a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
  margin-right: 20px;
}

/* Mini loader lors de navigation */
#nav-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  display: none;
}

#nav-loader.show {
  display: flex;
}

/* Pages */
#accueil, #presentation-print {
  min-height: 100vh;
  transition: transform 1s ease-in-out;
}
#accueil{
  background-color: black;
}
.hidden-page {
  display: none;
}



/* CURSOR ANIMATION */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  border: 2px solid #eb5d40;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1111;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.hollow-arrow-up-down::before,
.hollow-arrow-up-down::after,
.hollow-arrow-left-right::before,
.hollow-arrow-left-right::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.5);
  transition: 
    border-color 0.3s ease-out,
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
  transition-delay: 0s;
}

.hollow-arrow-up-down::before {
  transform: rotate(45deg) scale(0.5);
  top: -55%;
  left: -115%;
}
.hollow-arrow-up-down::after {
  transform: rotate(-135deg) scale(0.5);
  top: -165%;
  right: -120%;
}
.hollow-arrow-up-down.boutiqueParallax::before,
.hollow-arrow-up-down.boutiqueParallax::after {
  border-color: #eb5d40;
  opacity: 1;
  transform: scale(1) rotate(45deg);
  transition-delay: 0.1s;
}
.hollow-arrow-up-down.boutiqueParallax::after {
  transform: scale(1) rotate(-135deg);
  transition-delay: 0.2s;
}

.hollow-arrow-left-right::before {
  transform: rotate(135deg) scale(0.5);
  top: -123%;
  left: -200%;
}
.hollow-arrow-left-right::after {
  transform: rotate(-45deg) scale(0.5);
  top: -123%;
  right: -200%;
}        
.hollow-arrow-left-right.slideProduit::before,
.hollow-arrow-left-right.slideProduit::after {
  border-color: #eb5d40;
  opacity: 1;
  transform: scale(1) rotate(135deg);
  transition-delay: 0.1s;
}
.hollow-arrow-left-right.slideProduit::after {
  transform: scale(1) rotate(-45deg);
  transition-delay: 0.2s;
}

/* AFFICHER BLOC AVEC UN DELAI */
.delayed {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.delayed.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */
#header {
  position: relative;
  height: 5.1rem; 
  top: 0;
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 1000;
  background: #022c2d;
  color: white;
  padding: 1rem 2rem;  
  transform: translateY(0);
}
#header-accueil {
  position: relative;
  top: 0;
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 1000;
  color: white;
  padding: 1rem 2rem;  
  transform: translateY(0);
}
#header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header-container img {
  width: 10rem;
  margin-left: 3rem;
}
#nav{
  margin-top: 0.5rem;
}
#nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
#nav ul a {
  font-weight: 600;
}
#btn-demo {
  background: #eb5d40;
  padding: 1rem 1.5rem;
  margin-left: 1rem;
  color: white;
  border-radius: 20px;  
  margin-top: -0.2rem;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.animated-link {
  font-size: 1rem; /* 👈 Taille de texte demandée */
  color: white;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 1.5rem; /* 👈 Hauteur adaptée pour 1rem de texte */
  white-space: nowrap;
}
.letter-wrapper {
  display: inline-block;
  position: relative;
  height: 1.5rem;
  overflow: hidden;
  vertical-align: top;
}
#nav li:last-of-type .letter-wrapper{
  margin-top: -0.8rem;
}
.letter {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(0%);
  transition: transform 0.35s ease;
  white-space: nowrap;
  font-size: 1rem; /* 👈 Assure une cohérence de taille */
}
.letter.out {
  transform: translateY(-100%);
}
.letter.in {
  transform: translateY(100%);
}
.letter.show {
  transform: translateY(0%);
}
#header.sticky {
  position: fixed;
  height: 3rem;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: all 0.3s;
  padding: 0.3rem 2rem;
  background: #022c2d;
}
#header.sticky #header-container img {
  width: 7rem;
}
#header.hidden {
  transform: translateY(-100%);
  transition: all 0.3s;
  padding: 0.3rem 2rem;
}
#header-placeholder {
  display: none;
}

/* PAGE D'ACCUEIL DU SITE */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slogan-central {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -5rem;
}

.slogan-clickable {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  cursor: pointer;
}

.slogan-clickable div a {
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 5rem;
  line-height: 4.8rem;
  text-decoration: none;
  color: white;
}

.slogan-clickable .subtext {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
  overflow: hidden;
  width: 14.5rem;
}

.subtext a {
  display: inline-block;
  font-size: 1.2em;
  color: white;
  text-decoration: none;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.slogan-clickable:hover .subtext a {
  transform: translateY(0);
  transition: all 0.5s ease 0.5s;
}

.subtext::before {
  content: "";
  position: absolute;
  width: 14.5rem;
  height: 0.1rem;
  background: white;
  transition: all 0.3s ease 0.5s;
  transform: scale(0);
  top: 1.9rem;
}

.slogan-clickable:hover .subtext::before {
  transition: all 0.3s ease;
  transform: scale(1);
}

.zoom-layer {
  position: absolute;
  z-index: 1;
  width: 40rem;
  height: 40rem;
  overflow: hidden;
  border-radius: 20px;
  filter: blur(6px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-layer.show-wave {
  animation: waveIn 0.8s forwards ease-in-out;
}

.zoom-layer.hide-wave {
  animation: waveOut 0.8s forwards ease-in-out;
}

.zoom-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.slogan-clickable:hover ~ .zoom-layer {
  opacity: 1;
}

.slogan-clickable:hover ~ .zoom-layer video {
  transform: scale(1.2);
}

@keyframes waveIn {
  0% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  50% {
    clip-path: polygon(0% 5%, 100% 0%, 100% 95%, 0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);
  }
}

@keyframes waveOut {
  0% {
    clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);
  }
  50% {
    clip-path: polygon(0% 5%, 100% 0%, 100% 95%, 0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

.socials {
  position: fixed;
  bottom: 2rem;
  left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.socials ul {
  display: flex;
}

.socials li {
  list-style: none;
  margin: 0rem 0.5rem;
}

.socials li img {
  width: 2rem;
  height: 2rem;
}
#copyright p {
  z-index: 1; 
  position: absolute; 
  bottom: 2.2rem; 
  right: 5rem; 
  width: auto;
  color: white;
}

/* BLOC PRESENTATION */
#hero {
  position: relative; /* Important pour caler le SVG en absolute */
  display: flex;
  flex-wrap: wrap;
  background: #033;
  color: white;
  overflow: hidden; /* Pour cacher débordements éventuels */
}

/* SVG en fond */
#hero-svg-bg {
  position: absolute;
  top: 0; right: -15%;
  width: 70%;
  height: 100%;
  pointer-events: none; /* Ne pas gêner les interactions */
  z-index: 0;
  /* Optionnel : un peu de transparence */
  opacity: 0.5;
}

/* Ton contenu au-dessus */

#hero-text {
  position: relative;
  flex: 1;
  margin-top: 7rem;
  z-index: 1;
}
#hero-text h1 {
  font-size: 5.5rem;
  line-height: 6rem;
  margin-bottom: 5rem;
  margin-left: 5rem;
}
#hero-text strong {
  color: #eb5d40;
}
#hero-image {
  position: relative;
  flex: 1;
  display: flex;
  overflow: hidden;
  z-index: 1;
}
#img-presentation.parallax-container {
  position: relative;
  overflow: hidden;
  width: 60%;
  height: 25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 10rem 0 0;
}

#hero-image aside{
  width:40%
}

.parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 140%;
  object-fit:cover;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}
#hero-image #blank {
  position: absolute;
  width: 100%;
  height: 15rem;
  margin-top: 2rem;
  background-color: #f9fafb;
  z-index: 0;
}
#hero-text p {
  margin-top: 2rem;
  margin-left: 2rem;
  padding: 0.75rem 2rem;
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7rem;
  position: relative;
  z-index: 1;
}
#hero-text a {
  position: absolute;
  z-index: 10;
  margin-top: 5rem;
  margin-left: 4rem;
  background: #eb5d40;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 30px;
}

/* Animation SVG */

.draw {
  fill: none;
  stroke: #eb5d40;
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-dasharray: 150 150;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 6s;
}
.forward {
  animation-name: dashMove;
  stroke-dashoffset: 0;
}
.reverse {
  stroke-dashoffset: 150;
  animation: none;
}
@keyframes dashMove {
  to {
    stroke-dashoffset: -300;
  }
}


/* EXPERIENCE */
#experience {
  display: flex;
  flex-wrap: wrap-reverse;
  margin: 20rem 0;
}
#experience-text, #experience-image {
  flex: 1;
}
#experience-text {
  width: 47%;
  padding: 0 2rem 0 7rem;
}
#experience-text h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
}
#experience-text p {
  line-height: 1.3rem;
  margin-top: 1rem;
  font-size: 1.1rem;
}
#experience-text button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: #f9fafb;
  color: black;
  border: 1px solid #eb5d40;
  cursor: pointer;
  transition: all 0.1s;
  margin-top: 1.5rem;
}
#experience-text button:hover {
  background: #eb5d40;
  color: #f9fafb;
}
#experience-video {
  width: 53%;
  display: flex;
  flex-wrap: wrap-reverse;
}
#experience-video video {
    position:absolute;
    z-index: 5;
    right:0;
    height: 27rem;
    width: 100%;
}

/* AVANTAGES */
#advantages {
  background-image: url('assets/background_feature.svg');
  background-color: #033;
  background-attachment: scroll;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 0;
  position: relative;
  transform: translateZ(0);
  margin-top: 8rem;
}
#advantages h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
  text-align: center;
  color: white;
  padding-top: 8rem
}
#advantages-list {
  display: flex;
  counter-reset: advantage-counter;
  flex-wrap: wrap;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 0 8rem 0;
}
#advantages-list li {
  position: relative;
  flex: 1 1 300px;
  counter-increment: advantage-counter;
  padding-left: 2.5rem;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3rem;
  color: white;
}

#advantages-list li::before {
  content: counter(advantage-counter);
  position: absolute;
  left: 0;
  top: 3rem;
  border-radius: 50%;
  color: white;
  opacity: 0.3;
  font-weight: bold;
  text-align: center;
  line-height: 1.8rem;
  font-size: 8rem;
}

#advantages-list h3 {
    font-size: 1.5rem;
    line-height: 1.7rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

#advantages-list p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  #advantages-list {
    flex-direction: column;
    align-items: stretch;
  }
}

/* PRODUITS */
#products {
  text-align: center;
  padding: 3rem 0;
}
#products h2 {
  font-size: 12rem;
  text-shadow: 1px 1px 3px #558abb;
  color: #fffdfc;
  font-weight: 900;
  margin-top: 10rem;
}
#products h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 8rem 0 5rem 0;
}
#scroll-wrapper,
#scroll-wrapper * {
    user-select: none;
    -webkit-user-drag: none;
}
#scroll-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  position: relative;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-top: -11rem;
}
#scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.product-container {
  display: flex;
  gap: 4rem;
  padding: 2rem;
  position: relative;
  overflow: visible; /* Important pour agrandissement */
}
.product {
  width: 300px;
  height: 350px;
  backdrop-filter: blur(0px);
  border-radius: 1rem 1rem 7rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
  transform: scale(1);
  transform-origin: center;
}
.product:hover {
  border-color: #eb5d40;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  z-index: 10;
  backdrop-filter: blur(2px);
}
.product img {
  width: 16rem;
  object-fit: cover;
  margin-top: 2rem;
  transition: all 0.3s ease;
}
.product:hover img {
  transform: translateY(-2rem) scale(0.8);
}
.title {
  position: absolute;
  bottom: 3rem;
  font-size: 1.2rem;
  color: #333;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  left: 3rem;
  font-family: "Funnel Display", sans-serif;
  font-weight: 700;
  text-align: left;
}
.product:hover .title {
  opacity: 1;
  transform: translateY(0);
}
.circle-arrow {
  position: absolute;
  width: 4rem;
  height: 4rem;
  background: #eb5d40;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease 0s, transform 0.4s ease 0s;
  opacity: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
}
.circle-arrow svg {
  width: 24px;
  height: 24px;
}
.product:hover .circle-arrow {
  opacity: 1;
  transform: scale(1.2);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

/* INFORMATION DES PRODUITS*/

#product-details-container {
  overflow: hidden;
  max-height: 0;
  transition: all 0.4s ease;
  display: flex;
  padding: 0 1rem;
  gap: 1rem;
  text-align: left;
  margin-bottom: 5rem;
  background: url("assets/background_abstract.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: bottom;
}

#product-details-container.open {
  max-height: 900px; /* ou ajuste dynamiquement si besoin */
  padding: 6rem 1rem;
}

#product-details-container.closed {
  padding: 0 1rem !important;
}

.product-details-img {
  width: 50%;
}

#product-details-container img {
  max-height: 35rem;
  object-fit: contain;
  margin: 0 auto;
  min-width: 100%;
  overflow: auto;
}

.product-details-text {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 35rem; 
  margin-left: 3rem;
}

#product-details-container .product-details-text h2 {  
  font-size: 3rem;
  margin-top: 0;
  text-shadow: none;
  color: black;
}

.product-details-text p {  
  margin: 5rem 0;
  font-size: 1.2rem;
}

.product-details-text button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: #f9fafb;
  color: black;
  border: 1px solid #eb5d40;
  cursor: pointer;
  transition: all 0.1s;
}

.product-details-text button:hover {
  background: #eb5d40;
  color: #f9fafb;
}


/* PLATEFORME */
#platform {
  text-align: center;
  padding: 3rem 2rem;
  margin: 7rem auto 14rem auto;
  width: 70%
}
#platform img {
  margin-top: 1rem;
}
#platform h2{
  font-size: 2rem;
  font-weight: 700;
}

/* BOUTIQUES */

/* === IMAGE LAYERS === */
.image-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
  display: block;
  height: 100%;
  max-width: none;
  min-width: 100%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.image-layer.active,
.image-layer.visible {
  opacity: 1;
  z-index: 1;
}

.image-layer > picture:last-child {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  filter: blur(20px) brightness(50%);
  mask-image: radial-gradient(circle, transparent 40%, black 80%);
  -webkit-mask-image: radial-gradient(circle, transparent 40%, black 80%);
}

#blured img{
  position: absolute;
  max-height: 100%;
  height: 100%;
  display: block;
  max-width: none;
  min-width: 100%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === BOUTIQUE LAYOUT === */
.boutique-section {
  position: relative;
  height: 600vh;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

.parallax-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* === TEXTES === */
.text-container {
  position: absolute;
  bottom: 6%;
  left: 2.5rem;
  z-index: 20;
  max-width: 40rem;
  width: 100%;
  height: 3rem;
}

.text-layer {
  position: absolute;
  color: white;
  font-size: 1.875rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0.5rem 2rem;
}

.text-layer.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-layer:first-of-type { background-color: #31467e; }
.text-layer:nth-of-type(2) { background-color: #e23f5e; }
.text-layer:nth-of-type(3) { background-color: #3ba1d6; }
.text-layer:nth-of-type(4) { background-color: #3a98d6; }
.text-layer:nth-of-type(5) { background-color: #35b7c5; }

/* === PROGRESS BAR === */
.progress-bar-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  z-index: 20;
  background-color: white;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0;
  background-color: #eb5d40;
  transition: width 0.5s ease;
}

/* === CTA BUTTON === */
.cta-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

#cta-button {
  transition: all 0.5s ease;
  background-color: #eb5d40;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
  opacity: 0;
  pointer-events: none;
}

#cta-a {
  pointer-events: none;
}

#cta-button:hover {
  background-color: #b9351a;
}

#cta-button.cta-enable {
  opacity: 1;
  pointer-events:visible;
  transform: scale(1);
}

#cta-button.cta-disable {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

/* === FAKE SCROLL === */
.fake-scroll {
  height: 500vh;
  background-color: transparent;
}


/* LOGISTIQUE */
#logistics {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 5rem auto;
  text-align: center;
}

/* Titres */
#logistics h2 {
  font-family: 'Funnel Display', sans-serif;
  font-size: 3rem;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.4rem;
  color: #6b7280;
  margin-bottom: 4rem;
}

/* Grille des éléments */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 10rem auto;
}

.logistics-item {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.logistics-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.logistics-item img {
  width: 10rem;
  height: 6rem;
  object-fit: contain;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logistics-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.logistics-item p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
}

.logistics-summary {
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  font-size: 2rem;
  font-weight: 500;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease forwards;
}

.logistics-summary strong {
  color: #eb5d40;
}

/* Responsive */
@media (max-width: 600px) {
  #logistics h2 {
    font-size: 2.2rem;
  }

  .logistics-summary {
    font-size: 1.2rem;
    padding: 2rem 1.5rem;
  }

  .logistics-item {
    padding: 2rem 1.5rem;
  }
}


/* TEMOIGNAGE */
.testimonial-container {
  position: relative;
  max-width: 60%;
  margin: 13rem auto 17rem auto;
  overflow: hidden;
  padding-bottom: 40px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-logo {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  margin-right: 15px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.testimonial-person-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1em;
  color: #333;
}

.testimonial-position {
  font-size: 0.9em;
  color: #666;
  margin-top: 3px;
}


.testimonial-slider {
  position: relative;
  height: 100%;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  height: 100%;  /* prend toute la hauteur du container */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative; /* pour respecter flux pour l’actif */
}

.testimonial-slide q {
  font-size: 1.2em;
  font-style: italic;
  margin-bottom: 15px;
  color: #333;
}

.testimonial-slide q::before{
  content: '"';
  font-family: "Space Grotesk", sans-serif;
  position: absolute;
  font-size: 30rem;
  margin-top: -13rem;
  margin-left: -7rem;
  opacity: 0.2;
  color: #e23f5e;
}

.testimonial-slide q::after{
  content: '"';
  font-family: "Space Grotesk", sans-serif;
  position: absolute;
  font-size: 13rem;
  margin-top: -5rem;
  margin-left: -2rem;
  opacity: 0.3;
  color: #e23f5e;
}

.testimonial-slide cite {
  font-size: 0.95em;
  color: #777;
}

/* Bullets */
.testimonial-bullets {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.testimonial-bullet {
  background: #ccc;
  border-radius: 12px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.testimonial-bullet.active {
  width: 40px;
  background: #4f46e5;
}

/* CLIENTS */
#clients {
  padding: 3rem 7rem;
  text-align: center;
}
#clients h2{
  font-size: 2.5rem;
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 2.5rem;
  font-style: normal;
  width: 50%;
  margin: 0 auto;
}
#clients p{
  margin: 3.5rem auto 5rem auto;
  font-size: 1.3rem;
  line-height: 1.6rem;
  width: 70%;
}
#clients-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
#clients-logos li {
  display: flex;
  width: 14rem;
  height: 7rem;
  align-items: center;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0px 2px 3px rgba(0,0,0,0.5);
  text-align: center;
}
#clients-logos li img {
  max-width: 8rem;
  max-height: 4.5rem;
  margin: 0 auto;
}

/* ATELIER */
#atelier {
  padding: 2rem;
  text-align: center;  
  margin: 5rem 0;
}
#atelier h2 {
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  line-height: 2.5rem;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 400;
  width: 70%;
  margin: 0 auto 7rem auto;
}
#atelier div{
  margin-bottom: 5rem;
}

#atelier a {
  margin: 0 1rem;  
  padding: 1rem 1.5rem;
}
#atelier div p {
  margin: 3rem 0;
}
#atelier #print {
  background: black;
  color: #f9fafb;
  border: 1px solid black;
  transition: all 0.1s ease-in;
}
#atelier #print:hover {
  background: #f9fafb;
  color: black;
}
#atelier #command {
  background: #f9fafb;
  border: solid 1px #eb5d40;
  color: black;
  transition: all 0.1s ease-in;
}
#atelier #command:hover {
  background: #eb5d40;
  color: #f9fafb;
}

/* FORMULAIRE */
#demo {
  padding: 8rem 2rem;
  background: #f2f2f2;
}
#demo h2{
  font-family: "Funnel Display", sans-serif;
  font-optical-sizing: auto;
  line-height: 2rem;
  font-style: normal;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
}
#demo p{
  line-height: 1rem;
  font-size: 1rem;
  margin: 3rem 0;
  text-align: center;
}
#demo form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 750px;
  margin: auto;
}
#demo input, #demo textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#demo button {
  background: black;
  color: #f9fafb;
  padding: 0.75rem;
  border: none;
  width: 15rem;
  border: 1px solid black;
  transition: all 0.1s;
}
#demo button:hover {
  background: #f9fafb;
  color: black;
}

/* FOOTER */


footer{
    width: 100%;
    background-color: #0B2A30;
    display: inline-flex;
    text-align: center;
    color: white;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
}

footer h4{
    font-family: "Outfit";
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}

footer > div{
    width: 15rem;
    margin: 5rem;
    text-align: left;
}

footer p {
    font-size: 1rem;
}

footer div > ul li{
    list-style: none;
}

footer #logotype-footer {
    width: 12rem;
    margin-bottom: 2rem;
}

footer div:first-of-type > div{
    display: inline-flex;
    margin: 1rem 0;
}

footer div:first-of-type > div img{
    width: 2rem;
    height: 2.7rem;
    margin-right: 1rem;
}

footer div:first-of-type > div p{
    margin: auto 0;
}

footer div:first-of-type > ul{
    margin: 1rem 0 2rem 0;
    padding: 0;
    display: flex;
}

footer .logotype-rss{
    width: 1.7rem;
    height: 1.7rem;
    margin-right: 0.7rem;
    overflow: hidden;
}

footer div:nth-of-type(2) ul li{
    margin-top: 1rem; 
}
footer div:nth-of-type(2) ul li h5{
    font-family: "Outfit";
    font-size: 1rem;
    font-weight: 700;
}
footer div:nth-of-type(3) ul li{
    margin: 0.7rem 0;
}
footer div:nth-of-type(3) ul li a{
    color: white;
    text-decoration: none;
}
footer > p{
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

#infos {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}
#infos section {
  width: 80%;
  margin: 3rem auto 0 auto;
  padding: 0 3rem;
}
#infos section h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
#infos section h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid;
}
#infos section h4 {
  margin-top: 1rem;
}
#infos section ul {
  margin-left: 1rem;
}
#infos section article {
  padding-left: 2rem;
  border-left: 2px solid rgba(0, 0, 0, 0.15);
  margin-left: 2rem;
}
#infos section dd{
  margin: 1rem 0 2rem 0;
}

#infos section#ml {
  margin-bottom: 3rem;
}

/* RESPONSIVE */
/* Responsive pour les écrans < 1361px */
@media (max-width: 1360px) {
  #hero-text h1{
    font-size: 4.5rem;
    line-height: 5rem;
  }
  #img-presentation.parallax-container {
    height: 17rem;
  }
  #hero-text p {
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  #experience {
    display: block;
  }
  #experience-text {
    width: 80%;
    padding: 2rem 2rem 2rem 2rem;
    margin: 5rem auto 7rem auto;
  }
  #experience-text h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2rem;
  }
  #experience-video {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  #experience-video video {
    position: relative;
    margin-top: -5rem;
  }
  #advantages-list {
    padding: 7rem;
  }
  #advantages-list li {
    position: relative;
    padding: 3rem;
  }
  #products h2 {
    font-size: 7rem;
  }
  #scroll-wrapper {
    margin-top: -8rem;
  }
  #product-details-container.open {
    padding: 0;
  }
  #product-details-container {
    background: none;
    display: block;
  }
  #product-details-container img {
    min-width: 60%;
  }
  .product-details-img {
    width: 50%;
    display: block;
    margin: 0 auto;
  }
  .product-details-text {
    display: block;
    margin: 0 auto;
  }
  .logistics-grid {
    display: block;
  }
  .logistics-item {
    margin: 5rem;
  }
  footer{
    display: block;
  }
  footer > div {
    margin: 3rem auto;
  }
}

/* Responsive pour smartphones (≤ 770px) */
@media (max-width: 769px) {
  .custom-cursor {
    display: none;
  }

  .slogan-clickable{
    margin-top: -5rem;
  }
  .slogan-clickable div a {
    font-size: 3.5rem;
  }
  .subtext a {
    transform: translateY(0%);
  }
  .subtext::before {
    transform: scale(1);
  }
  #zoom-layer {
    display: none;
  }

  #header-container{
    display: block;
  }
  #nav {
    display: none;
  }
  #logo {
    width: 100%;
  }
  #header-container img {
    margin: 0 auto;
  }
  #hero-text h1 {
    font-size: 2.2rem;
    line-height: 2.6rem;
    margin-left: 1.5rem;
  }
  #hero-text p {
    margin-top: 5rem;
    font-size: 1.6rem;
    line-height: 1.8rem;
    margin-bottom: 5rem;
  }
  #hero-image {
    display: block;
  }
  #hero-image aside {
    width: 100%;
  }
  .parralax-img {
    object-position: right;
  }
  #hero-svg-bg{
    top: -30%;
  }
  #experience{
    margin: 10rem 0;
  }
  #experience-text {
    width: 80%;
    padding: 3rem 0rem 3rem 0rem;
    margin: 5rem auto 10rem auto;
  }
  #experience-text p {
    line-height: 1.2rem;
    margin-top: 1rem;
    font-size: 1rem;
  }
  #experience-video {
    display: none;
  }
  #img-presentation.parallax-container {
    width: 90%;
    display: block;
  }
  #advantages {
    padding: 8rem 0;
  }
  #advantages-list {
	  padding: 0;
    flex-direction: row;
  }
  #advantages-list li {
    position: relative;
    flex: none;
    counter-increment: advantage-counter;
    border-radius: 8px;
    padding: 0;
    padding-top: 7.5rem;
    color: white;
    width: 40%;
  }
  #advantages h2 {
    font-size: 3rem;
    line-height: 3rem;
    padding: 0 0 8rem 0;
  }
  #advantages-list h3 {
    font-size: 1.3rem;
    line-height: 1.7rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  #advantages-list p {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.2rem;
    margin-top: 0;
  }
  #platform {
    text-align: center;
    padding: 3rem 1rem;
    margin: 7rem auto 14rem auto;
    width: 90%;
  }
  #scroll-wrapper {
    margin-top: -8rem;
  }
  .product {
    width: 350px;
    height: 400px;
  }
  #products h2 {
    font-size: 5rem;
    line-height: 5rem;
  }
  .product img {
    width: 21rem;
  }
  #product-details-container.open {
    padding: 0;
  }
  #product-details-container {
    background: none;
  }
  .product-details-img {
    display: none;
  }
  .product-details-text {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  .product-details-text h2 {
    font-size: 2rem;
  }
  .product-details-text p {
    margin: 3rem 0;
    font-size: 1rem;
  }
  .text-container {
    position: absolute;
    top: 10%;
    left: 2.5rem;
    z-index: 20;
    max-width: auto;
    width: 80%;
    height: 3rem;
  }
  .logistics-item {
    margin: 5rem 0;
  }
  #testimonial {
    padding: 3rem 0;
  }
  .testimonial-container {
    max-width: 100%;
    margin: 0 auto 10rem auto;
  }
  .testimonial-slide {
    padding: 0 4rem;
  }
  #testimonial q {
    font-size: 1rem;
  }
  #clients {
    padding: 3rem 2rem;
    text-align: center;
  }
  #clients-logos li {
    width: 45%;
  }
  #clients-logos li img {
    max-width: 7rem;
    max-height: 4rem;
    margin: 0 auto;
  }
  #clients h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    width: 100%;
  }
  #clients p {
    margin: 3.5rem auto 5rem auto;
    font-size: 1rem;
    line-height: 1.2rem;
    width: 100%;
  }
  #atelier div p {
    margin: 3rem 0;
  }
  #atelier a{
    margin: 0 1rem;
    padding: 1rem 0.5rem
  }
  footer{
    display: block;
  }
  footer > div {
    margin: 3rem auto;
  }
  .socials{
    bottom: 10%;
    left: 0;
    width: 100%;
  }
  .socials ul{
    margin: 0 auto;
  }

  #copyright p {
    z-index: 1;
    position: fixed;
    bottom: 2.2rem;
    right: 0;
    width: 100%;
    color: white;
    text-align: center;
  }
}

