/* Font-family */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chau+Philomene+One:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  scroll-behavior: smooth;
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Corps */
:root {
  --primary-color: #374151;
  --secondary-color: #facc15;
  --accent-color: #3c8c3f;
  --accent-colorb: #275b29;
  --accent-color2: #f26698;
  --vertclair: #f0f9f0;
  --accent-color2b: #b84c72;
  --text-color: #2b2b2b;
  --bg-color: #ffffff;
  --neutral-white: #ffffff;
  --neutral-gray: #e4e7ec;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  font-weight: 300;
  font-size: larger;
  background-color: var(--neutral-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#logo {
  max-width: 130px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* navigation */
.nav {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 18px;
}

.nav a {
  cursor: pointer;
  position: relative;
  color: var(--primary-color);
  transition: color 0.3s;
  list-style: none;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-color2);
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color2);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* responsive */

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    padding: 20px;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 18px;
  }
}

/* Landing-page */
.landing-page-adhesion {
  background: linear-gradient(to right, #fdfdfd, #f0f9f0);
  padding: 4rem 2rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.landing-page-adhesion h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2a2a2a;
}

.landing-page-adhesion .highlight {
  color: var(--accent-color);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  width: 220px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color2);
}

.stat-item span {
  font-size: 1.5rem;
  color: #999;
}

.stat-item p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .landing-page-adhesion h1 {
    font-size: 2rem;
  }

  .stat-item {
    width: 100%;
    max-width: 300px;
  }

  .stats {
    gap: 2rem;
  }
}

/* Sectiona adhésion */
.adhesion-section {
  margin-top: 2em;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(60, 140, 63, 0.04);
}

.adhesion-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.adhesion-section article {
  flex: 1 1 340px;
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem 1.7rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: box-shadow 0.22s, transform 0.18s;
  border: 1px solid var(--neutral-gray);
}

.adhesion-section article:hover {
  box-shadow: 0 10px 32px rgba(60, 140, 63, 0.16);
  transform: translateY(-7px) scale(1.025);
}

