/* ========== Reset (si pas déjà global) ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== Variables ========== */
:root {
  --primary-blue: #0056b3;
  --accent-red: #e31b23;
  --neutral-dark: #333;
  --neutral-light: #fff;
  --border-light: #eaeaea;
}

/* ========== SECTION PARTENAIRES ========== */
.section.partenaires {
  padding: 120px 0 60px;
  background: #f9f9f9;
}
.section.partenaires .section-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.section.partenaires h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--neutral-dark);
}
.section.partenaires p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

/* ========== LISTE DES PARTENAIRES ========== */
.partners-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ========== ENTRÉE PARTENAIRE ========== */
.partner-entry {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.partner-entry.reverse {
  flex-direction: row-reverse;
}

/* Bloc logo + nom */
.partner-logo {
  flex: 0 0 220px;
  text-align: center;
}
.partner-logo img {
  width: auto;
  height: 160px;
  object-fit: contain;
  transition: filter 0.3s;
}
.partner-name {
  margin-top: 8px;
  font-weight: 600;
  color: var(--neutral-dark);
  font-size: 1rem;
}

/* Bloc texte */
.partner-text {
  flex: 1;
  text-align: left;
}
.partner-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--neutral-dark);
}
.partner-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

/* Bouton lien du partenaire */
.partner-link {
  display: inline-block;
  margin-top: 20px;
  background: var(--primary-blue);
  color: var(--neutral-light);
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.partner-link:hover {
  background: #004494;
}

/* ========== SÉPARATEUR ========== */
.partner-separator {
  border: none;
  width: 80px;
  height: 4px;
  background: var(--primary-blue);
  margin: 60px auto;
}

/* ========== CTA GLOBAL ========== */
.actions-ctas {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.actions-ctas .btn {
  text-decoration: none;
  background: var(--primary-blue);
  color: var(--neutral-light);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.actions-ctas .btn.secondary {
  background: var(--accent-red);
}
.actions-ctas .btn:hover {
  opacity: 0.9;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .section.partenaires {
    padding: 140px 20px 60px;
  }
  .partner-entry,
  .partner-entry.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .partner-logo {
    margin-bottom: 20px;
  }
  .partner-text {
    width: 100%;
  }
  .actions-ctas {
    flex-direction: column;
    gap: 12px;
  }
}
