/* ==========================================================================
   LIBERT7 · fluxo-operacao.css
   Seção #operacao do site público ("Como a operação muda"): o fluxograma
   antes e depois. Usa os tokens de base.css sem editá-lo.

   Gramática (a mesma dos fluxogramas do site institucional da Atto):
   janela de app sobre tela com grade; ORIGEM à esquerda (nós redondos com
   ícone, rótulo e contagem); PROCESSAMENTO no meio (o L7 e as etapas, com a
   pílula de taxa); DESTINO à direita (selo com o visto); um cartão de gargalo.

   REGRA: o estilo base de cada elemento É o quadro final (o "depois"),
   completo e legível. A animação só existe sob .l7-op.is-on, que o
   js/fluxo-operacao.js põe quando 12% da cena está na tela e tira quando ela
   sai de todo. Sem JS, aparece o quadro final, parado.

   Laço de 12 s: a LIMPEZA fica no INÍCIO do ciclo (0 a 3%), nunca no fim.
     0,5 s  origens          1,0 s  fios até o dono (vermelho)
     1,4 s  nó "Dono"        2,0 s  cartão "Gargalo encontrado"
     ~5 s   o dono sai; os fios passam pelo L7 (azul); etiqueta "Com o LIBERT7"
     5,9 s  trilho e etapas  8,0 s  destino
     8,4 s  o cartão vira "Gargalo resolvido"; quadro final segura até 12 s.
   Elementos só do "antes" (nó Dono, fios vermelhos, cartão vermelho, etiqueta
   "Hoje") têm opacidade 0 no estilo base: acendem e apagam dentro do laço.
   Reduzir movimento: uma passada só (iteration 1, fill backwards) e termina
   no quadro final; os tracejados não correm.
   Celular e toque (.is-uma): também uma passada só, e o quadro final fica.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Cabeça da seção
   -------------------------------------------------------------------------- */

.l7-operacao .l7-op-rotulo {
  margin-bottom: var(--esp-3);
  color: var(--azul-700);
  font-size: var(--fonte-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
}


/* --------------------------------------------------------------------------
   2. Janela
   -------------------------------------------------------------------------- */

.l7-op {
  --laco: 7s;
  --fio-a: var(--atrasada);
  --fio-d: var(--azul-500);
  --a: 90deg;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  container-type: inline-size;
  border: 1px solid var(--cinza-200);
  border-radius: 18px;
  background: var(--branco);
  box-shadow: var(--sombra-2);
  color: var(--marinho);
  line-height: 1.25;
}

.l7-op svg {
  display: block;
  overflow: visible;
}

.l7-op-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--cinza-200);
  background: var(--branco);
}

.l7-op-dots {
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 22px;
  border-radius: 50%;
  background: var(--cinza-300);
  box-shadow: 13px 0 var(--cinza-300), 26px 0 var(--cinza-300);
}

.l7-op-ti {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--texto-suave);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l7-op-selo {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--cinza-200);
  border-radius: var(--raio-pilula);
  background: var(--cinza-50);
  color: var(--cinza-700);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.l7-op-selo::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ceu-500);
}


/* --------------------------------------------------------------------------
   3. Tela (horizontal: contêiner acima de 740 px)
   Colunas: origens | leque 72px | nó central | trilho | etapas | trilho | destino.
   Linhas: etiqueta do estado; o fluxo; o cartão do gargalo embaixo do nó central.
   O leque é SVG de altura fixa: cada origem ocupa uma linha de 46px (5 x 46 = 230)
   e os fios chegam ao nó central em leque estreito em volta do meio (y = 103 a 127),
   na borda do círculo. Ele só estica na largura (preserveAspectRatio="none").
   -------------------------------------------------------------------------- */

