/* ==========================================================
   Leeve Sistemas - Home
   Estilos da página inicial. css/style.css segue atendendo
   as demais páginas (política, sistema-para-pequenos-negocios, lp).
   ========================================================== */

@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.5rem, 5vw, 4rem);
    letter-spacing: -.035em;
    line-height: 1.04;
}

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

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

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

/* ---------- 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, box-shadow .2s;
}

.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_block {
    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_ghost svg {
    color: #25D366;
}

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

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

.btn_whats {
    background: #25D366;
    color: #fff;
}

.btn_link {
    padding: 8px 10px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 600;
}

.btn_link:hover {
    color: var(--ink);
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header);
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.header.scrolled {
    border-bottom-color: var(--line);
}

.header_inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.logo img {
    width: 118px;
    height: auto;
}

.nav_desktop {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

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

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

.header_ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.menu_toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0 10px;
}

.menu_toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s, opacity .2s;
}

.menu_toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu_toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu_toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* O header tem backdrop-filter, que vira o bloco de referência do position:fixed.
   Por isso o menu mede a altura da tela direto, em vez de usar bottom:0. */
.nav_mobile {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header));
    height: calc(100dvh - var(--header));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px 32px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}

.nav_mobile.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav_mobile nav {
    display: flex;
    flex-direction: column;
}



.nav_mobile .btn {
    margin-top: 24px;
    height: 52px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 56px 0 72px;
    background: #fff;
}

.hero_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 52px;
}

.hero_copy h1 {
    font-size: clamp(2.4rem, 3.6vw, 3.15rem);
    text-wrap: balance;
}

.hero_copy h1 span {
    display: inline-block;
}

.hero_lead {
    max-width: 30rem;
    margin-top: 22px;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text);
}

.hero_ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero_notes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: .9rem;
}

.hero_notes li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero_notes li::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background: no-repeat center / contain 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.hero_demo {
    position: relative;
    min-width: 0;
}

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

.hero .pdvd-steps li {
    color: var(--muted);
}

/* ---------- Faixa ---------- */
.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.strip_inner {
    padding-top: 26px;
    padding-bottom: 26px;
}

.strip_stats {
    display: flex;
    justify-content: center;
}

.strip_stats div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 0 48px;
    white-space: nowrap;
}

.strip_stats div + div {
    border-left: 1px solid var(--line);
}

.strip_stats dt {
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.strip_stats dd {
    color: var(--muted);
    font-size: .95rem;
}

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

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

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

.section_head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section_head > p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.08rem;
}

.section_head_left {
    margin: 0;
    text-align: left;
}

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

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

.checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--text);
}

.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");
}

/* ---------- PDV na maquininha ---------- */
.pos_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.pos_copy .checklist {
    margin-top: 24px;
    font-size: 1.08rem;
}

.pos_ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.pos_price {
    color: var(--muted);
    font-size: .95rem;
}

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

.pos_demo {
    position: relative;
    /* 300/770 = proporção da cena: limita também pela altura da tela */
    max-width: min(270px, calc((100vh - 190px) * .3896));
    width: 100%;
    margin: 0 auto;
}

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

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



/* ---------- Cabeçalho dividido (título à esquerda, apoio à direita) ---------- */
.split_head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 40px;
}

.split_head p {
    max-width: 36rem;
    justify-self: end;
    color: var(--muted);
    font-size: 1.08rem;
}

/* ---------- 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: 18ch;
}

.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;
}

/* ---------- Preços ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 16px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.plan_featured {
    border: 2px solid var(--blue);
    box-shadow: 0 24px 50px -24px rgba(37, 117, 252, .45);
}

.plan_badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: .78rem;
    font-weight: 650;
}

.plan_price {
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 16px 0 24px;
    color: var(--ink);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

.plan_price span {
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: 0;
    margin-right: 4px;
}

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

.plan .checklist {
    flex: 1;
    margin-bottom: 28px;
}

.plan_extra {
    margin-top: 28px;
    color: var(--muted);
    text-align: center;
}

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

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

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

.faq_list {
    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::after, .faq_question::before {
    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 ---------- */
.cta_final {
    padding: 0 0 104px;
}

.cta_final_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);
}

.cta_final p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 1.08rem;
}

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

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

.footer_grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
}

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

