/* ==================================================
   HERO SLIDER
================================================== */

.hero-slider{
    position:relative;
    height:80vh;
}

.heroSwiper,
.swiper-wrapper,
.swiper-slide{
    height:100%;
}

/* SLIDE BASE */

.slide{
    position:relative;
    display:flex;
    align-items:center;
    background-size:cover;
    background-position:center;
    justify-content:flex-start;
}



/* OVERLAY INDUSTRIEL */

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(30,27,75,.92),
        rgba(30,41,59,.75),
        rgba(30,41,59,.55)
    );
}

/* CONTENU */

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    max-width:750px;
    margin-left:0;      /* important */
    padding-left:120px; /* pousse vers la gauche */
}

/* BADGE */

.badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    font-size:13px;

    background:rgba(99,102,241,.15);
    border:1px solid rgba(99,102,241,.35);

    color:#c7d2fe;
    backdrop-filter:blur(10px);
}

/* TITRE */

.hero-content h1{
    font-size:64px;
    font-weight:800;
    line-height:1.1;
    margin:20px 0;
}

/* PARAGRAPHE */

.hero-content p{
    font-size:18px;
    color:#e2e8f0;
    max-width:600px;
}

/* BOUTONS */

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

/* PRIMARY */

.btn-primary{
    background:linear-gradient(135deg,#6366f1,#4338ca);
    color:white;
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
}

/* OUTLINE */

.btn-outline{
    border:1px solid rgba(255,255,255,.4);
    color:white;
    padding:14px 28px;
    border-radius:50px;
    backdrop-filter:blur(10px);
}

/* HOVER */

.btn-primary:hover,
.btn-outline:hover{
    transform:translateY(-3px);
    transition:.3s;
}

/* SWIPER CUSTOM */

.swiper-button-next,
.swiper-button-prev{
    color:white;
}

.swiper-pagination-bullet{
    background:white;
    opacity:.5;
}

.swiper-pagination-bullet-active{
    background:#6366f1;
    opacity:1;
}

/* ==================================================
   ABOUT SECTION
================================================== */

.about-section{
    padding:80px 0;
    background:#f8fafc;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* BADGE */

.section-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;

    background:rgba(99,102,241,.12);
    border:1px solid rgba(99,102,241,.25);

    color:#4338ca;
    font-size:13px;
    font-weight:600;

    margin-bottom:20px;
}

/* TITRE */

.about-text h2{
    font-size:42px;
    font-weight:800;
    line-height:1.2;

    color:#1e293b;

    margin-bottom:20px;
}

/* TEXTES */

.about-text p{
    font-size:16px;
    color:#475569;
    margin-bottom:15px;
}

/* LISTE */

.about-list{
    margin:25px 0;
}

.about-list li{
    margin-bottom:10px;
    font-weight:500;
    color:#334155;
}

/* IMAGE */

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:25px;

    box-shadow:0 30px 60px rgba(0,0,0,.12);
}

/* petit effet décoratif */

.about-image::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    top:20px;
    left:20px;

    border-radius:25px;

    background:linear-gradient(
        135deg,
        #6366f1,
        #4338ca
    );

    z-index:-1;
    opacity:.15;
}

/* BUTTON reuse (si déjà défini il reste ok) */

.btn-primary{
    display:inline-block;
    margin-top:10px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .about-grid{
        grid-template-columns:1fr;
    }

    .about-text h2{
        font-size:32px;
    }

    .about-image img{
        height:350px;
    }
}

/* ==================================================
   STATS SECTION PREMIUM CTA
================================================== */

.stats-section{

    position:relative;

    padding:80px 0;

    margin:0;

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    overflow:hidden;
}

/* OVERLAY BLEU-VIOLET */

.stats-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(30,27,75,.95),
        rgba(67,56,202,.85)
    );

    z-index:1;
}

/* HEADER TEXTE */

.stats-header{

    position:relative;

    z-index:2;

    text-align:center;

    color:white;

    margin-bottom:40px;
}

.stats-header h2{

    font-size:38px;

    font-weight:800;

    margin-bottom:10px;
}

.stats-header p{

    color:#e2e8f0;

    max-width:700px;

    margin:auto;
}

/* GRID */

.stats-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;
}

/* CARDS GLASS */

