/* ==========================================================
   Leeve PDV - página /sistema-pdv-maquininha/
   Simulação da maquininha em ../css/demos.css
   ========================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* Reserva com as mesmas medidas da Inter: o texto não pula quando a fonte chega (CLS) */
@font-face {
    font-family: "Inter Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica");
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.06%;
}

:root {
    --blue: #1D6CF2; /* azul da marca levemente mais fundo: contraste AA (4,7:1) com branco */
    --blue-600: #1A62E0;
    --blue-50: #EEF4FF;
    --green: #03BF65;
    --green-600: #02A558;
    --ink: #0B1220;
    --text: #3B4657;
    --muted: #667085;
    --line: #E6EAF0;
    --bg: #FFFFFF;
    --bg-soft: #F2F6FD;      /* azul-gelo: seções alternadas */
    --stage: #E6EEFD;        /* palco azul claro atrás dos produtos */
    --dark: #0B1220;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1180px;
    --header: 68px;
    --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Longhands: não reativam a quebra onde há white-space: nowrap */
h1, h2, h3, h4 {
    text-wrap-style: balance;
}

p, li, dd, figcaption {
    text-wrap-style: balance;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    letter-spacing: -.035em;
    line-height: 1.04;
}

h2 {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.12rem;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: .875rem;
    font-weight: 650;
}

.eyebrow-light {
    color: #7FB0FF;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    height: 40px;
    padding: 0 16px;
    font-size: .9rem;
}

.btn-lg {
    height: 54px;
    padding: 0 26px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 1px 2px rgba(11, 18, 32, .12), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.btn-primary:hover {
    background: var(--blue-600);
}

.btn-ghost {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: #C9D1DC;
    background: var(--bg-soft);
}

.btn-outline {
    border-color: #CFD6E0;
    background: #fff;
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--ink);
}

.btn-white {
    background: #fff;
    color: var(--ink);
}

.btn-white:hover {
    background: #EEF2F7;
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.btn-ghost-light:hover {
    border-color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--header);
}

.logo img {
    width: 118px;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 550;
    transition: color .2s, background .2s;
}

.nav a:hover {
    color: var(--ink);
    background: var(--bg-soft);
}

.header-actions {
    margin-left: auto;
}

.menu-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    color: var(--ink);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header));
    height: calc(100dvh - var(--header));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px 32px;
    background: var(--bg-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-nav .btn {
    margin-top: 18px;
    height: 50px;
}

/* ---------- Hero ---------- */
.hero {
    overflow: hidden;
    padding: 48px 0 64px;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 56px;
}

.hero-copy h1 {
    max-width: 13ch;
}

.hero-lead {
    max-width: 32rem;
    margin-top: 20px;
    font-size: 1.12rem;
    line-height: 1.55;
}

.hero-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 28px 0 32px;
    max-width: 30rem;
}

.hero-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background .3s;
}

.hero-steps li > span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #CBD5E1;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700;
    transition: all .3s;
}

.hero-steps strong {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
}

.hero-steps li.is-active {
    background: var(--blue-50);
}

.hero-steps li.is-active > span {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.hero-steps li.is-done > span {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: .9rem;
}

.hero-note strong {
    color: var(--ink);
}

.hero-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    /* 300/770 = proporção da cena: cabe com o palco na altura da tela */
    max-width: min(300px, calc((100vh - 230px) * .3896));
    margin: 0 auto;
}




/* ---------- Compatibilidade ---------- */
.compat {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.split-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 32px;
}

.split-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.split-head p {
    max-width: 36rem;
    justify-self: end;
    color: var(--muted);
}

.block-title {
    max-width: 960px;
    margin: 0 auto 32px;
}

.compat-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.compat-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.compat-list img {
    width: auto;
    height: 120px;
    object-fit: contain;
}

.compat-list span {
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
}

.compat-action {
    margin-top: 28px;
    text-align: center;
}

/* ---------- Seções ---------- */
.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head > p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.06rem;
}

.section-head-left {
    margin: 0;
    text-align: left;
}

.section-head a {
    color: var(--blue);
    font-weight: 600;
}

.section-action {
    margin-top: 36px;
    text-align: center;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
}

.checklist li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E6F9EF no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303BF65' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Antes x depois ---------- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-col {
    padding: 32px;
    border-radius: var(--radius-lg);
}

