:root {
  --primary-color: #0056b3;
  --primary-dark: #003d82;
  --secondary-color: #f39c12;
  --secondary-dark: #d68910;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --text-color: #333;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-dark)
  );
  --gradient-mixed: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--white);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Animations */
.animate-on-scroll,
.fade-in,
.slide-left,
.slide-right,
.scale-in {
  opacity: 1;
  transform: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.hidden,
.fade-in.hidden,
.slide-left.hidden,
.slide-right.hidden,
.scale-in.hidden {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}
.animate-on-scroll.visible,
.fade-in.visible,
.slide-left.visible,
.slide-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Safari Fix */
#mainHeader,
.hero-badge,
.lightbox,
.lightbox-caption {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
}
.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
.loader-content h3 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
}
.loader-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-mixed);
  width: 0%;
  z-index: 9998;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(0, 86, 179, 0.3);
}

/* Utils */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
}
.bg-light {
  background-color: var(--light-color);
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-subtitle {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 20px;
}
.section-subtitle::before,
.section-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}
.section-subtitle::before {
  left: -20px;
}
.section-subtitle::after {
  right: -20px;
}
.section-title h2 {
  font-size: 2.8rem;
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 700;
}
.section-title .line {
  width: 80px;
  height: 4px;
  background: var(--gradient-mixed);
  margin: 0 auto;
  border-radius: 2px;
}
.section-description {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
  font-size: 1rem;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  transition: left 0.4s ease;
  z-index: -1;
}
.btn:hover::before {
  left: 0;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline::before {
  background: var(--white);
}
.btn-outline:hover {
  color: var(--primary-color);
}

/* Header */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  display: block;
}
#mainHeader.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 90px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.logo img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
.logo:hover img {
  transform: scale(1.1) rotate(5deg);
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 10px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-mixed);
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.btn-nav {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}
.btn-nav::after {
  display: none;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}
.burger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 10px;
}
.burger div {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  margin: 5px;
  transition: var(--transition);
  border-radius: 2px;
}
.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.toggle .line2 {
  opacity: 0;
}
.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero */
.hero {
  height: 100vh;
  background: url("/images/header.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 50, 100, 0.7),
    rgba(0, 86, 179, 0.5)
  );
  animation: overlayShift 10s ease-in-out infinite;
}
@keyframes overlayShift {
  0%,
  100% {
    background: linear-gradient(
      135deg,
      rgba(0, 50, 100, 0.7),
      rgba(0, 86, 179, 0.5)
    );
  }
  50% {
    background: linear-gradient(
      135deg,
      rgba(0, 86, 179, 0.5),
      rgba(0, 50, 100, 0.7)
    );
  }
}
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInDown 0.8s ease;
}
.hero-badge i {
  color: var(--secondary-color);
  animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
.hero-title {
  font-size: 3.5rem;
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 700;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}
.hero-title .highlight {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--secondary-color);
  opacity: 0.3;
  border-radius: 4px;
  animation: highlightExpand 1s ease 1s backwards;
}
@keyframes highlightExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.hero-description {
  font-size: 1.3rem;
  margin-bottom: 35px;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}
