html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

/* ============================================================
   MODO CLARO — overrides de elementos (sem definições de variáveis CSS —
   variáveis são gerenciadas pelo PHP/JS via :root para evitar conflito
   com o Customizer que também escreve em :root/inline styles)
   ============================================================ */

/* Bordas e divisores hardcoded em rgba(255,255,255,...) → rgba(0,0,0,...) */
body.theme-light .post-card,
body.theme-light .faq-item,
body.theme-light .page-toc,
body.theme-light .sidebar-cta-card,
body.theme-light .single-share,
body.theme-light .gs-article-meta,
body.theme-light .gs-share {
    border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .post-card {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
body.theme-light .post-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
body.theme-light .faq-item + .faq-item {
    border-top-color: rgba(0, 0, 0, 0.07);
}
body.theme-light .toc-item + .toc-item {
    border-top-color: rgba(0, 0, 0, 0.06);
}
body.theme-light .page-header,
body.theme-light .single-breadcrumb {
    border-bottom-color: rgba(0, 0, 0, 0.07);
}
body.theme-light .site-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .page-toc {
    background: #f1f5f9;
}
body.theme-light .sidebar-cta-card {
    background: linear-gradient(145deg, rgba(89, 101, 255, 0.07), rgba(54, 211, 153, 0.04));
    border-color: rgba(89, 101, 255, 0.18);
}
body.theme-light .post-grid-section,
body.theme-light .section {
    background: transparent;
}
body.theme-light .section:nth-child(even) {
    background: #f1f5f9;
}
body.theme-light .hero-section {
    background: linear-gradient(135deg, #1a2233 0%, #0f1420 100%);
}
body.theme-light .footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}
body.theme-light .nav-link {
    color: #334155;
}
body.theme-light .nav-link:hover {
    color: var(--primary);
}
body.theme-light .post-meta,
body.theme-light .post-excerpt {
    color: #475569;
}
body.theme-light .post-title {
    color: #0f172a;
}
body.theme-light .breadcrumb-list a,
body.theme-light .breadcrumb-sep {
    color: #64748b;
}
body.theme-light ::selection {
    background: rgba(89, 101, 255, 0.15);
}

:root {
    --bg: #121722;
    --bg-soft: #181f2d;
    --card: #242e42;
    --card-soft: #202a3e;
    --text: #f5f7fb;
    --muted: #a7b1c7;
    --primary: #5965ff;
    --primary-soft: rgba(89, 101, 255, 0.2);
    --accent: #36d399;
    --radius: 18px;
    --radius-sm: calc(var(--radius) * 0.72);
    --shadow: 0 20px 60px rgba(4, 8, 20, 0.45);
    --font-heading: 'Sora', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    /* Header */
    --logo-h: 44px;
    --header-padding: 18px;
    --header-bg: rgba(10, 14, 24, 0.88);
    --header-blur: 14px;
    --header-border-color: rgba(255, 255, 255, 0.08);
    --header-scroll-bg: rgba(10, 14, 24, 0.95);
    --header-scroll-blur: 14px;
    /* Nav */
    --nav-size: 0.95rem;
    --nav-weight: 400;
    --nav-ls: 0px;
    --nav-gap: 24px;
    --nav-color: #a7b1c7;
    --nav-hover: #f5f7fb;
    /* Buttons */
    --btn-radius: 999px;
    --btn-pad-v: 12px;
    --btn-pad-h: 22px;
    --btn-size: 0.95rem;
    --btn-weight: 600;
    --btn-transform: none;
    --btn-ls: 0px;
    --btn-bg: linear-gradient(135deg, #6a74ff 0%, #4e56ff 45%, #2f36d6 100%);
    --btn-color: #ffffff;
    --btn-shadow: 0 12px 34px rgba(89, 101, 255, 0.4), 0 0 18px rgba(89, 101, 255, 0.25);
    --btn-ghost-border: rgba(255, 255, 255, 0.2);
    --btn-ghost-color: #f5f7fb;
    /* Layout */
    --container-w: 1120px;
    --section-pad: 80px;
    /* Body background */
    --body-bg-1: #1a2233;
    --body-bg-2: #0b0f18;
    --body-bg: radial-gradient(circle at top, #1a2233 0%, #0f1420 45%, #0b0f18 100%);
    /* Footer */
    --footer-bg: rgba(10, 14, 24, 1);
    --footer-color: #a7b1c7;
    /* Top Bar */
    --topbar-bg: #5965ff;
    --topbar-color: #ffffff;
    /* WhatsApp */
    --wa-color: #25d366;
    --wa-color-hover: #1da851;
    /* Typography advanced */
    --base-size: 16px;
    --body-lh: 1.6;
    /* Mobile nav */
    --mobile-nav-bg: #0f1520;
    --hamburger-color: #f5f7fb;
    /* Selection */
    --selection-bg: rgba(89, 101, 255, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--base-size);
    line-height: var(--body-lh);
    letter-spacing: 0.1px;
    background: var(--body-bg);
    color: var(--text);
    overflow-x: clip;
}

::selection {
    background: var(--selection-bg);
    color: var(--text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container-w), 92%);
    margin: 0 auto;
}

/* ─── Header base ─────────────────────────────────────────────────────────── */
.site-header {
    z-index: 100;
    width: 100%;
}

/* Logo */
.site-header .custom-logo {
    height: var(--logo-h);
    width: auto;
    display: block;
}
.site-header .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand-logo-mobile {
    display: none;
}

.brand-logo-mobile img {
    display: block;
    width: auto;
    height: 40px;
}

/* ── Type: Classic ──────────────────────────────────────────────────────────
   Logo esquerda · Nav direita · Fundo sólido · Sticky
   ────────────────────────────────────────────────────────────────────────── */
.header--classic {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
    border-bottom: 1px solid var(--header-border-color);
}
.header--classic.header--no-sticky {
    position: relative;
}

/* ── Type: Transparent ──────────────────────────────────────────────────────
   Logo esquerda · Nav direita · Overlay do hero · Solidifica ao rolar
   ────────────────────────────────────────────────────────────────────────── */
.header--transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.header--transparent.is-scrolled {
    background: var(--header-scroll-bg);
    backdrop-filter: blur(var(--header-scroll-blur));
    -webkit-backdrop-filter: blur(var(--header-scroll-blur));
    border-bottom: 1px solid var(--header-border-color);
}
/* Espaço para o header fixo nas páginas sem hero */
.header-type--transparent .site-main {
    padding-top: var(--header-h, 74px);
}
/* Hero em front-page: "sobe" atrás do header */
.header-type--transparent .section.hero:first-child {
    margin-top: calc(-1 * var(--header-h, 74px));
    padding-top: calc(var(--header-h, 74px) + 80px);
}

/* ── Type: Centered ─────────────────────────────────────────────────────────
   Logo centralizado no topo · Nav centralizada abaixo · 2 linhas
   ────────────────────────────────────────────────────────────────────────── */
.header--centered {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
    border-bottom: 1px solid var(--header-border-color);
}
.header--centered.header--no-sticky {
    position: relative;
}
.header--centered .header-inner {
    flex-direction: column;
    gap: 0;
    padding: calc(var(--header-padding) * 0.75) 0 0;
}
.header--centered .header-brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
}
.header--centered .header-nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
    position: relative;
}
.header--centered .site-nav {
    justify-content: center;
}
.header--centered .header-cta {
    position: absolute;
    right: 0;
}

/* ── Nav base ───────────────────────────────────────────────────────────────*/
.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--header-padding) 0;
    position: relative;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: var(--nav-gap);
    margin: 0;
    padding: 0;
    font-size: var(--nav-size);
    font-weight: var(--nav-weight);
    letter-spacing: var(--nav-ls);
}