.l7-op-cv {
  display: grid;
  grid-template-columns: auto 72px 8.2em minmax(24px, 150px) auto minmax(24px, 150px) 10em;
  grid-template-areas:
    "tg tg tg tg tg tg tg"
    "or fa hb t1 pr t2 rs"
    ".  .  al al al .  .";
  justify-content: center;
  align-items: center;
  row-gap: 14px;
  padding: 16px 24px 24px;
  background-color: var(--cinza-50);
  background-image:
    linear-gradient(rgba(11, 37, 69, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 37, 69, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  font-size: clamp(11.5px, 1.25cqi, 14px);
}

.l7-op-cv b {
  font-weight: 700;
}

.l7-op-cv small {
  color: var(--texto-fraco);
  font-size: max(10.5px, 0.86em);
  font-weight: 500;
}

/* Etiqueta do estado: "Hoje" no antes, "Com o LIBERT7" no depois */
.l7-op-tg {
  grid-area: tg;
  justify-self: start;
  display: grid;
}

.l7-op-tg > span {
  grid-area: 1 / 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--raio-pilula);
  font-size: max(10.5px, 0.86em);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.l7-op-tg > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.l7-op-tg-a {
  background: var(--atrasada-fundo);
  color: var(--atrasada);
  opacity: 0;
}

.l7-op-tg-d {
  background: var(--azul-100);
  color: var(--azul-700);
}

/* ORIGEM: 5 nós redondos, rótulo e contagem à esquerda do ícone */
.l7-op-or {
  grid-area: or;
  display: grid;
  grid-auto-rows: 46px;
  align-items: center;
  justify-items: end;
}

.l7-op-ch {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 9px;
  text-align: right;
  white-space: nowrap;
}

.l7-op-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--azul-200);
  border-radius: 50%;
  background: var(--branco);
  color: var(--azul-700);
  box-shadow: var(--sombra-1);
}

.l7-op-ic svg {
  width: 18px;
  height: 18px;
}

.l7-op-tx {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

/* Fios: leque (horizontal) e funil (vertical). "a" = antes (até o dono), "d" = depois (até o L7) */
.l7-op-fa,
.l7-op-fv {
  grid-area: fa;
}

/* o leque passa por baixo do nó central até a borda do círculo (4,6em centrado em 8,2em) */
.l7-op .l7-op-fa {
  justify-self: start;
  width: calc(72px + 1.8em + 3px);
  max-width: none;
  height: 230px;
  margin-right: calc(-1.8em - 3px);
}

.l7-op .l7-op-fv {
  display: none;
}

.l7-op-f {
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 5;
}

.l7-op-fa-a .l7-op-f,
.l7-op-fv-a .l7-op-f {
  stroke: var(--fio-a);
}

.l7-op-fa-d .l7-op-f,
.l7-op-fv-d .l7-op-f {
  stroke: var(--fio-d);
}

.l7-op-fa-a,
.l7-op-fv-a {
  opacity: 0;
}

/* Nó central: o Dono (antes) e o L7 (depois) ocupam a mesma célula.
   A caixa do nó é só o círculo; o rótulo fica pendurado embaixo. */
.l7-op-hb {
  grid-area: hb;
  display: grid;
}

.l7-op-no {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  justify-items: center;
}

/* traço do círculo do L7 até o trilho, e do trilho até o visto do destino */
.l7-op-l7::before,
.l7-op-rs::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.6px;
  margin-top: -0.8px;
  background: repeating-linear-gradient(90deg, var(--fio-d) 0 4px, transparent 4px 9px);
}

.l7-op-l7::before {
  left: 50%;
}

.l7-op-ci {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.6em;
  height: 4.6em;
  border-radius: 50%;
}

.l7-op-l7 .l7-op-ci {
  border: 2px solid var(--azul-300);
  background: var(--branco);
  box-shadow: 0 0 0 6px rgba(141, 179, 226, 0.22), var(--sombra-2);
}

.l7-op-l7m {
  width: 44%;
  height: auto;
}

.l7-op-l7m-l { stroke: var(--marinho-800); }
.l7-op-l7m-7 { stroke: var(--azul-700); }

.l7-op-dono {
  opacity: 0;
}

.l7-op-dono .l7-op-ci {
  border: 2px solid var(--atrasada);
  background: var(--atrasada-fundo);
  color: var(--atrasada);
}

.l7-op-dono .l7-op-ci svg {
  width: 44%;
  height: 44%;
}

.l7-op-dono .l7-op-ci::after {
  content: "!";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 19px;
  height: 19px;
  border: 2px solid var(--cinza-50);
  border-radius: 50%;
  background: var(--atrasada);
  color: var(--branco);
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

.l7-op-rt {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 1px;
  width: max-content;
  max-width: 8.2em;
  text-align: center;
  text-wrap: balance;
}

.l7-op-dono .l7-op-rt small {
  color: var(--atrasada);
  font-weight: 600;
}

/* Trilhos retos entre o nó central, as etapas e o destino */
.l7-op-t {
  position: relative;
  align-self: center;
  height: 1.6px;
}

.l7-op-t::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(var(--a), var(--fio-d) 0 4px, transparent 4px 9px);
}

