
/* ── Layout split-screen ── */
.cooptation-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

/* ── Panneau gauche (sombre) ── */
.cooptation-panel-left {
    width: 340px;
    flex-shrink: 0;
    background-color: var(--gray-900);
    padding: 40px 36px 60px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 110px;
    height: calc(100vh - 110px);
    overflow-y: auto;
    
}

.cooptation-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.cooptation-sidebar-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.cooptation-sidebar-title em {
    font-style: italic;
    color: var(--red);
}

.cooptation-back:hover {
    color: rgba(255,255,255,.75);
}

.cooptation-back svg {
    flex-shrink: 0;
}

.cooptation-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.cooptation-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    flex-shrink: 0;
}


.cooptation-panel-left h1 em {
    font-style: italic;
    color: var(--red);
}

.cooptation-panel-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.45);
    line-height: 1.75;
    margin-top: auto;
    padding-top: 40px;
}

/* ── Panneau droit (formulaire) ── */
.cooptation-panel-right {
    flex: 1;
    background: #fff;
    padding: 48px 60px 80px;
    overflow-y: auto;
}

.cooptation-panel-right h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.cooptation-notice {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.cooptation-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cooptation-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cooptation-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cooptation-step strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.cooptation-step p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.6;
    margin: 0;
}

/* ── Sous-titres de sections ── */
.form-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 16px;
    margin-top: 32px;
}

/* ── Boutons OUI / NON ── */
.oui-non-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.oui-non-group input[type="radio"] {
    display: none;
}

.oui-non-group label {
    padding: 8px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    background: #fafafa;
    cursor: pointer;
    transition: background .15s, color .15s;
    user-select: none;
    border: none;
}

.oui-non-group label:first-of-type {
    border-right: 1px solid var(--gray-100);
}

.oui-non-group input[type="radio"]:checked + label {
    background: var(--red);
    color: #fff;
}

.oui-non-group label:hover {
    background: var(--gray-100);
}

.oui-non-group input[type="radio"]:checked + label:hover {
    background: var(--red-dark);
}

/* ── Question OUI/NON layout ── */
.oui-non-question {
    margin-bottom: 20px;
}

.oui-non-question .question-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-weight: 400;
}

.oui-non-group .form-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    padding: 0;
}

.oui-non-group .form-check-input {
    margin: 0;
    cursor: pointer;
}

.oui-non-group .form-check-label {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

/* ── Checkbox RGPD ── */
.rgpd-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 28px;
}

.rgpd-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--red);
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.rgpd-check label {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.65;
    cursor: pointer;
}

.rgpd-check a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 500;
}

/* ── Bouton soumettre ── */
.btn-cooptation {
    background-color: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    transition: background .2s, transform .15s;
    cursor: pointer;
}

.btn-cooptation:hover {
    background-color: var(--red-dark);
    color: #fff;
    transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cooptation-wrapper {
        flex-direction: column;
    }

    .cooptation-panel-left {
        width: 100%;
        height: auto;
        position: static;
        padding: 48px 24px 40px;
    }

    .cooptation-panel-desc {
        margin-top: 28px;
        padding-top: 0;
    }

    .cooptation-panel-right {
        padding: 40px 24px 60px;
    }
}