.stat-card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(12px);

    padding:30px 20px;

    text-align:center;

    border-radius:20px;

    transition:.3s;

    color:white;
}

.stat-card:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.12);
}

/* NUMBERS */

.stat-card h2{

    font-size:40px;

    font-weight:800;

    color:#ffffff;

    margin-bottom:5px;
}

/* TEXT */

.stat-card p{

    font-size:14px;

    color:#e2e8f0;
}

/* RESPONSIVE */

@media(max-width:991px){

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-header h2{
        font-size:30px;
    }
}

@media(max-width:576px){

    .stats-grid{
        grid-template-columns:1fr;
    }
}

/* ==================================================
   SERVICES SECTION
================================================== */

.services-section{

    padding-top:80px;

    background:#f8fafc;
}

/* HEADER */

.section-header{

    text-align:center;

    margin-bottom:50px;
}

.section-header h2{

    font-size:38px;

    font-weight:800;

    color:#1e293b;

    margin-bottom:10px;
}

.section-header p{

    color:#64748b;

    max-width:600px;

    margin:auto;
}

/* GRID */

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;
}

/* CARD */

.service-card{

    background:white;

    padding:30px 20px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.3s;

    border:1px solid rgba(99,102,241,.08);
}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(67,56,202,.15);
    border-color:rgba(99,102,241,.3);
}

/* ICON */

.icon{

    width:55px;

    height:55px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    background:linear-gradient(135deg,#6366f1,#4338ca);

    color:white;

    margin-bottom:15px;
}

/* TITLE */

.service-card h3{

    font-size:18px;

    font-weight:700;

    color:#1e293b;

    margin-bottom:15px;
}

/* LIST */

.service-card ul{

    padding-left:18px;
}

.service-card ul li{

    font-size:14px;

    color:#475569;

    margin-bottom:8px;
}

/* RESPONSIVE */

@media(max-width:991px){

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:576px){

    .services-grid{
        grid-template-columns:1fr;
    }
}
/* ==================================================
   SERVICES CTA
================================================== */

.services-cta{

    text-align:center;

    margin-top:40px;
}

/* BOUTON */

.btn-services{

    display:inline-block;

    padding:14px 32px;

    border-radius:50px;

    font-weight:600;

    color:white;

    background:linear-gradient(
        135deg,
        #6366f1,
        #4338ca
    );

    box-shadow:0 15px 35px rgba(67,56,202,.25);

    transition:.3s;
}

/* HOVER */

.btn-services:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(67,56,202,.35);

    color:white;
}

/* ==================================================
   CTA DEVIS RAPIDE
================================================== */

.cta-section{

    position:relative;

    padding:90px 0;

    margin-bottom:60px;

    background:url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1920&q=80');

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    overflow:hidden;
}

/* OVERLAY MIL */

.cta-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(30,27,75,.95),
        rgba(67,56,202,.85)
    );

    z-index:1;
}

/* CONTENU */

.cta-content{

    position:relative;

    z-index:2;

    text-align:center;

    color:white;

    max-width:800px;
}

/* TITRE */

.cta-content h2{

    font-size:42px;

    font-weight:800;

    margin-bottom:15px;
}

/* TEXTE */

.cta-content p{

    font-size:16px;

    color:#e2e8f0;

    margin-bottom:30px;
}

/* BOUTON */

.btn-cta{

    display:inline-block;

    padding:16px 38px;

    border-radius:50px;

    font-weight:700;

    color:white;

    background:linear-gradient(
        135deg,
        #6366f1,
        #4338ca
    );

    box-shadow:0 20px 50px rgba(67,56,202,.35);

    transition:.3s;
}

/* HOVER */

.btn-cta:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 60px rgba(67,56,202,.45);

    color:white;
}

/* RESPONSIVE */

@media(max-width:768px){

    .cta-content h2{
        font-size:30px;
    }

    .cta-content p{
        font-size:14px;
    }
}

/* ==================================================
   TESTIMONIAL SECTION
================================================== */

.testimonial-section{


    background:#f8fafc;
}

/* CARD */

.testimonial-card{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    border:1px solid rgba(99,102,241,.08);

    height:100%;

    transition:.3s;
}

.testimonial-card:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 60px rgba(67,56,202,.15);
}

/* TEXT */

