/* TEH SERVICES CAROUSEL — Design moderne */
.teh-sc{
    --teh-blue:#193353;
    --teh-blue-light:#2a4a75;
    --teh-green:#507a2e;
    --teh-green-dark:#3f5f23;
    --teh-orange:#e05512;
    --teh-orange-light:#f07a3a;
    --teh-accent:#507a2e;
    --teh-featured:#e05512;
    position:relative;padding:0 60px;
}
.teh-sc__viewport{overflow:hidden;}
.teh-sc__track{display:flex;transition:transform .6s cubic-bezier(.25,.8,.25,1);--cols:3;}
.teh-sc__slide{min-width:calc(100%/var(--cols));padding:16px;}

/* Card moderne avec fond transparent */
.teh-sc__card{
    background:transparent;
    border-radius:24px;
    padding:0;
    text-align:center;
    position:relative;
    overflow:hidden;
    border:1px solid rgba(25,51,83,.12);
    transition:all .5s cubic-bezier(.25,.8,.25,1);
    height:100%;
    display:flex;
    flex-direction:column;
    box-shadow:0 4px 24px rgba(25,51,83,.06);
}
.teh-sc__card::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;
    height:4px;
    background:linear-gradient(90deg,var(--teh-blue),var(--teh-green));
    opacity:0;
    transition:opacity .5s;
    z-index:2;
    pointer-events:none;
}
.teh-sc__card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 60px rgba(25,51,83,.18);
    border-color:transparent;
}
.teh-sc__card:hover::before{opacity:1;}

.teh-sc__img{width:100%;height:180px;background-size:cover;background-position:center;border-radius:24px 24px 0 0;}
.teh-sc__card-body{padding:28px 24px 24px;display:flex;flex-direction:column;flex:1;}

/* Deco subtile en gradient */
.teh-sc__card-deco{
    position:absolute;
    bottom:-60px;right:-60px;
    width:140px;height:140px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--teh-green),var(--teh-blue));
    opacity:.05;
    transition:all .6s cubic-bezier(.25,.8,.25,1);
    pointer-events:none;
    z-index:0;
}
.teh-sc__card:hover .teh-sc__card-deco{transform:scale(3);opacity:.08;}

/* Icone dans cercle avec gradient — style moderne */
.teh-sc__icon-wrap{
    width:84px;height:84px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(25,51,83,.08),rgba(80,122,46,.12));
    display:flex;align-items:center;justify-content:center;
    margin:24px auto 0;
    transition:all .5s cubic-bezier(.25,.8,.25,1);
    position:relative;
    z-index:1;
}
.teh-sc__icon-wrap::before{
    content:'';
    position:absolute;
    inset:-4px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--teh-blue),var(--teh-green));
    opacity:0;
    z-index:-1;
    transition:opacity .5s;
    pointer-events:none;
}
.teh-sc__card:hover .teh-sc__icon-wrap{
    background:linear-gradient(135deg,var(--teh-blue),var(--teh-green));
    transform:scale(1.1) rotate(-6deg);
    box-shadow:0 16px 40px rgba(25,51,83,.3);
}
.teh-sc__icon{
    font-size:42px;
    background:linear-gradient(135deg,var(--teh-blue),var(--teh-green));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    transition:all .5s;
}
.teh-sc__card:hover .teh-sc__icon{
    -webkit-text-fill-color:#fff;
    background:none;
    color:#fff;
}

.teh-sc__title{
    font-size:19px;
    font-weight:800;
    color:var(--teh-blue);
    margin:18px 0 10px;
    letter-spacing:-.02em;
    line-height:1.25;
}
.teh-sc__desc{font-size:14.5px;color:#5a6478;line-height:1.65;flex:1;margin-bottom:18px;font-weight:400;}

/* Bouton CTA moderne - pill arrondi */
.teh-sc__link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    font-weight:800;
    color:#ffffff;
    text-decoration:none;
    letter-spacing:.4px;
    text-transform:uppercase;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    align-self:center;
    padding:12px 24px;
    border-radius:50px;
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    box-shadow:0 8px 20px rgba(224,85,18,.35),inset 0 1px 0 rgba(255,255,255,.2);
    border:none;
    margin-top:6px;
    position:relative;
    z-index:3;
    cursor:pointer;
}
.teh-sc__link:hover{
    transform:translateY(-3px);
    color:#ffffff;
    box-shadow:0 14px 32px rgba(224,85,18,.5),inset 0 1px 0 rgba(255,255,255,.3);
    letter-spacing:.6px;
}
.teh-sc__link:active{transform:translateY(-1px);}

