/* ========================================
   HEADER CUSTOM ZEA - STICKY + LOGO
   ======================================== */

/* Masquer le header Astra par défaut sur la page d'accueil */
.page-template-template-home .site-header {
    display: none;
}

/* Header custom ZEA */
.zea-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Header au scroll - fond qui apparaît */
.zea-header.scrolled {
    top: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    
}

.zea-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    transition: min-height 0.3s ease;
}

.zea-header.scrolled .zea-header__container {
    min-height: 70px;
}

/* Logo */
.zea-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.zea-header__logo:hover {
    transform: scale(1.05);
}

.zea-header__logo-img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.zea-header.scrolled .zea-header__logo-img {
    height: 40px;
}

/* Navigation principale */
.zea-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.zea-nav__menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zea-nav__link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--zea-noir);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Soulignement animé au hover */
.zea-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--zea-noir);
    transition: width 0.3s ease;
}

.zea-nav__link:hover::after,
.zea-nav__link.active::after {
    width: 100%;
}

.zea-nav__link:hover {
    color: var(--zea-noir);
}

/* Icône panier */
.zea-header__cart {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zea-cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zea-noir);
    border-radius: 50%;
    color: var(--zea-blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

.zea-cart-icon:hover {
    transform: scale(1.1);
    background: var(--zea-gris-fonce);
}

.zea-cart-icon svg {
    width: 20px;
    height: 20px;
}

.zea-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Menu burger (mobile) */
.zea-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.zea-burger__line {
    width: 25px;
    height: 3px;
    background-color: var(--zea-noir);
    transition: all 0.3s ease;
}

.zea-burger.active .zea-burger__line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.zea-burger.active .zea-burger__line:nth-child(2) {
    opacity: 0;
}

.zea-burger.active .zea-burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   EFFETS HOVER ZOOM - CARROUSEL
   ======================================== */

.zea-carrousel__item {
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.zea-carrousel__item img {
    transition: transform 0.5s ease, filter 0.5s ease;
    transform: scale(1);
}

.zea-carrousel__item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* ========================================
   EFFETS HOVER ZOOM - POURQUOI CHOISIR ZEA
   ======================================== */

.zea-feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zea-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.zea-feature-item__icon {
    transition: transform 0.4s ease;
}

.zea-feature-item:hover .zea-feature-item__icon {
    transform: scale(1.15) rotate(5deg);
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 968px) {
    .zea-burger {
        display: flex;
    }

    .zea-nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .zea-nav__menu.active {
        transform: translateX(0);
    }

    .zea-header__cart {
        gap: 10px;
    }

    .zea-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .zea-header {
        top: 80px;  
    }
    
    .zea-header.scrolled {
        top: 0 !important; 
    }
}

@media (max-width: 640px) {
    .zea-header__logo-img {
        height: 40px;
    }

    .zea-header.scrolled .zea-header__logo-img {
        height: 35px;
    }

    .zea-header__container {
        min-height: 70px;
    }
}