/* Devenir membre MHSC v2 — scoped .mh2--membre */

.mh2--membre .mh2-hero {
    padding: 36px 0 28px;
}
.mh2--membre .mh2-hero h1 {
    margin-bottom: 12px;
    font-size: 30px;
}
.mh2--membre .mh2-lead {
    margin: 0;
    max-width: 720px;
    color: #c5d7ea;
    font-size: 16px;
    line-height: 1.55;
}
.mh2--membre .mh2-body {
    padding: 24px 0 48px;
}

.mhm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
}

.mhm-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mhm-card--paid {
    border: 1px solid var(--line);
    position: relative;
}
.mhm-card--featured {
    border: 2px solid var(--blue);
    padding-top: 28px;
}
.mhm-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    white-space: nowrap;
}
.mhm-badge--value {
    position: static;
    transform: none;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 8px;
    background: #0f766e;
}
.mhm-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
}
.mhm-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    flex: 1;
}
.mhm-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
}
.mhm-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 50%;
    background: #dcfce7;
    position: relative;
}
.mhm-check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #16a34a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.mhm-card--paid .mhm-check { background: #dbeafe; }
.mhm-card--paid .mhm-check::after { border-color: var(--blue); }

.mhm-details {
    margin: 0 0 16px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}
.mhm-details summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    min-height: 40px;
    display: flex;
    align-items: center;
    list-style: none;
}
.mhm-details summary::-webkit-details-marker { display: none; }
.mhm-details summary::after {
    content: "+";
    margin-left: auto;
    font-size: 18px;
    font-weight: 700;
}
.mhm-details[open] summary::after { content: "–"; }
.mhm-details-intro {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.mhm-list--detail { flex: none; margin-bottom: 0; }
.mhm-list--detail li { font-size: 13px; }

.mhm-card-foot { margin-top: auto; text-align: center; }
.mhm-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.mhm-price-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 6px 0 14px;
}

.mhm-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    background: var(--red);
    color: #fff !important;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}
.mhm-btn:hover { background: #a50d25; color: #fff !important; }
.mhm-btn--ghost,
.mhm-btn--ghost:disabled {
    background: #eef2f6;
    color: var(--muted) !important;
    cursor: default;
}

.mhm-pay {
    margin: 24px auto 0;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px 18px;
}
.mhm-selected {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--muted);
}
.mhm-selected strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    color: var(--navy);
}
.mhm-step h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
}
.mhm-step p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--muted);
}
.mhm-step label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 10px 0 4px;
}
.mhm-step input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    box-sizing: border-box;
}
.mhm-step input:focus {
    outline: 2px solid var(--blue);
    border-color: var(--blue);
}
.mhm-err {
    margin: 8px 0 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
}
.mhm-email-big {
    word-break: break-all;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    background: #f8fafc;
    border: 1px solid var(--line);
    padding: 14px 12px;
    margin: 0 0 14px;
    text-align: center;
}
.mhm-link {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: none;
    border: 0;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}
.mhm-note {
    margin: 20px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

@media (min-width: 700px) {
    .mhm-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
    .mhm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mh2--membre .mh2-hero h1 { font-size: 32px; }
}
@media (max-width: 699px) {
    .mh2--membre .mh2-hero { padding: 24px 0 20px; }
    .mh2--membre .mh2-hero h1 { font-size: 24px; }
    .mhm-card { padding: 18px 16px; }
    .mhm-email-big { font-size: 16px; }
}
