/* ════════════════════════════════════════════════════════════
   Nature Lab — Page Parrainage
   ════════════════════════════════════════════════════════════ */

.pa-page { color: #fff; background: #0a0a0a; }
.pa-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ─── Hero override : accent rose corail (signature parrainage) ─── */
.ph--parrainage .ph__title-accent {
    color: #F472B6;
    background: linear-gradient(135deg, #F472B6 0%, #FBA5D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ph--parrainage .ph__title-accent { color: transparent; }
}

/* ─── Override fil d'Ariane : "Parrainage" (page courante) en rose corail ─── */
.ph--parrainage .ph-bc__current {
    color: #F472B6;
}

/* ─── Hero pill (« 20 € filleul = 20 pts parrain ») ─── */
.pa-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.75rem;
    padding: .65rem 1.5rem;
    background: rgba(244,114,182,.06);
    border: 1px solid rgba(244,114,182,.18);
    border-radius: 60px;
    backdrop-filter: blur(12px);
}
.pa-hero-pill__val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #F472B6;
}
.pa-hero-pill__eq {
    font-size: 1rem;
    color: rgba(255,255,255,.25);
}
@media (max-width: 768px) {
    .pa-hero-pill { margin-top: 1.25rem; padding: .5rem 1.15rem; gap: .5rem; flex-wrap: wrap; justify-content: center; }
    .pa-hero-pill__val { font-size: 1.05rem; }
}

/* ─── Sections ─── */
.pa-section__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
    text-align: center;
}

/* ─── Dashboard parrain ─── */
.pa-dash { padding: 48px 0; background: linear-gradient(180deg, rgba(244,114,182,.04), transparent 70%); }

.pa-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}
.pa-card--code { text-align: center; }
.pa-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #F472B6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.pa-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: #fff;
    background: rgba(244,114,182,.08);
    border: 2px dashed rgba(244,114,182,.4);
    border-radius: 14px;
    padding: 18px 24px;
    margin: 0 auto 18px;
    letter-spacing: 2px;
    user-select: all;
    display: inline-block;
    transition: transform .15s ease;
}
.pa-code:hover { transform: scale(1.02); }
.pa-card__hint {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    line-height: 1.55;
    margin: 14px 0 0;
}

