/* Barre du haut du site public, version moderne (voir assets/js/header-moderne.js).
   Pastille glissante, verre au défilement, fil de progression, bandeau d'annonce, bouton « nouvelle demande »,
   palette de recherche Ctrl+K, thème clair/sombre, sélecteur de langue à pastille, cloche qui sonne. Charte rouge, or, parchemin. */

/* ── Pastille dorée qui glisse sous le lien actif / survolé ── */
.header-nav { position: relative; }
.hm-pastille {
    position: absolute; bottom: 4px; left: 0; width: 0; height: 3px; border-radius: 3px; opacity: 0; pointer-events: none;
    background: linear-gradient(90deg, #f3dc92, #c9a84c, #f3dc92); box-shadow: 0 0 10px rgba(243, 220, 146, .85), 0 0 22px rgba(201, 168, 76, .5);
    transition: left .38s cubic-bezier(.3, 1.2, .4, 1), width .38s cubic-bezier(.3, 1.2, .4, 1), opacity .25s ease;
}
.hm-pastille.visible { opacity: 1; }
.header-link.hm-actif { color: #f3dc92; }

/* ── Méga-menu en verre ── */
.dropdown-menu.mega-menu {
    background: linear-gradient(160deg, rgba(48, 12, 16, .9), rgba(22, 8, 10, .92)); border: 1px solid rgba(201, 168, 76, .5); border-radius: 16px;
    -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 22px 50px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 243, 196, .12); overflow: hidden;
}
.dropdown-menu.mega-menu::after { content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #f3dc92, #980f1e, transparent); }
.dropdown-menu a { position: relative; padding: 8px 14px; border-radius: 10px; transition: color .2s ease, background .2s ease, padding .25s ease; }
.dropdown-menu a::before { content: '\2192'; position: absolute; inset-inline-start: 0; opacity: 0; color: #f3dc92; transition: opacity .2s ease, transform .25s ease; transform: translateX(-6px); }
[dir="rtl"] .dropdown-menu a::before { content: '\2190'; transform: translateX(6px); }
.dropdown-menu a:hover { background: rgba(201, 168, 76, .14); padding-inline-start: 26px; }
.dropdown-menu a:hover::before { opacity: 1; transform: none; }
.nav-item:hover > .dropdown-menu .dropdown-column > a { animation: hm-entre .4s ease both; }
.nav-item:hover > .dropdown-menu .dropdown-column > a:nth-child(2) { animation-delay: .04s; }
.nav-item:hover > .dropdown-menu .dropdown-column > a:nth-child(3) { animation-delay: .08s; }
.nav-item:hover > .dropdown-menu .dropdown-column > a:nth-child(4) { animation-delay: .12s; }
.nav-item:hover > .dropdown-menu .dropdown-column > a:nth-child(n+5) { animation-delay: .16s; }
@keyframes hm-entre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hm-teaser { align-self: stretch; min-width: 210px; max-width: 250px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(145deg, rgba(184, 26, 42, .55), rgba(111, 10, 21, .55)); border: 1px solid rgba(243, 220, 146, .45); }
.hm-teaser small { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #f3dc92; }
.hm-teaser strong { display: block; margin-bottom: 4px; font-size: 14px; line-height: 1.35; color: #fff; white-space: normal; }
.hm-teaser span { display: block; margin-bottom: 10px; font-size: 12.5px; color: #f0dcae; }
.dropdown-menu a.hm-teaser-lien { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: #f3dc92; color: #5a0a14; font-weight: 700; font-size: 12px; }
.dropdown-menu a.hm-teaser-lien::before { display: none; }
.dropdown-menu a.hm-teaser-lien:hover { background: #fff; padding-inline-start: 12px; color: #980f1e; }

/* ── Barre qui se réduit au défilement, verre transparent ── */
.main-header { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.main-header .header-inner { transition: min-height .3s ease; }
.main-header .header-logo img { transition: height .3s ease; }
/* Au défilement la barre garde sa couleur d'origine (rouge texturé) : on ajoute seulement un liseré doré et une ombre. */
.main-header.hm-compact { border-bottom-color: rgba(243, 220, 146, .5); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.main-header.hm-compact .header-inner { min-height: var(--header-h, 80px); }
.main-header.hm-compact .header-logo img { height: 70px; }
.main-header.hm-compact .hm-annonce { max-height: 0; opacity: 0; border-width: 0; }

/* ── Fil de progression de lecture ── */
.hm-progression { position: absolute; inset-inline: 0; bottom: -1px; height: 3px; pointer-events: none; overflow: hidden; }
.hm-progression i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #6f0a15, #c9202f 40%, #f3dc92); box-shadow: 0 0 10px rgba(243, 220, 146, .7); will-change: transform; }
[dir="rtl"] .hm-progression i { transform-origin: 100% 50%; }

/* ── Bandeau d'annonce défilant ── */
.hm-annonce { display: flex; align-items: center; gap: 12px; height: 30px; max-height: 30px; padding: 0 16px; overflow: hidden; direction: ltr; font-size: 12.5px; background: linear-gradient(90deg, #6f0a15, #980f1e 50%, #6f0a15); border-bottom: 1px solid rgba(243, 220, 146, .4); transition: max-height .3s ease, opacity .3s ease; }
.hm-annonce-badge { flex-shrink: 0; padding: 2px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #5a0a14; background: linear-gradient(135deg, #f3dc92, #c9a84c); }
.hm-annonce-piste { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hm-annonce-rail { display: inline-flex; gap: 46px; white-space: nowrap; padding-inline-start: 100%; animation: hm-defile 38s linear infinite; }
.hm-annonce-piste:hover .hm-annonce-rail { animation-play-state: paused; }
.hm-annonce-rail a { color: #fff3d0; text-decoration: none; }
.hm-annonce-rail a:hover { color: #f3dc92; text-decoration: underline; }
.hm-annonce-rail a::before { content: '\2726'; margin-inline-end: 10px; color: #f3dc92; }
[dir="rtl"] .hm-annonce-rail, [lang="ar"] .hm-annonce-rail { direction: rtl; }
@keyframes hm-defile { to { transform: translateX(-100%); } }
.hm-annonce-fermer { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff3d0; cursor: pointer; font-size: 11px; transition: background .2s ease, transform .2s ease; }
.hm-annonce-fermer:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
.hm-annonce[hidden] { display: none; }

/* ── Bouton « Nouvelle demande » ── */
.hm-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; color: #5a0a14; white-space: nowrap; flex-shrink: 0;
    background: linear-gradient(135deg, #f3dc92, #c9a84c 60%, #b8923a); border: 1px solid rgba(255, 243, 196, .7); box-shadow: 0 6px 16px -6px rgba(201, 168, 76, .7); transition: transform .25s ease, box-shadow .3s ease; }
.hm-cta i { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.hm-cta:hover { transform: translateY(-2px); color: #5a0a14; box-shadow: 0 12px 24px -8px rgba(201, 168, 76, .9); }
.hm-cta:hover i { transform: rotate(90deg) scale(1.15); }
.hm-cta::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(243, 220, 146, .7); opacity: 0; animation: hm-onde 2.8s ease-out 1.5s infinite; pointer-events: none; }
@keyframes hm-onde { 0% { transform: scale(.94); opacity: .85; } 70%, 100% { transform: scale(1.18); opacity: 0; } }
@media (max-width: 1380px) { .hm-cta span { display: none; } .hm-cta { padding: 10px 12px; } }
@media (max-width: 992px) { .hm-cta, .hm-theme { display: none; } }

/* ── Recherche : indication du raccourci ── */
.hm-kbd { position: absolute; inset-inline-end: 40px; top: 50%; transform: translateY(-50%); padding: 1px 6px; border-radius: 6px; font-family: inherit; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); pointer-events: none; }
.search-input { cursor: pointer; }
@media (max-width: 1100px) { .hm-kbd { display: none; } }

/* ── Bouton thème clair / sombre ── */
.hm-theme { position: relative; width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(201, 168, 76, .4); background: rgba(255, 255, 255, .08); color: #f3dc92; cursor: pointer; overflow: hidden; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.hm-theme:hover { background: rgba(201, 168, 76, .22); border-color: #c9a84c; transform: rotate(18deg); }
.hm-theme i { position: absolute; font-size: 17px; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), opacity .3s ease; }
.hm-theme .hm-lune { transform: translateY(150%) rotate(-90deg); opacity: 0; }
html.dark .hm-theme .hm-soleil, html.hm-teinte .hm-theme .hm-soleil { transform: translateY(-150%) rotate(90deg); opacity: 0; }
html.dark .hm-theme .hm-lune, html.hm-teinte .hm-theme .hm-lune { transform: none; opacity: 1; }

/* ── Sélecteur de langue : pastille qui glisse ── */
.lang-switcher { position: relative; isolation: isolate; }
.hm-langue-pastille { position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 50px; background: linear-gradient(135deg, #f3dc92, #c9a84c 60%, #b8933d); box-shadow: 0 2px 10px rgba(201, 168, 76, .55); transition: left .4s cubic-bezier(.3, 1.3, .4, 1), width .4s cubic-bezier(.3, 1.3, .4, 1); }
.lang-switcher.hm-pret .lang-seg.active { background: transparent; box-shadow: none; }

/* ── Cloche qui sonne quand il y a des notifications ── */
.notification-btn.hm-sonne i { transform-origin: 50% 0; animation: hm-sonne 3.6s ease-in-out infinite; }
@keyframes hm-sonne { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(16deg); } 66% { transform: rotate(-14deg); } 72% { transform: rotate(10deg); } 78% { transform: rotate(-8deg); } 84% { transform: rotate(4deg); } }
.notification-badge { animation: hm-badge 2.4s ease-in-out infinite; }
@keyframes hm-badge { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, .6); } 50% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); } }

/* ── Menu utilisateur : verre et entrée animée ── */
.user-dropdown.show { animation: hm-entre .25s ease both; }

/* ── Palette de recherche (Ctrl + K) ── */
.hm-palette { position: fixed; inset: 0; z-index: 10050; display: none; align-items: flex-start; justify-content: center; padding: 11vh 16px 16px; background: rgba(20, 5, 8, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hm-palette.ouvert { display: flex; animation: hm-fond .2s ease both; }
@keyframes hm-fond { from { opacity: 0; } to { opacity: 1; } }
.hm-pal-boite { width: min(640px, 100%); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, rgba(56, 14, 18, .96), rgba(24, 8, 10, .97)); border: 1px solid rgba(243, 220, 146, .55); box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3); animation: hm-pal .3s cubic-bezier(.2, .9, .3, 1.2) both; color: #f6ead3; }
@keyframes hm-pal { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
.hm-pal-champ { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(243, 220, 146, .25); }
.hm-pal-champ i { color: #f3dc92; font-size: 17px; }
.hm-pal-champ input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-family: inherit; font-size: 17px; }
.hm-pal-champ input::placeholder { color: rgba(246, 234, 211, .55); }
.hm-pal-champ kbd, .hm-pal-pied kbd { padding: 2px 7px; border-radius: 6px; font-family: inherit; font-size: 11px; font-weight: 700; color: #f3dc92; border: 1px solid rgba(243, 220, 146, .4); background: rgba(255, 255, 255, .06); }
.hm-pal-liste { overflow-y: auto; padding: 8px; }
.hm-pal-titre { padding: 8px 12px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: #d9c08a; }
.hm-pal-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #f6ead3; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.hm-pal-item i { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: rgba(243, 220, 146, .14); color: #f3dc92; font-size: 13px; }
.hm-pal-item small { margin-inline-start: auto; color: #d9c08a; font-size: 11px; }
.hm-pal-item.sel, .hm-pal-item:hover { background: linear-gradient(90deg, rgba(184, 26, 42, .6), rgba(184, 26, 42, .15)); color: #fff; }
.hm-pal-item.sel i { background: linear-gradient(135deg, #f3dc92, #c9a84c); color: #5a0a14; }
.hm-pal-vide { padding: 22px; text-align: center; color: #d9c08a; font-size: 14px; }
.hm-pal-pied { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 18px; border-top: 1px solid rgba(243, 220, 146, .2); font-size: 11.5px; color: #d9c08a; }
@media (max-width: 600px) { .hm-pal-pied { display: none; } .hm-palette { padding-top: 70px; } }

@media (prefers-reduced-motion: reduce), print {
    .hm-pastille, .hm-langue-pastille, .hm-cta::after, .notification-btn.hm-sonne i, .notification-badge, .hm-annonce-rail { animation: none; transition: none; }
    .hm-annonce-rail { padding-inline-start: 0; }
}
@media print { .hm-annonce, .hm-progression, .hm-palette { display: none; } }
.header-right { gap: 14px; }
.search-input { width: 170px; }
.search-input:focus { width: 210px; }
@media (max-width: 1600px) { .hm-cta span { display: none; } .hm-cta { padding: 10px 12px; } }

/* ── Fenêtres du menu utilisateur et des notifications : ouverture moderne (ressort + flou) et entrée en cascade ── */
.user-menu .user-dropdown.show, .notification-menu .notification-dropdown.show {
    transform-origin: calc(100% - 26px) 0; animation: hm-pop .5s cubic-bezier(.2, 1.15, .3, 1) both;
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 26px 60px -14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 168, 76, .35);
}
[dir="rtl"] .user-menu .user-dropdown.show, [dir="rtl"] .notification-menu .notification-dropdown.show { transform-origin: 26px 0; }
@keyframes hm-pop {
    0% { opacity: 0; transform: translateY(-14px) scale(.86) rotateX(-12deg); filter: blur(8px); }
    55% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: none; filter: none; }
}
/* Liseré doré qui se dessine en haut de la fenêtre */
.user-dropdown.show::after, .notification-dropdown.show::after {
    content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; z-index: 3; transform-origin: left center; background: linear-gradient(90deg, #f3dc92, #c9a84c, #980f1e);
    animation: hm-trait .7s ease .15s both;
}
[dir="rtl"] .user-dropdown.show::after, [dir="rtl"] .notification-dropdown.show::after { transform-origin: right center; }
@keyframes hm-trait { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Éléments qui arrivent l'un après l'autre */
.user-dropdown.show > *, .notification-dropdown.show > * { animation: hm-item .45s cubic-bezier(.2, .9, .3, 1) both; }
.user-dropdown.show > :nth-child(1), .notification-dropdown.show > :nth-child(1) { animation-delay: .05s; }
.user-dropdown.show > :nth-child(2), .notification-dropdown.show > :nth-child(2) { animation-delay: .11s; }
.user-dropdown.show > :nth-child(3), .notification-dropdown.show > :nth-child(3) { animation-delay: .17s; }
.user-dropdown.show > :nth-child(4), .notification-dropdown.show > :nth-child(4) { animation-delay: .23s; }
.user-dropdown.show > :nth-child(n+5) { animation-delay: .29s; }
@keyframes hm-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.user-dropdown-item { transition: background .2s ease, padding .25s ease; }
.user-dropdown-item:hover { padding-inline-start: 26px; }
.notification-item { transition: background .2s ease, transform .25s ease; }
.notification-item:hover { transform: translateX(4px); }
[dir="rtl"] .notification-item:hover { transform: translateX(-4px); }

/* ── Mode sombre de ces fenêtres ── */
html.dark .user-dropdown, html.dark .notification-dropdown { background: rgba(54, 42, 38, .96); border-color: rgba(220, 189, 112, .45); }
html.dark .user-dropdown-item { color: #f1e4cb; border-bottom-color: rgba(220, 189, 112, .14); }
html.dark .user-dropdown-item i { color: #f3dc92; }
html.dark .user-dropdown-item .ud-chevron { color: #c9a84c; }
html.dark .user-dropdown-item:hover { background: rgba(220, 189, 112, .14); }
html.dark .user-dropdown-item:hover span { color: #f3dc92; }
html.dark .user-verify-warning { color: #f3dc92; }
html.dark .logout-btn { background: rgba(200, 40, 58, .22); color: #ffb3ba; }
html.dark .logout-btn i { color: #ffb3ba; }
html.dark .logout-btn:hover { color: #fff; }
html.dark .ud-head-text span { color: rgba(255, 255, 255, .85); }
html.dark .notification-item { color: #f1e4cb; border-bottom-color: rgba(220, 189, 112, .14); }
html.dark .notification-message { color: #f1e4cb; }
html.dark .notification-item:hover { background: rgba(220, 189, 112, .14); }
html.dark .notification-item.unread { background: rgba(220, 189, 112, .12); }
html.dark .notification-time { color: #d9bd7a; }
html.dark .notification-empty, html.dark .notification-loading { color: #b39d7f; }
html.dark .notification-icon { background: rgba(255, 255, 255, .08); color: #dccbad; }
html.dark .notification-item.notification-approve .notification-icon { background: rgba(26, 127, 55, .25); color: #7fe0a0; }
html.dark .notification-item.notification-reject .notification-icon { background: rgba(200, 40, 58, .25); color: #ffa3a3; }
html.dark :is(.notification-item.notification-missing_docs, .notification-item.notification-attestation) .notification-icon { background: rgba(220, 189, 112, .2); color: #f3dc92; }
@media (prefers-reduced-motion: reduce) {
    .user-menu .user-dropdown.show, .notification-menu .notification-dropdown.show, .user-dropdown.show > *, .notification-dropdown.show > *, .user-dropdown.show::after, .notification-dropdown.show::after { animation: none; }
}

/* ── Panneau d'accessibilité : ouverture moderne depuis le bouton (ressort, flou), options en cascade ── */
#a11y-panel.a11y-panel:not([hidden]) {
    transform-origin: 32px calc(100% + 40px); animation: hm-pop-bas .5s cubic-bezier(.2, 1.15, .3, 1) both;
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 28px 60px -14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 168, 76, .35);
}
[dir="rtl"] #a11y-panel.a11y-panel:not([hidden]) { transform-origin: calc(100% - 32px) calc(100% + 40px); }
@keyframes hm-pop-bas {
    0% { opacity: 0; transform: translateY(24px) scale(.82); filter: blur(8px); }
    55% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: none; filter: none; }
}
#a11y-panel:not([hidden]) .a11y-panel-head::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; transform-origin: left center; background: linear-gradient(90deg, #f3dc92, transparent); animation: hm-trait .7s ease .2s both; }
#a11y-panel .a11y-panel-head { position: relative; }
#a11y-panel:not([hidden]) .a11y-opt { animation: hm-item .4s cubic-bezier(.2, .9, .3, 1) both; }
#a11y-panel:not([hidden]) .a11y-opt:nth-child(1) { animation-delay: .08s; }
#a11y-panel:not([hidden]) .a11y-opt:nth-child(2) { animation-delay: .12s; }
#a11y-panel:not([hidden]) .a11y-opt:nth-child(3) { animation-delay: .16s; }
#a11y-panel:not([hidden]) .a11y-opt:nth-child(4) { animation-delay: .2s; }
#a11y-panel:not([hidden]) .a11y-opt:nth-child(n+5) { animation-delay: .24s; }
#a11y-panel .a11y-opt:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(111, 10, 21, .5); }
#a11y-panel .a11y-panel-close { transition: transform .25s ease; }
#a11y-panel .a11y-panel-close:hover { transform: rotate(90deg) scale(1.15); }

/* ── Mode sombre du panneau ── */
html.dark #a11y-panel.a11y-panel { background: rgba(54, 42, 38, .97); border-color: rgba(220, 189, 112, .45); }
html.dark #a11y-panel .a11y-group-label { color: #f0929b; }
html.dark #a11y-panel .a11y-opt { color: #f1e4cb; background: rgba(255, 255, 255, .06); border-color: rgba(220, 189, 112, .35); }
html.dark #a11y-panel .a11y-opt:hover { background: rgba(243, 220, 146, .16); border-color: #f3dc92; }
html.dark #a11y-panel .a11y-opt.active { background: #980f1e; color: #fff; border-color: #f3dc92; }
html.dark #a11y-panel .a11y-reset { background: #980f1e; }
html.dark #a11y-panel .a11y-reset:hover { background: #b81a2a; }
html.dark #a11y-panel .a11y-cycle-val { color: #f3dc92; }
@media (prefers-reduced-motion: reduce) { #a11y-panel.a11y-panel:not([hidden]), #a11y-panel:not([hidden]) .a11y-opt, #a11y-panel:not([hidden]) .a11y-panel-head::after { animation: none; } }

/* Mobile : la barre a une hauteur fixe dans header.css ; avec le bandeau « À la une » elle débordait et le bas restait sans fond (transparent). Hauteur libre. */
@media (max-width: 768px) {
    .main-header { height: auto !important; }
}
