/* Bandeau d'événement (2.16.0) : couleurs, icônes et effet choisis dans « Mon site » > « Bandeau d'événement ». */
.fbn-ruban{--rb1:#a9261f;--rb2:#d8433b;--rbt:#fff;position:relative;display:flex;align-items:center;justify-content:center;gap:20px;overflow:hidden;padding:11px 18px;background:linear-gradient(90deg,var(--rb1),var(--rb2),var(--rb1),var(--rb2),var(--rb1));background-size:300% 100%;color:var(--rbt);text-align:center;font:500 15px/1.4 Roboto,Arial,sans-serif;text-decoration:none}
.fbn-ruban:hover,.fbn-ruban:focus{color:var(--rbt);filter:brightness(1.1)}
.fbn-ruban .t{position:relative;z-index:2;min-width:0}
.fbn-ruban .tt{display:inline-block}
.fbn-ruban .t i{display:inline-block;font-style:normal}
.fbn-ruban .deco{position:relative;z-index:2;display:flex;flex:none;align-items:center;gap:12px;font-size:24px;line-height:1}
.fbn-ruban .deco:empty{display:none}
.fbn-ruban .e{display:inline-block}
.fbn-ruban img.e{width:1em;height:1em;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.fbn-ruban svg.e{flex:none;width:.92em;height:.92em;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.fbn-ruban .fx{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}

/* Icônes qui sautent (tous les effets sauf « sans animation ») ; flocon et étoile tournent. */
.fbn-ruban .deco .e{animation:fbn-rb-saute 2.6s ease-in-out infinite}
.fbn-ruban .deco .e:nth-child(2){animation-delay:.35s}
.fbn-ruban .deco .e:nth-child(3){animation-delay:.7s}
.fbn-ruban .deco .e:nth-child(4){animation-delay:1.05s}
.fbn-ruban .deco .e.tourne{animation:fbn-rb-tourne 7s linear infinite}
.fbn-ruban .t i{animation:fbn-rb-fleche 1.4s ease-in-out infinite}

/* Brillance : couleurs qui glissent et reflet qui passe (l'effet d'origine). */
.fbn-ruban.fx-brillance{animation:fbn-rb-fond 14s linear infinite}
.fbn-ruban.fx-brillance .fx:before{content:"";position:absolute;top:0;bottom:0;left:-160px;width:130px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.3),transparent);animation:fbn-rb-eclat 6s ease-in-out infinite}

/* Neige et confettis : petits points qui tombent. */
.fbn-ruban.fx-neige .fx:before,.fbn-ruban.fx-neige .fx:after,.fbn-ruban.fx-confettis .fx:before,.fbn-ruban.fx-confettis .fx:after{content:"";position:absolute;left:0;right:0;top:-60px;bottom:0;background-repeat:repeat;animation:fbn-rb-tombe 6s linear infinite}
.fbn-ruban.fx-neige .fx:before{background-image:radial-gradient(circle,rgba(255,255,255,.95) 0 1.6px,transparent 2.2px),radial-gradient(circle,rgba(255,255,255,.7) 0 1.1px,transparent 1.6px);background-size:90px 48px,53px 48px;background-position:0 0,27px 24px}
.fbn-ruban.fx-neige .fx:after{background-image:radial-gradient(circle,rgba(255,255,255,.85) 0 2.2px,transparent 2.8px);background-size:131px 60px;background-position:61px 7px;animation-name:fbn-rb-tombe2;animation-duration:9s}
.fbn-ruban.fx-confettis .fx:before{background-image:radial-gradient(circle,#f0d28f 0 2px,transparent 2.6px),radial-gradient(circle,#ff5d73 0 1.8px,transparent 2.4px),radial-gradient(circle,#5ec8ff 0 1.8px,transparent 2.4px);background-size:83px 48px,61px 48px,97px 48px;background-position:0 0,23px 16px,49px 32px;animation-duration:5s}
.fbn-ruban.fx-confettis .fx:after{background-image:radial-gradient(circle,#7ee08a 0 1.8px,transparent 2.4px),radial-gradient(circle,#fff 0 1.5px,transparent 2px);background-size:71px 60px,113px 60px;background-position:31px 5px,7px 35px;animation-name:fbn-rb-tombe2;animation-duration:7s}

/* Icônes qui flottent vers le haut. */
.fbn-ruban.fx-flotte .p{position:absolute;bottom:-1.4em;font-size:19px;line-height:1;opacity:0;animation:fbn-rb-monte 7s linear infinite}
.fbn-ruban.fx-flotte .p .e{animation:none}
.fbn-ruban.fx-flotte .p:nth-child(1){left:4%}
.fbn-ruban.fx-flotte .p:nth-child(2){left:14%;animation-delay:2.1s;font-size:12px}
.fbn-ruban.fx-flotte .p:nth-child(3){left:24%;animation-delay:4.4s}
.fbn-ruban.fx-flotte .p:nth-child(4){left:35%;animation-delay:1.2s;font-size:13px}
.fbn-ruban.fx-flotte .p:nth-child(5){left:46%;animation-delay:5.6s}
.fbn-ruban.fx-flotte .p:nth-child(6){left:56%;animation-delay:3.1s;font-size:12px}
.fbn-ruban.fx-flotte .p:nth-child(7){left:66%;animation-delay:.6s}
.fbn-ruban.fx-flotte .p:nth-child(8){left:76%;animation-delay:4.9s;font-size:13px}
.fbn-ruban.fx-flotte .p:nth-child(9){left:86%;animation-delay:2.7s}
.fbn-ruban.fx-flotte .p:nth-child(10){left:95%;animation-delay:6.2s;font-size:12px}

/* Texte qui défile de droite à gauche. */
.fbn-ruban.fx-defilement .t{flex:1;overflow:hidden;white-space:nowrap}
.fbn-ruban.fx-defilement .tt{padding-left:100%;animation:fbn-rb-defile 16s linear infinite}

/* Pulsation lumineuse. */
.fbn-ruban.fx-pulsation{animation:fbn-rb-pulse 2.4s ease-in-out infinite}
.fbn-ruban.fx-pulsation .tt{animation:fbn-rb-grossit 2.4s ease-in-out infinite}

/* Sans animation. */
.fbn-ruban.fx-calme .deco .e,.fbn-ruban.fx-calme .t i{animation:none}

@keyframes fbn-rb-fond{to{background-position:-300% 0}}
@keyframes fbn-rb-eclat{0%{left:-160px}55%,100%{left:110%}}
@keyframes fbn-rb-fleche{50%{transform:translateX(5px)}}
@keyframes fbn-rb-saute{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(-7deg)}}
@keyframes fbn-rb-tourne{to{transform:rotate(360deg)}}
@keyframes fbn-rb-tombe{to{transform:translateY(48px)}}
@keyframes fbn-rb-tombe2{to{transform:translateY(60px)}}
@keyframes fbn-rb-monte{0%{transform:translateY(0) rotate(0);opacity:0}15%{opacity:1}100%{transform:translateY(-60px) rotate(20deg);opacity:0}}
@keyframes fbn-rb-defile{to{transform:translateX(-100%)}}
@keyframes fbn-rb-pulse{0%,100%{box-shadow:inset 0 0 0 rgba(255,255,255,0)}50%{box-shadow:inset 0 0 28px rgba(255,255,255,.28)}}
@keyframes fbn-rb-grossit{50%{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.fbn-ruban,.fbn-ruban *,.fbn-ruban .fx:before,.fbn-ruban .fx:after{animation:none!important}.fbn-ruban .fx{display:none}.fbn-ruban.fx-defilement .tt{padding-left:0}}

/* Cellulaire : texte plus petit et une seule icône de chaque côté. */
@media(max-width:900px){.fbn-ruban{gap:10px;padding:8px 14px;font-size:13px;line-height:1.35}.fbn-ruban .deco{font-size:21px}.fbn-ruban .deco .e{display:none}.fbn-ruban .deco .e:first-child{display:inline-block}}
