/* Versão Full (/versao-full) — tokens e escala alinhados a sp-produto.css e às páginas aprovadas */

.sc-pdf:has(.vf-page) {
    --product-navy: #062b4f;
    --product-navy-dark: #041f3a;
    --product-navy-mid: #073b6d;
    --product-blue: #008ef4;
    --product-blue-soft: #eaf6ff;
    --product-ice: #f5faff;
    --product-orange: #ff6b20;
    --product-orange-hover: #ed5712;
    --product-purple: #7259e8;
    --product-text: #062b4f;
    --product-muted: #63778c;
    --product-border: #dce9f4;
    --product-font: Inter, "Segoe UI", "Segoe UI Variable", sans-serif;
    --product-wrap: 1280px;
    --product-gutter: 32px;
    /* Derivados para AA (pendência do DS: --product-blue dá 3,4:1 no branco) */
    --cv-blue-text: #0067b8;
    --cv-neutral-text: #52657a;
    --vf-accent-dark: #9ed6ff;
    --vf-text-dark: rgba(234, 246, 255, 0.86);
    --vf-line-dark: rgba(158, 214, 255, 0.3);
    --vf-green: #0f7a4c;
    --vf-teal: #00758a;
    --cv-shadow-card: 0 16px 34px rgba(6, 43, 79, 0.08);
    --cv-shadow-media: 0 18px 40px rgba(6, 43, 79, 0.08);
    --vf-shadow-dark: 0 28px 48px rgba(2, 16, 34, 0.38);
}

.sc-pdf:has(.vf-page),
.sc-pdf:has(.vf-page) :is(h1, h2, h3, p, a, li, span, button, strong, small, b, dt, dd, label, summary, blockquote, cite, figcaption) {
    font-family: var(--product-font) !important;
}

.vf-page {
    color: var(--product-text);
    background: #fff;
    overflow-x: clip;
}

.vf-page *,
.vf-page *::before,
.vf-page *::after {
    box-sizing: border-box;
}

.vf-page :is(h1, h2, h3, p, ul, ol, dl, blockquote) {
    margin-top: 0;
}

.vf-page :is(h1, h2, h3) {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    color: var(--product-text) !important;
}

.vf-page h2 {
    text-wrap: balance;
    margin-bottom: 12px;
    font-size: clamp(32px, 3.6vw, 40px) !important;
    line-height: 1.12 !important;
}

.vf-page p {
    color: var(--product-muted);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
}

.vf-shell {
    position: relative;
    z-index: 2;
    width: min(calc(100% - (var(--product-gutter) * 2)), var(--product-wrap));
    margin-inline: auto;
}

.vf-page a:focus-visible,
.vf-page button:focus-visible,
.vf-page summary:focus-visible {
    outline: 3px solid rgba(10, 149, 255, 0.45) !important;
    outline-offset: 3px;
}

.vf-eyebrow {
    margin: 0 0 12px;
    color: var(--cv-blue-text);
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Seções escuras */
.vf-hero,
.vf-live-data,
.vf-case,
.vf-final-cta {
    position: relative;
    color: #fff;
}

.vf-hero :is(h1, h2, h3),
.vf-live-data :is(h2, h3),
.vf-case :is(h2, h3),
.vf-final-cta :is(h2, h3) {
    color: #fff !important;
}

.vf-hero p,
.vf-live-data p,
.vf-case p,
.vf-final-cta p {
    color: var(--vf-text-dark);
}

.vf-hero .vf-eyebrow,
.vf-case .vf-eyebrow {
    color: var(--vf-accent-dark);
}

.vf-hero::before,
.vf-live-data::before,
.vf-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    pointer-events: none;
    background-image:
        linear-gradient(30deg, transparent 42%, rgba(158, 214, 255, 0.18) 43%, transparent 44%),
        linear-gradient(150deg, transparent 42%, rgba(158, 214, 255, 0.15) 43%, transparent 44%);
    background-size: 112px 96px;
}

