/* =====================================================
   BASE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    height: 76px;
    background: white;
    border-bottom: 1px solid #edf0f5;

    position: sticky;
    top: 0;

    z-index: 100;
}

.header-content {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 21px;
    font-weight: 800;
}

.logo > span:last-child > span {
    color: #4f6df5;
}

.logo-icon {
    width: 36px;
    height: 36px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #4f6df5;
    color: white;

    font-size: 24px;
}

.navigation {
    display: flex;
    gap: 28px;

    font-size: 14px;
    font-weight: 600;
}

.navigation a {
    color: #596276;

    transition: 0.2s;
}

.navigation a:hover {
    color: #4f6df5;
}

.menu-button {
    display: none;

    border: none;
    background: transparent;

    font-size: 25px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    background: linear-gradient(
        135deg,
        #f5f7ff,
        #eef8ff
    );

    padding: 90px 0 100px;
}

.hero-content {
    min-height: 470px;

    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    align-items: center;

    gap: 50px;
}

.free-badge {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 50px;

    background: white;

    color: #4f6df5;

    font-weight: 700;
    font-size: 14px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero-subtitle {
    max-width: 600px;

    font-size: 19px;

    color: #596276;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border-radius: 12px;

    font-weight: 700;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #4f6df5;
    color: white;

    box-shadow:
        0 8px 20px
        rgba(79, 109, 245, 0.25);
}

.button-secondary {
    background: white;

    color: #4f6df5;

    border: 1px solid #dfe4ff;
}

.no-registration {
    margin-top: 16px;

    color: #737d91;

    font-size: 13px;
}


/* =====================================================
   HERO ILLUSTRATION
===================================================== */

.hero-illustration {
    height: 390px;

    position: relative;
}

.character {
    position: absolute;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    box-shadow:
        0 20px 50px
        rgba(34, 49, 91, 0.15);
}

.character-one {
    background: #ffd66b;

    left: 40px;
    top: 45px;

    transform: rotate(-6deg);
}

.character-two {
    background: #a9e5ff;

    right: 20px;
    bottom: 35px;

    transform: rotate(7deg);
}

.character-face {
    font-size: 62px;
}

.character-number {
    background: white;

    padding: 5px 12px;

    border-radius: 20px;

    font-weight: 800;

    margin-top: 5px;
}

.floating-number {
    position: absolute;

    font-size: 55px;

    font-weight: 900;

    color: #4f6df5;
}

.number-one {
    right: 70px;
    top: 20px;
}

.number-two {
    left: 10px;
    bottom: 30px;
}

.number-three {
    right: 10px;
    top: 150px;
}


/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section {
    padding: 90px 0;
}

.section-light {
    background: #f8f9fc;
}

.section-title {
    text-align: center;

    max-width: 720px;

    margin:
        0 auto
        50px;
}

.section-label {
    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #4f6df5;
}

.section-title h2,
.parent-text h2,
.free-content h2 {
    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    margin:
        10px 0
        15px;

    letter-spacing: -1px;
}

.section-title p {
    color: #737d91;

    font-size: 17px;
}


/* =====================================================
   METHODE
===================================================== */

.method-introduction {
    background: white;
}

.method-path {
    max-width: 850px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.method-card {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 18px 22px;

    background: white;

    border:
        1px solid
        #e3e7ef;

    border-radius: 16px;

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

.method-card:hover {
    transform: translateX(5px);

    border-color: #b9c4ff;

    box-shadow:
        0 8px 25px
        rgba(30, 42, 70, 0.07);
}

.method-number {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef1ff;

    color: #4f6df5;

    font-size: 19px;

    font-weight: 900;
}

.method-card-content {
    flex: 1;
}

.method-card h3 {
    font-size: 18px;

    margin-bottom: 2px;
}

.method-card p {
    color: #737d91;

    font-size: 14px;
}

.method-arrow {
    color: #4f6df5;

    font-size: 22px;

    font-weight: 700;
}

.method-note {
    max-width: 850px;

    margin:
        25px auto
        0;

    padding: 18px 22px;

    display: flex;

    gap: 15px;

    background: #f5f7ff;

    border-radius: 15px;

    color: #596276;
}

.method-note span {
    font-size: 22px;
}

.method-note p {
    font-size: 14px;
}

.method-button {
    text-align: center;

    margin-top: 30px;
}


/* =====================================================
   12 DEFIS
===================================================== */

.challenges-section {
    background: #172033;

    color: white;

    padding: 80px 0;
}

.challenge-intro {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

    margin-bottom: 40px;
}

.challenge-intro h2 {
    font-size: 40px;

    margin:
        8px 0
        12px;
}

.challenge-intro p {
    color: #b9c0ce;

    max-width: 620px;
}

.challenge-badge {
    width: 110px;
    height: 110px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #4f6df5;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 15px 35px
        rgba(79, 109, 245, 0.3);
}

.challenge-badge strong {
    font-size: 38px;

    line-height: 1;
}

.challenge-badge span {
    font-size: 13px;
}

.challenge-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 10px;
}

.challenge-grid div {
    padding: 16px 10px;

    text-align: center;

    border:
        1px solid
        #374055;

    border-radius: 12px;

    font-weight: 700;

    color: #e8ebf4;
}


/* =====================================================
   TABLES
===================================================== */

.tables-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 14px;
}

