/* Header sticky au scroll */
#masthead.ast-is-sticky #ast-desktop-header,
#masthead.ast-is-sticky #ast-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #F48FB1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    animation: astSlideDown 0.35s ease;
}

/* Version compacte : padding réduit + logo plus petit */
#masthead.ast-is-sticky .ast-primary-header-bar {
    padding-top: 8px;
    padding-bottom: 8px;
    background: transparent !important;
}

#masthead.ast-is-sticky .custom-logo {
    max-height: 55px;
    width: auto;
    transition: max-height 0.3s ease;
}

/* Sous-menus au-dessus du contenu */
#masthead.ast-is-sticky .sub-menu {
    z-index: 10000;
}

@keyframes astSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}