/* ===================================================== */
/* RESET */
/* ===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===================================================== */
/* ROOT */
/* ===================================================== */

:root{

    --primary:#2f80ed;

    --dark:#081225;

    --black:#000000;

    --white:#ffffff;

    --gray:#f5f7fb;

    --text:#222222;

}

/* ===================================================== */
/* HTML */
/* ===================================================== */

html{

    scroll-behavior:smooth;

}

/* ===================================================== */
/* BODY */
/* ===================================================== */

body{

    font-family:'Tajawal',sans-serif;

    background:#ffffff;

    color:var(--text);

    overflow-x:hidden;

    line-height:1.6;

    padding-top:205px;

}

/* ===================================================== */
/* IMAGES */
/* ===================================================== */

img{

    max-width:100%;

    height:auto;

    display:block;

}

/* ===================================================== */
/* LINKS */
/* ===================================================== */

a{

    text-decoration:none;

    transition:.3s;

}

/* ===================================================== */
/* LISTES */
/* ===================================================== */

ul{

    list-style:none;

}

/* ===================================================== */
/* CONTAINER */
/* ===================================================== */

.container{

    width:95%;

    max-width:1450px;

    margin:0 auto;

    padding:0 15px;

}
/* ===================================================== */
/* HEADER */
/* ===================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#ffffff;

    z-index:99999;

    box-shadow:0 2px 12px rgba(0,0,0,.06);

    transition:.35s;

}

/* ===================================================== */
/* HEADER TOP */
/* ===================================================== */

.header-top{

    width:100%;

    background:#ffffff;

    overflow:hidden;

    transition:all .35s ease;

}

/* ===================================================== */
/* HEADER TOP MASQUÉ */
/* ===================================================== */

.header-top.hide-header{

    max-height:0;

    opacity:0;

    overflow:hidden;

    padding:0;

    margin:0;

}

/* ===================================================== */
/* TOP BAR */
/* ===================================================== */

.top-bar{

    background:#ffffff;

    border-bottom:1px solid #ececec;

    padding:18px 0;

}

/* ===================================================== */
/* CONTENU DU TOP */
/* ===================================================== */

.top-bar-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

}

/* ===================================================== */
/* NAVIGATION */
/* ===================================================== */

.header-nav{

    width:100%;

}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.navbar{

    background:var(--dark);

    min-height:62px;

    display:flex;

    align-items:center;

    position:relative;

    z-index:999;

}

/* ===================================================== */
/* CONTENU NAVBAR */
/* ===================================================== */

.nav-content{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

}
/* ===================================================== */
/* LOGO */
/* ===================================================== */

.top-right{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    flex-shrink:0;

}

.logo-box{

    display:flex;

    align-items:center;

    justify-content:center;

}

.logo-box img{

    width:170px;

    height:auto;

    object-fit:contain;

}

/* ===================================================== */
/* CONTACT */
/* ===================================================== */

.top-center{

    flex:1;

    text-align:center;

}

.top-center p{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    font-size:15px;

    color:#333;

    margin:6px 0;

}

.top-center i{

    color:var(--primary);

    font-size:16px;

}

/* ===================================================== */
/* LANGUES + RESEAUX */
/* ===================================================== */

.top-left{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:14px;

    flex-wrap:wrap;

}

/* ===================================================== */
/* LANGUES */
/* ===================================================== */

.lang-item{

    display:flex;

    align-items:center;

    gap:8px;

    color:#222;

    font-size:15px;

    font-weight:600;

}

.lang-item:hover{

    color:var(--primary);

}

.lang-item img{

    width:22px;

    height:22px;

    border-radius:50%;

    object-fit:cover;

}

/* ===================================================== */
/* RESEAUX SOCIAUX */
/* ===================================================== */

.social-icons{

    display:flex;

    align-items:center;

    gap:10px;

}

.social-icons a{

    width:40px;

    height:40px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.social-icons a:hover{

    background:#111;

    transform:translateY(-3px);

}
/* ===================================================== */
/* MENU DESKTOP */
/* ===================================================== */

.nav-menu{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:22px;

    flex-wrap:nowrap;

}

/* ===================================================== */
/* ITEMS */
/* ===================================================== */

.nav-menu li{

    position:relative;

    flex:0 0 auto;

}

/* ===================================================== */
/* LIENS */
/* ===================================================== */

.nav-menu li a{

    display:block;

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    padding:22px 0;

    white-space:nowrap;

    position:relative;

    transition:.3s;

}

/* ===================================================== */
/* TRAIT HOVER */
/* ===================================================== */

.nav-menu li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-2px;

    width:0;

    height:3px;

    background:var(--primary);

    border-radius:20px;

    transition:.3s;

}

