/* ── Logo ── */
.bab-logo-wrap { position: relative; width: 100%; }
.bab-logo-tube { position: relative; width: 100%; line-height: 0; }
.bab-logo-pic {
  display: block; width: 100%; height: auto;
  filter: blur(16px) brightness(2.3);
  transform: scale(1.05);
}
.bab-logo-wrap.on .bab-logo-pic {
  animation: babLogoFocus 1.1s cubic-bezier(.22,.6,.2,1) .1s both;
}
@keyframes babLogoFocus {
  0%   { filter: blur(16px) brightness(2.3); transform: scale(1.05); }
  100% { filter: blur(0) brightness(1);      transform: scale(1); }
}
.bab-logo-flash {
  position: absolute; inset: 0;
  background: #FBFAF7; opacity: 0;
  pointer-events: none; z-index: 3;
  mix-blend-mode: screen;
}
.bab-logo-wrap.on .bab-logo-flash {
  animation: babFlashPop .12s ease-out both;
}
@keyframes babFlashPop {
  0%   { opacity: 0; }
  18%  { opacity: .85; }
  100% { opacity: 0; }
}
.bab-logo-beam {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 2px;
  background: #FBFAF7; opacity: 0;
  z-index: 9999;
  box-shadow: 0 0 8px 2px rgba(251,250,247,.9), 0 0 22px 6px rgba(216,149,2,.35);
  pointer-events: none;
}
.bab-logo-wrap.on .bab-logo-beam {
  animation: babBeamShow .5s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes babBeamShow {
  0%   { opacity: 0; transform: scaleX(0); }
  10%  { opacity: 1; transform: scaleX(.08); }
  55%  { opacity: 1; transform: scaleX(1); }
  85%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

/* ── Plume (typewriter italic) ── */
.bab-plume {
  font-family: "capitolium-2", "Georgia", "Times New Roman", serif !important;
  font-style: italic; font-weight: normal;
  font-size: 31px; line-height: 1.1em;
  color: #D79503;
  text-align: center; margin: 0; min-height: 3.3em;
}
.bab-plume-caret {
  display: inline-block; width: 2px; height: .82em;
  background: #D79503; margin-left: 2px;
  vertical-align: -0.08em;
  animation: babCaretBlink .9s steps(1) infinite;
}
@keyframes babCaretBlink { 50% { opacity: 0; } }

/* ── Point sienne ── */
.bab-point-wrap {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,1.8,.3,1);
}
.bab-point-wrap.bab-point-show {
  opacity: 1;
  transform: scale(1);
}

/* ── Relie (typewriter blanc) ── */
.bab-relie {
  font-family: "capitolium-2", "Georgia", "Times New Roman", serif !important;
  font-style: normal; font-weight: normal;
  font-size: 36px; line-height: 1.1em;
  color: #FFFFFF;
  text-align: center; margin: 0; min-height: 1.1em;
}
.bab-relie-caret {
  display: inline-block; width: 2px; height: .8em;
  background: #FFFFFF; margin-left: 2px;
  vertical-align: -0.06em;
  animation: babRelieCaretBlink .9s steps(1) infinite;
}
@keyframes babRelieCaretBlink { 50% { opacity: 0; } }

/* ── Din (sous-titre) reveal ── */
.bab-din {
  opacity: 0;
  transform: translateY(8px);
}
.bab-din.bab-din-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .bab-logo-pic  { filter: none !important; transform: none !important; animation: none !important; }
  .bab-logo-flash, .bab-logo-beam { display: none !important; }
  .bab-plume-caret, .bab-relie-caret { display: none; }
  .bab-point-wrap { opacity: 1; transform: none; }
  .bab-din { opacity: 1; transform: none; }
}
