/* ==============================
   WRAPPER & FORM
============================== */

#methode4-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
}

#methode4-form {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.step { display: none; }
.step.active { display: block; }

#methode4-form h3,
#methode4-form h4 {
    color: #161f34;
}

/* ==============================
   RADIO / CHECKBOX (FIX FINAL 🔥)
============================== */

#methode4-form label {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 🔥 FIX ALIGNEMENT */
    gap: 14px;

    width: 100%; /* 🔥 IMPORTANT */

    margin-bottom: 14px;
    padding: 16px 18px;

    border: 1px solid #e3e3e3;
    border-radius: 14px;

    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
}

/* hover */
#methode4-form label:hover {
    border-color: #161f34;
    background: #fafafa;
}

/* input */
#methode4-form input[type="radio"],
#methode4-form input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}

/* couleur sélection */
#methode4-form input[type="radio"]:checked,
#methode4-form input[type="checkbox"]:checked {
    accent-color: #161f34;
}

/* 🔥 TEXTE FIX (le vrai bug venait d'ici) */
#methode4-form label span {
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

/* effet sélection */
#methode4-form label:has(input:checked) {
    border-color: #161f34;
    background: #f5f7fb;
    font-weight: 600;
}

/* RGPD clean */
#methode4-form label.rgpd {
    border: none;
    padding: 0;
    background: none;
}


/* ==============================
   BUTTONS
============================== */

.step-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.step-actions button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    cursor: pointer;
    font-weight: 700;
}

.next-step,
#methode4-form button[type="submit"] {
    background: #161f34;
    color: #fff;
}

.prev-step {
    background: #ececec;
}

/* ==============================
   RESULT PREMIUM
============================== */

.methode4-premium {
    background: #fff;
    border-radius: 24px;
    padding: 40px 25px;
    max-width: 520px;
    margin: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ==============================
   VISUAL (CERCLES 🔥 FIX FINAL)
============================== */

.methode4-premium .visual {
    position: relative;
    height: 200px;
    margin: 10px 0 20px;
}

/* base */
.methode4-premium .circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* 🔴 CERCLE PRINCIPAL */
.methode4-premium .circle.main {
    width: 140px;
    height: 140px;
    font-size: 18px;

    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 1; /* 🔥 IMPORTANT : derrière */
}

/* 🟠 CERCLE SECONDAIRE AU-DESSUS */
.methode4-premium .circle.sub {
    width: 90px;
    height: 90px;
    font-size: 14px;

    top: 50px;        /* ajuste la hauteur */
    left: 60%;        /* décale à droite */
    transform: translateX(-50%);

    z-index: 2; /* 🔥 AU-DESSUS */
}

/* ==============================
   COLORS
============================== */

.rose   { background:#a76f79; }
.orange { background:#ec6629; }
.vert   { background:#546d5b; }
.bleu   { background:#161f34; }
.violet { background:#6b3fa0; }
.gris   { background:#8a8f98; }

/* ==============================
   COACH OBLIGATOIRE
============================== */

.methode4-premium .methode4-coach-notice {
    background: #fff3e6;
    border: 2px solid #ec6629;
    color: #b8430f;
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 520px;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}

/* ==============================
   RESULT TEXT
============================== */

.methode4-premium h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.methode4-premium h2 {
    font-size: 22px;
    margin: 10px 0;
}

.methode4-premium p {
    color: #666;
    margin-bottom: 20px;
}

/* ==============================
   CTA + QR (CENTER FIX 🔥)
============================== */

.methode4-premium .cta-main {
    display: inline-block;
    margin-top: 10px;

    background: linear-gradient(135deg, #ec6629, #ff8a3d);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(236,102,41,0.4);
    transition: 0.2s;
}

.methode4-premium .cta-main:hover {
    transform: translateY(-2px);
}

/* QR centré */
.methode4-premium .qr {
    margin-top: 20px;
    text-align: center;
}

.methode4-premium .qr img {
    width: 140px;
    display: block;
    margin: 0 auto;
}

/* ==============================
   POINTS CLÉS
============================== */

.result-rapports {
    margin-top: 25px;
    text-align: left;
}

.result-rapports h3 {
    text-align: center;
    margin-bottom: 10px;
}

.result-rapports ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.result-rapports li {
    margin-bottom: 6px;
    color: #444;
}

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

@media (max-width: 767px) {

    .methode4-premium .circle.main {
        width: 120px;
        height: 120px;
    }

    .methode4-premium .circle.sub {
        width: 70px;
        height: 70px;
        top: 70px;
        left: 65%;
    }
}

/* ==============================
   INTRO (TITRE + PRÉAMBULE)
============================== */

#methode4-wrapper .methode4-intro {
    margin: 0 0 34px;
    text-align: left;
}

#methode4-wrapper .methode4-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

#methode4-wrapper .methode4-preambule h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

#methode4-wrapper .methode4-preambule .methode4-subtitle {
    margin: 0 0 14px;
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

#methode4-wrapper .methode4-preambule p {
    margin: 0;
    max-width: 62ch;
    color: #f2f4f8;
    font-size: 1.05rem;
    line-height: 1.65;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    #methode4-wrapper .methode4-preambule p {
        font-size: 1rem;
    }
}

#methode4-wrapper .methode4-tagline {
    margin: 0 0 22px;
    color: #dfe4ec;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Boutons RDV coach homme / femme (2.5.7) */
.methode4-cta-coachs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