.l7-op-t1 { grid-area: t1; }
.l7-op-t2 { grid-area: t2; }

/* PROCESSAMENTO: as 3 etapas, ligadas por um trilho tracejado, com a pílula de taxa */
.l7-op-pr {
  grid-area: pr;
  position: relative;
  display: grid;
  gap: 0.55em;
  padding: 0.95em 1.15em 0.95em 0.9em;
  border: 1px solid var(--azul-200);
  border-radius: 14px;
  background: var(--branco);
  box-shadow: 0 0 0 5px rgba(222, 236, 252, 0.7), var(--sombra-2);
  white-space: nowrap;
}

.l7-op-pr::before {
  content: "";
  position: absolute;
  left: calc(0.9em + 12.2px);
  top: calc(0.95em + 13px);
  bottom: calc(0.95em + 13px);
  width: 1.6px;
  background: repeating-linear-gradient(180deg, var(--azul-400) 0 4px, transparent 4px 9px);
}

.l7-op-pa {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
}

.l7-op-pi {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--azul-200);
  border-radius: 50%;
  background: var(--azul-50);
  color: var(--azul-700);
}

.l7-op-pi svg {
  width: 15px;
  height: 15px;
}

.l7-op-cv .l7-op-pl {
  position: relative;
  justify-self: start;
  padding: 2px 8px;
  border: 1px solid var(--azul-300);
  border-radius: var(--raio-pilula);
  background: var(--branco);
  color: var(--azul-700);
  font-weight: 700;
}

/* DESTINO: o visto, o resultado e o selo dos 30 dias */
.l7-op-rs {
  grid-area: rs;
  position: relative;
  display: grid;
  justify-items: center;
}

.l7-op-rs::before {
  right: 50%;
}

.l7-op-ok {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 50%;
  background: var(--ceu-400);
  color: var(--marinho);
  box-shadow: 0 0 0 6px var(--ceu-100), 0 8px 20px -8px rgba(2, 123, 175, 0.6);
}

.l7-op-ok svg {
  width: 52%;
  height: 52%;
}

.l7-op-rs .l7-op-rt {
  top: calc(100% + 12px);
  gap: 6px;
  max-width: 10em;
}

.l7-op-rs .l7-op-rt b {
  font-weight: 800;
  line-height: 1.2;
}

.l7-op-bd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 6px;
  border: 1px solid var(--ceu-200);
  border-radius: var(--raio-pilula);
  background: var(--ceu-50);
  color: var(--ceu-800);
  font-size: max(10.5px, 0.86em);
  font-weight: 700;
  white-space: nowrap;
}

.l7-op-bd svg {
  flex: none;
  width: 15px;
  height: 15px;
}

/* GARGALO: duas faces no mesmo lugar. "a" = encontrado (vermelho), "d" = resolvido (visto).
   A seta aponta para o nó central (meio da coluna de 8,2em). */
.l7-op-al {
  grid-area: al;
  justify-self: start;
  align-self: start;
  display: grid;
  min-width: 0;
}

.l7-op-al > div {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1px 0.65em;
  padding: 0.6em 0.95em 0.65em 0.7em;
  border-style: solid;
  border-width: 1px 1px 1px 3px;
  border-radius: 10px;
}

.l7-op-al > div::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: calc(4.1em - 10px);
  border: 7px solid transparent;
  border-bottom-color: inherit;
}

.l7-op-ai {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--branco);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.l7-op-ai svg {
  width: 14px;
  height: 14px;
}

.l7-op-al small {
  color: var(--cinza-800);
}

.l7-op-al-a {
  border-color: var(--atrasada-borda);
  border-left-color: var(--atrasada);
  background: var(--atrasada-fundo);
  opacity: 0;
}

.l7-op-al-a .l7-op-ai { background: var(--atrasada); }
.l7-op-al-a b { color: var(--atrasada); }

.l7-op-al-d {
  border-color: var(--azul-200);
  border-left-color: var(--azul-700);
  background: var(--branco);
}

