@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-latin.woff2") format("woff2");
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #1a4f84;
    --blue-deep: #0c2c4c;
    --blue-ink: #07192b;
    --blue-mid: #1f6aa5;
    --line: #d5dee8;
    --paper: #f4f7fb;
    --paper-2: #e7eef5;
    --white: #ffffff;
    --text: #172333;
    --muted: #526276;
    --danger: #8d2b2b;
    --ok: #0d6b4d;
    --shadow: 0 18px 40px rgba(12, 44, 76, 0.08);
    --header: 74px;
    --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--blue-ink); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.skip {
    position: absolute; left: 1rem; top: -4rem; background: var(--blue-ink); color: white;
    padding: .6rem 1rem; z-index: 10000;
}
.skip:focus { top: 1rem; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 2.4rem)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; }

.topbar { background: var(--blue-ink); color: #d5e4f2; font-size: .92rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.topbar a { color: #eef5fb; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(7,25,43,.05); }
.header-inner { display: flex; align-items: center; gap: .8rem 1rem; min-height: var(--header); padding-top: .4rem; padding-bottom: .35rem; }
.nav-list a, .has-sub > button { white-space: nowrap; }
.brand { display: block; width: 173px; height: 31px; overflow: hidden; margin-right: auto; flex: none; }
.brand img { width: 176px; max-width: none; height: auto; margin: -41px 0 0 -2px; }
.header-cta { display: flex; gap: .65rem; padding-block: .2rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); width: 46px; height: 42px; border-radius: 8px; }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
    display: block; height: 2px; width: 18px; background: var(--blue-ink); position: relative; margin: 0 auto;
}
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-list a, .has-sub > button {
    color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
    padding: .7rem .55rem; font-size: .94rem; font-weight: 500;
}
.nav-list a:hover, .has-sub > button:hover, .nav-list a[aria-current="page"] { color: var(--blue); }
.has-sub { position: relative; }
.subnav {
    display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
    background: white; border: 1px solid var(--line); padding: .4rem; list-style: none;
    box-shadow: var(--shadow);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.open .subnav { display: block; }
.subnav a { display: block; padding: .55rem .7rem; }
.nav-cta { display: none; }
@media (min-width: 1101px) {
    .header-inner { flex-wrap: wrap; align-items: center; padding-top: .55rem; padding-bottom: .35rem; }
    .site-nav { order: 3; flex: 1 0 100%; padding-top: .2rem; }
    .nav-list { width: 100%; gap: .2rem; padding-bottom: .25rem; }
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 46px; padding: .7rem 1.05rem; border-radius: 8px; text-decoration: none;
    border: 1px solid transparent; font-weight: 600; cursor: pointer; letter-spacing: .01em;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-deep); color: white; }
.btn-line { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: white; }
.btn-ghost { background: transparent; color: var(--blue-deep); }
.btn-light { background: white; color: var(--blue-deep); }
.btn-light:hover { background: var(--paper); color: var(--blue-deep); }
.btn[disabled] { opacity: .65; cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
    .btn:hover { transform: translateY(-1px); }
}

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 3.2rem 0 2rem; }
.kicker { color: var(--blue); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }
.hero h1, .page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); margin: 0 0 1rem; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-visual { position: relative; overflow: visible; }
.hero-visual > img { width: 100%; height: 560px; object-fit: cover; border-radius: 18px; }
.hero-phone {
    position: absolute;
    left: 4%;
    right: auto;
    top: 50%;
    bottom: auto;
    width: min(340px, 58%);
    display: flex;
    justify-content: flex-start;
    transform: translateY(-50%);
    filter: drop-shadow(0 18px 30px rgba(7, 25, 43, .18));
    pointer-events: none;
}

