/* Corpus Savoy — accueil search-first, 10 novembre 2026.
   Vitrine éditoriale conservée ; moteur mis au premier plan.
   Aucune modification des autres pages du site. */
body.corpus-unified.collection-portal main#contenu.collection-home {
  padding-top:clamp(.9rem,2.2vw,2rem)!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-hero {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-template-columns:none!important;
  min-height:0!important;
  max-width:1020px!important;
  margin:0 auto!important;
  padding:clamp(2.9rem,6.2vw,6.1rem) 0 clamp(3.8rem,6vw,5.4rem)!important;
  border:0!important;
  text-align:center!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy .eyebrow {
  max-width:100%;margin:0 0 .75rem!important;
  color:#896a42!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy h1 {
  margin:0 0 .75rem!important;
  font-size:clamp(4.2rem,8.1vw,7.1rem)!important;
  line-height:1.03!important;
  letter-spacing:-.068em!important;
  text-wrap:balance!important;
  white-space:normal!important;
  text-align:center!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy .cs-home-promise {
  max-width:760px!important;
  margin:0 auto clamp(1.5rem,3.2vw,2.6rem)!important;
  font:400 clamp(1.35rem,2.25vw,2.05rem)/1.24 "Savoy EB Garamond",Georgia,serif!important;
  letter-spacing:-.012em!important;
  color:#405448!important;
  text-align:center!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search {
  width:min(100%,800px);
  margin:0!important;
  padding:0;
  text-align:left;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__label {
  display:block;
  width:100%;
  margin:0 0 .55rem!important;
  padding-left:1.35rem;
  font:650 .77rem/1.35 "Savoy Source Sans 3",Arial,sans-serif!important;
  letter-spacing:.015em;
  color:#4a5a4d!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field {
  display:flex;
  align-items:center;
  box-sizing:border-box;
  width:100%;
  min-height:72px;
  gap:.5rem;
  padding:7px 8px 7px 1.25rem;
  border:1px solid #b9b9a9;
  border-radius:38px;
  background:#fffefa;
  box-shadow:0 9px 36px rgba(36,46,39,.075),0 1px 3px rgba(36,46,39,.04);
  transition:border-color .15s,box-shadow .15s;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field:focus-within {
  border-color:#335b47;
  box-shadow:0 0 0 3px rgba(49,101,71,.17),0 9px 36px rgba(36,46,39,.085);
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__icon {
  flex:none;
  width:21px;height:21px;
  stroke:#657567;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field input {
  flex:1;
  display:block;
  box-sizing:border-box;
  width:100%;min-width:0;
  padding:.78rem .35rem!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#253f32!important;
  box-shadow:none!important;
  outline:0!important;
  font:400 clamp(1rem,1.3vw,1.15rem)/1.4 "Savoy Source Sans 3",Arial,sans-serif!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field input::placeholder {
  color:#6c766a!important;opacity:1;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button {
  flex:none;
  box-sizing:border-box;
  display:flex!important;
  align-items:center;justify-content:center;
  border:0!important;
  border-radius:32px!important;
  background:#294837!important;
  color:#fffdf6!important;
  min-height:54px;
  min-width:132px;
  padding:.85rem 1.45rem!important;
  font:650 .89rem/1.2 "Savoy Source Sans 3",Arial,sans-serif!important;
  cursor:pointer;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button:hover,
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button:focus-visible {
  background:#1b3629!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button:focus-visible{
  outline:3px solid #d4ad64!important;outline-offset:2px!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__scope {
  margin:1rem auto 0!important;
  color:#687267!important;
  font:400 .8rem/1.65 "Savoy Source Sans 3",Arial,sans-serif!important;
  letter-spacing:.012em;
  text-align:center!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy .cs-author-byline {
  display:flex!important;
  justify-content:center!important;
  border:0!important;
  padding:0!important;
  margin:clamp(1.7rem,3vw,2.4rem) auto 0!important;
  text-align:center!important;
  gap:.25rem .55rem!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy .cs-author-byline span {
  font-size:.8rem!important;
}
body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy .cs-author-byline strong {
  font-size:.84rem!important;
}
@media(max-width:740px){
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-hero {
    padding:clamp(2.6rem,10vw,4rem) 0 2.7rem!important;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy h1 {
    font-size:clamp(3.9rem,12.2vw,5.3rem)!important;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field {
    min-height:62px;gap:.25rem;padding:6px 6px 6px .9rem;border-radius:34px;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button {
    min-width:0;min-height:48px;padding:.64rem .85rem!important;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button span {
    display:none;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button svg {
    width:21px;height:21px;
  }
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__label {
    padding-left:.9rem;
  }
}
@media(max-width:360px){
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-search-first-copy h1 {font-size:3.55rem!important;}
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__icon {display:none;}
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field input {font-size:1rem!important;}
}
@media(prefers-reduced-motion:reduce){
  body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field {transition:none;}
}

@media(min-width:741px){
 body.corpus-unified.collection-portal .collection-home.cs-library-edition .cs-front-search__field button svg {display:none;}
}
