/* ═══════════════════════════════════════════════════════════════════════════
   site.css — Blocos das páginas internas do site (comerciais, blog e 404).
   Complementa o design system em veup.css, seguindo os padrões de página.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Seções de conteúdo ──────────────────────────────────────────────────── */

.vu-section--alt {
    isolation: isolate;
}
.vu-page .vu-h2 {
    margin-bottom: var(--vu-s6);
    max-width: 22ch;
}
.vu-page p {
    color: var(--vu-text-2);
    font-size: var(--vu-fs-lead);
    line-height: 1.6;
    max-width: 68ch;
}
.vu-page ul,
.vu-page ol:not(.vu-steps) {
    padding-left: 1.25rem;
    color: var(--vu-text-2);
    max-width: 68ch;
    display: grid;
    gap: var(--vu-s2);
}
.vu-page .vu-list {
    margin-top: var(--vu-s7);
}

/* ── Hero das páginas internas ───────────────────────────────────────────── */

.vu-hero__single {
    display: grid;
    gap: var(--vu-s5);
    justify-items: start;
    max-width: 860px;
}
.vu-hero__copy small,
.vu-hero__single small {
    font-size: .45em;
    letter-spacing: 0;
    color: var(--vu-text-3);
    white-space: nowrap;
}
.vu-b--hero {
    position: absolute;
    inset: 9% 7%;
    grid-template-rows: 1fr;
    z-index: 1;
    box-shadow: 0 30px 60px -20px rgba(0, 30, 25, .55);
}
.vu-b--hero .vu-b__vis {
    margin: 10px;
    min-height: 0;
    padding: 12px 0;
}
.vu-b--hero .v-sales,
.vu-b--hero .v-ai {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 88%;
}
.vu-b--hero .v-sales__side {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.vu-b--hero .v-sales__pay {
    align-content: center;
}
.vu-b--hero .v-sales ul {
    min-height: 0;
}
.vu-b--hero .v-ai__you,
.vu-b--hero .v-ai__bot {
    display: none;
}
.vu-b--hero .v-ai__msg {
    min-height: 0;
    font-size: .74rem;
    padding: 10px 12px;
}
.vu-b--hero .v-ai__form {
    padding: 12px;
    gap: 6px;
}
.vu-b--hero .v-rep {
    grid-template-columns: 1fr 1fr;
    width: 90%;
}

/* ── Recursos (cards do módulo) ──────────────────────────────────────────── */

.vu-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: var(--vu-s4);
}
.vu-feature {
    padding: var(--vu-s5);
    border-radius: var(--vu-r-lg);
    background: var(--vu-surface);
    box-shadow: inset 0 0 0 1px var(--vu-line), var(--vu-shadow-1);
    display: grid;
    gap: var(--vu-s2);
    align-content: start;
    transition: box-shadow var(--vu-t);
}
.vu-feature:hover {
    box-shadow: inset 0 0 0 1px var(--vu-line-strong), var(--vu-shadow-2);
}
.vu-feature h3 {
    font-size: var(--vu-fs-h3);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.25;
}
.vu-feature p {
    font-size: .9375rem;
    line-height: 1.55;
}

/* ── Passos numerados ────────────────────────────────────────────────────── */

.vu-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    counter-reset: vu-step;
}
.vu-steps li {
    counter-increment: vu-step;
    position: relative;
    padding: 22px 24px 22px 88px;
    border-radius: 18px;
    background: var(--vu-paper-2);
    color: var(--vu-text-2);
}
.vu-steps li::before {
    content: "0" counter(vu-step);
    position: absolute;
    left: 24px;
    top: 26px;
    font-family: var(--vu-font-cond);
    font-size: .85rem;
    letter-spacing: .1em;
    color: var(--vu-text-3);
}
.vu-steps strong {
    color: var(--vu-text);
    font-weight: 500;
}

/* ── Lista de links relacionados ─────────────────────────────────────────── */

.vu-list--compact a {
    padding-block: 20px;
}
.vu-list--compact .vu-list__t strong {
    font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
}
.vu-sec-related .vu-h2 {
    margin-bottom: var(--vu-s6);
}