.nav-list a {
    color: var(--nav-color);
    padding: 8px 10px;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-parent > a {
    color: var(--nav-hover);
    background: rgba(255, 255, 255, 0.08);
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--btn-pad-v) var(--btn-pad-h);
    border-radius: var(--btn-radius);
    background: var(--btn-bg);
    color: var(--btn-color);
    font-size: var(--btn-size);
    font-weight: var(--btn-weight);
    text-transform: var(--btn-transform);
    letter-spacing: var(--btn-ls, 0px);
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: var(--btn-shadow);
    cursor: pointer;
    white-space: nowrap;
}

button,
.btn,
.nav-toggle {
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--btn-shadow), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    border-color: var(--btn-ghost-border);
    box-shadow: none;
    color: var(--btn-ghost-color);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    transform: translateY(-1px);
}

.section {
    padding: var(--section-pad) 0;
}

/* When editor sets a custom text color, propagate it to text children.
   Two layers: (1) generic tags, (2) elements with explicit var() that intercept inheritance. */
.section-colors-set h1,
.section-colors-set h2,
.section-colors-set h3,
.section-colors-set h4,
.section-colors-set p,
.section-colors-set li,
.section-colors-set span:not(.badge):not(.icon):not(.faq-icon),
.section-colors-set a:not(.btn):not(.btn-ghost) {
    color: inherit;
}
/* Explicit color containers that need their own override */
.section-colors-set .split-text,
.section-colors-set .split-text p,
.section-colors-set .split-text li,
.section-colors-set .video-feature-description,
.section-colors-set .cta-content h2,
.section-colors-set .cta-content p,
.section-colors-set .longform-content p,
.section-colors-set .longform-content h2,
.section-colors-set .longform-content h3,
.section-colors-set .longform-content ul,
.section-colors-set .longform-content ol,
.section-colors-set .longform-content strong,
.section-colors-set .longform-content b,
.section-colors-set .gs-content p,
.section-colors-set .gs-content h2,
.section-colors-set .gs-content h3,
.section-colors-set .gs-content h4,
.section-colors-set .gs-content li,
.section-colors-set .gs-content strong,
.section-colors-set .gs-content b,
.section-colors-set .gs-content blockquote,
.section-colors-set .gs-content td {
    color: inherit;
}
/* Elementos com fundo próprio (card): resetar cor para o tema,
   pois a cor da seção não deve vazar para dentro dos cards */
.section-colors-set .faq-item,
.section-colors-set .check-list li,
.section-colors-set .icon-list li {
    color: var(--text);
}
.section-colors-set .faq-answer {
    color: var(--muted);
}
.section-colors-set .check-list .icon,
.section-colors-set .icon-list .icon {
    color: var(--accent);
}

.section-basic {
    padding: 60px 0;
}

.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 14, 24, var(--hero-overlay-op, 0.82)), rgba(10, 14, 24, var(--hero-overlay-op-end, 0.35)));
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-align-center .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-align-center .hero-content {
    max-width: 760px;
    margin-inline: auto;
}

.hero-align-center .subtitle {
    margin-inline: auto;
}

.hero-align-center .hero-cta,
.hero-align-center .hero-trust {
    justify-content: center;
}

.hero h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3.3rem);
    line-height: 1.15;
    margin: 12px 0;
}

.subtitle {
    color: var(--muted);
    max-width: 520px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--accent);
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.platforms-inner,
.split-inner,
.cta-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    align-items: center;
}

.icon-list,
.check-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.icon-list li,
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card-soft);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.icon-list .icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.check-list .icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.split-reverse .split-inner {
    direction: rtl;
}

.split-reverse .split-content,
.split-reverse .split-media {
    direction: ltr;
}

.split-video-reverse .split-inner {
    direction: rtl;
}

.split-video-reverse .split-content,
.split-video-reverse .split-media {
    direction: ltr;
}

/* ── Split Video player ─────────────────────────────────────────────────────── */
.sv-player {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
    display: block;
    width: 100%;
    box-shadow: var(--shadow);
}

.sv-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.sv-player:hover img {
    transform: scale(1.03);
}

