#lab-page {
  --white: #f3f4f4;
  --gray: #7a7a7a;
  --brand-primary: #7c00ff;
  --brand-secondary: #fd5016;
  --base-color: #1d1f24;
}

/* Structure générale */
.lab-page {
  line-height: 1.6;
  font-size:1.3rem;
}

.labo_intro {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  width: 100%; 
  box-sizing: border-box; 
  padding:0 0 40px;
}

.labo_intro p {
  font-size: 1rem;
  max-width: 728px;
  text-align: center;
}

.lab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.outlinelabo {
  -webkit-text-stroke: 1px var(--base-color);
  color: transparent;
}

.lab-left, .lab-right {
  flex: 1;
  min-width: 300px;
}

.lab-right {
  text-align: left;
}

.lab-left h2 {
  font-size: 2.5rem;
  text-align: right;
  margin: 0;
  padding: 30px 0 0 0;
}

.lab-left img {
  max-width: 100%;
}

.header-engagement h2
{
  font-size: 1.6rem;
}

.lab-engagements {
  display: flex;
  justify-content: space-between; 
  width: 100%; 
  margin: 0 auto; 
  text-align:left;
  gap: 30px;
}

.engagement {
  width: 390px; 
  height: auto; 
  padding: 0 20px 20px 0; 
  box-sizing: border-box; 
}

.engagement h3 {
  font-size: 2.6rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.engagement p {
  padding: 0 0 40px 0;
  font-size: .9375rem;
  max-width: 300px;
}


/* Responsive */
@media (max-width: 768px) {
  .lab-content, .lab-engagements, .lab-images {
    flex-direction: column;
    align-items: left;
  }

  .engagement {
    text-align: left;
  }

  .lab-left img 
  {
    width: 100%;
  }
}

.step-container {
  display: block;
  margin-bottom: 20px;
}

.step {
  display: block;
  margin-bottom: 5px;
  padding-right: 40px;
}

.step p {
padding: 0 0 0 40px;
font-size: 1.05rem;
line-height: 1.1;
font-weight: 200;
}

.step-number {
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px #7c00ff; 
  margin-right: -20px;
  line-height: 1;
  display:inline-block;
  font-family: 'Bebas Neue';
}

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-block;
  padding: 0 0 10px 10px;
  vertical-align: bottom;
}

.lab-banner img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
  .lab-banner {
    padding: 0;
    overflow: hidden;
  }
  
  .lab-banner img {
    width: 100%;
    object-fit: cover;
  }
}



.laboPage__grid__ttl {
  grid-column: 1 / span 2;
  text-align: right;
  font-size: 2.8rem;
  font-family: 'Bebas Neue';
  line-height: 2.6rem;
  padding-left: 11.7rem;
  padding-bottom:20px;
}

  /* Ajustements spécifiques pour les très petits écrans */
@media (max-width: 576px) {
  .laboPage__grid__ttl {
    font-size: 2rem;
    line-height: 2rem;
  }
  .labo_intro
  {
    padding-bottom:20px;
  }

  .header-engagement
  {
    padding-top:20px;
  }

.engagement p {
  padding: 0 0 0px 0;
  font-size: .9375rem;
  max-width: 90%;
}
}


@media (min-width: 768px) {
  .laboPage__grid__ttl {
  grid-column: 1 / span 2;
  text-align: right;
  font-family: 'Bebas Neue';
  padding-left: 11.7rem;
    font-size: 2.25rem;
    line-height: 2rem;
  }
}
@media (min-width: 1200px) {
  .laboPage__grid__ttl {
    font-size: 2.8rem;
    line-height: 2.6rem;
  }
}

.laboPage__grid__ttl .outline {
  -webkit-text-stroke: 1px var(--base-color)
}

@media (max-width: 768px) {

  .laboPage__grid__ttl {
    grid-column: 1;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    font-size: 2.rem;
    line-height: 2.2rem;
    margin-bottom: 20px;
  }
  }