
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 10px 0;
  transition: all 0.3s ease;
  z-index: 1000;
  background: transparent;
}

.navbar.scrolled {
  background: #fff8e2;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.navbar.scrolled .logo img {
  content: url("logoafm-N.png");
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 50px;
  display: flex;
  align-items: center;
  justify-content:space-between; 
}



.navbar.scrolled .logo {
  color: #111;
}

.logo img {
  height: 35px;
}


.nav-links {
  display: flex;
  gap: 70px;
  text-align: center;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.navbar.scrolled .nav-links a {
  color: #2d2d2d;
  text-decoration: none;
}

.nav-links a:hover {
 
  text-decoration: underline;
  text-decoration-thickness: 2px; /* épaisseur */
  text-underline-offset: 5px;     /* espace sous le texte */
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  
}

.navbar.scrolled .hamburger {
  color: #111;
}


/* Bluesky Prune menu*/

.bluesky {
   width: 10px;
  height: 10px;
}


/* ================= MENU PARTAGE ================= */
.share-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.share-btn {
  background: none;
  border: none;
  color: white; /* Blanc quand le menu est transparent */
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: 0.3s;
}

.share-btn i {
  font-size: 22px; /* Ajuste la taille de l'icône indépendamment du texte */
}

/* On le passe en foncé quand on scrolle (comme tes autres liens) */
.navbar.scrolled .share-btn {
  color: #2d2d2d;
}

.share-btn:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.share-dropdown {
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  display: flex;
  gap: 15px;
  padding: 10px 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* L'état actif déclenché par le clic */
.share-dropdown.active {
  opacity: 1;
  visibility: visible;
  top: 120%; /* Petit effet d'animation vers le haut */
}

/* Les icônes à l'intérieur */
.share-dropdown a {
  color: #8d1b53 !important; 
  font-size: 20px;
  transition: transform 0.2s;
  padding: 0 !important;
}

.share-dropdown a:hover {
  transform: scale(1.2); /* Petit effet de zoom au survol */
  text-decoration: none !important;
}



/* BOUTON FAIRE UN DON (NAVBAR)  */
.navbar .nav-links a.btn-don {
  background-color: #ffcc00; 
  color: #2d2d2d !important; 
  padding: 10px 24px;
  border-radius: 10px; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.navbar .nav-links a.btn-don:hover {
  background-color: #f5b800; 
  text-decoration: none !important; 
  transform: translateY(-2px); 
}


/* ================= HERO ================= */


/* ===== HERO ===== */
      .hero {
        position: relative;
        min-height: 65vh;
        display: flex;
        align-items: center;
        overflow: hidden;
        color: white;
      }

      /* Image centrée */
      .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit:cover;
        object-position: center;
        z-index: 0;
        transform: scale(1.05);
        transition: transform 0.6s ease;
      }

      /* Overlay dégradé */
      .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          rgba(140, 20, 80, 0.9) 0%,
          rgba(140, 20, 80, 0.75) 20%,
          rgba(140, 20, 80, 0.3) 50%,
          rgba(140, 20, 80, 0) 100%
        );
        z-index: 1;
      }

      /* Contenu */
      .hero__content {
        position: relative;
        z-index: 2;
        max-width: 1100px;
        padding: 6rem 2rem;
        animation: fadeUp 1.2s ease-out forwards;
        padding-left: 120px;
        
      }

      .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 800;
        margin-bottom: 1rem;
        padding-top: 20px;
      }

      .hero p {
        max-width: 900px;
        margin-bottom: 2rem;
        opacity: 0.95;
      }

      .hero__bg--mobile {
      display: none;
    }

      
      /* ===== EFFET AU SCROLL ===== */
      .hero.scrolled .hero__bg {
        transform: scale(1.15);
        justify-content: center;
      }

      




.badges {
  padding: 50px 0px;
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  justify-content: left; 
}

.badge {
  position: relative;
  padding-left: 38px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

/* Icône cercle + check */
.badge::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: #ffcd16;
  color: #2d2d2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}



.rejoindre-section {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#pourquoi {
  background-color: #fff8e2; 
  margin: 0;
  padding-top: 50px;
  padding-bottom: 80px;
}


/* Titre avec deux couleurs */
.section-title {
    font-size: 32px;
    color: #2d2d2d;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    
}

.highlight-purple {
    color: #8d1b53; /* Couleur prune/violette */
}

/* Layout Flexbox */
.benefits-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.benefit-item {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 150px;
}

/* Les lignes en pointillés */
.border-sides {
    border-left: 3px dotted #8d1b53;
    border-right: 3px dotted #8d1b53;
}

/* Icônes (simulation avec emoji, à remplacer par img) */
.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Texte et effet "Surligneur" */
.benefit-item p {
    font-size: 1.2rem;
    color: #2d2d2d;
    line-height: 1.4;
    max-width: 250px;
    font-weight: 500;
}

.text-marker {
    background-color: #ffcd16; 
    padding: 0 5px;
    font-weight: 800;
    display: inline-block;
}



.how-wrapper {
     display: flex;
    justify-content: center; 
    align-items: center;            
    gap: 60px;                      
    padding-bottom: 30px;
}




/* --- Container --- */
.how-container {
    max-width: 800px;
    width: 40%;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #2d2d2d;
}

/* --- Header --- */
.how-header h2 {
    font-size: 28px;
    font-weight: 700;
}
.how-header h2 span {
    color: #8d1b53;
}
.how-header p {
    margin-top: -8px;
    font-size: 16px;
}

.join-btn {
    margin-top: 12px;
    background: #ffcd16;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
}

/* --- Blocks --- */
.step {
    display: flex;
    background: #8d1b53;
    color: white;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 20px;
    gap: 5px;
}

.number {
    font-size: 44px;
    font-weight: 700;
    min-width: 50px;
    text-align: left;
}

.content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}
.content p {
    margin-top: 6px;
    font-size: 15px;
    text-align: left;
}