.sv-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sv-play-btn svg {
    width: 72px;
    height: 72px;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.sv-player:hover .sv-play-btn svg {
    transform: scale(1.1);
}

.sv-player iframe,
.sv-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sv-player--native,
.sv-player--image {
    cursor: default;
}

.faq-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

.faq-list {
    margin-top: 30px;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
}

.faq-icon .icon {
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--muted);
}

.faq-item.is-open .faq-answer {
    margin-top: 12px;
}

.faq-item.is-open .faq-icon .icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-video .video-shell {
    background: #141b2a;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    max-width: 360px;
    margin: 0 auto;
}

.faq-video iframe,
.faq-video video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    background: #0b0f18;
}

/* ============================================================
   VIDEO FEATURE — Título + vídeo centralizado
   ============================================================ */
.video-feature {
    background: var(--bg-soft);
}

.video-feature-inner {
    display: grid;
    justify-items: center;
    gap: 28px;
    text-align: center;
}

.video-feature-title {
    margin: 0;
    max-width: 980px;
}

.video-feature-media {
    width: min(100%, 1000px);
    aspect-ratio: 16 / 9;
    background: #0b0f18;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-feature-media video,
.video-feature-media iframe,
.video-feature-media img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-feature-media video,
.video-feature-media img {
    object-fit: cover;
}

.video-feature-description {
    max-width: 760px;
    color: var(--text);
    line-height: 1.7;
}

.video-feature-description p {
    margin: 0;
}

/* ============================================================
   HERO — Trust badges + media glow
   ============================================================ */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(245, 247, 251, 0.65);
    letter-spacing: 0.2px;
}

