/* Feature Accordion 02 · cx-feature-accordion-02
   Card dividido: painel colorido (cor por item) com número gigante, título, texto, setas e palavra vazada ao fundo;
   foto à direita com paginação vertical que mostra o progresso. */
.cx-feature-accordion-02 {
  --cx-fa2-cor: var(--acento);
  --cx-fa2-tinta: var(--acento-texto);
  position: relative;
  display: grid;
  grid-template-columns: 44% 56%;
  width: 100%;
  max-width: 1120px;
  aspect-ratio: 16 / 9.6;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
}
.cx-fa2-painel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  background: var(--cx-fa2-cor);
  color: var(--cx-fa2-tinta);
  transition: background-color .8s cubic-bezier(.65, 0, .35, 1), color .8s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cx-fa2-numero { position: absolute; top: clamp(14px, 2.4vw, 28px); left: clamp(18px, 3vw, 36px); font: 700 clamp(56px, 9vw, 120px)/.9 var(--fonte-texto); letter-spacing: -.05em; }
.cx-fa2-total { position: absolute; top: clamp(18px, 3vw, 34px); right: clamp(18px, 3vw, 34px); font-size: 12px; opacity: .7; }
.cx-fa2-marca {
  position: absolute; left: -2%; bottom: -14%;
  font: 700 clamp(90px, 15vw, 210px)/1 var(--fonte-texto); letter-spacing: -.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .22;
  pointer-events: none;
}
.cx-fa2-texto { position: relative; z-index: 1; max-width: 330px; }
.cx-fa2-olho { display: flex; align-items: center; gap: 8px; font-size: 11px; opacity: .85; margin-bottom: 6px; }
.cx-fa2-olho::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.cx-fa2-texto h3 { margin: 0 0 8px; font: 700 clamp(24px, 3vw, 38px)/1.05 var(--fonte-titulo); letter-spacing: -.03em; }
.cx-fa2-texto .cx-fa2-desc { font-size: 13px; line-height: 1.5; opacity: .85; }
.cx-fa2-texto .cx-fa2-desc p { margin: 0; }
.cx-fa2-setas { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 18px; align-self: flex-end; }
.cx-fa2-setas button {
  all: unset; box-sizing: border-box; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  font-size: 13px; transition: background .3s;
}
.cx-fa2-setas button:hover { background: color-mix(in srgb, currentColor 15%, transparent); }
.cx-fa2-setas button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* troca de conteúdo: o velho sai para cima, o novo sobe */
.cx-fa2-anim { animation: cx-fa2-entra .7s cubic-bezier(.22, 1, .36, 1) both; }
.cx-fa2-texto > *:nth-child(2) { animation-delay: .06s; } .cx-fa2-texto > *:nth-child(3) { animation-delay: .12s; }
@keyframes cx-fa2-entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cx-fa2-marca.cx-fa2-anim { animation-name: cx-fa2-marca; animation-duration: 1.1s; }
@keyframes cx-fa2-marca { from { opacity: 0; transform: translateX(8%); } to { opacity: .22; transform: none; } }

.cx-fa2-midia { position: relative; overflow: hidden; background: #111; }
.cx-fa2-midia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); }
.cx-fa2-midia img.is-base { clip-path: inset(0); z-index: 1; }
.cx-fa2-midia img.is-entrando { z-index: 2; animation: cx-fa2-cortina .9s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes cx-fa2-cortina { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } to { clip-path: inset(0); transform: scale(1); } }
.cx-fa2-pontos { position: absolute; z-index: 3; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.cx-fa2-pontos button { all: unset; position: relative; width: 4px; height: 4px; border-radius: 99px; background: rgb(255 255 255 / .55); cursor: pointer; overflow: hidden; transition: height .5s var(--ease); }
.cx-fa2-pontos button.is-ativo { height: 30px; background: rgb(255 255 255 / .35); }
.cx-fa2-pontos button i { position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: top; }
.cx-fa2-pontos button.is-ativo i { animation: cx-fa2-barra var(--cx-fa2-tempo, 5s) linear forwards; }
.cx-feature-accordion-02.is-pausado .cx-fa2-pontos i { animation-play-state: paused; }
@keyframes cx-fa2-barra { to { transform: scaleY(1); } }
@media (max-width: 760px) {
  .cx-feature-accordion-02 { grid-template-columns: 1fr; aspect-ratio: auto; }
  .cx-fa2-painel { min-height: 340px; }
  .cx-fa2-midia { aspect-ratio: 4 / 3; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-fa2-anim, .cx-fa2-midia img.is-entrando { animation: none; } .cx-fa2-midia img.is-entrando { clip-path: inset(0); }
  .cx-fa2-painel { transition: none; }
}
