/* Estúdio Motion: movimento da landing do GrowMetrics. Carrega depois de site.css.
   Nada fica escondido sem JS: tudo que some espera html.motion-ready. */

:root {
  --fx-out: cubic-bezier(.16, 1, .3, 1);
  --fx-io: cubic-bezier(.65, 0, .35, 1);
  --fx-ink: var(--ink, #0F1F17);
  --fx-forest: var(--forest, #166534);
  --fx-green: var(--forest-2, #15803D);
  --fx-mint: var(--mint, #DCFCE7);
  --fx-amber: var(--amber, #F59E0B);
  --fx-red: var(--red, #DC2626);
  --fx-line: var(--line, #E7E5E4);
  --fx-stone: #78716C;
}

/* A barra do painel anima a largura pela variável --w. */
@property --w { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* ---------- Entradas ao rolar ---------- */
html.motion-ready [data-reveal]:not([data-reveal="stagger"]):not(.is-settled) {
  transition: opacity 560ms var(--fx-out), translate 760ms var(--fx-out);
}
html.motion-ready [data-reveal]:not([data-reveal="stagger"]):not(.is-in) { opacity: 0; }
html.motion-ready [data-reveal="up"]:not(.is-in) { translate: 0 22px; }
html.motion-ready [data-reveal="stagger"]:not(.is-settled) > * {
  transition: opacity 560ms var(--fx-out), translate 760ms var(--fx-out);
  transition-delay: calc(var(--fx-i, 0) * 70ms);
}
html.motion-ready [data-reveal="stagger"]:not(.is-in) > * { opacity: 0; translate: 0 22px; }

/* ---------- Números que sobem ---------- */
.fx-count { display: inline-block; font-variant-numeric: tabular-nums; }
.fx-sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app-card__big .fx-count { text-align: inherit; }

/* ---------- Painel: ponteiro e barras se desenham ---------- */
html.motion-ready .painel .gauge__seg { transition: stroke-dasharray 900ms var(--fx-out); }
html.motion-ready .painel .gauge circle { transition: opacity 360ms ease 900ms; }
html.motion-ready .painel.fx-wait .gauge circle { opacity: 0; }
html.motion-ready .painel .bars i { transition: --w 1000ms var(--fx-out) calc(240ms + var(--fx-i, 0) * 90ms); }
html.motion-ready .painel.fx-wait .bars i { --w: 0% !important; }

/* ---------- Botões: toque com onda a partir do dedo ---------- */
html.motion-ready .btn { position: relative; overflow: hidden; isolation: isolate; }
html.motion-ready .btn .fx-wave {
  position: absolute; z-index: -1; left: var(--fx-x, 50%); top: var(--fx-y, 50%);
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: currentColor; opacity: 0; pointer-events: none;
  animation: fx-wave 560ms var(--fx-out) forwards;
}
@keyframes fx-wave { 0% { opacity: .22; scale: 1; } 100% { opacity: 0; scale: 40; } }

/* ---------- Cartões de plano: luz que segue o mouse ---------- */
html.motion-ready .plan { isolation: isolate; }
.fx-glow {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 320ms ease;
  background: radial-gradient(420px circle at var(--fx-mx, 50%) var(--fx-my, 0%), rgba(22, 163, 74, .09), transparent 62%);
}
.plan--featured .fx-glow { background: radial-gradient(420px circle at var(--fx-mx, 50%) var(--fx-my, 0%), rgba(74, 222, 128, .16), transparent 62%); }
.plan:hover .fx-glow { opacity: 1; }
html.motion-ready .plan:hover { transform: translateY(-4px); }
html.motion-ready .plan:active { transform: translateY(-1px) scale(.995); }

/* ---------- Barra fixa no celular ---------- */
.mobile-cta.fx-cta { transition: translate 420ms var(--fx-out), opacity 260ms ease; }
.mobile-cta.fx-cta:not(.is-shown) { translate: 0 115%; opacity: 0; pointer-events: none; }

/* =====================================================================
   COMO FUNCIONA
   ===================================================================== */

/* Computador: cartões afastados para a rolagem passar por cada passo; fio liga os números. */
@media (min-width: 901px) {
  html.fx-fluxo .fluxo__steps { position: relative; gap: clamp(110px, 24vh, 240px); padding-bottom: 36vh; }
  html.fx-fluxo .fluxo-step > * { transition: opacity 320ms ease; }
  html.fx-fluxo .fluxo-step:not(.is-active) > * { opacity: .5; }
  html.fx-fluxo .fluxo-step { z-index: 1; }
  html.fx-fluxo .fluxo__steps::before,
  html.fx-fluxo .fluxo__steps::after {
    content: ""; position: absolute; z-index: 0; left: 44px; width: 2px; top: var(--fx-r0, 44px); height: var(--fx-rh, 0px); border-radius: 2px;
  }
  html.fx-fluxo .fluxo__steps::before { background: var(--fx-line); }
  html.fx-fluxo .fluxo__steps::after {
    background: var(--fx-forest); transform-origin: top; scale: 1 var(--fx-p, 0);
    transition: scale 300ms var(--fx-out);
  }
}

/* Celular e tablet: os passos viram um carrossel de dedo logo abaixo do palco. */
@media (max-width: 900px) {
  html.fx-fluxo .fluxo__grid { gap: 18px; }
  html.fx-fluxo .fluxo__steps {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 20px);
    margin-inline: calc(var(--gutter, 20px) * -1); padding: 4px var(--gutter, 20px) 10px;
    scrollbar-width: none;
  }
  html.fx-fluxo .fluxo__steps::-webkit-scrollbar { display: none; }
  html.fx-fluxo .fluxo-step {
    flex: 0 0 min(84%, 440px); scroll-snap-align: center; cursor: pointer;
    padding: 22px 20px 22px 68px; -webkit-tap-highlight-color: transparent;
  }
  html.fx-fluxo .fluxo-step .fluxo-step__n { left: 18px; top: 20px; width: 34px; height: 34px; font-size: 15px; }
  html.fx-fluxo .fluxo-step h3 { font-size: 19px; }
  html.fx-fluxo .fluxo-step p { font-size: 15.5px; }
}

/* ---------- Palco ---------- */
html.fx-fluxo #fluxo-stage { display: grid; align-content: center; container-type: inline-size; }
.fx {
  position: relative; width: 100%; height: 46em; overflow: hidden;
  font-size: min(16px, calc((100vh - 130px) / 46), calc(100cqi / 36));
  color: var(--fx-ink); line-height: 1.35; letter-spacing: -.005em;
  -webkit-user-select: none; user-select: none;
  --pr: 0deg; --px: 0em; --py: 0em; --ps: 1;
  --qc: -7em; /* centro da plaquinha em relação ao centro do palco */
}
@media (max-width: 900px) {
  .fx { font-size: min(13px, calc(100cqi / 28.5)); height: 46.6em; --qc: -7.7em; }
  .fx-phone { top: 2.9em !important; }
}
.fx *, .fx *::before, .fx *::after { box-sizing: border-box; }
.fx p, .fx h4 { margin: 0; }
.fx svg { display: block; }

/* Etiqueta: de quem é a tela agora */
.fx-label {
  position: absolute; z-index: 6; left: 1.3em; top: 1.2em;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em .9em .45em .7em; border-radius: 999px;
  background: rgba(255, 255, 255, .88); border: 1px solid #D7EBDD;
  font-size: .66em; font-weight: 650; letter-spacing: 0; white-space: nowrap;
  box-shadow: 0 .4em 1.2em -.6em rgba(15, 31, 23, .25);
}
.fx-label i { width: .62em; height: .62em; border-radius: 50%; background: var(--fx-green); box-shadow: 0 0 0 .28em var(--fx-mint); transition: background-color 300ms, box-shadow 300ms; }
.fx[data-tone="alert"] .fx-label i { background: var(--fx-red); box-shadow: 0 0 0 .28em #FEE2E2; }

/* ---------- Plaquinha ---------- */
.fx-plaque {
  position: absolute; z-index: 1; left: calc(50% + var(--qc) - 6em); top: 17.2em; width: 12em;
  transition: translate 900ms var(--fx-out), opacity 500ms ease;
}
.fx:not([data-scene="1"]) .fx-plaque { translate: -9em 0; opacity: 0; }
.fx-plaque__sheet {
  position: relative; display: flex; flex-direction: column; align-items: center;
  height: 17.4em; padding: 1em .8em 0; border-radius: .5em; overflow: hidden;
  background: #FFFDF8; text-align: center;
  box-shadow: 0 0 0 .12em rgba(255, 255, 255, .9), 0 0 0 .2em rgba(15, 31, 23, .08), 0 1.4em 2.4em -1.2em rgba(15, 31, 23, .35);
}
.fx-plaque__sheet::after { /* reflexo do acrílico */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0 18%, transparent 34%);
}
.fx-plaque__brand { font-size: 1.12em; font-weight: 800; letter-spacing: -.04em; color: var(--fx-forest); line-height: 1; }
.fx-plaque__title { margin-top: .55em; font-size: .58em; font-weight: 650; color: var(--fx-ink); }
.fx-plaque__faces { display: flex; gap: .3em; margin-top: .5em; color: #B45309; }
.fx-plaque__faces svg { width: 1.05em; height: 1.05em; fill: #FDE68A; stroke-width: 1.8; }

.fx-plaque__qr { position: relative; width: 7.2em; height: 7.2em; margin-top: .7em; padding: .2em; border-radius: .45em; background: #fff; box-shadow: 0 0 0 1px rgba(15, 31, 23, .1); }
.fx-plaque__qr svg { width: 100%; height: 100%; }
.fx-plaque__cta { margin-top: .5em; font-size: .5em; font-weight: 650; color: var(--fx-ink); white-space: nowrap; }

.fx-plaque__foot {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .45em;
  padding: .6em .8em; background: #0B2416; color: #fff; font-size: .52em; font-weight: 700; letter-spacing: -.01em;
}
.fx-plaque__foot img { display: block; width: auto; height: 1em; }
.fx-plaque__foot em { margin-left: auto; font-style: normal; font-weight: 600; color: #A7F3D0; }
.fx-plaque__base {
  position: absolute; left: -.6em; right: -.6em; top: 17em; height: 1em; border-radius: .25em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(231, 229, 228, .7));
  box-shadow: 0 0 0 1px rgba(15, 31, 23, .08), 0 1em 1.2em -.6em rgba(15, 31, 23, .35);
}

/* Mira de quatro cantos: o fio que liga os passos (verde no QR, vermelha no alerta) */
.fx-aim { position: absolute; z-index: 2; inset: -.4em; pointer-events: none; --aim: #fff; }
.fx-aim i { position: absolute; width: 1.3em; height: 1.3em; border: 0 solid var(--aim); transition: border-color 260ms ease; }
.fx-aim i:nth-child(1) { left: 0; top: 0; border-width: .2em 0 0 .2em; border-top-left-radius: .45em; }
.fx-aim i:nth-child(2) { right: 0; top: 0; border-width: .2em .2em 0 0; border-top-right-radius: .45em; }
.fx-aim i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 .2em .2em; border-bottom-left-radius: .45em; }
.fx-aim i:nth-child(4) { right: 0; bottom: 0; border-width: 0 .2em .2em 0; border-bottom-right-radius: .45em; }

/* ---------- Celular ---------- */
.fx-phone {
  position: absolute; z-index: 3; left: 50%; top: 3.4em; width: 20em; height: 40em; margin-left: -10em;
  transform: translate(var(--px), var(--py)) rotate(var(--pr)) scale(var(--ps));
  transition: transform 950ms var(--fx-out);
  --bezel: #E7E5E4;
}
.fx[data-scene="1"] .fx-phone { --px: calc(var(--qc) + 13.6em); --py: .8em; --pr: 4deg; --ps: .84; }
.fx[data-scene="1"].is-aim .fx-phone { --px: calc(var(--qc) + 13.3em); --py: 1.3em; --pr: -5deg; }
@media (max-width: 900px) { .fx[data-scene="1"] .fx-phone { --ps: .8; --px: calc(var(--qc) + 13.2em); } .fx[data-scene="1"].is-aim .fx-phone { --px: calc(var(--qc) + 12.9em); } }
.fx-phone__body {
  position: relative; width: 100%; height: 100%; padding: .48em; border-radius: 3.1em;
  background: var(--bezel); transition: background-color 500ms ease;
  box-shadow: 0 0 0 1px rgba(15, 31, 23, .14), inset 0 0 0 .14em rgba(255, 255, 255, .35),
    0 2.2em 3.6em -1.6em rgba(15, 31, 23, .45), 0 .6em 1.2em -.6em rgba(15, 31, 23, .2);
}
.fx-island { position: absolute; z-index: 8; left: 50%; top: 1.05em; width: 5.2em; height: 1.45em; margin-left: -2.6em; border-radius: 1em; background: #0A0F0C; }
.fx-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2.65em;
  background: #FAFAF9; isolation: isolate;
}
.fx-screen::after { /* barra de início */
  content: ""; position: absolute; z-index: 9; left: 50%; bottom: .45em; width: 6.4em; height: .3em; margin-left: -3.2em;
  border-radius: 1em; background: rgba(15, 31, 23, .35);
}
.fx[data-view="cam"] .fx-screen::after { background: rgba(255, 255, 255, .6); }

/* Barra de status */
.fx-sb {
  position: absolute; z-index: 7; left: 0; right: 0; top: 0; height: 3em; padding: .25em 1.65em 0 2.05em;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72em; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--fx-ink);
  transition: color 300ms, background-color 300ms;
}
.fx-sb__ic { display: flex; align-items: flex-end; gap: .14em; height: .85em; }
.fx-sb__ic i { width: .22em; border-radius: .1em; background: currentColor; }
.fx-sb__ic i:nth-child(1) { height: 35%; } .fx-sb__ic i:nth-child(2) { height: 55%; }
.fx-sb__ic i:nth-child(3) { height: 78%; } .fx-sb__ic i:nth-child(4) { height: 100%; }
.fx-sb__ic em { width: 1.65em; height: .85em; margin-left: .45em; border-radius: .25em; border: .1em solid currentColor; background: linear-gradient(90deg, currentColor 70%, transparent 70%) content-box; padding: .1em; opacity: .9; }
.fx[data-view="cam"] .fx-sb { color: #fff; background: #050706; }
.fx[data-view="survey"] .fx-sb, .fx[data-view="thanks"] .fx-sb { background: #FAFAF9; }
.fx[data-view="alert"] .fx-sb, .fx[data-view="ana"] .fx-sb { background: #F6F5F3; }

/* Telas: entram pela direita, a anterior sai pela esquerda */
.fx-view {
  position: absolute; inset: 0; overflow: hidden; background: #FAFAF9;
  transition: translate 620ms var(--fx-out), opacity 380ms ease;
}
.fx-view[data-pos="prev"] { translate: -30% 0; opacity: 0; }
.fx-view[data-pos="next"] { translate: 40% 0; opacity: 0; }
.fx-view[data-pos="on"] { translate: 0 0; opacity: 1; z-index: 1; }

/* Câmera da Ana: a plaquinha no visor, a mira trava no QR, o link aparece */
.fx-cam { background: #050706; }
.fx-cam__feed {
  position: absolute; left: 0; right: 0; top: 3em; bottom: 8.6em; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 35%, #EEF6F1, #D3E4DA 70%) 0 0 / 100% 86% no-repeat, linear-gradient(#D8CDBF, #C4B6A4);
}
.fx-cam__world {
  position: absolute; left: 50%; top: 1.5em; width: 12em; margin-left: -6em; font-size: 1.25em;
  translate: 1.6em 2.2em; rotate: -4deg; scale: 1.1;
  transition: translate 950ms var(--fx-out), rotate 950ms var(--fx-out), scale 950ms var(--fx-out);
}
.fx.is-aim .fx-cam__world { translate: 0 0; rotate: 5deg; scale: 1; }
.fx-cam .fx-aim {
  scale: 1.35; filter: drop-shadow(0 0 .1em rgba(15, 31, 23, .45));
  transition: scale 520ms cubic-bezier(.34, 1.56, .64, 1), filter 260ms ease;
}
.fx.is-lock .fx-cam .fx-aim { scale: 1; filter: none; --aim: var(--fx-green); }
.fx-cam__pill {
  position: absolute; z-index: 3; left: 50%; bottom: .9em;
  display: flex; align-items: center; gap: .55em; padding: .45em 1.05em .45em .45em; border-radius: 999px;
  background: rgba(255, 255, 255, .97); box-shadow: 0 .7em 1.6em -.5em rgba(0, 0, 0, .5); white-space: nowrap;
  translate: -50% .9em; opacity: 0; transition: translate 480ms var(--fx-out), opacity 240ms ease;
}
.fx.is-pill .fx-cam__pill { translate: -50% 0; opacity: 1; }
.fx-cam__pill .fx-brand__ini { width: 2em; height: 2em; font-size: .85em; border-radius: 50%; }
.fx-cam__pill b { display: block; font-size: .72em; line-height: 1.2; }
.fx-cam__pill small { display: block; font-size: .6em; color: var(--fx-stone); }
.fx-cam__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8.6em; padding: 0 2.3em 1.5em;
  display: flex; align-items: center; justify-content: space-between;
}
.fx-cam__thumb { width: 2.6em; height: 2.6em; border-radius: .55em; background: linear-gradient(135deg, #3B4A42, #1C2420); box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .18); }
.fx-cam__shutter { width: 4.2em; height: 4.2em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .28em #050706, 0 0 0 .52em #fff; }
.fx-cam__flip { width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255, 255, 255, .14); }

/* ---------- Pesquisa (como a do app) ---------- */
.fx-scroll { position: relative; padding: 3.15em .65em 2.6em; transition: translate 760ms var(--fx-io); }
.fx-brand { display: flex; align-items: center; gap: .6em; margin: .15em .15em .75em; }
.fx-brand__ini {
  flex: none; display: grid; place-items: center; width: 2.15em; height: 2.15em; border-radius: .6em;
  background: var(--fx-forest); color: #fff; font-size: .95em; font-weight: 650; line-height: 1;
}

.fx-brand b { display: block; font-size: .8em; font-weight: 650; }
.fx-brand small { display: block; font-size: .62em; color: var(--fx-stone); }
.fx-card-s {
  padding: .95em .8em 1em; border-radius: .95em; background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 .2em 1em rgba(28, 25, 23, .06);
}
.fx-h1 { font-size: 1.08em; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.fx-intro { margin-top: .2em !important; font-size: .64em; color: #57534E; }
.fx-q { margin: .95em 0 .55em !important; font-size: .66em; font-weight: 600; line-height: 1.38; }
.fx-q small { margin-left: .35em; font-size: .88em; font-weight: 400; color: var(--fx-stone); }
.fx-staff .fx-q { margin-top: 0 !important; }
.fx-btn {
  position: relative; display: grid; place-items: center; border: 1px solid var(--fx-line); border-radius: .65em;
  background: #FAFAF9; color: #44403C; font-size: .7em; font-weight: 550; font-variant-numeric: tabular-nums;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.fx-nps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3em; }
.fx-nps .fx-btn { height: 3em; }
.fx-anchors { display: flex; justify-content: space-between; margin-top: .45em; font-size: .52em; color: var(--fx-stone); }
.fx-sep { height: 1px; margin: .9em 0; background: var(--fx-line); }
.fx-chips { display: flex; flex-wrap: wrap; gap: .3em; }
.fx-chip {
  position: relative; display: inline-flex; align-items: center; height: 3em; padding: 0 1.1em; border-radius: 999px;
  border: 1px solid var(--fx-line); background: #fff; color: #44403C; font-size: .62em;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.fx-q--faces { margin-top: .9em !important; }
.fx-faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .28em; }
.fx-face { height: 4.9em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; }
.fx-face svg { width: 1.9em; height: 1.9em; stroke-width: 1.75; transition: scale 240ms var(--fx-out); }
.fx-face small { font-size: .72em; line-height: 1; }
.fx-btn.is-sel, .fx-chip.is-sel {
  background: var(--fx-forest); border-color: var(--fx-forest); color: #fff;
  box-shadow: 0 0 0 .22em rgba(22, 101, 52, .18);
}
.fx-face.is-sel svg { scale: 1.12; }
.fx-ta {
  position: relative; min-height: 4.4em; padding: .55em .65em; border-radius: .55em; border: 1px solid #D6D3D1;
  background: #fff; font-size: .68em; transition: border-color 180ms, box-shadow 180ms;
}
.fx-ta.is-focus { border-color: var(--fx-forest); box-shadow: 0 0 0 .25em rgba(22, 101, 52, .14); }
.fx-caret { display: inline-block; width: 1px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--fx-forest); opacity: 0; }
.fx-ta.is-focus .fx-caret { animation: fx-blink 900ms steps(1) infinite; }
@keyframes fx-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.fx-contact { margin-top: .2em; }
.fx-field { margin-bottom: .45em; }
.fx-field small { display: block; margin-bottom: .25em; font-size: .56em; font-weight: 600; color: #44403C; }
.fx-input { display: flex; align-items: center; height: 2.95em; padding: 0 .8em; border-radius: .55em; border: 1px solid #D6D3D1; background: #fff; font-size: .68em; }
.fx-consent { display: flex; align-items: flex-start; gap: .5em; margin-top: .55em; }
.fx-consent small { font-size: .54em; line-height: 1.4; color: #44403C; }
.fx-box { flex: none; display: grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: .25em; border: 1px solid #A8A29E; background: #fff; color: #fff; transition: background-color 180ms, border-color 180ms; }
.fx-box svg { width: .8em; height: .8em; stroke-width: 3.2; opacity: 0; transition: opacity 160ms; }
.fx-consent.is-sel .fx-box { background: var(--fx-forest); border-color: var(--fx-forest); }
.fx-consent.is-sel .fx-box svg { opacity: 1; }
.fx-send {
  display: flex; gap: .45em; height: 3.7em; margin-top: 1.3em; border: 0; border-radius: .75em;
  background: var(--fx-forest); color: #fff; font-size: .7em; font-weight: 600;
}
.fx-send svg { width: 1.2em; height: 1.2em; }
.fx-foot { margin-top: 1.1em !important; text-align: center; font-size: .5em; color: var(--fx-stone); }

/* Toque: dedo que aperta e solta */
.is-tap { animation: fx-press 340ms var(--fx-out); }
.is-tap::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 3.6em; height: 3.6em; margin: -1.8em 0 0 -1.8em;
  border-radius: 50%; background: rgba(15, 31, 23, .2); pointer-events: none;
  animation: fx-tap 620ms ease-out forwards;
}
@keyframes fx-press { 35% { scale: .92; } }
@keyframes fx-tap { 0% { opacity: 0; scale: .25; } 25% { opacity: 1; scale: .85; } 100% { opacity: 0; scale: 1.5; } }

/* ---------- Resposta enviada ---------- */
.fx-thanks { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3em 1.6em; text-align: center; }
.fx-thanks__ic { width: 3.6em; height: 3.6em; color: var(--fx-forest); stroke-width: 1.6; }
.fx-thanks__ic circle { stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset 700ms var(--fx-out) 150ms; }
.fx-thanks__ic path { stroke-dasharray: 10; stroke-dashoffset: 10; transition: stroke-dashoffset 380ms var(--fx-out) 600ms; }
.fx-thanks[data-pos="on"] .fx-thanks__ic :is(circle, path) { stroke-dashoffset: 0; }
.fx-thanks h4 { margin-top: 1em; font-size: 1.05em; font-weight: 650; letter-spacing: -.02em; }
.fx-thanks p { margin-top: .5em; font-size: .64em; line-height: 1.5; color: #57534E; }
.fx-token {
  display: inline-flex; align-items: center; gap: .55em; margin-top: 1.6em; padding: .35em .9em .35em .35em;
  border-radius: 999px; background: #fff; border: 1px solid var(--fx-line); font-size: .62em; font-weight: 600;
  box-shadow: 0 .5em 1.2em -.6em rgba(15, 31, 23, .3);
  opacity: 0; translate: 0 .8em; transition: opacity 380ms ease 700ms, translate 600ms var(--fx-out) 700ms;
}
.fx-token b, .fx-badge {
  display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%;
  background: var(--fx-red); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums;
}
.fx-thanks[data-pos="on"] .fx-token { opacity: 1; translate: 0 0; }

/* ---------- WhatsApp (sem logo) ---------- */
.fx-wa { background: #EFEAE2 radial-gradient(rgba(15, 31, 23, .055) 1px, transparent 1.4px) 0 0 / 1.15em 1.15em; }
.fx-wa__top {
  display: flex; align-items: center; gap: .5em; padding: 3em .7em .55em .45em;
  background: #F6F5F3; border-bottom: 1px solid var(--fx-line);
}
.fx-wa__top > svg { width: 1.15em; height: 1.15em; color: var(--fx-green); flex: none; }
.fx-wa__av { flex: none; width: 2.05em; height: 2.05em; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--fx-line); }
.fx-wa__av--ana { display: grid; place-items: center; background: var(--fx-mint); color: var(--fx-forest); font-size: .9em; font-weight: 700; box-shadow: none; }
.fx-wa__top b { display: block; font-size: .78em; font-weight: 650; line-height: 1.2; }
.fx-wa__top small { display: block; font-size: .58em; color: var(--fx-stone); }
.fx-wa__body { display: flex; flex-direction: column; align-items: flex-start; gap: .45em; padding: .75em .6em; }
.fx-wa__day { align-self: center; padding: .3em .8em; border-radius: .55em; background: #fff; font-size: .54em; color: #57534E; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); }
.fx-typing, .fx-al, .fx-al__btns, .fx-msg { display: none; }
.fx-typing.is-on { display: flex; gap: .28em; padding: .7em .8em; border-radius: .2em .9em .9em .9em; background: #fff; animation: fx-pop 380ms var(--fx-out) both; }
.fx-typing i { width: .42em; height: .42em; border-radius: 50%; background: #A8A29E; animation: fx-dot 900ms ease-in-out infinite; }
.fx-typing i:nth-child(2) { animation-delay: 150ms; }
.fx-typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes fx-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -.3em; opacity: 1; } }
@keyframes fx-pop { 0% { opacity: 0; scale: .9; translate: 0 .6em; } 100% { opacity: 1; scale: 1; translate: 0 0; } }
.fx-al.is-on {
  position: relative; display: block; width: 90%; padding: .7em .8em .4em; border-radius: .2em 1em 1em 1em; background: #fff;
  font-size: .64em; line-height: 1.5; box-shadow: 0 1px .5px rgba(0, 0, 0, .12); transform-origin: 0 0;
  animation: fx-pop 460ms var(--fx-out) both;
}
.fx-al p span { color: #57534E; }
.fx-al .fx-aim { font-size: 1.5625em; --aim: var(--fx-red); opacity: 0; }
.fx-al.is-on .fx-aim { animation: fx-lock 560ms cubic-bezier(.34, 1.56, .64, 1) 280ms both; }
.fx-al.is-rel .fx-aim { animation: fx-release 420ms var(--fx-out) both; }
@keyframes fx-lock { 0% { opacity: 0; scale: 1.25; } 100% { opacity: 1; scale: 1; } }
@keyframes fx-release { 0% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.06; } }
.fx-al__head { display: flex; align-items: center; gap: .5em; margin-bottom: .35em !important; font-size: 1.1em; font-weight: 700; color: #991B1B; line-height: 1.3; }
.fx-al__head i { flex: none; width: .62em; height: .62em; border-radius: 50%; background: var(--fx-red); box-shadow: 0 0 0 .25em #FEE2E2; }
.fx-al .fx-badge { width: 1.75em; height: 1.75em; font-size: .95em; vertical-align: -.25em; }
.fx-al mark {
  padding: 0 .15em; color: var(--fx-ink); font-weight: 650; border-radius: .2em;
  background: linear-gradient(rgba(245, 158, 11, .32), rgba(245, 158, 11, .32)) 0 100% / 0 100% no-repeat;
  transition: background-size 600ms var(--fx-out);
}
.fx-al__why.is-mark mark { background-size: 100% 100%; }
.fx-al time, .fx-msg time { display: flex; justify-content: flex-end; align-items: center; gap: .3em; margin-top: .1em; font-size: .8em; color: #8A8580; }
.fx-al__btns.is-on { display: grid; gap: .22em; width: 90%; animation: fx-pop 420ms var(--fx-out) both; }
.fx-al__btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .4em; height: 3.3em; border-radius: .9em;
  background: #fff; color: var(--fx-green); font-size: .62em; font-weight: 650; box-shadow: 0 1px .5px rgba(0, 0, 0, .1);
}
.fx-al__btn svg { width: 1.2em; height: 1.2em; }
.fx-msg.is-on { display: block; max-width: 84%; padding: .55em .7em .3em; font-size: .64em; line-height: 1.45; box-shadow: 0 1px .5px rgba(0, 0, 0, .12); animation: fx-pop 440ms var(--fx-out) both; }
.fx-msg--out.is-on { align-self: flex-end; border-radius: 1em .2em 1em 1em; background: #D9FDD3; transform-origin: 100% 0; }
.fx-msg--in.is-on { border-radius: .2em 1em 1em 1em; background: #fff; transform-origin: 0 0; }
.fx-msg time svg { width: 1.35em; height: .9em; color: #3B9BD9; }
.fx-wa__bar { position: absolute; left: .55em; right: .55em; bottom: 1.25em; display: flex; align-items: center; gap: .4em; }
.fx-wa__bar span { flex: 1; display: flex; align-items: center; height: 2.3em; padding: 0 .9em; border-radius: 1.2em; background: #fff; font-size: .62em; color: #A8A29E; }
.fx-wa__bar span { height: 3.6em; }
.fx-wa__bar i { flex: none; display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: 50%; background: var(--fx-green); color: #fff; }
.fx-wa__bar i svg { width: 1.1em; height: 1.1em; }

/* ---------- Cartão do painel ---------- */
.fx-panel {
  position: absolute; z-index: 4; right: 1.4em; top: var(--fx-card-top, 12.6em); width: 16.8em;
  padding: 1.15em 1.2em 1em; border-radius: 1.35em; background: #fff; border: 1px solid var(--fx-line);
  box-shadow: 0 2px 4px rgba(15, 31, 23, .04), 0 2em 4em -1.8em rgba(15, 31, 23, .4);
  opacity: 0; translate: 0 2em; scale: .96; transform-origin: 50% 100%;
  transition: opacity 420ms ease, translate 850ms var(--fx-out), scale 850ms var(--fx-out);
}
@media (max-width: 900px) { .fx-panel { --fx-card-top: 21.5em; } }
.fx.is-panel .fx-panel { opacity: 1; translate: 0 0; scale: 1; }
.fx-panel__top { display: flex; align-items: center; justify-content: space-between; }
.fx-panel__tag { font-size: .62em; font-weight: 600; padding: .3em .7em; border-radius: .6em; background: #F5F5F4; border: 1px solid var(--fx-line); }
.fx-panel__top small { font-size: .6em; color: var(--fx-stone); }
.fx-panel__big { margin-top: .7em; }
.fx-panel__big b { display: block; font-size: 3.1em; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.fx-panel__big small { display: block; margin-top: .45em; font-size: .52em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-stone); }
.fx-panel__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .45em; height: 6.6em; margin-top: 1em; padding-top: .9em; border-top: 1px solid #EFEEEC; }
.fx-panel__bars span { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: .35em; min-height: 0; }
.fx-panel__bars i {
  height: calc(var(--h) * 100%); border-radius: .35em .35em .15em .15em; background: #BBF7D0;
  transform-origin: 50% 100%; scale: 1 0; transition: scale 760ms var(--fx-out) calc(300ms + var(--i) * 70ms);
}
.fx-panel__bars span:last-child i { background: var(--fx-forest); }
.fx.is-panel .fx-panel__bars i { scale: 1 1; }
.fx-panel__bars em { font-style: normal; text-align: center; font-size: .5em; color: var(--fx-stone); }
.fx-panel__bars span:last-child em { color: var(--fx-forest); font-weight: 700; }

/* ---------- Pontos e nota ---------- */
.fx-dots { position: absolute; z-index: 6; left: 50%; bottom: .55em; translate: -50% 0; display: flex; }
.fx-dots button {
  display: grid; place-items: center; width: 2.7em; height: 2.7em; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fx-dots i { width: .55em; height: .55em; border-radius: 1em; background: rgba(15, 31, 23, .22); transition: width 360ms var(--fx-out), background-color 240ms; }
.fx[data-step="1"] [data-go="1"] i, .fx[data-step="2"] [data-go="2"] i,
.fx[data-step="3"] [data-go="3"] i { width: 1.6em; background: var(--fx-forest); }
.fx-note { position: absolute; z-index: 6; right: 1.6em; bottom: 1.55em; font-size: .54em; color: var(--muted, #66736C); }

/* Conferência por quadros: tudo parado no instante pedido. */
.fx.fx-snap, .fx.fx-snap * { transition: none !important; animation-play-state: paused !important; }
.fx.fx-snap .is-on, .fx.fx-snap .fx-typing.is-on { animation: none !important; }
.fx.fx-snap .fx-al .fx-aim { animation: none !important; }
.fx.fx-snap .fx-al.is-on .fx-aim { opacity: 1; }
.fx.fx-snap .fx-al.is-rel .fx-aim { opacity: 0; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-reveal], html.motion-ready [data-reveal] > * { opacity: 1 !important; translate: none !important; transition: none !important; }
  .fx, .fx * { transition-duration: 0ms !important; animation: none !important; }
  .fx .fx-view { transition: opacity 200ms ease !important; translate: none !important; }
  .mobile-cta.fx-cta { transition: opacity 200ms ease; translate: none !important; }
  html.motion-ready .btn .fx-wave { display: none; }
  html.motion-ready .plan:hover { transform: none; }
}