/* Hero */
.vf-hero {
    overflow: hidden;
    padding: calc(var(--sp-hero-nav-h, 78px) + 18px) 0 72px;
    background:
        radial-gradient(circle at 76% 34%, rgba(0, 142, 244, 0.28), transparent 34%),
        linear-gradient(118deg, var(--product-navy-dark) 0%, var(--product-navy) 46%, var(--product-navy-mid) 100%);
}

.vf-orbit {
    position: absolute;
    border: 1px solid rgba(158, 214, 255, 0.16);
    border-radius: 50%;
}

.vf-orbit-one { width: 430px; height: 430px; right: 8%; top: 120px; }
.vf-orbit-two { width: 640px; height: 640px; right: -15%; top: -190px; }

.vf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 36px;
    align-items: center;
}

.vf-breadcrumb ol {
    align-items: center;
}

.vf-breadcrumb a {
    display: inline-block;
    padding: 12px 0;
}

.vf-hero h1 {
    max-width: 14ch;
    margin-bottom: 16px;
    font-size: clamp(34px, 4.4vw, 54px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em;
}

.vf-lead {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: 18px !important;
}

.vf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vf-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 28px 0 0;
    list-style: none;
}

.vf-trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--vf-text-dark);
    font-size: 14px;
    line-height: 1.3;
}

.vf-trust-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--vf-line-dark);
    border-radius: 50%;
    background: rgba(0, 103, 184, 0.55);
    color: #fff;
}

.vf-hero-visual > img {
    display: block;
    width: 100%;
    height: auto;
}

.vf-hero-checks,
.vf-final-cta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--vf-text-dark);
    font-size: 14px;
}

.vf-hero-checks li::before,
.vf-final-cta li::before {
    content: "✓" / "";
    margin-right: 8px;
    color: var(--vf-accent-dark);
    font-weight: 800;
}

/* Dados integrados */
.vf-live-data {
    padding: 72px 0;
    background:
        radial-gradient(circle at 52% 42%, rgba(0, 142, 244, 0.28), transparent 30%),
        linear-gradient(110deg, var(--product-navy-dark), var(--product-navy-mid) 64%, var(--product-navy));
}

.vf-live-grid {
    display: grid;
    grid-template-columns: 0.95fr 0.9fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.vf-live-copy h2 {
    max-width: 16ch;
}

.vf-live-callout {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--vf-line-dark);
    border-radius: 12px;
    background: rgba(4, 31, 58, 0.6);
    color: var(--vf-accent-dark);
    font-weight: 700;
}

.vf-order-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    color: var(--product-text);
    box-shadow: var(--vf-shadow-dark);
}

.vf-order-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--product-border);
    font-size: 17px;
    font-weight: 800;
}

.vf-order-title span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vf-green);
    color: #fff;
}

.vf-order-card dl {
    margin: 0;
    padding: 6px 18px 14px;
    font-size: 14px;
}

.vf-order-card dl > div {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--product-border);
}

.vf-order-card dl > div:last-child {
    border-bottom: 0;
}

.vf-order-card dt {
    color: var(--cv-neutral-text);
}

.vf-order-card dd {
    margin: 0;
    color: var(--product-text);
    font-weight: 600;
}

