/* Josuai dans l'en-tête canonique Corpus Savoy — adaptation additive 2026-10-30.
   La charte du Corpus demeure autorité visuelle ; aucun nouveau système de marque. */
body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai strong{
 font:400 clamp(20px,1.7vw,25px)/1.04 "Savoy EB Garamond",Georgia,serif!important;
 letter-spacing:-.045em;color:#294139;white-space:nowrap;
}
body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai strong span{color:#aa8051}
body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai small{
 color:#746246;letter-spacing:.075em;font:700 8px/1.2 Arial,sans-serif;white-space:nowrap
}
body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai{
 min-width:0;min-height:58px;box-sizing:border-box
}
body.corpus-unified.collection-portal .site-header .mobile-nav{display:none}
@media(min-width:1101px){
 body.corpus-unified.collection-portal .site-header .header-inner{
  max-width:1800px;min-height:76px;padding:8px clamp(12px,1.7vw,28px);
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  gap:clamp(9px,1.1vw,20px)
 }
 body.corpus-unified.collection-portal .site-header .brand-group{
  display:flex;flex-direction:row;align-items:center;flex:0 1 auto;
  min-width:0;gap:clamp(6px,.8vw,15px)
 }
 body.corpus-unified.collection-portal .site-header .brand-group > a.brand{
  padding:4px 2px;min-height:60px;gap:8px;flex:0 0 auto
 }
 body.corpus-unified.collection-portal .site-header .brand-monogram{
  width:clamp(36px,3.3vw,49px);height:clamp(39px,3.6vw,52px);font-size:2.5rem
 }
 body.corpus-unified.collection-portal .site-header .brand-wordmark strong{font-size:clamp(15px,1.2vw,20px)}
 body.corpus-unified.collection-portal .site-header .brand-wordmark span{font-size:.48rem;letter-spacing:.15em}
 body.corpus-unified.collection-portal .site-header .brand-group > a.collection-signature{
  padding:6px 0 6px clamp(8px,1.1vw,16px);min-height:60px;flex:0 1 auto
 }
 body.corpus-unified.collection-portal .site-header .collection-signature span{font-size:.43rem;letter-spacing:.06em}
 body.corpus-unified.collection-portal .site-header .collection-signature strong{font-size:clamp(17px,1.4vw,22px)}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark{
  padding:6px 3px 6px clamp(8px,.9vw,15px)!important;min-height:60px!important;flex:0 0 auto;
  gap:2px
 }
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--biblium strong{font-size:clamp(19px,1.5vw,24px)!important}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--author img{
  width:clamp(61px,5.3vw,80px);height:auto
 }
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark small{font-size:clamp(6px,.52vw,8px)!important;letter-spacing:.03em}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai strong{font-size:clamp(19px,1.5vw,24px)!important}
 body.corpus-unified.collection-portal .site-header .main-nav{
  display:flex;flex:0 0 auto;white-space:nowrap;flex-direction:row;flex-wrap:nowrap;
  width:auto;border:0;padding:0;justify-content:flex-end;gap:clamp(9px,1.15vw,20px)
 }
 body.corpus-unified.collection-portal .site-header .main-nav .header-nav-link{
  font-size:clamp(.52rem,.66vw,.65rem);letter-spacing:.08em;min-height:44px
 }
 body.corpus-unified.collection-portal .site-header .main-nav .header-nav-link--search svg{width:18px;height:18px}
}
@media(max-width:1100px){
 body.corpus-unified.collection-portal .site-header .header-inner{
  position:relative;max-width:none;min-height:0;padding:10px 72px 10px 18px;
  display:flex;flex-direction:row;align-items:center;gap:8px
 }
 body.corpus-unified.collection-portal .site-header .brand-group{
  display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:clamp(5px,1vw,15px)
 }
 body.corpus-unified.collection-portal .site-header .brand-group > a.brand{
  min-height:52px;padding:4px 2px;gap:7px
 }
 body.corpus-unified.collection-portal .site-header .brand-monogram{width:39px;height:43px;font-size:2rem}
 body.corpus-unified.collection-portal .site-header .brand-wordmark strong{font-size:16px}
 body.corpus-unified.collection-portal .site-header .brand-wordmark span{font-size:7px}
 body.corpus-unified.collection-portal .site-header .brand-group > a.collection-signature{
  min-height:52px;padding:4px 4px 4px 10px
 }
 body.corpus-unified.collection-portal .site-header .collection-signature strong{font-size:18px;white-space:nowrap}
 body.corpus-unified.collection-portal .site-header .collection-signature span{font-size:6px}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark{
  min-width:0;min-height:52px!important;padding:6px 3px 6px 10px!important;
  border-top:0;flex:0 1 auto
 }
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--biblium strong{font-size:20px!important}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--author img{width:63px;height:auto}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark small{font-size:6.5px!important;letter-spacing:0}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai strong{font-size:20px!important}
 body.corpus-unified.collection-portal .site-header .main-nav{display:none}
 body.corpus-unified.collection-portal .site-header .mobile-nav{
  display:block;position:absolute;right:13px;top:13px;z-index:30
 }
 body.corpus-unified.collection-portal .site-header .mobile-nav summary{
  list-style:none;cursor:pointer;min-width:56px;min-height:44px;border:1px solid #b9ad9b;
  padding:9px 10px;display:flex;align-items:center;justify-content:center;
  gap:5px;background:#f5f2eb;color:#343a35;font:700 11px Arial,sans-serif
 }
 body.corpus-unified.collection-portal .site-header .mobile-nav summary::-webkit-details-marker{display:none}
 body.corpus-unified.collection-portal .site-header .mobile-nav summary:focus-visible{outline:2px solid #856b44;outline-offset:3px}
 body.corpus-unified.collection-portal .site-header .mobile-nav[open] summary{background:#ece6d8}
 body.corpus-unified.collection-portal .site-header .mobile-nav .mobile-menu-panel{
  position:absolute;right:0;top:50px;width:min(320px,calc(100vw - 25px));
  background:#f8f6f0;border:1px solid #c9c1b4;box-shadow:0 8px 22px rgba(25,30,25,.12);
  padding:10px;display:grid;z-index:45
 }
 body.corpus-unified.collection-portal .site-header .mobile-menu-panel a{
  text-decoration:none;color:#343a35;font:700 12px/1.4 Arial,sans-serif;
  padding:12px;border-bottom:1px solid #e0d9cd
 }
 body.corpus-unified.collection-portal .site-header .mobile-menu-panel a:last-child{border:0}
 body.corpus-unified.collection-portal .site-header .mobile-menu-panel a:hover,
 body.corpus-unified.collection-portal .site-header .mobile-menu-panel a:focus-visible{background:#ece7da}
}
@media(max-width:700px){
 body.corpus-unified.collection-portal .site-header .header-inner{padding:7px 10px 8px;display:block}
 body.corpus-unified.collection-portal .site-header .brand-group{
  width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;align-items:center
 }
 body.corpus-unified.collection-portal .site-header .brand-group > a.brand{
  grid-column:span 2;padding:5px 2px;gap:5px;min-width:0;min-height:52px
 }
 body.corpus-unified.collection-portal .site-header .brand-monogram{width:31px;height:35px;font-size:1.65rem}
 body.corpus-unified.collection-portal .site-header .brand-wordmark strong{font-size:13px}
 body.corpus-unified.collection-portal .site-header .brand-wordmark span{font-size:6px;letter-spacing:.07em}
 body.corpus-unified.collection-portal .site-header .brand-group > a.collection-signature{
  grid-column:span 3;padding:5px 2px 5px 8px;min-width:0;min-height:52px
 }
 body.corpus-unified.collection-portal .site-header .collection-signature strong{font-size:17px}
 body.corpus-unified.collection-portal .site-header .collection-signature span{font-size:6px;white-space:nowrap}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark{
  grid-column:span 2;min-width:0;min-height:49px!important;
  border-left:0;border-top:1px solid #d3ccc0;align-self:stretch;
  padding:5px 3px 5px 7px!important
 }
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark--biblium{padding-left:3px!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark--author{border-left:1px solid #d3ccc0;padding-left:10px!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark--josuai{border-left:1px solid #d3ccc0}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--biblium strong{font-size:20px!important}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--author img{width:59px;max-height:24px}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark--josuai strong{font-size:21px!important}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark small{font-size:6px!important}
 body.corpus-unified.collection-portal .site-header .mobile-nav{top:11px;right:9px}
}
@media(max-width:350px){
 body.corpus-unified.collection-portal .site-header .brand-wordmark strong{font-size:11px}
 body.corpus-unified.collection-portal .site-header .collection-signature strong{font-size:15px}
 body.corpus-unified.collection-portal .site-header .brand-group a.ecosystem-mark small{font-size:5.5px!important}
}

@media(min-width:1101px){
body.corpus-unified.collection-portal .site-header .header-inner{width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:8px 20px!important}
body.corpus-unified.collection-portal .site-header .brand-group{width:auto!important;min-width:0!important;flex:0 1 auto!important;display:flex!important;flex-wrap:nowrap!important;gap:8px!important}
body.corpus-unified.collection-portal .site-header .brand-group > a{width:auto!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important}
body.corpus-unified.collection-portal .site-header .main-nav{width:auto!important;flex:0 0 auto!important}
}

/* Correctifs de priorité face à la grille canonique à quatre éléments. */
@media(max-width:1100px){
 body.corpus-unified.collection-portal .site-header .header-inner{width:100%!important;max-width:none!important;padding:10px 72px 10px 18px!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important}
 body.corpus-unified.collection-portal .site-header .brand-group{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;width:auto!important;min-width:0!important;flex:1 1 auto!important;gap:8px!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a{width:auto!important;max-width:none!important;min-width:0!important;flex:0 1 auto!important}
 body.corpus-unified.collection-portal .site-header .main-nav{display:none!important}
 body.corpus-unified.collection-portal .site-header .mobile-nav{position:absolute!important;right:11px!important;top:12px!important;display:block!important}
}
@media(max-width:700px){
 body.corpus-unified.collection-portal .site-header .header-inner{display:block!important;width:100%!important;padding:7px 9px 8px!important;min-height:0!important}
 body.corpus-unified.collection-portal .site-header .brand-group{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important;gap:0!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a{width:auto!important;max-width:100%!important;min-width:0!important;flex:none!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.brand{grid-column:span 2!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.collection-signature{grid-column:span 3!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.ecosystem-mark{grid-column:span 2!important;min-height:49px!important}
 body.corpus-unified.collection-portal .site-header .mobile-nav{top:12px!important;right:10px!important}
}
/* Le panneau des liens doit être réellement fermé tant que details ne l'est pas. */
body.corpus-unified.collection-portal .site-header details.mobile-nav:not([open]) > .mobile-menu-panel{display:none!important}
@media(max-width:700px){
 body.corpus-unified.collection-portal .site-header .mobile-nav summary{min-width:44px;width:44px;height:44px;font-size:18px;padding:6px;gap:0}
 body.corpus-unified.collection-portal .site-header .mobile-nav summary span{display:none}
}
/* Réemploi du menu mobile NATIF de Corpus Savoy : pas de second menu. */
@media(min-width:851px) and (max-width:1100px){
 html.savoy-responsive-ready body.corpus-unified.collection-portal .site-header .savoy-native-menu{
  display:block!important;position:absolute!important;top:12px;right:11px;
  z-index:90;align-self:auto;margin:0
 }
 body.corpus-unified.collection-portal .site-header .savoy-native-menu summary{
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:9px 12px;min-width:85px;list-style:none;
  border:1px solid #cdd4c9;background:#f8f6f0;color:#29473b;
  font:700 12px/1.25 Arial,sans-serif;cursor:pointer
 }
 body.corpus-unified.collection-portal .site-header .savoy-native-menu > nav{
  position:absolute;right:0;top:calc(100% + 7px);z-index:100;
  display:flex!important;flex-direction:column;width:275px;padding:5px 0;
  background:#fffdf8;border:1px solid #d5d7cf;box-shadow:0 15px 28px rgba(32,37,30,.15)
 }
 body.corpus-unified.collection-portal .site-header .savoy-native-menu:not([open]) > nav{display:none!important}
 body.corpus-unified.collection-portal .site-header .savoy-native-menu nav a{
  display:flex;align-items:center;min-height:44px;padding:10px 16px;
  font:600 14px/1.3 Arial,sans-serif;color:#28382f;text-transform:none;
  text-decoration:none;border-bottom:1px solid #eee9df
 }
}
@media(max-width:850px){
 html.savoy-responsive-ready body.corpus-unified.collection-portal .site-header .savoy-native-menu{
  display:block!important;position:absolute!important;right:11px;top:11px;
  margin:0;align-self:auto;z-index:90
 }
}
@media(max-width:700px){
 html.savoy-responsive-ready body.corpus-unified.collection-portal .site-header .savoy-native-menu{right:10px;top:11px}
 body.corpus-unified.collection-portal .site-header .savoy-native-menu summary{
  width:44px!important;min-width:44px!important;height:44px!important;
  overflow:hidden;font-size:0!important;gap:0!important;padding:0!important
 }
 body.corpus-unified.collection-portal .site-header .savoy-native-menu summary span{
  font-size:20px!important;line-height:1!important
 }
}
/* Très petits écrans : logos conservés, répartition adaptée, aucun chevauchement. */
@media(max-width:350px){
 body.corpus-unified.collection-portal .site-header .brand-group > a.brand{grid-column:span 3!important}
 body.corpus-unified.collection-portal .site-header .brand-group > a.collection-signature{grid-column:span 2!important}
 body.corpus-unified.collection-portal .site-header .collection-signature span{display:none!important}
 body.corpus-unified.collection-portal .site-header .collection-signature strong{font-size:14px!important}
 body.corpus-unified.collection-portal .site-header .brand-wordmark strong{font-size:14px!important}
 body.corpus-unified.collection-portal .site-header .brand-wordmark span{font-size:6px!important}
}
/* Accessibilité sans JavaScript : conserver les liens natifs si le menu disclosure est absent. */
@media(max-width:1100px){
 html:not(.savoy-responsive-ready) body.corpus-unified.collection-portal .site-header .main-nav{
  display:flex!important;flex-wrap:wrap!important;width:100%!important;gap:4px 12px!important;
  justify-content:flex-start!important;position:relative!important
 }
}
