/*
Theme Name: Vírgula Contábil__Claude_061026
Theme URI: https://virgulacontabil.com.br
Author: Vírgula Contábil
Author URI: https://virgulacontabil.com.br
Description: Tema institucional da Vírgula Contábil. CSS próprio, fontes embutidas e nenhum recurso externo.
Version: 7.0.0
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virgula-contabil
*/

/* ==========================================================================
   1. Fontes — as mesmas do site (Fraunces nos títulos, Inter no texto),
      agora servidas pelo próprio tema.
   ========================================================================== */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */
:root {
    --green-900: #022C22;
    --green-800: #06382C;
    --green-700: #0B4535;
    --green-deep: #011F18;
    --orange-700: #B93A0C;
    --orange-600: #EA580C;
    --orange-500: #F97316;
    --orange-400: #FB923C;
    --text: #334155;
    --ink: #1F2937;
    --muted: #64748B;
    --line: #E2E8F0;
    --line-2: #CBD5E1;
    --bg: #F8FAFC;
    --warm: #FAF8F4;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 10px;
    --header-h: 4.75rem;
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--green-900); color: #fff; }

.wrap { max-width: 74rem; margin-inline: auto; padding-inline: 1.5rem; }
.wrap--narrow { max-width: 48rem; }
svg.i { width: 1em; height: 1em; flex: none; }
section[id], .prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ==========================================================================
   4. Tipografia
   ========================================================================== */
h1, h2, .post-title {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--green-900);
    letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.07; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.12; }