/* ── Índice do blog ──────────────────────────────────────────────────────── */

.vu-post__text {
    display: grid;
    gap: var(--vu-s2);
}
.vu-post__text p {
    font-size: .875rem;
    line-height: 1.5;
    color: var(--vu-text-2);
}

/* ── Artigo ──────────────────────────────────────────────────────────────── */

.vu-article {
    padding-top: clamp(28px, 4vw, 56px);
}
.vu-article__head,
.vu-article__body {
    max-width: 760px;
}
.vu-article__head {
    display: grid;
    gap: var(--vu-s4);
    justify-items: start;
}
.vu-article__title {
    font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}
.vu-article__title small {
    font-size: .45em;
    letter-spacing: 0;
    color: var(--vu-text-3);
}
.vu-article__meta {
    color: var(--vu-text-3);
    font-size: var(--vu-fs-sm);
}
.vu-breadcrumb {
    font-size: var(--vu-fs-sm);
    color: var(--vu-text-3);
}
.vu-breadcrumb a {
    color: var(--vu-ink-900);
}
.vu-breadcrumb a:hover {
    text-decoration: underline;
}
.vu-article__cover {
    margin-top: var(--vu-s6);
    border-radius: 20px;
    aspect-ratio: 16 / 4;
}
.vu-article__body {
    padding-block: var(--vu-s7) var(--vu-section);
    color: var(--vu-text-2);
    font-size: 1.0625rem;
    line-height: 1.75;
}
.vu-article__body > * + * {
    margin-top: var(--vu-s4);
}
.vu-article__body h2 {
    margin-top: var(--vu-s7);
    color: var(--vu-text);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}
.vu-article__body h3 {
    margin-top: var(--vu-s6);
    color: var(--vu-text);
    font-size: var(--vu-fs-h3);
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.3;
}
.vu-article__body strong {
    color: var(--vu-text);
    font-weight: 600;
}
.vu-article__body a:not([class]),
.vu-callout a:not([class]),
.vu-note a:not([class]) {
    color: var(--vu-ink-900);
    text-decoration: underline;
    text-decoration-color: var(--vu-sage-300);
    text-underline-offset: 3px;
}
.vu-article__body a:not([class]):hover {
    text-decoration-color: currentColor;
}
.vu-article__body ul,
.vu-article__body ol {
    padding-left: 1.25rem;
    display: grid;
    gap: var(--vu-s2);
}
.vu-article__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}
.vu-article__body th,
.vu-article__body td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--vu-line);
    text-align: left;
}
.vu-article__body .vu-list {
    margin-top: var(--vu-s7);
}

/* ── Destaques no texto ──────────────────────────────────────────────────── */

.vu-callout {
    padding: var(--vu-s4) var(--vu-s5);
    border-radius: var(--vu-r);
    background: var(--vu-paper-2);
    color: var(--vu-text-2);
    box-shadow: inset 2px 0 0 var(--vu-mint-500);
}
.vu-note {
    padding: var(--vu-s4) var(--vu-s5);
    border-radius: var(--vu-r);
    background: var(--vu-surface);
    color: var(--vu-text-2);
    box-shadow: inset 0 0 0 1px var(--vu-line-strong);
    max-width: 68ch;
}
.vu-note strong {
    color: var(--vu-text);
    font-weight: 600;
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.vu-hero__actions--tight {
    margin-top: 0;
}

/* ── Responsivo e impressão ──────────────────────────────────────────────── */

@media (max-width: 640px) {
    .vu-steps li {
        padding: 18px 18px 18px 56px;
    }
    .vu-steps li::before {
        left: 18px;
        top: 22px;
    }
    .vu-article__cover {
        aspect-ratio: 16 / 7;
    }
    .vu-b--hero {
        inset: 6% 5%;
    }
    .vu-b--hero .vu-b__vis {
        height: auto;
    }
}

@media print {
    .vu-header,
    .vu-mnav,
    .vu-sec-cta,
    .vu-footer {
        display: none;
    }
}