/* Mobile optimisé */
@media (max-width: 900px) {
  .adhesion-flex {
    gap: 1.5rem;
    padding: 0 8px;
  }

  .adhesion-section {
    padding: 24px 4px;
  }

  .adhesion-section article {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .adhesion-flex {
    flex-direction: column;
    gap: 1.1rem;
  }

  .adhesion-section,
  .don-section {
    padding: 32px 4px;
  }

  .adhesion-section article {
    flex: 1 1 100%;
  }
}

/* Vague de transition */
.wave-top {
  position: relative;
  top: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-top svg,
.wave-mirror svg,
.wave-footer svg,
.wave-footer-mirror svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-mirror {
  position: relative;
  top: -1px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-footer {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.wave-footer-mirror {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin-top: -80px;
  z-index: 0;
}

/* Pourquoi adhérer  */
.adhere {
  padding: 4rem 2rem;
  background: linear-gradient(120deg, #fdfdfd 70%, #f0f9f0 100%);
  color: #23213a;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  text-align: center;
  border-radius: 26px;
  box-shadow: 0 8px 32px rgba(122, 44, 160, 0.09), 0 2px 0 var(--accent-color2) inset;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.adhesion-article h2, .don-article h2 {
  color: var(--accent-color2);
  margin: 12px 0 18px 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.adhere-item2 li {
  margin-bottom: 0.7em;
  padding-left: 1.7em;
  margin-top: 10px;
  position: relative;
  font-size: 1.11rem;
  color: #444;
  line-height: 1.8;
  list-style: none;
  transition: color 0.2s;
}

.adhere-item2 li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.08em;
  color: #7d3cff;
  font-size: 1.13em;
  font-weight: bold;
  transition: color 0.2s;
}

.adhere::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #f266981a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.adhere::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #7d3cff1a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.adhere > * {
  position: relative;
  z-index: 1;
}

.adhere h1 {
  font-size: 2.7rem;
  margin-bottom: 1.3rem;
  color: #5a2ca0;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow: 0 2px 12px #f8f6ff;
}

.adhere .line {
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #7d3cff 60%, #f26698 100%);
  margin: 1.3rem auto 2.3rem;
  border-radius: 7px;
  box-shadow: 0 2px 10px #f8f6ff;
}

.adhere-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.adhere article {
  flex: 1 1 340px;
  background: #fff;
  border-radius: 22px;
  padding: 2.7rem 2.1rem;
  box-shadow: 0 8px 28px rgba(122, 44, 160, 0.12);
  text-align: left;
  transition: box-shadow 0.22s, transform 0.18s, border-color 0.22s, background 0.22s;
  border: 2px solid var(--neutral-gray);
  position: relative;
  overflow: hidden;
}

.adhere article::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, #f2669833 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(1px);
}

.adhere article > * {
  position: relative;
  z-index: 1;
}

.adhere article:hover {
  box-shadow: 0 16px 40px rgba(122, 44, 160, 0.19);
  transform: translateY(-12px) scale(1.04);
  border-color: #f26698;
  background: #f8f6ff;
}

.adhere h2 {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
  color: #7d3cff;
  font-weight: 800;
  letter-spacing: -0.7px;
  text-shadow: 0 1px 6px #f8f6ff;
}
.adhere-item2 h3, .adhere-item1 h3{
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color2);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.adhere p {
  font-size: 1.21rem;
  line-height: 1.85;
  margin-top: 12px;
  color: #444;
  margin-bottom: 0;
  letter-spacing: 0.012em;
  transition: color 0.2s;
}
.asterisque{
  font-size: 0.75rem;
  color: #555;
  margin-top: 10px;
  font-style: italic;
}

/* Responsive improvements */
@media (max-width: 900px) {
  .adhere-flex {
    gap: 1.5rem;
    padding: 0 8px;
  }
  .adhere {
    padding: 2.5rem 0.5rem;
  }
  .adhere article {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .adhere h1 {
    font-size: 1.7rem;
  }
  .adhere-flex {
    flex-direction: column;
    gap: 1.1rem;
  }
  .adhere article {
    flex: 1 1 100%;
    padding: 1.2rem 0.7rem;
  }
  .adhere {
    padding: 2rem 0.5rem;
  }
}

/* Responsive : retour à la verticale en petit écran */
@media (max-width: 900px) {
  .adhere-flex {
    gap: 1.5rem;
    padding: 0 8px;
  }

  .adhere {
    padding: 2.5rem 0.5rem;
  }

  .adhere article {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .adhere-flex {
    flex-direction: column;
    gap: 1.1rem;
  }

  .adhere article {
    flex: 1 1 100%;
  }

  .adhere {
    padding: 2rem 0.5rem;
  }
}
.btn-adhesion,
.btn-don{
  background-color: var(--accent-color2);
    color: #fff;
    border: none;
    margin-top: 20px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(242, 102, 152, 0.10);
    transition: background 0.3s, transform 0.18s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-adhesion a,
.btn-don a {
  text-decoration: none;
  color: var(--neutral-white);
}
.btn-adhesion:hover,
.btn-don:hover {
  transform: translateY(-6px);
  background-color: var(--accent-color);
}

/* FAQ */
.faq {
  background-color: var(--vertclair);
  padding: 4rem 2rem;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  color: #333;
  text-align: center;
  margin: 40px auto 60px auto;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(122, 44, 160, 0.07), 0 1.5px 0 var(--accent-color2) inset;
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #f266981a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #7d3cff1a 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq > * {
  position: relative;
  z-index: 1;
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #7d3cff;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px #f8f6ff;
}

.faq .line {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #7d3cff 60%, #f26698 100%);
  margin: 1.2rem auto 2.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px #f8f6ff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background-color: #fff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(122, 44, 160, 0.07);
  border: 1.5px solid var(--neutral-gray);
  transition: background 0.3s, box-shadow 0.22s, border-color 0.22s, transform 0.18s;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #f2669833 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.faq-item > * {
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(122, 44, 160, 0.13);
  border-color: #f26698;
  transform: translateY(-6px) scale(1.015);
  background-color: #f9f9fd;
}

.faq-item[open] {
  background-color: #f0f9f8;
  border-color: #7d3cff;
}

.faq-item summary {
  font-size: 1.22rem;
  font-weight: 700;
  color: #5a2ca0;
  cursor: pointer;
  outline: none;
  padding-right: 32px;
  position: relative;
  transition: color 0.3s;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.1rem;
  color: #7d3cff;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(-180deg);
  color: #f26698;
}

.faq-item p {
  margin-top: 0.85rem;
  font-size: 1.11rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
  .faq {
    padding: 2.5rem 0.5rem;
  }
  .faq-item {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 600px) {
  .faq h2 {
    font-size: 1.5rem;
  }
  .faq .line {
    width: 50px;
    height: 3px;
  }
  .faq-item {
    padding: 1rem 0.7rem;
    border-radius: 10px;
  }
  .faq-list {
    padding: 0 2px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .faq h2 {
    font-size: 1.6rem;
  }

  .faq-item summary {
    font-size: 1.1rem;
  }

  .faq-item p {
    font-size: 1rem;
  }
}
.wave-bottom {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-footer {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin-top: -80px;
  z-index: 0;
}

.wave-footer svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* FOOTER */
footer {
  background-color: var(--vertclair);
  color: var(--primary-color);
  text-align: center;
  padding: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* Changement pour une colonne sur mobile */
  align-items: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: center;
  /* Centrer les liens */
}

.footer-links li {
  display: inline;
  margin: 0 1rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  /* Alignement horizontal */
  justify-content: center;
  /* Centrer horizontalement */
}

.footer-nav li {
  margin: 0 1rem;
}

.footer-nav a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-contact {
  margin: 1rem 0;
  text-align: center;
  /* Centrer les informations de contact */
}

.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  margin: 0 1rem;
  /* Espacement entre les icônes */
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}

.autoShow {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.autoShow.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Barba.js */
.transition-wipe,
.transition-wipe-second {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transform: translateX(-100%);
  pointer-events: none;
  will-change: transform;
}

.transition-wipe {
  background: var(--accent-color2);
  opacity: 0.97;
  animation: wipeFadeIn 0.7s;
}

.transition-wipe-second {
  background: var(--accent-color);
  opacity: 0.97;
}