.footer_brand p {
    max-width: 18rem;
    color: var(--muted);
}

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

.footer_col h3 {
    margin-bottom: 4px;
    color: var(--ink);
    font-size: .88rem;
    letter-spacing: 0;
    line-height: 1.4;
}

.footer_col a {
    color: var(--muted);
    transition: color .2s;
}

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

.footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

.footer_social {
    display: flex;
    gap: 8px;
}

.footer_social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    transition: border-color .2s, color .2s;
}

.footer_social a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ---------- Modal de saída ---------- */
.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 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 {
    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;
}

/* ---------- CTA fixo no celular ---------- */
.sticky_cta_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_cta_mobile.visible {
    transform: none;
}

.sticky_cta_mobile .btn {
    flex: 1;
    height: 48px;
}

/* ---------- Animação de entrada ---------- */
[data-animation] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-animation].animate {
    opacity: 1;
    transform: none;
}

[data-delay="1"] {
    transition-delay: .08s;
}

[data-delay="2"] {
    transition-delay: .16s;
}

[data-delay="3"] {
    transition-delay: .24s;
}

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

    [data-animation] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
    .nav_desktop {
        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: flex;
        margin-left: 6px;
    }

    /* Uma coluna: texto centralizado e simulador logo abaixo, também centralizado */
    .hero {
        padding: 40px 0 56px;
    }

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

    .hero_copy {
        max-width: 680px;
        margin: 0 auto;
        text-align: center;
    }

    .hero_copy h1 {
        font-size: clamp(2.2rem, 6vw, 3.2rem);
    }

    .hero_lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero_ctas,
    .hero_notes {
        justify-content: center;
    }

    .hero_demo {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }

    .hero_demo .pdvd-tabs {
        display: flex;
        width: max-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {


    .testimonial, .pos_grid, .faq_layout, .split_head {
        grid-template-columns: 1fr;
    }

    .testimonial {
        gap: 40px;
    }

    .vvideo {
        max-width: 340px;
    }

    .split_head {
        gap: 12px;
    }

    .split_head p {
        justify-self: start;
    }

    .pos_copy {
        order: -1;
    }

    .cta_final_inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pos_grid {
        gap: 48px;
    }

    .pricing {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .faq_layout {
        gap: 32px;
    }

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

    .footer_brand {
        grid-column: 1 / -1;
    }
}

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

    .menu_toggle {
        margin-left: auto;
    }

    .sticky_cta_mobile {
        display: flex;
    }

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

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

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 36px 0 56px;
    }

    .hero_lead {
        font-size: 1.05rem;
    }

    .hero_ctas .btn {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .section_head {
        margin-bottom: 36px;
    }

    .strip_stats div {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0 14px;
    }

    .strip_stats dt {
        font-size: 1.25rem;
    }

    .strip_stats dd {
        font-size: .8rem;
    }

    .vvideo {
        margin: 0 auto;
    }

    .cta_final {
        padding-bottom: 72px;
    }

    .cta_final_inner {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .cta_final_actions .btn {
        width: 100%;
    }

    .footer_bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* Simulador interativo: passos proporcionais ao tamanho da demo */
@media (min-width: 561px) {
    #teste-agora .pdvd-steps li {
        font-size: .95rem;
    }

    #teste-agora .pdvd-steps li span {
        width: 26px;
        height: 26px;
        font-size: .8rem;
    }
}

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

.cta_final_actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

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

/* Faixa de números: cabe em qualquer largura */
@media (max-width: 900px) {
    .strip_stats div {
        padding: 0 24px;
    }
}

@media (max-width: 640px) {
    .strip_stats div {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 6px;
        white-space: normal;
        text-align: center;
    }
}

.footer_brand p {
    text-wrap-style: balance;
}

@media (max-width: 400px) {
    .strip_stats dd {
        font-size: .72rem;
    }
}

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


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

.cta_final_inner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.cta_final h2 {
    color: #fff;
}

.cta_final p {
    color: rgba(255, 255, 255, .85);
}

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

.cta_final .btn_primary:hover {
    background: #EAF1FF;
}

.cta_final .btn_ghost {
    border-color: rgba(255, 255, 255, .55);
    background: transparent;
    color: #fff;
}

.cta_final .btn_ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

/* Palco do topo em uma coluna (tablet/celular): faixa de ponta a ponta atrás do PDV */
@media (max-width: 1080px) {
    .hero_demo::before {
        top: -28px;
        bottom: -28px;
        left: -100vw;
        right: -100vw;
        border-radius: 0;
    }
}

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

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


/* ---------- Maquininha comandada pela rolagem (desktop) ---------- */
.scrolly {
    position: relative;
    background: #fff;
}

/* Sem o efeito (celular / menos movimento): seção normal */
.scrolly_sticky {
    overflow: hidden;
    padding: 104px 0;
}

/* Com o efeito: a seção fica alta e o conteúdo fixo enquanto a rolagem conta a venda */
.scrolly.is-scrolly {
    height: 320vh;
}

.scrolly.is-scrolly .scrolly_sticky {
    position: sticky;
    top: var(--header);
    display: flex;
    align-items: center;
    height: calc(100vh - var(--header));
    padding: 0;
}

.scrolly .pos_grid {
    width: 100%;
}

.scrolly_steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0 34px;
    padding-left: 26px;
}

