.hero-orga {
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* pleine page moins navbar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
/* Conteneur des boules */
.floating-balls .ball {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  width: 5px;  /* très petit */
  height: 5px;
  opacity: 0.6;
  animation: float 8s infinite;
}

/* Boules aléatoires avec positions et tailles différentes */
.floating-balls .ball:nth-child(1) { top: 10%; left: 5%; width: 6px; height: 6px; animation-duration: 6s; }
.floating-balls .ball:nth-child(2) { top: 20%; left: 15%; width: 5px; height: 5px; animation-duration: 8s; }
.floating-balls .ball:nth-child(3) { top: 30%; left: 25%; width: 7px; height: 7px; animation-duration: 7s; }
.floating-balls .ball:nth-child(4) { top: 40%; left: 35%; width: 5px; height: 5px; animation-duration: 9s; }
.floating-balls .ball:nth-child(5) { top: 50%; left: 45%; width: 6px; height: 6px; animation-duration: 10s; }
/* ... répéter pour les 20 boules avec positions aléatoires ... */
.floating-balls .ball:nth-child(6) { top: 60%; left: 10%; width: 5px; height: 5px; animation-duration: 12s; }
.floating-balls .ball:nth-child(7) { top: 15%; left: 70%; width: 6px; height: 6px; animation-duration: 11s; }
.floating-balls .ball:nth-child(8) { top: 25%; left: 55%; width: 5px; height: 5px; animation-duration: 8s; }
.floating-balls .ball:nth-child(9) { top: 35%; left: 80%; width: 7px; height: 7px; animation-duration: 9s; }
.floating-balls .ball:nth-child(10) { top: 45%; left: 65%; width: 5px; height: 5px; animation-duration: 10s; }
.floating-balls .ball:nth-child(11) { top: 55%; left: 25%; width: 6px; height: 6px; animation-duration: 11s; }
.floating-balls .ball:nth-child(12) { top: 5%; left: 40%; width: 5px; height: 5px; animation-duration: 12s; }
.floating-balls .ball:nth-child(13) { top: 15%; left: 50%; width: 7px; height: 7px; animation-duration: 8s; }
.floating-balls .ball:nth-child(14) { top: 65%; left: 30%; width: 5px; height: 5px; animation-duration: 9s; }
.floating-balls .ball:nth-child(15) { top: 75%; left: 60%; width: 6px; height: 6px; animation-duration: 10s; }
.floating-balls .ball:nth-child(16) { top: 85%; left: 20%; width: 5px; height: 5px; animation-duration: 11s; }
.floating-balls .ball:nth-child(17) { top: 10%; left: 85%; width: 6px; height: 6px; animation-duration: 12s; }
.floating-balls .ball:nth-child(18) { top: 35%; left: 90%; width: 5px; height: 5px; animation-duration: 9s; }
.floating-balls .ball:nth-child(19) { top: 60%; left: 75%; width: 7px; height: 7px; animation-duration: 8s; }
.floating-balls .ball:nth-child(20) { top: 80%; left: 50%; width: 5px; height: 5px; animation-duration: 10s; }

@keyframes float {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-15px) translateX(10px) scale(1.1); opacity: 0.8; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.5; }
}
.hero-orga {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('../images/background/b4.jpg') center/cover no-repeat;
  animation: bgMove 20s infinite alternate;
}

/* Hero Présentation */
.hero-presentation {
  padding: 80px 0;
  background: #f5f5f5;
}

.logo-presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tricolor-bar-vertical {
  display: flex;
  flex-direction: column;
  height: 70px;
  margin-top: 10px;
}

.tricolor-bar-vertical .bar {
  flex: 1;
  width: 8px;
}

.tricolor-bar-vertical .blue { background-color: #0727f3; }
.tricolor-bar-vertical .yellow { background-color: #FFD700; }
.tricolor-bar-vertical .red { background-color: #FF0000; }

.cpda-initials p {
  margin: 2px 0;
  font-weight: 600;
  text-align: center;
}

/* Attributions */
.attributions .card {
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.attributions .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Composition / organigramme */
.composition {
  background-color: #f9f9f9;
}

.org-chart {
  position: relative;
  width: 100%;
}

.chart-level {
  display: flex;
  justify-content: center;
  position: relative;
}

.chart-box {
  background-color: #0727f3;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.chart-box:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Connecteurs tricolores */
.connector-level-1,
.connector-level-2 {
  width: 4px;
  background: linear-gradient(to bottom, #0727f3, #FFD700, #FF0000);
  height: 40px;
  margin: 0 auto;
  border-radius: 2px;
}

/* Niveau 3 : services */
.chart-level-3 {
  gap: 20px;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .chart-box {
    min-width: 150px;
    font-size: 0.9rem;
  }
  .chart-level-3 {
    flex-direction: column;
    gap: 15px;
  }
}

