.site-header {
    position: relative;
    background: #f7fafd;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    z-index: 100;
    border-bottom: 2px solid #FFB603;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: headerFadeIn 1.2s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes headerFadeIn {
    to {
        opacity: 1;
    }
}


@keyframes shapeIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px);}
    to { opacity: 0.18; transform: scale(1) translateY(0);}
}

.logo-container {
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    z-index: 2000;
    position: relative;
    background: none;
    opacity: 1 !important;
    display: flex;
    justify-content: center;
    flex: 0 1 auto;
}

.logo-link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active {
    text-decoration: none !important;
}

.logo-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
    border-radius: 8px;
    padding: 0.2rem 0.8rem;
}

.logo-link:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 2px 8px rgba(255,182,3,0.10);
    background: rgba(255,255,255,0.7);
}

.logo-link img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-right: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    transition: filter 0.2s;
}

.logo-link:hover img {
    filter: drop-shadow(0 4px 12px rgba(255,182,3,0.15));
}

.header-nav {
    background: rgba(255,255,255,0.92);
    border-top: 1px solid #eee;
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.main-navigation {
    position: relative;
    z-index: 1001;
}

.primary-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.primary-menu > li {
    position: relative;
    margin: 0 0.5rem;
}

.primary-menu > li > a {
    display: block;
    padding: 1rem 1.2rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px 6px 0 0;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    position: relative;
    background: transparent;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: #FFB603;
    background: rgba(255,182,3,0.08);
    box-shadow: 0 2px 8px rgba(255,182,3,0.06);
}

.primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #FFB603;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after {
    width: 100%;
}

.primary-menu .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.primary-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.primary-menu .sub-menu a:hover {
    background: #fff7e0;
    color: #ff6b00;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .logo-link {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        display: none;
        transition: all 0.3s ease;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 1002;
    }

    .main-navigation.is-active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        gap: 0;
    }

    .primary-menu > li {
        margin: 0;
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-empty {
    flex: 1;
}

.logo-container {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.header-phone {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-phone a {
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    background: #fffbe7;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(255,182,3,0.08);
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-phone a:hover {
    background: #ffecb3;
    color: #ffb603;
}

.header-phone i {
    color: #ffb603;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
    }
    .header-empty {
        display: none;
    }
    .logo-container {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0;
    }
    .header-phone {
        flex: 0 0 auto;
        justify-content: flex-end;
    }
    .header-phone a {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
}