/* En-tête commun (identique à l'accueil) sur les autres pages.
   Tailwind « preflight » est désactivé hors accueil : on recrée ici, avec une spécificité nulle (:where),
   la remise à zéro dont l'en-tête a besoin, sans toucher au reste du site. */

:where(.pcm-hdr) *,
:where(.pcm-hdr) *::before,
:where(.pcm-hdr) *::after { box-sizing: border-box; border: 0 solid #e5e7eb; }
:where(.pcm-hdr) a { color: inherit; text-decoration: inherit; }
:where(.pcm-hdr) button,
:where(.pcm-hdr) input,
:where(.pcm-hdr) select { font: inherit; color: inherit; margin: 0; padding: 0; background: transparent; border-radius: 0; line-height: inherit; }
:where(.pcm-hdr) button { cursor: pointer; background-image: none; text-transform: none; -webkit-appearance: button; }
:where(.pcm-hdr) img,
:where(.pcm-hdr) svg { display: block; vertical-align: middle; max-width: 100%; }
:where(.pcm-hdr) img { height: auto; }
:where(.pcm-hdr) ul,
:where(.pcm-hdr) ol { list-style: none; margin: 0; padding: 0; }
:where(.pcm-hdr) p,
:where(.pcm-hdr) h1,
:where(.pcm-hdr) h2,
:where(.pcm-hdr) h3 { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; }
:where(.pcm-hdr) { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
:where(.pcm-hdr) input::placeholder { color: #94a3b8; }

/* Onglet actif du menu (reprise de la maquette) */
.mega-tab-active { color: #fff !important; background-color: rgba(255, 255, 255, .08); box-shadow: inset 0 -2px 0 0 #d9232e; }

/* Police mono (compteurs, étiquettes) */
.pcm-hdr .font-mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }

/* Les panneaux de menu doivent rester au-dessus du contenu des pages */
.pcm-hdr [data-menu] { z-index: 70; }
.pcm-hdr [data-menu].hidden { display: none; }
