/**
 * Biblioteca de EFEITOS CSS do Legado OS (fx-*).
 * Carregada no canvas do editor GrapesJS (preview) E nas páginas públicas
 * (publish) — os blocos inserem só o HTML com as classes; a animação vem daqui.
 * Assim @keyframes/@supports sempre funcionam (independe do getCss do editor).
 * Implementações próprias (keyframes/transitions comuns) — não copiam terceiros.
 */

/* ---- keyframes compartilhados ---- */
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxGrad { to { background-position: 300% 0; } }

/* ============================ TEXTO ============================ */
.fx-tx-fadeup { animation: fxFadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fxFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.fx-tx-tw span { display: inline-block; overflow: hidden; white-space: nowrap; border-right: .12em solid currentColor; max-width: 0; animation: fxType 3s steps(30,end) forwards, fxCaret .8s step-end infinite; }
@keyframes fxType { to { max-width: 22ch; } }
@keyframes fxCaret { 50% { border-color: transparent; } }

.fx-tx-grad { background: linear-gradient(90deg,#0d9488,#2563eb,#7c3aed,#0d9488); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fxGrad 6s linear infinite; }

.fx-tx-shine { background: linear-gradient(90deg,#334155 40%,#fff 50%,#334155 60%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fxShine 3s linear infinite; }
@keyframes fxShine { to { background-position: -200% 0; } }

.fx-tx-glitch { position: relative; color: #0f172a; }
.fx-tx-glitch::before, .fx-tx-glitch::after { content: attr(data-txt); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.fx-tx-glitch::before { color: #2dd4bf; animation: fxGl1 2.5s infinite linear alternate; }
.fx-tx-glitch::after { color: #f43f5e; animation: fxGl2 2s infinite linear alternate; }
@keyframes fxGl1 { 0%,100% { clip-path: inset(0 0 80% 0); transform: translateX(-2px); } 50% { clip-path: inset(40% 0 20% 0); transform: translateX(2px); } }
@keyframes fxGl2 { 0%,100% { clip-path: inset(70% 0 0 0); transform: translateX(2px); } 50% { clip-path: inset(20% 0 50% 0); transform: translateX(-2px); } }

/* ============================ HOVER ============================ */
.fx-hv-elevar { padding: 24px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; transition: transform .25s, box-shadow .25s; }
.fx-hv-elevar:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(15,23,42,.15); }

.fx-hv-under { position: relative; text-decoration: none; color: #0d9488; font-weight: 600; }
.fx-hv-under::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.fx-hv-under:hover::after { transform: scaleX(1); }

.fx-hv-zoom { padding: 24px; border-radius: 12px; background: #0d9488; color: #fff; text-align: center; transition: transform .3s; will-change: transform; }
.fx-hv-zoom:hover { transform: scale(1.05); }

.fx-hv-borda { padding: 24px; border-radius: 12px; background: #fff; border: 2px solid #e2e8f0; transition: border-color .3s, box-shadow .3s; }
.fx-hv-borda:hover { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }

/* ============================ BOTÕES ============================ */
.fx-bt-fill { position: relative; display: inline-block; padding: 12px 24px; border: 2px solid #0d9488; border-radius: 8px; color: #0d9488; font-weight: 600; text-decoration: none; overflow: hidden; z-index: 0; }
.fx-bt-fill::before { content: ""; position: absolute; inset: 0; background: #0d9488; transform: scaleX(0); transform-origin: left; transition: transform .3s; z-index: -1; }
.fx-bt-fill:hover { color: #fff; }
.fx-bt-fill:hover::before { transform: scaleX(1); }

.fx-bt-shine { position: relative; display: inline-block; padding: 12px 24px; background: #2563eb; border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; overflow: hidden; }
.fx-bt-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg,transparent,rgba(255,255,255,.5),transparent); transform: skewX(-20deg); transition: left .5s; }
.fx-bt-shine:hover::after { left: 120%; }

.fx-bt-pulse { display: inline-block; padding: 12px 24px; background: #c0261d; border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; animation: fxPulse 1.8s infinite; }
@keyframes fxPulse { 0% { box-shadow: 0 0 0 0 rgba(192,38,29,.5); } 70% { box-shadow: 0 0 0 14px rgba(192,38,29,0); } 100% { box-shadow: 0 0 0 0 rgba(192,38,29,0); } }

.fx-bt-borda { display: inline-block; padding: 2px; border-radius: 10px; background: linear-gradient(90deg,#0d9488,#2563eb,#7c3aed,#0d9488); background-size: 300% 100%; text-decoration: none; animation: fxGrad 4s linear infinite; }
.fx-bt-borda span { display: block; padding: 10px 22px; border-radius: 8px; background: #fff; color: #0f172a; font-weight: 600; }

/* ============================ ANIMAÇÕES ============================ */
.fx-an-float { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #0d9488; color: #fff; animation: fxFloat 3s ease-in-out infinite; }
@keyframes fxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.fx-an-shake { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #f59e0b; color: #0f172a; }
.fx-an-shake:hover { animation: fxShake .5s; }
@keyframes fxShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

.fx-an-spin { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: #7c3aed; animation: fxSpin 3s linear infinite; }

.fx-an-pop { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #16a34a; color: #fff; animation: fxPop .6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes fxPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* ======================= TAILWIND (CSS puro) ======================= */
.fx-tw-bounce { width: 48px; height: 48px; border-radius: 50%; background: #2563eb; animation: fxBounce 1s infinite; }
@keyframes fxBounce { 0%,100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); } 50% { transform: translateY(-25px); animation-timing-function: cubic-bezier(0,0,.2,1); } }

.fx-tw-pulse { display: inline-block; padding: 16px 24px; border-radius: 10px; background: #0d9488; color: #fff; animation: fxTwPulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes fxTwPulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

.fx-tw-ping { position: relative; display: inline-flex; width: 24px; height: 24px; }
.fx-tw-ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #0d9488; opacity: .75; animation: fxPing 1s cubic-bezier(0,0,.2,1) infinite; }
.fx-tw-ping span { position: relative; display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: #0d9488; }
@keyframes fxPing { 75%,100% { transform: scale(2); opacity: 0; } }

.fx-tw-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #e2e8f0; border-top-color: #2563eb; animation: fxSpin 1s linear infinite; }

/* ============================ FUNDO ============================ */
.fx-bg-grad { padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: linear-gradient(120deg,#0d9488,#2563eb,#7c3aed,#0d9488); background-size: 300% 300%; animation: fxBgGrad 12s ease infinite; }
@keyframes fxBgGrad { 0% { background-position: 0 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.fx-bg-blobs { position: relative; overflow: hidden; padding: 56px 24px; border-radius: 14px; background: #0f172a; color: #fff; text-align: center; }
.fx-bg-blobs::before, .fx-bg-blobs::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(50px); opacity: .6; }
.fx-bg-blobs::before { background: #0d9488; top: -60px; left: -40px; animation: fxBlob1 9s ease-in-out infinite; }
.fx-bg-blobs::after { background: #7c3aed; bottom: -60px; right: -40px; animation: fxBlob2 11s ease-in-out infinite; }
.fx-bg-blobs > * { position: relative; }
@keyframes fxBlob1 { 50% { transform: translate(40px,30px) scale(1.2); } }
@keyframes fxBlob2 { 50% { transform: translate(-40px,-20px) scale(1.15); } }

.fx-bg-grid { padding: 56px 24px; border-radius: 14px; color: #0f172a; text-align: center; background-color: #f8fafc; background-image: linear-gradient(#e2e8f0 1px,transparent 1px), linear-gradient(90deg,#e2e8f0 1px,transparent 1px); background-size: 24px 24px; }

.fx-bg-aurora { padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: conic-gradient(from 0deg at 50% 50%,#0d9488,#2563eb,#7c3aed,#0ea5e9,#0d9488); filter: saturate(1.1); animation: fxSpin 18s linear infinite; }
.fx-bg-aurora > * { animation: fxSpin 18s linear infinite reverse; }

/* ============================ SCROLL (CSS view()) ============================ */
.fx-sc-reveal { padding: 28px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; }
@supports (animation-timeline: view()) {
  .fx-sc-reveal { animation: fxScReveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes fxScReveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}
.fx-sc-scale { padding: 28px; border-radius: 12px; background: #0d9488; color: #fff; text-align: center; }
@supports (animation-timeline: view()) {
  .fx-sc-scale { animation: fxScScale linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes fxScScale { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
}
.fx-sc-parx { height: 220px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg,#1e293b,#0f172a); color: #fff; }
@supports (animation-timeline: view()) {
  .fx-sc-parx span { animation: fxParx linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes fxParx { from { transform: translateY(-30px); } to { transform: translateY(30px); } }
}
.fx-sc-bar { position: sticky; top: 0; height: 5px; background: linear-gradient(90deg,#0d9488,#2563eb); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
@supports (animation-timeline: scroll()) {
  .fx-sc-bar { animation: fxScBar linear; animation-timeline: scroll(root); }
  @keyframes fxScBar { to { transform: scaleX(1); } }
}

/* ============================ IMAGEM ============================ */
.fx-im-zoom { margin: 0; overflow: hidden; border-radius: 12px; max-width: 480px; }
.fx-im-zoom img { display: block; width: 100%; transition: transform .5s; }
.fx-im-zoom:hover img { transform: scale(1.12); }

.fx-im-gray { margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-gray img { display: block; width: 100%; filter: grayscale(1); transition: filter .5s; }
.fx-im-gray:hover img { filter: grayscale(0); }

.fx-im-curtain { position: relative; margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-curtain img { display: block; width: 100%; }
.fx-im-curtain span { position: absolute; inset: 0; background: #0d9488; transform-origin: right; transition: transform .5s; }
.fx-im-curtain:hover span { transform: scaleX(0); }

.fx-im-cap { position: relative; margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-cap img { display: block; width: 100%; }
.fx-im-cap figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; color: #fff; background: linear-gradient(transparent,rgba(0,0,0,.75)); transform: translateY(100%); transition: transform .4s; }
.fx-im-cap:hover figcaption { transform: none; }

/* ===================  EXPANSÃO (efeitos extras)  ================== */

/* ---- TEXTO extra ---- */
.fx-tx-slidein { animation: fxSlideIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fxSlideIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.fx-tx-blur { animation: fxBlurIn 1s both; }
@keyframes fxBlurIn { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
.fx-tx-reveal { display: inline-block; clip-path: inset(0 100% 0 0); animation: fxReveal 1.2s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes fxReveal { to { clip-path: inset(0 0 0 0); } }
.fx-tx-neon { color: #22d3ee; text-shadow: 0 0 6px #22d3ee, 0 0 14px #0891b2; animation: fxNeon 2s ease-in-out infinite alternate; }
@keyframes fxNeon { from { opacity: .7; text-shadow: 0 0 4px #22d3ee; } to { opacity: 1; text-shadow: 0 0 10px #22d3ee, 0 0 22px #0891b2; } }
.fx-tx-flip { display: inline-block; animation: fxFlipIn .9s cubic-bezier(.3,1.2,.4,1) both; transform-origin: center; }
@keyframes fxFlipIn { from { opacity: 0; transform: perspective(400px) rotateX(-90deg); } to { opacity: 1; transform: none; } }

/* ---- HOVER extra ---- */
.fx-hv-skew { display: inline-block; padding: 16px 22px; border-radius: 10px; background: #7c3aed; color: #fff; transition: transform .3s; }
.fx-hv-skew:hover { transform: skewX(-6deg) scale(1.03); }
.fx-hv-shinecard { position: relative; overflow: hidden; padding: 24px; border-radius: 12px; background: #0f172a; color: #fff; }
.fx-hv-shinecard::after { content: ""; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; background: linear-gradient(120deg,transparent,rgba(255,255,255,.25),transparent); transform: skewX(-20deg); transition: left .6s; }
.fx-hv-shinecard:hover::after { left: 130%; }
.fx-hv-tilt { padding: 24px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; transition: transform .3s; transform-style: preserve-3d; }
.fx-hv-tilt:hover { transform: perspective(600px) rotateX(6deg) rotateY(-6deg); box-shadow: 0 16px 34px rgba(15,23,42,.18); }
.fx-hv-underc { position: relative; text-decoration: none; color: #2563eb; font-weight: 600; }
.fx-hv-underc::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -3px; height: 2px; background: currentColor; transition: left .3s, right .3s; }
.fx-hv-underc:hover::after { left: 0; right: 0; }
.fx-hv-swap { display: inline-block; padding: 16px 22px; border-radius: 10px; background: #e2e8f0; color: #0f172a; transition: background .3s, color .3s; }
.fx-hv-swap:hover { background: #0d9488; color: #fff; }

/* ---- BOTÕES extra ---- */
.fx-bt-slideup { position: relative; display: inline-block; padding: 12px 24px; border-radius: 8px; background: #0f172a; color: #fff; text-decoration: none; overflow: hidden; }
.fx-bt-slideup span { display: block; transition: transform .3s; }
.fx-bt-slideup::after { content: "Vamos!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(100%); transition: transform .3s; color: #2dd4bf; }
.fx-bt-slideup:hover span { transform: translateY(-100%); }
.fx-bt-slideup:hover::after { transform: none; }
.fx-bt-3d { display: inline-block; padding: 12px 24px; border-radius: 8px; background: #2563eb; color: #fff; text-decoration: none; box-shadow: 0 6px 0 #1e3a8a; transition: transform .1s, box-shadow .1s; }
.fx-bt-3d:active { transform: translateY(4px); box-shadow: 0 2px 0 #1e3a8a; }
.fx-bt-gradhover { display: inline-block; padding: 12px 24px; border-radius: 8px; color: #fff; text-decoration: none; background: linear-gradient(90deg,#0d9488,#2563eb); background-size: 200% 100%; transition: background-position .5s; }
.fx-bt-gradhover:hover { background-position: 100% 0; }
.fx-bt-fillc { position: relative; display: inline-block; padding: 12px 24px; border: 2px solid #c0261d; border-radius: 8px; color: #c0261d; font-weight: 600; text-decoration: none; overflow: hidden; z-index: 0; }
.fx-bt-fillc::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-radius: 50%; background: #c0261d; transition: width .4s, height .4s; z-index: -1; }
.fx-bt-fillc:hover { color: #fff; }
.fx-bt-fillc:hover::before { width: 250%; height: 500%; }
.fx-bt-arrow { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; background: #16a34a; color: #fff; text-decoration: none; }
.fx-bt-arrow span { transition: transform .3s; }
.fx-bt-arrow:hover span { transform: translateX(6px); }

/* ---- ANIMAÇÕES extra ---- */
.fx-an-fadein { animation: fxFadeIn 1s both; }
@keyframes fxFadeIn { from { opacity: 0; } to { opacity: 1; } }
.fx-an-slideleft { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #2563eb; color: #fff; animation: fxSlideIn .8s cubic-bezier(.2,.7,.2,1) both; }
.fx-an-heart { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #c0261d; color: #fff; animation: fxHeart 1.4s ease-in-out infinite; }
@keyframes fxHeart { 0%,100% { transform: scale(1); } 14% { transform: scale(1.15); } 28% { transform: scale(1); } 42% { transform: scale(1.15); } 70% { transform: scale(1); } }
.fx-an-swing { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #f59e0b; color: #0f172a; transform-origin: top center; animation: fxSwing 2s ease-in-out infinite; }
@keyframes fxSwing { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.fx-an-wobble { display: inline-block; padding: 20px 28px; border-radius: 12px; background: #7c3aed; color: #fff; }
.fx-an-wobble:hover { animation: fxWobble .8s; }
@keyframes fxWobble { 0%,100% { transform: none; } 15% { transform: translateX(-8px) rotate(-3deg); } 30% { transform: translateX(6px) rotate(2deg); } 45% { transform: translateX(-5px) rotate(-1.5deg); } 60% { transform: translateX(3px) rotate(1deg); } }

/* ---- TAILWIND extra ---- */
.fx-tw-fade { display: inline-block; padding: 16px 24px; border-radius: 10px; background: #0f172a; color: #fff; animation: fxFadeIn 1.2s both; }
.fx-tw-wiggle { display: inline-block; padding: 16px 24px; border-radius: 10px; background: #f59e0b; color: #0f172a; animation: fxWiggle 1s ease-in-out infinite; }
@keyframes fxWiggle { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.fx-tw-flip { display: inline-block; padding: 16px 24px; border-radius: 10px; background: #2563eb; color: #fff; animation: fxCardFlip 2.4s ease-in-out infinite; }
@keyframes fxCardFlip { 0%,40%,100% { transform: perspective(400px) rotateY(0); } 50%,90% { transform: perspective(400px) rotateY(180deg); } }
.fx-tw-shimmer { display: inline-block; padding: 16px 24px; border-radius: 10px; color: #334155; background: linear-gradient(90deg,#e2e8f0 25%,#f8fafc 50%,#e2e8f0 75%); background-size: 200% 100%; animation: fxShimmer 1.6s infinite; }
@keyframes fxShimmer { to { background-position: -200% 0; } }
.fx-tw-gradx { display: inline-block; padding: 16px 24px; border-radius: 10px; color: #fff; background: linear-gradient(90deg,#0d9488,#2563eb,#7c3aed,#0d9488); background-size: 300% 100%; animation: fxGrad 4s linear infinite; }

/* ---- FUNDO extra ---- */
.fx-bg-stripes { padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: repeating-linear-gradient(45deg,#0d9488,#0d9488 20px,#0b7d72 20px,#0b7d72 40px); background-size: 200% 200%; animation: fxStripes 3s linear infinite; }
@keyframes fxStripes { to { background-position: 56px 0; } }
.fx-bg-dots { padding: 56px 24px; border-radius: 14px; color: #0f172a; text-align: center; background-color: #f8fafc; background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px); background-size: 22px 22px; }
.fx-bg-mesh { padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: radial-gradient(at 20% 20%, #0d9488 0, transparent 50%), radial-gradient(at 80% 30%, #2563eb 0, transparent 50%), radial-gradient(at 50% 80%, #7c3aed 0, transparent 50%), #0f172a; background-size: 200% 200%; animation: fxBgGrad 14s ease infinite; }
.fx-bg-shine { position: relative; overflow: hidden; padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: #1e293b; }
.fx-bg-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg,transparent,rgba(255,255,255,.15),transparent); transform: skewX(-20deg); animation: fxBgShine 4s ease-in-out infinite; }
@keyframes fxBgShine { to { left: 130%; } }
.fx-bg-radial { padding: 56px 24px; border-radius: 14px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 50%, #2563eb, #0f172a); }
.fx-bg-radial > * { animation: fxTwPulse 3s ease-in-out infinite; }

/* ---- SCROLL extra ---- */
.fx-sc-fade { padding: 28px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; }
@supports (animation-timeline: view()) { .fx-sc-fade { animation: fxFadeIn linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; } }
.fx-sc-left { padding: 28px; border-radius: 12px; background: #2563eb; color: #fff; }
@supports (animation-timeline: view()) { .fx-sc-left { animation: fxScLeft linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; } @keyframes fxScLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } } }
.fx-sc-rotate { padding: 28px; border-radius: 12px; background: #7c3aed; color: #fff; text-align: center; }
@supports (animation-timeline: view()) { .fx-sc-rotate { animation: fxScRot linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; } @keyframes fxScRot { from { opacity: 0; transform: rotate(-8deg) scale(.9); } to { opacity: 1; transform: none; } } }
.fx-sc-blur { padding: 28px; border-radius: 12px; background: #0f172a; color: #fff; }
@supports (animation-timeline: view()) { .fx-sc-blur { animation: fxScBlur linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; } @keyframes fxScBlur { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } } }

/* ---- IMAGEM extra ---- */
.fx-im-blur { margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-blur img { display: block; width: 100%; filter: blur(6px); transition: filter .5s; }
.fx-im-blur:hover img { filter: blur(0); }
.fx-im-rotate { margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-rotate img { display: block; width: 100%; transition: transform .6s; }
.fx-im-rotate:hover img { transform: scale(1.15) rotate(3deg); }
.fx-im-overlay { position: relative; margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-overlay img { display: block; width: 100%; transition: transform .5s; }
.fx-im-overlay::after { content: ""; position: absolute; inset: 0; background: rgba(13,148,136,0); transition: background .4s; }
.fx-im-overlay:hover::after { background: rgba(13,148,136,.45); }
.fx-im-overlay:hover img { transform: scale(1.08); }
.fx-im-zoomout { margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-zoomout img { display: block; width: 100%; transform: scale(1.2); transition: transform .6s; }
.fx-im-zoomout:hover img { transform: scale(1); }
.fx-im-slidecap { position: relative; margin: 0; border-radius: 12px; overflow: hidden; max-width: 480px; }
.fx-im-slidecap img { display: block; width: 100%; }
.fx-im-slidecap figcaption { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; padding: 16px; color: #fff; background: rgba(15,23,42,.82); transform: translateX(-100%); transition: transform .4s; display: flex; align-items: center; }
.fx-im-slidecap:hover figcaption { transform: none; }

@media (prefers-reduced-motion: reduce) {
  [class^="fx-"], [class*=" fx-"] { animation: none !important; transition: none !important; }
}
