/* Blog INflow — estilos compartilhados do hub e das páginas de artigo. Gerado a partir de blog.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--bg-light);
      color: var(--text-light);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
    ul { list-style: none; }

    .container {
      max-width: var(--maxw);
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 3;
    }

    /* ========== TOP BAR ========== */
    .top-bar {
      background: var(--bg-dark);
      color: var(--text-dark);
      text-align: center;
      padding: 10px 16px;
      font-size: 13px;
      letter-spacing: 0.03em;
      position: relative;
      z-index: 100;
    }
    .top-bar strong { color: var(--accent); }

    /* ========== HEADER ========== */
    .header {
      background: #fff;
      border-bottom: 1px solid var(--border-light);
      position: sticky;
      top: 0;
      z-index: 99;
      transition: var(--transition);
    }
    .header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
    }

    .logo-img { height: 72px; width: auto; }

    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-menu a {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-light-2);
      transition: color 0.3s;
      position: relative;
    }
    .nav-menu a:hover, .nav-menu a.active { color: var(--text-light); }
    .nav-menu a.active::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
    }

    .nav-cta { display: flex; align-items: center; gap: 12px; }

    .nav-social { display: flex; gap: 8px; }

    .social-btn {
      width: 44px; height: 44px;
      border: 1px solid var(--border-light);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-light-2);
      transition: var(--transition);
    }
    .social-btn:hover { border-color: var(--accent); color: var(--accent); }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      transition: var(--transition);
    }
    .btn-primary { background: var(--accent); color: #fff; }
    .btn-primary:hover { background: var(--accent-hover); }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 4px;
    }
    .menu-toggle span {
      display: block;
      width: 24px; height: 2px;
      background: var(--text-light);
      transition: var(--transition);
    }

    /* ========== BLOG HERO ========== */
    .blog-hero {
      background: var(--bg-dark);
      padding: 60px 0 50px;
      position: relative;
      overflow: hidden;
    }
    .blog-hero::before {
      content: '';
      position: absolute;
      top: 0; left: -10%;
      width: 50%; height: 100%;
      background: var(--accent);
      clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%);
      opacity: 0.08;
    }
    .blog-hero-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
      display: flex; align-items: center; gap: 10px;
    }
    .blog-hero-tag::before {
      content: '';
      width: 36px; height: 2px;
      background: var(--accent);
      display: inline-block;
    }
    .blog-hero h1 {
      font-family: var(--font-display);
      font-size: clamp(36px, 5vw, 60px);
      color: #fff;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      line-height: 1.05;
      margin-bottom: 16px;
    }
    .blog-hero h1 .accent { color: var(--accent); font-style: italic; }
    .blog-hero p {
      color: var(--text-dark-2);
      font-size: 16px;
      max-width: 560px;
    }

    /* ========== LAYOUT PRINCIPAL ========== */
    .blog-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 48px;
      padding: 60px 0 80px;
      align-items: start;
    }

    /* ========== ARTIGOS ========== */
    .article-panel { display: block; }
    .article-panel.active { display: block; }

    .article-header {
      margin-bottom: 36px;
      padding-bottom: 28px;
      border-bottom: 2px solid var(--border-light);
    }

    .article-meta {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: flex; align-items: center; gap: 14px;
      flex-wrap: wrap;
    }

    .article-meta-divider { color: var(--border-light-strong); }

    .article-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 4vw, 46px);
      letter-spacing: 0.01em;
      text-transform: uppercase;
      color: var(--text-light);
      line-height: 1.1;
      margin-bottom: 16px;
    }

    .article-title .accent { color: var(--accent); font-style: italic; }

    .article-lead {
      font-size: 18px;
      color: var(--text-light-2);
      line-height: 1.7;
      border-left: 4px solid var(--accent);
      padding-left: 20px;
      margin-top: 20px;
    }

    .article-img-banner {
      background: var(--bg-dark);
      border-radius: 4px;
      height: 260px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 40px;
      position: relative;
      overflow: hidden;
    }
    .article-img-banner::before {
      content: '';
      position: absolute;
      top: -20%; right: -10%;
      width: 55%; height: 140%;
      background: var(--accent);
      clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
      opacity: 0.12;
    }
    .article-img-banner svg {
      width: 80px; height: 80px;
      color: #fff;
      opacity: 0.15;
      position: relative; z-index: 1;
    }
    .article-img-label {
      position: absolute;
      bottom: 20px; left: 24px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
    }

    .article-body h2 {
      font-family: var(--font-display);
      font-size: clamp(22px, 3vw, 32px);
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: var(--text-light);
      margin: 44px 0 16px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--border-light);
      line-height: 1.1;
    }
    .article-body h2 .accent { color: var(--accent); }

    .article-body h3 {
      font-size: 18px;
      font-weight: 800;
      color: var(--text-light);
      margin: 28px 0 10px;
    }

    .article-body p {
      font-size: 16px;
      color: var(--text-light-2);
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .article-body strong { color: var(--text-light); font-weight: 700; }

    .article-body ul, .article-body ol {
      margin: 16px 0 24px 0;
      padding-left: 0;
    }
    .article-body ul li, .article-body ol li {
      font-size: 16px;
      color: var(--text-light-2);
      line-height: 1.7;
      margin-bottom: 10px;
      padding-left: 28px;
      position: relative;
      list-style: none;
    }
    .article-body ul li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: 700;
    }
    .article-body ol { counter-reset: art-counter; }
    .article-body ol li { counter-increment: art-counter; }
    .article-body ol li::before {
      content: counter(art-counter) '.';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: 700;
      font-family: var(--font-mono);
      font-size: 13px;
    }

    /* Destaque / Blockquote */
    .article-highlight {
      background: var(--bg-dark);
      color: #fff;
      padding: 28px 32px;
      margin: 32px 0;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    }
    .article-highlight::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0; left: 0;
      width: 5px;
      background: var(--accent);
    }
    .article-highlight p {
      color: #fff;
      font-size: 17px;
      font-weight: 600;
      line-height: 1.6;
      margin: 0;
      position: relative; z-index: 1;
    }
    .article-highlight p em { color: var(--accent); font-style: normal; }

    /* Stats inline */
    .article-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 32px 0;
    }
    .article-stat-box {
      background: var(--bg-light-2);
      border: 1px solid var(--border-light);
      padding: 24px 20px;
      text-align: center;
      clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }
    .article-stat-num {
      font-family: var(--font-display);
      font-size: 36px;
      color: var(--accent);
      letter-spacing: 0.02em;
      line-height: 1;
      margin-bottom: 6px;
    }
    .article-stat-label {
      font-size: 12px;
      color: var(--text-light-3);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
    }

    /* Tabela comparativa */
    .article-table {
      width: 100%;
      border-collapse: collapse;
      margin: 28px 0;
      font-size: 14px;
    }
    .article-table th {
      background: var(--bg-dark);
      color: #fff;
      padding: 12px 16px;
      text-align: left;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-size: 12px;
    }
    .article-table th:first-child { color: var(--accent); }
    .article-table td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--border-light);
      color: var(--text-light-2);
    }
    .article-table tr:last-child td { border-bottom: none; }
    .article-table tr:nth-child(even) td { background: var(--bg-light-2); }
    .article-table .highlight-row td { color: var(--text-light); font-weight: 700; }
    .article-table .highlight-row td:first-child { color: var(--accent); }
    .article-table .check { color: #22c55e; font-weight: 700; }
    .article-table .cross { color: #ef4444; font-weight: 700; }

    /* CTA no artigo */
    .article-cta {
      background: var(--accent);
      padding: 36px 40px;
      margin: 48px 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
      flex-wrap: wrap;
    }
    .article-cta h3 {
      font-family: var(--font-display);
      font-size: 28px;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      margin: 0;
    }
    .article-cta h3 em { font-style: italic; }
    .btn-white {
      background: #fff;
      color: var(--accent);
      padding: 12px 28px;
      font-weight: 800;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      display: inline-flex; align-items: center; gap: 8px;
      transition: var(--transition);
      white-space: nowrap;
    }
    .btn-white:hover { background: var(--bg-dark); color: #fff; }

    /* Tags do artigo */
    .article-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 36px 0 0;
      padding-top: 28px;
      border-top: 1px solid var(--border-light);
    }
    .article-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--accent);
      padding: 4px 12px;
      border-radius: 2px;
    }

    /* ========== SIDEBAR ========== */
    .blog-sidebar {
      position: sticky;
      top: 90px;
    }

    .sidebar-block {
      background: var(--bg-light-2);
      border: 1px solid var(--border-light);
      padding: 28px 24px;
      margin-bottom: 24px;
    }

    .sidebar-title {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
      display: flex; align-items: center; gap: 8px;
    }
    .sidebar-title::before {
      content: '';
      width: 24px; height: 2px;
      background: var(--accent);
      display: inline-block;
    }

    .sidebar-article {
      display: flex;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-light);
      cursor: pointer;
      transition: var(--transition);
      border-left: 3px solid transparent;
      padding-left: 12px;
      margin-left: -12px;
    }
    .sidebar-article:last-child { border-bottom: none; }
    .sidebar-article:hover { border-left-color: var(--accent); }
    .sidebar-article.active { border-left-color: var(--accent); background: rgba(237,28,36,0.04); }

    .sidebar-article-icon {
      width: 44px; height: 44px;
      background: var(--bg-dark);
      flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }
    .sidebar-article-icon svg { width: 20px; height: 20px; color: var(--accent); }
    .sidebar-article.active .sidebar-article-icon { background: var(--accent); }
    .sidebar-article.active .sidebar-article-icon svg { color: #fff; }

    .sidebar-article-info { flex: 1; min-width: 0; }
    .sidebar-article-cat {
      font-family: var(--font-mono);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 4px;
    }
    .sidebar-article-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-light);
      line-height: 1.4;
    }
    .sidebar-article-date {
      font-size: 11px;
      color: var(--text-light-3);
      margin-top: 4px;
      font-family: var(--font-mono);
    }

    /* Sidebar CTA */
    .sidebar-cta {
      background: var(--bg-dark);
      padding: 28px 24px;
      text-align: center;
    }
    .sidebar-cta p {
      color: var(--text-dark-2);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .sidebar-cta strong { color: #fff; }
    .btn-cta-sidebar {
      display: block;
      background: var(--accent);
      color: #fff;
      padding: 12px 20px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-align: center;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      transition: var(--transition);
    }
    .btn-cta-sidebar:hover { background: var(--accent-hover); }

    /* Sidebar compartilhar */
    .sidebar-share {
      display: flex; gap: 10px; flex-wrap: wrap;
      margin-top: 8px;
    }
    .share-btn {
      flex: 1;
      min-width: 80px;
      padding: 9px 12px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid var(--border-light);
      display: flex; align-items: center; justify-content: center; gap: 6px;
      transition: var(--transition);
      cursor: pointer;
      color: var(--text-light-2);
    }
    .share-btn:hover { border-color: var(--accent); color: var(--accent); }
    .share-btn svg { width: 14px; height: 14px; }

    /* ========== FOOTER ========== */
    .footer {
      background: var(--bg-dark);
      color: var(--text-dark);
      padding: 64px 0 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-about {
      color: var(--text-dark-2);
      font-size: 14px;
      line-height: 1.7;
      margin: 16px 0 24px;
    }
    .footer-social { display: flex; gap: 8px; }
    .footer-col h4 {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a {
      color: var(--text-dark-2);
      font-size: 14px;
      transition: color 0.3s;
    }
    .footer-links a:hover { color: #fff; }
    .contact-item {
      display: flex; gap: 12px; align-items: flex-start;
      margin-bottom: 14px;
    }
    .contact-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
    .contact-item span { color: var(--text-dark-2); font-size: 14px; line-height: 1.5; }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 24px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--text-dark-2);
      flex-wrap: wrap;
      gap: 8px;
    }

    /* WhatsApp float */
    .whatsapp-float {
      position: fixed;
      bottom: 28px; right: 28px;
      width: 58px; height: 58px;
      background: #25d366;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 24px rgba(37,211,102,0.45);
      z-index: 200;
      transition: var(--transition);
    }
    .whatsapp-float:hover { transform: scale(1.1); }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 1024px) {
      .blog-layout { grid-template-columns: 1fr; }
      .blog-sidebar { position: static; }
      .article-stats { grid-template-columns: repeat(3, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
      .nav-social { display: none; }

      .nav-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        font-size: 20px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 98;
      }
      .nav-menu.open { transform: translateX(0); }
      .menu-toggle { display: flex; z-index: 99; }
    }

    @media (max-width: 768px) {
      .article-stats { grid-template-columns: 1fr 1fr; }
      .article-cta { flex-direction: column; text-align: center; }
      .footer-grid { grid-template-columns: 1fr; }
      .sidebar-article { margin-left: 0; padding-left: 14px; }
    }

    @media (max-width: 480px) {
      .article-stats { grid-template-columns: 1fr; }
      .article-table { font-size: 12px; }
      .article-table th, .article-table td { padding: 8px 10px; }
    }
  

    /* ===================================================================
       ADDED: hub grid + standalone article page + breadcrumb
       =================================================================== */
    .blog-index { padding: 52px 0 84px; }
    .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .blog-card {
      display: flex; flex-direction: column;
      background: #fff; border: 1px solid var(--border-light);
      overflow: hidden; transition: var(--transition);
      color: inherit; text-decoration: none;
    }
    .blog-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12); }
    .blog-card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
    .blog-card .blog-meta {
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
      color: var(--accent); text-transform: uppercase; font-weight: 700;
      margin-bottom: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    }
    .blog-card .blog-meta .sep { color: var(--border-light-strong); }
    .blog-card h2 { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: var(--text-light); letter-spacing: -0.01em; }
    .blog-card p { color: var(--text-light-2); font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
    .blog-read {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text-light); border-bottom: 3px solid var(--accent); padding-bottom: 4px; align-self: flex-start;
    }

    .crumbs { font-family: var(--font-mono); font-size: 12px; color: var(--text-light-3); padding: 22px 0 0; }
    .crumbs a { color: var(--text-light-2); }
    .crumbs a:hover { color: var(--accent); }
    .crumbs span { color: var(--text-light-3); }

    .article-post { max-width: 820px; margin: 0 auto; padding: 20px 0 64px; }
    .article-post .article-header { margin-top: 8px; }

    .related { max-width: 820px; margin: 0 auto; padding: 0 0 84px; }
    .related-title {
      font-family: var(--font-mono); font-size: 11px; font-weight: 700;
      letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
      margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
    }
    .related-title::before { content: ''; width: 24px; height: 2px; background: var(--accent); display: inline-block; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .related-card {
      display: block; border: 1px solid var(--border-light); background: var(--bg-light-2);
      padding: 18px; color: inherit; text-decoration: none; transition: var(--transition);
    }
    .related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
    .related-card .rc-cat { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
    .related-card .rc-title { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--text-light); }

    /* keep long words / wide tables from stretching the page */
    .article-body { overflow-wrap: break-word; }
    .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; }
    .table-wrap .article-table { margin: 0; min-width: 460px; }

    @media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
    @media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

