/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fa;
    color: #111827;
}


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

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 18px 20px;

    z-index: 1000;

    background: transparent;

    transition: 0.3s ease;
}


/* Navbar après scroll */

.navbar.scrolled {
    padding: 12px 20px;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}


/* ================================
   CONTAINER
================================ */

.nav-container {

    max-width: 1150px;

    margin: auto;

    height: 64px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 18px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08);
}


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

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: #111827;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.5px;
}

.logo img {

    width: 40px;
    height: 40px;

    object-fit: cover;

    border-radius: 11px;
}

.logo span span {

    color: #ff4d00;
}


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

.nav-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;
}


.nav-link {

    position: relative;

    padding: 10px 14px;

    text-decoration: none;

    color: #4b5563;

    font-size: 14px;

    font-weight: 600;

    border-radius: 10px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


.nav-link:hover {

    color: #111827;

    background: #f3f4f6;
}


.nav-link.active {

    color: #ff4d00;
}


/* ================================
   LOGIN
================================ */

.nav-login {

    margin-left: 8px;

    padding: 11px 18px;

    color: white;

    background: #111827;

    text-decoration: none;

    border-radius: 11px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}


.nav-login:hover {

    background: #ff4d00;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(255, 77, 0, 0.25);
}


/* ================================
   HAMBURGER
================================ */

.hamburger {

    display: none;

    width: 44px;
    height: 44px;

    border: none;

    border-radius: 12px;

    background: #f3f4f6;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


.hamburger span {

    width: 20px;
    height: 2px;

    background: #111827;

    border-radius: 10px;

    transition: 0.3s ease;
}


/* Animation hamburger */

.hamburger.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.hamburger.active span:nth-child(2) {

    opacity: 0;
}


.hamburger.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}




/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

    .nav-container {

        height: 60px;

        padding: 0 14px;

        border-radius: 15px;
    }


    .logo {

        font-size: 18px;
    }


    .logo img {

        width: 36px;
        height: 36px;
    }


    /* Hamburger */

    .hamburger {

        display: flex;
    }


    /* Menu mobile */

    .nav-menu {

        position: absolute;

        top: calc(100% + 10px);

        left: 50%;

        width: calc(100% - 40px);

        max-width: 380px;

        padding: 10px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        background: rgba(255, 255, 255, 0.96);

        backdrop-filter: blur(20px);

        border: 1px solid #e5e7eb;

        border-radius: 18px;

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.12);

        transform:
            translate(-50%, -10px)
            scale(0.96);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            0.25s ease;
    }


    /* Menu ouvert */

    .nav-menu.active {

        transform:
            translate(-50%, 0)
            scale(1);

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    .nav-link {

        width: 100%;

        padding: 14px;

        text-align: center;

        font-size: 15px;
    }


    .nav-login {

        margin: 5px 0 0;

        padding: 14px;

        text-align: center;
    }

}






/* =================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =================================
   SECTION CONNEXION
================================= */

.login-section {

    width: 100%;
    min-height: 100vh;

    padding: 40px 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 77, 0, 0.10),
            transparent 35%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(0, 0, 0, 0.06),
            transparent 35%
        ),

        #f7f7f7;
}


/* =================================
   CARTE
================================= */

.login-card {

    width: 100%;
    max-width: 430px;

    padding: 40px 35px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08);
}


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

.login-header {

    text-align: center;

    margin-bottom: 35px;
}


.login-logo {

    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #fff1eb;

    font-size: 27px;
}


.login-header h1 {

    margin-bottom: 8px;

    color: #111111;

    font-family: Arial, sans-serif;

    font-size: 30px;

    letter-spacing: -1px;
}


.login-header p {

    color: #777777;

    font-family: Arial, sans-serif;

    font-size: 14px;

    line-height: 1.5;
}


/* =================================
   CHAMPS
================================= */

.login-field {

    margin-bottom: 20px;
}


.login-field label {

    display: block;

    margin-bottom: 8px;

    color: #222222;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;
}


.login-field input {

    width: 100%;

    height: 52px;

    padding: 0 15px;

    border: 1px solid #dddddd;

    border-radius: 12px;

    outline: none;

    background: #fafafa;

    color: #111111;

    font-family: Arial, sans-serif;

    font-size: 14px;

    transition: 0.25s ease;
}


.login-field input:focus {

    background: #ffffff;

    border-color: #ff4d00;

    box-shadow:
        0 0 0 4px rgba(255, 77, 0, 0.08);
}


.login-field input::placeholder {

    color: #999999;
}


/* =================================
   MOT DE PASSE
================================= */

.password-box {

    position: relative;

    width: 100%;
}


.password-box input {

    padding-right: 50px;
}


.password-toggle {

    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 17px;
}


/* =================================
   OPTIONS
================================= */

.login-options {

    display: flex;

    align-items: center;

    margin: 5px 0 25px;
}


.remember {

    display: flex;

    align-items: center;

    gap: 9px;

    cursor: pointer;

    color: #666666;

    font-family: Arial, sans-serif;

    font-size: 13px;
}


.remember input {

    width: 16px;
    height: 16px;

    accent-color: #ff4d00;

    cursor: pointer;
}


/* =================================
   BOUTON
================================= */

.login-button {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: #111111;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}


.login-button:hover {

    background: #ff4d00;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(255, 77, 0, 0.20);
}


.login-button:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =================================
   MESSAGE
================================= */

.login-message {

    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: 600;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 500px) {

    .login-section {

        padding: 25px 15px;
    }


    .login-card {

        padding: 32px 22px;

        border-radius: 20px;
    }


    .login-header h1 {

        font-size: 27px;
    }

}





.gm-login-message {
    min-height: 20px;

    margin-top: 15px;

    text-align: center;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s ease;
}