/* debut de la page d'apropos*/


/* Section Histoire & Vision */
.history-vision-section {
  position: relative;
  background: linear-gradient(135deg, #1a2a40 0%, #0f172a 100%);
  /* Dégradé bleu nuit */
  color: white;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Grille Vision */
.vision-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.vision-card {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, background 0.4s ease;
}

.vision-card:hover {
  transform: translateY(-10px);
  /* Petit saut vers le haut */
  background: rgba(255, 255, 255, 0.1);
}

.vision-card i {
  font-size: 2.5rem;
  color: #ffc107;
  /* Couleur jaune E-SICOM */
  margin-bottom: 20px;
}

.vision-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.vision-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}


.container1 {
  display: flex;
  max-width: 1700px;
  gap: 50px;
  padding: 20px;
  align-items: center;
}

/* --- Section Image --- */
.image-wrapper {
  position: relative;
  flex: 1;

}

/* Le petit rectangle jaune derrière l'image */
.deco-box {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  background-color: #fceec7;
  border-radius: 10px;
  z-index: 0;
}

.photo-container {
  width: 700px;
  height: auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  /* Important pour que le zoom ne dépasse pas du cadre */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.zoom-image {
  width: 100%;
  display: block;
  /* Transition de 3 secondes pour le zoom (entrée et sortie) */
  transition: transform 3s ease-in-out;
}

/* Effet au survol (Hover) */
.photo-container:hover .zoom-image {
  transform: scale(1.2);
  /* Zoom de 20% */
}

/* --- Section Texte --- */
.content-wrapper {
  flex: 1.2;
}

h2 {
  color: #1a3a5a;
  font-size: 2rem;
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
  text-align: justify;
  font-size: 0.95rem;
}

strong {
  color: #1a3a5a;
}



/*--------------------------------------------------*/


/* --- Section Timeline --- */
.timeline-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 80px auto;
  padding-left: 50px;
  margin-left: 52%;
}

/* La ligne grise verticale */
.timeline-line {
  position: absolute;
  left: 58px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  z-index: 1;
}

/* Les points (dots) */
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 20px;
  transition: transform 0.3s ease;
  border: 2px solid white;
}

.origin .dot {
  background-color: #1a3a5a;
}

.today .dot {
  background-color: #f1b400;
}

/* Animation du point au survol */
.timeline-item:hover .dot {
  transform: scale(1.5);
  /* S'agrandit un peu */
}

.text-content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.text-content p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  color: #666;
}




/* --- Section Nos Valeurs --- */
/* --- Affichage sur Ordinateur --- */

.title-section {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1a3a5a;
}

.values-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.value-card {
  background: rgb(255, 255, 255);
  border: 3px solid #d9e8eb;
  border-radius: 15px;
  padding: 30px 20px;
  width: 220px;
  text-align: center;
  transition: all 0.4s ease;
  /* Transition pour le zoom et l'ombre */
}




/* Le cercle de l'icône */
.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #d8dfe7;
  /* Couleur claire initiale */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3px auto 20px auto;
  color: #1a3a5a;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.value-card h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
}

/* --- Effets au Survol (Hover) des Valeurs --- */

.value-card:hover {
  transform: scale(1.05);
  /* Petit zoom avant */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  /* Ombre noire en bas */
}

.value-card:hover .icon-circle {
  background-color: #1a3a5a;
  /* Devient bleu nuit */
  color: #ffffff;
  /* L'icône devient blanche (inversement) */
}


/*--------------------------------*/
/*-- Notre equipe --*/

:root {
    --blue-dark: #1a3a5a;
    --gold: #f1b400;
}

.team-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    margin-left: 10px;
    margin-right: 10px;
}

.team-header h2 {
    color: var(--blue-dark);
    font-size: 2rem;
    margin-bottom: 10px;
}

.team-header p {
    color: #666;
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- La Carte --- */
.member-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    width: 220px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Zoom de la case */
    cursor: pointer;
}

/* --- Le Conteneur Photo --- */
.photo-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden; /* Pour que le zoom de l'image ne dépasse pas */
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Zoom de la photo (vitesse différente) */
}

/* --- L'Overlay (Icône Diplomate) --- */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 90, 0.4); /* Bleu nuit transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.4s ease;
}

.overlay i {
    color: white;
    font-size: 3rem;
}

/* --- Infos Texte --- */
.member-info {
    padding: 20px 10px;
    background: white;
}

