/* Accueil : même dominante bleue et même ivoire léger que la page BiblioNet. */
.home-page { --home-surface: #fffdf7; }
.home-page .site-header, .home-page .dropdown-menu { background: var(--home-surface); }
.home-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.home-hero { background: linear-gradient(180deg, #edf4fc 0%, #f3f8ff 100%); border-bottom: 1px solid var(--site-line); }
.home-hero .home-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.home-hero h1 { font-size: clamp(2.4rem, 4.1vw, 3.65rem); line-height: 1.08; letter-spacing: -.045em; }
.home-tagline { margin: 1.15rem 0 0; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.home-tagline span { color: var(--site-primary); }
.home-lead { max-width: 43ch; margin-top: 1.5rem; font-size: 1.1rem; color: #4c637a; }
.home-spotlight { overflow: hidden; border: 1px solid #bdcfe2; border-radius: 1rem; background: var(--home-surface); box-shadow: 0 16px 45px #203b5710; }
.home-spotlight-heading { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; }
.home-spotlight-heading img { width: 65px; height: auto; flex-shrink: 0; }
.home-spotlight-heading .bn-eyebrow { font-size: .65rem; margin-bottom: .45rem; }
.home-spotlight-heading h2 { font-size: 1.65rem; margin: 0; }
.home-spotlight-visual { display: block; padding: 1rem; background: #e8f0f9; border-block: 1px solid var(--site-line); }
.home-spotlight-visual img { display: block; width: 100%; height: auto; max-height: 290px; object-fit: contain; filter: drop-shadow(0 4px 8px #203b5715); }
.home-spotlight-copy { padding: 1.2rem 1.5rem; }
.home-spotlight-copy p { margin-bottom: .7rem; font-size: .95rem; color: #4c637a; }
.home-card-link { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; font-weight: 650; text-decoration: none; }
.home-card-link:hover { text-decoration: underline; }
.home-section-heading { max-width: 780px; margin-bottom: 2rem; }
.home-section-heading > p:last-child { color: #4c637a; margin-top: 1.2rem; }
.home-software { display: flex; flex-direction: column; border: 1px solid var(--site-line); border-radius: .8rem; overflow: hidden; background: var(--home-surface); }
.home-software-visual { display: block; height: 235px; flex-shrink: 0; padding: .8rem; background: #e8f0f9; border-bottom: 1px solid var(--site-line); }
.home-software-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-software-copy { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.home-software-copy .bn-eyebrow { font-size: .63rem; letter-spacing: .075em; margin-bottom: .8rem; }
.home-software h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.home-software-copy > p:not(.bn-eyebrow) { color: #4c637a; font-size: .95rem; }
.home-software-copy .home-card-link { margin-top: auto; padding-top: .5rem; }
.home-utilities-heading { margin-top: 3rem; margin-bottom: 1.5rem; }
.home-utilities-heading h3 { font-size: 1.5rem; }
.home-utilities-heading p { color: #4c637a; margin-bottom: 0; }
.home-utility { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: start; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--site-line); border-radius: .8rem; background: var(--home-surface); }
.home-utility-visual { display: block; padding: .35rem; background: #e8f0f9; border: 1px solid var(--site-line); border-radius: .3rem; }
.home-utility img { display: block; width: 100%; height: 110px; object-fit: contain; }
.home-utility h4 { font-size: 1.2rem; font-weight: 700; }
.home-utility p { color: #4c637a; font-size: .9rem; margin-bottom: .8rem; }
.home-utility .home-card-link { font-size: .9rem; }
.home-about { border-block: 1px solid var(--site-line); background: var(--home-surface); }
.home-about .col-lg-7 > p { color: #4c637a; }
.home-update-section { padding-top: 3rem; padding-bottom: 2rem; }
.home-update { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border: 1px solid #b9ceeb; border-left: 4px solid var(--site-primary); border-radius: .7rem; background: #e3effb; }
.home-update-mark { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; font-size: 1.8rem; line-height: 1; color: var(--site-primary); }
.home-update h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.home-update p { font-size: .95rem; color: #4c637a; }
.home-ad { overflow-x: auto; }
.home-ad:empty { display: none; }
/* Colonnes latérales égales : les mentions restent centrées dans la page. */
.home-page .site-footer-bottom-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr); align-items: center; gap: 1.25rem; }
.home-page .site-footer-legal { margin: 0; font-size: .75rem; line-height: 1.65; text-align: center; }
.home-page .site-footer-stats { text-align: right; }
@media (max-width: 767.98px) {
  .home-section { padding-top: 3rem; padding-bottom: 3rem; }
  .home-hero .home-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .home-hero h1 { font-size: clamp(2.1rem, 7.5vw, 3rem); }
  .home-tagline { font-size: clamp(1.3rem, 5.3vw, 1.65rem); }
  .home-page .site-footer-bottom-legal { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .home-page .site-footer-stats { text-align: center; }
  .home-hero .btn { flex: 1 1 13rem; }
  .home-spotlight-heading, .home-spotlight-copy { padding: 1rem; }
  .home-spotlight-heading img { width: 55px; }
  .home-spotlight-heading h2 { font-size: 1.4rem; }
  .home-spotlight-visual { padding: .5rem; }
  .home-software-copy { padding: 1.25rem; }
  .home-update { padding: 1.1rem; gap: .65rem; }
  .home-update-mark { width: 28px; }
}
@media (max-width: 575.98px) {
  .home-utility { grid-template-columns: 1fr; }
  .home-utility img { height: 160px; }
}
