/* SLComércio ERP — página inicial como infográfico: banners dinâmicos, contadores, fluxo da venda, destaques.
   Depende das variáveis de style.css. Animações respeitam prefers-reduced-motion. */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.home-kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--color-primary-light); color: var(--color-primary-dark); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Faixa de destaques rotativa ---------- */
.news-bar { background: var(--color-ink); color: #fff; font-size: .86rem; }
.news-bar__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.news-bar__tag { flex-shrink: 0; background: var(--color-primary); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; animation: hbPulse 2.4s ease-in-out infinite; }
.news-bar__msgs { display: grid; flex: 1; min-width: 0; }
.news-bar__msgs a { grid-area: 1 / 1; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 9px 0; }
.news-bar__msgs a.is-on { opacity: 1; transform: none; pointer-events: auto; }
.news-bar__msgs a b { color: #9db6ff; font-weight: 600; margin-left: 6px; }
.news-bar__msgs a:hover { text-decoration: none; }
.news-bar__msgs a:hover b { text-decoration: underline; }
@keyframes hbPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(41, 84, 228, .6); } 50% { box-shadow: 0 0 0 6px rgba(41, 84, 228, 0); } }

/* ---------- Banners principais ---------- */
.hb { padding: 28px 0 8px; background: linear-gradient(180deg, var(--color-bg-alt), #fff); }
.hb__stage { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; }
.hb__slides { display: grid; }
.hb-s { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .6s ease, visibility 0s linear .6s; padding: 44px 36px 64px; display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.hb-s.is-active { visibility: visible; opacity: 1; transition: opacity .6s ease, visibility 0s; z-index: 2; }
.hb-s--pdv { background: linear-gradient(135deg, #1c3fb0 0%, #2954e4 55%, #4b7bff 100%); }
.hb-s--nfe { background: linear-gradient(135deg, #0b2f6b 0%, #1555c0 55%, #2b8be8 100%); }
.hb-s--estoque { background: linear-gradient(135deg, #07493c 0%, #0e7d62 55%, #25b88a 100%); }
.hb-s--fin { background: linear-gradient(135deg, #3e1d8c 0%, #6236d6 55%, #8e6bff 100%); }
.hb-s--plano { background: linear-gradient(135deg, #0b1220 0%, #16306f 55%, #2954e4 100%); }
.hb-s::before, .hb-s::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; animation: hbDrift 14s ease-in-out infinite alternate; }
.hb-s::before { width: 360px; height: 360px; right: -90px; top: -120px; }
.hb-s::after { width: 220px; height: 220px; left: -60px; bottom: -90px; animation-duration: 18s; }
@keyframes hbDrift { to { transform: translate(-28px, 22px) scale(1.08); } }

.hb-s__copy { position: relative; z-index: 1; max-width: 560px; }
.hb-s__kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 5px 13px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.hb-s h2 { font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 2.7rem); letter-spacing: -.02em; line-height: 1.12; color: #fff; margin-bottom: 14px; }
.hb-s p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 46ch; }
.hb-s__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.hb-s__chips li, .hb-chip { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; padding: 5px 13px; font-size: .84rem; font-weight: 500; color: #fff; }
.hb-chip { cursor: pointer; font-family: inherit; transition: background-color .15s ease, transform .15s ease; }
.hb-chip:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.hb-s__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--light { background: #fff; color: var(--color-ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #eef2fe; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); }

.hb-s .a { opacity: 0; }
.hb-s.is-active .a { animation: hbIn .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes hbIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.bv { position: relative; z-index: 1; background: #fff; color: var(--color-ink); border-radius: 20px; box-shadow: 0 28px 60px rgba(0, 0, 0, .3); padding: 14px 16px 18px; width: 100%; max-width: 430px; justify-self: center; font-size: .86rem; }
.bv__bar { display: flex; align-items: center; gap: 6px; padding: 2px 2px 12px; }
.bv__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d6dcea; }
.bv__bar em { margin-left: auto; font-style: normal; font-size: .74rem; color: var(--color-ink-faint); font-weight: 600; }
.bv ul { list-style: none; margin: 0; padding: 0; }
.bv li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; background: var(--color-bg-alt); margin-bottom: 7px; color: var(--color-ink-soft); }
.bv li b { color: var(--color-ink); font-weight: 600; white-space: nowrap; }
.bv__total { display: flex; justify-content: space-between; padding: 11px; border-radius: 9px; background: var(--color-primary-light); color: var(--color-primary-dark); font-weight: 700; margin: 4px 0 12px; }
.bv__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e6f6ec; color: #17803f; }
.bv__badge--warn { background: #fff4de; color: #9a6100; }
.bv__badge--violet { background: #efe9ff; color: #5a2bb0; }

.flip { position: relative; display: inline-block; min-width: 96px; height: 24px; }
.flip span { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.flip .from { background: #fff4de; color: #9a6100; }
.flip .to { background: #e6f6ec; color: #17803f; opacity: 0; }
.hb-s.is-active .flip .from { animation: hbOut .3s both; animation-delay: var(--d, 1s); }
.hb-s.is-active .flip .to { animation: hbOn .35s both; animation-delay: var(--d, 1s); }
@keyframes hbOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes hbOn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bar { height: 9px; border-radius: 999px; background: #e5e9f3; overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #25b88a, #0e7d62); }
.bar i.low { background: linear-gradient(90deg, #ffb340, #e5484d); }
.hb-s.is-active .bar i { animation: hbGrow 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, .4s); }
@keyframes hbGrow { to { width: var(--w); } }
.bv__stock { display: grid; grid-template-columns: 96px 1fr 52px; gap: 10px; align-items: center; padding: 7px 2px; font-size: .84rem; }
.bv__stock b { text-align: right; }

.bv__plan-price { position: relative; height: 74px; margin: 6px 0 10px; }
.bv__plan-price div { position: absolute; inset: 0; opacity: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; align-content: center; }
.bv__plan-price strong { font-family: "Poppins", var(--font-sans); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bv__plan-price small { color: var(--color-ink-faint); font-size: .9rem; }
.hb-s.is-active .bv__plan-price div { animation: hbCycle 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hbCycle { 0% { opacity: 0; transform: translateY(10px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
.bv__pills { display: flex; gap: 8px; margin-bottom: 14px; }
.bv__pills span { flex: 1; text-align: center; padding: 8px 4px; border: 1px solid var(--color-border); border-radius: 10px; font-weight: 600; font-size: .8rem; color: var(--color-ink-soft); }
.hb-s.is-active .bv__pills span { animation: hbPill 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hbPill { 0%, 33% { background: var(--color-primary); color: #fff; border-color: var(--color-primary); } 36%, 100% { background: #fff; color: var(--color-ink-soft); border-color: var(--color-border); } }
.bv__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 10px; }
.bv__mods span { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--color-ink-soft); }
.bv__mods span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat; flex-shrink: 0; }

.hb__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: stretch; background: rgba(8, 14, 30, .34); backdrop-filter: blur(6px); }
.hb__tab { flex: 1; position: relative; border: 0; background: transparent; color: rgba(255, 255, 255, .7); font: inherit; font-size: .8rem; font-weight: 600; padding: 13px 6px 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: color .2s ease, background-color .2s ease; }
.hb__tab svg { flex-shrink: 0; }
.hb__tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hb__tab.is-active { color: #fff; }
.hb__tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .18); }
.hb__tab::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #fff; transform-origin: left; transform: scaleX(0); }
.hb__tab.is-active::after { transform: scaleX(var(--p, 0)); }
.hb__pause { flex: 0 0 auto; width: 46px; border: 0; border-left: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hb__pause:hover { background: rgba(255, 255, 255, .1); }
.hb__pause .i-play { display: none; }
.hb.is-paused .hb__pause .i-play { display: block; }
.hb.is-paused .hb__pause .i-pause { display: none; }

@media (min-width: 900px) {
    .hb-s { grid-template-columns: 1.05fr .95fr; padding: 54px 56px 76px; gap: 40px; min-height: 470px; }
}
@media (max-width: 899px) {
    .hb-s__tablabel { display: none; }
    .hb-s { padding: 34px 22px 64px; }
    .hb-s p { font-size: .98rem; }
}
@media (min-width: 640px) and (max-width: 899px) {
    .hb-s { grid-template-columns: 1.1fr .9fr; gap: 22px; padding: 30px 26px 62px; }
    .hb-s h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
    .hb-s p { font-size: .94rem; }
    .hb-s__chips { margin: 12px 0 16px; }
    .hb-s__actions .btn--outline-light { display: none; }
    .bv { padding: 10px 12px 14px; font-size: .8rem; }
    .bv li { padding: 7px 9px; margin-bottom: 5px; }
}
@media (max-width: 639px) {
    .hb { padding-top: 14px; }
    .hb__stage { border-radius: 20px; }
    .hb-s { padding: 22px 18px 56px; gap: 16px; }
    .hb-s::before { width: 220px; height: 220px; }
    .hb-s__kicker { margin-bottom: 10px; font-size: .7rem; padding: 4px 10px; }
    .hb-s h2 { font-size: 1.45rem; margin-bottom: 8px; }
    .hb-s p { font-size: .9rem; margin-bottom: 12px; }
    .hb-s__chips, .hb-s__actions .btn--outline-light { display: none; }
    .hb-s__actions .btn--lg { padding: 11px 20px; font-size: .95rem; }
    .hb-s--plano p, .bv__mods { display: none; }
    .hb-s--plano .hb-s__chips { display: flex; margin: 0 0 14px; gap: 6px; }
    .hb-s--plano .hb-s__chips li { padding: 4px 10px; font-size: .76rem; }
    .bv { padding: 8px 10px 12px; font-size: .78rem; border-radius: 14px; max-width: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
    .bv__bar { padding-bottom: 6px; }
    .bv li { padding: 6px 9px; margin-bottom: 4px; }
    .bv__total { padding: 8px 9px; margin: 2px 0 8px; }
    .bv__stock { grid-template-columns: 78px 1fr 46px; padding: 4px 2px; }
    .bv__plan-price { height: 54px; margin: 2px 0 6px; }
    .bv__plan-price strong { font-size: 2rem; }
    .bv__pills { margin-bottom: 8px; }
    .bv__pills span { padding: 5px 2px; }
    .bv__mods { gap: 4px 8px; margin-bottom: 8px; }
    .hb__tab { padding: 11px 4px 10px; }
    .stats { padding-top: 26px; }
    .home-sec { padding: 52px 0; }
}

/* ---------- Contadores ---------- */
.stats { padding: 38px 0 12px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--color-primary), #8e6bff); }
.stat__num { font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.03em; color: var(--color-primary); line-height: 1.05; }
.stat__label { margin: 6px 0 0; font-size: .88rem; color: var(--color-ink-soft); }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Seções ---------- */
.home-sec { padding: 72px 0; }
.home-sec--tight { padding: 56px 0; }
.section-header .home-kicker { margin-bottom: 12px; }

/* ---------- Módulos (bento) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento__c3 { grid-column: span 3; } .bento__c2 { grid-column: span 2; } }
.bcard { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px 24px 22px; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; --ac: var(--color-primary); }
.bcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ac); }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.bcard--pdv { --ac: #2954e4; } .bcard--nfe { --ac: #1f78d8; } .bcard--estoque { --ac: #0e9c74; } .bcard--fin { --ac: #6236d6; } .bcard--ger { --ac: #e08a00; }
.bcard__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bcard__icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, #fff); transition: transform .35s ease; }
.bcard:hover .bcard__icon { transform: rotate(-8deg) scale(1.1); }
.bcard h3 { margin: 0; font-size: 1.12rem; }
.bcard p { font-size: .94rem; margin-bottom: 14px; }
.bcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.bcard__chips li { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--ac); background: color-mix(in srgb, var(--ac) 10%, #fff); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: auto; padding-bottom: 14px; }
.spark i { flex: 1; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--ac) 28%, #fff); height: 12%; transition: height .9s cubic-bezier(.2,.8,.2,1), background-color .3s ease; transition-delay: calc(var(--k) * 70ms); }
.is-in .spark i, .bcard:hover .spark i { height: var(--h); }
.bcard:hover .spark i { background: var(--ac); }
.bcard__link { font-weight: 700; font-size: .92rem; color: var(--ac); display: inline-flex; gap: 6px; align-items: center; }
.bcard__link span { transition: transform .2s ease; }
.bcard:hover .bcard__link span { transform: translateX(5px); }
.bcard__link:hover { text-decoration: none; }

/* ---------- Fluxo da venda ---------- */
.flow { background: var(--color-bg-alt); }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 26px; }
.flow__line { position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 4px; background: var(--color-border); border-radius: 4px; }
.flow__line i { display: block; height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--color-primary), #8e6bff); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.fstep { position: relative; z-index: 1; border: 0; background: none; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 4px; color: var(--color-ink-soft); }
.fstep__dot { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 3px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-ink-faint); transition: all .35s ease; }
.fstep__label { font-size: .84rem; font-weight: 600; }
.fstep.is-done .fstep__dot { border-color: var(--color-primary); color: var(--color-primary); }
.fstep.is-active .fstep__dot { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 8px rgba(41, 84, 228, .16); }
.fstep.is-active .fstep__label { color: var(--color-primary-dark); }
.flow__panels { display: grid; }
.fpanel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; display: grid; gap: 26px; align-items: center; }
.fpanel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.fpanel h3 { font-size: 1.3rem; }
.fpanel__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.fpanel__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--color-ink-soft); opacity: 0; transform: translateX(-10px); }
.fpanel__list li::before { content: ""; flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.fpanel.is-active .fpanel__list li { animation: hbSlide .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--k) * .18s); }
@keyframes hbSlide { to { opacity: 1; transform: none; } }
.fpanel__viz { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: 18px; }
.fpanel__viz .process-badge { margin-top: 10px; }
.fpanel .receipt-list li, .fpanel .stock-row { opacity: 1; transform: none; animation: none; }
.fpanel.is-active .fpanel__viz .receipt-list li, .fpanel.is-active .fpanel__viz .status-list li, .fpanel.is-active .fpanel__viz .stock-row { animation: hbIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.2s + var(--k, 0) * .22s); }
.fpanel.is-active .stock-bar__fill { animation: hbWide 1s cubic-bezier(.2,.8,.2,1) both .3s; }
@keyframes hbWide { from { width: 0; } }
@media (min-width: 860px) { .fpanel { grid-template-columns: 1fr 1fr; padding: 34px 38px; } }
@media (max-width: 560px) { .fstep__label { font-size: .74rem; } .fstep__dot { width: 46px; height: 46px; } .flow__line { top: 23px; } }

/* ---------- Recursos em destaque ---------- */
.spot__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.spot__head .section-header { margin: 0; text-align: left; }
.spot__nav { display: flex; gap: 8px; }
.spot__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-ink); transition: all .15s ease; }
.spot__btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.spot__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; scroll-behavior: smooth; }
.spot__track::-webkit-scrollbar { display: none; }
.scard { flex: 0 0 min(320px, 82%); scroll-snap-align: start; position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px 22px 20px; display: flex; flex-direction: column; overflow: hidden; --ac: var(--color-primary); transition: transform .25s ease, box-shadow .25s ease; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scard--fin { --ac: #6236d6; } .scard--est { --ac: #0e9c74; } .scard--fis { --ac: #1f78d8; } .scard--pdv { --ac: #2954e4; }
.scard__n { position: absolute; right: 14px; top: -6px; font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: 4.6rem; line-height: 1; color: color-mix(in srgb, var(--ac) 9%, #fff); pointer-events: none; }
.scard__cat { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--ac); background: color-mix(in srgb, var(--ac) 11%, #fff); margin-bottom: 14px; position: relative; }
.scard h3 { font-size: 1.08rem; position: relative; }
.scard p { font-size: .92rem; position: relative; flex: 1; }
.scard a { font-weight: 700; font-size: .9rem; color: var(--ac); position: relative; }
.spot__dots { display: flex; justify-content: center; gap: 7px; }
.spot__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--color-border); cursor: pointer; transition: all .25s ease; }
.spot__dots button.is-on { width: 26px; background: var(--color-primary); }

/* ---------- Ajustes de seções existentes ---------- */
.pricing__lead-banner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; background: var(--color-primary-light); color: var(--color-primary-dark); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .9rem; margin: 0 auto 26px; width: fit-content; max-width: 100%; }
.cta-banner { position: relative; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hb-s .a, .hb-s.is-active .a, .fpanel__list li { opacity: 1; animation: none !important; transform: none; }
    .hb-s::before, .hb-s::after, .news-bar__tag { animation: none; }
    .flip .from { display: none; } .flip .to { opacity: 1; animation: none !important; }
    .bar i { width: var(--w) !important; animation: none !important; }
    .bv__plan-price div:first-child { opacity: 1 !important; animation: none !important; }
    .bv__plan-price div:not(:first-child) { display: none; }
    .bv__pills span { animation: none !important; }
    .spark i { height: var(--h); transition: none; }
    .hb-s, .fpanel, .spot__track { transition: none; scroll-behavior: auto; }
}
/* ---------- Planos interativos ---------- */
.pp { background: linear-gradient(180deg, #fff, var(--color-bg-alt)); }
.pp__grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) { .pp__grid { grid-template-columns: 1.25fr .85fr; } .pp-sum { position: sticky; top: 92px; } }
.pp__controls { display: grid; gap: 22px; min-width: 0; }
.pp-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px 24px 22px; }
.pp-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pp-card__head h3 { margin: 0 0 2px; font-size: 1.1rem; }
.pp-card__head p { margin: 0; font-size: .88rem; }
.pp-step { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; font-weight: 800; font-family: "Poppins", var(--font-sans); }
.pp-big { margin-left: auto; font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--color-primary); min-width: 1.4ch; text-align: right; }

.pp-mons { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 14px; }
.pp-mon { border: 0; background: none; padding: 4px 0; cursor: pointer; color: #c4cbdb; transition: color .25s ease, transform .25s ease; }
.pp-mon svg { display: block; width: 100%; height: auto; }
.pp-mon.is-on { color: var(--color-primary); }
.pp-mon.is-on.pop { animation: ppPop .4s cubic-bezier(.2,1.6,.4,1); }
.pp-mon:hover { transform: translateY(-3px); }
@keyframes ppPop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.pp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--color-primary) var(--pct, 11%), var(--color-border) var(--pct, 11%)); outline: none; cursor: pointer; margin: 4px 0 0; }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--color-primary); box-shadow: 0 4px 12px rgba(41, 84, 228, .4); cursor: grab; }
.pp-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--color-primary); box-shadow: 0 4px 12px rgba(41, 84, 228, .4); cursor: grab; }
.pp-range:focus-visible { outline: 3px solid rgba(41, 84, 228, .35); outline-offset: 6px; }
.pp-range__scale { display: grid; grid-template-columns: repeat(10, 1fr); margin-top: 6px; font-size: .74rem; color: var(--color-ink-faint); text-align: center; }

.pp-rule { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 18px; padding: 10px 14px; background: var(--color-primary-light); border-radius: var(--radius-sm); color: var(--color-primary-dark); font-weight: 600; font-size: .92rem; }
.pp-rule__tag { background: var(--color-primary); color: #fff; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.pp-rule__tag[hidden] { display: none; }

.pp-ppp__title { font-size: .84rem; font-weight: 600; color: var(--color-ink-soft); margin-bottom: 10px; }
.pp-ppp__bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; align-items: end; height: 96px; }
.pp-ppp__col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; align-items: center; gap: 4px; font-size: .66rem; color: var(--color-ink-faint); cursor: pointer; }
.pp-ppp__col i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: #dfe5f6; height: var(--h); transition: height .6s cubic-bezier(.2,.8,.2,1), background-color .25s ease; }
.pp-ppp__col.is-on i { background: linear-gradient(180deg, #5b82ff, var(--color-primary)); }
.pp-ppp__col.is-on { color: var(--color-primary-dark); font-weight: 700; }
.pp-ppp__col:hover i { background: #a9bcf5; }

.pp-cycles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .pp-cycles { grid-template-columns: repeat(4, 1fr); } }
.pp-cycle { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: left; font: inherit; background: #fff; border: 2px solid var(--color-border); border-radius: var(--radius-md); padding: 22px 14px 14px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; color: var(--color-ink); }
.pp-cycle:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pp-cycle[aria-checked="true"] { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(41, 84, 228, .12), var(--shadow-md); background: var(--color-primary-light); }
.pp-cycle__badge { position: absolute; top: -11px; left: 12px; background: #1fa855; color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pp-cycle__badge--best { background: linear-gradient(90deg, #6236d6, #2954e4); }
.pp-cycle__name { font-weight: 700; font-size: .98rem; }
.pp-cycle__bar { display: block; height: 8px; border-radius: 999px; background: #e5e9f3; overflow: hidden; }
.pp-cycle__bar i { display: block; height: 100%; width: var(--w, 100%); border-radius: 999px; background: linear-gradient(90deg, #5b82ff, var(--color-primary)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.pp-cycle__price { font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.pp-cycle__note { font-size: .74rem; color: var(--color-ink-soft); min-height: 2.2em; line-height: 1.25; }
.pp-hint { margin: 14px 0 0; font-size: .8rem; color: var(--color-ink-faint); }

.pp-sum { border-radius: 28px; background: linear-gradient(150deg, #0b1220 0%, #16306f 55%, #2954e4 120%); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
@media (min-width: 980px) { .pp-sum { position: sticky; } }
.pp-sum::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -100px; top: -110px; background: rgba(255, 255, 255, .08); pointer-events: none; }
.pp-sum__inner { position: relative; padding: 28px 26px 24px; }
.pp-sum__tag { display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 4px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pp-sum__price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.pp-sum__cur { font-size: 1.3rem; font-weight: 600; opacity: .85; }
.pp-sum__amount { font-family: "Poppins", var(--font-sans); font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.6rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-sum__per { opacity: .8; }
.pp-sum__detail { color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
.pp-sum__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pp-sum__chips span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; }

.pp-cmp { display: grid; gap: 8px; margin-bottom: 16px; }
.pp-cmp__row { display: grid; grid-template-columns: 86px 1fr auto; gap: 10px; align-items: center; font-size: .78rem; }
.pp-cmp__lab { color: rgba(255, 255, 255, .8); }
.pp-cmp__row b { font-variant-numeric: tabular-nums; font-size: .82rem; min-width: 8ch; text-align: right; }
.pp-cmp__track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pp-cmp__fill { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #7ea0ff, #b9ccff); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.pp-cmp__fill--full { background: rgba(255, 255, 255, .45); }

.pp-save { background: rgba(31, 168, 85, .18); border: 1px solid rgba(70, 219, 130, .45); border-radius: var(--radius-md); padding: 12px 14px; margin-bottom: 12px; display: grid; gap: 2px; animation: ppSlide .45s cubic-bezier(.2,.8,.2,1); }
.pp-save[hidden], .pp-total[hidden], .pp-inst[hidden] { display: none; }
.pp-save__lab { font-size: .78rem; color: #b9f3cf; font-weight: 600; }
.pp-save strong { font-family: "Poppins", var(--font-sans); font-size: 1.7rem; color: #7ff0a8; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pp-save__sub { font-size: .78rem; color: rgba(255, 255, 255, .8); }
@keyframes ppSlide { from { opacity: 0; transform: translateY(8px); } }
.pp-total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 10px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.pp-total strong { color: #fff; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.pp-inst { margin: -4px 2px 12px; font-size: .82rem; color: #cbd8ff; }
.pp-sum__cta { margin-top: 8px; }
.pp-incl { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.pp-incl li { font-size: .75rem; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; gap: 5px; }
.pp-incl li::before { content: "✓"; color: #7ff0a8; font-weight: 800; }

.pp-pay { margin-top: 26px; text-align: center; }
.pp-pay > p { margin-bottom: 10px; }
.pp-pay ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; }
.pp-pay li { background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-sm); }
.pp-pay__note { font-size: .84rem; color: var(--color-ink-faint); }

@media (max-width: 520px) {
    .pp-card { padding: 18px 16px; }
    .pp-big { font-size: 2.1rem; }
    .pp-card__head p { font-size: .8rem; }
    .pp-cmp__row { grid-template-columns: 70px 1fr auto; }
    .pp-ppp__col { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pp-mon.is-on.pop, .pp-save { animation: none; }
    .pp-ppp__col i, .pp-cycle__bar i, .pp-cmp__fill { transition: none; }
}
.pp-ppp__col span { white-space: nowrap; }
