/* ============================================================
   ABC DANSE - PAGE NIVEAUX
   ============================================================ */

.niveaux-page {
    background: #fffaf7;
}

.niveaux-hero {
    padding: 74px 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(237, 56, 131, .10), transparent 30%),
        linear-gradient(135deg, #fffdfb 0%, #fff8fb 100%);
}

.niveaux-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 62px;
    align-items: center;
}

.niveaux-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: .9;
    letter-spacing: -.055em;
    text-transform: none;
}

.niveaux-hero h1 span {
    color: #b91f72;
}

.niveaux-hero-lead {
    max-width: 700px;
    margin: 0 0 25px;
    color: #6f6670;
    font-size: 1.02rem;
    line-height: 1.75;
}

.niveaux-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.niveaux-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(120, 45, 85, .08);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(49, 18, 38, .05);
    color: #352b35;
    font-size: .83rem;
    font-weight: 600;
}

.niveaux-hero-points i {
    color: #bf2675;
}

.niveaux-hero-image {
    position: relative;
}

.niveaux-hero-image:after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 16px -14px -14px 18px;
    border-radius: 24px;
    background: rgba(224, 116, 89, .18);
}

.niveaux-hero-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 390px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 22px 55px rgba(51, 24, 42, .12);
}


/* INTRO */

.niveaux-intro {
    background: #fff;
}

.niveaux-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 54px;
    align-items: center;
}

.niveaux-intro p {
    color: #736b74;
    line-height: 1.8;
}

.niveaux-note {
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(44, 30, 39, .07);
    border-radius: 22px;
    background: #fbf7fa;
}

.niveaux-note > i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff;
    color: #bd2673;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(50, 20, 38, .06);
}

.niveaux-note strong {
    display: block;
    margin-bottom: 8px;
    color: #241d24;
    font-size: 1.03rem;
}

.niveaux-note p {
    margin-bottom: 12px;
    font-size: .93rem;
}

.niveaux-note a {
    color: #b51d6d;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}


/* CARDS */

.niveaux-list {
    background: #faf7f9;
}

.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.niveau-card {
    position: relative;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(35, 25, 31, .06);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(51, 25, 42, .05);
}

.niveau-number {
    position: absolute;
    top: 18px;
    right: 22px;
    color: rgba(48, 32, 42, .07);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.niveau-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #fff3f8;
    color: #bd2673;
    font-size: 1.15rem;
}

.niveau-card h3 {
    margin: 0 0 12px;
    color: #241d24;
    font-size: 1.45rem;
}

.niveau-card > p {
    margin-bottom: 22px;
    color: #736b74;
    line-height: 1.75;
}

.niveau-repere {
    padding: 16px 18px;
    border-left: 3px solid #c12b78;
    border-radius: 0 12px 12px 0;
    background: #fbf7fa;
    color: #665d66;
    font-size: .9rem;
    line-height: 1.65;
}

.niveau-repere strong {
    color: #302631;
}

.niveau-inter .niveau-icon {
    background: #fff5ee;
    color: #dd743b;
}

.niveau-inter .niveau-repere {
    border-left-color: #dd743b;
}

.niveau-advanced .niveau-icon {
    background: #eef6ff;
    color: #3775ac;
}

.niveau-advanced .niveau-repere {
    border-left-color: #3775ac;
}

.niveau-superior .niveau-icon {
    background: #f2effd;
    color: #6755a8;
}

.niveau-superior .niveau-repere {
    border-left-color: #6755a8;
}


/* REMINDER */

.niveaux-reminder {
    padding: 72px 0;
    background: #fff;
}

.niveaux-reminder-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    padding: 38px;
    border: 1px solid rgba(46, 31, 42, .07);
    border-radius: 24px;
    background: linear-gradient(135deg, #fffafc, #fff8f3);
}

.niveaux-reminder-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff;
    color: #bf2675;
    font-size: 1.45rem;
    box-shadow: 0 10px 28px rgba(50, 20, 38, .06);
}

.niveaux-reminder h2 {
    margin: 4px 0 12px;
    color: #241d24;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    text-transform: none;
}

.niveaux-reminder p {
    max-width: 850px;
    margin: 0;
    color: #706770;
    line-height: 1.8;
}


/* FINAL */

.niveaux-final {
    margin-top: 0;
}


/* RESPONSIVE */

@media screen and (max-width: 980px) {

    .niveaux-hero-grid,
    .niveaux-intro-grid {
        grid-template-columns: 1fr;
    }

    .niveaux-hero-image {
        max-width: 620px;
    }
}

@media screen and (max-width: 736px) {

    .niveaux-hero {
        padding: 54px 0;
    }

    .niveaux-hero-grid {
        gap: 38px;
    }

    .niveaux-hero h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .niveaux-hero-image img {
        min-height: 300px;
    }

    .niveaux-grid {
        grid-template-columns: 1fr;
    }

    .niveau-card {
        padding: 27px 24px;
    }

    .niveaux-note,
    .niveaux-reminder-box {
        grid-template-columns: 1fr;
    }

    .niveaux-reminder {
        padding: 56px 0;
    }

    .niveaux-reminder-box {
        padding: 28px 24px;
    }
}
