/*****************************************************
*Accueil
***************************************************/
/*****************************************************
*Bloc1
***************************************************/
  #Bloc1Accueil {
    position: relative;
    width: 100%;
    display: inline-block; /* Pour s'ajuster à la taille de son contenu */
    z-index: 0;
    background-image: url("https://textile.aq-tech.fr/wp-content/themes/ThemeAQTechTextile2025/_MediaTheme2025/Image/Home/Entete-video.webp");
    background-size: cover;
    background-position: center;
  }
  
  #Bloc1Accueil video 
  {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
  }
  
  #Bloc1Accueil .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:var(--noirtrans); /* noir à 50% */
    z-index: 2;
  }
  
  #Bloc1AccueilContent {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    z-index: 3;
    color: white;
    text-align: left;
  }

  #Bloc1AccueilContent h2
  {
    font-size: 1.5em;
  }

   /* Tablette (>=768px) */
 @media screen and (max-width: 1024px) {
  #Bloc1AccueilContent {
    position: absolute;
    top: 10%;
  }
  #Bloc1AccueilContent h1
  {
    font-size: 2em;
  }


}

 /* Mobile (<= 767px) */
 @media screen and (max-width: 767px) {
  #Bloc1AccueilContent {
    padding-left: 15px;
    padding-right: 15px;
  }
  #Bloc1AccueilContent img{
    height: 30px;
  }
  #Bloc1AccueilContent h1
  {
    font-size: 1.5em;
  }
  
  #Bloc1AccueilContent h2
  {
    font-size: 1.2em;
  }

}


 /* Mobile (<= 767px) */
 @media screen and (max-width: 550px) {
  #Bloc1AccueilContent {
    padding-left: 0px;
    padding-right: 0px;
  }
  #Bloc1AccueilContent img{
    height: 15px;
  }
  #Bloc1AccueilContent h1
  {
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  #Bloc1AccueilContent h2
  {
    display: none;
  }

}
/*****************************************************
*Bloc2
***************************************************/
#Bloc2AccueilContent
{
  position: relative;
  z-index: 4;
  width: 60%;
  padding: 50px 50px;
  margin-top: -150px;
  text-align: center;
  color: white;
  background-color: var(--orange-2024);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2em;
}

#Bloc2AccueilContent .btn-blanc
{
  margin-top: 40px;
}

   /* Tablette (>=768px) */
   @media screen and (max-width: 1024px) {
    #Bloc2AccueilContent
    {
      width: 80%;
      margin-top: -50px;
    }
  }

    /* Tablette (>=768px) */
    @media screen and (max-width: 767px) {
    #Bloc2AccueilContent
    {
      width: 95%;
      margin-top: 10px;
      padding: 10px;
      font-size: 1em;
    }

    
    
    #Bloc2AccueilContent .btn-blanc
    {
      font-size: 1em;
    }
  }
  

  
/*****************************************************
*Bloc3
***************************************************/
#Bloc3Accueil
{
  margin-top: 50px;
  margin-bottom: 50px;
}
#Bloc3Accueil .Carre3Images
{
  width: 90%; 
  margin-left: auto; 
  margin-right: auto;
}

  
/*****************************************************
*Bloc4
***************************************************/
#Bloc4Accueil
{
  background-color: var(--noir95);
  padding-top: 50px;
  padding-bottom: 50px;
}

#Bloc4Accueil h2
{
  color: white;
}

#Bloc4Accueil .btn-orange
{
  margin-top: 75px;
  margin-bottom: 50px;
  text-align: center;
}
/*****************************************************
*Bloc5
***************************************************/
#Bloc5Accueil
{
  background-color: var(--noir95);
  padding-top: 0px;
  padding-bottom: 250px;
}

#Bloc5Accueil .container
{
  background-color: white;
}

#Bloc5Accueil .sous-container
{
  padding: 50px;
}

#Bloc5Accueil h2
{
  color: var(--noir95);
}
#Bloc5Accueil .Carre4Images
{
  width: 80%; 
  margin-left: auto; 
  margin-right: auto;
}

#Bloc5Accueil .btn-orange
{
  margin-top: 75px;
  margin-bottom: 50px;
  text-align: center;
}

#Bloc5Accueil .BlocColonnes
{
  padding-left: 20px;
  padding-right: 20px;
}


@media (max-width: 1024px) {

  #Bloc5Accueil
  {
    padding-bottom: 150px;
  }

}

@media (max-width: 767px) {
  #Bloc5Accueil .sous-container
  {
    padding: 10px;
  }

  #Bloc5Accueil
  {
    padding-bottom: 50px;
  }

}

/*****************************************************
*Bloc6
***************************************************/
#Bloc6AccueilContent
{
  position: relative;
  z-index: 4;
  width: 60%;
  padding: 50px 50px;;
  margin-top: -150px;
  text-align: center;
  color: white;
  background-color: var(--orange-2024);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.8rem;

  margin-bottom: 50px;
}

#Bloc6AccueilContent .btn-blanc
{
  margin-top: 40px;
  font-size: 1.2rem;
}

   /* Tablette (>=768px) */
   @media screen and (max-width: 1024px) {
    #Bloc6AccueilContent
    {
      width: 80%;
    }
  }

    /* Tablette (>=768px) */
    @media screen and (max-width: 767px) {
      #Bloc6AccueilContent
      {
      width: 95%;
      margin-top: 10px;
      padding: 20px 10px;
      font-size: 1em;
    }

    
    #Bloc6AccueilContent .btn-blanc
    {
      font-size: 1em;
    }

    #Bloc6AccueilContent
    {
      margin-bottom: 0;
    }
  }

/*****************************************************
*Bloc7
***************************************************/
#Bloc7Accueil
{
  background-color: white;
  padding-top: 0px;
  padding-bottom: 100px;
  overflow-x: hidden;
}

#Bloc7Accueil .logo-carousel {
  background-color: #fff;
  padding: 20px 0;
  overflow: hidden; 
}
#Bloc7Accueil  .logo-track-wrapper {
  width: 100%;
  overflow: hidden; /* ✅ Masque ce qui dépasse */
  position: relative;
}

#Bloc7Accueil .logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 60s linear infinite;
  max-height: 150px;
  overflow: hidden;
  width: max-content;
}

#Bloc7Accueil .logo-track img {
  max-height: 150px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#Bloc7Accueil .logo-track img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tablette (>=768px) */
@media screen and (max-width: 767px) {
  #Bloc7Accueil
  {
      padding-bottom: 0;
    }
  }

/*****************************************************
*Bloc8
***************************************************/

#Bloc8Accueil
{
  background-color: var(--noir95);
  padding-top: 50px;
  padding-bottom: 50px;
}

#Bloc8Accueil h2
{
  color: white;
}

#Bloc8Accueil .btn-orange
{
  margin-top: 0px;
  margin-bottom: 50px;
  text-align: center;
}

#Bloc8Accueil p
{
 color: white;
 margin-bottom: 25px;
 margin-top: 25px;
  text-align: center;
  font-size: 1.1em;
}

#Bloc8Accueil .logo-AQtech-ing
{
  text-align: center;
}
#Bloc8Accueil .logo-AQtech-ing img
{
  width: 350px;
  max-width: 90%;
}
/*****************************************************
*Fin bloc
***************************************************/
  