/* Efeitos de movimento do site (js/site-motion.js), 08/11/2026.
   .sm-on: movimento liberado. .sm-fine: mouse. .sm-touch: toque.
   .sm-static (movimento reduzido ou navegador sem suporte): tudo aparece pronto. */

@property --hx { syntax: '<percentage>'; inherits: false; initial-value: 70%; }
@property --hy { syntax: '<percentage>'; inherits: false; initial-value: 35%; }

/* ---------- Entrada em cascata ---------- */
.sm-on .sm-item:not(.is-in) { opacity: 0; }
.sm-on .sm-item.is-in { animation: sm-rise .75s cubic-bezier(.2,.75,.2,1) calc(var(--sm-i, 0) * 85ms) backwards; }
@keyframes sm-rise { from { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Cartões: luz e inclinação ---------- */
.sm-card { position: relative; }
.sm-card::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(251,146,60,.22), transparent 45%); mix-blend-mode: screen; transition: opacity .35s ease; }
.sm-fine .sm-card { transition: transform .45s cubic-bezier(.2,.75,.2,1), border-color .25s ease, box-shadow .35s ease; }
.sm-fine .sm-card.is-lit::after { opacity: 1; }
.sm-fine .sm-card.is-lit { transform: var(--tilt, translateY(-3px)) !important; transition-duration: .12s, .25s, .35s; box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(234,88,12,.35); }
/* No toque, o cartão que cruza o centro da tela acende. */
.sm-touch.sm-on .sm-card { transition: border-color .4s ease, box-shadow .5s ease, transform .5s cubic-bezier(.2,.75,.2,1); }
.sm-touch.sm-on .sm-card.is-focus { border-color: #ea580c !important; box-shadow: 0 0 0 1px rgba(234,88,12,.45), 0 18px 50px rgba(234,88,12,.18); transform: translateY(-3px); }
.sm-touch.sm-on .sm-card.is-focus::after { opacity: .9; }
.sm-touch.sm-on .feature-card.is-focus .feature-card__icon { animation: sm-icon-pop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes sm-icon-pop { 40% { transform: translateY(-4px) rotate(-8deg) scale(1.12); } }

/* ---------- Botões magnéticos ---------- */
.sm-magnetic { transform: var(--pull, none); transition: transform .25s cubic-bezier(.2,.75,.2,1), background-color .2s ease; }

/* ---------- Luz do topo ---------- */
.sm-on .hero--poster { background: radial-gradient(700px circle at var(--hx) var(--hy), rgba(234,88,12,.16), transparent 60%), #0a0a0b; }
.sm-touch.sm-on .hero--poster { animation: sm-hero-drift 14s ease-in-out infinite alternate; }
@keyframes sm-hero-drift { 0% { --hx: 20%; --hy: 20%; } 50% { --hx: 80%; --hy: 45%; } 100% { --hx: 35%; --hy: 80%; } }

/* ---------- Números do produto ---------- */
.stats-strip { padding: 8px 0 clamp(36px, 5vw, 56px); background: #0a0a0b; }
.stats-strip__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid #232326; border-bottom: 1px solid #232326; }
.stats-strip__list li { display: grid; gap: 6px; padding: 22px 20px; border-left: 1px solid #232326; }
.stats-strip__list li:first-child { border-left: 0; }
.stats-strip__value { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats-strip__list li:nth-child(odd) .stats-strip__value { color: #fb923c; }
.stats-strip__list span { color: #a1a1aa; font-size: .85rem; line-height: 1.4; }
.stats-strip__value.is-counted { animation: sm-count-done .5s ease-out; }
@keyframes sm-count-done { 40% { transform: scale(1.08); text-shadow: 0 0 24px rgba(251,146,60,.6); } }
.sm-on .stats-strip:not(.is-in) .stats-strip__value--infinite { opacity: 0; transform: scale(.4) rotate(-90deg); }
.sm-on .stats-strip.is-in .stats-strip__value--infinite { display: inline-block; animation: sm-infinite 1.2s cubic-bezier(.3,1.5,.5,1) .5s backwards; }
@keyframes sm-infinite { from { opacity: 0; transform: scale(.4) rotate(-180deg); } }
@media (max-width: 760px) {
  .stats-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip__list li { padding: 18px 14px; }
  .stats-strip__list li:nth-child(3) { border-left: 0; }
  .stats-strip__list li:nth-child(n+3) { border-top: 1px solid #232326; }
}

/* ---------- "Como funciona": trilho que acompanha a rolagem ---------- */
.how__track { position: relative; height: 2px; margin: 0 0 -2px; background: #232326; }
.how__track-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--how-progress, 1) * 100%); background: linear-gradient(90deg, #ea580c, #fb923c); box-shadow: 0 0 14px rgba(234,88,12,.6); }
.how__marker { position: absolute; top: 50%; left: calc(var(--how-progress, 1) * 100%); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #ea580c; box-shadow: 0 0 0 6px rgba(234,88,12,.18), 0 8px 24px rgba(234,88,12,.5); transform: translate(-50%, -50%); }
.how .how__steps { border-top: 0; }
.how-step::before { display: none !important; }
.sm-on .how-step { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.75,.2,1); }
.sm-on .how-step:not(.is-reached) { opacity: .4; transform: translateY(8px); }
.sm-on .how-step.is-reached .how-step__number { text-shadow: 0 0 18px rgba(251,146,60,.6); }
.sm-static .how__marker { display: none; }
@media (max-width: 760px) {
  .how__track { display: none; }
  .how .how__steps { position: relative; padding-left: 22px; }
  .how .how__steps::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #232326; }
  .how .how__steps::after { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: calc(var(--how-progress, 1) * 100%); background: linear-gradient(#ea580c, #fb923c); box-shadow: 0 0 12px rgba(234,88,12,.6); }
}

/* ---------- Logos do atalho de comparativos ---------- */
.sm-on .explore-card__logos:not(.is-in) > * { opacity: 0; }
.sm-on .explore-card__logos.is-in > * { animation: sm-logo-drop .55s cubic-bezier(.3,1.5,.5,1) backwards; }
.sm-on .explore-card__logos.is-in > :nth-child(1) { animation-name: sm-stamp; animation-duration: .6s; }
.sm-on .explore-card__logos.is-in > :nth-child(3) { animation-delay: .35s; }
.sm-on .explore-card__logos.is-in > :nth-child(4) { animation-delay: .45s; }
.sm-on .explore-card__logos.is-in > :nth-child(5) { animation-delay: .55s; }
.sm-on .explore-card__logos.is-in > :nth-child(6) { animation-delay: .65s; }
.sm-on .explore-card__logos.is-in > :nth-child(7) { animation-delay: .75s; }
.sm-on .explore-card__logos.is-in > :nth-child(2) { animation-delay: .25s; }
@keyframes sm-logo-drop { from { opacity: 0; transform: translateY(-18px) rotate(-14deg) scale(.7); } }
@keyframes sm-stamp { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } 60% { opacity: 1; transform: scale(.92); } }

/* ---------- Placar: contagem e nocaute ---------- */
.sm-on .battle:not(.is-in) .battle__fighter, .sm-on .battle:not(.is-in) .battle__vs { opacity: 0; }
.sm-on .battle.is-in .battle__fighter--own { animation: battle-in-left .7s cubic-bezier(.2,.75,.2,1) both; }
.sm-on .battle.is-in .battle__fighter--rival { animation: battle-in-right .7s cubic-bezier(.2,.75,.2,1) both; }
.sm-on .battle.is-in .battle__vs { animation: battle-vs 1.1s cubic-bezier(.3,1.6,.5,1) .35s both; }
.battle__badge--own { position: relative; }
.sm-on .battle.is-ko .battle__badge--own::after { content: ''; position: absolute; inset: -6px; border: 3px solid #fb923c; border-radius: 26px; animation: sm-ring 1s ease-out forwards; }
.sm-on .battle.is-ko .battle__fighter--own .battle__score { animation: sm-score-hit .6s cubic-bezier(.3,1.6,.5,1); text-shadow: 0 0 30px rgba(251,146,60,.55); }
.sm-on .battle.is-ko .battle__fighter--rival { animation: sm-ko .8s ease-out both; }
@keyframes sm-ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
@keyframes sm-score-hit { 40% { transform: scale(1.25); } }
@keyframes sm-ko { 0% { transform: none; } 15% { transform: translateX(10px) rotate(4deg); } 30% { transform: translateX(-8px) rotate(-3deg); } 45% { transform: translateX(5px); } 100% { transform: none; filter: grayscale(1); opacity: .65; } }
.sm-on .battle.is-in tbody .battle__mark--yes { animation: sm-pop .45s cubic-bezier(.3,1.7,.5,1) calc(var(--sm-i, 0) * 85ms + .35s) backwards; }
@keyframes sm-pop { from { transform: scale(0); } }
.sm-static .battle__fighter, .sm-static .battle__vs { animation: none !important; opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  .sm-card, .sm-magnetic, .sm-item, .how-step { transition: none !important; animation: none !important; transform: none !important; }
}

/* ---------- Títulos palavra a palavra ---------- */
.sm-on .sm-title .sm-word { display: inline-block; }
.sm-on .sm-title:not(.is-in) .sm-word { opacity: 0; transform: translateY(.6em) rotate(3deg); }
.sm-on .sm-title.is-in .sm-word { animation: sm-word .7s cubic-bezier(.2,.75,.2,1) calc(var(--w) * 55ms) backwards; }
@keyframes sm-word { from { opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(3px); } }

/* ---------- "Quem desenvolve": entra e a promessa acende ---------- */
.sm-on .product-evolution__shell:not(.sm-in) { opacity: 0; transform: translateY(30px) scale(.98); }
.sm-on .product-evolution__shell.sm-in { animation: sm-rise .9s cubic-bezier(.2,.75,.2,1) backwards; }
.sm-on .product-evolution__promise { position: relative; overflow: hidden; }
.sm-on .product-evolution__promise.sm-in::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(251,146,60,.18) 50%, transparent 70%); background-size: 250% 100%; animation: sm-sweep 1.6s ease-out .6s both; pointer-events: none; }
@keyframes sm-sweep { from { background-position: 120% 0; } to { background-position: -40% 0; } }

/* ---------- Banner do teste: borda viva e entrada ---------- */
.trial-banner { position: relative; }
.sm-on .trial-banner:not(.sm-in) { opacity: 0; transform: translateY(20px); }
.sm-on .trial-banner.sm-in { animation: sm-rise .8s cubic-bezier(.2,.75,.2,1) backwards; }
.sm-on .trial-banner.sm-in::before { content: ''; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--sm-angle, 0deg), transparent 0 70%, #fb923c 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: sm-spin 4s linear infinite; pointer-events: none; }
.trial-banner > * { position: relative; z-index: 1; }
@property --sm-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes sm-spin { to { --sm-angle: 360deg; } }

/* ---------- Convite final: brilho que pulsa atrás do botão ---------- */
.closing-cta .container { position: relative; }
.sm-on .closing-cta .container:not(.sm-in) > * { opacity: 0; transform: translateY(18px); }
.sm-on .closing-cta .container.sm-in > * { animation: sm-rise .7s cubic-bezier(.2,.75,.2,1) backwards; }
.sm-on .closing-cta .container.sm-in > :nth-child(2) { animation-delay: .1s; }
.sm-on .closing-cta .container.sm-in > :nth-child(3) { animation-delay: .2s; }
.sm-on .closing-cta .container.sm-in > :nth-child(4) { animation-delay: .3s; }
.sm-on .closing-cta .container.sm-in > :nth-child(5) { animation-delay: .4s; }
.sm-on .closing-cta #cta-final { box-shadow: 0 0 0 0 rgba(234,88,12,.55); }
.sm-on .closing-cta .container.sm-in #cta-final { animation: sm-rise .7s cubic-bezier(.2,.75,.2,1) .3s backwards, sm-halo 2.6s ease-out 1.4s infinite; }
@keyframes sm-halo { 0% { box-shadow: 0 0 0 0 rgba(234,88,12,.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(234,88,12,0); } }

/* ---------- Toque e clique respondem ---------- */
.sm-on :is(.btn, .explore-card__cta, .release-pill__cta, .mobile-cta a, .youtube-cta, .instagram-cta, .faq__question):active { transform: scale(.97); transition-duration: .08s; }

/* ---------- Dúvidas: o ícone gira e a resposta desliza ---------- */
.faq__item .faq__icon { transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.sm-on .faq__item.active .faq__answer-inner, .sm-on .faq__item.is-open .faq__answer-inner { animation: sm-rise .45s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .sm-word, .product-evolution__shell, .trial-banner, .closing-cta .container > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .trial-banner::before, #cta-final { animation: none !important; }
}
/* Cartões de atalho: sem borda colorida nem contorno ao passar o mouse; fica a luz e a inclinação. */
.explore-card.sm-card.is-lit, .explore-card:hover, .explore-card--blog:hover { border-color: #2a2a2e !important; box-shadow: 0 24px 60px rgba(0,0,0,.45) !important; }
.sm-touch.sm-on .explore-card.sm-card.is-focus { border-color: #2a2a2e !important; box-shadow: 0 18px 50px rgba(0,0,0,.35) !important; }
/* Nenhum cartão ganha borda colorida ao passar o mouse ou ao cruzar o centro da tela. */
.sm-card.is-lit, .sm-card:hover, .sm-touch.sm-on .sm-card.is-focus { border-color: var(--sm-border, #2a2a2e) !important; box-shadow: 0 20px 50px rgba(0,0,0,.4) !important; }
.feature-card.sm-card.is-lit, .feature-card:hover, .sm-touch.sm-on .feature-card.is-focus { border-color: var(--border-subtle, #27272a) !important; }

/* ---------- Rodapé: pagamentos homologados (21/11/2026) ----------
   Mesma linha discreta de "Uma empresa do grupo" e "Redes sociais", com os
   logotipos pequenos em cinza; a cor original aparece ao passar o mouse. */
.footer__payment-logos { display: inline-flex; align-items: center; gap: 14px; }
.footer__payment-logo { display: block; width: auto; max-width: none; height: 11px; filter: brightness(0) invert(1); opacity: .5; transition: opacity .2s ease, filter .2s ease; }
.footer__payment-logo--mp { height: 15px; filter: grayscale(1) invert(1) brightness(1.15); }
.footer__payment-logo--stone { opacity: .4; }
.footer__payment-logo--ip { height: 13px; filter: grayscale(1) brightness(1.6); }
.footer__payment-logo:hover { filter: none; opacity: 1; }
