/* - reset général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* - mises en page de base */
body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* - variables couleurs */
:root {
  --primary-blue: #0056b3;
  --accent-red: #e31b23;
  --neutral-dark: #333;
  --neutral-light: #fff;
  --border-light: #eaeaea;
}

/* - header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--neutral-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo img {
  height: 50px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav ul li a {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  transition: color 0.3s;
}
.nav ul li a:hover {
  color: var(--primary-blue);
}
.don-btn {
  text-decoration: none;
  background: var(--accent-red);
  color: var(--neutral-light);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.don-btn:hover {
  background: #c4221d;
}

/* - section hero : pleine hauteur moins header */
.hero {
  position: relative;
  margin-top: 80px; /* hauteur du header */
  height: calc(100vh - 80px);
  background: url('../img/fond-thomas.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.hero-content {
  position: relative;
  color: var(--neutral-light);
  max-width: 800px;
}
.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  margin-bottom: 10px;
}
.hero-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-ctas .btn {
  text-decoration: none;
  background: var(--primary-blue);
  color: var(--neutral-light);
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
  margin: 0 10px;
}
.hero-ctas .btn.secondary {
  background: var(--accent-red);
}
.hero-ctas .btn:hover {
  opacity: 0.9;
}

/* - sections générales */
.section {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.section-container {
  padding: 20px 0;
}
.section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--neutral-dark);
}
.section p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* - boutons globaux */
.btn {
  text-decoration: none;
  background: var(--primary-blue);
  color: var(--neutral-light);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #004494;
}
.btn_secondary_actu {
  text-decoration: none;
  background: var(--accent-red);
  color: var(--neutral-light);
  padding: 10px 20px;
  margin-top: 100px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn_secondary_actu:hover {
  background: #c4221d;
}

/* - section deux colonnes */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.assoc-text, .assoc-img {
  flex: 1 1 400px;
}
.assoc-text {
  text-align: left;
}
.assoc-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--neutral-dark);
}
.assoc-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}
.assoc-img {
  text-align: center;
}
.assoc-img img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* - actualités */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.news-card {
  position: relative;
  padding-bottom: 60px;
  background: #f8f8f8;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.news-card img {
  width: 100%;
  display: block;
}
.news-card .news-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.news-content {
  padding: 20px;
  text-align: left;
}
.news-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--neutral-dark);
}
.news-content p {
  font-size: 16px;
  color: #666;
}

/* - engagements */
.engagements {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 30px 0;
}
.engagement {
  max-width: 300px;
  text-align: left;
}
.engagement h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}
.engagement p {
  font-size: 16px;
  color: #555;
}

/* - section partenaires simple (grid) */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.partner-logos a img {
  max-height: 50px;
  filter: none; /* logos en couleur */
  transition: filter 0.3s;
}

/* - slider avancé */
.partner-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 30px 0;
}
.slider-window {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}
.slider-item {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid var(--border-light);
}
.slider-item:first-child {
  border-left: none;
}
.slider-item img {
  max-height: 70px;
  filter: none;
  transition: filter 0.3s;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 2;
}
.slider-btn:hover {
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.slider-btn.prev {
  left: -18px;
}
.slider-btn.next {
  right: -18px;
}

/* - footer principal */
.footer-main {
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
  padding: 40px 0 20px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 200px;
}
.footer-col h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li + li {
  margin-top: 8px;
}
.footer-col a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}
.footer-socials {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.social-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.2s;
}
.social-icon:hover {
  opacity: 0.7;
}
.social-icon.facebook {
  background-image: url('../img/facebook-icon.svg');
}
.social-icon.instagram {
  background-image: url('../img/instagram-icon.svg');
}
.social-icon.linkedin {
  background-image: url('../img/linkedin-icon.svg');
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #555;
}

/* - responsive tablettes */
@media (max-width: 1024px) {
  .two-col {
    flex-direction: column;
    text-align: center;
  }
  .assoc-text,
  .assoc-img {
    flex: 1 1 100%;
  }
  .news-grid,
  .engagements {
    flex-direction: column;
    align-items: center;
  }
}

/* - responsive mobiles */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .hero {
    height: calc(100vh - 80px);
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content h2 {
    font-size: 26px;
  }
  .section h2 {
    font-size: 28px;
  }
  .section p,
  .partner-text p,
  .news-content p {
    font-size: 14px;
  }
  .btn,
  .news-btn,
  .partner-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  .partner-entry,
  .partner-entry.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .partner-logo {
    margin-bottom: 20px;
  }
  .actions-ctas {
    flex-direction: column;
    gap: 12px;
  }
}
