/* =====================================================
   RESET GLOBAL
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Segoe UI", Roboto, Arial, sans-serif;
    background:#ffffff;
    color:#0f172a;
    line-height:1.6;
    overflow-x:hidden;
}

/* =====================================================
   VARIABLES
===================================================== */

:root{
    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --orange:#ff7a00;

    --dark:#0f172a;
    --dark-light:#1e293b;

    --text:#334155;
    --text-light:#64748b;

    --border:#e2e8f0;

    --white:#ffffff;

    --section:#f8fafc;

    --shadow:0 10px 30px rgba(15,23,42,0.08);
}

/* =====================================================
   LOADER
===================================================== */

#loader{
    position:fixed;
    inset:0;
    background:#ffffff;
    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:center;
}

.loader-logo{
    font-size:34px;
    font-weight:700;
    color:var(--dark);
    letter-spacing:1px;
}

/* =====================================================
   HEADER
===================================================== */

.header-top{
    position:fixed;
    top:0;
    left:0;

    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0px 5%;

    background:rgba(255,255,255,0.85);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(15,23,42,0.06);

    z-index:1000;
}

/* =====================================================
   LOGO
===================================================== */

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:100px;
    width:auto;
    object-fit:c2ntain;

}

/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

/* =====================================================
   LOGIN BUTTON
===================================================== */

.login-btn{
    text-decoration:none;

    background:var(--primary);
    color:white;

    padding:11px 18px;

    border-radius:10px;

    font-size:14px;
    font-weight:600;

    transition:0.3s ease;
}

.login-btn:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

/* =====================================================
   SEARCH ICON
===================================================== */

.search-icon{
    width:44px;
    height:44px;

    border:none;
    background:transparent;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    color:var(--dark);

    cursor:pointer;

    font-size:18px;

    transition:0.3s ease;
}

.search-icon:hover{
    background:rgba(15,23,42,0.06);
}

/* =====================================================
   SEARCH OVERLAY
===================================================== */

.search-box{
    position:fixed;

    top:92px;
    left:0;

    width:100%;
    height:0;

    overflow:hidden;

    background:rgba(255,255,255,0.96);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    display:flex;
    align-items:flex-start;
    justify-content:center;

    transition:0.4s ease;

    z-index:1500;
}

.search-box.active{
    height:120px;
    padding:22px 0;
}

/* =====================================================
   SEARCH CONTAINER
===================================================== */

.search-container{
    width:100%;
    max-width:650px;

    display:flex;
    align-items:center;
    gap:12px;

    padding:0 20px;
}

.search-container input{
    flex:1;

    padding:15px 18px;

    border-radius:14px;
    border:1px solid var(--border);

    background:#ffffff;

    font-size:15px;

    outline:none;

    transition:0.3s ease;
}

.search-container input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(37,99,235,0.08);
}

.close-search{
    width:46px;
    height:46px;

    border:none;

    background:var(--dark);
    color:white;

    border-radius:12px;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:0.3s ease;
}

.close-search:hover{
    background:var(--dark-light);
}

/* =====================================================
   HAMBURGER
===================================================== */

.hamburger{
    background:transparent;
    border:none;

    display:flex;
    flex-direction:column;
    justify-content:center;

    cursor:pointer;

    padding:6px;
}

.hamburger span{
    width:26px;
    height:3px;

    background:var(--dark);

    margin:3px 0;

    border-radius:20px;
}

/* =====================================================
   MOBILE MENU
===================================================== */

.main-menu{
    position:fixed;

    top:0;
    right:-340px;

    width:320px;
    height:100vh;

    background:rgba(255,255,255,0.92);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border-left:1px solid rgba(15,23,42,0.08);

    display:flex;
    flex-direction:column;

    padding:25px;

    z-index:2000;

    transition:0.4s ease;
}

.main-menu.active{
    right:0;
}

/* =====================================================
   MENU CLOSE
===================================================== */

.menu-close{
    align-self:flex-end;

    background:none;
    border:none;

    font-size:24px;

    color:var(--dark);

    cursor:pointer;
}