.testimonial-card p{

    font-size:15px;

    color:#475569;

    margin-bottom:20px;

    font-style:italic;
}

/* NAME */

.testimonial-card h4{

    margin:0;

    color:#4338ca;

    font-weight:700;
}

/* ROLE */

.testimonial-card span{

    font-size:13px;

    color:#94a3b8;
}

/* SWIPER LAYOUT 2 PAR LIGNE */

.testimonialSwiper .swiper-slide{

    width:50%;
}

/* RESPONSIVE */

@media(max-width:991px){

    .testimonialSwiper .swiper-slide{
        width:100%;
    }
}

/* PAGINATION BUTTONS */

.swiper-pagination{

    margin-top:30px;

    position:relative;
}

.swiper-pagination-bullet{

    background:#4338ca;

    opacity:.3;

    width:10px;

    height:10px;
}

.swiper-pagination-bullet-active{

    opacity:1;

    transform:scale(1.2);
}

/* ==================================================
   CTA TESTIMONIAL
================================================== */

.testimonial-cta{

    text-align:center;

    /* margin-top:40px; */
}

.testimonial-cta p{

    font-size:14px;

    color:#64748b;

    margin-bottom:10px;
}

.btn-testimonial{

    display:inline-block;

    padding:14px 30px;

    border-radius:50px;

    font-weight:600;

    color:white;

    background:linear-gradient(
        135deg,
        #6366f1,
        #4338ca
    );

    box-shadow:0 15px 35px rgba(67,56,202,.25);

    transition:.3s;
}

.btn-testimonial:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(67,56,202,.35);

    color:white;
}
/* ==================================================
   AVATAR TÉMOIGNAGE
================================================== */

.testimonial-avatar{

    width:55px;

    height:55px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:10px;

    border:2px solid #6366f1;
}

/* ==================================================
   USER TESTIMONIAL BLOCK
================================================== */

.testimonial-user{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:15px;
}

/* AVATAR */

.testimonial-avatar{

    width:50px;

    height:50px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid #6366f1;
}

/* PLACEHOLDER (si pas d'image) */

.testimonial-avatar-placeholder{

    width:50px;

    height:50px;

    border-radius:50%;

    background:linear-gradient(135deg,#6366f1,#4338ca);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;
}

/* INFOS TEXTE */

.testimonial-info h4{

    margin:0;

    font-size:15px;

    color:#4338ca;

    font-weight:700;
}

.testimonial-info span{

    font-size:13px;

    color:#94a3b8;
}

.home-blog{
    padding:80px 0;
    background:#e1ecf7;
}

.blog-home-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

/* CARD */
.home-blog-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.4s;
}

.home-blog-card:hover{
    transform:translateY(-10px);
}

/* IMAGE */
.home-blog-image{
    position:relative;
    height:220px;
}

.home-blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* CATEGORY */
.blog-category{
    position:absolute;
    top:15px;
    left:15px;

    background:linear-gradient(135deg,#6366f1,#4f46e5);
    color:#fff;

    padding:6px 12px;
    font-size:12px;
    border-radius:20px;
}

/* CONTENT */
.home-blog-content{
    padding:20px;
}

.blog-date{
    font-size:13px;
    color:#64748b;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    gap:6px;
}

.home-blog-content h3{
    font-size:18px;
    margin-bottom:10px;
    color:#111827;
}

.home-blog-content p{
    font-size:14px;
    color:#6b7280;
    line-height:1.6;
}

/* BUTTON */
.read-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:15px;
    color:#4f46e5;
    font-weight:600;
}

/* RESPONSIVE */
@media(max-width:991px){
    .blog-home-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .blog-home-grid{
        grid-template-columns:1fr;
    }
}

.about-services-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:20px;
}

.about-service-item{
    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 18px;
    border-radius:14px;

    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    box-shadow:0 10px 25px rgba(0,0,0,.05);

    transition:.3s;
}

.about-service-item:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    border-color:#6366f1;
}

.about-service-item .icon{
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:linear-gradient(135deg,#6366f1,#4338ca);
    color:white;

    font-weight:bold;
    font-size:14px;
}

.about-service-item .text{
    font-weight:600;
    color:#111827;
}

/* responsive */
@media(max-width:768px){
    .about-services-grid{
        grid-template-columns:1fr;
    }
}