/* Arrows modernes */
.teh-sc__arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;height:52px;
    border-radius:50%;
    border:2px solid rgba(25,51,83,.12);
    background:#fff;
    cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    padding:0;
    z-index:3;
    color:var(--teh-blue);
    box-shadow:0 4px 16px rgba(25,51,83,.08);
}
.teh-sc__arrow svg{width:22px;height:22px;}
.teh-sc__arrow:hover{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    border-color:transparent;
    color:#fff;
    transform:translateY(-50%) scale(1.1);
    box-shadow:0 12px 32px rgba(224,85,18,.4);
}
.teh-sc__arrow--prev{left:0;}
.teh-sc__arrow--next{right:0;}

/* Dots modernes */
.teh-sc__dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:32px;
    padding:10px 16px;
    background:rgba(25,51,83,.04);
    border-radius:50px;
    width:fit-content;
    margin-left:auto;
    margin-right:auto;
}
.teh-sc__dot{
    width:10px;height:10px;
    border-radius:50%;
    background:rgba(25,51,83,.25);
    border:none;
    cursor:pointer;
    transition:all .4s cubic-bezier(.25,.8,.25,1);
    padding:0;
}
.teh-sc__dot:hover{background:rgba(25,51,83,.5);}
.teh-sc__dot.is-active{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    transform:scale(1.3);
    box-shadow:0 0 12px rgba(224,85,18,.5);
    width:32px;
    border-radius:6px;
}

/* Responsive */
@media(max-width:1024px){.teh-sc__track{--cols:2!important;}}
@media(max-width:640px){
    .teh-sc{padding:0 10px;}
    .teh-sc__track{--cols:1!important;}
    .teh-sc__arrow{display:none;}
    .teh-sc__card{padding:24px 18px;border-radius:20px;}
    .teh-sc__slide{padding:10px;}
}

/* ═══ Carte mise en avant (Recherche de fuite par drone) ═══ */
.teh-sc__card--featured{
    background:linear-gradient(135deg,var(--teh-blue),var(--teh-blue-light));
    border:none;
    box-shadow:0 16px 48px rgba(25,51,83,.25),0 0 0 2px var(--teh-orange);
    position:relative;
    transform:scale(1.03);
}
.teh-sc__card--featured::before{
    opacity:1;
    height:5px;
    background:linear-gradient(90deg,var(--teh-orange),var(--teh-orange-light),var(--teh-orange));
}
.teh-sc__card--featured:hover{
    transform:translateY(-10px) scale(1.04);
    box-shadow:0 28px 70px rgba(25,51,83,.4),0 0 0 3px var(--teh-orange);
}
.teh-sc__card--featured .teh-sc__title{color:#fff;font-size:21px;}
.teh-sc__card--featured .teh-sc__desc{color:rgba(255,255,255,.85);}
.teh-sc__card--featured .teh-sc__icon-wrap{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    box-shadow:0 12px 32px rgba(224,85,18,.5);
}
.teh-sc__card--featured .teh-sc__icon{
    -webkit-text-fill-color:#fff;
    background:none;
    color:#fff;
}
.teh-sc__card--featured:hover .teh-sc__icon-wrap{
    transform:scale(1.15) rotate(-10deg);
    box-shadow:0 20px 48px rgba(224,85,18,.7);
}
.teh-sc__card--featured .teh-sc__card-deco{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    opacity:.12;
}
.teh-sc__card--featured .teh-sc__link{
    background:#ffffff;
    color:var(--teh-orange);
    font-weight:900;
    box-shadow:0 10px 28px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.5);
}
.teh-sc__card--featured .teh-sc__link:hover{
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    color:#ffffff;
    box-shadow:0 14px 36px rgba(224,85,18,.5),inset 0 1px 0 rgba(255,255,255,.3);
}

/* Badge featured premium */
.teh-sc__badge{
    position:absolute;
    top:18px;right:18px;
    z-index:3;
    background:linear-gradient(135deg,var(--teh-orange),var(--teh-orange-light));
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    padding:8px 14px;
    border-radius:50px;
    box-shadow:0 8px 20px rgba(224,85,18,.5),inset 0 1px 0 rgba(255,255,255,.25);
    display:inline-flex;align-items:center;gap:6px;
}
.teh-sc__badge::before{
    content:'';
    width:6px;height:6px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 0 0 4px rgba(255,255,255,.25);
    animation:tehPulse 2s ease-in-out infinite;
}
@keyframes tehPulse{
    0%,100%{box-shadow:0 0 0 4px rgba(255,255,255,.25);}
    50%{box-shadow:0 0 0 8px rgba(255,255,255,.1);}
}