.compare-col h3 {
    margin-bottom: 20px;
}

.compare-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare-col li {
    position: relative;
    padding-left: 32px;
}

.compare-col li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.compare-before {
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.compare-before h3 {
    color: var(--muted);
}

.compare-before li {
    color: var(--muted);
}

.compare-before li::before {
    background-color: #FDECEC;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5484D' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.compare-after {
    border: 2px solid var(--blue);
    background: #fff;
    box-shadow: 0 24px 50px -28px rgba(37, 117, 252, .5);
}

.compare-after li {
    color: var(--ink);
    font-weight: 500;
}

.compare-after li::before {
    background-color: #E6F9EF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303BF65' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Depoimento em vídeo ---------- */
.testimonial {
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: center;
    gap: 80px;
    max-width: 1000px;
}

.testimonial-copy h2 {
    max-width: 14ch;
}

.testimonial-copy p {
    max-width: 28rem;
    margin: 16px 0 32px;
    color: var(--muted);
    font-size: 1.12rem;
}

.vvideo {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 24px;
    background: #0B1220;
    box-shadow: 22px 22px 0 0 #D9E5FC, 0 30px 60px -28px rgba(11, 18, 32, .4);
}

.vvideo-player,
.vvideo iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vvideo-sound {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(11, 18, 32, .2);
    transition: opacity .2s;
}

.vvideo.has-sound .vvideo-sound {
    opacity: 0;
    pointer-events: none;
}

/* ---------- Oferta ---------- */
.offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px -30px rgba(11, 18, 32, .18);
}

.offer-summary {
    padding: 32px;
    border: 1px solid #D6E4FF;
    border-radius: 20px;
    background: var(--blue-50);
}

.offer-starting {
    color: var(--muted);
    font-weight: 500;
}

.offer-price {
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 6px 0 22px;
    color: var(--ink);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
}

.offer-price span {
    font-size: 1.3rem;
    letter-spacing: 0;
}

.offer-price small {
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0;
}

.offer-summary .btn {
    width: 100%;
}

.offer-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: .88rem;
}

.offer-list {
    gap: 16px;
    font-size: 1.05rem;
    color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-layout > h2 {
    max-width: 12ch;
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.faq {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    position: relative;
    display: flex;
    width: 100%;
    padding: 22px 44px 22px 0;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
}

.faq-question::before,
.faq-question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease);
}

.faq-question::before {
    transform: rotate(90deg);
}

.faq-item.active .faq-question::before {
    transform: rotate(0deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s var(--ease);
}

.faq-answer > p {
    overflow: hidden;
    color: var(--muted);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
    padding-bottom: 22px;
}

/* ---------- CTA final ---------- */
.final-cta {
    padding: 96px 0;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    border: 1px solid #D6E4FF;
    border-radius: 24px;
    background: var(--blue-50);
}

.final-cta p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 1.06rem;
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 56px 0 32px;
    border-top: 1px solid var(--line);
    font-size: .92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-brand img {
    width: 120px;
    margin-bottom: 14px;
}

.footer-brand p {
    max-width: 20rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-links strong {
    color: var(--ink);
    font-size: .88rem;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

/* ---------- Modal de lead ---------- */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(11, 18, 32, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.exit-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 36px 32px 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 40px 80px -20px rgba(11, 18, 32, .45);
    transform: translateY(12px);
    transition: transform .3s var(--ease);
}

.exit-modal-overlay.active .exit-modal {
    transform: none;
}

.exit-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--muted);
}

.exit-modal-close:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.exit-modal-badge {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: .85rem;
    font-weight: 650;
}

.exit-modal h3 {
    padding-right: 28px;
    font-size: 1.45rem;
    letter-spacing: -.03em;
}

.exit-modal p {
    margin: 10px 0 22px;
    color: var(--muted);
}

.exit-modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exit-modal-form input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

.exit-modal-form input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 117, 252, .12);
}

.exit-modal-form .btn {
    height: 52px;
    margin-top: 4px;
}

.exit-modal-privacy {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
}

.exit-modal-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    text-align: center;
}

.exit-modal-success h4 {
    color: var(--ink);
    font-size: 1.15rem;
}

.exit-modal-success p {
    margin: 0;
}

/* ---------- CTAs fixos ---------- */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}

