/* =========================================================
   DARA AFFILIATION — OPPORTUNITÉS
   Premium / Blue / White / Black / Responsive
========================================================= */

.opportunity{
    position:relative;
    overflow:hidden;
    padding:120px 0 100px;
    background:
        radial-gradient(circle at 10% 20%,rgba(13,110,253,.18),transparent 28%),
        radial-gradient(circle at 90% 75%,rgba(0,198,255,.12),transparent 30%),
        linear-gradient(145deg,#020611 0%,#071329 52%,#030812 100%);
}

.opportunity .container{
    position:relative;
    z-index:5;
}

.bg-grid{
    position:absolute;
    inset:0;
    opacity:.35;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size:42px 42px;
    mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent);
    pointer-events:none;
}

.opportunity::before,
.opportunity::after{
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    filter:blur(100px);
}

.opportunity::before{
    width:380px;
    height:380px;
    top:-180px;
    left:-130px;
    background:rgba(13,110,253,.25);
}

.opportunity::after{
    width:350px;
    height:350px;
    right:-130px;
    bottom:-170px;
    background:rgba(0,198,255,.18);
}

/* Floating shapes */
.bg-shape{
    position:absolute;
    z-index:1;
    border:1px solid rgba(255,255,255,.11);
    background:rgba(255,255,255,.035);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transform:rotate(35deg);
    animation:opFloat 10s ease-in-out infinite;
    pointer-events:none;
}

.shape1{width:90px;height:90px;left:4%;top:13%;}
.shape2{width:55px;height:55px;left:14%;bottom:12%;animation-delay:-2s;}
.shape3{width:120px;height:120px;right:4%;top:20%;animation-delay:-4s;}
.shape4{width:65px;height:65px;right:15%;bottom:13%;animation-delay:-6s;}

@keyframes opFloat{
    0%,100%{transform:translate3d(0,0,0) rotate(35deg);}
    50%{transform:translate3d(0,-28px,0) rotate(120deg);}
}

/* Header */
.section-title{
    max-width:820px;
    margin:0 auto 65px;
    text-align:center;
}

.subtitle{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:9px 20px;
    border:1px solid rgba(53,200,255,.24);
    border-radius:999px;
    color:#54d5ff;
    background:rgba(13,110,253,.08);
    box-shadow:0 10px 35px rgba(13,110,253,.12);
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
}

.section-title h2{
    margin:18px 0 16px;
    color:#fff;
    font-size:clamp(34px,5vw,58px);
    line-height:1.1;
    letter-spacing:-1.5px;
}

.section-title h2 span{
    display:inline-block;
    color:#35c8ff;
    background:linear-gradient(90deg,#fff,#35c8ff,#0866ff);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.section-title p{
    max-width:720px;
    margin:auto;
    color:#aebed2;
    font-size:16px;
    line-height:1.9;
}

/* Cards */
.opportunity-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
    align-items:stretch;
}

.op-card{
    position:relative;
    min-width:0;
    padding:38px 30px 32px;
    border:1px solid rgba(100,190,255,.16);
    border-radius:28px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.025));
    box-shadow:
        0 25px 70px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    overflow:hidden;
    transform-style:preserve-3d;
    transition:transform .45s cubic-bezier(.2,.8,.2,1),
               border-color .45s ease,
               box-shadow .45s ease;
}

.op-card::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    right:-125px;
    top:-125px;
    border-radius:50%;
    background:rgba(13,110,253,.25);
    filter:blur(45px);
    transition:.5s ease;
}

.op-card::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.08),transparent 65%);
    transform:translateX(-120%);
    transition:.8s ease;
}

.op-card:hover{
    transform:translateY(-12px);
    border-color:rgba(53,200,255,.50);
    box-shadow:
        0 35px 85px rgba(0,0,0,.45),
        0 0 40px rgba(13,110,253,.12);
}

.op-card:hover::before{transform:scale(1.4);}
.op-card:hover::after{transform:translateX(120%);}

