/*****************************************************
Contact
***************************************************/
/*****************************************************
*Bloc1
***************************************************/
#Bloc1Contact {
  position: relative;
  background-image: url("https://textile.aq-tech.fr/wp-content/themes/ThemeAQTechTextile2025/_MediaTheme2025/Image/Contact/entete-contact2.webp");
  background-size: cover;
  background-position: center;
  width: 100%;
  color: white;
  text-align: left;
  padding-top: 150px;
  padding-bottom: 100px;
}

#Bloc1Contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* noir transparent */
  z-index: 1;
}

/* Pour que le contenu passe au-dessus du voile */
#Bloc1Contact .container {
  position: relative;
  z-index: 2;
}

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

   /* Tablette (>=768px) */
   @media screen and (max-width: 1024px) {
    #Bloc1Contact h1
    {
      font-size: 2em;
    }
    #Bloc1Contact
    {
    padding-top: 100px;
    padding-bottom: 75px;
    }
  }
  
   /* Mobile (<= 767px) */
   @media screen and (max-width: 767px) {
    #Bloc1Contact {
      padding-left: 15px;
      padding-right: 15px;
      padding-top: 75px;
      padding-bottom: 50px;
    }
    #Bloc1Contact img{
      height: 30px;
    }
    #Bloc1Contact h1
    {
      font-size: 1.5em;
    }
    
    #Bloc1Contact h2
    {
      font-size: 1.2em;
    }
  
  }

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

/*****************************************************
*Bloc2
***************************************************/
.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.team-member {
  text-align: center;
  max-width: 350px;
}

.team-photo img.photo {
  width: 100%;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
  border-radius: 8px;
}

.team-photo img.photo:hover {
  filter: grayscale(0%);
}

.team-member h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 15px;
}

.fonction {
  color: var(--noir80);
  font-size: 0.95em;
  margin: 5px 0 15px;
}

/*****************************************************
*Bloc3
***************************************************/
#Bloc3Contact {
  background-color: var(--noir95);
  padding-top: 50px;
  margin-bottom: 0;
}

#Bloc3Contact h2
{
  color: white;
}

#Bloc3Contact .card
{
  display: block;
}

/*****************************************************
*Bloc4 : Map (uniquement dans le template
***************************************************/
#Bloc4Contact {
  background-color: var(--noir95);
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 0;
}

#Bloc4Contact .container
{
  text-align: center;
}

#Bloc4Contact .container iframe
{
max-width: 90%;
margin: auto;
}