/* --- Polices et couleurs globales --- */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #F9F8FB;
  color: #2C2C2C;
}

/* Couleurs principales */
:root {
  --violet: #7D3C98;
  --lavande: #C39BD3;
  --doré: #D4AC0D;
  --gris: #2C2C2C;
  --blanc: #F9F8FB;
}

/* --- Header --- */
header {
  background: 
    linear-gradient(rgba(125,60,152,0.2), rgba(125,60,152,0.2)), 
    url('images/djuikem-academy.png') center/cover no-repeat;
  background-color: var(--blanc);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}



header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  margin: 0 auto;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--doré);
}

/* --- Section Hero (bandeau court, fond violet propre) --- */
.hero {
  background: linear-gradient(135deg, #7D3C98 0%, #9B59B6 100%);
  color: white;
  text-align: center;
  padding: 30px 20px;      /* ← réduit la hauteur */
  min-height: 100px;       /* ← hauteur plus discrète */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
}


.hero h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.5;
}

.hero .btn {
  background-color: var(--doré);
  color: var(--gris);
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
}

.hero .btn:hover {
  background-color: #b7950b;
  transform: translateY(-4px);
}

/* --- Sections générales --- */
.section {
  width: 85%;
  margin: 60px auto;
  text-align: center;
}

.section.light {
  background-color: var(--lavande);
  padding: 60px 20px;
  border-radius: 12px;
  color: white;
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8em;
  color: var(--violet);
}

/* --- Cartes Mission --- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 280px;
  text-align: left;
}

.card h3 {
  color: var(--violet);
}

/* --- Webinaire --- */
.webinaire {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- Bulle Date --- */
.date-bulle {
  display: inline-block;
  background-color: #f4c542;         /* jaune doré */
  color: #3a2c00;                    /* texte brun doux pour contraste */
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 20px;
  border-radius: 30px;               /* arrondi style bulle */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  margin: 15px auto 25px auto;
  text-align: center;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  }
}





/* --- Intervenantes --- */
.photo-intervenant {
  text-align: center;
  margin: 30px 0;
}

.photo-intervenant img {
  width: 160px;              /* taille ajustable */
  height: 160px;
  object-fit: cover;          /* garde la photo bien cadrée */
  border-radius: 50%;         /* rend la photo parfaitement ronde */
  border: 4px solid #7d3c98;  /* joli contour violet Djuikem Academy */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* --- Section Impact horizontale centrée --- */
.impact-horizontal {
  display: flex;
  flex-direction: column; /* on empile bulles puis images */
  align-items: center;
  text-align: center;
  gap: 25px;
  margin-top: 30px;
}

/* Ligne des bulles */
.impact-bubbles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* pour adapter sur petit écran */
  gap: 15px;
}

.bubble {
  background: var(--lavande);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.8rem 1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, background-color 0.3s;
}

.bubble:hover {
  transform: translateY(-6px) scale(1.05);
  background: var(--violet);
}

/* Ligne des images */
.gallery-mini {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-mini figure {
  width: 120px;
  text-align: center;
}

.gallery-mini img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--doré);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-mini img:hover {
  transform: scale(1.07);
}

.gallery-mini figcaption {
  margin-top: 5px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--violet);
}


/* --- Contact --- */
.socials a {
  color: var(--violet);
  text-decoration: none;
  font-weight: 600;
}

.socials a:hover {
  color: var(--doré);
}

/* --- Footer --- */
footer {
  background-color: var(--violet);
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.9em;
}

/* --- Responsive (mobile) --- */
@media (max-width: 768px) {
  /* Navigation */
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* Cartes Mission */
  .cards {
    flex-direction: column;
  }

  /* Section Impact */
  .impact-horizontal {
    flex-direction: column;
    align-items: center;
  }

  .impact-bubbles {
    align-items: center;
    text-align: center;
  }

  .gallery-mini {
    flex-wrap: wrap;
  }

  /* Galerie d'images (page Impact complète) */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
  }

  .gallery figure {
    width: 260px;
    text-align: center;
  }

  .gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  }

  .gallery figcaption {
    margin-top: 8px;
    font-weight: 600;
    color: var(--violet);
  }

  /* Réseaux sociaux (boutons) */
  .social-impact {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
  }
}

