/* =============================================================
   HEADER.CSS — Styles du header global NOUAVOU.NET
   Composant : Flash News Ticker + Sticky Navigation
   ============================================================= */

/* ── Flash News Ticker ───────────────────────────────────────── */
.flash-news {
    background: #0B132B;
    color: #fff;
    padding: 10px 0;
    border-bottom: 2px solid #39FF14;
    overflow: hidden;
}
.flash-news .container {
    display: flex;
    align-items: center;
}
.flash-label {
    background: #39FF14;
    color: #0B132B;
    padding: 2px 10px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 20px;
    white-space: nowrap;
}
.ticker-wrapper {
    flex: 1;
    height: 20px;
    overflow: hidden;
    position: relative;
}
.ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    transition: top 0.5s ease-in-out;
}
.ticker-item {
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-item a {
    color: #fff;
    text-decoration: none;
}
.ticker-cat {
    color: #39FF14;
    font-weight: bold;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 11px;
}

/* ── Sticky Header ───────────────────────────────────────────── */
header.primary.sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}
header.primary .nav-list > li > a {
    color: #0B132B !important;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}
header.primary .nav-list > li > a:hover {
    color: #39FF14 !important;
}

/* ── Logo ────────────────────────────────────────────────────── */
.logotype {
    color: #0B132B !important;
    font-size: 24px;
    font-weight: 900;
}
.logotype span {
    color: #39FF14;
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav-list {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.header-search {
    margin-left: 20px;
}
.search-form-inline {
    display: flex;
    background: #f4f4f4;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2px 12px;
    transition: 0.3s;
    width: 180px;
}
.search-form-inline:focus-within {
    border-color: #39FF14;
    background: #fff;
    width: 220px;
}
.search-form-inline input {
    background: transparent;
    border: none;
    color: #0B132B;
    padding: 5px;
    outline: none;
    font-size: 13px;
    width: 100%;
}
.search-form-inline button {
    background: transparent;
    border: none;
    color: #0B132B;
    cursor: pointer;
}
.header-account {
    margin-left: auto;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .nav-list { display: block; }
    .header-search { margin-left: 0; margin-top: 10px; }
    .header-account { margin-left: 0; }
}