.hero-stats {
  display: flex;
  gap: 50px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadeIn 1s ease 1.5s backwards;
  z-index: 2;
}
.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}
.scroll-indicator p {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Image Below */
.hero-image-below {
  padding: 80px 0;
  background: var(--light-color);
  margin-top: -80px;
  position: relative;
  z-index: 10;
}
.hero-under-image {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  transition: var(--transition-slow);
}
.hero-under-image:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}
.under-hero-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition-slow);
}
.hero-under-image:hover .under-hero-img {
  transform: scale(1.05);
}
.hero-under-content {
  padding: 50px;
}
.content-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-mixed);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-under-content h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-under-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.slide-left h3,
.slide-right h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}
.slide-left p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 25px;
}
.mission-list li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: var(--gray-100);
  border-radius: 10px;
  transition: var(--transition);
}
.mission-list li:hover {
  background: var(--white);
  transform: translateX(10px);
  box-shadow: var(--shadow);
}
.mission-list i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.value-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-mixed);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.value-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-mixed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--white);
  font-size: 1.8rem;
  transition: var(--transition);
}
.value-card:hover .value-icon {
  transform: rotate(360deg) scale(1.1);
}
.value-card h4 {
  font-size: 1.1rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* President */
.president-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 50px;
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.president-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 86, 179, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.president-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.president-img-wrapper {
  position: relative;
  flex-shrink: 0;
}
.president-img {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.president-card:hover .president-img {
  transform: scale(1.03);
}
.president-img-decoration {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary-color);
  border-radius: 20px;
  z-index: 1;
  transition: var(--transition);
}
.president-card:hover .president-img-decoration {
  top: 15px;
  left: 15px;
}
.president-content {
  position: relative;
  z-index: 2;
}
.president-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}
.president-content h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.president-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 15px;
}
.president-socials {
  display: flex;
  gap: 15px;
}
.president-socials a {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition);
}
.president-socials a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}
.past-presidents {
  text-align: center;
  border-top: 1px solid var(--gray-200);
  padding-top: 50px;
  margin-top: 50px;
}
.past-presidents h4 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark-color);
  font-weight: 700;
}
.past-presidents h4 i {
  color: var(--secondary-color);
  margin-right: 10px;
}
.president-photo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.president-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.president-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4);
}
.president-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 8px 25px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}
.president-period {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
}
.president-role {
  display: inline-block;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 10px;
}
.past-presidents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.past-president-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.past-president-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.past-president-item:hover::before {
  transform: scaleX(1);
}
.past-president-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}
.past-president-item .president-photo {
  width: 160px;
  height: 160px;
  border-color: var(--secondary-color);
}
.past-president-item h6 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin: 20px 0 10px;
  font-weight: 600;
}

/* =========================================
   CORRECTION 3 : Actions & Projects (Cartes avec bouton galerie)
   ========================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.project-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.project-card:hover::before {
  opacity: 0.05;
}
.project-card:hover {
  transform: translateY(-15px);
  border-bottom-color: var(--secondary-color);
  box-shadow: var(--shadow-xl);
}
.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-mixed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.project-card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
}
.project-card h3 {
  color: var(--dark-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.project-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.project-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  margin-bottom: 20px;
}
.project-card:hover .project-tag {
  background: var(--gradient-mixed);
  color: var(--white);
}

/* Nouveau bouton "Voir la galerie" dans les cartes d'actions */
.btn-gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 22px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  align-self: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}
.btn-gallery-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.45);
  background: var(--gradient-secondary);
  color: var(--white);
}
.btn-gallery-link i {
  font-size: 0.95rem;
}

/* 🟦 Bannière Activité en cours */
.current-activity-banner {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 86, 179, 0.3);
  animation: slideDown 0.6s ease;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.current-activity-banner::before,
.current-activity-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}
.current-activity-banner::before {
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(243, 156, 18, 0.2) 0%,
    transparent 70%
  );
}
.current-activity-banner::after {
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation-direction: reverse;
}
.activity-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}
.activity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px #00ff88;
}
@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.activity-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}
.activity-info {
  flex: 1;
}
.activity-title {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
}
.activity-title i {
  color: var(--secondary-color);
  font-size: 1.8rem;
  animation: rotateIcon 3s linear infinite;
}
@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.activity-description {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 25px;
  line-height: 1.6;
}
.activity-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}
.activity-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}
.activity-detail-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.activity-detail-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}
.activity-countdown {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 25px;
}
.countdown-item {
  text-align: center;
  min-width: 70px;
}
.countdown-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.countdown-separator {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  opacity: 0.5;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0;
  }
}
.activity-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}
.activity-image-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
}
.activity-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.activity-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.3),
    rgba(243, 156, 18, 0.3)
  );
  pointer-events: none;
}
.activity-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.activity-btn {
  background: var(--white);
  color: var(--primary-color);
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.activity-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.activity-btn-secondary {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.activity-btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}
.activity-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
}
.activity-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}
.current-activity-banner.hidden {
  display: none;
}

