.titreHome{
    margin-bottom:25px;
}

section.loyalty-entete{
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
        url(/wp-content/uploads/2023/12/feuille-cannabis-gros-plan.webp) center center / cover;
    margin-top: 0 !important;
    padding: 80px 2% 25px 2%;
}

section.loyalty-entete div.content > div:first-child{
 justify-content: space-evenly;
}


section.loyalty-entete div.content #loyalty-entente-texte{
    max-width:850px
}

section.loyalty-entete div.content #loyalty-entente-btn{
    display:flex;
    width:100%;
    max-width:400px;
}
section.loyalty-entete div.content #loyalty-entente-btn > div{
    width:100%;
    text-align:center;
}
div> a.btn-white{
    background: white !important;
}
@media (max-width: 1150px) {
    section.loyalty-entete{
        padding: 60px 2% 20px 2%;
    }

    section.loyalty-entete div.content > div:first-child{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    section.loyalty-entete div.content #loyalty-entente-texte{
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    section.loyalty-entete div.content #loyalty-entente-btn{
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    section.loyalty-entete div.content #loyalty-entente-btn > div{
        width: 100%;
    }
    div.sous-titre{
        margin-bottom:25px;
    }
}


.how-it-works-section {
    background-color: #FFD101;
    color: black;
    padding: 40px 0;
}

.section-header {
    text-align: center;
}

.steps-container {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    gap: 35px;
    padding: 20px 10px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    flex-basis: 30%;
    max-width: 300px;
}

.step-number {
    display: block;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        margin-bottom: 20px;
    }
}


/* SECTION : Gagner des points (utilise ton style existant) */
section#gagner_points {
    padding: 40px 0;
}

/* Cartes */
section#gagner_points .step-item {
    background: white;
    color: black;
    border-radius: 10px;
    border:5px solid #FFD101;
    padding: 20px;
    box-sizing: border-box;
}

/* Icônes */
section#gagner_points .step-number i {
    font-size: 50px;
    color: rgb(25, 25, 25) !important;
    display: inline-block;
    margin-bottom: -5px;
}

#gagner_points .step-number i::before {
    color: black !important;
    background:#FFD101;
    padding:8px;
    border-radius:50%;
}

/* Titre */
section#gagner_points h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Texte */
section#gagner_points p {
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Section globale */
.how-it-works-section-2 {
    background: #FFD101;
    color: black;
    padding: 40px 0;
}

/* Sous-titre */
.how-it-works-section-2 .sous-titreHome {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Blocs de récompenses */
.rewards-usage .reward-box {
    background: #ffffffd6;
    color: black;
    border-radius: 12px;
    border: 3px dashed #000;
    padding: 20px;
    max-width: 300px;
    box-sizing: border-box;
}

/* 3 colonnes max */
.rewards-usage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: stretch;
    justify-content: space-around;
    max-width: 1100px; /* largeur max */
    margin: 0 auto; /* centre la grille */

}

/* Responsive tablette */
@media (max-width: 900px) {
    .rewards-usage {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive mobile */
@media (max-width: 600px) {
    .rewards-usage {
        grid-template-columns: 1fr;
        justify-items: center; /* centre l’item dans la colonne */
    }

    /* Pour éviter que le bloc fasse 100% (sinon il recolle à gauche) */
    .rewards-usage .reward-box {
        max-width: 300px;
        width: 100%;
    }
}



/* SECTION NIVEAUX */
#levels {
    padding: 40px 0;
}

/* Carte de niveau */
.level-card {
    background: transparent;
    color: white;
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
}

/* Haut de carte */
.level-card-top {
    background: #FFD101;
    color: black;
    padding: 20px 10px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.level-card-top img {
    max-width: 80px;
}

/* Bas de carte */
.level-card-bottom {
    background: #292929;
    padding: 20px 15px;
    border-radius: 0 0 12px 12px;
}

/* UL custom */
.level-card-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* LI custom avec icône check */
.level-card-bottom ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.level-card-bottom ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFD101;
    font-weight: bold;
}

/* GRID 3 colonnes max */
.rewards-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Responsive tablette */
@media (max-width: 900px) {
    .rewards-levels {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive mobile */
@media (max-width: 600px) {
    .rewards-levels {
        grid-template-columns: 1fr;
    }

    .level-card {
        max-width: 320px;
    }
}