/* EN-TÊTE DU SITE PUBLIC — version épurée.
 * Bureau (≥ 1280 px) : logo · 5 liens · « Plus ▾ » · langue ▾ · Se connecter · un seul bouton d'action.
 * Tablette / petit portable / téléphone (< 1280 px) : logo · bouton d'action · menu ☰ (tiroir complet) ; sous 600 px : logo · ☰.
 * Chargé en dernier : il remplace les anciennes couches de règles de l'en-tête sans les supprimer. */
html body .pf-home > .pf-home-header { height: 72px !important; }
html body .pf-home > .pf-home-header > .pf-home-header-inner {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  width: min(1240px, calc(100% - 40px)) !important; gap: 18px !important; height: 100% !important;
}
html body .pf-home-header-inner > .pf-home-logo { flex: 0 0 auto !important; }
html body .pf-home-header-inner .pf-home-logo span:not(.pf-home-logo-mark) { font-size: 21px !important; }
html body .pf-home-header-inner .pf-home-logo-mark { width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; max-width: 40px !important; max-height: 40px !important; }

/* Liens : on retire « Accueil » (le logo y mène) et « Assistant vocal » (rangé dans « Plus ») */
html body .pf-home-header .pf-home-nav { display: flex !important; flex: 1 1 auto !important; min-width: max-content !important; justify-content: center !important; gap: 2px !important; width: auto !important; max-width: none !important; }
html body .pf-home-header .pf-home-nav > :first-child, html body .pf-home-header .pf-home-nav > :last-child { display: none !important; }
html body .pf-home-header .pf-home-nav > button, html body .pf-home-header .pf-home-nav > a {
  font-size: 14px !important; font-weight: 600 !important; padding: 0 12px !important; height: 40px !important; border-radius: 10px !important; color: #25443a !important; white-space: nowrap !important;
}
html body .pf-home-header .pf-home-nav > button:hover, html body .pf-home-header .pf-home-nav > a:hover { background: #eef7f3 !important; color: #06684c !important; }

/* Menus déroulants (« Plus » et langue) */
.pf-dd { position: relative; display: inline-flex; }
.pf-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: #25443a; white-space: nowrap;
}
.pf-dd-btn:hover, .pf-dd.is-open > .pf-dd-btn { background: #eef7f3; color: #06684c; }
.pf-dd-btn:focus-visible, .pf-dd-menu a:focus-visible, .pf-dd-menu button:focus-visible { outline: 3px solid #0bb789; outline-offset: 2px; }
.pf-dd-chevron { width: 10px; height: 10px; transition: transform .18s; flex: none; }
.pf-dd.is-open .pf-dd-chevron { transform: rotate(180deg); }
.pf-dd-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; max-width: min(300px, 92vw); padding: 6px; margin: 0; list-style: none;
  background: #fff; border: 1px solid #dbe8e2; border-radius: 14px; box-shadow: 0 18px 44px rgba(5, 55, 44, .18); display: none; z-index: 1300;
}
.pf-dd.is-open > .pf-dd-menu { display: block; }
.pf-dd-menu a, .pf-dd-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; text-align: start; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; color: #25443a; text-decoration: none; box-sizing: border-box;
}
.pf-dd-menu a:hover, .pf-dd-menu button:hover { background: #eef7f3; color: #06684c; }
.pf-dd-menu [aria-checked="true"] { color: #06684c; background: #e6f6ee; }
.pf-dd-menu [aria-checked="true"]::after { content: "✓"; margin-inline-start: auto; font-weight: 800; }
.pf-dd-lang .pf-dd-btn { border: 1px solid #dbe8e2; background: #fff; padding: 0 11px; }
.pf-dd-lang .pf-dd-btn:hover, .pf-dd-lang.is-open > .pf-dd-btn { border-color: #0bb789; }

/* Actions */
html body .pf-home-header-inner > .pf-home-actions { margin: 0 !important; gap: 6px !important; display: flex !important; align-items: center !important; flex: 0 0 auto !important; }
html body .pf-home-header .pf-home-actions > .pf-home-language,
html body .pf-home-header .pf-home-actions > a[data-lien-fournisseur] { display: none !important; }        /* remplacés par le menu langue et « Plus » */
html body .pf-home-header .pf-home-actions > .pf-home-login { font-size: 14px !important; font-weight: 600 !important; padding: 0 12px !important; height: 40px !important; display: inline-flex !important; align-items: center !important; border-radius: 10px !important; }
html body .pf-home-header .pf-home-actions > .pf-home-header-cta { font-size: 14px !important; padding: 0 18px !important; height: 42px !important; display: inline-flex !important; align-items: center !important; border-radius: 12px !important; white-space: nowrap !important; margin-inline-start: 6px !important; }
html body .pf-home-header .pf-home-menu-button { display: none !important; width: 42px; height: 42px; border: 1px solid #dbe8e2; border-radius: 12px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: #15543f; }

/* TABLETTE ET TÉLÉPHONE : le tiroir porte tout */
@media (max-width: 1279px) {
  html body .pf-home-header .pf-home-nav, html body .pf-home-header .pf-nav-plus, html body .pf-home-header .pf-dd-lang,
  html body .pf-home-header .pf-home-actions > .pf-home-login { display: none !important; }
  html body .pf-home-header .pf-home-menu-button { display: inline-flex !important; align-items: center; justify-content: center; }
  html body .pf-home-header-inner > .pf-home-actions { margin-inline-start: auto !important; gap: 10px !important; }
  html body .pf-home-header .pf-home-actions > .pf-home-header-cta { display: inline-flex !important; margin-inline-start: 0 !important; }
}
@media (max-width: 599px) {
  html body .pf-home > .pf-home-header { height: 64px !important; }
  html body .pf-home > .pf-home-header > .pf-home-header-inner { width: calc(100% - 28px) !important; gap: 10px !important; }
  html body .pf-home-header-inner .pf-home-logo span:not(.pf-home-logo-mark) { font-size: 19px !important; }
  html body .pf-home-header .pf-home-actions > .pf-home-header-cta { display: none !important; }
}
@media (min-width: 1280px) and (max-width: 1359px) {
  html body .pf-home-header .pf-home-nav > button, html body .pf-home-header .pf-home-nav > a { padding: 0 9px !important; font-size: 13.5px !important; }
  html body .pf-home-header .pf-home-actions > .pf-home-header-cta { padding: 0 14px !important; }
}

/* La note « page écrite en… » n'a pas sa place dans l'en-tête : elle vit au pied de page. */
html body .pf-home-header #pfLangueNote { display: none !important; }
