body {
  margin: 0;
  padding: 0;
  font-family: Arial;
}

h1 {
  text-align: center;
  color: red;
  font-weight: bold;
  font-size: 1.5em;
}

.container {
  height: 100vh;
}

.header {
  width: 100%;
  margin-top: 92px;
  height: 130vh;
  background-image: url('/assets/Images/slide/Rectangle\ 596.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-left {
  display: flex;
  color: white;
  padding: 20px;
  border-radius: 5px;
  font-size: 4vw;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 300px;
}

/* Pour les écrans de taille moyenne (tablettes en paysage) */
@media (max-width: 1200px) {
  .banner-title {
      font-size: 3em;
  }
}

/* Pour les écrans de taille intermédiaire (tablettes en portrait) */
@media (max-width: 992px) {
  .banner-title {
      font-size: 2.5em;
  }
}

/* Pour les petits écrans (tablettes en mode portrait, petits ordinateurs portables) */
@media (max-width: 768px) {
  .banner-title {
      font-size: 2em;
  }
}

/* Pour les très petits écrans (smartphones en mode portrait) */
@media (max-width: 576px) {
  .banner-title {
      font-size: 1.5em;
  }
}









@media (max-width: 1300px) {
  .header {
    height: 500px;
  }

  .header-left {
    font-size: 1.5em;
  }

  .header-left p {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .header {
    height: 150px;
  }

  .header-left {
    display: flex;
    color: white;
    padding: 20px;
    border-radius: 5px;
    font-size: 1.3em;
    text-transform: uppercase;
    font-weight: bold;
    justify-content: center;
    margin-top: 50px;
  }

  .header-left p {
    font-size: 1em;
    margin-top: 0px;
  }
}

.content-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  padding: 20px;
  background-color: #f9f9f9;
}

.section-content-1 {
  max-width: 1200px;  /* Limite la largeur maximale à 1200px */
  width: 100%;        /* Assure que la section s'adapte à la taille de l'écran */
  margin: 0 auto;     /* Centre horizontalement la section */
  box-sizing: border-box; /* Inclut le padding dans la largeur */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* Ajoute un espace entre les éléments */
}

.text-block,
.image-block {
  flex: 1 1 45%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.image-block {
  flex: 1 1 45%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Nécessaire pour le positionnement */
  animation: slideInFromRight 0.5s ease-out forwards;
  /* Ajout de l'animation */
}

/* Définition de l'animation */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    /* Commence en dehors de l'écran, à droite */
    opacity: 0;
    /* Commence avec une opacité de 0 */
  }

  100% {
    transform: translateX(0);
    /* Se termine à sa position initiale */
    opacity: 1;
    /* Opacité finale */
  }
}

.image-block:hover {
  transform: translateX(-20px);
  /* Déplacement vers la gauche de 20px au survol */
}


.text-block {
  text-align: justify;
  margin-top: -35px;
}

.block-title {
  font-size: 1.9em;
  margin-bottom: 10px;
  color: #15171C;
  text-transform: uppercase;
}

.block-paragraph1 {
  font-size: 1em;
  color: #545454;
  text-align: justify;
  word-spacing: normal;
  hyphens: auto; /* Ajoute la césure automatique des mots */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}


.block-paragraph {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #545454;
  text-align: justify;
  text-justify: inter-word;
  /* Ajoute une justification des mots */
}

.block-paragraph::after {
  content: "";
  display: inline-block;
  height: 0;
  /* Empêche de prendre de la place verticalement */
}

.block-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 992px) {

  .text-block,
  .image-block {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .image-block {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .block-title {
    font-size: 1.5em;
  }

  .block-paragraph {
    font-size: 1em;
  }
}

.section-entreprise {
  padding: 20px;
  text-align: center;
}

.entreprise-section{
  max-width: 1200px; /* Limite la largeur maximale à 1200px */
  width: 100%;       /* Assure que le conteneur prend toute la largeur de l'écran sur les petits écrans */
  margin: 0 auto;    /* Centre le conteneur horizontalement */
  box-sizing: border-box;
}

.button-container {
  margin-bottom: 20px;
}

.toggle-button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  color: #15171C;
  background-color: #FFBD59;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-button.active {
  background-color: #FF6233;
  color: #15171C;
}

.content-container {
  margin-top: 20px;
  background-color: #545454;
  height: 25vh;
  padding: 20px;
  text-align: left;
}

.content {
  display: none;
  font-size: 20px;
  color: white;
}

.content.active {
  display: block;
}

@media (max-width: 992px) {
  .toggle-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .content {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .toggle-button {
    font-size: 12px;
    padding: 6px 12px;
  }

  .content {
    font-size: 14px;
  }
}

.team-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}
.section-team{
  max-width: 1200px; /* Limite la largeur maximale à 1200px */
    width: 100%;       /* Assure que la section prend toute la largeur de l'écran sur les petits écrans */
    margin: 0 auto;    /* Centre horizontalement la section */
    box-sizing: border-box; /* Inclut le padding dans la largeur */
}

.team-title {
  text-align: center;
  color: #15171C;
  font-size: 1.9em;
  text-transform: uppercase;
}

.team-intro {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555;
  text-align: justify;
}

.team-section h3 {
  text-align: center;
  margin-bottom: -20px;
  padding-bottom: -20px;
  color: #545454;
}

.team-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.block {
  flex: 1 1 calc(33.333% - 40px);
  box-sizing: border-box;
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Ajout de la transition */

  /* Ajout de position relative pour le contrôle de l'animation */
  position: relative;
}

.block:hover {
  transform: translateY(-5px);
  /* Légère translation vers le haut */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* Modification de l'ombre portée */
}

.block-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

.block-text {
  margin: 15px 0;
  font-size: 20px;
  color: #545454;
}

.block-button {
  padding: 10px 20px;
  font-size: 16px;
  color: #15171C;
  background-color: #FF6233;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.block-button:hover {
  background-color: #FFBD59;
}

@media (min-width: 1200px) {
  .team-blocks {
    flex-direction: row;
    justify-content: space-between;
  }

  .block {
    flex: 1;
    margin: 0 10px;
  }

  .block:first-child {
    margin-left: 0;
  }

  .block:last-child {
    margin-right: 0;
  }
}

@media (max-width: 992px) {
  .block {
    flex: 1 1 calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .block {
    flex: 1 1 100%;
  }
}

.hidden {
  display: none;
}

#extraContent {
  margin-top: 0px;
  background-color: #f9f9f9;
  font-size: 1.2em;
  color: #545454;
  text-align: justify;
  text-justify: inter-word;
  /* Ajoute une justification des mots */
}