/*==========================================
  HEADER - SIMAR
==========================================*/

.header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    transition:.4s ease;
    
}

.header.scrolled{
    background:rgba(3,27,52,.92);
    backdrop-filter:blur(18px);
    box-shadow:0 10px 35px rgba(0,0,0,.18);
}



.navbar{
    height:95px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/*==========================================
LOGO
==========================================*/

.logo{
    display:flex;
    align-items:center;
}

.logo img{

    width:145px;

    transition:.4s;

}

.logo:hover img{

    transform:scale(1.05);

}

/*==========================================
MENU DESKTOP
==========================================*/

.nav-menu{

    display:flex;

    align-items:center;

    gap:45px;

}

.nav-menu a{

    position:relative;

    color:#fff;

    font-weight:500;

    font-size:16px;

    transition:.3s;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#00d4ff;

    transition:.35s;

}

.nav-menu a:hover{

    color:#00d4ff;

}

.nav-menu a:hover::after{

    width:100%;

}

/*==========================================
BOUTON
==========================================*/

.btn-login{

display:inline-flex;

justify-content:center;

align-items:center;

padding:10px 20px;

border-radius:50px;

background:linear-gradient(135deg,#0077ff,#00d4ff);

color:white;

font-weight:600;

transition:.4s;

box-shadow:0 10px 25px rgba(0,140,255,.25);

}

.btn-login:hover{

transform:translateY(-4px);

box-shadow:0 18px 35px rgba(0,140,255,.35);

}

/*==========================================
HAMBURGER
==========================================*/

.menu-toggle{

display:none;

width:45px;

height:45px;

cursor:pointer;

justify-content:center;

align-items:center;

flex-direction:column;

gap:6px;

}

.menu-toggle span{

width:28px;

height:3px;

background:#fff;

border-radius:5px;

transition:.4s;

}

/*==========================================
MENU MOBILE
==========================================*/
.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: min(320px, 100vw);
    max-width: 100vw;

    height: 100dvh;

    background: #031B34;

    z-index: 99999;

    padding: 35px;

    display: flex;
    flex-direction: column;

    overflow-x: hidden;
    overflow-y: auto;

    transform: translateX(100%);

    transition: transform .45s ease;
}


.mobile-menu.active {
    transform: translateX(0);
}

.mobile-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:45px;

}

.mobile-header img{

width:120px;

}

.mobile-header i{

font-size:34px;

color:white;

cursor:pointer;

}

.mobile-menu nav{

display:flex;

flex-direction:column;

gap:28px;

}

.mobile-menu nav a{

color:white;

font-size:18px;

font-weight:500;

padding-bottom:10px;

border-bottom:1px solid rgba(255,255,255,.08);

transition:.3s;

}

.mobile-menu nav a:hover{

padding-left:12px;

color:#00d4ff;

}

.mobile-btn{

margin-top:50px;

padding:16px;

border-radius:50px;

text-align:center;

background:linear-gradient(135deg,#0077ff,#00d4ff);

color:white;

font-weight:600;

}


.header-action{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*==========================================
TABLETTE
==========================================*/

@media(max-width:992px){

.nav-menu{

display:none;

}

.header-action{

display:none;

}

.menu-toggle{

display:flex;

}

.logo img{

width:120px;

}

}

/*==========================================
MOBILE
==========================================*/

@media(max-width:768px){

.navbar{

height:80px;

}

.logo img{

width:105px;

}

.mobile-menu{

width:100%;

padding:30px;

}

.mobile-menu nav a{

font-size:20px;

}

}

/*==========================================
PETIT MOBILE
==========================================*/

@media(max-width:480px){

.logo img{

width:90px;

}

.mobile-menu{

padding:25px;

}

.mobile-menu nav{

gap:22px;

}

.mobile-menu nav a{

font-size:18px;

}

.mobile-btn{

font-size:15px;

}

}



/* =====================================================
   LANGUAGE SELECTOR
===================================================== */

.language-selector {
    position: relative;
    margin-right: 16px;
    background:linear-gradient(135deg,#0077ff,#00d4ff);

    color:white;
}


/* CURRENT LANGUAGE */

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.08);

    color: inherit;

    border-radius: 10px;

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.language-current:hover {
    background: rgba(255, 255, 255, 0.15);

    border-color: rgba(255, 255, 255, 0.35);
}


.language-current:active {
    transform: scale(0.97);
}


/* FLAG */

.language-flag {
    font-size: 18px;

    line-height: 1;
}


/* ARROW */

.language-current i {
    font-size: 11px;

    transition: transform 0.3s ease;
}


.language-selector.open .language-current i {
    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN
===================================================== */

.language-dropdown {
    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    width: 170px;

    padding: 6px;

    border-radius: 14px;

    background: rgba(20, 20, 25, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(14px);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-8px) scale(0.97);

    transform-origin: top right;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 10000;
}


/* OPEN */

.language-selector.open .language-dropdown {
    opacity: 1;

    visibility: visible;

    transform: translateY(0) scale(1);
}


/* OPTION */

.language-option {
    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    padding: 11px 12px;

    border-radius: 10px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.language-option:hover {
    background: rgba(255, 255, 255, 0.1);

    transform: translateX(3px);
}


/* ACTIVE */

.language-option.active {
    background: rgba(255, 255, 255, 0.12);

    font-weight: 700;
}


.language-option-flag {
    font-size: 19px;

    line-height: 1;
}


/* CHECK */

.language-option i {
    margin-left: auto;

    font-size: 12px;
}


/* =====================================================
   MOBILE LANGUAGE
===================================================== */

.mobile-language-selector {
    padding: 22px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    margin: 20px 0;
}


.mobile-language-title {
    display: block;

    margin-bottom: 12px;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    opacity: 0.55;
}


.mobile-language-options {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
}




/*.mobile-language-options a {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 12px 10px;

    border-radius: 10px;

    border: 1px solid rgba(0, 0, 0, 0.1);

    text-decoration: none;

    color: inherit;

    font-size: 14px;

    font-weight: 600;

    transition:
        all 0.25s ease;
} */

.mobile-language-options a {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 12px 8px;

    overflow: hidden;
}


/*.mobile-language-options a span {
    font-size: 18px;
} */
.mobile-language-options a span {
    flex-shrink: 0;
}


.mobile-language-options a:hover {
    transform: translateY(-2px);
}


.mobile-language-options a.active {
    border-color: rgba(0, 0, 0, 0.5);

    font-weight: 700;
}


.mobile-language-options a i {
    font-size: 11px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .language-selector {
        display: none;
    }

        .mobile-menu {
        width: 100vw;
        max-width: 100vw;
        padding: 30px;
    }

}




/* =====================================================
   FLAGS
===================================================== */

.language-flag {
    display: flex;
    align-items: center;
}

.language-flag img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
}


.language-option-flag {
    display: flex;
    align-items: center;
}

.language-option-flag img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}


.mobile-language-options a span {
    display: flex;
    align-items: center;
}

.mobile-language-options a span img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}