.trust-badge .icon {
    width: 13px;
    height: 13px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-media {
    position: relative;
}

.hero-media-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 50%, rgba(89, 101, 255, 0.35) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-media img {
    position: relative;
    z-index: 1;
}

/* ============================================================
   SECTION — Visual rhythm (alternating backgrounds)
   ============================================================ */
.section.platforms {
    background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section.split-reverse {
    background: rgba(255, 255, 255, 0.012);
}

/* ============================================================
   CTA — Seção de conversão principal
   ============================================================ */
.cta {
    background: linear-gradient(135deg,
        rgba(89, 101, 255, 0.28) 0%,
        rgba(54, 211, 153, 0.10) 100%);
    border-top: 1px solid rgba(89, 101, 255, 0.22);
    border-bottom: 1px solid rgba(89, 101, 255, 0.22);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
}

.cta-glow-left {
    top: -60%;
    left: -8%;
    background: radial-gradient(circle, rgba(54, 211, 153, 0.12), transparent 65%);
}

.cta-glow-right {
    bottom: -60%;
    right: -5%;
    background: radial-gradient(circle, rgba(89, 101, 255, 0.2), transparent 65%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.cta-content h2 {
    font-size: clamp(1.4rem, 2vw + 0.6rem, 1.9rem);
    margin-bottom: 10px;
    color: var(--text);
}

.cta-content p {
    color: var(--muted);
    max-width: 560px;
    margin: 0;
}

.cta-action {
    flex-shrink: 0;
}

.cta-btn,
.cta .btn {
    padding: 16px 36px;
    font-size: 1rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cta-btn,
    .cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   LONGFORM — Readability
   ============================================================ */
.longform {
    background: var(--bg-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.longform-inner {
    max-width: 860px;
}

.longform-title {
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.longform-content p {
    color: var(--muted);
    line-height: 1.85;
    margin: 0 0 1.2em;
}

.longform-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 2em 0 0.6em;
    line-height: 1.3;
}

.longform-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.6em 0 0.5em;
}

.longform-content ul,
.longform-content ol {
    color: var(--muted);
    padding-left: 1.4em;
    margin: 0 0 1.4em;
    display: grid;
    gap: 6px;
    line-height: 1.7;
}

.longform-content strong,
.longform-content b {
    color: var(--text);
    font-weight: 600;
}

.longform-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.longform-content a:hover {
    color: var(--primary);
}

.longform-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 2em 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 60px 0 0;
    background: var(--footer-bg, #0a0e18);
    color: var(--footer-color, #a7b1c7);
}

/* ── Colunas principais ── */
.footer-columns {
    display: grid;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-columns--2 { grid-template-columns: 1.6fr 1fr; }
.footer-columns--3 { grid-template-columns: 1.6fr 1fr 1fr; }
.footer-columns--4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

/* ── Coluna da marca ── */
.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col--brand .custom-logo-link {
    display: inline-block;
}

.footer-col--brand .custom-logo {
    max-height: 48px;
    width: auto;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--footer-color, #a7b1c7);
}

.footer-brand-text {
    font-size: 0.875rem;
    color: var(--footer-color, #a7b1c7);
    line-height: 1.65;
    margin: 0;
    max-width: 300px;
    opacity: 0.75;
}

/* ── Colunas de menu ── */
.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--footer-color, #a7b1c7);
    margin: 0 0 16px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-menu a {
    font-size: 0.875rem;
    color: var(--footer-color, #a7b1c7);
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.75;
}

.footer-menu a:hover {
    color: var(--primary);
    opacity: 1;
}

/* ── Disclaimer ── */
.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-disclaimer img {
    width: 72px;
    height: auto;
    flex-shrink: 0;
    opacity: 0.85;
}

.footer-disclaimer-text {
    color: var(--footer-color, #a7b1c7);
    font-size: 0.8rem;
    line-height: 1.65;
    opacity: 0.65;
}

/* ── Barra inferior ── */
.footer-bottom {
    padding: 20px 0;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--footer-color, #a7b1c7);
    opacity: 0.55;
}

.footer-copy p { margin: 0; }

/* ── Responsivo ── */
@media (max-width: 860px) {
    .footer-columns--4 { grid-template-columns: 1fr 1fr; }
    .footer-columns--3 { grid-template-columns: 1fr 1fr; }
    .footer-columns--2 { grid-template-columns: 1fr; }
    .footer-brand-text { max-width: 100%; }
}

@media (max-width: 560px) {
    .footer-columns--4,
    .footer-columns--3 { grid-template-columns: 1fr; }
    .footer-disclaimer { flex-direction: column; align-items: center; text-align: center; }
    .footer-disclaimer img { width: 60px; }
    .footer-bottom { text-align: center; }
}

.section h2 {
    font-size: clamp(1.6rem, 2.5vw + 0.6rem, 2.2rem);
    margin-bottom: 14px;
}

.section p {
    color: var(--muted);
}

.platforms-text p,
.split-content p {
    max-width: 520px;
}

.split-text {
    max-width: 560px;
    color: var(--muted);
}

.split-text > *:first-child {
    margin-top: 0;
}

.split-text > *:last-child {
    margin-bottom: 0;
}

.split-text ul,
.split-text ol {
    padding-left: 1.2em;
    margin: 1em 0;
}

.split-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.platforms-media img,
.split-media img,
.hero-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}




.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(16, 20, 32, 0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 90;
}

.scroll-top .icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
    color: #ffffff;
    fill: none;
    stroke: #ffffff;
    flex-shrink: 0;
}

.scroll-top svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #ffffff;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
    background: rgba(40, 46, 70, 0.95);
}

.footer-menu a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a {
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(90, 100, 255, 0.25), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    position: relative;
    padding: 0;
    gap: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2.5px;
    margin: 0;
    background: var(--hamburger-color);
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 2px;
    transform-origin: center;
    transform: translateX(-50%);
}

.nav-toggle span:nth-child(1) {
    top: 12px;
}

.nav-toggle span:nth-child(2) {
    top: 19px;
}

.nav-toggle span:nth-child(3) {
    top: 26px;
}

.mobile-cta {
    display: none;
    gap: 10px;
}

@media (max-width: 980px) {
    .header-cta {
        display: inline-flex;
        margin-left: auto;
        gap: 10px;
        position: relative;
        z-index: 70;
    }

    .brand-logo-desktop {
        display: none;
    }

    .brand-logo-mobile {
        display: inline-flex;
        align-items: center;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: var(--mobile-nav-bg);
        backdrop-filter: blur(14px);
        padding: 110px 24px 40px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transform: translateY(-120%) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
        z-index: 60;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-list {
        display: grid;
        gap: 16px;
        font-size: 1.15rem;
        text-align: center;
        margin-top: 30px;
    }

    .nav-list a {
        display: block;
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 70;
    }

    .mobile-cta {
        display: flex;
        flex-direction: column;
        margin-top: 16px;
        gap: 12px;
        align-items: center;
    }

    .mobile-cta .btn {
        width: min(260px, 100%);
    }

}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 58;
}

body.nav-open .site-nav {
    transform: translateY(0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open .site-main {
    pointer-events: none;
    opacity: 0.15;
    filter: blur(6px);
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .header-cta {
    opacity: 0;
    pointer-events: none;
}

body.nav-open .site-header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
}

body.nav-open .header-inner {
    pointer-events: none;
}

body.nav-open .nav-toggle {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
    .nav-open .site-header {
        z-index: 80;
    }

    .nav-open .nav-toggle {
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 90;
    }
}

.nav-open .site-header {
    background: rgba(10, 14, 24, 0.95);
}

.nav-open .nav-toggle span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

.blog-hero {
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.blog-hero-inner h1 {
    font-size: clamp(1.8rem, 2.5vw + 0.8rem, 2.6rem);
    margin: 8px 0 6px;
}

.blog-search form {
    display: flex;
    gap: 8px;
}

.blog-search input[type="search"] {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    min-width: 230px;
    height: 44px;
    box-sizing: border-box;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-search input[type="search"]:focus {
    border-color: var(--primary);
    background: rgba(89, 101, 255, 0.08);
}

.blog-search input[type="submit"] {
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--primary);
    color: #fff;
    height: 44px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blog-search input[type="submit"]:hover {
    opacity: 0.85;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    align-items: start;
}

.post-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(4, 8, 20, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(4, 8, 20, 0.55);
    border-color: rgba(89, 101, 255, 0.25);
}

.post-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--card-soft);
    flex-shrink: 0;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumb img {
    transform: scale(1.05);
}

.single-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.thumb-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(89, 101, 255, 0.18) 0%, rgba(54, 211, 153, 0.07) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-fallback::after {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.post-card .post-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    align-self: stretch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card .post-title a {
    color: var(--text);
    transition: color 0.2s ease;
}

.post-card .post-title a:hover {
    color: var(--primary);
}

.post-excerpt {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
    align-self: stretch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(89, 101, 255, 0.12);
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}
.post-category-badge:hover {
    background: rgba(89, 101, 255, 0.22);
    color: var(--primary);
}

.post-meta {
    color: var(--muted);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.post-meta .post-date,
.post-meta .post-author-info,
.post-meta .reading-time {
    display: inline-flex;
    align-items: center;
}
.post-meta .post-author-info::before {
    content: '·';
    margin-right: 6px;
    opacity: 0.5;
}
.post-meta .reading-time::before {
    content: '·';
    margin-right: 6px;
    opacity: 0.5;
}

.post-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-read::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s ease;
}

.post-card:hover .post-read::after {
    transform: translateX(3px);
}

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pagination .page-numbers:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.pagination .current {
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(89, 101, 255, 0.4);
}

/* ============================================================
   SINGLE POST — Breadcrumb
   ============================================================ */
.single-breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-soft);
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--muted);
}

.breadcrumb-list a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--text);
}

.breadcrumb-sep {
    opacity: 0.4;
    user-select: none;
}

.breadcrumb-current {
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

/* ============================================================
   SINGLE POST — Header
   ============================================================ */
.single-header {
    padding: 40px 0 28px;
}

.single-header-inner {
    max-width: 780px;
}

.single-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(89, 101, 255, 0.25);
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-badge:hover {
    background: var(--primary);
    color: #fff;
}

.single-title {
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.8rem);
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--text);
}

.single-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.single-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.meta-author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    display: block;
}

.meta-details-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

/* ============================================================
   SINGLE POST — Featured image
   ============================================================ */
.single-featured-wrap {
    margin-bottom: 0;
}

.single-thumb {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-height: 480px;
}

.single-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   SINGLE POST — Layout (content + sidebar)
   ============================================================ */
.single-body {
    padding: 40px 0 0;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 48px;
    align-items: start;
}

.single-article,
.single-sidebar {
    min-width: 0;
}

.single-sidebar {
    width: 100%;
}

/* ============================================================
   SINGLE POST — Content typography
   ============================================================ */
.single-article .content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

.single-article .content p {
    margin: 0 0 1.4em;
}

.single-article .content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 2em 0 0.6em;
    line-height: 1.25;
}

.single-article .content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.6em 0 0.5em;
    line-height: 1.3;
}

.single-article .content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.4em 0 0.4em;
}

.single-article .content ul,
.single-article .content ol {
    margin: 0 0 1.4em;
    padding-left: 1.5em;
    display: grid;
    gap: 6px;
}

.single-article .content li {
    color: var(--muted);
}

.single-article .content strong,
.single-article .content b {
    color: var(--text);
    font-weight: 600;
}

.single-article .content blockquote {
    margin: 1.6em 0;
    padding: 16px 20px;
    border-left: 3px solid var(--primary);
    background: var(--card-soft);
    border-radius: 0 12px 12px 0;
    color: var(--text);
    font-style: italic;
}

.single-article .content blockquote p {
    margin: 0;
}

.single-article .content img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    margin: 1.4em auto;
}

.single-article .content iframe,
.page-article .content iframe,
.longform-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.single-article .content .wp-block-embed,
.page-article .content .wp-block-embed,
.longform-content .wp-block-embed {
    width: 100%;
    max-width: 100%;
    margin: 1.6em 0;
}

.single-article .content .wp-block-embed__wrapper,
.page-article .content .wp-block-embed__wrapper,
.longform-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #0b0f18;
}

