/* Reset and Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
  user-select: none;
}
.container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 100vh;
}

/* CSS Variables */
:root {
  --brand-blue: #228df4;
  --soft-blue: #E6F0FA;
  --orange: #ff6f3d;
  --orange-border: #ff5a00;
  --text: #111;
  --bg: #f9f9f9;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  --slider-pc-width: 100%;
  --slider-pc-height: 45vh;
  --slider-pc-object-fit: cover;
  --slider-pc-object-position: center;
  --slider-pc-margin-inline: auto;
  --slider-m-width: 100%;
  --slider-m-height: 25vh;
  --slider-m-object-fit: cover;
  --slider-m-object-position: center;
  --slider-m-margin-inline: auto;
  --slider-autoplay: 1;
  --slider-interval: 5000;
  --zoom-duration: 0.15s;
  --zoom-easing: ease;
  --zoom-min: 0.5;
  --zoom-max: 4;
  --zoom-step: 0.12;
  --icon-size: 50px;
  --dark-orange: #e65100;
  --min-tap-target: 48px;
  --base-font-size-mobile: 16px;
}

/* Links */
a, a:link, a:visited { color: var(--brand-blue); text-decoration: none; }
a:hover, a:focus { opacity: 0.95; text-decoration: underline; outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10001;
}
@keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.loading-spinner.hidden { display: none; }
#facebook-loading {
  width: 30px;
  height: 30px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--brand-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  z-index: 1002;
}
.site-header .logo { max-height: 80px; filter: drop-shadow(1px 2px 3px rgba(105, 105, 105, 0.2)); }
.header-socials { display: flex; gap: 10px; }
.header-socials .social-icon {
  font-size: 22px;
  color: var(--brand-blue);
  text-decoration: none;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  line-height: var(--min-tap-target);
  text-align: center;
}
.social-facebook { color: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); -webkit-background-clip: text; color: transparent; }
.social-youtube { color: #ff0000; }
.menu-toggle {
  display: none;
  font-size: 22px;
  background: var(--brand-blue);
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  text-align: center;
}

/* Navbar */
.navbar { background: var(--brand-blue); position: relative; }
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 12px 0;
  margin: 0 auto;
  max-width: 1200px;
  z-index: 1001;
}
.nav-links li { display: flex; align-items: center; justify-content: center; }
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: opacity 0.1s;
  padding: 8px;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  display: inline-block;
}
.nav-links li a:hover, .nav-links li a:focus { opacity: 0.85; outline: 2px solid #fff; outline-offset: 2px; }
.nav-links li a.active { text-decoration: underline; text-decoration-color: white; }
.nav-links li[data-active="false"] { display: none; }
.nav-links.active {
  z-index: 1004;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--brand-blue);
  flex-direction: column;
  padding: 8px 0;
}

/* Titles */
h1 { color: var(--brand-blue); text-align: center; font-size: 2.2em; font-weight: 600; margin: 30px 0 15px; font-family: Arial, sans-serif; }
h2 { color: var(--brand-blue); text-align: center; font-size: 2.2em; font-weight: 900; margin: 25px 0 12px; text-transform: uppercase; font-family: 'Poppins', Arial, Helvetica, sans-serif; }
h2 i { margin-right: 8px; color: var(--brand-blue); }
h3 { color: var(--brand-blue); text-align: center; font-size: 1.3em; font-weight: 600; margin: 12px 0; font-family: Arial, sans-serif; }
.bio-panel .name-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bio-panel .name-container h2 {
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .bio-panel .name-container {
    flex-direction: column;
  }
  .bio-panel .name-container h2:first-child { margin-bottom: 0; }
  .bio-panel .name-container h2:last-child { margin-top: 0; }
}

