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

    body {
        background: var(--color);
        color: var(--text);
        font-family: var(--pFont);
        /* min-height: 100vh; */
        max-width: 100vw;
    }



    main {
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
        /* padding: 30px 20px; */
        /* position: relative; */
        z-index: 1;
        /* display: none; */
        width: 100vw;
    }

    /* â”€â”€ Progress bar â”€â”€ */
    .progress-bar-wrap {
        width: 100%;
        margin-bottom: 28px;
    }

    .progress-bar-labels {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .progress-bar-labels span {
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--textMuted);
        font-family: monospace;
    }

    .progress-bar-track {
        height: 7px;
        background: var(--bgCard);
        border-radius: 6px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: var(--first);
        border-radius: 6px;
        transition: width 0.5s ease;
        width: 0%;
    }

    /* â”€â”€ signInDiv â€” rÃ©utilisation maximale â”€â”€ */
    .signInDiv {
        /* width: calc(100% - 40px); */
        /* max-width: 83VW; */
        display: flex;
        justify-content: center;
        padding: 36px 32px;
        border-radius: 25px;
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        transition: 0.3s;
        align-items: flex-start;
        flex-direction: column;
        margin: 0 auto;
        /* box-shadow: 0 8px 40px rgba(0,0,0,0.4); */
    }

    .signInDiv .step {
        display: none;
        flex-wrap: wrap;
        gap: 12px;
        align-content: center;
        width: 100%;
        height: 100%;
        align-items: flex-start;
        justify-content: space-between;
    }

    .signInDiv .step.active {
        display: flex;
        animation: fadeIn 0.35s ease;
        flex-direction: row;
        flex-wrap: wrap;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .signInDiv .step .tit {
        margin: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 6px;
        margin-bottom: 8px;
    }

    .signInDiv .step .tit .badge {
        display: inline-block;
        font-size: 10px;
        /* letter-spacing: 3px; */
        /* text-transform: uppercase; */
        color: var(--first);
        font-family: monospace;
        margin-bottom: 4px;
    }

    .signInDiv .step .tit h2 {
        font-family: var(--hFont);
        font-size: clamp(20px, 3vw, 28px);
        font-weight: 600;
        line-height: 1.3;
    }
.signInDiv .step .tit h2 span {
    font-size: inherit;
 }
    .signInDiv .step .tit p,
    .signInDiv .step .tit b {
        font-size: 13px;
        color: var(--textMuted);
        font-weight: 400;
    }

    .signInDiv .step .infoDiv {
        width: calc(50% - 18px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 4px 0;
        gap: 8px;
    }

    .signInDiv .step .infoDiv.full {
        width: 100%;
    }

    /* â”€â”€ offre cards â”€â”€ */
    .signInDiv .step .infoDiv .offre {
        display: flex;
        background: var(--bgCard);
        padding: 18px;
        border-radius: 14px;
        border: 2px solid var(--bg);
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        transition: 0.2s;
    }

    .signInDiv .step .infoDiv .offre:hover {
        box-shadow: 2px 2px 12px var(--first);
        border: 2px solid var(--act1);
    }

    .signInDiv .step .infoDiv .offre.active {
        border: 2px solid var(--act1);
        background: var(--act1);
        color: #fff;
    }

    .signInDiv .step .infoDiv .offre.active p,
    .signInDiv .step .infoDiv .offre.active h3,
    .signInDiv .step .infoDiv .offre.active b {
        color: var(--first);
    }

    .signInDiv .step .infoDiv .offre .emoji {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .signInDiv .step .infoDiv .offre h3 {
        font-family: var(--hFont);
        font-size: 15px;
        font-weight: 700;
    }

    .signInDiv .step .infoDiv .offre p {
        font-size: 12px;
        color: var(--textMuted);
        line-height: 1.5;
    }

    /* â”€â”€ infosBox â”€â”€ */
    .signInDiv .step .infoDiv .infosBox {
        background-color: var(--bgCard);
        border-radius: 14px;
        padding: 18px;
    }

    .signInDiv .step .infoDiv .infosBox.ok {
        color: var(--sucess);
    }

    .signInDiv .step .infoDiv .infosBox.not {
        color: var(--warning);
    }

    .signInDiv .step .infoDiv .infosBox .tit h3 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 12px;
        font-family: var(--hFont);
    }

    .signInDiv .step .infoDiv .infosBox .value {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .signInDiv .step .infoDiv .infosBox .value .ico svg {
        height: 16px;
        width: 16px;
        color: currentColor;
    }

    .signInDiv .step .infoDiv .infosBox .value p {
        color: var(--text);
        font-size: 12px;
    }

    /* â”€â”€ inputDiv â”€â”€ */
    .signInDiv .step .infoDiv .inputDiv {
        display: flex;
        flex-direction: column;
        padding: 12px 14px;
        border-radius: 12px;
        background-color: var(--bgCard);
        width: 100%;
        gap: 4px;
    }

    .signInDiv .step .infoDiv .inputDiv label {
        font-size: 11px;
        font-family: monospace;
        font-weight: 600;
        color: var(--htext);
    }

    .signInDiv .step .infoDiv .inputDiv input[type="text"],
    .signInDiv .step .infoDiv .inputDiv input[type="email"],
    .signInDiv .step .infoDiv .inputDiv input[type="tel"],
    .signInDiv .step .infoDiv .inputDiv textarea {
        border: none;
        outline: none;
        padding: 6px 0;
        background: transparent;
        width: 100%;
        font-weight: 500;
        font-size: 15px;
        color: var(--text);
        font-family: var(--pFont);
        resize: none;
    }

    .signInDiv .step .infoDiv .inputDiv textarea {
        min-height: 80px;
        line-height: 1.6;
    }

    /* â”€â”€ optionsDiv / optionsSec â”€â”€ */
    .signInDiv .step .infoDiv .optionsDiv {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .signInDiv .step .infoDiv .optionsDiv .optionsSec {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .signInDiv .step .infoDiv .optionsDiv .optionsSec .tit h4 {
        font-family: var(--hFont);
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .signInDiv .step .infoDiv .optionsDiv .optionsSec .tit b {
        font-size: 11px;
        font-weight: 400;
        opacity: .6;
    }

    /* â”€â”€ radio-wrapper-47 (tag-style radios) â”€â”€ */
    .radio-wrapper-47 {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .radio-wrapper-47 input[type="radio"] {
        display: none;
    }

    .radio-wrapper-47 label {
        padding: 8px 16px;
        border-radius: 30px;
        border: 1.5px solid var(--border);
        font-size: 13px;
        cursor: pointer;
        transition: 0.2s;
        background: var(--bgCard);
        color: var(--textMuted);
        white-space: nowrap;
    }

    .radio-wrapper-47 input[type="radio"]:checked+label {
        border-color: var(--first);
        background: var(--first);
        color: var(--text);
    }

    /* â”€â”€ formation grid (Ã©tape 0) â”€â”€ */
    .formation-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }

    .formation-card {
        background: var(--bgCard);
        border: 2px solid var(--border);
        border-radius: 14px;
        padding: 14px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: left;
    }

    .formation-card:hover {
        border-color: var(--first);
        box-shadow: 0 0 14px rgba(124, 106, 247, 0.2);
        transform: translateY(-2px);
    }

    .formation-card .f-emoji {
        font-size: 22px;
        margin-bottom: 8px;
        color: var(--act2);
    }

    .formation-card .f-name {
        font-family: var(--hFont);
        font-size: 13px;
        font-weight: 600;
        color: var(--text);
        line-height: 1.3;
    }

    /* â”€â”€ option-btn (Ã©tapes 2,3,4,5) â”€â”€ */
    .option-btn {
        width: 100%;
        background: var(--bgCard);
        border: 1.5px solid var(--border);
        border-radius: 12px;
        padding: 14px 18px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: left;
        color: var(--text);
        font-size: 14px;
        font-family: var(--pFont);
        justify-content: LEFT;
        max-width: 100%;
        min-width: auto;
    }

    .option-btn:hover {
        border-color: var(--first);
        color: var(--actText1);
        background: var(--first);
    }

    /* â”€â”€ stat highlight â”€â”€ */
    .stat-box {
        background: var(--act1);
        border-radius: 14px;
        padding: 20px;
    }

    .stat-box .stat-number {
        font-family: var(--hFont);
        font-size: 22px;
        font-weight: 800;
        color: var(--color);
        margin-bottom: 4px;
    }

    .stat-box p {
        font-size: 13px;
        color: var(--color);
        line-height: 1.6;
    }

    /* â”€â”€ RecapDiv â”€â”€ */
    .RecapDiv {
        padding: 20px;
        border-radius: 15px;
        background: var(--bgCard);
        width: 100%;
    }

    .RecapDiv .tit {
        margin-bottom: 12px;
    }

    .RecapDiv .tit h4 {
        font-family: var(--hFont);
        font-size: 15px;
        font-weight: 700;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    .RecapDiv .recap-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .RecapDiv .recap-row:last-child {
        border-bottom: none;
    }

    .RecapDiv .recap-row .rkey {
        color: var(--textMuted);
        min-width: 120px;
    }

    .RecapDiv .recap-row .rval {
        color: var(--text);
        font-weight: 500;
    }

    /* â”€â”€ commits â”€â”€ */
    .signInDiv .step .commits {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding-top: 16px;
        flex-wrap: wrap;
    }

    /* â”€â”€ buttons â”€â”€ */
    button {
        padding: 12px 24px;
        border-radius: 10px;
        border: none;
        font-family: var(--pFont);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .act1 {
        background: var(--first);
        color: #fff;
    }

    .act1:hover {
        background: var(--act2);
        transform: translateY(-1px);
    }

    .act1:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none;
    }

    .act2 {
        background: var(--act2);
        color: var(--textMuted);
    }

    .act2:hover {
        background: #32333f;
        color: var(--text);
    }

    .btn-back {
        background: none;
        border: none;
        color: var(--muted);
        font-size: 13px;
        cursor: pointer;
        padding: 0;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 100;
    }

    .btn-back:hover {
        color: var(--text);
    }

    .ac-icon {
        font-size: 23px;
    }
 .ac-icon svg{
       height: 20px;
       width: 21px;
    }


    .action-card {
        background: var(--bgCard);
        border: 2px solid var(--border);
        border-radius: 14px;
        padding: 20px;
        cursor: pointer;
        transition: all 0.2s;
        width: 100%;
        text-align: left;
        justify-content: left;
        min-width: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .action-card:hover {
        border-color: var(--first);
        background: var(--act1);
        color: var(--color);
    }

    .action-card h4 {
        font-family: var(--hFont);
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;
        color: currentColor;
    }

    .action-card p {
        font-size: 12px;
        color: var(--textMuted);
    }

    /* â”€â”€ step4 success â”€â”€ */
    #step4 .success-icon {
        font-size: 52px;
        margin-bottom: 10px;
    }

    /* â”€â”€ statusMessage â”€â”€ */
    .statusMessage {
        width: 100%;
        margin-top: 12px;
        padding: 10px 16px;
        border-radius: 10px;
        font-size: 13px;
        display: none;
    }

    .final-message {}

    .final-message .final-emoji {}

    .final-message .final-emoji svg {
        height: 42px;
        width: 42px;
        margin: 12px 0;
        stroke: var(--act1);
    }

    .final-message .final-emoji svg .bell {
        fill: var(--act2);
        stroke: var(--act2);
        animation: rotate 1.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) .2s infinite;
    }

    .statusMessage.error {
        background: rgba(251, 113, 133, 0.15);
        color: #fb7185;
        display: block;
    }

    .statusMessage.success {
        background: rgba(74, 222, 128, 0.15);
        color: #4ade80;
        display: block;
    }

    /* â”€â”€ responsive â”€â”€ */
    @media screen and (max-width: 768px) {
        .signInDiv {
            padding: 24px 18px;
            width: calc(100% - 20px);
        }

        .signInDiv .step .infoDiv {
            width: 100%;
        }

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

    @media screen and (max-width: 480px) {
        .formation-grid {
            grid-template-columns: 1fr 1fr;
        }
    }


 
.final-message {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 40px 32px 32px;
    align-items: center;
}
 
/* Icône centrale dans un cercle coloré */
.final-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
       /* teinte légère de --first */
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--first);
}
 
.final-emoji svg {
    width: 26px;
    height: 26px;
    stroke: var(--first);
}
 
/* Animation du cercle sur la cloche (optionnel) */
.final-emoji svg circle {
    transform-origin: 18px 5px;
    animation: bellPop 2.4s ease-in-out infinite;
}
 .final-emoji svg .bell {
    transform-origin: 18px 5px;
    animation: rotate 1.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) .2s infinite;
}
 
@keyframes bellPop {
    0%, 80%, 100% { transform: scale(1);   opacity: 1; }
    90%           { transform: scale(1.35); opacity: .7; }
}
 
/* Titre et sous-titre */
.final-message h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 10px;
}
 
.final-message h2 span {
    color: var(--first);
}
 
.final-sub {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 340px;
}
 
/* ── Chips de statut ── */
.final-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    flex-direction: column;
    align-items: center;
}
 
.final-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--act1);
    background: var(--bgCard);
    border-radius: 999px;
    padding: 5px 14px;
    white-space: nowrap;
}
 
/* Point animé dans chaque chip */
.chip-dot {
    border-radius: 50%;
    flex-shrink: 0;
}
.chip-dot svg{
    width: 18px;
    height: 18px;
}
 
@keyframes chipPulse {
    0%, 100% { opacity: 1;  transform: scale(1); }
    50%       { opacity: .4; transform: scale(.8); }
}
 
/* Ligne séparatrice */
.final-divider {
    width: 100%;
    height: 1px;
    background: var(--bgCard);
    margin-bottom: 8px;
}
 
/* ── Boutons d'action ── */
.final-cta-row,
.action {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    align-items: center;
}
 
/* ── Responsive ── */
@media (max-width: 480px) {
    .final-message {
        padding: 28px 16px 24px;
    }
 
    .final-chips {
        flex-direction: column;
        align-items: center;
    }
 
    .action,
    .final-cta-row {
        flex-direction: column;
    }
 
    .act1,
    .act2 {
        width: 100%;
        text-align: center;
    }
}
 