/* Trilho e preenchimento do progresso (acompanha a rolagem) */
.scrolly_steps::before,
.scrolly_steps::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 2px;
    border-radius: 2px;
}

.scrolly_steps::before {
    bottom: 6px;
    background: var(--line);
}

.scrolly_steps::after {
    height: calc((100% - 12px) * var(--scrolly-progress, 0));
    background: var(--blue);
}

.scrolly_steps li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: .4;
    transition: opacity .35s ease;
}

.scrolly_steps li.is-active,
.scrolly_steps li.is-done {
    opacity: 1;
}

.scrolly_steps li.is-done strong {
    color: var(--text);
}

.scrolly_steps strong {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 650;
    letter-spacing: -.01em;
}

.scrolly_steps span {
    color: var(--muted);
    font-size: .95rem;
}

/* Sem o efeito: passos sempre legíveis e sem a barra de progresso */
.scrolly:not(.is-scrolly) .scrolly_steps li {
    opacity: 1;
}

.scrolly:not(.is-scrolly) .scrolly_steps::after {
    display: none;
}

@media (max-width: 640px) {
    .scrolly_sticky {
        padding: 72px 0;
    }
}


@media (max-width: 900px) {
    .pos_stage::before {
        right: -100vw;
        border-radius: 0;
    }
}

/* O palco da maquininha vaza para a esquerda: entra vindo da esquerda (css/motion.css) */
.pos_stage {
    --panel-from: -96px;
}

/* ---------- Leeve NFS-e: chamada para a nota de serviço ---------- */
.nfse_band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 56px;
    padding: 56px 64px;
    border-radius: 32px;
    background: var(--stage);
}

.nfse_copy h2 {
    max-width: 15ch;
}

.nfse_lead {
    max-width: 34rem;
    margin: 16px 0 24px;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.55;
}

.nfse_points {
    margin-bottom: 30px;
}

.nfse_ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.nfse_price {
    color: var(--muted);
}

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

.nfse_visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 320px;
}

.nfse_visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 30px 60px -28px rgba(11, 18, 32, .45);
}

.nfse_zap {
    position: absolute;
    left: -48px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 36px -16px rgba(11, 18, 32, .3);
    white-space: nowrap;
}

.nfse_zap_icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #1FAA59;
    color: #fff;
}

.nfse_zap_icon svg {
    width: 18px;
    height: 18px;
}

.nfse_zap strong {
    display: block;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 650;
}

.nfse_zap small {
    color: var(--muted);
    font-size: .8rem;
}

@media (max-width: 900px) {
    .nfse_band {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 40px 28px;
    }

    .nfse_visual {
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    #nfse .container {
        padding: 0 12px;
    }

    .nfse_band {
        padding: 32px 20px 40px;
    }

    .nfse_zap {
        left: -12px;
        bottom: -20px;
    }
}

/* 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 ---------- */
.header:has(.nav_mobile.active) {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--line);
}

body:has(.nav_mobile.active) {
    overflow: hidden;
}

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

.nav_mobile 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;
}

.nav_mobile.active a:not(.btn) {
    opacity: 1;
    transform: none;
}

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

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

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

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

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

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

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

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

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

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

/* 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;
    }
}