.single-article .content .wp-block-embed__wrapper iframe,
.page-article .content .wp-block-embed__wrapper iframe,
.longform-content .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.notfound {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.notfound-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.notfound-content h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
    margin-bottom: 12px;
}

.notfound-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.notfound-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
}

.notfound-code {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(89, 101, 255, 0.9);
    margin-bottom: 10px;
}

.notfound-search form {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.notfound-search input[type="search"] {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    min-width: 220px;
}

.notfound-search input[type="submit"] {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--primary);
    color: #fff;
}

.single-article .content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 1.4em 0;
}

.single-article .content th,
.single-article .content td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.single-article .content th {
    background: var(--card);
    color: var(--text);
    font-weight: 600;
}

.single-article .content td {
    color: var(--muted);
}

.single-article .content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 2em 0;
}

/* ============================================================
   SINGLE POST — Tags
   ============================================================ */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.tag-chip:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: rgba(89, 101, 255, 0.3);
}

/* ============================================================
   SINGLE POST — Share
   ============================================================ */
.single-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.share-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.share-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-whatsapp { color: #25d366; border-color: rgba(37, 211, 102, 0.25); }
.share-whatsapp:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.4); }

.share-twitter { color: var(--text); }

.share-copy .copy-done { display: none; }
.share-copy.copied .copy-default { display: none; }
.share-copy.copied .copy-done { display: inline; }
.share-copy.copied { color: var(--accent); border-color: rgba(54, 211, 153, 0.3); }

/* ============================================================
   SINGLE POST — Sidebar
   ============================================================ */
.sidebar-sticky {
    position: sticky;
    top: calc(80px + 24px);
    max-width: 100%;
    max-height: calc(100vh - 80px - 48px);
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar-sticky::-webkit-scrollbar {
    display: none;
}

.sidebar-cta-card {
    background: linear-gradient(145deg, rgba(89, 101, 255, 0.15), rgba(54, 211, 153, 0.07));
    border: 1px solid rgba(89, 101, 255, 0.25);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.sidebar-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 10px;
}

.sidebar-cta-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.3;
}

.sidebar-cta-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.sidebar-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    min-width: 0;
    white-space: normal;
}

/* ── Sidebar: mini-cards de posts relacionados ───────────────────────────── */
.sidebar-related {
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 20px;
}

body.theme-light .sidebar-related {
    border-color: rgba(0, 0, 0, 0.08);
}

.sidebar-related-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 16px;
}

.sidebar-related-list {
    display: grid;
    gap: 14px;
}

.sidebar-related-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.sidebar-related-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--card);
}

.sidebar-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sidebar-related-item:hover .sidebar-related-thumb img {
    transform: scale(1.06);
}

.sidebar-related-info {
    flex: 1;
    min-width: 0;
}

.sidebar-related-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-related-item:hover .sidebar-related-title {
    color: var(--primary);
}

.sidebar-related-date {
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 5px;
}

