/* 3Vision Universal Credit v1.1.0 — premium universal signature */
.tv3-credit{
  --tv3-bg:#07111f;
  --tv3-bg-2:#0b1930;
  --tv3-text:#eef5ff;
  --tv3-muted:#8fa2bc;
  --tv3-line:rgba(255,255,255,.10);
  --tv3-cyan:#6fe8ff;
  --tv3-blue:#4e8cff;
  --tv3-violet:#8b5cff;
  position:relative;
  isolation:isolate;
  z-index:30;
  width:100%;
  box-sizing:border-box;
  padding:10px 18px;
  overflow:hidden;
  color:var(--tv3-text);
  background:
    radial-gradient(520px 90px at 50% 120%,rgba(78,140,255,.14),transparent 72%),
    linear-gradient(180deg,var(--tv3-bg-2),var(--tv3-bg));
  border-top:1px solid var(--tv3-line);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
}

.tv3-credit::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0 auto auto 0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg,transparent 6%,var(--tv3-cyan) 30%,var(--tv3-blue) 52%,var(--tv3-violet) 74%,transparent 94%);
  opacity:.55;
}

.tv3-credit::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-120%;
  left:-12%;
  width:18%;
  height:340%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);
  animation:tv3-scan 9s ease-in-out infinite;
  pointer-events:none;
}

.tv3-credit__link{
  width:min(1180px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  color:var(--tv3-text)!important;
  text-decoration:none!important;
  font-size:12px;
  line-height:1.15;
  outline:none;
}

.tv3-credit__label{
  color:var(--tv3-muted);
  font-weight:550;
  white-space:nowrap;
  letter-spacing:.01em;
  transition:color .22s ease;
}

.tv3-credit__brand{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 7px 4px 5px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 7px 22px rgba(0,0,0,.12);
  transition:transform .25s ease,border-color .25s ease,background-color .25s ease,box-shadow .25s ease;
}

.tv3-credit__logo{
  position:relative;
  width:29px;
  height:29px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  filter:drop-shadow(0 4px 10px rgba(78,140,255,.18));
}

.tv3-credit__logo::after{
  content:"";
  position:absolute;
  inset:-4px;
  z-index:-1;
  border-radius:16px;
  background:radial-gradient(circle,rgba(111,232,255,.18),transparent 68%);
  opacity:0;
  transform:scale(.75);
  transition:opacity .25s ease,transform .35s ease;
}

.tv3-credit__logo svg{
  display:block;
  width:29px;
  height:29px;
}

.tv3-credit__wordmark{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.tv3-credit__wordmark strong{
  color:#fff;
  font-size:12.5px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
}

.tv3-credit__wordmark small{
  margin-top:2px;
  color:#8295b1;
  font-size:8.5px;
  line-height:1.1;
  font-weight:600;
  letter-spacing:.065em;
  text-transform:uppercase;
  white-space:nowrap;
}

.tv3-credit__arrow{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  flex:0 0 auto;
  border-radius:50%;
  color:#9fb6d4;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.025);
  transition:transform .25s ease,color .25s ease,border-color .25s ease,background-color .25s ease;
}

.tv3-credit__arrow svg{width:13px;height:13px}

.tv3-credit__link:hover .tv3-credit__label{color:#c6d4e7}
.tv3-credit__link:hover .tv3-credit__brand{
  transform:translateY(-1px);
  border-color:rgba(111,232,255,.28);
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 9px 28px rgba(36,86,170,.16);
}
.tv3-credit__link:hover .tv3-credit__logo::after{opacity:1;transform:scale(1)}
.tv3-credit__link:hover .tv3-credit__arrow{
  transform:translate(2px,-2px);
  color:#fff;
  border-color:rgba(111,232,255,.32);
  background:rgba(78,140,255,.12);
}
.tv3-credit__link:focus-visible{
  border-radius:13px;
  box-shadow:0 0 0 2px var(--tv3-bg),0 0 0 4px var(--tv3-cyan);
}

@keyframes tv3-scan{
  0%,68%{transform:translateX(0) rotate(18deg);opacity:0}
  74%{opacity:1}
  88%{transform:translateX(660%) rotate(18deg);opacity:.65}
  100%{transform:translateX(660%) rotate(18deg);opacity:0}
}

/* Login WordPress */
body.login .tv3-credit{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:999;
}

/* Evite les doublons provenant d'anciens crédits 3Vision connus */
.igm-product-signature,
.igm-product-signature-app{
  display:none!important;
}

@media(max-width:640px){
  .tv3-credit{padding:9px 10px}
  .tv3-credit__link{gap:7px;flex-wrap:wrap;row-gap:5px}
  .tv3-credit__label{font-size:10px}
  .tv3-credit__brand{gap:6px;padding:3px 6px 3px 4px;border-radius:11px}
  .tv3-credit__logo,.tv3-credit__logo svg{width:26px;height:26px}
  .tv3-credit__wordmark strong{font-size:11.5px}
  .tv3-credit__wordmark small{font-size:7.4px;letter-spacing:.045em}
  .tv3-credit__arrow{width:20px;height:20px}
}

@media(max-width:420px){
  .tv3-credit__label{width:100%;text-align:center;margin-bottom:1px}
}

@media(prefers-reduced-motion:reduce){
  .tv3-credit::after{animation:none}
  .tv3-credit__brand,.tv3-credit__logo::after,.tv3-credit__arrow,.tv3-credit__label{transition:none}
}

@media print{
  .tv3-credit{display:none!important}
}