/* Buttons */
.join-button {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  box-shadow: var(--shadow);
  font-size: 22px;
  border: 2px solid #87CEEB; /* Liseré bleu clair */
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  transition: opacity 0.15s ease; /* Transition douce pour l'opacité */
}
.join-button:hover {
  opacity: 0.85; /* Effet de survol léger sans changer la couleur */
  color: #ffffff; /* Texte reste blanc */
}
.join-button:focus {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}
.contact-btn {
  padding: 10px 15px;
  background: var(--brand-blue); /* Changed to blue */
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.15s ease;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  font-size: var(--base-font-size-mobile);
}
.contact-btn:hover { background: #1E90FF; } /* Lighter blue on hover */
.contact-btn:focus { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* Bio Section */
.bio-section { padding: 50px 20px; background: #fff; position: relative; }
.bio-inner { max-width: 1000px; margin: 0 auto; }
.bio-text { text-align: left; }
.bio-text h1 { font-size: 2.2em; color: var(--brand-blue); margin-bottom: 10px; }
.bio-text h2 { font-size: 1.6em; color: #000; margin-bottom: 15px; }
.bio-text h3 { font-size: 1.2em; color: #333; margin: 10px 0; }
.bio-text p { font-size: 16px; font-weight: bold; margin-bottom: 12px; }
.signature { text-align: center; font-size: 1.1em; font-weight: 800; color: #003366; margin-top: 15px; }
.bio-title { text-align: center; margin: 0 0 20px; color: #000; font-size: 2.2em; font-weight: 900; letter-spacing: 0.5px; font-family: 'Poppins', Arial, Helvetica, sans-serif; transition: font-size 0.2s ease; }
.bio-firstname { display: inline; }
.bio-lastname { display: inline; text-transform: uppercase; margin-left: 5px; }
.bio-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 980px; margin: 0 auto; }
.bio-avatar { width: clamp(180px, 25vw, 260px); height: clamp(180px, 25vw, 260px); border-radius: 50%; object-fit: cover; object-position: center; display: block; margin: 0 auto; border: none; cursor: zoom-in; }
.bio-panel { background: #fff; border-radius: var(--radius); padding: 15px 20px; box-shadow: var(--shadow-sm); text-align: left; }
.bio-list { list-style: none; margin: 0; padding: 0; }
.bio-list li { position: relative; padding-left: 20px; margin: 8px 0; font-size: 16px; line-height: 1.35; font-weight: 700; color: #111; }
.bio-list li::before { content: "❯"; position: absolute; left: 0; top: 0; color: var(--brand-blue); font-weight: 900; font-size: 16px; line-height: 1; transform: translateY(2px); }

/* Gallery Styles */
.bio-gallery { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.bio-gallery img { width: 100%; max-width: 320px; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); cursor: zoom-in; transition: transform 0.2s ease; }
.bio-gallery img:hover { transform: scale(1.03); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--orange-border);
  color: white;
  border: none;
  border-radius: 50%;
  width: var(--min-tap-target);
  height: var(--min-tap-target);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transition: opacity 0.2s ease;
}
.back-to-top:hover { background-color: #cc4500; }
.back-to-top.hidden { opacity: 0; pointer-events: none; }
.back-to-top:not(.hidden) { opacity: 1; pointer-events: auto; }
.back-to-top:focus { outline: 3px solid #fff; outline-offset: 2px; }

/* Custom Alert */
.custom-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 15px;
  border: 2px solid #ff5a00;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
  font-size: var(--base-font-size-mobile);
}
.custom-alert p { margin-bottom: 10px; color: #ff5a00; font-weight: bold; }
.custom-alert button {
  padding: 8px 15px;
  background: #ff5a00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  font-size: var(--base-font-size-mobile);
}
.custom-alert button:hover { background: #cc4500; }
.custom-alert button:focus { outline: 2px solid #ff5a00; outline-offset: 2px; }

/* Zoom Overlay */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1005;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity var(--zoom-duration) var(--zoom-easing);
  backdrop-filter: blur(2px);
}
.zoom-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.zoom-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  z-index: 1006;
  opacity: 0.9;
  transition: opacity 0.15s ease;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  text-align: center;
}
.zoom-close:hover { opacity: 1; color: #ff5a00; }
.zoom-close:focus { outline: 2px solid #fff; outline-offset: 2px; }
#zoomedImage {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.8);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform var(--zoom-duration) var(--zoom-easing), opacity var(--zoom-duration) var(--zoom-easing);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.zoom-overlay.active #zoomedImage { transform: scale(1); opacity: 1; }
.zoom-overlay:not(.active) #zoomedImage { transform: scale(0.8); opacity: 0; }

/* Contact Section */
.contact-section {
  padding: 40px 15px;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 15px auto;
}
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 16px;
  font-family: Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  min-height: var(--min-tap-target);
  font-size: var(--base-font-size-mobile);
}
.contact-section textarea { resize: vertical; min-height: 120px; }
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
}
.checkbox-container label { font-size: 14px; color: #003366; font-size: var(--base-font-size-mobile); }
.contact-btn {
  padding: 10px 15px;
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.15s ease;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  font-size: var(--base-font-size-mobile);
}
.contact-btn:hover { background: #1E90FF; }
.contact-btn:focus { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* Team Section */
.team-section {
  padding: 40px 15px;
  background: var(--bg);
  text-align: center;
  border-top: 0.5px solid var(--brand-blue);
}
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}
.team-member {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: block;
  cursor: zoom-in;
}
.team-member h3 { font-size: 1.1em; margin-bottom: 4px; }
.team-member p { font-size: 0.85em; color: #003366; margin: 4px 0; }

/* Footer */
footer {
  background: var(--bg);
  padding: 15px 10px;
  text-align: center;
}
footer h3 { color: var(--brand-blue); font-size: 1.4em; margin-bottom: 10px; }
.footer-socials { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
.footer-socials .social-icon {
  font-size: 20px;
  color: var(--brand-blue);
  text-decoration: none;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  line-height: var(--min-tap-target);
  text-align: center;
}
footer p { color: #003366; font-size: 14px; }
footer p a { color: var(--orange-border); text-decoration: underline; }
footer p a:hover { color: #cc4500; }
footer p a:focus { outline: 2px solid var(--orange-border); outline-offset: 2px; }

/* Programme Section */
section { padding: 40px 15px; }
.programme-section {
  background: var(--bg);
  padding: 50px 15px;
  text-align: center;
  box-shadow: var(--shadow);
}
.programme-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
}
.programme-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.programme-item i { font-size: 36px; margin-bottom: 10px; text-align: center; color: var(--brand-blue); }
.programme-item h2 {
  color: var(--brand-blue);
  font-size: 1.4em;
  font-family: Arial, sans-serif;
  margin-bottom: 8px;
  text-align: center;
}
.programme-item p { margin: 0; font-size: 14px; text-align: center; color: #003366; }

/* Major Axes Section */
.major-axes-section { background: var(--soft-blue); }
.major-axes-section h2 {
  color: var(--brand-blue);
  margin: 0 0 15px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.major-axes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.axis-card {
  background: var(--brand-blue);
  color: #fff;
  width: 260px;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.axis-card i { font-size: 48px; color: #fff; }
.axis-card h3 { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.axis-card p { margin: 0; font-size: 14px; line-height: 1.4; color: #fff; }

/* Engagements Section */
.engagements-section { text-align: center; padding: 40px 15px; }
.engagements-section h2 {
  color: var(--brand-blue);
  margin: 0 0 30px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.engagements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  max-width: 100%;
}
.engagement-item:nth-child(5), .engagement-item:nth-child(6) { grid-column: auto; }
.engagement-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  width: 200px;
  height: 200px;
}
.engagement-item i { font-size: var(--icon-size); display: block; margin: 0 auto 6px; color: var(--brand-blue); }
.engagement-item h3 { color: var(--brand-blue); font-size: 16px; margin: 2px 0; text-align: center; word-break: break-word; }
.engagement-item p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.2; text-align: center; word-break: break-word; }

/* Action Section */
.action-section { text-align: center; }
.action-section h2 {
  color: var(--brand-blue);
  margin: 0 0 25px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.action-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-items: center;
  max-width: 100%;
}
.action-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  min-height: 320px;
  justify-content: center;
}
.action-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  margin-bottom: 5px;
  transition: transform 0.15s ease;
}
.action-card:nth-child(1) img { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
.action-card:nth-child(2) img { border-radius: 30% 70% 40% 60% / 60% 40% 50% 70%; }
.action-card:nth-child(3) img { border-radius: 50% 30% 60% 40% / 40% 50% 70% 60%; }
.action-card:nth-child(4) img { border-radius: 40% 60% 30% 70% / 70% 40% 60% 50%; }
.action-card:nth-child(5) img { border-radius: 70% 50% 40% 60% / 50% 70% 60% 40%; }
.action-card:nth-child(6) img { border-radius: 60% 40% 50% 70% / 40% 60% 70% 50%; }
.action-card .date { color: var(--brand-blue); font-weight: bold; margin: 2px auto; font-size: 14px; }
.action-card strong { font-size: 16px; display: block; margin-bottom: 2px; }
.action-card p { font-size: 14px; color: var(--text); margin: 2px auto; max-width: 260px; text-align: center; }

/* Join Section */
.join-section { text-align: center; }
.join-section h2 {
  color: var(--brand-blue);
  margin: 0 0 15px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.join-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 15px;
  color: var(--text);
  font-size: 14px;
  font-weight: bold;
}

/* Goals Section */
.goals-section { text-align: left; }
.goals-section h2 {
  color: var(--brand-blue);
  margin: 0 0 15px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.goals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}
.goal-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: #fff;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  width: 200px;
  height: 200px;
}
.goal-item i { font-size: var(--icon-size); display: block; margin: 0 auto 6px; }
.goal-item h3 { color: var(--brand-blue); font-size: 16px; margin: 2px 0; text-align: center; word-break: break-word; }
.goal-item p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.2; text-align: center; word-break: break-word; }

/* Failed Projects Section */
.failed-projects-section {
  background-color: #ffe6e6;
  padding: 50px 15px;
}
.failed-projects-section h2 {
  color: #d60000;
  margin: 0 0 25px;
  font-weight: bold;
  text-align: center;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 1.4em;
}
.failed-projects { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.failed-item {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange-border);
  border-radius: 10px;
  padding: 15px;
  max-width: 220px;
  font-weight: bold;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flyer Section */
.flyer-section { text-align: center; }
.flyer-section h2 {
  color: var(--brand-blue);
  margin: 0 0 15px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.flyer-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flyer-preview img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.flyer-preview img:hover { transform: scale(1.03); }
.download-buttons-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.download-buttons-container .btn-wrapper {
  width: 180px;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.download-buttons-container .btn-wrapper .download-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  margin: 0;
  font-size: 14px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
}
.download-buttons-container .btn-wrapper .download-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Calendar Section */
.calendar-section {
  text-align: center;
  background: var(--soft-blue);
  padding: 40px 15px;
}
.calendar-section h2 {
  color: var(--brand-blue);
  margin: 0 0 25px;
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
.calendar-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-items: center;
  max-width: 100%;
}
.calendar-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  justify-content: center;
  max-width: 260px;
}
.calendar-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
  border-radius: 6px;
}
.calendar-card .date { color: var(--brand-blue); font-weight: bold; margin: 2px auto; font-size: 14px; }
.calendar-card strong { font-size: 16px; display: block; margin-bottom: 2px; }
.calendar-card p { font-size: 14px; color: var(--text); margin: 2px auto; max-width: 240px; text-align: center; }
.calendar-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
}
.calendar-link:hover { background: #005f99; }
.calendar-link:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid var(--soft-blue);
  border-bottom: 1px solid var(--soft-blue);
}
.slide { display: none; width: 100%; position: relative; }
.slide.active { display: block; }
.slide img {
  width: var(--slider-pc-width);
  height: var(--slider-pc-height);
  object-fit: var(--slider-pc-object-fit);
  object-position: var(--slider-pc-object-position);
  display: block;
  margin: var(--slider-pc-margin-inline);
}
.caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 51, 102, 0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
}
.prev { left: 10px; }
.next { right: 10px; }
.slider-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }
.slider-mobile {
  display: none;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid var(--soft-blue);
  border-bottom: 1px solid var(--soft-blue);
}
.slider-mobile .slide { display: none; width: 100%; position: relative; }
.slider-mobile .slide.active { display: block; }
.slider-mobile .slide img {
  width: var(--slider-m-width);
  height: var(--slider-m-height);
  object-fit: var(--slider-m-object-fit);
  object-position: var(--slider-m-object-position);
  display: block;
  margin: var(--slider-m-margin-inline);
}
.slider-mobile .caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 51, 102, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}
.slider-mobile .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 2;
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
}
.slider-mobile .prev { left: 8px; }
.slider-mobile .next { right: 8px; }
.slider-mobile .slider-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Events Section */
.events-section {
  padding: 50px 20px;
  background: #fff;
  position: relative;
}
.events-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.events-text {
  text-align: center;
}
.events-text h1 {
  font-size: 2.2em;
  color: var(--brand-blue);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.events-text p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #003366;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 blocs par ligne */
  gap: 15px;
  margin-top: 20px;
}
.event {
  width: 100%;
  padding: 15px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand-blue);
  transition: transform 0.2s ease;
  text-align: center;
}
.event:hover { transform: scale(1.03); }
.event-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  margin-top: 10px;
}
.event-cta {
  margin-top: 10px;
}
.no-events {
  text-align: center;
  padding: 30px 10px;
  color: #003366;
  font-size: 1em;
  font-weight: bold;
}
.error {
  background: #ffe6e6;
  color: #d60000;
  padding: 10px;
  border-radius: var(--radius);
  margin: 10px 0;
  text-align: center;
  border: 1px solid var(--brand-blue);
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 1024px) {
  .container { max-width: 100%; padding: 0 10px; }
  .engagements-section h2 { font-size: 2em; margin-bottom: 20px; }
  .engagements { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .engagement-item {
    min-width: 200px;
    max-width: 280px;
    padding: 15px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }
  .engagement-item i { font-size: var(--icon-size); margin-bottom: 6px; }
  .engagement-item h3 { font-size: 18px; margin: 4px 0; }
  .engagement-item p { font-size: 14px; line-height: 1.4; }
  .goals { gap: 20px; }
  .goal-item {
    min-width: 200px;
    max-width: 280px;
    padding: 15px;
    min-height: 180px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }
  .goal-item i { font-size: var(--icon-size); margin-bottom: 6px; }
  .goal-item h3 { font-size: 18px; margin: 4px 0; flex-grow: 0; }
  .goal-item p { font-size: 14px; line-height: 1.4; flex-grow: 1; overflow-wrap: break-word; }
  .bio-section { padding: 30px 10px; }
  .bio-grid { display: flex; flex-direction: column; align-items: center; gap: 15px; }
  .bio-avatar { width: 180px; height: 180px; }
  .bio-panel { padding: 12px 0; }
  .bio-panel h2 { font-size: 2.2em; text-align: center !important; margin: 0 auto; padding: 0; width: 100%; }
  .bio-list li { font-size: 14px; }
  .action-section h2 { font-size: 2em; }
  .action-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .action-card { min-height: 300px; }
  .action-card img { width: 140px; height: 140px; }
  .join-section h2 { font-size: 2em; }
  .flyer-section h2 { font-size: 2em; }
  .flyer-preview img { width: 220px; }
  .calendar-section h2 { font-size: 2em; }
  .events-section { padding: 30px 10px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .event { padding: 12px; }
  .event-image { max-width: 250px; }
}

@media (max-width: 768px) {
  .slider { display: none; }
  .slider-mobile { display: block; }
  .menu-toggle { display: block !important; }
  .nav-links { display: none; }
  .nav-links.active { display: flex; background: var(--brand-blue); }
  .header-socials, .footer-socials { gap: 8px; }
  .social-icon { font-size: 16px; }
  .site-header { flex-direction: row; align-items: center; }
  .header-socials { margin-left: 8px; flex-wrap: nowrap; justify-content: flex-end; }
  .engagements { grid-template-columns: 1fr; gap: 20px; }
  .engagement-item {
    min-width: 200px;
    max-width: 280px;
    min-height: 200px;
    width: 200px;
    height: 200px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .engagement-item i { font-size: var(--icon-size); margin-bottom: 6px; }
  .engagement-item h3 { font-size: 16px; margin: 2px 0; text-align: center; word-break: break-word; }
  .engagement-item p { font-size: 14px; line-height: 1.2; text-align: center; word-break: break-word; }
  .goals { grid-template-columns: 1fr; gap: 20px; }
  .goal-item {
    min-width: 200px;
    max-width: 280px;
    min-height: 200px;
    width: 200px;
    height: 200px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .goal-item i { font-size: var(--icon-size); margin-bottom: 6px; }
  .goal-item h3 { font-size: 16px; margin: 2px 0; text-align: center; word-break: break-word; }
  .goal-item p { font-size: 14px; line-height: 1.2; text-align: center; word-break: break-word; }
  .engagements-section { padding: 25px 10px; }
  .engagements-section h2 { font-size: 1.8em; }
  .bio-section { padding: 25px 10px; }
  .bio-text h1 { font-size: 1.8em; }
  .bio-text h2 { font-size: 1.4em; }
  .bio-text h3 { font-size: 1.4em; }
  .bio-text p { font-size: clamp(12px, 3.5vw, 14px); }
  .bio-gallery img { max-width: 100%; height: auto; }
  .bio-title { font-size: clamp(1.1em, 3.5vw, 1.3em); }
  .bio-grid { display: flex; flex-direction: column; align-items: center; }
}