/* =========================================================
   VHCloud - HEADER + NAV FIX FINAL
========================================================= */

:root{
    --vh-blue:#0b35ff;
    --vh-blue-dark:#071ec4;
    --vh-navy:#06112f;
    --vh-border:#dbe6ff;
    --vh-bg:#f4f7ff;
    --vh-text:#071437;
}

/* =========================================================
   BASE
========================================================= */

html,
body{
    margin:0;
    padding:0;
    overflow-x:hidden;
    background:var(--vh-bg)!important;
    font-family:'Open Sans',sans-serif;
}

a{
    text-decoration:none!important;
}

.container{
    width:100%;
    max-width:1380px;
}

/* =========================================================
   HEADER
========================================================= */

.vh-site-header{
    position:relative;
    z-index:9999;
    background:#fff;
}

/* =========================================================
   TOPBAR
========================================================= */

.vh-topbar{
    background:linear-gradient(
        135deg,
        #06112f 0%,
        #071ec4 45%,
        #0b35ff 100%
    );
}

.vh-topbar-inner{
    width:100%;
    max-width:1480px;
    margin:auto;
    padding:16px 30px;
    display:flex;
    align-items:center;
    gap:24px;
}

/* =========================================================
   LOGO
========================================================= */

.vh-logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff!important;
    font-size:26px;
    font-weight:900;
    white-space:nowrap;
}

.vh-logo-mark{
    width:48px;
    height:44px;
    border-radius:14px;
    background:#fff;
    color:#071ec4;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:900;
}

/* =========================================================
   SEARCH
========================================================= */

.vh-search{
    flex:1;
    max-width:460px;
    height:44px;
    border-radius:14px;
    overflow:hidden;
    display:flex;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
}

.vh-search input{
    flex:1;
    border:0!important;
    background:transparent!important;
    color:#fff!important;
    outline:none!important;
    padding:0 16px!important;
    font-size:14px;
}

.vh-search input::placeholder{
    color:rgba(255,255,255,.82);
}

.vh-search button{
    width:54px;
    border:0;
    background:rgba(255,255,255,.12);
    color:#fff;
}

/* =========================================================
   TOP LINKS
========================================================= */

.vh-links{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:12px;
}

.vh-links a{
    color:#fff!important;
    font-size:14px;
    font-weight:700;
    padding:10px 14px;
    border-radius:12px;
    white-space:nowrap;
}

.vh-links a:hover{
    background:rgba(255,255,255,.12);
}

/* =========================================================
   NAVBAR
========================================================= */

.vh-nav-wrap{
    background:#fff;
    border-bottom:1px solid var(--vh-border);
    position:relative;
    z-index:9000;
}

.vh-nav{
    width:100%;
    max-width:1480px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    position:relative;
}

.vh-nav-item{
    position:static;
}

.vh-nav-item > a{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:0 22px;
    font-size:13px;
    font-weight:800;
    color:#0839c9!important;
    white-space:nowrap;
    transition:.2s;
}

.vh-nav-item:hover > a,
.vh-nav-item.active > a{
    background:#eef4ff;
    color:#0b35ff!important;
}

/* =========================================================
   MEGA MENU
========================================================= */

.vh-mega{
    display:none;
    position:absolute;
    top:58px;
    left:50%;
    transform:translateX(-50%);
    width:min(1120px,calc(100vw - 40px));
    background:#fff;
    border:1px solid #dbe6ff;
    border-radius:0 0 18px 18px;
    box-shadow:0 28px 70px rgba(0,20,120,.16);
    padding:28px;
    z-index:99999;
    overflow:hidden;
}

.vh-nav-item:hover .vh-mega{
    display:block;
}

.vh-mega-title{
    font-size:14px;
    font-weight:900;
    color:#071437;
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px solid #e6eeff;
}

.vh-mega-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.vh-mega-col{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0;
}

.vh-mega-item{
    display:block;
    padding:12px;
    border-radius:12px;
    transition:.2s;
}

.vh-mega-item:hover{
    background:#f3f7ff;
}

.vh-mega-item strong{
    display:block;
    color:#0050d8;
    font-size:13px;
    margin-bottom:5px;
}

.vh-mega-item span{
    display:block;
    color:#4f5f92;
    font-size:12px;
    line-height:1.5;
}

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

.vh-hero{
    background:linear-gradient(
        135deg,
        #06112f 0%,
        #081b64 45%,
        #0b35ff 100%
    );
    color:#fff;
    padding:80px 32px;
}

.vh-hero-inner{
    max-width:1280px;
    margin:auto;
}

.vh-hero-badge{
    display:inline-flex;
    padding:10px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    margin-bottom:24px;
    font-size:13px;
    font-weight:800;
}

.vh-hero h1{
    max-width:860px;
    font-size:52px;
    line-height:1.05;
    font-weight:900;
    margin:0 0 22px;
}

.vh-hero p{
    max-width:760px;
    color:#d9e7ff;
    font-size:18px;
    line-height:1.7;
    margin-bottom:34px;
}

.vh-hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.vh-hero-btn{
    min-height:50px;
    padding:0 24px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
}

.vh-hero-btn-primary{
    background:#fff;
    color:#071ec4!important;
}

.vh-hero-btn-outline{
    border:1px solid rgba(255,255,255,.28);
    color:#fff!important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .vh-mega-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:1000px){

    .vh-topbar-inner{
        flex-wrap:wrap;
        padding:16px;
    }

    .vh-search{
        order:3;
        width:100%;
        max-width:100%;
    }

    .vh-links{
        width:100%;
        justify-content:center;
        margin-left:0;
        flex-wrap:wrap;
    }

    .vh-nav{
        justify-content:flex-start;
        overflow-x:auto;
        padding:0 8px;
    }

    .vh-nav::-webkit-scrollbar{
        height:0;
    }

    .vh-mega{
        display:none!important;
    }
}