.sidebar-related-item + .sidebar-related-item {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-light .sidebar-related-item + .sidebar-related-item {
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* ── Sidebar: gap entre blocos ──────────────────────────────────────────── */
.sidebar-sticky > * + * {
    margin-top: 20px;
}

.sidebar-widgets {
    display: grid;
    gap: 14px;
}

.widget {
    max-width: 100%;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.single-sidebar .sidebar-widgets {
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
}

.single-sidebar .widget {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.widget-title {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.3;
}

.widget ul,
.widget ol {
    margin: 0;
    padding-left: 1.2em;
}

.widget li + li {
    margin-top: 8px;
}

.widget a {
    color: var(--text);
}

.widget a:hover {
    color: var(--accent);
}

.widget img,
.widget iframe {
    max-width: 100%;
}

.widget input,
.widget select,
.widget textarea {
    max-width: 100%;
}

/* ============================================================
   SINGLE POST — Author box
   ============================================================ */
.single-author-wrap {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
}

.author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 780px;
}

.author-box-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-box-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 4px;
}

.author-box-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.author-box-name a {
    color: var(--text);
    transition: color 0.2s ease;
}

.author-box-name a:hover {
    color: var(--primary);
}

.author-box-bio {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   SINGLE POST — Prev/Next navigation
   ============================================================ */
.single-nav-posts {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.single-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nav-post {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-post:hover {
    background: var(--card);
    border-color: rgba(89, 101, 255, 0.2);
}

.nav-next {
    text-align: right;
}

.nav-post-dir {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

/* ============================================================
   SINGLE POST — Related posts
   ============================================================ */
.single-related {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(89, 101, 255, 0.2);
}

.related-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--card-soft);
    flex-shrink: 0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.related-card:hover .related-thumb img {
    transform: scale(1.04);
}

.related-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(89, 101, 255, 0.15), rgba(54, 211, 153, 0.06));
}

.related-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-date {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

.related-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   SINGLE POST — Bottom CTA
   ============================================================ */
.single-bottom-cta {
    margin-top: 40px;
    padding: 60px 0;
    background: linear-gradient(120deg, rgba(89, 101, 255, 0.2), rgba(54, 211, 153, 0.08));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-bottom-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.bottom-cta-text h2 {
    font-size: clamp(1.4rem, 2vw + 0.6rem, 1.9rem);
    margin: 8px 0 10px;
    color: var(--text);
}

.bottom-cta-text p {
    color: var(--muted);
    max-width: 480px;
    margin: 0;
}

.bottom-cta-btn {
    white-space: nowrap;
    padding: 14px 32px;
    font-size: 1rem;
}

/* ============================================================
   SECTION — Grade de Artigos (section-posts)
   ============================================================ */
.section-posts {
    padding: 80px 0;
}

/* ── Cabeçalho da seção ── */
.posts-header {
    text-align: center;
    margin-bottom: 48px;
}

/* ── Rodapé da seção (botão ver todos) ── */
.posts-footer {
    text-align: center;
    margin-top: 48px;
}

/* ── Layout: Grade ── */
.posts-grid {
    display: grid;
    gap: 28px;
}

.posts-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.posts-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.posts-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Layout: Lista ── */
.posts-list {
    display: grid;
    gap: 16px;
}

.post-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.post-row:hover {
    border-color: rgba(89, 101, 255, 0.25);
    box-shadow: 0 8px 32px rgba(4, 8, 20, 0.4);
    transform: translateX(4px);
}

body.theme-light .post-row {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
}

.post-row-thumb {
    width: 100px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--card-soft);
}

.post-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.post-row:hover .post-row-thumb img {
    transform: scale(1.06);
}

.post-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-row-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.post-row:hover .post-row-title {
    color: var(--primary);
}

.post-row-excerpt {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ── Layout: Destaque ── */
.posts-featured {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: 28px;
    align-items: start;
}

.posts-featured-main {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.posts-featured-main:hover {
    border-color: rgba(89, 101, 255, 0.3);
    box-shadow: 0 16px 48px rgba(4, 8, 20, 0.5);
}

body.theme-light .posts-featured-main {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
}

.posts-featured-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--card-soft);
}

.posts-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.posts-featured-main:hover .posts-featured-thumb img {
    transform: scale(1.04);
}

.posts-featured-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.posts-featured-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    transition: color 0.2s ease;
    margin: 0;
    align-self: stretch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.posts-featured-main:hover .posts-featured-title {
    color: var(--primary);
}

.posts-featured-excerpt {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    align-self: stretch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.posts-featured-date {
    font-size: 0.78rem;
    color: var(--muted);
}

.posts-featured-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Metadados comuns ── */
.post-meta-row {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 10px;
    flex-wrap: wrap;
}

.post-date,
.post-readtime {
    font-size: 0.78rem;
    color: var(--muted);
}

.post-readtime::before {
    content: '·';
    margin-right: 10px;
}

.cat-badge--sm {
    font-size: 0.7rem;
    padding: 2px 8px;
}

/* ── Responsivo ── */
@media (max-width: 900px) {
    .posts-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
    .posts-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
    .posts-featured     { grid-template-columns: 1fr; }
    .posts-featured-side { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .posts-grid--cols-4,
    .posts-grid--cols-3,
    .posts-grid--cols-2 { grid-template-columns: 1fr; }
    .posts-featured-side { grid-template-columns: 1fr; }
    .post-row-thumb { width: 80px; }
}

/* ============================================================
   SINGLE POST — Responsive
   ============================================================ */
@media (max-width: 980px) {
    .single-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .single-sidebar {
        order: -1;
    }

    .sidebar-sticky {
        position: static;
    }

    .sidebar-cta-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px 24px;
        text-align: left;
        align-items: center;
    }

    .sidebar-cta-card .sidebar-eyebrow,
    .sidebar-cta-card .sidebar-cta-title,
    .sidebar-cta-card .sidebar-cta-text {
        grid-column: 1;
    }

    .sidebar-cta-btn {
        grid-column: 2;
        grid-row: 1 / 4;
        width: auto;
        align-self: center;
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-bottom-cta-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .single-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .single-nav-inner {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
    }

    .sidebar-cta-card {
        grid-template-columns: 1fr;
    }

    .sidebar-cta-btn {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 90px 0 70px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-align-center .hero-cta {
        align-items: center;
        justify-content: center;
    }

    .split-content .split-cta {
        display: flex;
        width: fit-content;
        margin-inline: auto;
    }

    .blog-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-search form {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .blog-search {
        width: min(100%, 360px);
    }

    .blog-search input[type="search"] {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .blog-search input[type="submit"] {
        flex: 0 0 auto;
        width: auto;
        padding-inline: 18px;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Card layout: Lista ─────────────────────────────────────────────────────*/
.card-layout--list .post-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}
.card-layout--list .post-card {
    flex-direction: row;
    align-items: stretch;
}
.card-layout--list .post-thumb {
    width: 260px;
    min-width: 260px;
    aspect-ratio: unset;
    border-radius: var(--radius) 0 0 var(--radius);
}
.card-layout--list .post-body {
    padding: 20px 22px;
    justify-content: center;
}
.card-layout--list .post-card .post-title {
    font-size: 1rem;
}
@media (max-width: 600px) {
    .card-layout--list .post-card {
        flex-direction: column;
    }
    .card-layout--list .post-thumb {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius) var(--radius) 0 0;
    }
}

/* ─── Card layout: Magazine ──────────────────────────────────────────────────*/
.card-layout--magazine .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
/* Primeiro card: ocupa toda a largura, layout horizontal */
.card-layout--magazine .post-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}
.card-layout--magazine .post-card:first-child .post-thumb {
    width: 52%;
    min-width: 52%;
    aspect-ratio: unset;
    border-radius: var(--radius) 0 0 var(--radius);
}
.card-layout--magazine .post-card:first-child .post-body {
    padding: 28px 32px;
    justify-content: center;
}
.card-layout--magazine .post-card:first-child .post-title {
    font-size: 1.3rem;
    line-height: 1.3;
}
.card-layout--magazine .post-card:first-child .post-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
@media (max-width: 768px) {
    .card-layout--magazine .post-grid {
        grid-template-columns: 1fr;
    }
    .card-layout--magazine .post-card:first-child {
        flex-direction: column;
    }
    .card-layout--magazine .post-card:first-child .post-thumb {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius) var(--radius) 0 0;
    }
}

/* ============================================================
   PAGE — Header
   ============================================================ */
.page-header {
    padding: 44px 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-title {
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.6rem);
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--text);
}

.page-header-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.page-read-time,
.page-updated {
    font-size: 0.8rem;
    color: var(--muted);
}

.page-read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--primary-soft);
    border: 1px solid rgba(89, 101, 255, 0.2);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   PAGE — Layout
   ============================================================ */
.page-body {
    padding: 40px 0;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
}

/* Tela cheia — sem sidebar, conteúdo mais largo e centralizado */
.page-layout--full {
    display: block;
    max-width: 780px;
    margin-inline: auto;
}

.page-sidebar-sticky {
    position: sticky;
    top: calc(80px + 24px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================================
   GUTENBERG SIDEBAR — Tipografia do conteúdo (herda do .page-article)
   ============================================================ */
.gs-content p    { margin: 0 0 1.4em; color: var(--text); }
.gs-content h2   { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 2em 0 0.6em; line-height: 1.25; }
.gs-content h3   { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 1.6em 0 0.5em; line-height: 1.3; }
.gs-content h4   { font-size: 1rem;   font-weight: 700; color: var(--text); margin: 1.4em 0 0.4em; }
.gs-content ul,
.gs-content ol   { margin: 0 0 1.4em; padding-left: 1.5em; display: grid; gap: 6px; }
.gs-content li   { color: var(--text); }
.gs-content strong,
.gs-content b    { color: var(--text); font-weight: 600; }
.gs-content blockquote {
    margin: 1.6em 0; padding: 16px 20px;
    border-left: 3px solid var(--primary);
    background: var(--card-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text); font-style: italic;
}
.gs-content blockquote p { margin: 0; }
.gs-content img  { border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 1.4em auto; }
.gs-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.4em 0; }
.gs-content th,
.gs-content td   { padding: 10px 14px; border: 1px solid rgba(128,128,128,0.15); text-align: left; }
.gs-content th   { background: var(--card); color: var(--text); font-weight: 600; }
.gs-content td   { color: var(--muted); }
.gs-content hr   { border: none; border-top: 1px solid rgba(128,128,128,0.15); margin: 2em 0; }
.gs-content a    { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gs-content a:hover { color: var(--primary); }

/* ============================================================
   GUTENBERG SIDEBAR — Meta do artigo (data + leitura)
   ============================================================ */
.gs-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.gs-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted, #a0a6b1);
    line-height: 1;
}

.gs-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.gs-share {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ============================================================
   PAGE — TOC (Table of Contents)
   ============================================================ */
.page-toc {
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 22px 20px;
}

.toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin: 0 0 14px;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
    counter-reset: toc-counter;
}

.toc-item {
    counter-increment: toc-counter;
}

.toc-link {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.825rem;
    color: var(--muted);
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.toc-link::before {
    content: counter(toc-counter);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toc-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.toc-link:hover::before {
    background: var(--primary-soft);
    color: var(--primary);
}

.toc-item.toc-level-3 .toc-link {
    padding-left: 22px;
    font-size: 0.8rem;
    color: rgba(167, 177, 199, 0.75);
}

/* TOC active link (set via JS scroll spy) */
.toc-link.is-active {
    color: var(--primary);
    background: var(--primary-soft);
}

.toc-link.is-active::before {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   PAGE — Content typography (reutiliza .single-article .content)
   ============================================================ */
.page-article .content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

.page-article .content p    { margin: 0 0 1.4em; }
.page-article .content h2   { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 2em 0 0.6em; line-height: 1.25; }
.page-article .content h3   { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 1.6em 0 0.5em; line-height: 1.3; }
.page-article .content h4   { font-size: 1rem;   font-weight: 700; color: var(--text); margin: 1.4em 0 0.4em; }
.page-article .content ul,
.page-article .content ol   { margin: 0 0 1.4em; padding-left: 1.5em; display: grid; gap: 6px; }
.page-article .content li   { color: var(--muted); }
.page-article .content strong,
.page-article .content b    { color: var(--text); font-weight: 600; }
.page-article .content blockquote {
    margin: 1.6em 0; padding: 16px 20px;
    border-left: 3px solid var(--primary);
    background: var(--card-soft);
    border-radius: 0 12px 12px 0;
    color: var(--text); font-style: italic;
}
.page-article .content blockquote p { margin: 0; }
.page-article .content img  { border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 1.4em auto; }
.page-article .content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.4em 0; }
.page-article .content th,
.page-article .content td   { padding: 10px 14px; border: 1px solid rgba(128,128,128,0.15); text-align: left; }
.page-article .content th   { background: var(--card); color: var(--text); font-weight: 600; }
.page-article .content td   { color: var(--muted); }
.page-article .content hr   { border: none; border-top: 1px solid rgba(128,128,128,0.15); margin: 2em 0; }
.page-article .content a    { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page-article .content a:hover { color: var(--primary); }

/* ============================================================
   PAGE — Responsive
   ============================================================ */
@media (max-width: 980px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        order: -1;
    }

    .page-sidebar-sticky {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .page-toc {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .page-sidebar-sticky {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CATEGORY — Hero
   ============================================================ */
.cat-hero {
    padding: 44px 0 32px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-hero-title {
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.6rem);
    margin: 8px 0 12px;
    color: var(--text);
}

.cat-hero-desc {
    color: var(--muted);
    max-width: 600px;
    margin: 0 0 16px;
    line-height: 1.7;
}

.cat-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-count-badge,
.cat-page-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.cat-count-badge {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(89, 101, 255, 0.25);
}

.cat-page-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   CATEGORY — Sub-categorias
   ============================================================ */
.cat-subcats {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg);
}

.subcats-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.subcats-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.subcat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(89, 101, 255, 0.3);
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 4px;
}

/* ============================================================
   CATEGORY — Layout (grid + sidebar)
   ============================================================ */
.cat-body {
    padding: 40px 0;
}

.cat-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
}

.cat-sidebar-sticky {
    position: sticky;
    top: calc(80px + 24px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================================
   CATEGORY — Empty state
   ============================================================ */
.cat-empty {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.cat-empty-msg {
    color: var(--muted);
    font-size: 1.05rem;
}

/* ============================================================
   CATEGORY — Sidebar widgets
   ============================================================ */
.sidebar-widget {
    background: var(--card-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 22px 20px;
}

.sidebar-widget-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin: 0 0 16px;
}

.cat-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.cat-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.cat-nav-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 7px;
    border-radius: 999px;
    flex-shrink: 0;
}

/* ============================================================
   CATEGORY — Responsive
   ============================================================ */
@media (max-width: 980px) {
    .cat-layout {
        grid-template-columns: 1fr;
    }

    .cat-sidebar {
        order: -1;
    }

    .cat-sidebar-sticky {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .sidebar-cta-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px 20px;
        text-align: left;
        align-items: center;
    }

    .sidebar-cta-card .sidebar-eyebrow,
    .sidebar-cta-card .sidebar-cta-title,
    .sidebar-cta-card .sidebar-cta-text {
        grid-column: 1;
    }

    .sidebar-cta-btn {
        grid-column: 2;
        grid-row: 1 / 4;
        width: auto;
        align-self: center;
    }
}

@media (max-width: 640px) {
    .cat-sidebar-sticky {
        grid-template-columns: 1fr;
    }

    .sidebar-cta-card {
        grid-template-columns: 1fr;
    }

    .sidebar-cta-btn {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}

/* ============================================================
   Skip link (acessibilidade)
   ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 12px 12px;
    z-index: 9999;
    transition: top 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.skip-link:focus-visible {
    top: 0;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================================
   Focus visible — navegacao por teclado
   ============================================================ */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 8px;
}

.blog-search input[type="search"]:focus-visible,
.blog-search input[type="submit"]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================================
   Scroll margin — compensa sticky header em anchor links
   ============================================================ */
[id] {
    scroll-margin-top: 88px;
}

/* ============================================================
   Links em conteudo editorial
   ============================================================ */
.content a,
.longform-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.content a:hover,
.longform-content a:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

/* ─── Top Bar ────────────────────────────────────────────────────────────────*/
.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-color);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 16px;
    text-align: center;
    position: relative;
    z-index: 110;
    display: none;
}
.topbar.is-active {
    display: block;
}
.topbar.is-hiding {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.3s ease;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.topbar a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}
.topbar a:hover {
    opacity: 0.8;
}
.topbar-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
    padding: 4px 8px;
    line-height: 1;
    transition: opacity 0.15s ease;
}
.topbar-close:hover {
    opacity: 1;
}
@media (max-width: 600px) {
    .topbar-close {
        position: static;
        transform: none;
        margin-left: auto;
    }
}

/* ─── WhatsApp flutuante ─────────────────────────────────────────────────────*/
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 90;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background: var(--wa-color-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.whatsapp-float-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 14, 24, 0.92);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
}
.whatsapp-float-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: rgba(10, 14, 24, 0.92);
}
.whatsapp-float.position-right {
    left: auto;
    right: 28px;
}
.whatsapp-float.position-right .whatsapp-float-tooltip {
    left: auto;
    right: calc(100% + 12px);
}
.whatsapp-float.position-right .whatsapp-float-tooltip::before {
    right: auto;
    left: 100%;
    border-right-color: transparent;
    border-left-color: rgba(10, 14, 24, 0.92);
}

/* ─── Redes sociais ──────────────────────────────────────────────────────────*/
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.social-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}
.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ─── Footer brand + social ──────────────────────────────────────────────────*/
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-brand p {
    font-size: 0.875rem;
    margin: 0;
}

/* ─── Blog cards — visibilidade controlada via body class ────────────────────*/
.hide-card-author .post-meta .post-author-info  { display: none; }
.hide-card-date   .post-meta .post-date         { display: none; }
.hide-card-cat    .post-category-badge          { display: none; }
.hide-card-time   .post-meta .reading-time      { display: none; }

/* Quando a data está oculta, o separador do autor (que fica logo após) some */
.hide-card-date .post-meta .post-author-info::before { display: none; }

/* ─── Tipografia avançada — line-height herdado do :root ─────────────────────*/
html {
    font-size: var(--base-size);
}

/* ============================================================
   Prefers-reduced-motion — desativa animacoes para quem prefere
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