.l7-op-al-d .l7-op-ai { background: var(--azul-700); }
.l7-op-al-d b { color: var(--azul-700); }


/* --------------------------------------------------------------------------
   4. Vertical (contêiner até 739 px)
   Origens no alto (num quadro), funil até o nó central, trilho com o cartão do
   gargalo ao lado, etapas, trilho e destino. Nada cortado de 280 a 739 px.
   -------------------------------------------------------------------------- */

@container (max-width: 739px) {
  .l7-op-cv {
    --a: 180deg;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tg" "or" "fa" "hb" "t1" "pr" "t2" "rs";
    row-gap: 0;
    padding: 14px 12px 20px;
    font-size: clamp(11px, 3.1cqi, 13px);
  }

  .l7-op-tg {
    margin-bottom: 10px;
  }

  .l7-op-or {
    grid-auto-rows: auto;
    justify-items: stretch;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--cinza-200);
    border-radius: 14px;
    background: var(--branco);
  }

  .l7-op-ch {
    flex-direction: row;
    gap: 7px;
    min-width: 0;
    padding: 3px 4px;
    text-align: left;
    white-space: normal;
  }

  .l7-op-ic {
    width: 28px;
    height: 28px;
    box-shadow: none;
  }

  .l7-op-ic svg {
    width: 16px;
    height: 16px;
  }

  .l7-op .l7-op-fa {
    display: none;
  }

  .l7-op .l7-op-fv {
    display: block;
    width: 100%;
    height: 34px;
  }

  .l7-op-hb {
    justify-self: center;
  }

  .l7-op-l7::before,
  .l7-op-rs::before {
    display: none;
  }

  /* rótulo do nó central à esquerda do círculo */
  .l7-op-hb .l7-op-rt {
    top: 50%;
    left: auto;
    right: calc(100% + 12px);
    transform: translateY(-50%);
    justify-items: end;
    width: max-content;
    max-width: calc(50cqi - 2.3em - 30px);
    text-align: right;
  }

  .l7-op-t {
    justify-self: center;
    align-self: stretch;
    width: 1.6px;
    height: auto;
    min-height: 22px;
  }

  /* o cartão fica ao lado do trilho, à direita, apontando para o nó central */
  .l7-op-al {
    grid-area: t1;
    justify-self: end;
    width: calc(50% - 14px);
    margin: 14px 0;
  }

  .l7-op-al > div::before {
    left: 10px;
  }

  .l7-op-pr {
    justify-self: center;
    width: min(100%, 17.5em);
  }

  .l7-op-rs .l7-op-rt {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin-top: 12px;
  }
}

