/* ===========================================================
   BJL · Carrousel de Services
   =========================================================== */
.bjl-srv{
    --bjl-accent:#ff6301;
    --bjl-primary:#1f1e8f;
    --bjl-gap:26px;
    position:relative;
    width:100%;
}

.bjl-srv-viewport{ overflow:hidden; width:100%; }
.bjl-srv-track{
    display:flex;
    gap:var(--bjl-gap);
    transition:transform .55s cubic-bezier(.2,.8,.2,1);
    will-change:transform;
}
.bjl-srv-card{
    flex:0 0 auto;
    position:relative;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
}

/* Icône (commune) */
.bjl-srv-ic{
    flex:0 0 auto;
    width:62px; height:62px;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg, var(--bjl-accent), #ff8a3d);
    color:#fff; font-size:26px;
    box-shadow:0 10px 24px rgba(255,99,1,0.32);
}
.bjl-srv-ic svg{ width:1em; height:1em; fill:currentColor; }

.bjl-srv-title{ font-size:1.22rem; font-weight:800; line-height:1.25; margin:0; }
.bjl-srv-text{ font-size:.97rem; line-height:1.6; margin:0; }

/* Bouton devis */
.bjl-srv-btn{
    display:inline-flex; align-items:center; justify-content:center;
    align-self:flex-start;
    padding:13px 26px;
    border-radius:10px;
    background:linear-gradient(135deg, var(--bjl-accent), #ff8a3d);
    color:#fff !important;
    font-weight:700; font-size:.95rem;
    text-decoration:none;
    transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow:0 8px 20px rgba(255,99,1,0.30);
}
.bjl-srv-btn:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(255,99,1,0.42); filter:brightness(1.04); }

/* ===========================================================
   DESIGN 1 — OVERLAY (image en fond)
   =========================================================== */
.bjl-srv-d-overlay .bjl-srv-card{ height:380px; display:flex; align-items:flex-end; }
.bjl-srv-d-overlay .bjl-srv-bg{
    position:absolute; inset:0;
    background-size:cover; background-position:center;
    transition:transform .6s ease;
}
.bjl-srv-d-overlay .bjl-srv-card:hover .bjl-srv-bg{ transform:scale(1.08); }
.bjl-srv-d-overlay .bjl-srv-shade{
    position:absolute; inset:0;
    background:linear-gradient(to top, rgba(15,15,60,0.92) 8%, rgba(15,15,60,0.45) 50%, rgba(15,15,60,0.12) 100%);
}
.bjl-srv-d-overlay .bjl-srv-inner{
    position:relative; z-index:2;
    display:flex; flex-direction:column; gap:12px;
    padding:26px;
    width:100%;
}
.bjl-srv-d-overlay .bjl-srv-title{ color:#fff; }
.bjl-srv-d-overlay .bjl-srv-text{ color:rgba(255,255,255,0.9); }

/* ===========================================================
   DESIGN 2 — IMAGE EN HAUT + ICÔNE FLOTTANTE
   =========================================================== */
.bjl-srv-d-top .bjl-srv-card{
    display:flex; flex-direction:column;
    border:1px solid rgba(31,30,143,0.07);
}
.bjl-srv-d-top .bjl-srv-media{ position:relative; line-height:0; }
.bjl-srv-d-top .bjl-srv-media img{ width:100%; height:200px; object-fit:cover; display:block; }
.bjl-srv-d-top .bjl-srv-media .bjl-srv-ic{
    position:absolute; left:24px; bottom:-31px; z-index:2;
}
.bjl-srv-d-top .bjl-srv-inner{
    display:flex; flex-direction:column; gap:12px;
    padding:42px 24px 26px;
}
.bjl-srv-d-top .bjl-srv-title{ color:var(--bjl-primary); }
.bjl-srv-d-top .bjl-srv-text{ color:#5a6472; }

/* ===========================================================
   DESIGN 3 — ICÔNE SEULE
   =========================================================== */
.bjl-srv-d-icon .bjl-srv-card{
    border:1px solid rgba(31,30,143,0.07);
    transition:transform .3s ease, box-shadow .3s ease;
}
.bjl-srv-d-icon .bjl-srv-card:hover{ transform:translateY(-6px); }
.bjl-srv-d-icon .bjl-srv-inner{
    display:flex; flex-direction:column; gap:14px;
    padding:32px 26px;
}
.bjl-srv-d-icon .bjl-srv-title{ color:var(--bjl-primary); }
.bjl-srv-d-icon .bjl-srv-text{ color:#5a6472; }

/* ===========================================================
   NAVIGATION (barre en bas, centrée)
   =========================================================== */
.bjl-srv-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin:26px auto 0;
    width:-moz-fit-content;
    width:fit-content;
    max-width:100%;
}
.bjl-srv-nav .bjl-srv-dots{ margin:0 4px; }
.bjl-srv-arrow{
    flex:0 0 auto;
    width:46px !important; height:46px !important;
    min-width:0; max-width:46px;
    display:flex; align-items:center; justify-content:center;
    border:none !important; border-radius:50% !important;
    background:var(--bjl-primary); color:#fff;
    cursor:pointer;
    padding:0 !important;
    box-shadow:0 8px 20px rgba(31,30,143,0.25);
    transition:background .3s ease, transform .25s ease;
}
.bjl-srv-arrow:hover{ background:var(--bjl-accent); transform:scale(1.06); }

.bjl-srv-dots{
    display:flex; justify-content:center; align-items:center; gap:9px;
}
.bjl-srv-dot{
    width:10px; height:10px; border-radius:50%;
    background:rgba(31,30,143,0.25);
    border:none; cursor:pointer; padding:0;
    transition:background .25s ease, transform .25s ease, width .25s ease;
}
.bjl-srv-dot.is-active{ background:var(--bjl-accent); width:26px; border-radius:5px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width:1024px){
    .bjl-srv-arrow{ width:42px; height:42px; }
}
@media (max-width:600px){
    .bjl-srv-d-overlay .bjl-srv-card{ height:340px; }
    .bjl-srv-arrow{ width:40px; height:40px; }
    .bjl-srv-nav{ gap:14px; margin-top:20px; }
}
