/* ==========================================================================
   Examina+ · Animação de abertura (E+ que se expande em Examina+)
   Markup: templates/includes/_logo_animado.html
   Cores por variável: --ex-anim-e (o E e "xamina"), --ex-anim-plus (o +).
   Tamanho: font-size no .ex-op-row.
   ========================================================================== */
.ex-op { display: flex; align-items: center; }
.ex-op-row {
  --ex-anim-e: #FFFFFF; --ex-anim-plus: var(--ex-plus-dark, #6E91FF);
  display: flex; align-items: baseline; white-space: nowrap;
  font-family: var(--ex-font-display, 'Sora', sans-serif); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.2; font-size: 88px; color: var(--ex-anim-e);
  animation: exOpRow 6.5s 1 both;            /* toca 1 vez; troque 1 por infinite para loop */
}
.ex-op-row.ex-glow { filter: drop-shadow(0 0 18px rgba(255,255,255,.28)) drop-shadow(0 0 2px rgba(255,255,255,.35)); }
.ex-op-row .e { display: block; height: .7em; width: .49em; margin-right: .05em; overflow: visible; }
.ex-op-row .e rect { fill: var(--ex-anim-e); }
.ex-op-row .pp rect { fill: var(--ex-anim-plus); }
.ex-op-row .e rect, .ex-op-row .pp rect { transform-box: fill-box; }
.ex-op-row .st { transform-origin: 50% 100%; animation: exOpStem 6.5s 1 both; }
.ex-op-row .b1 { transform-origin: 0 50%; animation: exOpB1 6.5s 1 both; }
.ex-op-row .b2 { transform-origin: 0 50%; animation: exOpB2 6.5s 1 both; }
.ex-op-row .b3 { transform-origin: 0 50%; animation: exOpB3 6.5s 1 both; }
.ex-op-row .xm { display: block; overflow: hidden; max-width: 4em; animation: exOpXm 6.5s 1 both; }
.ex-op-row .pp { display: block; height: .4em; width: .4em; overflow: visible; margin-left: .06em; transform: translateY(-.3em); animation: exOpPlus 6.5s 1 both; }
.ex-op-row .pv { transform-origin: 50% 100%; animation: exOpPv 6.5s 1 both; }
.ex-op-row .ph { transform-origin: 50% 50%; animation: exOpPh 6.5s 1 both; }

/* Com "1 both" a animação termina na marca completa e fica parada.
   O fade-out de exOpRow só existe para o modo loop (.ex-loop). */
.ex-op-row.ex-loop, .ex-op-row.ex-loop * { animation-iteration-count: infinite !important; }
@keyframes exOpRow { 0%, 91% { opacity: 1; } 97%, 100% { opacity: 1; } }
.ex-op-row.ex-loop { animation-name: exOpRowLoop; }
@keyframes exOpRowLoop { 0%, 91% { opacity: 1; } 97%, 100% { opacity: 0; } }

@keyframes exOpStem { 0% { transform: scaleY(0); animation-timing-function: cubic-bezier(.2,.7,.2,1); } 7%, 100% { transform: scaleY(1); } }
@keyframes exOpB1 { 0%, 7%  { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.7,.2,1); } 16%, 100% { transform: scaleX(1); } }
@keyframes exOpB2 { 0%, 10% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.7,.2,1); } 19%, 100% { transform: scaleX(1); } }
@keyframes exOpB3 { 0%, 13% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.7,.2,1); } 22%, 100% { transform: scaleX(1); } }
@keyframes exOpPv { 0%, 24% { transform: scaleY(0); animation-timing-function: cubic-bezier(.3,1.4,.5,1); } 30%, 100% { transform: scaleY(1); } }
@keyframes exOpPh { 0%, 28% { transform: scaleX(0); animation-timing-function: cubic-bezier(.3,1.4,.5,1); } 34%, 100% { transform: scaleX(1); } }
@keyframes exOpXm { 0%, 46% { max-width: 0; opacity: 0; animation-timing-function: cubic-bezier(.65,0,.25,1); } 66%, 100% { max-width: 4em; opacity: 1; } }
@keyframes exOpPlus { 0%, 46% { margin-left: .07em; transform: translateY(-.4em); animation-timing-function: cubic-bezier(.65,0,.25,1); } 66%, 100% { margin-left: .06em; transform: translateY(-.3em); } }

@media (prefers-reduced-motion: reduce) {
  .ex-op-row, .ex-op-row * { animation: none !important; }
}