/* ===================================================== */
/* HOVER */
/* ===================================================== */

.nav-menu li:hover>a{

    color:#ffffff;

}

.nav-menu li:hover>a::after{

    width:100%;

}

/* ===================================================== */
/* MENU ACTIF */
/* ===================================================== */

.nav-menu li.active>a{

    color:#ffffff;

}

.nav-menu li.active>a::after{

    width:100%;

}

/* ===================================================== */
/* BOUTON MOBILE */
/* ===================================================== */

.mobile-nav-toggle{

    display:none;

    cursor:pointer;

    flex-direction:column;

    justify-content:center;

    gap:6px;

}

.mobile-nav-toggle span{

    width:30px;

    height:3px;

    background:#ffffff;

    border-radius:30px;

    transition:.3s;

}
/* ===================================================== */
/* OVERLAY */
/* ===================================================== */

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99998;

}

.menu-overlay.active{

    opacity:1;

    visibility:visible;

}

/* ===================================================== */
/* MENU MOBILE */
/* ===================================================== */

.mobile-menu{

    position:fixed;

    top:0;

    left:-100%;

    width:86%;

    max-width:380px;

    height:100vh;

    background:#ffffff;

    overflow-y:auto;

    transition:.35s;

    z-index:999999;

    padding:25px;

    box-shadow:6px 0 30px rgba(0,0,0,.15);

}

.mobile-menu.active{

    left:0;

}

/* ===================================================== */
/* HEADER MENU MOBILE */
/* ===================================================== */

.mobile-menu-header{

    display:flex;

    justify-content:flex-end;

    margin-bottom:30px;

}

/* ===================================================== */
/* BOUTON FERMER */
/* ===================================================== */