.step-1 { background: #8d1b53; }
.step-2 { background: #8d1b53; }
.step-3 { background: #8d1b53; }



/* SECTION BANNIÈRE D'ACTION */
.action-banner {
    background-color: white;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.banner-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    
}

.text-group h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
}

.text-group p {
    font-size: 1.2rem;
    margin: 5px 0 0 0;
    color: #555;
}

/* Bouton jaune arrondi */
.btn-join {
    background-color: #ffcc00;
    color: #2d2d2d;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 15px; /* Coins très arrondis comme sur l'image */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

  .btn-join:hover {
  background: #fff8e2;
}



.lettre-action {
    display: flex;
    justify-content: center;  /* centre horizontalement dans son bloc */
    align-items: center;       /* centre verticalement */
}

.lettre-action img {
    max-width: 430px;  
    height: auto;
}

/* ================= TEMOIGNAGES ================= */




.testimonials {
  padding: 40px 20px;
  background: #fff8e2;
  text-align: center;
}

.testimonials h2 span {
  color: #8d1b53;
}

/* WRAPPER */
.carousel-wrapper {
  position: relative;
  margin-top: 40px;
}

/* CAROUSEL */
.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 40px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* CARD */
.card {
  min-width: 320px;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 10px 20px;
}

/* FLÈCHES */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
}

.arrow.left { left: 0; }
.arrow.right { right: 0; }

.arrow:hover {
  transform: translateY(-50%) scale(1.05);
}


.cta {
  text-align: center;
  padding: 50px 0 60px 0;
}



/* ===== FOOTER ===== */

.footer {
    background-color: #fff8e2;
    position: relative;
}



.cta h2 {
  font-size: 32px;
  font-weight: 800;
  color: #2d2d2d;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.btn-cta {
  display: inline-block;
  background: #f5b800;
  color: #000;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
}

.footer-bar {
  padding: 15px 50px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left img {
  height: 50px;
}

.footer-center p {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 20px;
  color:#2d2d2d;
  text-align: center;
}

.socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  
}

.socials a {
  color: #2d2d2d;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.footer-center {
 padding-left:0px ;
 padding-right: 100px;
}


.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-right a  {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
}


/* SVG Bluesky */
.bluesky {
   width: 30px;
  height: 30px;
}







/* ================= PARALLAX EFFECT ================= */


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    gap: 50px;
    top: 55px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    display: none;
  }

  .share-btn {
    color: #2d2d2d !important;
  }



  .badges {
  flex-direction: column;    /* empile les éléments */
  text-align: center;  
}

  .overlay {
    background: #8d1b53;
  }
  .nav-links a {
    color: #2d2d2d;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    padding: 0 50px;
   
  }
 

  
@media (max-width: 900px) {
  .share-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .share-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-top: 10px;
    display: none; /* On cache complètement au lieu d'utiliser visibility */
  }
  
  .share-dropdown.active {
    display: flex;
  }
}

  /* ===== HERO ===== */
      @media (max-width: 768px) {

        
        .hero__bg--desktop {
        display: none;
        }

        .hero__bg--mobile {
          display: block;
        }

        .hero {
            min-height: 20vh;
        }

        .hero::before {
            background: linear-gradient(
                180deg,
                rgba(140, 20, 80, 0.85) 0%,
                rgba(140, 20, 80, 0.65) 50%,
                rgba(140, 20, 80, 0.25) 100%,
                rgba(140, 20, 80, 0) 100%
            );
        }

        .hero__content {
            padding: 4.5rem 1.25rem;
            text-align: center;
        }

        .hero__bg {
            width: 100%;
            position: absolute;
            min-height: 20vh;
        }
      }


  


  .how-wrapper {
        flex-direction: column;        /* empile les éléments */
        text-align: center;            /* centre le texte */
        gap:20px;
    }

    .lettre-action {
        order: 2;                      /* image en premier */
    }

    .how-container {
        order: 1;                      /* texte en second */
    }

    .lettre-action img {
        max-width: 80%;                /* image plus grande sur mobile */
        padding: 0;
    }

    .banner-content {
        flex-direction: column;        /* empile les éléments */
        text-align: center;            /* centre le texte */
        
    }

    .text-group {
        
        padding-bottom: 20px;
    }

.footer-bar {
    flex-direction: column;
    text-align: center;
    
  }

  .footer-right {
    align-items: center;
  }

}

@media (max-width: 768px) {
    .benefits-container {
        flex-direction: column;
    }
    .border-sides {
        border-left: none;
        border-right: none;
        border-top: 3px dotted #8d1b53;
        border-bottom: 3px dotted #8d1b53;
        padding: 50px 0;
        margin: 40px 0;
    }

     .carousel {
    gap: 16px;
    padding: 10px 20px;
  }

  .card {
    min-width: 260px;
    max-width: 260px;
  }

  .arrow {
    display: none; /* swipe mobile */
  }

  .how-container {
    width: 90%;
  }

/* FOOTER */

.footer {
        flex-direction: column;
        gap: 30px;
        padding: 10px 30px;
    }

    .footer-center {
        position: relative;
        left: 0;
        transform: none;
        order: 2;
        padding: 20px 0 0 0;
    }

    .footer-left {
        order: 1;
    }

.footer-right {
        order: 3;
        text-align: center;
        padding-top: 20px;
    }
}







/* ================= ANIMATION ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