/* Gallery */
.gallery-filters {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  padding: 12px 28px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4/3;
  animation: fadeInUp 0.5s ease;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.15);
}
.gallery-item:hover {
  box-shadow: var(--shadow-xl);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 86, 179, 0.95),
    rgba(0, 86, 179, 0.3)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-info {
  text-align: center;
  color: var(--white);
  transform: translateY(30px);
  transition: var(--transition);
  margin-bottom: 20px;
}
.gallery-item:hover .gallery-info {
  transform: translateY(0);
}
.gallery-info h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.gallery-info p {
  font-size: 0.95rem;
  opacity: 0.9;
}
.gallery-actions {
  display: flex;
  gap: 15px;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition) 0.1s;
}
.gallery-item:hover .gallery-actions {
  transform: translateY(0);
  opacity: 1;
}
.gallery-action-btn {
  width: 45px;
  height: 45px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.gallery-action-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
}
.year-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 30px;
  padding: 15px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.year-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.year-filter label i {
  color: var(--primary-color);
  font-size: 1.1rem;
}
.year-filter select {
  padding: 10px 40px 10px 15px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-color);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230056b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.year-filter select:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}
.year-filter select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}
.gallery-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.gallery-counter {
  color: var(--gray-600);
  font-size: 0.95rem;
}
.gallery-counter i {
  color: var(--primary-color);
  margin-right: 8px;
}
.items-per-page {
  display: flex;
  align-items: center;
  gap: 10px;
}
.items-per-page label {
  color: var(--gray-600);
  font-size: 0.9rem;
}
.items-per-page select {
  padding: 8px 15px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}
.items-per-page select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}
.gallery-pagination {
  margin-top: 40px;
  padding: 20px 0;
}
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination-btn,
.pagination-number {
  padding: 10px 15px;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 40px;
}
.pagination-btn:hover:not(:disabled),
.pagination-number:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--gray-400);
  color: var(--gray-400);
}
.pagination-numbers {
  display: flex;
  gap: 5px;
}
.pagination-number.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}
.pagination-info {
  text-align: center;
  margin-top: 15px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.4s ease;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: none;
}
.lightbox-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.3rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 30px;
  border-radius: 25px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
  pointer-events: none;
}
.lightbox-prev,
.lightbox-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  font-size: 1.2rem;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* Partners */
.partners-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-mixed);
}
.partners-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
  padding: 20px 0;
}
.partners-carousel-wrapper::before,
.partners-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--light-color), transparent);
}
.partners-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--light-color), transparent);
}
.partners-carousel {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}
.partners-carousel:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.partner-slide {
  flex-shrink: 0;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.partner-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.carousel-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Facebook CTA */
.facebook-cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}
.facebook-cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.facebook-cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
}
.facebook-cta h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.facebook-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}
.facebook-cta .btn {
  background: var(--white);
  color: var(--primary-color);
}
.facebook-cta .btn::before {
  background: var(--gradient-secondary);
}
.facebook-cta .btn:hover {
  color: var(--white);
}

