/* ============================================
   WINUCAR — Header & Footer
   ============================================ */

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */

.wuc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

/* Devient opaque au scroll (classe ajoutée par JS) */
.wuc-header.is-scrolled {
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.wuc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    height: 72px;
}


/* ── Logo ── */
.wuc-logo {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wuc-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.wuc-logo-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.wuc-logo-text span {
    color: #E8FF00;
}


/* ── Navigation ── */
.wuc-nav { flex: 1; }

.wuc-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wuc-nav-list li a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color .18s, background .18s;
    white-space: nowrap;
}

.wuc-nav-list li a:hover,
.wuc-nav-list li.current-menu-item > a {
    color: #FFFFFF;
    background: rgba(255,255,255,.07);
}


/* ── Actions droite ── */
.wuc-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Panier */
.wuc-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    border-radius: 8px;
    transition: color .18s, background .18s;
}

.wuc-cart-btn:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,.08);
}

.wuc-cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: #E8FF00;
    color: #0D0D0D;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Bouton CTA header */
.wuc-header-cta {
    background: #E8FF00;
    color: #0D0D0D;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 7px;
    letter-spacing: .3px;
    transition: background .18s, transform .15s;
    white-space: nowrap;
}

.wuc-header-cta:hover {
    background: #C8DF00;
    color: #0D0D0D;
    transform: translateY(-1px);
    text-decoration: none;
}


/* ── Hamburger mobile ── */
.wuc-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background .18s;
}

.wuc-hamburger:hover { background: rgba(255,255,255,.08); }

.wuc-hamburger span {
    display: block;
    height: 2px;
    background: #FFFFFF;
    border-radius: 1px;
    transition: transform .25s ease, opacity .2s ease, width .2s ease;
    transform-origin: center;
}

/* État ouvert */
.wuc-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wuc-hamburger.is-open span:nth-child(2) { opacity: 0; }
.wuc-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Menu mobile overlay ── */
@media (max-width: 900px) {
    .wuc-hamburger { display: flex; }
    .wuc-header-cta { display: none; }

    .wuc-header-inner { padding: 0 24px; gap: 16px; }

    .wuc-nav {
        position: fixed;
        inset: 0;
        top: 72px;
        background: rgba(13,13,13,.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 999;
    }

    .wuc-nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .wuc-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .wuc-nav-list li a {
        font-size: 28px;
        font-weight: 800;
        padding: 12px 24px;
        color: rgba(255,255,255,.6);
        letter-spacing: -0.5px;
    }

    .wuc-nav-list li a:hover,
    .wuc-nav-list li.current-menu-item > a {
        color: #E8FF00;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .wuc-nav-list li a { font-size: 22px; }
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */

.wuc-footer {
    background: #0D0D0D;
    border-top: 1px solid rgba(255,255,255,.08);
    font-family: 'Inter', system-ui, sans-serif;
}

.wuc-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 60px 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.wuc-footer-brand {
    flex-shrink: 0;
}

.wuc-footer-tagline {
    color: #6B6B6B;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.5;
}

.wuc-footer-links {
    display: flex;
    gap: 60px;
}

.wuc-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wuc-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.wuc-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wuc-footer-col ul li a {
    color: #6B6B6B;
    font-size: 14px;
    text-decoration: none;
    transition: color .18s;
}

.wuc-footer-col ul li a:hover { color: #FFFFFF; }

.wuc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.wuc-footer-bottom p {
    color: #3A3A3A;
    font-size: 12px;
    line-height: 1.5;
}

/* ── Footer responsive ── */
@media (max-width: 768px) {
    .wuc-footer-inner {
        flex-direction: column;
        padding: 48px 24px 32px;
        gap: 40px;
    }

    .wuc-footer-links { gap: 32px; }

    .wuc-footer-bottom { padding: 20px 24px; }
}

@media (max-width: 480px) {
    .wuc-footer-links { flex-direction: column; gap: 32px; }
}