.table-card {
    background: white;

    border:
        1px solid
        #e3e7ef;

    border-radius: 18px;

    min-height: 135px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    transition: 0.2s;
}

.table-card:hover {
    transform: translateY(-4px);

    border-color: #4f6df5;

    box-shadow:
        0 10px 25px
        rgba(79, 109, 245, 0.12);
}

.table-card span {
    font-size: 46px;

    font-weight: 900;

    color: #4f6df5;
}

.table-card small {
    color: #737d91;
}


/* =====================================================
   RESOURCES
===================================================== */

.resources-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.resource-card {
    padding: 27px;

    border:
        1px solid
        #e7eaf0;

    border-radius: 18px;

    background: white;

    transition: 0.2s;
}

.resource-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px
        rgba(30, 42, 70, 0.08);
}

.resource-icon {
    font-size: 34px;

    margin-bottom: 15px;
}

.resource-card h3 {
    margin-bottom: 8px;
}

.resource-card p {
    color: #737d91;

    font-size: 14px;
}


/* =====================================================
   PARENTS
===================================================== */

.parents-section {
    background: #f8f9fc;
}

.parents-content {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 70px;

    align-items: center;
}

.parent-text p {
    color: #737d91;

    margin-bottom: 18px;

    max-width: 580px;
}

.progress-card {
    background: white;

    border:
        1px solid
        #e6e9ef;

    border-radius: 25px;

    padding: 30px;

    box-shadow:
        0 15px 40px
        rgba(30, 42, 70, 0.07);
}

.progress-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.progress-label {
    font-size: 11px;

    font-weight: 800;

    color: #8b94a5;

    letter-spacing: 1px;
}

.progress-header h3 {
    font-size: 26px;
}

.progress-emoji {
    font-size: 35px;
}

.progress-title {
    margin-top: 30px;

    font-weight: 700;
}

.progress-bar {
    margin-top: 10px;

    height: 12px;

    background: #e1e5ed;

    border-radius: 20px;

    overflow: hidden;
}

.progress-fill {
    width: 73%;

    height: 100%;

    background: #4f6df5;
}

.progress-number {
    text-align: right;

    font-weight: 800;

    color: #4f6df5;

    margin-top: 5px;
}

.reinforce {
    margin-top: 30px;
}

.chips {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-top: 10px;
}

.chips span {
    background: #f8f9fc;

    padding: 6px 10px;

    border-radius: 10px;

    border:
        1px solid
        #e0e4eb;

    font-size: 13px;
}


/* =====================================================
   GRATUIT
===================================================== */

.free-section {
    background: #eef1ff;

    padding: 80px 0;

    text-align: center;
}

.free-content {
    max-width: 700px;

    margin: auto;
}

.free-icon {
    font-size: 45px;
}

.free-content p {
    color: #697387;

    margin-bottom: 10px;
}

.button-support {
    margin-top: 20px;

    background: #172033;

    color: white;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111827;

    color: white;

    padding-top: 60px;
}

.footer-content {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-brand p {
    color: #9ca5b5;

    max-width: 300px;

    margin-top: 15px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-column h4 {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca5b5;

    font-size: 14px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top:
        1px solid
        #293244;

    text-align: center;

    padding: 20px;

    color: #858e9e;

    font-size: 13px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .navigation {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero-content,
    .parents-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 65px 0;
    }

    .hero-illustration {
        height: 300px;
    }

    .resources-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .tables-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .challenge-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-illustration {
        transform: scale(0.85);
    }

    .method-card {
        padding: 15px;
    }

    .challenge-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .challenge-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

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

    .tables-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .table-card {
        min-height: 100px;
    }

    .table-card span {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}