.op-card.featured{
    border-color:rgba(53,200,255,.34);
    background:
        linear-gradient(145deg,rgba(13,110,253,.16),rgba(255,255,255,.035));
    transform:translateY(-10px);
}

.op-card.featured:hover{transform:translateY(-20px);}

.featured-badge{
    position:absolute;
    top:18px;
    right:18px;
    padding:6px 11px;
    border-radius:999px;
    color:#07111f;
    background:linear-gradient(90deg,#fff,#55d7ff);
    font-size:9px;
    font-weight:800;
    letter-spacing:1px;
    box-shadow:0 8px 25px rgba(53,200,255,.25);
}

.icon-box{
    position:relative;
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:26px;
    border-radius:22px;
    background:linear-gradient(135deg,#0866ff,#21c7ff);
    box-shadow:
        0 16px 35px rgba(13,110,253,.28),
        inset 0 1px 0 rgba(255,255,255,.35);
    transition:.5s cubic-bezier(.2,.8,.2,1);
    z-index:2;
}

.icon-box i{
    color:#fff;
    font-size:30px;
    filter:drop-shadow(0 5px 10px rgba(0,0,0,.2));
}

.op-card:hover .icon-box{
    transform:translateZ(25px) rotate(-5deg) scale(1.08);
}

.op-number{
    position:absolute;
    top:31px;
    right:28px;
    color:rgba(255,255,255,.16);
    font-size:38px;
    font-weight:800;
    line-height:1;
}

.op-card h3{
    position:relative;
    z-index:2;
    color:#fff;
    font-size:22px;
    margin-bottom:14px;
}

.op-card p{
    position:relative;
    z-index:2;
    color:#aebed2;
    font-size:14px;
    line-height:1.85;
    min-height:105px;
}

.op-link{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-top:20px;
    color:#55d7ff;
    font-weight:700;
    font-size:14px;
    transition:.35s ease;
}

.op-link i{transition:.35s ease;}

.op-link:hover{color:#fff;}
.op-link:hover i{transform:translateX(7px);}

/* Bottom CTA */
.opportunity-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-top:35px;
    padding:26px 30px;
    border:1px solid rgba(53,200,255,.15);
    border-radius:24px;
    background:rgba(255,255,255,.035);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
}

.opportunity-bottom div{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.opportunity-bottom strong{
    color:#fff;
    font-size:18px;
}

.opportunity-bottom span{
    color:#91a4bb;
    font-size:13px;
}

.btn-opportunity{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:52px;
    padding:14px 27px;
    border-radius:999px;
    color:#fff;
    background:linear-gradient(135deg,#0866ff,#21c7ff);
    font-weight:700;
    box-shadow:0 15px 40px rgba(13,110,253,.25);
    transition:.4s ease;
}

.btn-opportunity:hover{
    color:#fff;
    transform:translateY(-5px);
    box-shadow:0 22px 55px rgba(33,199,255,.35);
}

.btn-opportunity i{transition:.35s ease;}
.btn-opportunity:hover i{transform:translateX(7px);}

/* Tablet */
@media(max-width:1024px){
    .opportunity{padding:100px 0 80px;}
    .opportunity-grid{
        grid-template-columns:repeat(2,1fr);
        gap:22px;
    }
    .op-card.featured{
        transform:none;
    }
    .op-card.featured:hover{
        transform:translateY(-12px);
    }
}

/* Android / iPhone */
@media(max-width:768px){
    .opportunity{
        padding:82px 0 70px;
    }

    .section-title{
        margin-bottom:45px;
        padding:0 8px;
    }

    .section-title h2{
        font-size:34px;
        letter-spacing:-.7px;
    }

    .section-title p{
        font-size:14px;
        line-height:1.8;
    }

    .opportunity-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .op-card,
    .op-card.featured{
        padding:30px 23px 27px;
        transform:none;
    }

    .op-card:hover,
    .op-card.featured:hover{
        transform:translateY(-7px);
    }

    .op-card p{
        min-height:auto;
    }

    .opportunity-bottom{
        flex-direction:column;
        align-items:stretch;
        text-align:center;
        padding:24px 20px;
    }

    .btn-opportunity{
        width:100%;
    }

    .bg-shape{
        opacity:.45;
    }

    .shape1{width:55px;height:55px;left:-8px;}
    .shape3{width:75px;height:75px;right:-18px;}
}

/* Small phones */
@media(max-width:420px){
    .section-title h2{
        font-size:29px;
    }

    .subtitle{
        padding:8px 15px;
        font-size:11px;
        letter-spacing:1.4px;
    }

    .op-card{
        border-radius:22px;
    }

    .icon-box{
        width:68px;
        height:68px;
        border-radius:19px;
    }

    .icon-box i{
        font-size:27px;
    }

    .op-card h3{
        font-size:20px;
    }

    .opportunity-bottom strong{
        font-size:16px;
    }
}

/* Touch devices: no mouse tilt artifacts */
@media(hover:none){
    .op-card:hover{
        transform:none;
    }

    .op-card.featured:hover{
        transform:none;
    }
}

@media(prefers-reduced-motion:reduce){
    .bg-shape,
    .op-card,
    .icon-box{
        animation:none!important;
        transition:none!important;
    }
}

/* =========================================================
   BLOC FORMATION & ACCOMPAGNEMENT
========================================================= */

.opportunity-intro{
    position:relative;
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:28px;
    align-items:start;
    max-width:1050px;
    margin:0 auto 42px;
    padding:38px 42px;
    overflow:hidden;
    border:1px solid rgba(53,200,255,.20);
    border-radius:30px;
    background:linear-gradient(135deg,rgba(13,110,253,.14),rgba(255,255,255,.045) 52%,rgba(0,198,255,.07));
    box-shadow:0 30px 80px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
}
.opportunity-intro::before{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:29px;
    pointer-events:none;
    background:linear-gradient(120deg,rgba(255,255,255,.08),transparent 28%,transparent 72%,rgba(53,200,255,.06));
}
.intro-glow{
    position:absolute;
    width:260px;
    height:260px;
    left:-100px;
    top:-110px;
    border-radius:50%;
    background:rgba(13,110,253,.20);
    filter:blur(55px);
    pointer-events:none;
}
.intro-icon{
    position:relative;
    z-index:2;
    width:82px;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:25px;
    background:linear-gradient(135deg,#0866ff,#21c7ff);
    box-shadow:0 18px 45px rgba(13,110,253,.30),inset 0 1px 0 rgba(255,255,255,.35);
}
.intro-icon i{
    color:#fff;
    font-size:32px;
    filter:drop-shadow(0 5px 12px rgba(0,0,0,.2));
}
.intro-content{position:relative;z-index:2;}
.intro-label{
    display:inline-block;
    margin-bottom:10px;
    color:#55d7ff;
    font-size:11px;
    font-weight:800;
    letter-spacing:2px;
}
.intro-content h3{
    margin:0 0 18px;
    color:#fff;
    font-size:clamp(25px,3vw,36px);
    line-height:1.2;
    letter-spacing:-.6px;
}
.intro-content h3 span{color:#55d7ff;}
.intro-content p{
    max-width:850px;
    margin:0 0 13px;
    color:#b5c5d8;
    font-size:15px;
    line-height:1.9;
}
.intro-content p:last-child{
    margin-bottom:0;
    color:#d7e5f5;
    font-weight:500;
}

@media(max-width:768px){
    .opportunity-intro{
        grid-template-columns:1fr;
        gap:22px;
        margin-bottom:30px;
        padding:30px 23px;
        border-radius:24px;
    }
    .intro-icon{width:68px;height:68px;border-radius:20px;}
    .intro-icon i{font-size:27px;}
    .intro-label{font-size:10px;letter-spacing:1.5px;}
    .intro-content h3{font-size:26px;margin-bottom:15px;}
    .intro-content p{font-size:14px;line-height:1.8;}
}
@media(max-width:420px){
    .opportunity-intro{padding:25px 19px;}
    .intro-content h3{font-size:23px;}
    .intro-content p{font-size:13.5px;}
}
