/* Bandeau du calendrier de l'avent sur la page d'accueil. Squelette : bandeau.php, textes et croix : bandeau.js. */
#foyer-avent { position: relative; z-index: 60; color: #fff; font-family: inherit;
  background: radial-gradient(ellipse at 50% 140%, rgba(41, 87, 200, .55), transparent 60%), #031030; }
#foyer-avent .fav-in { position: relative; box-sizing: border-box; max-width: 1440px; margin: 0 auto; min-height: 48px; padding: 0 64px;
  display: flex; align-items: center; justify-content: center; gap: 14px; }
#foyer-avent .fav-rond { flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: url("img/renard.jpg") center / cover no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 0 12px 3px rgba(150, 190, 255, .6); }
#foyer-avent .fav-txt { margin: 0; font-size: 16px; line-height: 1.3; color: #dfe6f7; }
#foyer-avent .fav-txt strong { color: #fff; font-weight: 600; }
#foyer-avent .fav-or { color: #ffc65c; font-weight: 600; }
#foyer-avent .fav-court { display: none; }
#foyer-avent .fav-cta { flex: none; padding: 6px 16px; border-radius: 100px; background: #fff; color: #2957c8;
  font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
#foyer-avent .fav-cta:hover { background: #e8eefb; }
#foyer-avent .fav-x { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #ced9f3; cursor: pointer; }
/* Faux positif contraste : le #fff est composé sur le fond #031030 du bandeau, ~14,6:1 (AAA) */
#foyer-avent .fav-x:hover { background: rgba(255, 255, 255, .1); color: #fff; } /* NOSONAR */
#foyer-avent a:focus-visible, #foyer-avent button:focus-visible { outline: 3px solid #ffc65c; outline-offset: 2px; }
@media (max-width: 760px) {
  #foyer-avent .fav-in { justify-content: flex-start; min-height: 52px; padding: 8px 52px 8px 16px; gap: 10px; }
  #foyer-avent .fav-long { display: none; }
  #foyer-avent .fav-court { display: inline; }
  #foyer-avent .fav-txt { font-size: 14px; }
  #foyer-avent .fav-rond { width: 26px; height: 26px; }
  #foyer-avent .fav-cta { padding: 5px 14px; font-size: 14px; }
  #foyer-avent .fav-x { right: 8px; }
}
