/* Big M — bouton flottant « Jeu concours en cours » (inc/concours.php), sur toutes les pages sauf
   celle du jeu et les fiches des restaurants qui ont déjà la bande. En bas à gauche (à droite :
   le bouton des promos de StoreLocatore) ; sur mobile, au-dessus de la barre d'onglets. */

.jc-flottant { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 32px); padding: 5px; border-radius: 999px; color: #fff; background: linear-gradient(120deg, #2a1650, #6b2a6e 55%, #c8400a); box-shadow: 0 16px 36px -14px rgba(43, 20, 6, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.jc-flottant[hidden] { display: none; }
.jc-flottant__lien { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; padding: 0 10px 0 2px; border-radius: 999px; color: #fff; text-decoration: none; }
.jc-flottant__lien:hover, .jc-flottant__lien:focus { color: #fff; }
.jc-flottant__lien:focus-visible, .jc-flottant__fermer:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.jc-flottant__icone { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow, #ffc21a); color: var(--ink, #2b1406); }
.jc-flottant__texte { display: grid; min-width: 0; line-height: 1.15; }
.jc-flottant__texte strong { font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.jc-flottant__texte small { overflow: hidden; font-size: 12.5px; color: rgba(255, 255, 255, .86); white-space: nowrap; text-overflow: ellipsis; }
.jc-flottant__fermer { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.jc-flottant__fermer:hover, .jc-flottant__fermer:focus { background: rgba(255, 255, 255, .26); color: #fff; } /* Hello Elementor colore les boutons */

@media (prefers-reduced-motion: no-preference) {
  .jc-flottant { opacity: 0; transform: translateY(calc(100% + 24px)); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease; }
  .jc-flottant.is-visible { opacity: 1; transform: none; }
  .jc-flottant__icone::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: jc-flottant-halo 2.2s ease-out infinite; }
  .jc-flottant__lien:hover .jc-flottant__icone { transform: rotate(-10deg) scale(1.06); }
  .jc-flottant__icone { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
}
@keyframes jc-flottant-halo { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 26, .65); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 194, 26, 0); } }

@media (max-width: 760px) {
  .jc-flottant { left: 12px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 24px); }
  .jc-flottant__texte strong { font-size: 14px; }
}
@media print { .jc-flottant { display: none; } }