.vf-outcomes {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vf-outcomes > li {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    border: 1px solid var(--vf-line-dark);
    border-radius: 12px;
    background: rgba(4, 31, 58, 0.55);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.vf-outcomes > li::before {
    content: "";
    position: absolute;
    right: 100%;
    width: 44px;
    height: 2px;
    background: var(--vf-accent-dark);
}

.vf-outcomes span,
.vf-flow-list span,
.vf-feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
}

.vf-outcomes span {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* Tons de ícone: cores sólidas da paleta, com 3:1 ou mais contra o ícone branco */
.vf-tone-blue { background: var(--cv-blue-text); }
.vf-tone-green { background: var(--vf-green); }
.vf-tone-orange { background: var(--product-orange-hover); }
.vf-tone-purple { background: var(--product-purple); }
.vf-tone-teal { background: var(--vf-teal); }

/* Recursos */
#recursos {
    scroll-margin-top: var(--sp-hero-nav-h, 78px);
}

.vf-features {
    padding: 72px 0;
    background: #fff;
}

.vf-section-head {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.vf-section-head p {
    margin-bottom: 0;
}

.vf-section-head-left {
    margin-left: 0;
    text-align: left;
}

.vf-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.vf-feature-card {
    min-width: 0;
}

.vf-screen {
    aspect-ratio: 1.75;
    overflow: hidden;
    padding: 8px 8px 0;
    border: 1px solid var(--product-border);
    border-radius: 16px;
    background: var(--product-ice);
    box-shadow: var(--cv-shadow-media);
}

.vf-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    border-radius: 10px 10px 0 0;
}

.vf-feature-caption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
}

.vf-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.vf-feature-caption h3 {
    margin-bottom: 4px;
    font-size: 18px;
}

.vf-feature-caption p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
}

.vf-extras {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.vf-extras li {
    padding: 20px;
    border: 1px solid var(--product-border);
    border-radius: 16px;
    background: var(--product-ice);
}

.vf-extras strong {
    display: block;
    margin-bottom: 6px;
    color: var(--product-text);
    font-size: 16px;
}

.vf-extras span {
    display: block;
    color: var(--cv-neutral-text);
    font-size: 14px;
    line-height: 1.55;
}

/* Fluxo */
.vf-flow {
    padding: 72px 0;
    background: var(--product-ice);
}

.vf-flow-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.vf-flow-list li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vf-flow-list li:not(:last-child)::after {
    content: "→" / "";
    position: absolute;
    right: -14px;
    top: 18px;
    color: var(--cv-blue-text);
    font-size: 28px;
}

.vf-flow-list span {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    font-size: 24px;
}

.vf-flow-list strong {
    color: var(--product-text);
    font-size: 16px;
}

.vf-flow-list small {
    color: var(--cv-neutral-text);
    font-size: 14px;
}

/* Demonstração */
.vf-demo {
    padding: 72px 0;
    background: #fff;
}

.vf-demo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.vf-demo-copy ul {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.vf-demo-copy li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--product-text);
    font-size: 15px;
}

.vf-demo-copy li span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cv-blue-text);
    color: #fff;
}

.vf-demo-card {
    padding: 28px;
    border: 1px solid var(--product-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--cv-shadow-card);
}

.vf-demo-card h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.vf-demo-card ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.vf-demo-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    color: var(--product-text);
    font-size: 15px;
}

.vf-demo-card li::before {
    content: "✓" / "";
    color: var(--cv-blue-text);
    font-weight: 700;
}

/* Depoimento */
.vf-case {
    padding: 72px 0;
    background: linear-gradient(110deg, var(--product-navy-dark), var(--product-navy-mid) 66%, var(--product-navy));
}

.vf-case-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.vf-case blockquote {
    position: relative;
    margin: 0 !important;
    padding: 24px 24px 20px 64px !important;
    border: 1px solid var(--vf-line-dark);
    border-radius: 16px;
    background: rgba(4, 31, 58, 0.55) !important;
    color: #fff;
    font-size: 18px;
    line-height: 1.55;
    text-align: left !important;
}

.vf-case blockquote::before {
    content: "“" / "" !important;
    display: block !important;
    position: absolute;
    left: 20px;
    top: 10px;
    color: var(--vf-accent-dark);
    font-size: 56px;
    line-height: 1;
}

.vf-case blockquote::after {
    content: none !important;
}

.vf-case cite {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
}

/* Implantação */
.vf-implementation {
    padding: 72px 0;
    background: #fff;
}

.vf-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vf-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vf-steps li:not(:last-child)::after {
    content: "→" / "";
    position: absolute;
    right: -18px;
    color: var(--cv-neutral-text);
}

