/* Bannière officielle - Style raffiné */
.official-banner {
  /* Dégradé vert moyen */
  background: linear-gradient(135deg, #dff5e8 0%, #bfe7cf 35%, #9fdab9 70%, #7ecfa3 100%);
  color: #0f2417;
  padding: 2rem 0;
  margin-bottom: 0;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.10),
    0 3px 10px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.35);
  border-bottom: 4px solid var(--bfp-green);
  position: relative;
  overflow: hidden;
}

.official-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(52,199,89,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52,199,89,0.08) 0%, transparent 50%),
    linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
  animation: subtleGlow 4s ease-in-out infinite alternate;
}

.official-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

@keyframes subtleGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.ministry-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 1.2px;
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.4),
    0 1px 2px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 50%, #e8f5e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: elegantFadeIn 1s ease-out;
  position: relative;
}

.ministry-name::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bfp-green), transparent);
  border-radius: 1px;
}

.bureau-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #f5faf5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  animation: elegantFadeIn 1s ease-out 0.3s both;
  letter-spacing: 0.5px;
}

.platform-name {
  font-size: 1rem;
  font-weight: 500;
  color: #e0f0e0;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  animation: elegantFadeIn 1s ease-out 0.6s both;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  position: relative;
}

.platform-name::before {
  content: '◆';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--bfp-green);
  font-size: 0.8rem;
  background: linear-gradient(135deg, #0a1f14, #1e3a2a);
  padding: 0 0.5rem;
}

@keyframes elegantFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Effet de survol sophistiqué */
.official-banner:hover {
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.15),
    0 6px 20px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.official-banner:hover::before {
  animation-duration: 2s;
}

/* Responsive design raffiné */
@media (max-width: 768px) {
  .official-banner {
    padding: 2rem 0;
  }
  
  .ministry-name {
    font-size: 1.3rem;
    letter-spacing: 0.8px;
  }
  
  .bureau-name {
    font-size: 1.1rem;
  }
  
  .platform-name {
    font-size: 0.95rem;
  }
  
  .banner-content {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .official-banner {
    padding: 1.5rem 0;
  }
  
  .ministry-name {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }
  
  .bureau-name {
    font-size: 1rem;
  }
  
  .platform-name {
    font-size: 0.9rem;
  }
  
  .banner-content {
    padding: 0 1rem;
  }
}

/* Thème vert clair BFP */
:root {
  --bfp-green: #34c759;          /* vert clair principal */
  --bfp-green-600: #2eb94f;      /* hover */
  --bfp-green-100: #e9f9ef;      /* fond pâle */
  --bfp-text: #0f2417;           /* texte sombre sur fond clair */
  --bfp-muted: #476a54;          /* texte secondaire */
  --bfp-border: #cfead7;         /* bordures légères */
}

html, body {
  background: var(--bfp-green-100);
  color: var(--bfp-text);
}

main {
  background: #ffffff;
  border: 1px solid var(--bfp-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  padding: 1.25rem;
  margin-top: 1rem;
}

h1, h2, h3 {
  color: var(--bfp-text);
}

a {
  color: var(--bfp-green);
}

a:hover {
  color: var(--bfp-green-600);
}

button, .button, [type="submit"], [role="button"] {
  background: var(--bfp-green);
  border-color: var(--bfp-green);
}

button:hover, .button:hover, [type="submit"]:hover, [role="button"]:hover {
  background: var(--bfp-green-600);
  border-color: var(--bfp-green-600);
}

nav, header, footer, .cta {
  color: var(--bfp-muted);
}

/* Cartes modules */
article {
  border: 1px solid var(--bfp-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #fff;
}

/* Formulaires */
form input, form textarea, form select {
  border-color: var(--bfp-border);
}

/* Liens de navigation */
nav a {
  text-decoration: none;
  margin-right: 0.5rem;
}

small { color: var(--bfp-muted); }

/* Section Statistiques */
.stats-section {
  max-width: 880px;
  margin: 1rem auto 3rem auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stat-card {
  position: relative;
  border: 1px solid var(--bfp-border);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf6 100%);
  box-shadow: 0 6px 16px rgba(52,199,89,0.12), 0 2px 6px rgba(0,0,0,0.06);
  padding: 1.25rem 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(52,199,89,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(52,199,89,0.18), 0 4px 10px rgba(0,0,0,0.08);
}

.stat-title {
  margin: 0 0 0.4rem 0;
  font-size: 0.95rem;
  color: var(--bfp-muted);
}

.stat-value {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bfp-green);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bfp-green) 0%, var(--bfp-green-600) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(52,199,89,0.35);
  margin-bottom: 0.5rem;
}

.stat-card .stat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stat-card .stat-header h4 {
  margin: 0;
}