.floating-whatsapp.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sticky-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .3s var(--ease);
}

.sticky-mobile.visible {
    transform: none;
}

.sticky-mobile .btn {
    flex: 1;
    height: 48px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    /* Sem os links do topo, o menu de hambúrguer aparece (antes só abaixo de 768px: tablet ficava sem menu) */
    .menu-toggle {
        display: grid;
        margin-left: 6px;
    }

    /* Uma coluna: texto centralizado, passos em bloco centralizado e aparelho logo abaixo */
    .hero {
        padding: 40px 0 56px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-copy {
        min-width: 0;
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-steps {
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
    }

    .compat-list {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 900px) {
    .testimonial,
    .faq-layout,
    .offer,
    .compare,
    .split-head {
        grid-template-columns: 1fr;
    }

    .testimonial {
        gap: 40px;
    }

    .vvideo {
        max-width: 340px;
        margin: 0 auto;
    }

    .split-head {
        gap: 10px;
    }

    .split-head p {
        justify-self: start;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-layout {
        gap: 32px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .sticky-mobile {
        display: flex;
    }

    .floating-whatsapp {
        display: none;
    }

    .site-footer {
        padding-bottom: 96px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 32px 0 48px;
    }

    .hero-steps {
        margin: 22px 0 24px;
    }

    .hero-steps li {
        padding: 7px 10px;
    }



    .hero-actions .btn {
        width: 100%;
    }


    .section {
        padding: 72px 0;
    }

    .compat {
        padding: 48px 0;
    }

    .compat-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .compat-list li {
        padding: 12px 4px 10px;
    }

    .compat-list img {
        height: 84px;
    }

    .compare-col {
        padding: 24px;
    }

    .offer {
        gap: 28px;
        padding: 20px;
    }

    .offer-summary {
        padding: 24px;
    }



    .final-cta {
        padding: 72px 0;
    }

    .final-cta-inner {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .final-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* CTA final: título compacto e botões sempre lado a lado no desktop */
.final-cta h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.final-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

@media (max-width: 640px) {
    .final-actions {
        flex-wrap: wrap;
        width: 100%;
    }
}

.compare li,
.footer-brand p {
    text-wrap-style: balance;
}

@media (max-width: 640px) {
    .footer-links:last-child {
        grid-column: 1 / -1;
    }
}

/* ---------- Simulador interativo na maquininha ---------- */
.try-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header));
    padding: 28px 0;
    background: #fff;
}

.try-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.try-copy {
    min-width: 0;
}

.try-copy > p:not(.try-label) {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.1rem;
}

.try-label {
    margin: 32px 0 12px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
}

/* Seletor de loja: cartões de escolha */
.try-tabs .pdvd-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.try-tabs .pdvd-tab {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px 48px 12px 12px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    white-space: normal;
    box-shadow: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.try-tabs .pdvd-tab:hover {
    border-color: #C3D3EC;
    background: #fff;
}

.try-tabs .pdvd-tab-emoji {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-soft);
    font-size: 1.35rem;
}

.try-tabs .pdvd-tab-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.try-tabs .pdvd-tab-full {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.try-tabs .pdvd-tab-short {
    display: none;
}

.try-tabs .pdvd-tab-hint {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 400;
}

.try-tabs .pdvd-tab.is-active {
    border-color: var(--blue);
    background: #F5F8FF;
    color: var(--ink);
    box-shadow: 0 0 0 3px rgba(37, 117, 252, .12);
}

.try-tabs .pdvd-tab.is-active .pdvd-tab-emoji {
    background: #fff;
}

/* ✓ no cartão escolhido */
.try-tabs .pdvd-tab.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border-radius: 50%;
    background: var(--blue) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.try-copy .btn {
    margin-top: 32px;
}

/* Maquininha sobre um círculo azul claro */
.try-device {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.try-device::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 7%;
    bottom: 7%;
    left: 12%;
    right: -100vw;
    border-radius: 32px 0 0 32px;
    background: var(--stage);
    pointer-events: none;
}

.try-section {
    overflow: hidden;
}

.try-progress {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 8px 16px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    counter-reset: passo;
}

.try-progress li {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 600;
    white-space: nowrap;
}

.try-progress li.is-active {
    display: flex;
}

/* 4 pontinhos de progresso antes do texto do passo atual */
.try-progress li::before {
    content: "";
    width: 52px;
    height: 8px;
    flex: 0 0 auto;
    background:
        radial-gradient(circle 4px, var(--dot1, #CBD5E1) 98%, transparent) 0 0 / 8px 8px no-repeat,
        radial-gradient(circle 4px, var(--dot2, #CBD5E1) 98%, transparent) 14.6px 0 / 8px 8px no-repeat,
        radial-gradient(circle 4px, var(--dot3, #CBD5E1) 98%, transparent) 29.3px 0 / 8px 8px no-repeat,
        radial-gradient(circle 4px, var(--dot4, #CBD5E1) 98%, transparent) 44px 0 / 8px 8px no-repeat;
}

.try-progress li[data-step="0"] { --dot1: var(--blue); }
.try-progress li[data-step="1"] { --dot1: var(--green); --dot2: var(--blue); }
.try-progress li[data-step="2"] { --dot1: var(--green); --dot2: var(--green); --dot3: var(--blue); }
.try-progress li[data-step="3"] { --dot1: var(--green); --dot2: var(--green); --dot3: var(--green); --dot4: var(--green); }

@media (max-width: 900px) {
    .try-section {
        min-height: 0;
        padding: 56px 0;
    }

    .try-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .try-label {
        margin-top: 24px;
    }

    /* Celular: 3 blocos lado a lado (emoji em cima, nome embaixo) */
    .try-tabs .pdvd-tabs {
        flex-direction: row;
        gap: 8px;
    }

    .try-tabs .pdvd-tab {
        flex: 1 1 0;
        min-width: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 10px 6px;
        text-align: center;
    }

    .try-tabs .pdvd-tab-emoji {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }

    .try-tabs .pdvd-tab-full {
        font-size: .85rem;
    }

    .try-tabs .pdvd-tab-hint,
    .try-tabs .pdvd-tab.is-active::after,
    .try-copy .btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .try-tabs .pdvd-tab-full {
        display: none;
    }

    .try-tabs .pdvd-tab-short {
        display: block;
        font-size: .82rem;
        font-weight: 600;
    }
}




/* ---------- CTA final: faixa sólida no azul da marca, de ponta a ponta ---------- */
.final-cta {
    padding: 88px 0;
    background: var(--blue);
}

.final-cta-inner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    color: rgba(255, 255, 255, .85);
}

.final-cta .btn-primary {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 1px 2px rgba(11, 18, 32, .15);
}

.final-cta .btn-primary:hover {
    background: #EAF1FF;
}

.final-cta .btn-ghost {
    border-color: rgba(255, 255, 255, .55);
    background: transparent;
    color: #fff;
}

.final-cta .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 640px) {
    .final-cta {
        padding: 64px 0;
    }

    .vvideo {
        box-shadow: 14px 14px 0 0 #D9E5FC, 0 24px 48px -24px rgba(11, 18, 32, .4);
    }
}


/* ---------- Topo: composição em palco + cartões de status ---------- */
.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header));
    padding: 32px 0;
}

.hero > .container {
    width: 100%;
}

.hero-grid {
    gap: 40px;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

/* Palco: painel azul claro que vaza até a borda direita, atrás da maquininha */
.hero-stage {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    padding: 44px 0;
}

.hero-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 4%;
    right: -100vw;
    border-radius: 32px 0 0 32px;
    background: var(--stage);
}

/* Cartões de status (substituem o selo solto do cronômetro) */
.hero-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 18px 36px -16px rgba(11, 18, 32, .28);
    white-space: nowrap;
    transition: opacity .35s ease, transform .35s ease;
}

.hero-card-status {
    top: 42%;
    right: 86%;
}

.hero-card-done {
    top: 70%;
    left: 86%;
    opacity: 0;
    transform: translateY(8px);
}

.hero-card-done.is-visible {
    opacity: 1;
    transform: none;
}

.hero-card-icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--blue-50);
    color: var(--blue);
}

.hero-card-icon svg {
    width: 18px;
    height: 18px;
}

.hero-card-status .hero-card-icon svg {
    display: none;
}

.hero-card-live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 0 rgba(37, 117, 252, .45);
    animation: hero-live 1.6s ease-out infinite;
}

@keyframes hero-live {
    to {
        box-shadow: 0 0 0 9px rgba(37, 117, 252, 0);
    }
}

.hero-card-status.is-approved .hero-card-icon,
.hero-card-icon.is-ok {
    background: #E6F9EF;
    color: var(--green-600);
}

.hero-card-status.is-approved .hero-card-live {
    display: none;
}

.hero-card-status.is-approved .hero-card-icon svg {
    display: block;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hero-card-text strong {
    color: var(--ink);
    font-size: .9rem;
    font-weight: 650;
}

.hero-card-text small {
    color: var(--muted);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
}

.hero-card-status.is-approved .hero-card-timer,
.hero-card-status:not(.is-approved) .hero-card-amount {
    display: none;
}

@media (max-width: 1080px) {
    .hero {
        min-height: 0;
    }

    .hero-stage::before {
        left: -100vw;
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    .hero-card {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-card-live {
        animation: none;
    }
}

/* Termos que não podem quebrar no hífen (ex.: NFS-e) */
.nw {
    white-space: nowrap;
}

/* ---------- Menu do celular/tablet: painel próprio, separado da página ---------- */
.site-header:has(.mobile-nav.active) {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--line);
}

body:has(.mobile-nav.active) {
    overflow: hidden;
}

.mobile-nav.active {
    background: var(--bg-soft);
}

.mobile-nav a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .3s ease, border-color .2s, background-color .2s;
}

.mobile-nav.active a:not(.btn) {
    opacity: 1;
    transform: none;
}

.mobile-nav a:not(.btn):active,
.mobile-nav a:not(.btn):hover {
    border-color: #BFD3FB;
    background-color: #F7FAFF;
}

.mobile-nav.active a:not(.btn):nth-child(1) {
    transition-delay: 70ms;
}

.mobile-nav.active a:not(.btn):nth-child(2) {
    transition-delay: 100ms;
}

.mobile-nav.active a:not(.btn):nth-child(3) {
    transition-delay: 130ms;
}

.mobile-nav.active a:not(.btn):nth-child(4) {
    transition-delay: 160ms;
}

.mobile-nav.active a:not(.btn):nth-child(5) {
    transition-delay: 190ms;
}

.mobile-nav.active a:not(.btn):nth-child(6) {
    transition-delay: 220ms;
}

.mobile-nav.active a:not(.btn):nth-child(7) {
    transition-delay: 250ms;
}

.mobile-nav.active a:not(.btn):nth-child(8) {
    transition-delay: 280ms;
}

.mobile-nav.active a:not(.btn):nth-child(9) {
    transition-delay: 310ms;
}

/* Menu aberto: o ícone vira X (como na home) */
.menu-toggle[aria-expanded="true"] svg {
    display: none;
}

.menu-toggle[aria-expanded="true"]::before {
    content: "";
    width: 22px;
    height: 22px;
    background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

/* Topo: botões logo depois do subtítulo (sem a lista de passos) */
.hero-lead + .hero-actions {
    margin-top: 32px;
}

/* Selo do topo da maquininha: miniaturas das marcas compatíveis */
.pos-seal {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 10px 18px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.3;
    transition: border-color .2s;
}

.pos-seal:hover {
    border-color: #BFD3FB;
}

.pos-seal small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
}

.pos-seal-devices {
    display: flex;
    flex: none;
    align-items: flex-end;
}

.pos-seal-devices img {
    width: auto;
    height: 38px;
    margin-left: -4px;
    filter: drop-shadow(0 2px 3px rgba(11, 18, 32, .18));
}

.pos-seal-devices img:first-child {
    margin-left: 0;
}

@media (max-width: 1080px) {
    .pos-seal {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .pos-seal-devices img:nth-child(n+5) {
        display: none;
    }
}

/* Dúvidas: frase e atalho para o WhatsApp embaixo do título (a coluna não fica vazia) */
.faq-intro {
    position: sticky;
    top: calc(var(--header) + 32px);
}

.faq-intro h2 {
    max-width: 12ch;
}

.faq-intro p {
    max-width: 22rem;
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

.faq-help {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 10px 16px 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    transition: border-color .2s, background-color .2s;
}

.faq-help svg {
    flex: none;
    color: #1FAA59;
}

.faq-help:hover {
    border-color: #A7E3C1;
    background: #F3FBF6;
}

@media (max-width: 900px) {
    .faq-intro {
        position: static;
    }
}
