/* Sélecteur VWT / VWU et transition entre les deux univers. */
.nav-marque.brand-switch{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:138px;height:44px;padding:0 12px;border:1px solid rgba(27,34,54,.22);
  border-radius:100px;background:#f7f8fc;color:#7c8492;
  font-family:var(--font-vw-text);font-size:12px;font-weight:700;
  line-height:1;letter-spacing:.08em;text-decoration:none;white-space:nowrap;
  box-shadow:none;transition:border-color .2s ease,background-color .2s ease;
}
.nav-marque.brand-switch::before{content:none;display:none}
.nav-marque.brand-switch:hover{border-color:rgba(27,34,54,.42);background:#fff;color:#7c8492}
.brand-switch span{transition:color .2s ease}
.brand-switch--vwt span:first-child,
.brand-switch--vwu span:last-child{color:#1b2236}
.brand-switch-dial{
  position:relative;width:30px;height:30px;flex:none;border:1px solid #11192d;
  border-radius:50%;background:radial-gradient(circle at 34% 27%,#34415e,#1b2236 58%,#0e1423 78%);
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 1px 2px rgba(16,21,34,.28);
  transition:transform .34s cubic-bezier(.2,.8,.2,1);
}
.brand-switch-dial::before{
  content:"";position:absolute;left:9px;top:5px;width:8px;height:19px;border-radius:4px;
  background:linear-gradient(90deg,#101727,#405071 48%,#11192b);
  box-shadow:inset 1px 0 rgba(255,255,255,.12),1px 1px 2px rgba(0,0,0,.42);
}
.brand-switch-dial::after{
  content:"";position:absolute;left:12px;top:3px;width:3px;height:7px;
  border-radius:3px;background:#ccbdab;
}
.brand-switch--vwt .brand-switch-dial{transform:rotate(-46deg)}
.brand-switch--vwu .brand-switch-dial{transform:rotate(46deg)}

/* Barre identique sur les pages principales et toutes les pages internes. */
nav .nav-brand-group{display:flex;align-items:center;gap:18px;min-width:0}
nav .nav-brand-group .nav-logo{height:56px}

.brand-transition{
  --door-color:#1b2236;position:fixed;z-index:10000;inset:0;
  overflow:hidden;visibility:hidden;pointer-events:none;isolation:isolate;
}
.brand-transition[data-theme="vwu"]{--door-color:#1b2236}
.brand-transition[data-theme="vwt"]{--door-color:#1b2236}
.brand-door{
  position:absolute;left:0;width:100%;height:calc(50% + 2px);background-color:var(--door-color);
  background-image:repeating-linear-gradient(0deg,transparent 0 69px,rgba(255,255,255,.055) 70px,rgba(255,255,255,.055) 71px);
  will-change:transform;backface-visibility:hidden;transform:translateZ(0);
}
.brand-door--top{top:0;border-bottom:0;transform:translateY(-102%)}
.brand-door--bottom{bottom:0;border-top:0;transform:translateY(102%)}
.brand-transition.is-leaving{visibility:visible}
.brand-transition.is-leaving .brand-door--top{animation:brand-close-top .68s cubic-bezier(.72,0,.28,1) both}
.brand-transition.is-leaving .brand-door--bottom{animation:brand-close-bottom .68s cubic-bezier(.72,0,.28,1) both}
.brand-transition-entering .brand-transition{visibility:visible}
.brand-transition-entering .brand-door--top{animation:brand-open-top .7s .06s cubic-bezier(.72,0,.28,1) both}
.brand-transition-entering .brand-door--bottom{animation:brand-open-bottom .7s .06s cubic-bezier(.72,0,.28,1) both}
@keyframes brand-close-top{from{transform:translateY(-102%)}to{transform:translateY(0)}}
@keyframes brand-close-bottom{from{transform:translateY(102%)}to{transform:translateY(0)}}
@keyframes brand-open-top{from{transform:translateY(0)}to{transform:translateY(-102%)}}
@keyframes brand-open-bottom{from{transform:translateY(0)}to{transform:translateY(102%)}}
@media(max-width:800px){
  nav .nav-brand-group{gap:13px}
  nav .nav-brand-group .nav-logo{height:48px}
  .nav-marque.brand-switch{position:absolute;left:50%;transform:translateX(-50%);z-index:1;width:118px;height:36px;padding:0 9px;gap:7px;font-size:10px}
  .brand-switch-dial{width:26px;height:26px}
  .brand-switch-dial::before{left:8px;top:4px;width:7px;height:17px}
  .brand-switch-dial::after{left:10px;top:3px;height:6px}
}
