/* ===========================================================================
   Indepro - Section "Pour qui" V2
   2 personas en split avec fiche d'identité + transformation.
   =========================================================================== */

.indepro-personas {
    padding: clamp(80px, 10vw, 140px) 0;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(235, 187, 129, 0.05), transparent 60%),
        radial-gradient(ellipse at 20% 100%, rgba(201, 154, 91, 0.04), transparent 60%),
        var(--bg);
    position: relative;
    overflow: clip;
}

.indepro-personas__head {
    text-align: center;
    margin-bottom: clamp(50px, 7vw, 90px);
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}
.indepro-personas__head .indepro-tag {
    display: inline-block;
    margin-bottom: 20px;
}
.indepro-personas__head .indepro-h2 {
    margin-bottom: 20px;
}
.indepro-personas__head .indepro-lead {
    font-size: clamp(15px, 1.1vw, 17px);
    color: rgba(242, 241, 237, 0.65);
    line-height: 1.7;
}

.indepro-personas__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.5vw, 36px);
    align-items: stretch;
}

@media (max-width: 900px) {
    .indepro-personas__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* === PERSONA CARD === */
.indepro-persona {
    position: relative;
    padding: clamp(28px, 3vw, 40px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--r3);
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}
.indepro-persona:hover {
    transform: translateY(-4px);
    border-color: rgba(235, 187, 129, 0.35);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

/* Halo gold subtil dans le coin */
.indepro-persona::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(235, 187, 129, 0.18), transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    opacity: 0.5;
}
.indepro-persona:hover::before {
    opacity: 1;
}

.indepro-persona--alt::before {
    top: auto;
    right: auto;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(201, 154, 91, 0.18), transparent 70%);
}

/* Top-right accent line */
.indepro-persona::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: 0.6;
}

/* === HEAD : numéro + tag === */
.indepro-persona__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.indepro-persona__num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 800;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.indepro-persona__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 12px;
    border: 1px solid rgba(235, 187, 129, 0.3);
    background: rgba(235, 187, 129, 0.06);
    border-radius: 4px;
    white-space: nowrap;
}

/* === TITRE === */
.indepro-persona__t {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
    position: relative;
    z-index: 1;
}
.indepro-persona__t em {
    font-style: italic;
}

/* === TRANSITION ROW : chips actuels → flèche → chip cible === */
.indepro-persona__transition {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--r2);
    position: relative;
    z-index: 1;
}

.indepro-persona__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.indepro-persona__chip {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(242, 241, 237, 0.55);
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    transition: all 0.4s var(--ease);
}

.indepro-persona__chip--gold {
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border-color: var(--gold);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(235, 187, 129, 0.3);
    margin-left: auto;
}

.indepro-persona__arrow-v {
    width: 50px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .indepro-persona__transition {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .indepro-persona__arrow-v {
        width: 100%;
        height: 14px;
        transform: rotate(90deg);
    }
    .indepro-persona__chip--gold {
        margin-left: 0;
        text-align: center;
    }
}

/* === OUTCOME : phrase courte de transformation === */
.indepro-persona__outcome {
    font-size: clamp(14px, 1vw, 15.5px);
    line-height: 1.6;
    color: rgba(242, 241, 237, 0.75);
    margin: 0;
    position: relative;
    z-index: 1;
}
.indepro-persona__outcome em {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
}

/* === CTA === */
.indepro-persona__cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: transparent;
    color: var(--text) !important;
    border: 1.5px solid rgba(235, 187, 129, 0.5);
    border-radius: var(--r1);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}
.indepro-root .indepro-persona__cta:hover {
    background: var(--gold);
    color: var(--ink) !important;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(235, 187, 129, 0.35);
}
.indepro-persona__cta svg {
    transition: transform 0.3s ease;
}
.indepro-persona__cta:hover svg {
    transform: translate(2px, -2px);
}

/* === BRIDGE FINAL === */
.indepro-personas__bridge {
    text-align: center;
    margin-top: clamp(40px, 5vw, 60px);
    font-size: 15px;
    color: rgba(242, 241, 237, 0.5);
    margin-bottom: 0;
}
.indepro-personas__bridge a {
    color: var(--gold) !important;
    margin-left: 8px;
    position: relative;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.indepro-personas__bridge a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.indepro-personas__bridge a:hover {
    color: var(--gold2) !important;
}
.indepro-personas__bridge a:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* === REVEAL ANIMS === */
@media (prefers-reduced-motion: no-preference) {
    .indepro-personas .indepro-persona {
        opacity: 0;
        transform: translateY(40px);
    }
    .indepro-personas .indepro-persona.is-visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    }
    .indepro-personas .indepro-persona[data-persona="2"].is-visible {
        transition-delay: 0.15s;
    }
}