.band { background: var(--paper); border-block: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { padding: 1.4rem 1.2rem; border-right: 1px solid var(--line); }
.band-item:last-child { border-right: 0; }
.band-item span { display: block; color: var(--blue); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.band-item strong { display: block; margin-top: .35rem; font-size: 1.12rem; font-weight: 600; }
.band-item a { color: inherit; text-decoration: none; }

.section { padding: 5rem 0; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section h2, .split h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 0 0 .8rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img:not(.app-shot), .frame img { width: 100%; border-radius: 16px; object-fit: cover; }
.split img:not(.app-shot) { height: 460px; }
.principles { list-style: none; margin-top: 1.5rem; }
.principles li { padding: .9rem 0; border-top: 1px solid var(--line); }
.principles strong { display: block; }

.product-index { display: grid; gap: 0; border-top: 1px solid var(--line); }
.product-row {
    display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.5rem; align-items: center;
    padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.product-row:hover { color: var(--blue); }
.product-row em { font-style: normal; color: var(--blue); font-weight: 650; }
.product-row p { margin: .25rem 0 0; color: var(--muted); }

.navy { background: var(--blue-ink); color: #e7eef6; }
.navy h1, .navy h2, .navy h3 { color: white; }
.navy a { color: #d7e7f6; }
.liquidante { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.code-block { border: 1px solid rgba(255,255,255,.18); padding: 1.6rem; }
.code-block p { margin: 0; }
.code-num { font-family: var(--serif); font-size: clamp(5rem, 10vw, 8rem); line-height: .9; color: white; margin: .2rem 0; }
.code-note { color: #b7c9da; margin-top: .6rem; }
.brands-diff { display: flex; gap: 1rem; align-items: center; margin: 1.2rem 0; }
.brand-pill, .partner-pill { border: 1px solid rgba(255,255,255,.25); padding: .8rem 1rem; min-width: 140px; }
.partner-pill strong, .brand-pill strong { display: block; color: white; }
.vs { color: #9fb4c8; font-size: .85rem; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.panel { background: var(--paper); padding: 1.5rem; border-radius: 14px; }
.panel h3 { margin-top: 0; font-size: 1.6rem; }
.check { list-style: none; }
.check li { padding-left: 1.2rem; position: relative; margin: .45rem 0; }
.check li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: .55rem; }

.page-hero { padding: 3.2rem 0 1rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: end; }
.page-hero img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.narrow { width: min(820px, 100%); }

.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.qr-card { display: flex; gap: 1rem; align-items: center; background: white; color: var(--text); padding: 1rem; border-radius: 12px; margin-top: 1.2rem; width: fit-content; }
.qr-card img { width: 116px; height: 116px; }
.phones { display: flex; gap: 1rem; justify-content: center; align-items: flex-end; }
.app-shot { width: min(340px, 100%); height: auto; max-height: none; margin-inline: auto; display: block; object-fit: contain; border-radius: 0; filter: drop-shadow(0 18px 30px rgba(7, 25, 43, .18)); }
.hero-phone .app-shot {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
    filter: none;
}
.device { width: 230px; background: #101820; border-radius: 28px; padding: 10px; color: white; box-shadow: var(--shadow); }
.device-screen { background: white; color: var(--text); border-radius: 20px; overflow: hidden; min-height: 390px; }
.device-demo { margin: 0; background: #e8f1fa; color: var(--blue-deep); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .45rem .8rem; font-weight: 700; }
.device-balance { background: var(--blue); color: white; padding: 1rem .9rem 1.1rem; }
.device-balance span, .device-balance small { display: block; opacity: .9; font-size: .8rem; }
.device-balance strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.device-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; padding: .8rem; }
.device-shortcuts span { background: var(--paper); border-radius: 8px; text-align: center; padding: .7rem .3rem; font-weight: 650; font-size: .9rem; }
.device-list-title, .device-note { padding: 0 .9rem; font-size: .85rem; color: var(--muted); }
.device-list { list-style: none; padding: 0 .9rem .9rem; }
.device-list li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: .55rem 0; font-size: .92rem; }
.device-field { margin: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; padding: .75rem; color: var(--muted); font-size: .92rem; }
.device-pix .device-screen { padding-bottom: 1rem; }

.split-demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 1rem; }
.split-node { border: 1px solid var(--line); padding: 1rem; border-radius: 12px; background: white; }
.split-node strong { display: block; }

.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; }
.faq-cats { list-style: none; position: sticky; top: 96px; }
.faq-cats button, .faq-search { width: 100%; text-align: left; background: white; border: 1px solid var(--line); padding: .65rem .75rem; margin-bottom: .4rem; border-radius: 8px; cursor: pointer; }
.faq-cats button[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; text-align: left; background: none; border: 0; padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 620; color: var(--blue-ink); }
.faq-item dd { margin: 0; padding: 0 0 1rem; color: var(--muted); display: none; }
.faq-item.open dd { display: block; }
.faq-item[hidden] { display: none; }

.form { display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
label span { display: block; font-weight: 620; margin-bottom: .3rem; }
input, select, textarea {
    width: 100%; border: 1px solid #c5d1de; border-radius: 8px; padding: .75rem .8rem; background: white; color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; }
.consent input { width: auto; margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .9rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.alert-ok { background: #e7f6ef; color: var(--ok); }
.alert-err { background: #fdecec; color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin: .25rem 0 0; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0 2rem; }
.help-grid a { text-decoration: none; color: var(--blue-ink); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; display: block; }
.help-grid a:hover { border-color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
.fact-list { list-style: none; }
.fact-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.5rem; }
.site-footer h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-lead, .footer-legal, .footer-facts { color: var(--muted); font-size: .95rem; }
.brand-footer { background: white; width: calc(173px + 1.2rem); height: calc(31px + .9rem); padding: .45rem .6rem; border-radius: 10px; margin: 0 0 .8rem; }
.footer-seal { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.footer-seal p { margin: 0; color: var(--muted); font-size: .95rem; }
.asaas-seal { display: inline-flex; background: #fff; border-radius: 8px; line-height: 0; padding: .35rem .5rem; margin: .8rem 0; }
.asaas-seal img { width: 188px; height: 69px; }
.footer-base { border-top: 1px solid var(--line); margin-top: 1.4rem; padding: 1.2rem 0 1.6rem; color: var(--muted); font-size: .92rem; }

.cookie[hidden] { display: none; }
.cookie { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 70; }
.cookie-panel { background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 1rem 1.1rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.cookie h2 { font-family: var(--sans); font-size: 1rem; margin: 0 0 .25rem; }
.cookie p { margin: 0; color: var(--muted); font-size: .95rem; }
.cookie-actions { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }
.cookie-link { font-size: .92rem; }

.wa-float {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 60;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(18, 140, 70, .32);
    text-decoration: none;
}
.wa-float:hover { background: #1ebe5d; color: #fff; }
.wa-float svg { display: block; }
@media print { .wa-float { display: none; } }

.steps { counter-reset: step; list-style: none; }
.steps li { counter-increment: step; padding: .8rem 0 .8rem 3rem; position: relative; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .75rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper-2); color: var(--blue); display: grid; place-items: center; font-weight: 700; }

.doc-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--blue-ink); font-weight: 600; }

.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
    .btn, .btn:hover { transition: none; transform: none; }
}

@media (max-width: 1100px) {
    .header-cta { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: white; border-bottom: 1px solid var(--line); padding: .5rem 1.2rem 1.2rem;
        max-height: calc(100vh - 120px); overflow: auto;
    }
    .site-nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .subnav { position: static; display: none; box-shadow: none; border: 0; padding-left: .6rem; }
    .has-sub.open .subnav { display: block; }
    .nav-cta { display: grid; gap: .5rem; margin-top: .8rem; }
    .hero, .split, .liquidante, .page-hero, .app-grid, .faq-layout, .contact-grid, .footer-grid, .two { grid-template-columns: 1fr; }
    .band-grid, .help-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual > img, .split img:not(.app-shot), .page-hero img:not(.app-shot) { height: 320px; }
    .hero-phone { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; margin-top: 1.2rem; transform: none; }
    .hero-phone .app-shot { width: min(300px, 86%); margin-left: 0; margin-right: auto; }
    .product-row { grid-template-columns: 1fr; gap: .3rem; }
    .faq-cats { position: static; }
}
@media (max-width: 720px) {
    .topbar-inner, .form-row, .band-grid, .help-grid, .cookie-panel, .split-demo, .footer-seal { grid-template-columns: 1fr; display: grid; }
    .topbar-inner { display: grid; }
    .cookie-actions { flex-wrap: wrap; }
    .phones { flex-direction: column; align-items: center; }
    .header-inner { min-height: 64px; }
    .brand { width: 141px; height: 25px; }
    .brand img { width: 142px; margin: -33px 0 0 -1px; }
    .brand-footer { width: calc(141px + 1.2rem); height: calc(25px + .9rem); }
}
