
/* --- Hero Section --- */
.hero-adhesion {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/page_membership/hero-adhesion.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-adhesion h1 {
    font-family: 'SigmarOne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    margin-bottom: 1rem;
    color: white;
}

.hero-adhesion p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* --- Section Pourquoi Adhérer --- */
.pourquoi-adherer {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

/* --- Cards Adhésion (formules) --- */
.formules-adhesion {
    padding: 60px 20px;
    text-align: center;
}

.cards-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.card-adhesion {
    background-color: #FFFCF4;
    border: 2px solid #294F0C;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-adhesion h3 {
    font-size: 28px;
    color: #294F0C;
}

.card-adhesion .price {
    font-size: 24px;
    color: #294F0C;
}

.card-adhesion ul {
    list-style: none;
    padding: 0;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.card-adhesion li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

/* checkmark icon */
.card-adhesion li::before {
    content: "✓";
    color: #4a7c59;
    position: absolute;
    left: 0;
}

/* --- Boutons (style orange) --- */
.btn-choisir,
.btn-don,
.btn-adherer,
.btn-benevole {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border: 3px solid #DD5D13;
    color: #DD5D13;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    background-color: transparent;
}

/* hover effect */
.btn-choisir:hover,
.btn-don:hover,
.btn-adherer:hover,
.btn-benevole:hover {
    background-color: #DD5D13;
    color: #ffffff;
    cursor: pointer;
}

/* --- Section Etapes (3 étapes) --- */
.etapes-adhesion {
    background-color: #B9DAA3;
    text-align: center;
    padding: 60px 20px;
}

.etapes-adhesion h2 {
    color: #294F0C;
    font-size: 32px;
    margin-bottom: 10px;
}

.etapes-intro {
    color: #294F0C;
    font-size: 16px;
    margin-bottom: 40px;
}

.etapes-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.etape {
    width: 280px;
    text-align: center;
}

/* icon box */
.etape-icon {
    width: 120px;
    height: 100px;
    background-color: #FFFCF4 !important;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etape-icon i {
    font-size: 36px;
    color: #294F0C;
}

.etape-numero,
.etape .numero {
    font-size: 18px;
    color: #294F0C;
    display: block;
    margin-bottom: 5px;
}

.etape h3 {
    color: #294F0C;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.etape p {
    color: #294F0C;
    font-size: 14px;
    line-height: 1.5;
}

/* timeline dots */
.etapes-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    gap: 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: #294F0C;
    border-radius: 50%;
}

/* dashed line */
.timeline-line {
    width: 150px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #294F0C,
        #294F0C 5px,
        transparent 5px,
        transparent 10px
    );
}

.paiement-info {
    color: #294F0C;
    font-size: 16px;
    margin-top: 20px;
}

/* --- Section Témoignages --- */
.temoignages {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.temoignages h2 {
    color: #294F0C;
    font-size: 32px;
    margin-bottom: 10px;
}

.temoignages-intro {
    color: #666;
    margin-bottom: 40px;
}

.temoignages-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* testimonial cards */
.temoignage-card {
    background: #FFFCF4;
    border: 2px solid #294F0C;
    border-radius: 8px;
    padding: 25px;
    width: 300px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* stars */
.stars {
    color: #294F0C;
    font-size: 18px;
    margin-bottom: 15px;
}

.temoignage-card p {
    color: #294F0C;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* author info */
.temoignage-auteur {
    display: flex;
    align-items: center;
    gap: 10px;
}

.temoignage-auteur .avatar {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
}

.temoignage-auteur span {
    color: #333;
    font-size: 14px;
}

/* --- Section Bénévole (CTA) --- */
.cta-benevole {
    background-color: #294F0C;
    padding: 60px 20px;
}

.benevole-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benevole-left h2 {
    color: #FFFCF4;
    font-size: 28px;
    line-height: 1.3;
    max-width: 250px;
}

.benevole-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.benevole-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benevole-right {
    max-width: 400px;
}

.benevole-right p {
    color: #FFFCF4;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */
@media (max-width: 768px) {
    
    .hero-adhesion {
        padding: 80px 20px;
        min-height: 300px;
    }

    .hero-adhesion h1 {
        font-size: 28px;
    }

    .hero-adhesion p {
        font-size: 16px;
    }

    /* cards en colonne */
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card-adhesion {
        width: 100%;
        max-width: 350px;
    }

    /* etapes en colonne */
    .etapes-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* temoignages en colonne */
    .temoignages-container {
        flex-direction: column;
        align-items: center;
    }

    .temoignage-card {
        width: 100%;
        max-width: 350px;
    }

    /* benevole en colonne */
    .benevole-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}