/* =====================================================================
   Datamatix: página do sistema FactorCalc (factoring e crédito)
   Complementa style.css (mesma paleta, tipografia e componentes base)
   ===================================================================== */

/* ---------- revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s var(--ease-back); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.fc-crumbs { margin-bottom: 18px; }
.fc-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 500; color: #0b3b1a; }
.fc-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.fc-crumbs a { color: #0b3b1a; opacity: .7; transition: opacity .3s; }
.fc-crumbs a:hover { opacity: 1; }
.fc-hero .hero-text h1 { font-size: 62px; }
.fc-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #000; padding: 6px 0; background: linear-gradient(#000, #000) 0 100% / 100% 2px no-repeat; transition: background-size .35s; }
.fc-link:hover { background-size: 0 2px; background-position: 100% 100%; }
.fc-link .ico { font-size: 18px; stroke-width: 2; }
.fc-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.fc-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #0b3b1a; }
.fc-proof .ico { font-size: 16px; stroke-width: 2.6; }

/* celular com a tela de desconto de cheque */
.fc-phone-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; }
.fc-phone { position: relative; width: 300px; padding: 12px; background: #000; border-radius: 46px; box-shadow: 0 0 0 2px #2a2a31, 0 60px 90px -40px rgba(0,0,0,.6); animation: fcFloat 9s ease-in-out infinite; }
@keyframes fcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #000; z-index: 2; }
.fc-app { position: relative; background: #fff; border-radius: 36px; padding: 50px 18px 20px; color: #000; overflow: hidden; }
.fc-app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fc-app-top b { font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.fc-app-top span { white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #6637ed; background: #efe9ff; border-radius: 99px; padding: 4px 9px; }
.fc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fc-fields li { background: #f5f5f8; border-radius: 12px; padding: 8px 10px; border: 1.5px solid transparent; transition: border-color .3s; }
.fc-fields li.wide { grid-column: 1 / -1; }
.fc-fields small { display: block; font-size: 10.5px; color: #65656e; }
.fc-fields b { display: block; min-height: 20px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-fields li.typing { border-color: #6637ed; }
.fc-fields li.typing b::after { content: ""; display: inline-block; width: 2px; height: 14px; margin-left: 2px; background: #6637ed; vertical-align: -2px; animation: fcCaret .8s steps(1) infinite; }
@keyframes fcCaret { 50% { opacity: 0; } }
.fc-result { margin-top: 10px; border-radius: 14px; background: #000; color: #fff; padding: 12px 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .5s var(--ease-back); }
.fc-result small { display: flex; justify-content: space-between; font-size: 11px; color: #a9a9b3; }
.fc-result small em { font-style: normal; color: #d6d6dd; font-variant-numeric: tabular-nums; }
.fc-result strong { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: var(--bgcolor); font-variant-numeric: tabular-nums; }
.fc-result p { font-size: 10.5px; color: #8a8a94; }
.fc-sign { margin-top: 10px; border: 1.5px dashed #d9d9e0; border-radius: 14px; padding: 6px 10px 4px; opacity: 0; transition: opacity .4s; }
.fc-sign small { font-size: 10.5px; color: #65656e; }
.fc-sign svg { display: block; width: 100%; height: 46px; }
.fc-sign path { fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fc-phone.res .fc-result, .fc-phone.sign .fc-sign { opacity: 1; transform: none; }
.fc-phone.sign .fc-sign path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-in-out .3s; }
.fc-phone-wrap figcaption { margin-top: 16px; font-size: 12.5px; font-weight: 500; color: #0b3b1a; opacity: .75; }

/* ---------- resumo ---------- */
.fc-summary { padding: 90px 0 70px; }
.fc-summary-grid { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.fc-kicker { font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--main-color); padding-top: 8px; line-height: 1.5; }
.fc-summary-grid p { font-size: 20px; line-height: 1.65; color: #222; letter-spacing: -.01em; }
.fc-summary-grid strong { color: #000; font-weight: 600; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0 330px; }
.fc-tags li { border: 1px solid #d9d9e0; border-radius: 99px; padding: 8px 18px; font-size: 14px; font-weight: 500; transition: background .3s, border-color .3s; }
.fc-tags li:hover { background: var(--bgcolor); border-color: var(--bgcolor); }

/* ---------- o problema ---------- */
.fc-pain { background: #000; position: relative; overflow: hidden; }
.fc-pain::before { content: ""; position: absolute; left: -220px; top: -120px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(102,55,237,.22), transparent); pointer-events: none; }
.fc-pain .container { position: relative; }
.fc-pain .heading { max-width: 860px; }
.fc-pain .heading h2 { color: #fff; }
.fc-pain .heading p { color: #a9a9b3; }
.fc-pain .heading > span { background: transparent; border: 1px solid var(--bgcolor); color: var(--bgcolor); }
.fc-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fc-pains li { padding: 30px 28px; border-radius: 26px; background: #0d0d10; border: 1px solid #1c1c21; transition: border-color .35s, transform .35s var(--ease-back); }
.fc-pains li:hover { border-color: #a88bff; transform: translateY(-6px); }
.fc-pains i { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #17171b; color: #a88bff; font-size: 22px; margin-bottom: 20px; }
.fc-pains h3 { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.03em; padding-bottom: 8px; }
.fc-pains p { color: #8f8f99; font-size: 15px; line-height: 25px; }
.fc-quote { margin-top: 70px; font-size: 34px; line-height: 1.25; font-weight: 600; letter-spacing: -.035em; color: #6f6f78; max-width: 900px; }
.fc-quote strong { color: #fff; font-weight: 600; }

/* ---------- a solução ---------- */
.fc-solution { padding-bottom: 60px; }
.fc-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.fc-solution .heading { margin-bottom: 0; }
.fc-solution .heading h2 { font-size: 48px; }
.fc-sol-text p { font-size: 18px; line-height: 31px; color: #333; }
.fc-sol-text strong { color: #000; font-weight: 600; }
.fc-sol-punch { margin-top: 24px; padding: 22px 26px; border-left: 4px solid var(--main-color); background: var(--soft); border-radius: 0 20px 20px 0; font-weight: 600; color: #000 !important; }
.fc-sol-punch span { color: var(--main-color); }

/* ---------- entenda: juros mensais x parcelado ---------- */
.fc-modes { background: var(--soft); }
.fc-modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fc-mode { background: #fff; border-radius: 30px; padding: 30px; box-shadow: 0 30px 60px -45px rgba(0,0,0,.35); }
.fc-mode-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 99px; padding: 5px 12px; margin-bottom: 14px; }
.fc-mode.m1 .fc-mode-tag { background: #efe9ff; color: #6637ed; }
.fc-mode.m2 .fc-mode-tag { background: #dcfce6; color: #0f8a35; }
.fc-mode h3 { font-size: 26px; font-weight: 700; letter-spacing: -.035em; padding-bottom: 6px; }
.fc-mode > p { font-size: 15.5px; line-height: 26px; color: #444; }
.fc-viz { margin-top: 24px; padding: 20px; border-radius: 20px; background: #000; color: #fff; }
.fc-viz-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: #a9a9b3; margin-bottom: 8px; }
.fc-viz-row b { color: #fff; font-size: 13px; }
.fc-bar { height: 16px; border-radius: 99px; background: #1b1b1f; overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: var(--w, 100%); border-radius: 99px; transition: width .7s cubic-bezier(.6,0,.2,1); }
.fc-mode.m1 .fc-bar i { background: #a88bff; }
.fc-mode.m2 .fc-bar i { background: var(--bgcolor); }
.fc-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.fc-months li { text-align: center; font-size: 11.5px; font-weight: 600; padding: 8px 4px; border-radius: 10px; background: #17171b; color: #8a8a94; transition: background .4s, color .4s; }
.fc-months li small { display: block; font-size: 10px; font-weight: 500; }
.fc-mode.m1 .fc-months li.on { background: var(--bgcolor); color: #000; }
.fc-mode.m2 .fc-months li.on { background: #a88bff; color: #000; }
.fc-viz-note { margin-top: 14px; font-size: 13px; color: #d6d6dd; }
.fc-viz-note b { color: var(--bgcolor); }
.fc-mode.m2 .fc-viz-note b { color: #a88bff; }
.fc-modes-close { margin-top: 40px; text-align: center; font-size: 19px; line-height: 1.5; color: #333; max-width: 820px; margin-left: auto; margin-right: auto; }
.fc-modes-close strong { display: block; color: #000; }

/* ---------- funcionalidades ---------- */
.fc-features { background: #0a0a0d; position: relative; overflow: hidden; }
.fc-features::before { content: ""; position: absolute; right: -260px; top: -200px; width: 780px; height: 780px; background: radial-gradient(closest-side, rgba(102,55,237,.25), transparent); pointer-events: none; }
.fc-features .container { position: relative; }
.fc-features .heading h2 { color: #fff; max-width: 760px; }
.fc-features .heading > span { background: transparent; border: 1px solid #a88bff; color: #a88bff; }
.fc-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fc-feats li { display: flex; gap: 20px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(168,139,255,.16); transition: background .35s, border-color .35s, transform .35s var(--ease-back); }
.fc-feats li:hover { background: rgba(102,55,237,.12); border-color: rgba(168,139,255,.5); transform: translateY(-5px); }
.fc-feats i { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #a88bff; color: #000; font-size: 24px; }
.fc-feats h3 { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.03em; padding-bottom: 8px; }
.fc-feats p { color: #b3b3bd; font-size: 15px; line-height: 25px; }
.fc-feat-note { margin-top: 26px; font-size: 15px; color: #a9a9b3; }
.fc-feat-note strong { color: #fff; }

/* ---------- para quem é ---------- */
.fc-audience { padding: 70px 0; border-bottom: 1px solid var(--line); }
.fc-aud-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.fc-aud-wrap h2 { font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.fc-aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fc-aud li { padding-left: 16px; border-left: 3px solid var(--main-color); font-size: 15px; line-height: 24px; color: #555; }
.fc-aud b { display: block; color: #000; font-size: 16px; }

/* ---------- responsivo ---------- */
@media (max-width: 1400px) {
  .fc-hero .hero-text h1 { font-size: 56px; }
}
@media (max-width: 1199px) {
  .fc-hero .hero-text h1 { font-size: 48px; }
  .fc-solution .heading h2 { font-size: 40px; }
  .fc-quote { font-size: 28px; }
}
@media (max-width: 991px) {
  .fc-hero .hero-visual { justify-content: center; }
  .fc-summary-grid { grid-template-columns: 1fr; gap: 16px; }
  .fc-tags { margin-left: 0; }
  .fc-pains { grid-template-columns: 1fr; gap: 12px; }
  .fc-sol-grid { grid-template-columns: 1fr; gap: 24px; }
  .fc-modes-grid { grid-template-columns: 1fr; }
  .fc-feats { grid-template-columns: 1fr; }
  .fc-aud-wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .fc-hero .hero-text h1 { font-size: 38px; }
  .fc-proof { flex-direction: column; gap: 8px; }
  .fc-phone { width: 272px; border-radius: 42px; }
  .fc-app { padding: 46px 14px 16px; border-radius: 32px; }
  .fc-summary { padding: 70px 0 50px; }
  .fc-summary-grid p { font-size: 17px; }
  .fc-pains li { padding: 24px 22px; }
  .fc-quote { font-size: 23px; margin-top: 50px; }
  .fc-solution .heading h2 { font-size: 32px; }
  .fc-mode { padding: 22px 18px; border-radius: 24px; }
  .fc-mode h3 { font-size: 22px; }
  .fc-viz { padding: 16px 14px; }
  .fc-modes-close { font-size: 16px; }
  .fc-feats li { flex-direction: column; gap: 14px; padding: 24px 22px; }
  .fc-aud { grid-template-columns: 1fr; }
  .fc-aud-wrap h2 { font-size: 24px; }
}
@media (max-width: 374px) {
  .fc-hero .hero-text h1 { font-size: 33px; }
  .fc-phone { width: 256px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .fc-phone { animation: none !important; }
  .fc-phone *, .fc-mode * { transition-duration: 0s !important; transition-delay: 0s !important; }
}