/* =====================================================
   MENU LINKS
===================================================== */

.main-menu ul{
    list-style:none;

    margin-top:50px;

    flex:1;
}

.main-menu ul li{
    margin-bottom:22px;
}

.main-menu ul li a{
    text-decoration:none;

    color:var(--dark);

    font-size:18px;
    font-weight:500;

    transition:0.3s ease;
}

.main-menu ul li a:hover,
.main-menu ul li a.active{
    color:var(--orange);
    padding-left:6px;
}

/* =====================================================
   MENU FOOTER
===================================================== */

.menu-footer{
    border-top:1px solid rgba(15,23,42,0.08);

    padding-top:18px;

    text-align:center;

    color:var(--text-light);

    font-size:13px;
}


/* =========================
   PRODUCTS SECTION (FIXED)
========================= */

.products-section{
    width: 100%;
    padding: 200px 2%;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* GRID FIXE HORIZONTAL 4 COLONNES */
.products-grid{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 40px;

    flex-wrap: nowrap; /* EMPÊCHE VERTICAL */
    overflow-x: auto;

    padding: 20px 0;
}

/* =========================
   PRODUCT CARD (MATCH HOME STYLE)
========================= */

.product-card{
    position: relative;
    width: 380px;
    flex: 0 0 380px;

    padding: 45px 35px;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(15, 23, 42, 0.08);

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

    transition: all 0.35s ease;

    overflow: hidden;
}

/* HOVER IDENTIQUE STYLE PRODUIT HOME */
.product-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

/* =========================
   ICON STYLE
========================= */

.product-icon{
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: linear-gradient(135deg, #2563eb, #60a5fa);

    margin-bottom: 25px;

    box-shadow: 0 10px 25px rgba(37,99,235,0.18);
}

.product-icon i{
    font-size: 26px;
    color: white;
}

/* =========================
   TEXT
========================= */

.product-card h2{
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 18px;
}

.product-card p{
    color: #475569;
    line-height: 1.7;
    font-size: 15.5px;
    margin-bottom: 25px;
}

/* =========================
   BUTTON
========================= */

.product-btn{
    display: inline-block;
    padding: 14px 32px;

    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;

    border-radius: 50px;

    font-weight: 600;
    border: none;

    cursor: pointer;

    transition: all 0.25s ease;
}

.product-btn:hover{
    transform: translateY(-4px);
}

/* =========================
   DETAILS COLLAPSE
========================= */

.product-details{
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    margin-top: 0;
}

.product-details.active{
    max-height: 400px;
    margin-top: 20px;
}

/* =========================
   IMPORTANT FIX (NO VERTICAL BREAK)
========================= */

.products-grid::-webkit-scrollbar{
    height: 6px;
}

.products-grid::-webkit-scrollbar-thumb{
    background: #cbd5e1;
    border-radius: 10px;
}


.subscribe-btn{
    position: absolute;
    top: 18px;
    right: 18px;

    padding: 8px 16px;

    font-size: 13px;
    font-weight: 600;

    color: white;
    background: linear-gradient(135deg, #ff9800, #ffb300);

    border-radius: 30px;

    text-decoration: none;

    box-shadow: 0 8px 18px rgba(255,152,0,0.25);

    transition: 0.3s ease;

    z-index: 10;
}

.subscribe-btn:hover{
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffb300, #ffd54f);
}









/* =========================
   FINTECH CTA PREMIUM
========================= */

.fintech-cta{
    position: relative;

    padding: 110px 8%;

    overflow: hidden;

    background:
    linear-gradient(135deg,#0f172a,#1e293b);

    border-radius: 40px;

    margin: 80px 5%;
}

/* =========================
   GLOW EFFECTS
========================= */

.cta-glow{
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.25;
}

.cta-glow-1{
    width: 300px;
    height: 300px;

    background: #2563eb;

    top: -100px;
    left: -100px;
}

.cta-glow-2{
    width: 250px;
    height: 250px;

    background: #fb923c;

    bottom: -100px;
    right: -80px;
}

/* =========================
   CONTAINER
========================= */

.cta-container{
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* =========================
   LEFT CONTENT
========================= */

.cta-content{
    max-width: 520px;
}

/* BADGE */

.cta-badge{
    display: inline-block;

    padding: 10px 18px;

    border-radius: 50px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    color: #cbd5e1;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 24px;
}

/* TITLE */

.cta-content h2{
    font-size: 58px;
    line-height: 1.1;

    color: white;

    margin-bottom: 18px;

    font-weight: 800;
}

/* TEXT */

.cta-content p{
    color: #cbd5e1;

    font-size: 18px;

    margin-bottom: 35px;
}

/* =========================
   BUTTONS
========================= */

.cta-buttons{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* PRIMARY */

.cta-primary{
    padding: 16px 32px;

    background:
    linear-gradient(135deg,#2563eb,#3b82f6);

    color: white;
    text-decoration: none;

    border-radius: 16px;

    font-weight: 700;

    transition: all 0.3s ease;

    box-shadow:
    0 12px 30px rgba(37,99,235,0.35);
}

/* SECONDARY */

.cta-secondary{
    padding: 16px 32px;

    border-radius: 16px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.12);

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: all 0.3s ease;
}

/* HOVER */

.cta-primary:hover,
.cta-secondary:hover{
    transform: translateY(-4px);
}

/* =========================
   RIGHT MINI CARDS
========================= */

.cta-card{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* MINI CARD */

.mini-card{
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 24px;

    min-width: 300px;

    border-radius: 24px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(14px);

    transition: all 0.35s ease;
}

/* HOVER */

.mini-card:hover{
    transform: translateY(-6px);

    background: rgba(255,255,255,0.12);
}

/* ICON */

.mini-icon{
    width: 60px;
    height: 60px;

    border-radius: 18px;

    background:
    linear-gradient(135deg,#fb923c,#fdba74);

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 22px;
}

/* LABEL */

.mini-label{
    color: #94a3b8;

    font-size: 13px;
}

/* TITLE */

.mini-card h3{
    color: white;

    margin-top: 4px;

    font-size: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:950px){

    .cta-container{
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-content h2{
        font-size: 42px;
    }

}

@media(max-width:600px){

    .fintech-cta{
        border-radius: 28px;
        padding: 80px 8%;
    }

    .cta-content h2{
        font-size: 34px;
    }

    .mini-card{
        min-width: 100%;
    }

}

/* =========================
   FOOTER FINTECH LIGHT
========================= */

.footer{
    position: relative;

    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);

    color: #0f172a;

    padding: 90px 8% 35px;

    border-top: 1px solid rgba(15,23,42,0.08);

    overflow: hidden;
}

/* =========================
   CONTAINER
========================= */

.footer-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 50px;
}

/* =========================
   TITLE
========================= */

.footer-box h3{
    font-size: 20px;
    margin-bottom: 18px;

    color: #0f172a;

    font-weight: 700;
}

/* TEXT */

.footer-box p{
    color: #475569;

    line-height: 1.7;

    margin-bottom: 12px;

    font-size: 14px;
}

/* ICONS */

.footer-box i{
    margin-right: 10px;

    color: #2563eb;

    font-size: 15px;
}

/* =========================
   SOCIAL ICONS
========================= */

.social-icons{
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.social-icons a{
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(37,99,235,0.08);

    color: #2563eb;

    transition: all 0.3s ease;

    border: 1px solid rgba(37,99,235,0.15);
}

/* HOVER */

.social-icons a:hover{
    background: #2563eb;
    color: white;

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(37,99,235,0.25);
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
    margin-top: 60px;

    text-align: center;

    border-top: 1px solid rgba(15,23,42,0.08);

    padding-top: 22px;

    color: #64748b;

    font-size: 13px;
}

/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float{
    position: fixed;

    bottom: 22px;
    right: 22px;

    width: 60px;
    height: 60px;

    background: #25d366;

    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.18);

    z-index: 999;

    transition: all 0.3s ease;
}

/* HOVER */

.whatsapp-float:hover{
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37,211,102,0.35);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:800px){

    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons{
        justify-content: center;
    }
}