/* destaque em degradê do título ("seu negócio") */
.grad, .virgula-grad { color: var(--orange-600); padding-bottom: 0.08em; white-space: nowrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .grad, .virgula-grad {
        background-image: linear-gradient(100deg, #B93A0C 0%, #EA580C 34%, #F97316 68%, #FB923C 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
    /* sobre o verde escuro o começo do degradê sobe um tom, pra não sumir */
    .on-dark .grad, .on-dark .virgula-grad {
        background-image: linear-gradient(100deg, #EA580C 0%, #F97316 45%, #FB923C 100%);
    }
}

.kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-600);
}
.on-dark .kicker { color: var(--orange-400); }
.meta { font-size: 0.8125rem; color: var(--muted); }
.meta > span + span::before { content: "·"; margin: 0 0.45em; }
.lede { font-size: 1.125rem; line-height: 1.65; }
.more {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-weight: 600; font-size: 0.9rem; color: var(--orange-600); white-space: nowrap;
}
.more:hover { color: var(--green-900); }
.on-dark .more { color: var(--orange-400); }
.on-dark .more:hover { color: #fff; }
.post-title { display: block; line-height: 1.24; }
.text-virgula-orange { color: var(--orange-600); }
.text-virgula-green { color: var(--green-900); }

/* wordmark */
.wm { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wm__row { display: flex; align-items: baseline; }
.wm__name, .wm__comma { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; }
.wm__name { color: oklch(0.36 0.06 165); }
.wm__comma { color: oklch(0.72 0.14 55); }
.wm__sub {
    font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
    color: oklch(0.48 0.02 160); margin: 0.18rem 0 0 0.3em;
}
.wm--light .wm__name { color: #fff; }
.wm--light .wm__sub { color: rgba(255, 255, 255, 0.6); }
a.wm:hover { opacity: 0.85; }

/* ==========================================================================
   5. Botões
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent; border-radius: 6px;
    font-weight: 600; font-size: 0.95rem; line-height: 1.2; white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--orange-500); color: #fff; }
.btn--primary:hover { background: var(--orange-600); }
.btn--dark { background: var(--green-900); color: #fff; }
.btn--dark:hover { background: var(--green-700); }
.btn--line { background: #fff; border-color: var(--line-2); color: var(--green-900); }
.btn--line:hover { border-color: var(--green-900); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--white { background: #fff; color: var(--green-900); }
.btn--white:hover { background: var(--warm); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ==========================================================================
   6. Cabeçalho
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header__in {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    min-height: var(--header-h);
}
.nav { display: flex; gap: 1.9rem; font-size: 0.9rem; font-weight: 500; }
.nav a { padding: 0.4rem 0; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: #fff; }
.site-header__cta { display: flex; gap: 0.6rem; align-items: center; }
.menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin-right: -0.5rem;
    background: transparent; border: 0; border-radius: 6px; color: #fff; font-size: 1.5rem;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__open,
.menu-toggle[aria-expanded="false"] .menu-toggle__close { display: none; }
.mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1.5rem 1.5rem;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
}
.mobile-menu .nav { flex-direction: column; gap: 0; font-size: 1rem; }
.mobile-menu .nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #fff; }
.mobile-menu__links { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   7. Seções
   ========================================================================== */
.sec { padding-block: 5.5rem; }
.sec--line { border-top: 1px solid var(--line); }
.sec--white { background: #fff; }
.sec--warm { background: var(--warm); }
.sec--dark { background: var(--green-900); color: rgba(255, 255, 255, 0.76); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; }
.sec-head h2 { margin-top: 0.6rem; max-width: 46rem; }
.sec-head p { max-width: 36rem; margin-top: 0.8rem; }

/* ==========================================================================
   8. Hero (topo verde com o sistema à mostra)
   ========================================================================== */
.hero { background: var(--green-900); overflow: hidden; }
.hero__in {
    display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 3.5rem; align-items: center;
    padding-block: 4.25rem 9rem;
}
.hero h1 { color: #fff; margin-top: 1.1rem; }
.hero .lede { color: rgba(255, 255, 255, 0.74); margin-top: 1.4rem; max-width: 32rem; }
.hero .frame {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
    margin-right: -7rem;
}

/* ==========================================================================
   9. Serviços (faixa branca sobreposta ao hero)
   ========================================================================== */
.services { margin-top: -4.6rem; position: relative; z-index: 2; }
.services__list {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 44px -30px rgba(2, 44, 34, 0.35);
}
.services__list li { padding: 1.7rem 1.6rem; border-left: 1px solid var(--line); }
.services__list li:first-child { border-left: 0; }
.services__icon { color: var(--orange-500); font-size: 1.35rem; display: block; line-height: 1; }
.services__list h3 { font-size: 1rem; font-weight: 700; color: var(--green-900); margin: 0.75rem 0 0.35rem; line-height: 1.3; }
.services__list p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   10. Posts — destaque, cartões, categorias
   ========================================================================== */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; }
.post-lead {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; min-height: 26rem;
    padding: 2.4rem;
    background: var(--green-900); color: rgba(255, 255, 255, 0.74);
    border-radius: var(--radius);
}
.post-lead::after {
    content: ","; position: absolute; right: 0.5rem; bottom: 6.5rem;
    font-family: var(--serif); font-weight: 700; font-size: 24rem; line-height: 0.4;
    color: rgba(255, 255, 255, 0.045); pointer-events: none;
}
.post-lead > * { position: relative; z-index: 1; }
.post-lead .post-title { color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.18; margin: 0.9rem 0 1rem; }
.post-lead .meta { color: rgba(255, 255, 255, 0.55); margin-top: 0.9rem; }
.post-lead .more { margin-top: auto; padding-top: 1.5rem; }
.post-lead:hover .more { color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.post-card:hover { border-color: var(--orange-500); box-shadow: 0 14px 30px -22px rgba(2, 44, 34, 0.35); }
.post-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card .post-title { font-size: 1.1rem; margin: 0.6rem 0 0.9rem; }
.post-card:hover .post-title { color: var(--orange-600); }
.post-card__excerpt { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.post-card .meta { margin-top: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.8rem; }
.chip {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
    padding: 0.32rem 0.85rem; font-size: 0.8125rem; font-weight: 500; color: var(--green-900);
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.chip:hover { border-color: var(--orange-500); color: var(--orange-600); }
.chip small { color: var(--muted); margin-left: 0.35rem; font-size: 0.75rem; }
.chip.is-current { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.chip.is-current small { color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   11. Vitrines (sistema financeiro, portal, ferramentas)
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split h2 { margin-top: 0.7rem; }
.split .lede { margin-top: 1rem; }
.feat { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.feat li {
    display: grid; grid-template-columns: 10.5rem 1fr; gap: 1.2rem;
    padding: 0.85rem 0; border-bottom: 1px solid var(--line);
    font-size: 0.92rem; line-height: 1.5;
}
.feat b { color: var(--green-900); font-weight: 600; }

.frame {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
    box-shadow: 0 34px 60px -34px rgba(2, 44, 34, 0.34);
}
.frame__bar {
    display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
    background: #F1F5F9; border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.frame img { width: 100%; }

.phones { display: flex; justify-content: center; align-items: flex-start; gap: 1.75rem; }
.phone {
    width: 13.2rem; padding: 0.42rem; border-radius: 1.9rem;
    background: #0B3D30; border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -28px rgba(2, 44, 34, 0.6);
}
.phone img { border-radius: 1.5rem; width: 100%; }
.phone:nth-child(2) { margin-top: 2.6rem; }
.checks { margin-top: 1.6rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.5rem 0; }
.checks svg { margin-top: 0.28rem; color: var(--orange-500); }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tool { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; background: #fff; }
.tool h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--green-900); margin-bottom: 0.4rem; }
.tool p { font-size: 0.95rem; margin-bottom: 1rem; }

/* ==========================================================================
   12. Faixa de chamada
   ========================================================================== */
.band { background: var(--orange-500); color: #fff; }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.6rem; }
.band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ==========================================================================
   13. Contato e formulários
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4.5rem; align-items: start; }
.contact h2 { margin-top: 0.7rem; }
.contact .lede { margin-top: 1rem; }
.cinfo { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cinfo li {
    display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
    padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem;
}
.cinfo b { font-weight: 600; color: #fff; }
.cinfo a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; color: var(--text); }
.form h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--green-900); margin-bottom: 1.2rem; }
.form__note { font-size: 0.78rem; color: var(--muted); margin-top: 0.9rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--green-900); margin-bottom: 0.35rem; }
.field input, .field textarea,
.search-form input[type="search"],
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    display: block; width: 100%;
    padding: 0.7rem 0.85rem;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line-2); border-radius: 6px;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field textarea:focus,
.search-form input[type="search"]:focus,
.comment-form input:focus, .comment-form textarea:focus {
    outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.search-form { display: flex; gap: 0.5rem; max-width: 26rem; }
.search-form .btn { padding-inline: 0.85rem; font-size: 1.1rem; }

/* ==========================================================================
   14. Rodapé
   ========================================================================== */
.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; padding-block: 3.5rem 1.8rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.site-footer__about { margin-top: 1.1rem; max-width: 22rem; }
.site-footer h2 {
    font-family: var(--sans); color: #fff; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; line-height: 1.4;
}
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.social a {
    display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%;
}
.social a:hover { border-color: var(--orange-400); color: var(--orange-400); }
.site-footer__bottom {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.6rem; padding-top: 1.3rem; font-size: 0.8125rem;
}

/* ==========================================================================
   15. Páginas internas — topo, artigo, lateral
   ========================================================================== */
.page-top { background: var(--warm); border-bottom: 1px solid var(--line); padding-block: 3.2rem 3rem; }
.page-top h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; max-width: 52rem; margin-top: 0.9rem; }
.page-top .lede { max-width: 46rem; margin-top: 1.1rem; color: var(--muted); }
.page-top .meta { margin-top: 1.4rem; font-size: 0.875rem; }
.page-top__tools { margin-top: 1.8rem; }
.page-top__tools .chips { margin-top: 1.1rem; }
.crumb { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumb a:hover { color: var(--orange-600); }
.crumb span { margin: 0 0.35em; }

.article__grid {
    display: grid; grid-template-columns: minmax(0, 44rem) 17rem; gap: 4rem; justify-content: space-between;
    padding-block: 3.2rem 4.5rem;
}
.article__cover { margin-bottom: 2.2rem; border-radius: var(--radius); overflow: hidden; }
.article__cover img { width: 100%; }
.article__foot { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article__aside { font-size: 0.875rem; min-width: 0; }
.article__sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.toc { border-left: 2px solid var(--line); padding-left: 1.1rem; }
.toc__title {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--green-900); margin-bottom: 0.7rem; line-height: 1.4;
}
.toc li { margin-bottom: 0.55rem; line-height: 1.4; }
.toc li.is-sub { padding-left: 0.8rem; font-size: 0.8125rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--orange-600); }
.toc a.is-active { color: var(--green-900); font-weight: 600; }
.aside-cta { background: var(--green-900); color: rgba(255, 255, 255, 0.75); border-radius: var(--radius); padding: 1.4rem; }
.aside-cta h2 { font-size: 1.15rem; color: #fff; margin-bottom: 0.4rem; line-height: 1.25; letter-spacing: 0; }
.aside-cta .btn { margin-top: 1rem; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; overflow-wrap: anywhere; }
.widget h2, .widget h3, .widget .widget-title, .widget .wp-block-heading, .widget .wp-block-search__label {
    display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--green-900); line-height: 1.4; margin: 0 0 0.8rem;
}
.widget ul, .widget ol { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget a:hover { color: var(--orange-600); }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 0.4rem; }
.widget input[type="search"], .widget input[type="text"] {
    flex: 1; min-width: 0; width: 100%; padding: 0.5rem 0.65rem;
    border: 1px solid var(--line-2); border-radius: 6px; background: #fff;
}
.widget .wp-block-search__button, .widget button[type="submit"] {
    margin: 0; padding: 0.5rem 0.75rem; border: 0; border-radius: 6px;
    background: var(--green-900); color: #fff; font-weight: 600; font-size: 0.8125rem;
}

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.2rem; }
.post-nav a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; background: #fff; transition: border-color 0.15s; }
.post-nav a:hover { border-color: var(--orange-500); }
.post-nav small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.post-nav span { font-family: var(--serif); font-weight: 700; color: var(--green-900); line-height: 1.3; }
.post-nav__next { text-align: right; grid-column: 2; }

/* conteúdo do artigo */
.prose { font-size: 1.0625rem; line-height: 1.78; color: var(--ink); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.3em; }
.prose p { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 {
    font-family: var(--serif); font-weight: 700; color: var(--green-900);
    line-height: 1.2; letter-spacing: -0.01em; margin-top: 2em; margin-bottom: -0.65em;
}
.prose h2 { font-size: 1.65rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }
.prose strong, .prose b { color: var(--green-900); font-weight: 600; }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--green-900); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--orange-500); font-weight: 600; }
.prose blockquote, .prose .wp-block-quote {
    border-left: 3px solid var(--orange-500); background: var(--warm);
    padding: 1.1rem 1.4rem; margin-block: 1.8em; margin-inline: 0;
    border-radius: 0 6px 6px 0; color: var(--green-900);
}
.prose blockquote > * + * { margin-top: 0.8em; }
.prose blockquote cite { display: block; font-size: 0.875rem; font-style: normal; color: var(--muted); }
.prose figure { margin-block: 1.8em; }
.prose figure.wp-block-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.prose th, .prose thead td { background: var(--green-900); color: #fff; text-align: left; padding: 0.7rem 0.9rem; font-weight: 600; border: 0; }
.prose td { padding: 0.7rem 0.9rem; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--bg); }
.prose img { border-radius: 8px; }
.prose figcaption { font-size: 0.8125rem; color: var(--muted); text-align: center; margin-top: 0.6rem; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.prose code { font-size: 0.9em; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0.1em 0.35em; }
.prose pre { background: var(--green-900); color: #E2E8F0; padding: 1.1rem 1.3rem; border-radius: 8px; overflow-x: auto; font-size: 0.9rem; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose sup { font-size: 0.72em; }
.prose math { font-size: 1.05em; }
.page-links { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; }

/* ==========================================================================
   16. Listagem do blog e paginação
   ========================================================================== */
.pagination, .virgula-pagination { margin-top: 3rem; }
.pagination .nav-links, .virgula-pagination .nav-links, nav.virgula-pagination:not(.navigation) {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem;
}
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6rem; height: 2.6rem; padding: 0 0.75rem;
    background: #fff; color: var(--text); font-weight: 500;
    border: 1px solid var(--line); border-radius: 6px;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
a.page-numbers:hover { border-color: var(--orange-500); color: var(--orange-600); }
.page-numbers.current { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.page-numbers.dots { border-color: transparent; background: transparent; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; max-width: 34rem; }
.empty h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.empty p { margin-bottom: 1.2rem; }
.notfound { text-align: center; padding-block: 5rem; }
.notfound__code { font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--orange-500); }
.notfound .search-form { margin: 1.8rem auto; }

/* ==========================================================================
   17. Comentários
   ========================================================================== */
.comments-area { margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.comments-area > h2, .comment-reply-title { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--green-900); margin-bottom: 1.2rem; display: block; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list > li + li, .comment-list .children > li { margin-top: 1rem; }
.comment-list .children { margin: 1rem 0 0 1.5rem; padding-left: 1.2rem; border-left: 2px solid var(--line); }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.comment-author { font-weight: 600; color: var(--green-900); }
.comment-author .avatar { display: inline-block; border-radius: 50%; margin-right: 0.5rem; vertical-align: middle; }
.comment-metadata, .comment-metadata a { font-size: 0.8125rem; color: var(--muted); }
.comment-content { margin-top: 0.6rem; }
.reply a, .comment-reply-link { display: inline-block; margin-top: 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--orange-600); }
.comment-form { margin-top: 1rem; display: grid; gap: 1rem; }
.comment-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--green-900); margin-bottom: 0.35rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .submit { cursor: pointer; }

/* ==========================================================================
   18. WordPress
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
.admin-bar .article__sticky { top: calc(var(--header-h) + 1.5rem + 32px); }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.screen-reader-text, .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.aligncenter { display: block; margin-inline: auto; }
.alignright { float: right; margin: 0 0 1.2em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1.2em 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

/* ==========================================================================
   19. Acessibilidade e movimento
   ========================================================================== */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100000;
    padding: 0.75rem 1.25rem; background: var(--orange-500); color: #fff; font-weight: 600; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 2px; border-radius: 3px; }
#content:focus, #content:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   20. Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
    .site-header__in { gap: 1.25rem; }
    .nav { gap: 1.3rem; }
}
@media (max-width: 1000px) {
    .site-nav, .site-header__cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero__in, .split, .split--rev, .contact, .feature, .article__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .hero__in { padding-block: 3rem 7.5rem; }
    .hero .frame { margin-right: 0; }
    .services__list { grid-template-columns: 1fr 1fr; }
    .services__list li:nth-child(odd) { border-left: 0; }
    .services__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .post-grid { grid-template-columns: 1fr 1fr; }
    .post-lead { min-height: 0; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .sec { padding-block: 4rem; }
    .sec-head, .band__in { flex-direction: column; align-items: flex-start; }
    .article__sticky { position: static; }
    .article__grid { padding-block: 2.4rem 3.5rem; }
    .toc { display: none; }
}
@media (max-width: 640px) {
    :root { --header-h: 4.25rem; }
    .services__list, .post-grid, .post-grid--2, .tools, .row2, .post-nav { grid-template-columns: 1fr; }
    .services__list li { border-left: 0; border-top: 1px solid var(--line); }
    .services__list li:first-child { border-top: 0; }
    .post-nav__next { grid-column: 1; text-align: left; }
    .feat li, .cinfo li { grid-template-columns: 1fr; gap: 0.15rem; }
    .phones { gap: 0.9rem; }
    .phone { width: 46%; border-radius: 1.5rem; }
    .phone img { border-radius: 1.2rem; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .btn { white-space: normal; }
    .cta-row .btn { flex: 1 1 100%; }
    .form { padding: 1.4rem; }
    .post-lead { padding: 1.7rem; }
}