.vf-steps li > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cv-blue-text);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.vf-steps strong,
.vf-steps small {
    display: block;
}

.vf-steps strong {
    color: var(--product-text);
    font-size: 15px;
}

.vf-steps small {
    color: var(--cv-neutral-text);
    font-size: 13px;
    line-height: 1.35;
}

/* FAQ */
.vf-faq {
    padding: 72px 0;
    background: var(--product-ice);
}

.vf-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    align-items: start;
}

.vf-faq details {
    border: 1px solid var(--product-border);
    border-radius: 12px;
    background: #fff;
}

.vf-faq summary {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 44px 12px 16px;
    border-radius: 12px;
    color: var(--product-text);
    font-size: 15px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.vf-faq summary:hover {
    background: var(--product-ice);
}

.vf-faq summary::-webkit-details-marker {
    display: none;
}

.vf-faq summary::after {
    content: "+" / "";
    position: absolute;
    right: 16px;
    color: var(--cv-blue-text);
    font-size: 22px;
}

.vf-faq details[open] summary::after {
    content: "−" / "";
}

.vf-faq details p {
    margin-bottom: 0;
    padding: 0 16px 14px;
    font-size: 15px;
}

/* CTA final */
.vf-final-cta {
    padding: 72px 0;
    background:
        radial-gradient(circle at 60% 50%, rgba(0, 142, 244, 0.26), transparent 34%),
        linear-gradient(118deg, var(--product-navy-dark) 0%, var(--product-navy) 46%, var(--product-navy-mid) 100%);
}

.vf-final-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.vf-final-cta h2 {
    max-width: 18ch;
}

.vf-final-cta img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1199px) {
    .sc-pdf:has(.vf-page) {
        --product-gutter: 24px;
    }

    .vf-hero-grid,
    .vf-live-grid,
    .vf-demo-grid,
    .vf-final-grid {
        grid-template-columns: 1fr;
    }

    .vf-hero-copy {
        max-width: 640px;
    }

    .vf-hero-visual {
        max-width: 640px;
    }

    .vf-outcomes > li::before {
        display: none;
    }

    /* Dados: texto em cima, pedido e resultados lado a lado */
    .vf-live-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vf-live-copy {
        grid-column: 1 / -1;
    }

    /* Peças empilhadas não esticam até a largura toda */
    .vf-demo-card,
    .vf-case blockquote,
    .vf-final-cta img {
        max-width: 640px;
    }

    .vf-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vf-feature-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 18px);
    }

    .vf-case-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vf-extras {
        grid-template-columns: 1fr 1fr;
    }

    .vf-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .vf-steps li::after {
        display: none;
    }

    .vf-flow-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 12px;
    }

    .vf-flow-list li::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .sc-pdf:has(.vf-page) {
        --product-gutter: 16px;
    }

    .vf-live-data,
    .vf-features,
    .vf-flow,
    .vf-demo,
    .vf-case,
    .vf-implementation,
    .vf-faq,
    .vf-final-cta {
        padding: 56px 0;
    }

    .vf-hero {
        padding-bottom: 56px;
    }

    .vf-page .sp-product-btn {
        width: 100%;
    }

    .vf-trust-list {
        display: grid;
        gap: 12px;
    }

    .vf-feature-grid,
    .vf-extras,
    .vf-faq-grid,
    .vf-steps,
    .vf-demo-card ul {
        grid-template-columns: 1fr;
    }

    .vf-flow-list {
        grid-template-columns: 1fr 1fr;
    }

    .vf-live-grid {
        grid-template-columns: 1fr;
    }

    .vf-feature-card:last-child {
        width: auto;
    }

    .vf-demo-card {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vf-page .sp-product-btn {
        transition: none;
    }

    .vf-page .sp-product-btn:hover,
    .vf-page .sp-product-btn:focus-visible {
        transform: none;
    }
}
