/**
 * Sani Afrique - Créer Ma Marque CSS
 * 
 * Mobile-first, built on Amerce theme variables.
 * 
 * @package SaniAfrique
 */

/* ============================================================
   HERO
   ============================================================ */
.cmm-hero {
    background: linear-gradient(135deg, var(--text) 0%, #1a2a1f 100%);
    padding: 48px 0 56px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cmm-hero::before {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}
.cmm-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 350px;
    height: 350px;
    background: var(--primary);
    opacity: 0.04;
    border-radius: 50%;
    pointer-events: none;
}
.cmm-hero__inner {
    position: relative;
    z-index: 1;
}
.cmm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(149, 193, 31, 0.15);
    border: 1px solid rgba(149, 193, 31, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}
.cmm-hero__badge .icon {
    font-size: 14px;
}
.cmm-hero__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    max-width: 600px;
}
.cmm-hero__text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 520px;
    margin-bottom: 24px;
}
.cmm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cmm-hero__actions .tf-btn {
    height: 44px;
    font-size: 13px;
}
.cmm-hero__actions .btn-stroke {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}
.cmm-hero__actions .btn-stroke:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

/* ============================================================
   INTRO
   ============================================================ */
.cmm-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.cmm-intro__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(149, 193, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cmm-intro__icon .icon {
    font-size: 24px;
    color: var(--primary);
}
.cmm-intro__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 10px;
}
.cmm-intro__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-2);
}

/* ============================================================
   SECTION HEADERS (reusable)
   ============================================================ */
.cmm-section-header {
    text-align: center;
    margin-bottom: 32px;
}
.cmm-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
}
.cmm-section-desc {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.cmm-process {
    background: var(--bg);
    padding: 48px 0;
}
.cmm-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.cmm-step {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    border: 1px solid var(--line);
    transition: box-shadow 0.25s, transform 0.25s;
}
.cmm-step:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.cmm-step__num {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(149, 193, 31, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmm-step__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(149, 193, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.cmm-step__icon .icon {
    font-size: 22px;
    color: var(--primary);
}
.cmm-step__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}
.cmm-step__text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-2);
}

/* ============================================================
   OFFER
   ============================================================ */
.cmm-offer {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.cmm-offer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cmm-offer__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cmm-offer__check {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(149, 193, 31, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.cmm-offer__check .icon {
    font-size: 14px;
    color: var(--primary);
}
.cmm-offer__list li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.cmm-offer__list li p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-2);
    margin: 0;
}
.cmm-offer__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmm-offer__card {
    background: linear-gradient(135deg, var(--text) 0%, #1a2a1f 100%);
    border-radius: 16px;
    padding: 32px;
    color: var(--white);
    text-align: center;
    max-width: 400px;
}
.cmm-offer__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(149, 193, 31, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.cmm-offer__card-icon .icon {
    font-size: 24px;
    color: var(--primary);
}
.cmm-offer__card-text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cmm-cta {
    background: var(--primary);
    padding: 48px 0;
}
.cmm-cta__inner {
    text-align: center;
}
.cmm-cta__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.cmm-cta__text {
    font-size: 15px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 24px;
}
.cmm-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cmm-cta__actions .tf-btn {
    height: 46px;
    font-size: 13px;
    width: 100%;
    max-width: 320px;
}
.cmm-cta__actions .btn-primary {
    background: var(--text);
}
.cmm-cta__actions .btn-primary:hover {
    background: var(--white);
    color: var(--text);
}
.cmm-cta__actions .btn-white:hover {
    background: var(--text);
    color: var(--white);
}
.cmm-cta__actions .btn-stroke {
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.cmm-cta__actions .btn-stroke:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

/* ============================================================
   TABLET (>=768px)
   ============================================================ */
@media (min-width: 768px) {
    .cmm-hero {
        padding: 64px 0 72px;
    }
    .cmm-hero__title {
        font-size: 38px;
    }
    .cmm-intro {
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }
    .cmm-intro__title {
        font-size: 26px;
    }
    .cmm-steps {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .cmm-process {
        padding: 64px 0;
    }
    .cmm-cta__actions {
        flex-direction: row;
        justify-content: center;
    }
    .cmm-cta__actions .tf-btn {
        width: auto;
        max-width: none;
    }
}

/* ============================================================
   DESKTOP (>=1024px)
   ============================================================ */
@media (min-width: 1024px) {
    .cmm-hero__title {
        font-size: 44px;
    }
    .cmm-hero__text {
        font-size: 16px;
    }
    .cmm-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .cmm-offer {
        flex-direction: row;
        align-items: center;
    }
    .cmm-offer__content {
        flex: 1;
        min-width: 0;
    }
    .cmm-offer__visual {
        width: 340px;
        flex-shrink: 0;
    }
    .cmm-section-title {
        font-size: 28px;
    }
}

/* ============================================================
   LARGE DESKTOP (>=1200px)
   ============================================================ */
@media (min-width: 1200px) {
    .cmm-hero {
        padding: 80px 0 88px;
    }
    .cmm-hero__title {
        font-size: 48px;
    }
    .cmm-cta__title {
        font-size: 32px;
    }
    .cmm-offer__visual {
        width: 380px;
    }
}
