/* ============================================================
   Marca BORA LÁ — componente compartilhado (landing, login, início)
   Uso:
   <span class="marca" role="img" aria-label="Bora lá">
     <span class="m-bora" aria-hidden="true"><b>B</b><b>O</b><b>R</b><b>A</b></span>
     <span class="m-la" aria-hidden="true"><b>L</b><b class="m-a">A<i class="m-acento"></i></b></span>
   </span>
   Tamanho: font-size no .marca (ex.: style="font-size:96px").
   Paleta "Noite elétrica" (escolhida em 09/11/2026): BORA em branco quente, adesivo LÁ laranja,
   acento-confete lima, fundo quase preto. Jovem pela cor do LÁ, sério pelo resto.
   ============================================================ */
.marca{
  --m-texto:#F4F1EA; --m-laranja:#FF5A1F; --m-lima:#D4FF3A; --m-tinta:#0E0D14;
  display:inline-flex; align-items:center; gap:.16em;
  font:800 1em/1 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-.03em;
  white-space:nowrap; user-select:none; position:relative;
}
.marca b{ font-weight:inherit; display:inline-block; }

/* BORA — branco quente, entrando letra por letra (inclinação leve) */
.m-bora{ display:inline-flex; }
.m-bora b{ opacity:0; animation:m-pop .55s cubic-bezier(.16,1,.3,1) forwards; }
.m-bora b{ color:var(--m-texto); }
.m-bora b:nth-child(1){ --r:-3deg; --y:.01em;  animation-delay:.05s; }
.m-bora b:nth-child(2){ --r:2deg;  --y:-.03em; animation-delay:.13s; }
.m-bora b:nth-child(3){ --r:-2deg; --y:.02em;  animation-delay:.21s; }
.m-bora b:nth-child(4){ --r:3deg;  --y:-.02em; animation-delay:.29s; }
@keyframes m-pop{
  from{ opacity:0; transform:translateY(.18em) rotate(0) scale(.6); }
  to{   opacity:1; transform:translateY(var(--y)) rotate(var(--r)) scale(1); }
}

/* LÁ — adesivo inclinado que "cola" depois do BORA */
.m-la{
  display:inline-flex; align-items:baseline; position:relative;
  background:var(--m-laranja); color:var(--m-tinta);
  padding:.16em .2em .06em; border-radius:.16em; margin-left:.04em;
  transform-origin:20% 80%;
  opacity:0; animation:m-cola .6s cubic-bezier(.34,1.56,.64,1) .55s forwards;
}
.m-la b{ color:inherit; }
@keyframes m-cola{
  0%{   opacity:0; transform:rotate(-16deg) scale(1.35) translateY(-.15em); }
  60%{  opacity:1; transform:rotate(-3deg) scale(.96); }
  100%{ opacity:1; transform:rotate(-6deg) scale(1); }
}

/* acento: um confete que cai em cima do A, quica e balança de vez em quando */
.m-a{ position:relative; }
.m-acento{
  position:absolute; left:52%; top:.02em; width:.28em; height:.085em; border-radius:.05em;
  background:var(--m-lima); transform-origin:50% 50%;
  transform:translateX(-30%) rotate(-28deg);
  opacity:0;
  animation:m-cai .7s cubic-bezier(.34,1.56,.64,1) 1.05s forwards, m-balanca 4.5s ease-in-out 2.2s infinite;
}
@keyframes m-cai{
  0%{   opacity:0; transform:translate(-30%,-1.1em) rotate(160deg); }
  55%{  opacity:1; transform:translate(-30%,.06em) rotate(-40deg); }
  75%{  transform:translate(-30%,-.08em) rotate(-22deg); }
  100%{ opacity:1; transform:translate(-30%,0) rotate(-28deg); }
}
@keyframes m-balanca{
  0%,82%,100%{ transform:translate(-30%,0) rotate(-28deg); }
  88%{ transform:translate(-30%,-.1em) rotate(-8deg); }
  94%{ transform:translate(-30%,0) rotate(-40deg); }
}

/* confetes em volta (opcional: <span class="m-confete" aria-hidden="true"><i></i><i></i><i></i><i></i></span>) */
.m-confete{ position:absolute; inset:-.35em -.5em; pointer-events:none; }
.m-confete i{ position:absolute; display:block; border-radius:.03em; opacity:0; animation:m-sobe .6s ease-out forwards, m-flutua 5s ease-in-out infinite; }
.m-confete i:nth-child(1){ width:.1em; height:.1em; background:var(--m-laranja); top:0;    left:4%;   animation-delay:.9s, 1.5s; }
.m-confete i:nth-child(2){ width:.08em; height:.08em; background:var(--m-lima); top:6%;   right:2%;  border-radius:50%; animation-delay:1s, 2s; }
.m-confete i:nth-child(3){ width:.13em; height:.05em; background:var(--m-texto); bottom:4%; left:10%; animation-delay:1.1s, 2.6s; }
.m-confete i:nth-child(4){ width:.09em; height:.09em; background:var(--m-laranja); bottom:0;  right:12%; animation-delay:1.2s, 1.8s; }
@keyframes m-sobe{ from{ opacity:0; transform:scale(0); } to{ opacity:1; transform:scale(1); } }
@keyframes m-flutua{ 0%,100%{ translate:0 0; rotate:0deg; } 50%{ translate:0 -.1em; rotate:25deg; } }

/* passar o mouse: as letras dão um pulinho */
.marca:hover .m-bora b{ animation:m-pula .5s cubic-bezier(.34,1.56,.64,1); opacity:1; transform:translateY(var(--y)) rotate(var(--r)); }
.marca:hover .m-bora b:nth-child(2){ animation-delay:.05s; } .marca:hover .m-bora b:nth-child(3){ animation-delay:.1s; } .marca:hover .m-bora b:nth-child(4){ animation-delay:.15s; }
@keyframes m-pula{ 50%{ transform:translateY(calc(var(--y) - .12em)) rotate(calc(var(--r) * -1)); } }

/* versão pequena (cabeçalhos): sem confetes, animação mais curta */
.marca.mini .m-la{ padding:.12em .18em .04em; }

@media (prefers-reduced-motion:reduce){
  .m-bora b, .m-la, .m-acento, .m-confete i{ animation:none !important; opacity:1; }
  .m-bora b{ transform:translateY(var(--y)) rotate(var(--r)); }
  .m-la{ transform:rotate(-6deg); }
  .m-acento{ transform:translate(-30%,0) rotate(-28deg); }
}