@media(max-width:700px){

    .vh-topbar-inner{
        gap:14px;
    }

    .vh-logo{
        font-size:22px;
    }

    .vh-logo-mark{
        width:42px;
        height:40px;
    }

    .vh-search{
        height:44px;
    }

    .vh-links a{
        font-size:13px;
        padding:8px 10px;
    }

    .vh-hero{
        padding:50px 20px;
    }

    .vh-hero h1{
        font-size:34px;
    }

    .vh-hero p{
        font-size:16px;
    }
}


/* =========================================================
   FOOTER VHCloud
========================================================= */

.vh-footer{
    margin-top:70px;
    background:linear-gradient(
        135deg,
        #06112f 0%,
        #071ec4 45%,
        #0b35ff 100%
    );
    color:#fff;
    position:relative;
    overflow:hidden;
}

/* Effet fond */
.vh-footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(255,255,255,.10),
        transparent 35%);
    pointer-events:none;
}

/* Partie principale */
.vh-footer-main{
    position:relative;
    z-index:2;
    max-width:1480px;
    margin:auto;
    padding:70px 40px;
}

/* Grid */
.vh-footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
}

/* Branding */
.vh-footer-brand{
    max-width:520px;
}

.vh-footer-logo{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:24px;
    font-size:34px;
    font-weight:900;
    color:#fff!important;
}

.vh-footer-logo-mark{
    width:58px;
    height:58px;
    border-radius:18px;
    background:#fff;
    color:#071ec4;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:900;
    box-shadow:0 12px 30px rgba(0,0,0,.20);
}

.vh-footer-brand p{
    color:rgba(255,255,255,.82);
    line-height:1.8;
    font-size:15px;
}

/* Colonnes */
.vh-footer h4{
    margin:0 0 20px;
    font-size:17px;
    font-weight:800;
    color:#fff;
}

.vh-footer ul{
    list-style:none;
    margin:0;
    padding:0;
}

.vh-footer li{
    margin-bottom:14px;
}

.vh-footer a{
    color:rgba(255,255,255,.82)!important;
    transition:.2s;
    font-size:14px;
}

.vh-footer a:hover{
    color:#fff!important;
    padding-left:4px;
}

/* Bas footer */
.vh-footer-bottom{
    position:relative;
    z-index:2;
    border-top:1px solid rgba(255,255,255,.12);
    background:rgba(0,0,0,.10);
    backdrop-filter:blur(10px);
}

.vh-footer-bottom-inner{
    max-width:1480px;
    margin:auto;
    padding:24px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.vh-footer-copy{
    color:rgba(255,255,255,.78);
    font-size:14px;
}

.vh-footer-links{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.vh-footer-links a{
    color:rgba(255,255,255,.82)!important;
    font-size:14px;
}

.vh-footer-links a:hover{
    color:#fff!important;
}

/* Responsive */
@media(max-width:1100px){

    .vh-footer-grid{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }
}

@media(max-width:700px){

    .vh-footer-main{
        padding:50px 24px;
    }

    .vh-footer-grid{
        grid-template-columns:1fr;
        gap:34px;
    }

    .vh-footer-bottom-inner{
        padding:20px 24px;
        flex-direction:column;
        align-items:flex-start;
    }

    .vh-footer-logo{
        font-size:28px;
    }

    .vh-footer-logo-mark{
        width:50px;
        height:50px;
        font-size:18px;
    }
}

/* =========================================================
   HEADER - PANIER SI ARTICLE
========================================================= */

.vh-cart-link{
    position:relative;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:0 14px!important;
    border-radius:14px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    color:#fff!important;
    font-weight:800!important;
    white-space:nowrap;
    transition:.2s;
}

.vh-cart-link:hover{
    background:rgba(255,255,255,.24)!important;
    transform:translateY(-1px);
}

.vh-cart-link i{
    font-size:15px;
}

.vh-cart-text{
    font-size:14px;
    font-weight:800;
}

.vh-cart-count{
    min-width:22px;
    height:22px;
    padding:0 7px;
    border-radius:999px;
    background:#fff;
    color:#071ec4;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}

@media(max-width:700px){
    .vh-cart-text{
        display:none;
    }

    .vh-cart-link{
        padding:0 12px!important;
    }
}



/* =========================================================
   FIX MODAL CENTER WHMCS
========================================================= */

/* uniquement quand la modal est ouverte */
.modal.show{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:20px !important;
}

.modal.show .modal-dialog{
    width:100% !important;
    max-width:760px !important;
    margin:0 auto !important;
}

.modal.show .modal-content{
    border-radius:22px !important;
    overflow:hidden !important;
    border:0 !important;
    box-shadow:0 35px 100px rgba(0,0,0,.30) !important;
}

.modal.show .modal-header{
    padding:26px 30px !important;
    border-bottom:1px solid #eef2ff !important;
}

.modal.show .modal-body{
    padding:34px !important;
    text-align:center !important;
}

.modal.show .modal-footer{
    padding:24px 30px !important;
    border-top:1px solid #eef2ff !important;
    justify-content:center !important;
    gap:12px !important;
}

.modal-backdrop.show{
    opacity:.65 !important;
}

@media(max-width:700px){

    .modal.show{
        padding:14px !important;
    }

    .modal.show .modal-dialog{
        max-width:100% !important;
    }

    .modal.show .modal-body{
        padding:24px !important;
    }

}




