/* ==========================================================================
   SimpliCaixa — Landing page
   CSS puro, sem dependências. Tokens extraídos do sistema (update.css / open.blade.php)
   ========================================================================== */

:root {
    --brand:        #1D9E75;
    --brand-dark:   #0F6E56;
    --brand-deep:   #0b5a46;
    --brand-light:  #5DCAA5;
    --brand-tint:   #E8F6F1;
    --ink:          #1a1a2e;
    --ink-2:        #232342;
    --sand:         #e8d5b7;
    --accent:       #6366f1;

    --bg:           #ffffff;
    --bg-soft:      #f8fafc;
    --bg-mute:      #f0f2f5;
    --text:         #1f2937;
    --text-soft:    #4b5563;
    --line:         #e5e7eb;

    --danger:       #ef4444;
    --warning:      #f59e0b;
    --info:         #3b82f6;

    --radius:       14px;
    --radius-sm:    8px;
    --radius-lg:    24px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
    --shadow-md:    0 10px 20px -3px rgba(0,0,0,.10), 0 4px 8px -2px rgba(0,0,0,.05);
    --shadow-xl:    0 25px 50px -12px rgba(15,23,42,.28);
    --shadow-brand: 0 8px 24px rgba(29,158,117,.28);

    --font-head:    'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease:         cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-light); color: var(--ink); }

.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); letter-spacing: -.02em; line-height: 1.12; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { margin-top: 16px; color: var(--text-soft); font-size: 1.1rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ---------- botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px; border-radius: 12px; border: 1.5px solid transparent;
    font-family: var(--font-head); font-size: .98rem; font-weight: 600; letter-spacing: -.005em;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ic.go { transform: translateX(3px); }
.btn-primary { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,110,86,.35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfd5de; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; border-radius: 10px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---------- header ---------- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
    transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.header.scrolled {
    background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; display: block; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { padding: 8px 14px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--text-soft); transition: color .2s, background .2s; }
.nav a.link:hover { color: var(--ink); background: rgba(15,23,42,.05); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .login { padding: 8px 14px; font-weight: 600; font-size: .95rem; border-radius: 10px; color: var(--ink); }
.header-cta .login:hover { background: rgba(15,23,42,.05); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--ink); }
.burger .ic { width: 22px; height: 22px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.burger[aria-expanded="true"] .m { display: none; }

@media (max-width: 900px) {
    .burger { display: inline-flex; }
    .nav {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a.link { padding: 14px; font-size: 1.02rem; }
    .header-cta .login { display: none; }
    .nav .nav-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
}
@media (min-width: 901px) { .nav .nav-extra { display: none; } }
.header.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
.brand { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
    .header .container { gap: 10px; }
    .brand { gap: 8px; font-size: 1.08rem; }
    .brand img { width: 34px; height: 34px; }
    .header-cta { gap: 6px; }
    .header-cta .btn-sm { padding: 0 14px; white-space: nowrap; }
    .burger { width: 42px; height: 42px; }
    .so-pre { display: none; }
    .so-nome { display: inline-block; }
    .so-nome::first-letter { text-transform: uppercase; }
}
@media (max-width: 360px) {
    .header .container { gap: 6px; }
    .brand { gap: 6px; font-size: .98rem; }
    .brand img { width: 30px; height: 30px; }
    .header-cta { gap: 4px; }
    .header-cta .btn-sm { padding: 0 10px; font-size: .82rem; }
    .burger { width: 38px; height: 38px; }
}

/* ---------- hero ---------- */
.hero { padding-top: 140px; padding-bottom: clamp(56px, 7vw, 96px); position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 55% at 85% 8%, rgba(93,202,165,.30), transparent 70%),
        radial-gradient(45% 40% at 5% 30%, rgba(99,102,241,.10), transparent 70%),
        linear-gradient(180deg, #f3fbf8 0%, #fff 78%);
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(rgba(26,26,46,.14) 1px, transparent 1.2px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
            mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: .88rem; font-weight: 500; color: var(--text-soft); margin-bottom: 24px;
}
.pill b { background: var(--brand-tint); color: var(--brand-dark); border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: .78rem; font-family: var(--font-head); }
.hero h1 { font-size: clamp(2.3rem, 3.6vw + .8rem, 3.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; position: relative; display: inline-block; white-space: nowrap; color: var(--brand-dark); }
.hero h1 em::after {
    content: ''; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .26em; z-index: -1;
    background: var(--brand-light); opacity: .45; border-radius: 6px; transform: skew(-6deg);
}
.hero .lead { margin-top: 24px; font-size: clamp(1.05rem, .6vw + 1rem, 1.25rem); color: var(--text-soft); max-width: 540px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.hero-note .ic { color: var(--brand); width: 18px; height: 18px; }

.strip { margin-top: clamp(48px, 6vw, 80px); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip li {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
    background: rgba(255,255,255,.75); border: 1px solid var(--line); backdrop-filter: blur(6px);
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink);
}
.strip li .ic { color: var(--brand); width: 22px; height: 22px; }
@media (max-width: 900px) {
    .hero { padding-top: 112px; }
    .hero-grid { grid-template-columns: 1fr; }
    .strip ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .strip ul { grid-template-columns: 1fr; } .hero-cta .btn { width: 100%; } }

/* ---------- mockups ---------- */
.stage { position: relative; }
.win {
    background: #fff; border-radius: 18px; border: 1px solid rgba(15,23,42,.08);
    box-shadow: var(--shadow-xl), 0 0 0 8px rgba(255,255,255,.55);
    overflow: hidden; font-family: var(--font-body); font-size: 13px; color: var(--text); line-height: 1.45;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f3f6; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; }
.win-bar i:nth-child(1) { background: #ff6159; } .win-bar i:nth-child(2) { background: #ffbd2e; } .win-bar i:nth-child(3) { background: #28c940; }
.metric { min-width: 0; }
@media (max-width: 480px) { .metric strong { font-size: 14px; } .metrics { gap: 6px; } .metric { padding: 8px; } }
.win-url { margin-left: 10px; flex: 1; max-width: 300px; background: #fff; border-radius: 7px; padding: 3px 12px; font-size: 11.5px; color: #6b7280; border: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-nav { display: flex; align-items: center; gap: 4px; background: #212529; color: rgba(255,255,255,.55); padding: 0 12px; height: 34px; font-size: 11.5px; overflow: hidden; white-space: nowrap; }
.app-nav b { color: #fff; font-weight: 600; margin-right: 10px; display: inline-flex; align-items: center; gap: 6px; }
.app-nav span { padding: 0 8px; }
.app-nav .on { color: #fff; background: rgba(255,255,255,.1); border-radius: 4px; padding: 3px 8px; }
.app-body { padding: 16px 18px 18px; }
.app-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.app-title h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: #111827; margin: 0; }
.btns { display: flex; gap: 6px; }
.mb { padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 500; border: 1px solid #d9dee5; background: #f8f9fa; color: #343a40; white-space: nowrap; }
.mb.green { color: #198754; border-color: #198754; background: #fff; }
.mb.warn { background: #ffc107; border-color: #ffc107; color: #212529; }
.sale-layout { display: grid; grid-template-columns: minmax(0,1fr) 168px; gap: 14px; align-items: start; }
.sale-head, .sale-row { display: grid; grid-template-columns: minmax(0,1fr) 44px 30px 58px; gap: 6px; align-items: center; }
.sale-sum { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 6px 18px rgba(26,26,46,.10); border: 1px solid #eef0f3; }
.sale-sum small { display: block; font-size: 10.5px; color: #6c757d; }
.sale-sum strong { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1.15; color: #198754; letter-spacing: -.02em; margin-bottom: 8px; white-space: nowrap; }
.mini-lbl { font-size: 10px; color: #6c757d; margin: 6px 0 3px; }
.mini-fld { display: flex; border: 1px solid #ced4da; border-radius: 6px; overflow: hidden; font-size: 11.5px; }
.mini-fld span { flex: 1; padding: 4px 8px; text-align: right; color: #495057; }
.mini-fld b { padding: 4px 8px; font-weight: 600; border-left: 1px solid #ced4da; color: #6c757d; }
.mini-fld b.on { background: #0d6efd; border-color: #0d6efd; color: #fff; }
.mini-go { margin-top: 10px; text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 600; font-size: 11.5px; padding: 7px 6px; border-radius: 8px; }
.sale-head { font-size: 10.5px; font-weight: 700; color: #6c757d; padding-bottom: 6px; }
.sale-head span:not(:first-child), .sale-row .r { text-align: right; }
.sale-row { padding: 3px 0; transition: opacity .35s, transform .35s var(--ease); }
.sale-row .f { border: 1px solid #ced4da; border-radius: 6px; padding: 5px 8px; min-height: 28px; background: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-row .f.dis { background: #e9ecef; color: #6c757d; text-align: right; }
.sale-row .f.ro { background: #f8f9fa; text-align: right; }
.sale-row .f.tot { text-align: right; color: #198754; font-weight: 700; background: #f8f9fa; }
.sale-row.hidden { opacity: 0; transform: translateY(6px); }
.caret::after { content: ''; display: inline-block; width: 1px; height: 13px; margin-left: 1px; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
    box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; color: var(--ink); font-family: var(--font-head);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.chip-float small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--text-soft); font-size: 11.5px; }
.chip-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-dark); }
.chip-float .dot .ic { width: 18px; height: 18px; }
.chip-a { left: -34px; bottom: -62px; animation: float 6s ease-in-out infinite; }
.chip-b { right: -14px; top: -24px; animation: float 7s ease-in-out -2s infinite; }
.chip-float.pop { opacity: 0; transform: translateY(10px) scale(.96); }
.chip-float.pop.show { opacity: 1; transform: none; }
@keyframes float { 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .chip-a { left: -8px; } .chip-b { right: -6px; } }
@media (max-width: 900px) { .stage { margin-bottom: 40px; } .chip-a { left: 8px; } }
@media (max-width: 640px) {
    .chip-float { position: static; margin-top: 12px; animation: none; display: inline-flex; margin-right: 8px; }
    .sale-layout { grid-template-columns: 1fr; }
    .sale-head, .sale-row { grid-template-columns: minmax(0,1fr) 30px 58px; }
    .sale-head span:nth-child(2), .sale-row > :nth-child(2) { display: none; }
    .app-nav span:nth-of-type(n+4) { display: none; }
    .app-body { padding: 12px; }
    .btns .mb:nth-child(-n+2) { display: none; }
}

/* cartões internos de mockup reaproveitados */
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); font-size: 13px; color: var(--text); padding: 16px; line-height: 1.45; }
.mock-card h5 { margin: 0 0 12px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: #111827; }
.mock-cap { margin-top: 14px; font-size: 12px; color: var(--text-soft); text-align: center; }
.dark .mock-cap { color: rgba(255,255,255,.55); }

.pay-total { background: #f8f9fa; border-radius: 12px; padding: 14px; text-align: center; }
.pay-total small { color: #6c757d; font-size: 11.5px; }
.pay-total strong { display: block; font-family: var(--font-head); font-size: 28px; color: #198754; line-height: 1.2; letter-spacing: -.02em; }
.pay-total .sub { font-size: 11.5px; color: #6c757d; margin-top: 2px; }
.pay-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.lbl { font-size: 11.5px; color: #6c757d; margin-bottom: 4px; display: block; }
.fld { border: 1px solid #ced4da; border-radius: 6px; padding: 6px 10px; min-height: 32px; font-size: 12.5px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.seg { display: flex; border: 1px solid #ced4da; border-radius: 6px; overflow: hidden; }
.seg .fld { border: 0; border-radius: 0; flex: 1; justify-content: flex-end; }
.seg b { padding: 0 9px; display: grid; place-items: center; font-size: 12px; font-weight: 500; color: #6c757d; border-left: 1px solid #ced4da; }
.seg b.on { background: #007bff; color: #fff; border-color: #007bff; }
.troco { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e5e7eb; }
.troco .t { text-align: center; font-size: 11.5px; color: #6c757d; margin-bottom: 10px; }
.go-btn { margin-top: 14px; background: #198754; color: #fff; text-align: center; font-weight: 600; border-radius: 8px; padding: 10px; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.go-btn .ic { width: 16px; height: 16px; }

.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.method { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.method .mh { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #374151; font-size: 12.5px; }
.method .mh .ic { width: 18px; height: 18px; }
.method strong { font-family: var(--font-head); font-size: 19px; color: #111827; letter-spacing: -.02em; }
.method span.n { font-size: 11.5px; color: #6b7280; }
.m-din .ic { color: #3B6D11; } .m-deb .ic { color: #185FA5; } .m-cre .ic { color: #854F0B; } .m-pix .ic { color: #0F6E56; }
.close-total { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; background: var(--brand-tint); color: var(--brand-dark); border-radius: 12px; padding: 11px 14px; font-weight: 600; font-size: 13px; }
.close-total strong { font-family: var(--font-head); font-size: 18px; letter-spacing: -.02em; }

.est-card { display: flex; flex-direction: column; gap: 14px; }
.est-prod { display: flex; align-items: center; gap: 14px; }
.thumb { width: 58px; height: 58px; border-radius: 12px; flex: none; background: linear-gradient(135deg, #cfeee3, #9ddac3); display: grid; place-items: center; color: var(--brand-dark); }
.thumb .ic { width: 28px; height: 28px; }
.est-prod h5 { margin: 0; }
.est-prod small { color: #6b7280; font-size: 12px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: #007bff; }
.badge.red { background: #dc3545; } .badge.green { background: #198754; } .badge.gray { background: #6c757d; }
.price-row { display: flex; gap: 8px; flex-wrap: wrap; }
.price { font-size: 11.5px; padding: 4px 10px; border-radius: 8px; background: #f3f4f6; color: #374151; }
.price b { color: #111827; }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl { display: flex; align-items: center; gap: 12px; padding: 7px 0; position: relative; }
.tl .tdot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; z-index: 1; flex: none; }
.tl .tdot.in { background: #198754; } .tl .tdot.out { background: #dc3545; } .tl .tdot.back { background: #6366f1; }
.tl .tx { flex: 1; font-size: 12.5px; color: #374151; }
.tl .tx small { display: block; color: #9ca3af; font-size: 11px; }
.tl .sd { font-family: var(--font-head); font-weight: 700; color: #111827; font-size: 13px; }
.est-now { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 600; color: #374151; }
.est-now strong { font-family: var(--font-head); font-size: 22px; color: var(--brand-dark); }

.sale-detail { display: grid; gap: 12px; margin-top: 16px; }
.venda-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vl-btns { margin-left: auto; display: flex; gap: 6px; }
.vbtn { font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 6px; border: 1px solid; background: #fff; }
.vbtn.info { color: #17a2b8; border-color: #17a2b8; }
.vbtn.red { color: #dc3545; border-color: #dc3545; }
.modal-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.modal-box .mh2 { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: #111827; display: flex; align-items: center; gap: 8px; }
.modal-box table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.modal-box th { text-align: left; background: #f3f4f6; color: #495057; font-weight: 600; padding: 7px 12px; font-size: 11.5px; }
.modal-box td { padding: 8px 12px; border-top: 1px solid var(--line); }
.modal-box .r { text-align: right; }
.lowstock table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lowstock th { text-align: left; background: #f3f4f6; color: #495057; font-weight: 600; padding: 7px 10px; font-size: 11.5px; }
.lowstock th:last-child, .lowstock td:last-child { text-align: center; }
.lowstock td { padding: 7px 10px; border-top: 1px solid var(--line); }
.lowstock tr:nth-child(even) td { background: #fafafa; }

.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-wrap text { font-family: var(--font-body); font-size: 10.5px; fill: #6b7280; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.metric { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.metric small { display: block; color: #6b7280; font-size: 11px; }
.metric strong { white-space: nowrap; font-family: var(--font-head); font-size: 16px; color: #111827; letter-spacing: -.02em; }
.xl-btn { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #198754; color: #198754; border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; }
.xl-btn .ic { width: 16px; height: 16px; }

.refund { border-left: 4px solid #dc3545; }
.refund .rh { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.refund .lines { margin-top: 10px; display: grid; gap: 6px; font-size: 12.5px; color: #4b5563; }
.refund .lines b { color: #111827; }

/* ---------- dor → solução ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
    padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pain:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe9df; }
.pain { display: flex; flex-direction: column; }
.pain .q { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1.3; min-height: 2.6em; }
.pain .arrow { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--brand); }
.pain .arrow::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.pain p { color: var(--text-soft); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } .pain .q { min-height: 0; } }

/* ---------- recursos ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
    position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; overflow: hidden;
}
.feat::after { content: ''; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(var(--brand-tint), transparent 70%); opacity: 0; transition: opacity .4s; }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe9df; }
.feat:hover::after { opacity: 1; }
.feat .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 20px; position: relative; z-index: 1; }
.feat .icon .ic { width: 24px; height: 24px; }
.feat h3, .feat p { position: relative; z-index: 1; }
.feat p { margin-top: 10px; color: var(--text-soft); font-size: .98rem; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #c8d2dc 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: left; display: flex; flex-direction: column; }
.step .num {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: var(--sand); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
    box-shadow: 0 0 0 8px var(--bg-soft);
}
.step h3 { margin-top: 20px; }
.step p { margin-top: 8px; color: var(--text-soft); font-size: .97rem; margin-bottom: 18px; }
.step .mini { margin-top: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 12px; color: var(--text); display: grid; gap: 7px; min-height: 108px; align-content: center; }
.mini .ln { height: 9px; border-radius: 6px; background: #e5e7eb; }
.mini .ln.s { width: 55%; } .mini .ln.m { width: 78%; } .mini .ln.g { background: var(--brand-light); width: 40%; }
.mini .fl { display: flex; align-items: center; gap: 8px; }
.mini .box { flex: 1; border: 1px solid #ced4da; border-radius: 6px; padding: 4px 8px; background: #fff; color: #6b7280; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .okb { background: var(--brand-dark); color: #fff; border-radius: 6px; padding: 5px 10px; font-weight: 600; text-align: center; font-size: 11.5px; }
.mini .tot { background: #1D9E75; color: #fff; border-radius: 6px; padding: 5px 10px; font-weight: 700; text-align: center; }
.mini .bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.mini .bars i { flex: 1; background: var(--brand-light); border-radius: 4px 4px 0 0; }
.mini .bars i:last-child { background: var(--brand-dark); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- seção escura ---------- */
.dark { background: var(--ink); color: rgba(255,255,255,.78); overflow: hidden; isolation: isolate; }
.dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(50% 40% at 85% 0%, rgba(29,158,117,.35), transparent 70%),
        radial-gradient(40% 40% at 0% 100%, rgba(99,102,241,.22), transparent 70%);
}
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--sand); }
.dark .eyebrow::before { background: var(--sand); }
.dark .section-head p { color: rgba(255,255,255,.7); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.duo-col h3 { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.25; }
.duo-col > p { margin-bottom: 22px; }
.refund-wrap { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.refund-wrap h3 { font-size: 1.5rem; line-height: 1.25; }
.refund-wrap p { margin-top: 10px; }
.ticks { margin-top: 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--brand-light); margin-top: 3px; width: 20px; height: 20px; }
.light-ticks .ic { color: var(--brand); }
@media (max-width: 900px) { .duo, .refund-wrap { grid-template-columns: 1fr; } }

/* ---------- estoque / relatórios (2 colunas) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev .split-text { order: 2; }
.split.top { align-items: start; }
.split.top .split-text { position: sticky; top: 120px; }
.split-text h2 { margin-bottom: 16px; }
.split-text > p { color: var(--text-soft); font-size: 1.08rem; }
.split-text .ticks li { color: var(--text); }
.report-list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.report-list li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.report-list .ic { color: var(--brand); width: 16px; height: 16px; }
.stack { display: grid; gap: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } .split.top .split-text { position: static; } }

/* ---------- para quem + equipe ---------- */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin-inline: auto; }
.audience li { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.audience li:hover { transform: translateY(-3px); border-color: var(--brand-light); background: var(--brand-tint); }
.audience-note { text-align: center; margin-top: 24px; color: var(--text-soft); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.team-item .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--ink); color: var(--sand); }
.team-item .icon .ic { width: 22px; height: 22px; }
.team-item p { margin-top: 6px; color: var(--text-soft); font-size: .95rem; }
.team-line { text-align: center; margin-top: 28px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* ---------- preço ---------- */
.pricing { overflow: hidden; isolation: isolate; }
.pricing::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(45% 55% at 82% 50%, rgba(93,202,165,.22), transparent 70%), radial-gradient(35% 45% at 5% 20%, rgba(99,102,241,.07), transparent 70%);
}
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(36px, 7vw, 96px); align-items: center; }
.price-text h2 { margin-bottom: 18px; }
.price-text > p { color: var(--text-soft); font-size: 1.1rem; max-width: 520px; }
.price-text .ticks { margin-top: 26px; }
.price-text .ticks li { color: var(--text); }
.price-card {
    position: relative; border-radius: 28px; padding: 44px 36px 30px; box-shadow: var(--shadow-xl);
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand-light), var(--brand) 45%, var(--accent) 130%) border-box;
}
.price-card h3 { font-size: 1.05rem; color: var(--text-soft); font-weight: 600; }
.price-flag {
    position: absolute; top: -15px; left: 36px; display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-dark); color: #fff; border-radius: 999px; padding: 7px 16px 7px 12px;
    font-family: var(--font-head); font-weight: 600; font-size: .85rem; box-shadow: var(--shadow-brand);
}
.price-flag .ic { width: 17px; height: 17px; }
.price-amount { margin-top: 10px; display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-head); color: var(--ink); line-height: 1; }
.price-amount .cur { font-size: 1.5rem; font-weight: 600; margin-top: 12px; margin-right: 4px; }
.price-amount .val { font-size: clamp(4rem, 8vw, 5.4rem); font-weight: 700; letter-spacing: -.05em; }
.price-amount .cents { font-size: 1.7rem; font-weight: 600; margin-top: 12px; }
.price-amount .per { font-size: 1.1rem; font-weight: 500; color: var(--text-soft); align-self: flex-end; margin-bottom: 10px; margin-left: 4px; }
.price-sub { margin-top: 12px; color: var(--text-soft); font-size: .96rem; }
.price-list { margin: 26px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 13px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--text); }
.price-list .ic { color: var(--brand); margin-top: 3px; width: 19px; height: 19px; }
.btn-block { width: 100%; }
.price-fine { margin-top: 14px; text-align: center; font-size: .88rem; color: var(--text-soft); }
.pay-chips { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: center; gap: 10px; }
.pay-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.pay-chips .ic { width: 18px; height: 18px; color: var(--brand-dark); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .price-card { max-width: 520px; margin-inline: auto; width: 100%; } .price-text { text-align: left; } }
@media (max-width: 480px) { .price-card { padding: 40px 22px 26px; } .price-flag { left: 22px; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #bfe3d6; box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq summary .pm .ic { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--brand-dark); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--text-soft); animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- CTA final ---------- */
.cta-final { padding-block: clamp(32px, 5vw, 72px); }
.cta-box {
    position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
    border-radius: 32px; padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
    background: linear-gradient(135deg, var(--ink) 0%, #14304a 55%, var(--brand-dark) 130%);
}
.cta-box::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
    background: radial-gradient(40% 70% at 90% 0%, rgba(93,202,165,.5), transparent 70%), radial-gradient(35% 60% at 5% 100%, rgba(99,102,241,.4), transparent 70%);
}
.cta-box h2 { color: #fff; max-width: 680px; margin-inline: auto; }
.cta-box p { margin: 16px auto 0; max-width: 520px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.cta-box .hero-cta { justify-content: center; margin-top: 32px; }
@media (max-width: 480px) { .cta-box .btn { width: 100%; } }

/* ---------- rodapé ---------- */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); background: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { margin-top: 14px; color: var(--text-soft); max-width: 320px; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-content: flex-start; max-width: 520px; }
.footer-links a { color: var(--text-soft); font-size: .95rem; font-weight: 500; padding: 4px 0; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-soft); font-size: .88rem; }

/* ---------- reveal ---------- */
.js .draw { stroke-dasharray: 1300; stroke-dashoffset: 1300; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .in .draw { stroke-dashoffset: 0; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .js .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
}
