/* 3Vision Universal Credit v1.0.1 */
.tv3-credit{
  position:relative;
  z-index:30;
  width:100%;
  box-sizing:border-box;
  padding:9px 14px;
  overflow:hidden;
  background:#101113;
  border-top:1px solid rgba(255,255,255,.07);
  color:#d8dadd;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.tv3-credit::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.045) 50%,transparent 65%);
  transform:translateX(-120%);
  transition:transform .75s ease;
}

.tv3-credit:hover::before{
  transform:translateX(120%);
}

.tv3-credit__link{
  position:relative;
  z-index:1;
  width:min(1180px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#d8dadd!important;
  text-decoration:none!important;
  font-size:12px;
  line-height:1.15;
  transition:opacity .18s ease, transform .18s ease;
}

.tv3-credit__link:hover{
  opacity:.97;
  transform:translateY(-1px);
}

.tv3-credit__label{
  color:#a9adb3;
  font-weight:500;
  white-space:nowrap;
}

.tv3-credit__brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
}

.tv3-credit__logo{
  width:40px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  transform-origin:center;
  transition:transform .22s ease, filter .22s ease;
}

.tv3-credit__link:hover .tv3-credit__logo{
  transform:scale(1.045);
  filter:brightness(1.08);
}

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

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

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

.tv3-credit__wordmark small{
  color:#8f969e;
  font-size:9.5px;
  line-height:1.15;
  white-space:nowrap;
}

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

.igm-product-signature,
.igm-product-signature-app{
  display:none!important;
}

/* Défense CSS supplémentaire : si un thème exécute wp_footer() deux fois,
   seul le premier crédit reste visible même avant l'exécution du JS. */
.tv3-credit ~ .tv3-credit{
  display:none!important;
}

@media(max-width:640px){
  .tv3-credit{padding:8px 10px}
  .tv3-credit__link{
    gap:7px;
    flex-wrap:wrap;
    row-gap:3px;
  }
  .tv3-credit__label{font-size:10px}
  .tv3-credit__logo{width:35px;height:23px}
  .tv3-credit__logo svg{width:35px}
  .tv3-credit__wordmark strong{font-size:11.5px}
  .tv3-credit__wordmark small{font-size:8.8px}
}

@media(prefers-reduced-motion:reduce){
  .tv3-credit::before,
  .tv3-credit__link,
  .tv3-credit__logo{
    transition:none!important;
    transform:none!important;
  }
}

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