/* De 560 a 739 px: as 5 origens lado a lado, ícone em cima do rótulo */
@container (min-width: 560px) and (max-width: 739px) {
  .l7-op-or {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .l7-op-ch {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* Até 559 px: duas colunas; a última origem ocupa a linha toda, centrada */
@container (max-width: 559px) {
  .l7-op-or {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l7-op-ch:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* Até 340 px: barra da janela mais justa, para o título caber inteiro em 280 px */
@container (max-width: 340px) {
  .l7-op-bar {
    gap: 8px;
    padding-inline: 12px;
  }

  .l7-op-selo {
    padding: 5px 8px;
    font-size: 11px;
  }

  .l7-op-selo::before {
    display: none;
  }
}

/* Até 420 px: no cartão do gargalo o texto miúdo ocupa a largura toda */
@container (max-width: 420px) {
  .l7-op-ai {
    grid-row: auto;
    width: 18px;
    height: 18px;
    font-size: 10.5px;
  }

  .l7-op-ai svg {
    width: 12px;
    height: 12px;
  }

  .l7-op-al > div {
    column-gap: 0.45em;
    padding: 0.55em 0.7em 0.6em 0.6em;
  }

  .l7-op-al small {
    grid-column: 1 / -1;
  }
}


/* --------------------------------------------------------------------------
   5. Animação (só com .is-on)
   Cada etapa: 0% e 100% implícitos = estilo base (quadro final).
   "Entra": some de 0 a 3% (limpeza), apagada até t, acende em ~0,4 s.
   "Entra e sai" (só do antes): base apagada; acende em t1 e apaga em t2.
   -------------------------------------------------------------------------- */

/* entra */
@keyframes l7op-en  { 3%, 4.2%  { opacity: 0; } 7.6%  { opacity: 1; } }   /* 0,5 s origens */
@keyframes l7op-tgd { 3%, 41.7% { opacity: 0; } 45%   { opacity: 1; } }   /* 5,0 s etiqueta "Com o LIBERT7" */
@keyframes l7op-fd  { 3%, 43.3% { opacity: 0; } 46.7% { opacity: 1; } }   /* 5,2 s fios até o L7 */
@keyframes l7op-l7  { 3%, 45%   { opacity: 0; } 48.3% { opacity: 1; } }   /* 5,4 s nó L7 */
@keyframes l7op-t1  { 3%, 49.2% { opacity: 0; } 52.5% { opacity: 1; } }   /* 5,9 s trilho até as etapas */
@keyframes l7op-pr  { 3%, 50.8% { opacity: 0; } 54.2% { opacity: 1; } }   /* 6,1 s quadro das etapas */
@keyframes l7op-pa  { 3%, 54.2% { opacity: 0; } 57.5% { opacity: 1; } }   /* 6,5 s etapas (+ --d) */
@keyframes l7op-t2  { 3%, 66.7% { opacity: 0; } 70%   { opacity: 1; } }   /* 8,0 s trilho até o destino */
@keyframes l7op-rs  { 3%, 68.3% { opacity: 0; } 71.7% { opacity: 1; } }   /* 8,2 s destino */
@keyframes l7op-ald { 3%, 70%   { opacity: 0; } 73.3% { opacity: 1; } }   /* 8,4 s gargalo resolvido */

/* entra e sai (só do antes) */
@keyframes l7op-tga { 3.3%  { opacity: 0; } 6.7%, 40.8%  { opacity: 1; } 44.2% { opacity: 0; } } /* 0,4 a 4,9 s "Hoje" */
@keyframes l7op-fa  { 8.3%  { opacity: 0; } 11.7%, 40.8% { opacity: 1; } 44.2% { opacity: 0; } } /* 1,0 a 4,9 s fios até o dono */
@keyframes l7op-dn  { 11.7% { opacity: 0; } 15%, 40.8%   { opacity: 1; } 44.2% { opacity: 0; } } /* 1,4 a 4,9 s nó Dono */
@keyframes l7op-ala { 16.7% { opacity: 0; } 20%, 69.2%   { opacity: 1; } 72.5% { opacity: 0; } } /* 2,0 a 8,3 s gargalo encontrado */

/* fluxo dos tracejados e pulso do dono */
@keyframes l7op-fs { from { stroke-dashoffset: 18; } to { stroke-dashoffset: 0; } }
@keyframes l7op-fh { from { background-position: -18px 0; } to { background-position: 0 0; } }
@keyframes l7op-fv { from { background-position: 0 -18px; } to { background-position: 0 0; } }
@keyframes l7op-pulso {
  from { box-shadow: 0 0 0 0 rgba(165, 51, 50, 0.32); }
  to   { box-shadow: 0 0 0 16px rgba(165, 51, 50, 0); }
}

.l7-op.is-on .l7-op-ch    { animation: l7op-en  var(--laco) var(--d, 0s) infinite; }
.l7-op.is-on .l7-op-tg-a  { animation: l7op-tga var(--laco) infinite; }
.l7-op.is-on .l7-op-tg-d  { animation: l7op-tgd var(--laco) infinite; }
.l7-op.is-on .l7-op-fa-a,
.l7-op.is-on .l7-op-fv-a  { animation: l7op-fa  var(--laco) infinite; }
.l7-op.is-on .l7-op-dono  { animation: l7op-dn  var(--laco) infinite; }
.l7-op.is-on .l7-op-al-a  { animation: l7op-ala var(--laco) infinite; }
.l7-op.is-on .l7-op-fa-d,
.l7-op.is-on .l7-op-fv-d  { animation: l7op-fd  var(--laco) infinite; }
.l7-op.is-on .l7-op-l7    { animation: l7op-l7  var(--laco) infinite; }
.l7-op.is-on .l7-op-t1    { animation: l7op-t1  var(--laco) infinite; }
.l7-op.is-on .l7-op-pr    { animation: l7op-pr  var(--laco) infinite; }
.l7-op.is-on .l7-op-pa,
.l7-op.is-on .l7-op-pl    { animation: l7op-pa  var(--laco) var(--d, 0s) infinite; }
.l7-op.is-on .l7-op-t2    { animation: l7op-t2  var(--laco) infinite; }
.l7-op.is-on .l7-op-rs    { animation: l7op-rs  var(--laco) infinite; }
.l7-op.is-on .l7-op-al-d  { animation: l7op-ald var(--laco) infinite; }

.l7-op.is-on .l7-op-f            { animation: l7op-fs 1.2s linear infinite; }
.l7-op.is-on .l7-op-t::before    { animation: l7op-fh 1.2s linear infinite; }
.l7-op.is-on .l7-op-pr::before   { animation: l7op-fv 1.2s linear infinite; }
.l7-op.is-on .l7-op-dono .l7-op-ci { animation: l7op-pulso 1.4s ease-out infinite; }

@container (max-width: 739px) {
  .l7-op.is-on .l7-op-t::before { animation-name: l7op-fv; }
}

/* Celular e toque (.is-uma, o JS põe): UMA passada e o quadro final fica.
   Na cena em pé (~1000 px no iPhone) o laço deixava a metade de baixo vazia
   por ~8 s a cada 12 s, e quem rolava via o conteúdo "sumir". Tracejado e
   pulso correm só durante a passada (no fim o JS tira .is-on). Fora da tela
   ou com a aba escondida, a passada pausa (.is-pausa) e continua na volta. */
.l7-op.is-uma.is-on .l7-op-ch,
.l7-op.is-uma.is-on .l7-op-tg-a,
.l7-op.is-uma.is-on .l7-op-tg-d,
.l7-op.is-uma.is-on .l7-op-fa-a,
.l7-op.is-uma.is-on .l7-op-fv-a,
.l7-op.is-uma.is-on .l7-op-dono,
.l7-op.is-uma.is-on .l7-op-al-a,
.l7-op.is-uma.is-on .l7-op-fa-d,
.l7-op.is-uma.is-on .l7-op-fv-d,
.l7-op.is-uma.is-on .l7-op-l7,
.l7-op.is-uma.is-on .l7-op-t1,
.l7-op.is-uma.is-on .l7-op-pr,
.l7-op.is-uma.is-on .l7-op-pa,
.l7-op.is-uma.is-on .l7-op-pl,
.l7-op.is-uma.is-on .l7-op-t2,
.l7-op.is-uma.is-on .l7-op-rs,
.l7-op.is-uma.is-on .l7-op-al-d {
  animation-iteration-count: 1;
  animation-fill-mode: backwards;
}

.l7-op.is-pausa *,
.l7-op.is-pausa *::before,
.l7-op.is-pausa *::after {
  animation-play-state: paused !important;
}

/* Reduzir movimento: o base.css encurta toda animação para 0,01 ms. Aqui a cena
   toca UMA passada do laço e para no quadro final (backwards: no fim volta ao
   estilo base, que é o "depois"). Tracejado e pulso ficam parados. */
@media (prefers-reduced-motion: reduce) {
  .l7-op.is-on .l7-op-ch,
  .l7-op.is-on .l7-op-tg-a,
  .l7-op.is-on .l7-op-tg-d,
  .l7-op.is-on .l7-op-fa-a,
  .l7-op.is-on .l7-op-fv-a,
  .l7-op.is-on .l7-op-dono,
  .l7-op.is-on .l7-op-al-a,
  .l7-op.is-on .l7-op-fa-d,
  .l7-op.is-on .l7-op-fv-d,
  .l7-op.is-on .l7-op-l7,
  .l7-op.is-on .l7-op-t1,
  .l7-op.is-on .l7-op-pr,
  .l7-op.is-on .l7-op-pa,
  .l7-op.is-on .l7-op-pl,
  .l7-op.is-on .l7-op-t2,
  .l7-op.is-on .l7-op-rs,
  .l7-op.is-on .l7-op-al-d {
    animation-duration: var(--laco) !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: backwards !important;
  }

  .l7-op.is-on .l7-op-f,
  .l7-op.is-on .l7-op-t::before,
  .l7-op.is-on .l7-op-pr::before,
  .l7-op.is-on .l7-op-dono .l7-op-ci {
    animation: none !important;
  }
}
