/* Style du body et du container principal */
body {
  font-family: 'avenir-lt-w01_35-light1475496, sans-serif';
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
h2{
  font-size: 2.5rem;
  font-weight: 400;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Raleway', sans-serif;
}
main {
  padding: 2rem 1rem;
}

img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.cabinet-info {
  text-align: center;
  margin-bottom: 2rem;
}

.cabinet-info h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.cabinet-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin: 1rem 0;
  margin-left: 20%;
  margin-right: 20%;
}

.cabinet-image {
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 8px;
}

/* Style pour l'équipe */
.team {
  text-align: center;
  margin-top: 3rem;
}

.team h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
  font-family: 'Raleway', sans-serif;
}

.team-member {
  display: inline-block;
  width: 45%;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
  vertical-align: middle; /* Ajout pour aligner verticalement */
}

.team-member img {
  width: 200px; /* Fixe la largeur de l'image */
  height: 200px; /* Fixe la hauteur de l'image */
  border-radius: 50%; /* Image ronde */
  margin-bottom: 1rem;
  object-fit: cover; /* Pour s'assurer que l'image est bien recadrée */
}

.team-member h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: 'didot-w01-italic', 'didot-w05-italic', serif;
  font-weight: 400;
  line-height: 16px;
}

.team-member p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #666;
  margin-left: 20%;
  margin-right: 20%;
}

/* Responsive styles */
@media (max-width: 768px) {
  .cabinet-info h1 {
    font-size: 2rem;
  }

  .cabinet-info p {
    font-size: 1rem;
  }

  .team {
    margin-top: 2rem;
  }

  .team-member {
    width: 100%;
    margin-bottom: 2rem;
  }

  .team-member img {
    width: 150px; /* Réduit la taille de l'image pour mobile */
    height: 150px;
  }
}

/* Style des h2 */
h2 {
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2.5rem;
  text-align: center;
  width: 100%;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Style spécifique pour le titre principal */
#cabinet-title {
  text-transform: uppercase;
  font-size: 2.8rem;
  text-align: center;
  color: #333;
  margin: 2rem 0;
  letter-spacing: 1.2px;
}

/* Style pour les h2 dans les sections */
.cabinet-content h2 {
  text-transform: uppercase;
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: left;
}

.expertise-section h2 {
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 1rem;
  color: #333;
  text-align: center;
}
