/* Styles pour le composant Message du Directeur */

.message-directeur-section {
  padding: 5vw 8vw;
  max-width: 100%;
  margin: 0 auto 5vh auto;
  background: #0e1e3b; /* Fond bleu foncé */
  overflow: hidden;
  color: #fff;

}

.message-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
}

.message-content-centered {
  flex: 0 0 100%;
  max-width: 800px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
}

.message-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.message-text {
  margin-bottom: 30px;
  line-height: 1.6;
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.9;
}

.message-stats {
  flex: 0 0 30%;
  max-width: 30%;
  min-width: 0;
  position: relative;
}

.stats-wrapper {
  background-color: #f7941d;
  padding: 32px 25px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  top: -50px;
}

.stat-item {
  text-align: left;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.stat-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #fff;
}

.stat-number {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.stats-footer {
  color: white;
  padding: 0;
  margin-top: -20px;
  position: relative;
}

.stat-description {
  margin: 15px 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.stat-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: #f7941d;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.stat-cta:hover {
  transform: translateY(-2px);
}

.message-image {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 30px auto 0;
  display: block;
  overflow: hidden;
}

.director-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.play-button-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-decoration: none;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.play-icon {
  color: #f7941d;
  font-size: 24px;
  margin-left: 4px;
}

.play-button:hover {
  background-color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button-link:hover .play-button {
  background-color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .message-container {
    max-width: 95%;
  }
  
  .message-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .message-directeur-section {
    padding: 5vw 5vw;
  }
  
  .message-container {
    flex-direction: column;
    max-width: 100%;
  }

  .message-content,
  .message-stats {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  
  .message-content {
    margin-bottom: 60px;
  }

  .message-stats {
    width: 100%;
  }
  
  .stats-wrapper {
    width: 100%;
    top: 0;
  }
  
  .stats-footer {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .message-directeur-section {
    padding: 40px 20px;
  }
  
  .message-title {
    font-size: 1.6rem;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .play-icon {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .message-directeur-section {
    padding: 30px 15px;
  }
  
  .message-title {
    font-size: 1.4rem;
  }
  
  .message-text {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-description {
    font-size: 1rem;
  }
}
