
/*=============================================================
    LANDING PAGE
    Version 1.0
=============================================================*/

/*=============================================================
    VARIABLES
=============================================================*/

:root{
    --primary:var(--color-secondary);
    --primary-dark:var(--color-primary);
    --color-secondary-light: #fded9e;
    --color-secondary-dark: #6e5c02;
    --secondary: #0f172a;
    --success: #10b981;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --title: #0f172a;
    --border: #e2e8f0;
    --shadow-sm:0 6px 20px rgba(15,23,42,.05);
    --shadow: 0 15px 40px rgba(15,23,42,.10);
    --shadow-lg: 0 35px 70px rgba(15,23,42,.16);
    --radius:22px;
    --transition:.35s ease;
}

/*=============================================================
    HERO
=============================================================*/

.hero{
    padding-top:25px;
    padding-bottom:100px;
    padding-left: 25px;
    padding-right: 25px;
    /*
    background:
    radial-gradient(circle at top right,#dbeafe 0,#ffffff 45%),
    linear-gradient(180deg,#ffffff,#f8fbff);
    */
}

.hero-title{
    margin-bottom:30px;
}

.hero-description{
    font-size:1.25rem;
    margin-bottom:45px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.hero-screen{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow-lg);
    transition:var(--transition);
}

.hero-screen img{
    width:100%;
}

.hero-screen:hover{
    transform:
        translateY(-8px)
        scale(1.01);
}


/*=============================================================
    BOUTONS
=============================================================*/

.btn{
    border-radius:999px;
    padding:14px 32px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:var(--primary);
    border:none;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(37,99,235,.35);
}

.btn-outline-primary{
    border-width:2px;
    --bs-btn-color: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: #fff;
}

.btn-outline-primary:hover{
    transform:translateY(-2px);
    --bs-btn-color:  #fff;
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow:0 15px 35px rgba(37,99,235,.35);
}

/*=============================================================
    STATS
=============================================================*/

.stats{
    margin-top:-40px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom:80px;
}

.stat-card{
    background:white;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:var(--shadow);
    height:100%;
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.stat-card i{
    font-size:42px;
    color:var(--primary);
    margin-bottom:20px;
}

.stat-card h2{
    font-size:2.5rem;
    margin:0;
}

.stat-card p{
    margin-top:10px;
    margin-bottom:0;
}

/*=============================================================
    INTRO
=============================================================*/

.intro{
    padding:90px 0 110px;
}

.intro h2{
    margin-bottom:25px;
}

.intro p{
    font-size:1.2rem;
}

/*=============================================================
    REVEAL
=============================================================*/

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition: opacity .8s,  transform .8s;
}

.reveal.active{
    opacity:1;
    transform:none;
}

/*=============================================================
    DECORATIONS
=============================================================*/

.hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-180px;

    top:-180px;

    background:#bfdbfe;

    opacity:.35;

    border-radius:50%;

    filter:blur(80px);

}

.hero::after{

    content:"";

    position:absolute;

    left:-200px;

    bottom:-200px;

    width:450px;

    height:450px;

    background:#dbeafe;

    border-radius:50%;

    filter:blur(90px);

    opacity:.35;

}

/*=============================================================
    FEATURES
=============================================================*/

#features{
    position:relative;
    padding: 0;

}

.feature-section{
    padding:15px 0;
    padding-left: 25px;
    padding-right: 25px;
    position:relative;
    scroll-margin-top: 90px;
 
}

/*
.feature-section:nth-child(even){
    background:#f8fafc;
}

.feature-section:nth-child(odd){
    background:white;
}

.feature-section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background: #eff6ff;
    filter:blur(120px);
    opacity:.5;
    z-index:0;
}

.feature-section:nth-child(odd)::before{
    top:-180px;
    left:-220px;
}

.feature-section:nth-child(even)::before{
    right:-220px;
    bottom:-180px;
}

.feature-section .container-xl{
    position:relative;
    z-index:2;
}

*/

.section-divider {
    width: 65%;
    height: 1px;
    border: 0;
    background: linear-gradient(
        to right,
        transparent,
        rgba(64, 67, 72, 0.18) 35%,
        rgba(64, 67, 72, 0.18) 65%,
        transparent
    );
    box-shadow: 0 2px 12px rgba(64, 67, 72, 0.18);
    opacity: .8;
    margin: 5rem auto;
}