.member-info h3 {
    font-size: 1rem;
    color: var(--blue-dark);
    margin: 0 0 5px 0;
}

.member-info .role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
}

/* --- EFFETS AU SURVOL (HOVER) --- */

.member-card:hover {
    transform: scale(1.05); /* Zoom avant de la CASE */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.member-card:hover .photo-wrapper img {
    transform: scale(1.2); /* Zoom avant de la PHOTO (plus fort que la case) */
}

.member-card:hover .overlay {
    opacity: 1; /* Affiche l'icône et le voile bleu */
}





















/*-- Responsive--*/
/* --- Affichage Tablette & Mobile (En dessous de 992px) --- */

@media (max-width: 800px) {
  .container1 {
    flex-direction: column;
    text-align: left;
  }

  .photo-container {
    order: 1;

    /* Image au-dessus du texte sur mobile */
  }

  /* Le petit rectangle jaune derrière l'image */
  .deco-box {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background-color: #fceec7;
    border-radius: 10px;
    z-index: 0;
  }

  .photo-container {
    width: 500px;
    height: auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    /* Important pour que le zoom ne dépasse pas du cadre */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }

  .zoom-image {
    width: 100%;
    display: block;
    /* Transition de 3 secondes pour le zoom (entrée et sortie) */
    transition: transform 3s ease-in-out;
  }

  /* Effet au survol (Hover) */
  .photo-container:hover .zoom-image {
    transform: scale(1.2);
    /* Zoom de 20% */
  }

  /*-------------------*/





  /* --- Section Timeline --- */
  .timeline-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 80px auto;
    padding-left: 30px;
    margin-left: 30px;
  }

  /* La ligne grise verticale */
  .timeline-line {
    position: absolute;
    left: 38px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background-color: #e0e0e0;
    z-index: 0;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    z-index: 1;
  }

  /* Les points (dots) */
  .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 20px;
    transition: transform 0.3s ease;
    border: 2px solid white;
  }

  .origin .dot {
    background-color: #1a3a5a;
  }

  .today .dot {
    background-color: #f1b400;
  }

  /* Animation du point au survol */
  .timeline-item:hover .dot {
    transform: scale(1.5);
    /* S'agrandit un peu */
  }

  .text-content h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
  }

  .text-content p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #666;
  }

  /*-------------------*/

  /*----Nos valeurs---*/


  .values-grid {
    flex-direction: column;
    /* Empile les cartes verticalement */
    align-items: center;
    /* Centre les cartes */
    gap: 25px;
    /* Espace entre les blocs élargis */
  }

  .value-card {
    width: 100%;
    /* Force la carte à prendre toute la largeur */
    max-width: 800px;
    /* Empêche d'être trop large sur très grand écran */
    margin: 0 auto;
  }

  /*-------------------*/


  /*----Notre equipe---*/



  .team-section {
    flex-direction: column;
    /* Empile les cartes verticalement */
    align-items: center;
    /* Centre les cartes */
    gap: 25px;
    /* Espace entre les blocs élargis */
  }

  .member-card {
    width: 100%;
    /* Force la carte à prendre toute la largeur */
    max-width: 800px;
    /* Empêche d'être trop large sur très grand écran */
    margin: 0 auto;
  }

.photo-wrapper{
  width: 100%;
}


  /*-------------------*/




















  /* --- Affichage Tablette & Mobile (En dessous de 576px) --- */
  @media (max-width: 576px) {

    /* Le petit rectangle jaune derrière l'image */
    .deco-box {
      position: absolute;
      top: -8px;
      left: -8px;
      width: 40px;
      height: 40px;
      background-color: #fceec7;
      border-radius: 10px;
      z-index: 0;
    }

    .photo-container {
      width: 450px;
      height: auto;
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      /* Important pour que le zoom ne dépasse pas du cadre */
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      z-index: 1;
    }

    .zoom-image {
      width: 100%;
      display: block;
      /* Transition de 3 secondes pour le zoom (entrée et sortie) */
      transition: transform 3s ease-in-out;
    }

    /* Effet au survol (Hover) */
    .photo-container:hover .zoom-image {
      transform: scale(1.2);
      /* Zoom de 20% */
    }
  }

}


/* fin de la page d'apropos*/