.pa-share {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.pa-share__input {
    flex: 1;
    min-width: 200px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-family: ui-monospace, monospace;
    text-overflow: ellipsis;
}
.pa-share__input:focus { outline: 2px solid rgba(244,114,182,.5); }
.pa-share__btn {
    background: #F472B6;
    color: #0a0a0a;
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}
.pa-share__btn:hover { background: #DB2777; }
.pa-share__btn.is-copied { background: #FFCB66; color: #0a0a0a; }

/* ─── Stats ─── */
.pa-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}
.pa-stat {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: center;
}
.pa-stat--accent {
    background: rgba(244,114,182,.08);
    border-color: rgba(244,114,182,.3);
}
.pa-stat__num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.pa-stat--accent .pa-stat__num { color: #F472B6; }
.pa-stat__label {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* ─── Comment ça marche ─── */
.pa-how { padding: 64px 0; }
.pa-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 12px;
}
.pa-step {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: border-color .2s, transform .2s;
}
.pa-step:hover { border-color: rgba(244,114,182,.3); transform: translateY(-2px); }
.pa-step__num {
    width: 44px;
    height: 44px;
    line-height: 44px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #F472B6;
    color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
}
.pa-step__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.pa-step__txt {
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.pa-step__txt strong { color: #fff; }

/* ─── CTA ─── */
.pa-cta { padding: 56px 0; background: linear-gradient(180deg, rgba(244,114,182,.05), transparent); }
.pa-cta__inner { text-align: center; max-width: 640px; }
.pa-cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    margin: 0 0 12px;
}
.pa-cta__txt { color: rgba(255,255,255,.68); margin: 0 0 22px; line-height: 1.6; }
.pa-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pa-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    max-width: 100%;
    box-sizing: border-box;
}
.pa-btn--primary { background: #F472B6; color: #0a0a0a; }
.pa-btn--primary:hover { background: #DB2777; }
.pa-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}
.pa-btn--ghost:hover { background: rgba(255,255,255,.06); }

/* ─── Historique ─── */
.pa-history { padding: 48px 0; }
.pa-history__list { display: flex; flex-direction: column; gap: 10px; }
.pa-history__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 14px 18px;
    flex-wrap: wrap;
}
.pa-history__row.is-credited { border-left: 3px solid #F472B6; }
.pa-history__row.is-pending  { border-left: 3px solid #FFA500; }
.pa-history__row.is-other    { border-left: 3px solid rgba(255,255,255,.15); }
.pa-history__filleul strong { color: #fff; display: block; font-size: 14px; font-weight: 600; }
.pa-history__filleul small  { color: rgba(255,255,255,.5); font-size: 12px; }
.pa-history__status { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.pa-history__row.is-credited .pa-history__status { color: #F472B6; }
.pa-history__row.is-pending  .pa-history__status { color: #FFA500; }

/* ─── FAQ ─── */
.pa-faq { padding: 56px 0 72px; }
.pa-faq__item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .2s;
}
.pa-faq__item[open] { border-color: rgba(244,114,182,.3); }
.pa-faq__item > summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-right: 44px;
}
.pa-faq__item > summary::-webkit-details-marker { display: none; }
.pa-faq__item > summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #F472B6;
    font-size: 22px;
    font-weight: 400;
    transition: transform .25s;
}
.pa-faq__item[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.pa-faq__body {
    padding: 0 22px 18px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.65;
}
.pa-faq__body a { color: #F472B6; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
    .pa-steps { grid-template-columns: 1fr; }
    .pa-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pa-stat { padding: 16px 14px; }
}
@media (max-width: 560px) {
    .pa-wrap { padding: 0 18px; }
    .pa-card { padding: 22px 18px; }
    .pa-code { font-size: 26px; padding: 14px 18px; }
    .pa-share { flex-direction: column; }
    .pa-share__btn { width: 100%; }
    .pa-history__row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ════════════════════════════════════════════════════════════
   HOME — section parrainage (utilisée dans front-page.php)
   ════════════════════════════════════════════════════════════ */
.pa-home-cta {
    padding: 64px 24px;
    background: linear-gradient(135deg, rgba(244,114,182,.06), rgba(244,114,182,.02) 70%);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pa-home-cta__wrap { max-width: 1100px; margin: 0 auto; text-align: center; }
.pa-home-cta__eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #F472B6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px;
}
.pa-home-cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}
.pa-home-cta__title strong { color: #F472B6; }
.pa-home-cta__txt {
    color: rgba(255,255,255,.7);
    font-size: 15px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 30px;
}
.pa-home-cta__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 auto 32px;
    max-width: 900px;
}
.pa-home-cta__step {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 20px 18px;
    text-align: left;
}
.pa-home-cta__step-num {
    width: 32px; height: 32px; line-height: 32px;
    border-radius: 50%;
    background: #F472B6;
    color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}
.pa-home-cta__step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.pa-home-cta__step-txt {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.55;
    margin: 0;
}
.pa-home-cta__btn {
    display: inline-block;
    padding: 13px 28px;
    background: #F472B6;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    max-width: 100%;
    box-sizing: border-box;
    transition: background .2s ease, box-shadow .3s ease, transform .3s ease;
}
@media (hover: hover) {
    .pa-home-cta__btn:hover {
        box-shadow: 0 6px 30px rgba(244, 114, 182, 0.4);
        transform: translateY(-2px);
    }
}

@media (max-width: 880px) {
    .pa-home-cta { padding: 48px 18px; }
    .pa-home-cta__steps { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   CHECKOUT — champ code parrainage (sidebar)
   ════════════════════════════════════════════════════════════ */
.nl-co__referral {
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(244,114,182,.04);
    border: 1px solid rgba(244,114,182,.18);
    border-radius: 10px;
}
.nl-co__referral-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #F472B6;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}
.nl-co__referral-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-co__referral-input {
    flex: 1;
    min-width: 140px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    font-family: ui-monospace, monospace;
    text-transform: uppercase;
}
.nl-co__referral-input::placeholder { color: rgba(255,255,255,.35); text-transform: none; }
.nl-co__referral-btn {
    background: #F472B6;
    color: #0a0a0a;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    box-sizing: border-box;
}
.nl-co__referral-btn:hover { background: #DB2777; }
.nl-co__referral-msg {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.7);
}
.nl-co__referral-msg.is-error { color: #ff7676; }
.nl-co__referral-msg.is-success { color: #F472B6; }