/* Adhesion */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  width: 320px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-mixed);
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}
.pricing-card .badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 8px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}
.pricing-header h3 {
  color: var(--dark-color);
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
  line-height: 1;
}
.price span {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}
.frequency {
  color: var(--gray-600);
  margin-bottom: 25px;
  font-size: 0.95rem;
}
.pricing-card ul {
  margin-bottom: 30px;
  text-align: left;
}
.pricing-card ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-700);
}
.pricing-card ul li i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.pricing-card ul li span {
  flex: 1;
}
.adhesion-note {
  background: var(--white);
  border-left: 5px solid var(--secondary-color);
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.adhesion-note i {
  color: var(--secondary-color);
  font-size: 1.8rem;
  flex-shrink: 0;
}
.adhesion-note p {
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

/* Contact */
.contact-quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.quick-info-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.quick-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.15);
  border-bottom-color: var(--secondary-color);
}
.quick-info-icon {
  width: 65px;
  height: 65px;
  min-width: 65px;
  background: var(--gradient-mixed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.quick-info-card:hover .quick-info-icon {
  transform: rotate(360deg) scale(1.1);
}
.quick-info-content h4 {
  font-size: 1rem;
  color: var(--dark-color);
  margin-bottom: 5px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.quick-info-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 1;
}
.quick-info-content a {
  color: var(--primary-color);
  font-weight: 500;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.map-container {
  width: 100%;
  height: 500px;
  min-height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-header {
  margin-bottom: 10px;
}
.form-header h3 {
  color: var(--dark-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 0;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-group label i {
  color: var(--primary-color);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  transition: var(--transition);
  font-size: 0.95rem;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}
.btn-loader {
  display: none;
}
.btn-submit.loading .btn-text {
  display: none;
}
.btn-submit.loading .btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-mixed);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-logo-img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  transition: var(--transition);
}
.footer-logo-img:hover {
  transform: rotate(360deg) scale(1.1);
}
.footer-text h2 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.footer-text p {
  opacity: 0.8;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}
.footer-links a:hover::after {
  width: 100%;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.socials a:hover {
  transform: translateY(-5px);
}
.socials a[href*="facebook"]:hover {
  background: #1877f2;
  box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}
.socials a[href*="youtube"]:hover {
  background: #ff0000;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================================
   CORRECTION 1 : Bouton Retour en haut (Plus visible, bien à droite)
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px; /* Parfaitement aligné à droite */
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 9999; /* Au-dessus de tous les autres éléments */
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: pulse-glow 2s infinite;
}
.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 86, 179, 0.7);
  border-color: var(--white);
}
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.5);
  }
  50% {
    box-shadow: 0 8px 35px rgba(0, 86, 179, 0.9);
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

/* Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =========================================
   CORRECTION 2 : Menu mobile ouvrant par la GAUCHE
   ========================================= */
@media screen and (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-stats {
    gap: 30px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .about-grid {
    gap: 40px;
  }
  .president-card {
    padding: 40px 30px;
    gap: 30px;
  }
  .president-img {
    width: 250px;
    height: 300px;
  }
  .contact-quick-info {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  .activity-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .activity-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .section-title h2 {
    font-size: 2.2rem;
  }

  /* Menu mobile : ouverture par la GAUCHE */
  .nav-links {
    position: fixed;
    left: -100%; /* Changé de right à left */
    top: 70px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 75%;
    max-width: 300px;
    padding-top: 50px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15); /* Ombre vers la droite */
    gap: 20px;
    z-index: 998;
  }
  .nav-links.nav-active {
    left: 0; /* Apparition depuis la gauche */
  }

  .burger {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 1.1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .about-grid,
  .president-card {
    grid-template-columns: 1fr;
  }
  .president-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .president-img {
    width: 200px;
    height: 250px;
  }
  .president-socials {
    justify-content: center;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .hero-under-image {
    grid-template-columns: 1fr;
  }
  .under-hero-img {
    height: 250px;
  }
  .hero-under-content {
    padding: 30px 20px;
  }
  .hero-image-below {
    margin-top: 0;
    padding: 50px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  .past-presidents-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .contact-quick-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .socials {
    justify-content: center;
  }
  .scroll-indicator {
    display: none;
  }
  .adhesion-note {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .partners-carousel {
    gap: 40px;
    animation-duration: 20s;
  }
  .partner-logo {
    width: 140px;
    height: 90px;
    padding: 15px;
  }
  .news-filters {
    gap: 8px;
  }
  .news-filter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .activity-title {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .activity-details {
    gap: 10px;
    flex-direction: column;
  }
  .activity-countdown {
    padding: 15px 20px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .countdown-item {
    min-width: 60px;
  }
  .countdown-number {
    font-size: 1.8rem;
  }
  .countdown-separator {
    font-size: 1.5rem;
  }
  .activity-actions {
    flex-direction: column;
  }
  .activity-btn {
    width: 100%;
    justify-content: center;
  }
  .activity-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
  .pagination-numbers {
    display: none;
  }

  /* Ajustement mobile pour le bouton retour en haut */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .filter-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .president-photo {
    width: 150px;
    height: 150px;
  }
  .past-president-item .president-photo {
    width: 120px;
    height: 120px;
  }
  .pricing-card {
    width: 100%;
    padding: 30px 20px;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 15px;
  }
  .facebook-cta h3 {
    font-size: 1.5rem;
  }
  .partners-carousel-wrapper::before,
  .partners-carousel-wrapper::after {
    width: 50px;
  }
  .partner-logo {
    width: 120px;
    height: 80px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll,
  .fade-in,
  .slide-left,
  .slide-right,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