.section-divider.left {
    margin-left: 6%;
    margin-right: auto;
    width: 55%;
}

.section-divider.right {
    margin-left: auto;
    margin-right: 6%;
    width: 55%;
}

/*=============================================================
    IMAGE
=============================================================*/

.feature-image{
    position:relative;
    border-radius:28px;
    overflow:hidden;
    background:white;
    box-shadow:  0 25px 70px rgba(15,23,42,.12);
    transition: transform .45s, box-shadow .45s;
}

.feature-image img{
    width:100%;
    display:block;
    transition:transform .7s;
}

.feature-image:hover{
    transform: translateY(-10px);
    box-shadow: 0 45px 90px rgba(15,23,42,.18);

}

.feature-image:hover img{
    transform:scale(1.02);
}

/*=============================================================
      AVANTAGES
=============================================================*/


.avantages-section{
    padding:15px 0;
    padding-left: 25px;
    padding-right: 25px;
}

/*=============================================================
    BARRE SUPERIEURE STYLE APPLICATION
=============================================================*/

.feature-image::before{

    content:"";

    display:block;

    height:42px;

    background:

        linear-gradient(
            to bottom,
            #fafafa,
            #ececec
        );

    border-bottom:1px solid #ddd;

}

.feature-image::after{

    content:"";

    position:absolute;

    top:14px;

    left:18px;

    width:12px;

    height:12px;

    border-radius:50%;

    background: #ff5f57;

    box-shadow:

        22px 0 #febc2e,

        44px 0 #28c840;

}

/*=============================================================
    TEXTE
=============================================================*/

.feature-category{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background: var(--color-secondary-light);
    color: var(--color-secondary-dark);
    font-weight:700;
    margin-bottom:22px;
    text-transform:uppercase;
    font-size:.78rem;
    letter-spacing:1px;
}

.feature-section h2{
    margin-bottom:28px;
    max-width:520px;
}

.feature-section p{
    font-size:1.08rem;
    margin-bottom:35px;
    max-width:520px;
}

/*=============================================================
    ICONE
=============================================================*/

.feature-icon{
    width:78px;
    height:78px;
    border-radius:22px;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin-bottom:28px;
    box-shadow:
        0 20px 40px rgba(37,99,235,.30);

}

/*=============================================================
    LISTE
=============================================================*/

.feature-list{
    list-style:none;
    padding:0;
    margin:0;
}

.feature-list li{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
    font-weight:600;
    color: #334155;

}

