/* ============================================================
   NOWISTECH HEADER — Design custom signature
   Version : 3.0.0 (HTML logo simplifié, plus de hacks Jannah)
   ============================================================ */


/* ============================================================
   1. HEADER CONTAINER — Gradient signature
   ============================================================ */
.nowis-header {
    background: linear-gradient(90deg, #E8A23A 0%, #E91E63 100%);
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 100;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.nowis-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 32px;
}


/* ============================================================
   2. TOP ROW (logo + menu)
   ============================================================ */
.nowis-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}


/* ============================================================
   3. LOGO — Propre maintenant qu'on a notre propre HTML
   ============================================================ */
.nowis-header__logo {
    flex-shrink: 0;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
    display: inline-block;
    line-height: 1;
}

.nowis-header__logo:hover {
    opacity: 0.92;
    text-decoration: none !important;
}

.nowis-header__logo::after {
    display: none !important;
}

.nowis-header__logo-text {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    line-height: 1;
    display: inline-block;
}

.nowis-header__logo img {
    max-height: 44px;
    width: auto;
    display: block;
}


/* ============================================================
   4. NAVIGATION MENU
   ============================================================ */
.nowis-header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nowis-header__menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nowis-header__menu li {
    margin: 0;
    padding: 0;
    background: transparent;
}

.nowis-header__menu li::before {
    display: none !important;
    content: none !important;
}

.nowis-header__menu a {
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    -webkit-text-fill-color: #FFFFFF !important;
    display: inline-block;
    background: none !important;
}

.nowis-header__menu a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.nowis-header__menu a::after {
    display: none !important;
}


/* ============================================================
   5. BURGER (mobile only)
   ============================================================ */
.nowis-header__burger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.nowis-header__burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nowis-header__burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nowis-header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.nowis-header__burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* ============================================================
   6. SEARCH BAR (centrée, large)
   ============================================================ */
.nowis-header__search {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.nowis-header__search-form {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 60px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    gap: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nowis-header__search-form:focus-within {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.nowis-header__search-icon {
    color: #E91E63;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nowis-header__search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 500;
    color: #2c3049;
    padding: 12px 0;
    font-family: inherit;
    box-shadow: none !important;
}

.nowis-header__search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.nowis-header__search-button {
    background: #2c3049 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 60px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.nowis-header__search-button:hover {
    background: #1a1d2e !important;
    transform: translateY(-1px);
}


/* ============================================================
   7. RESPONSIVE TABLET
   ============================================================ */
@media (max-width: 1024px) {
    .nowis-header__inner {
        padding: 20px 24px;
    }

    .nowis-header__menu {
        gap: 20px;
    }

    .nowis-header__menu a {
        font-size: 14px;
    }
}


/* ============================================================
   8. RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .nowis-header__inner {
        padding: 16px 20px;
    }

    .nowis-header__top {
        margin-bottom: 16px;
    }

    .nowis-header__logo-text {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .nowis-header__nav {
        display: none;
    }

    .nowis-header__nav.is-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #E8A23A 0%, #E91E63 100%);
        padding: 20px 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 150;
    }

    .nowis-header__nav.is-active .nowis-header__menu {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .nowis-header__nav.is-active .nowis-header__menu a {
        font-size: 16px;
    }

    .nowis-header__burger {
        display: flex;
    }

    .nowis-header__search-form {
        padding: 6px 6px 6px 20px;
    }

    .nowis-header__search-input {
        font-size: 14px;
        padding: 10px 0;
    }

    .nowis-header__search-button {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .nowis-header__search-button {
        padding: 10px 14px !important;
        font-size: 0 !important;
    }

    .nowis-header__search-button::before {
        content: '→';
        font-size: 18px;
    }
}