.mobile-menu-header i{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#f3f4f6;

    color:var(--primary);

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.mobile-menu-header i:hover{

    transform:rotate(90deg);

}

/* ===================================================== */
/* LISTE MENU */
/* ===================================================== */

.mobile-menu-list{

    display:flex;

    flex-direction:column;

    gap:14px;

}

/* ===================================================== */
/* LIENS */
/* ===================================================== */

.mobile-menu-list li a{

    display:block;

    padding:15px 18px;

    background:#f5f7fb;

    border-radius:12px;

    color:#222;

    font-weight:600;

    transition:.3s;

}

.mobile-menu-list li a:hover{

    background:var(--primary);

    color:#ffffff;

    padding-left:25px;

}

/* ===================================================== */
/* BARRES HAMBURGER */
/* ===================================================== */

.mobile-nav-toggle:hover span{

    background:#66a6ff;

}
/* ===================================================== */
/* RESPONSIVE 1400px */
/* ===================================================== */

@media (max-width:1400px){

    .nav-menu{

        gap:16px;

    }

    .nav-menu li a{

        font-size:13px;

    }

}

/* ===================================================== */
/* TABLETTE */
/* ===================================================== */

@media (max-width:992px){

    body{

        padding-top:390px;

    }

    .top-bar{

        padding:20px 0;

    }

    .top-bar-content{

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        text-align:center;

        gap:18px;

    }

    /* LOGO */

    .top-right{

        order:1;

        width:100%;

        justify-content:center;

    }

    .logo-box img{

        width:150px;

    }

    /* CONTACT */

    .top-center{

        order:2;

        width:100%;

    }

    .top-center p{

        justify-content:center;

        font-size:14px;

    }

    /* LANGUES + RESEAUX */

    .top-left{

        order:3;

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:15px;

    }

    .lang-item{

        justify-content:center;

    }

    .social-icons{

        justify-content:center;

        flex-wrap:wrap;

        gap:12px;

    }

    /* NAVBAR */

    .nav-menu{

        display:none;

    }

    .mobile-nav-toggle{

        display:flex;

    }

    .nav-content{

        justify-content:flex-start;

        min-height:62px;

    }

}
/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media (max-width:768px){

    body{

        padding-top:420px;

    }

    /* ========================= */
    /* HEADER TOP */
    /* ========================= */

    .top-bar{

        padding:18px 0;

    }

    .top-bar-content{

        gap:15px;

    }

    /* ========================= */
    /* LOGO */
    /* ========================= */

    .logo-box img{

        width:135px;

    }

    /* ========================= */
    /* CONTACT */
    /* ========================= */

    .top-center{

        width:100%;

    }

    .top-center p{

        font-size:13px;

        justify-content:center;

    }

    /* ========================= */
    /* LANGUES */
    /* ========================= */

    .top-left{

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:12px;

    }

    .lang-item{

        display:flex;

        align-items:center;

        justify-content:center;

        font-size:14px;

    }

    .lang-item img{

        width:22px;

        height:22px;

    }

    /* ========================= */
    /* RESEAUX */
    /* ========================= */

    .social-icons{

        display:flex;

        justify-content:center;

        align-items:center;

        flex-wrap:wrap;

        gap:10px;

        width:100%;

    }

    .social-icons a{

        width:38px;

        height:38px;

        font-size:16px;

    }

    /* ========================= */
    /* MENU */
    /* ========================= */

    .mobile-menu{

        width:88%;

    }

}

/* ===================================================== */
/* PETIT MOBILE */
/* ===================================================== */

@media (max-width:480px){

    body{

        padding-top:450px;

    }

    .container{

        width:92%;

    }

    .logo-box img{

        width:120px;

    }

    .top-center p{

        font-size:12px;

    }

    .lang-item{

        font-size:13px;

    }

    .social-icons{

        gap:8px;

    }

    .social-icons a{

        width:34px;

        height:34px;

        font-size:14px;

    }

    .mobile-menu{

        width:90%;

    }

}
/* ===================================================== */
/* HEADER AU SCROLL */
/* ===================================================== */

.header{

    transition:box-shadow .35s ease;

}

/* ===================================================== */
/* CACHE UNIQUEMENT LE HEADER TOP */
/* ===================================================== */

.header-top{

    max-height:250px;

    opacity:1;

    overflow:hidden;

    transition:max-height .35s ease,
               opacity .35s ease,
               padding .35s ease,
               margin .35s ease;

}

.header-top.hide-header{

    max-height:0;

    opacity:0;

    padding:0;

    margin:0;

    border:none;

}

/* ===================================================== */
/* NAVBAR TOUJOURS VISIBLE */
/* ===================================================== */

.header-nav{

    position:relative;

    z-index:1000;

}

/* ===================================================== */
/* OMBRE AU SCROLL */
/* ===================================================== */

.header.header-scroll{

    box-shadow:0 8px 24px rgba(0,0,0,.12);

}

/* ===================================================== */
/* NAVBAR FIXE */
/* ===================================================== */

.navbar{

    position:relative;

    z-index:1001;

}

/* ===================================================== */
/* ANIMATION */
/* ===================================================== */

.header-top,
.navbar,
.header{

    will-change:transform,opacity;

}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */

@media (max-width:992px){

    .header-top{

        max-height:340px;

    }

    .header-top.hide-header{

        max-height:0;

    }

}

/* ===================================================== */
/* PETIT MOBILE */
/* ===================================================== */

@media (max-width:480px){

    .header-top{

        max-height:390px;

    }

}
/* ===================================================== */
/* SÉLECTION */
/* ===================================================== */

::selection{

    background:var(--primary);

    color:#fff;

}

/* ===================================================== */
/* SCROLLBAR */
/* ===================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#1f6fd6;

}

/* ===================================================== */
/* FOCUS */
/* ===================================================== */

a:focus,
button:focus,
input:focus,
textarea:focus{

    outline:none;

}

/* ===================================================== */
/* TRANSITIONS */
/* ===================================================== */

.logo-box img,
.lang-item,
.social-icons a,
.nav-menu li a,
.mobile-menu-list li a,
.mobile-nav-toggle span{

    transition:all .3s ease;

}

/* ===================================================== */
/* ICÔNES */
/* ===================================================== */

i{

    vertical-align:middle;

}

/* ===================================================== */
/* IMAGES */
/* ===================================================== */

img{

    user-select:none;

    -webkit-user-drag:none;

}

/* ===================================================== */
/* MENU MOBILE */
/* ===================================================== */

.mobile-menu{

    scrollbar-width:thin;

    scrollbar-color:var(--primary) #f1f1f1;

}

/* ===================================================== */
/* HEADER */
/* ===================================================== */

.header{

    backface-visibility:hidden;

    -webkit-backface-visibility:hidden;

    transform:translateZ(0);

}

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */

.navbar{

    width:100%;

}

/* ===================================================== */
/* CONTAINER */
/* ===================================================== */

.container{

    position:relative;

}

/* ===================================================== */
/* LIENS */
/* ===================================================== */

a{

    cursor:pointer;

}

/* ===================================================== */
/* BOUTONS */
/* ===================================================== */

button{

    cursor:pointer;

    font-family:inherit;

}

/* ===================================================== */
/* FIN HEADER.CSS */
/* ===================================================== */