.feature-list i{
    width:34px;
    height:34px;
    border-radius:50%;
    background: var(--color-secondary-light);
    color: var(--color-primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    flex-shrink:0;
}



/*=============================================================
    IMAGE FLOTTANTE
=============================================================*/

.feature-image{
    position:relative;
    border-radius:28px;
    overflow:hidden;
    background:white;
    box-shadow:0 25px 70px rgba(15,23,42,.12);
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.feature-image:hover{
    transform:translateY(-10px);
    box-shadow:0 45px 90px rgba(15,23,42,.18);
}

.feature-image:hover img{
    transform:scale(1.03);
}

/*=============================================================
    TRANSITION ENTRE LES SECTIONS
=============================================================*/

.feature-section{
    overflow:hidden;
}

/*=============================================================
    PETITS DETAILS
=============================================================*/

.feature-section strong{
    color: #0f172a;
}

.feature-section em{
    font-style:normal;
    color:#2563eb;
}

.feature-section hr{
    width:90px;
    border-width:3px;
    border-color:#2563eb;
    opacity:1;
    margin:30px 0;
}

/*=============================================================
    CTA
=============================================================*/

.cta-section{
    position:relative;
    padding:70 0;
    padding-bottom:150px;
    overflow:hidden;
    background:
    radial-gradient(circle at bottom right,#dbeafe 0,#ffffff 45%),
    linear-gradient(180deg,#ffffff,#f8fbff);

}

.cta-card{
    position:relative;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:32px;
    padding:80px;
    text-align:center;
    color:white;
    overflow:hidden;
    box-shadow:
        0 35px 80px rgba(0,0,0,.25);

}

.cta-card h2{
    color:white;
    font-size:3rem;
    margin-bottom:30px;
}

.cta-card p{
    color:rgba(255,255,255,.85);
    font-size:1.2rem;
    max-width:760px;
    margin:auto;

}

.cta-label{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 22px;
    border-radius:40px;
    background:rgba(255,255,255,.15);
    color:white;
    font-weight:600;
    backdrop-filter:blur(10px);

}

.cta-feature{
    margin-top:20px;
    padding:30px;
    border-radius:22px;
    background:rgba(255,255,255,.08);
    transition:.35s;
    height:100%;
}

.cta-feature:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.14);

}

.cta-feature i{
    font-size:34px;
    margin-bottom:18px;
}

.cta-feature strong{
    display:block;
    font-size:1.1rem;
    margin-bottom:12px;
}

.cta-feature span{
    color:rgba(255,255,255,.85);
    font-size:.95rem;
    display:block;
}

.cta-card .btn{
    min-width:240px;
}

.cta-card .btn-light{
    color:#2563eb;
    font-weight:700;
}

/*=============================================================
    DECORATIONS CTA
=============================================================*/

.cta-shape{
    position:absolute;
    border-radius:50%;
    filter:blur(80px);
    opacity:.25;
}

.cta-shape-1{
    width:420px;
    height:420px;
    top:-120px;
    left:-120px;
    background:white;
}

.cta-shape-2{
    width:520px;
    height:520px;
    bottom:-220px;
    right:-180px;
    background:#60a5fa;
}


/*=============================================================
    FADE DELAY
=============================================================*/

.reveal:nth-child(1){transition-delay:.05s;}
.reveal:nth-child(2){transition-delay:.15s;}
.reveal:nth-child(3){transition-delay:.25s;}
.reveal:nth-child(4){transition-delay:.35s;}

/*=============================================================
    RESPONSIVE
=============================================================*/

@media (max-width:1200px){

    h1{

        font-size:3.2rem;

    }

    h2{

        font-size:2.4rem;

    }

}

@media (max-width:992px){

    .hero{
        padding:90px 0;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .feature-section{
        padding:90px 0;
        text-align:center;
    }

    .feature-section p{

        max-width:100%;

    }

    .feature-section h2{

        max-width:100%;

    }

    .feature-list{

        display:inline-block;

        text-align:left;

    }

    .feature-icon{

        margin-left:auto;

        margin-right:auto;

    }

    .feature-category{

        margin-bottom:18px;

    }

    .cta-card{

        padding:55px 35px;

    }

}

@media (max-width:768px){

    h1{

        font-size:2.4rem;

    }

    h2{

        font-size:2rem;

    }

    .hero{

        padding:70px 0;

    }

    .feature-section{

        padding:70px 0;

    }

    .feature-image{
        border-radius:18px;
    }

    .cta-card{
        padding:45px 25px;
        border-radius:24px;
    }

    .cta-card h2{
        font-size:2.1rem;
    }

    .stat-card{
        padding:30px;
    }

}

@media (max-width:576px){
    .btn{
        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .cta-card .btn{
        width:100%;
        margin-bottom:15px;
    }
}

/*=============================================================
    SCROLLBAR
=============================================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background: #edf2f7;
}

::-webkit-scrollbar-thumb{
    background: #94a3b8;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background: #64748b;
}

/*=============================================================
    SELECTION
=============================================================*/

::selection{
    background:#2563eb;
    color:white;
}

/*==========================================================
    RIPPLE EFFECT
==========================================================*/

.btn{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.45);
    transform:translate(-50%,-50%) scale(0);
    animation:ripple .6s ease-out;
    pointer-events:none;
}

@keyframes ripple{
    to{
        transform:translate(-50%,-50%) scale(30);
        opacity:0;
    }
}

/*=============================================================
    AVANTAGES
=============================================================*/

.advantage-item{
    display:flex;
    align-items:flex-start;
    gap:20px;
    padding:28px;
    height:100%;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(15,23,42,.06);
    transition:.3s;
}

.advantage-item:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 45px rgba(15,23,42,.10);
}

.advantage-item i{
    width:56px;
    height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background: var(--color-primary);
    color:#fff;
    font-size:22px;
    flex-shrink:0;
}

.advantage-item h5{
    margin-bottom:8px;
    font-weight:700;
    color:#0f172a;
}

.advantage-item p{
    margin:0;
    color:#64748b;
    font-size:.95rem;
}