/* Unicom-WG — Bannière d'annonce défilante [unicom_annonce]
   Styles strictement limités au bloc (préfixe u3n-) : aucun effet sur le reste du site. */
.u3n{
  --u3n-violet:#6a35a3; --u3n-magenta:#b23a72; --u3n-or:#d4af37; --u3n-or-clair:#f1d77a; --u3n-nuit:#1b0f2c;
  container-type:inline-size; position:relative; isolation:isolate; box-sizing:border-box;
  display:flex; align-items:stretch; width:100%; max-width:100%; min-height:56px; margin:18px 0; overflow:hidden;
  border-radius:10px; border:1px solid rgba(212,175,55,.5); color:#fff; font-family:Roboto,Arial,sans-serif; line-height:1.3;
  background:
    radial-gradient(40% 200% at 100% 50%, rgba(178,58,114,.35) 0%, rgba(178,58,114,0) 70%),
    linear-gradient(115deg,#4a2380 0%,#3b1c6b 45%,#2a1450 100%);
  box-shadow:0 8px 22px rgba(27,15,44,.25);
}
.u3n *{box-sizing:border-box}
.u3n::after{content:""; position:absolute; left:0; right:0; top:0; height:2px; z-index:3; pointer-events:none;
  background:linear-gradient(90deg,var(--u3n-magenta),var(--u3n-or) 50%,var(--u3n-violet))}

/* Étiquette à gauche */
.u3n-tag{position:relative; z-index:2; flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:0 30px 0 16px;
  background:linear-gradient(135deg,#7a3fb8 0%,var(--u3n-violet) 45%,var(--u3n-magenta) 100%);
  clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%)}
.u3n-ico{display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:50%;
  background:linear-gradient(135deg,#f6e3a1,#d4af37 55%,#a8801f); color:var(--u3n-nuit); box-shadow:0 0 0 3px rgba(241,215,122,.25)}
.u3n-ico svg{width:17px; height:17px}
.u3n-tag b{display:block; font-family:Spectral,Georgia,serif; font-weight:700; font-size:15px; letter-spacing:.6px; white-space:nowrap}
.u3n-tag small{display:flex; align-items:center; gap:6px; font-size:10.5px; text-transform:uppercase; letter-spacing:1.2px; opacity:.9; white-space:nowrap}
.u3n-tag small::before{content:""; width:7px; height:7px; border-radius:50%; background:#2ecc71; animation:u3nPulse 2s infinite}
@keyframes u3nPulse{0%{box-shadow:0 0 0 0 rgba(46,204,113,.7)}70%{box-shadow:0 0 0 6px rgba(46,204,113,0)}100%{box-shadow:0 0 0 0 rgba(46,204,113,0)}}

/* Fil défilant */
.u3n-fil{position:relative; flex:1 1 auto; min-width:0; display:flex; align-items:center; overflow:hidden; margin-left:-8px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 36px,#000 calc(100% - 36px),transparent 100%)}
.u3n-piste{display:flex; flex:0 0 auto; align-items:center; width:max-content; will-change:transform; -webkit-animation:u3nDefil 40s linear infinite; animation:u3nDefil 40s linear infinite}
.u3n:hover .u3n-piste,.u3n:focus-within .u3n-piste{-webkit-animation-play-state:paused !important; animation-play-state:paused !important}
.u3n-bloc{display:block; white-space:nowrap; padding:0 0 0 40px; font-size:15.5px; color:rgba(255,255,255,.95)}
.u3n-bloc strong{color:var(--u3n-or-clair); font-weight:600}
.u3n-sep{display:inline-block; margin:0 22px; color:var(--u3n-or); font-style:normal; font-size:13px; text-shadow:0 0 10px rgba(212,175,55,.8)}
@-webkit-keyframes u3nDefil{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-50%,0,0);transform:translate3d(-50%,0,0)}}
@keyframes u3nDefil{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* Bouton à droite */
.u3n-cta{position:relative; z-index:2; flex:0 0 auto; display:flex; align-items:center; padding:0 14px 0 6px}
.u3n-cta a{display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:7px; font-size:13.5px; font-weight:500; white-space:nowrap;
  text-decoration:none !important; color:var(--u3n-nuit) !important; background:linear-gradient(135deg,#f1d77a,#d4af37 60%,#b8902a);
  box-shadow:0 4px 12px rgba(212,175,55,.3); transition:transform .15s}
.u3n-cta a:hover{transform:translateY(-2px)}

/* Petits écrans */
@container (max-width:640px){
  .u3n-tag{padding:0 22px 0 10px}
  .u3n-tag .u3n-txt{display:none}
  .u3n-bloc{font-size:14.5px}
  .u3n-cta a span{display:none}
  .u3n-cta a{padding:8px 11px}
}
/* Réglage « Réduire les animations » (iPhone, Mac…) : le message continue de défiler, plus lentement */
@media (prefers-reduced-motion:reduce){
  .u3n-tag small::before{animation:none}
}
/* === REPLI SANS CONTAINER QUERIES === */
@supports not (container-type:inline-size){
@media (max-width:640px){
  .u3n-tag{padding:0 22px 0 10px}
  .u3n-tag .u3n-txt{display:none}
  .u3n-bloc{font-size:14.5px}
  .u3n-cta a span{display:none}
  .u3n-cta a{padding:8px 11px}
}
}
/* Bannière avec couleur de fond choisie : étiquette sombre translucide, mots en doré clair */
.u3n.u3n--couleur .u3n-tag{background:rgba(0,0,0,.28)}
.u3n.u3n--couleur .u3n-bloc strong{color:#fff6cf}
/* Bannières pleine largeur sous le diaporama (empilées) */
.u3n-pleine{box-sizing:border-box; width:100vw; max-width:100vw; margin:0 calc(50% - 50vw); display:flex; flex-direction:column}
.u3n-pleine .u3n{margin:0 !important; border-radius:0 !important; border-left:0 !important; border-right:0 !important; min-height:60px; box-shadow:none}
.u3n-pleine .u3n + .u3n{border-top:0 !important}
.u3n-pleine .u3n-bloc{font-size:16px}
