@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');

/* ==========================================================
   HENRIQUE LIMA · CADERNO TÉCNICO & LABS
   Design System Editorial Tech (Inspirado em Linno + Tecla + Kairo)
   Zero clichês de IA: Tipografia brutalista/editorial, fios cirúrgicos,
   código d'água tom sobre tom e física interativa real.
   ========================================================== */

:root {
  --bg-main: #080a0f;
  --bg-surface: #0e1219;
  --bg-surface-hover: #131822;
  --bg-inset: #05070a;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: rgba(56, 189, 248, 0.4);

  --accent-cyan: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-pixel: 'Press Start 2P', monospace;

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;

  --container: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--bg-main);
}

/* Marca d'água técnica de código ao fundo (estilo Linno / Tecla) */
.bg-code-watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #fff;
  overflow: hidden;
  user-select: none;
  padding: 2rem;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Barra de Progresso Superior */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent-cyan);
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease-out;
}

/* Header Editorial */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border-medium);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
  letter-spacing: 0.03em;
}

.nav-link .mono-num {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

/* ==========================================================
   UNIFIED HEADER ACTIONS (Shared across Blog and Loja)
   ========================================================== */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.hdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Silkscreen', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 0;
  transition: transform .12s, box-shadow .12s, background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
  cursor: pointer;
}

.hdr-btn svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.hdr-btn-loja {
  padding: 7px 11px 6px;
  background: rgba(255, 190, 26, 0.12);
  border: 1px solid #ffbe1a;
  color: #ffbe1a;
  box-shadow: 0 0 10px rgba(255, 190, 26, 0.2);
}
.hdr-btn-loja:hover {
  background: #ffbe1a;
  color: #04121b;
  box-shadow: 0 0 16px rgba(255, 190, 26, 0.45);
}

.hdr-btn-blog {
  padding: 7px 11px 6px;
  background: rgba(53, 208, 229, 0.12);
  border: 1px solid #35d0e5;
  color: #35d0e5;
  box-shadow: 0 0 10px rgba(53, 208, 229, 0.18);
}
.hdr-btn-blog:hover {
  background: #35d0e5;
  color: #04121b;
  box-shadow: 0 0 16px rgba(53, 208, 229, 0.45);
}

.hdr-btn-game {
  font-size: 11.5px;
  padding: 8px 12px 7px;
  border: 0;
  color: #04121b;
  background: #35d0e5;
  box-shadow: 3px 3px 0 #1b6d77;
  font-weight: 700;
}
.hdr-btn-game:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #1b6d77;
  color: #04121b;
}
.hdr-btn-game:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #1b6d77;
}

.hdr-btn-wpp {
  font-size: 11.5px;
  padding: 8px 12px 7px;
  border: 0;
  color: #04121b;
  background: #25d366;
  box-shadow: 3px 3px 0 #147a38;
  font-weight: 700;
}
.hdr-btn-wpp:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #147a38;
  color: #04121b;
}
.hdr-btn-wpp:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #147a38;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-loja-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 190, 26, 0.12);
  border: 1px solid var(--accent-amber);
  border-radius: var(--radius-xs);
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-loja-chip:hover {
  background: var(--accent-amber);
  color: #06090e;
  box-shadow: 0 0 12px rgba(255, 190, 26, 0.4);
}

.btn-game-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-game-chip:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-surface-hover);
  color: var(--accent-cyan);
}

.btn-lang-toggle {
  background: rgba(6, 11, 20, 0.85);
  border: 1px solid rgba(53, 208, 229, 0.25);
  border-radius: 0;
  padding: 7px 11px 6px;
  color: #7b94ad;
  font-family: 'Silkscreen', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  flex-shrink: 0;
}

.btn-lang-toggle:hover {
  border-color: #35d0e5;
  color: #f0f6fc;
}

.btn-lang-toggle .active {
  color: #35d0e5;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(53, 208, 229, 0.4);
}

/* Hero Section (Asymmetrical Editorial) */
.hero-editorial {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-meta-strip .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  display: inline-block;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero-headline {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-headline .sub-dim {
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 58ch;
}

.hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.telemetry-label {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.telemetry-val {
  color: var(--text-primary);
  font-weight: 600;
}

/* Painel Interativo Direita: Live Canvas Sandbox */
.hero-sandbox-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sandbox-header {
  background: var(--bg-inset);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.sandbox-tabs {
  display: flex;
  gap: 0.5rem;
}

.sandbox-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: all 0.15s;
}

.sandbox-tab.active {
  background: var(--bg-surface);
  color: var(--accent-cyan);
  font-weight: 600;
}

.sandbox-canvas-wrap {
  position: relative;
  height: 200px;
  background: #040609;
  border-bottom: 1px solid var(--border-subtle);
}

#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sandbox-overlay-info {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-cyan);
  pointer-events: none;
  opacity: 0.85;
}

.sandbox-controls-bar {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.btn-sandbox-jump {
  background: var(--accent-cyan);
  color: #040609;
  border: none;
  border-radius: var(--radius-xs);
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-sandbox-jump:hover {
  opacity: 0.9;
}

.sandbox-code-preview {
  padding: 1rem;
  background: var(--bg-inset);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-height: 140px;
  overflow-y: auto;
}

.sandbox-code-preview code {
  color: var(--accent-cyan);
}

/* Seção Principal: Artigo de Capa (Deep Dive) */
.section-cover-article {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cover-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.2s ease;
}

.cover-card:hover {
  border-color: var(--border-active);
}

.cover-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.cover-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cover-read-meta {
  color: var(--text-muted);
}

.cover-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.cover-excerpt {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 75ch;
}

.cover-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding: 1.5rem;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pillar-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cover-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--text-primary);
  color: var(--bg-main);
  border: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-editorial-primary:hover {
  background: var(--accent-cyan);
  color: #040609;
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-editorial-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Seção: Índice Editorial de Artigos (Index Table) */
.section-tutorials-index {
  padding: 4rem 0 5rem;
}

.index-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-medium);
}

.index-heading {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-compact-wrap {
  position: relative;
  width: 320px;
}

.search-compact-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
}

.search-compact-input:focus {
  border-color: var(--accent-cyan);
}

.search-compact-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-kbd-hint {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--bg-inset);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
}

/* Lista de Artigos / Tutoriais */
.articles-index-list {
  display: flex;
  flex-direction: column;
}

.article-row-item {
  display: grid;
  grid-template-columns: 60px 140px 1fr 140px 100px 40px;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.article-row-item:hover {
  background: var(--bg-surface);
  border-color: var(--border-medium);
}

.row-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.row-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.row-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1.5rem;
}

.row-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color 0.15s;
}

.article-row-item:hover .row-title {
  color: var(--accent-cyan);
}

.row-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row-stack {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.row-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
}

.row-arrow {
  color: var(--text-muted);
  display: flex;
  justify-content: flex-end;
  transition: transform 0.15s ease, color 0.15s ease;
}

.article-row-item:hover .row-arrow {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Seção de Autor & YouTube (Autêntico, sem fake stats) */
.section-author-dispatch {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.author-grid {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 3rem;
  align-items: center;
}

.author-portrait-wrap {
  position: relative;
  width: 190px;
  margin: 0 auto;
}

.author-portrait {
  width: 190px;
  height: 190px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
  display: block;
}

.author-portrait-tag {
  position: absolute;
  bottom: -8px;
  left: 8px;
  background: var(--bg-inset);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.author-text h3 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.author-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 60ch;
}

.author-links-row {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.author-links-row a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.author-links-row a:hover {
  color: var(--text-primary);
}

.author-cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.btn-yt-dispatch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-yt-dispatch:hover {
  opacity: 0.9;
}

.yt-dispatch-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Modal Zen Reader (Leitura Técnica Limpa) */
.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 6, 9, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  overflow-y: auto;
  padding: 3rem 1.5rem;
}

.reader-modal.active {
  display: block;
}

.reader-dialog {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 3.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.reader-close-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-reader-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s;
}

.btn-reader-close:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.reader-article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.reader-article-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.reader-article h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
}

.reader-article p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.reader-article ul, .reader-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.reader-article li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.reader-code-block {
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  margin: 1.5rem 0;
  overflow: hidden;
}

.reader-code-header {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reader-code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.reader-callout {
  padding: 1.25rem;
  background: rgba(56, 189, 248, 0.05);
  border-left: 2px solid var(--accent-cyan);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin: 1.75rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Footer Editorial */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Toast */
.editorial-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-primary);
  color: var(--bg-main);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.editorial-toast.show {
  transform: translateY(0);
  opacity: 1;
}


/* ==========================================================
   VITRINE DE POSTS DO BLOG (CARDS HORIZONTAIS 16:9 SLIDER)
   ========================================================== */
.blog-carousel-section {
  margin-bottom: 2.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-cards-header {
  margin-bottom: 1rem;
}

.blog-cards-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
}

.blog-section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.blog-cards-swipe-hint {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.blog-cards-swipe-hint svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.tag-mob,
.hint-mob {
  display: none;
}
.tag-desk,
.hint-desk {
  display: inline;
  white-space: nowrap !important;
}

/* ==========================================================
   TRANSIÇÃO DINÂMICA SUAVE DOS POSTS ABAIXO DOS CARDS
   ========================================================== */
.post-dynamic-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  scroll-margin-top: 85px;
}

.post-article-view {
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-article-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.post-article-view.fading-out {
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.blog-cards-track-wrap {
  position: relative;
  width: 100%;
}

.blog-cards-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  padding: 0.35rem 0.15rem 0.6rem;
}

.blog-cards-track::-webkit-scrollbar {
  height: 5px;
}

.blog-cards-track::-webkit-scrollbar-track {
  background: transparent;
}

.blog-cards-track::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

.blog-post-card {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 230px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  scroll-snap-align: start;
}

.blog-card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-post-card:hover .blog-card-media-wrap {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.blog-post-card.active .blog-card-media-wrap {
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.28), 0 8px 30px rgba(0, 0, 0, 0.6);
}

.blog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 15, 0.1) 0%,
    rgba(8, 10, 15, 0.45) 45%,
    rgba(8, 10, 15, 0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.blog-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.badge-novo {
  background: #f59e0b;
  color: #05070a;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.badge-status-active {
  background: rgba(5, 7, 10, 0.88);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
  letter-spacing: 0.04em;
}

.badge-cat {
  background: rgba(5, 7, 10, 0.8);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.blog-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-card-cat {
  display: none !important;
}

.blog-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.blog-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
  transition: gap 0.2s ease;
}

.blog-post-card:hover .blog-card-action {
  gap: 0.6rem;
}

.blog-cards-nav-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.card-dot {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.card-dot.active {
  width: 40px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* ==========================================================
   ELEMENTOS DO POST: 7 FERRAMENTAS LUCRATIVAS COM IA
   ========================================================== */

.post-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.post-header-hero {
  scroll-margin-top: 85px;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 2.5rem;
}

.post-meta-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.post-lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Galeria do Carrossel Instagram */
.carousel-showcase-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2.5rem 0 3.5rem;
}

.carousel-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.carousel-viewport {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-viewport img {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.carousel-showcase-box.carousel-portrait .carousel-viewport {
  max-width: 620px;
  margin: 0 auto;
  background: #070b10;
}

.carousel-showcase-box.carousel-portrait .carousel-viewport img {
  aspect-ratio: 4 / 5;
  max-width: 620px;
  max-height: 775px;
  object-fit: contain;
  background: #070b10;
}

.carousel-dots-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot-btn {
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.carousel-dot-btn.active {
  background: var(--accent-cyan);
  color: #040609;
  font-weight: 700;
  border-color: var(--accent-cyan);
}

.carousel-dot-btn:hover:not(.active) {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

/* Cards dos 20 Sites para Trabalho Remoto */
.site-item-card {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-item-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.site-item-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-item-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  line-height: 1.2;
}

.site-item-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.btn-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-site-link:hover {
  background: var(--accent-cyan);
  color: #05070a;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.site-item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.site-item-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
}

/* Banner PLUS: MCP de Candidaturas Automatizadas WhatsApp */
.mcp-plus-banner {
  margin: 3.5rem 0 2rem 0;
  padding: 2.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.08) 50%, rgba(8, 10, 15, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.18), 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.mcp-plus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.mcp-plus-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.mcp-plus-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.mcp-plus-desc strong {
  color: var(--text-primary);
}

.btn-mcp-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.2rem;
  background: #10b981;
  color: #05070a;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.4);
  letter-spacing: 0.02em;
}

.btn-mcp-whatsapp:hover {
  background: #34d399;
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.65);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .site-item-card {
    padding: 1.15rem;
  }
  .site-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .btn-site-link {
    width: 100%;
    justify-content: center;
    padding: 0.5rem;
  }
  .mcp-plus-banner {
    padding: 1.5rem 1.2rem;
  }
  .mcp-plus-title {
    font-size: 1.22rem;
  }
  .mcp-plus-desc {
    font-size: 0.92rem;
  }
  .btn-mcp-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
    text-align: center;
  }
}

/* Blocos Profundos de cada Solução */
.solution-block {
  margin: 4.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.solution-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.solution-badge-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #040609;
  background: var(--accent-cyan);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  white-space: nowrap !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.solution-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap !important;
}

.mobile-only-br {
  display: none;
}

.solution-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.solution-slide-figure {
  margin: 1.75rem 0 2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.solution-slide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.solution-slide-caption {
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Box de Ferramentas & Links */
.tools-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.tools-box-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
}

.tools-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-inset);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tool-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-surface-hover);
}

/* Passos do Fim de Semana */
.weekend-plan-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent-cyan);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.weekend-plan-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weekend-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.weekend-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-marker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Monetização Box */
.monetization-callout {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.monetization-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.monetization-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Golden Tip Hack */
.pro-tip-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xs);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pro-tip-box strong {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

/* Responsividade */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cover-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .author-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-row-item {
    grid-template-columns: 40px 1fr 40px;
    gap: 0.5rem;
    padding: 1.25rem 0.5rem;
  }
  .row-category, .row-stack, .row-time {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
    padding: 0 !important;
  }
  .header-inner {
    height: 52px;
    padding: 0 0.75rem;
    gap: 0.4rem;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .brand-block {
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }
  .brand-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--neon-cyan, #00f0ff);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
    object-fit: cover;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
  }
  .brand-meta {
    display: none !important;
  }
  .header-nav {
    display: none !important;
  }
  .hdr-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .hdr-btn {
    font-size: 9.5px !important;
    gap: 4px;
    border-radius: 0 !important;
    height: auto !important;
  }
  .hdr-btn svg {
    width: 10px;
    height: 10px;
  }
  .hdr-btn-loja,
  .hdr-btn-blog {
    padding: 5px 7px 4px !important;
  }
  .hdr-btn-game {
    padding: 5px 8px 4px !important;
    box-shadow: 2px 2px 0 #1b6d77 !important;
  }
  .hdr-btn-wpp {
    padding: 5px 8px 4px !important;
    box-shadow: 2px 2px 0 #147a38 !important;
  }
}

@media (max-width: 480px) {
  .btn-game-chip span {
    display: none;
  }
  .btn-game-chip::after {
    content: "JOGAR";
    font-size: 0.6rem;
  }
}

  .blog-carousel-section {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
  }
  .blog-cards-title-row {
    flex-wrap: nowrap !important;
  }
  .blog-section-tag {
    font-size: 0.68rem !important;
    white-space: nowrap !important;
  }
  .blog-cards-swipe-hint {
    font-size: 0.64rem !important;
    white-space: nowrap !important;
  }
  .tag-desk,
  .hint-desk {
    display: none !important;
  }
  .tag-mob,
  .hint-mob {
    display: inline !important;
    white-space: nowrap !important;
  }
  .post-dynamic-container {
    scroll-margin-top: 65px;
  }
  .blog-cards-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.85rem;
    padding: 0.35rem 0.15rem 0.6rem;
  }
  .blog-cards-track::-webkit-scrollbar {
    display: none;
  }
  .blog-post-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: start;
  }
  .blog-cards-nav-dots {
    display: flex;
  }
  .blog-card-content {
    padding: 0.75rem 0.85rem;
    gap: 0.2rem;
  }
  .blog-card-title {
    font-size: 0.88rem;
  }
  .blog-card-cat {
    font-size: 0.62rem;
  }
  .blog-card-action {
    font-size: 0.65rem;
  }

  .post-container {
    padding: 1.25rem 1rem 3.5rem;
  }
  .post-header-hero {
    scroll-margin-top: 65px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }
  .post-meta-strip {
    font-size: 0.7rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
  }
  .post-main-title {
    font-size: clamp(1.15rem, 5vw, 1.35rem);
    line-height: 1.35;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
  }
  .post-lead-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .carousel-showcase-box {
    padding: 0.85rem;
    margin: 1.5rem 0 2rem;
  }
  .carousel-dots-row {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
  }
  .carousel-dots-row::-webkit-scrollbar {
    display: none;
  }
  .carousel-dot-btn {
    flex-shrink: 0;
    padding: 0.25rem 0.55rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .carousel-showcase-header {
    font-size: clamp(0.58rem, 2.6vw, 0.7rem);
    white-space: nowrap !important;
    gap: 0.4rem;
  }
  .carousel-showcase-header span:first-child {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Soluções no mobile: Badge + Categoria em UMA ÚNICA LINHA */
  .solution-block {
    margin: 2.5rem 0;
    padding-top: 1.25rem;
  }
  .solution-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
  .solution-badge-num {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .solution-category {
    font-size: clamp(0.58rem, 2.7vw, 0.7rem);
    white-space: nowrap !important;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
  }
  .solution-title {
    font-size: clamp(1.15rem, 4.6vw, 1.35rem);
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-wrap: balance;
  }
  .mobile-only-br {
    display: inline;
  }
  .next-step-title {
    font-size: clamp(1.1rem, 4.5vw, 1.3rem) !important;
    line-height: 1.35 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance !important;
  }
  .solution-slide-caption {
    font-size: clamp(0.58rem, 2.6vw, 0.7rem);
    white-space: nowrap !important;
    gap: 0.4rem;
  }

  /* Textos dentro de caixas no mobile NUNCA quebram linha */
  .tools-box {
    padding: 1rem;
  }
  .tools-box-label {
    font-size: clamp(0.58rem, 2.7vw, 0.68rem);
    white-space: nowrap !important;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tool-pill {
    width: 100%;
    font-size: 0.72rem;
    justify-content: space-between;
  }
  .weekend-plan-box {
    padding: 1rem;
  }
  .weekend-plan-title {
    font-size: clamp(0.65rem, 2.8vw, 0.75rem);
    white-space: nowrap !important;
    letter-spacing: 0.03em;
  }
  .weekend-step-item {
    font-size: 0.88rem;
  }
  .monetization-callout {
    padding: 1rem 1.15rem;
  }
  .monetization-tag {
    font-size: 0.7rem;
    white-space: nowrap !important;
    letter-spacing: 0.03em;
  }
  .pro-tip-box {
    padding: 0.85rem 1rem;
  }
  .pro-tip-box strong {
    white-space: nowrap !important;
  }

  /* Perfil do Autor */
  .author-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .author-portrait-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto;
  }
  .author-portrait {
    width: 130px;
    height: 130px;
  }
  .author-links-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .author-cta-side {
    align-items: center;
    width: 100%;
  }
  .btn-yt-dispatch {
    width: 100%;
    justify-content: center;
  }

  /* Rodapé Editorial Mobile em EXATAMENTE DUAS LINHAS */
  .site-footer {
    padding: 2.25rem 0;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    text-align: center;
    padding: 0 0.75rem;
  }
  .footer-inner > span {
    font-size: clamp(0.6rem, 2.8vw, 0.72rem);
    white-space: nowrap !important;
    letter-spacing: 0.03em;
    color: var(--text-muted);
  }
  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 2.5vw, 1rem);
    flex-wrap: nowrap;
  }
  .footer-links a {
    font-size: clamp(0.64rem, 2.6vw, 0.72rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

/* ==========================================================================
   VIDEO SPOTLIGHT & TEMPLATE SHOWCASE STYLES
   ========================================================================== */
.video-spotlight-card {
  margin: 2.5rem 0 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.video-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  gap: 1rem;
}

.spotlight-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.spotlight-duration {
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  margin-left: auto;
}

.video-spotlight-viewport {
  padding: 1.5rem 1rem;
  background: #020408;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-spotlight-caption {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.template-showcase-item {
  margin-bottom: 2.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.template-showcase-item video {
  width: 100%;
  border-radius: var(--radius-xs);
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .video-spotlight-card {
    margin: 2rem 0;
  }
  .video-spotlight-header {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    gap: 0.75rem;
  }
  .video-spotlight-viewport {
    padding: 1rem 0.5rem;
  }
  .video-spotlight-caption {
    padding: 1rem;
    font-size: 0.85rem;
  }
  .template-showcase-item {
    padding: 1rem;
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   SCHEDULED POST TOAST & LOCKED VIEW ("VOLTE EM BREVE")
   ========================================================================== */
.scheduled-notice-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 99999;
  width: 92%;
  max-width: 540px;
  background: rgba(13, 17, 23, 0.97);
  border: 1px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem 1.4rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.scheduled-notice-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  position: relative;
}

.toast-icon {
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.toast-body {
  flex: 1;
}

.toast-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #040609;
  background: var(--accent-amber);
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.toast-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.015em;
}

.toast-msg {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  margin-left: 0.5rem;
  transition: color 0.15s ease;
}

.toast-close-btn:hover {
  color: #fff;
}

/* Card Bloqueado / Teaser dentro do post */
.scheduled-locked-container {
  padding: 3rem 1rem 5rem;
  max-width: 760px;
  margin: 0 auto;
}

.scheduled-lock-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 3.5rem 2.25rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.scheduled-lock-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
}

.lock-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.lock-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.lock-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.lock-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
}

.lock-countdown {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.lock-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Efeito pulsante de agendado no card */
.blog-post-card.card-scheduled-highlight {
  animation: scheduledPulse 1.2s ease;
}

@keyframes scheduledPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@media (max-width: 768px) {
  .scheduled-notice-toast {
    width: 94%;
    padding: 1rem;
    top: 12px;
  }
  .scheduled-lock-card {
    padding: 2.25rem 1.25rem;
  }
  .lock-title {
    font-size: 1.7rem;
  }
  .lock-desc {
    font-size: 0.92rem;
  }
  .lock-countdown {
    font-size: 1rem;
    padding: 0.65rem 1rem;
  }
}

/* ==========================================================================
   SCHEDULED POST MODAL ("CALMA AÍ! POSTAGEM AGENDADA")
   ========================================================================== */
.scheduled-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(4, 6, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scheduled-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.scheduled-modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.15);
  max-width: 540px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.scheduled-modal-overlay.active .scheduled-modal-card {
  transform: scale(1) translateY(0);
}

.scheduled-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(4, 6, 9, 0.75);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scheduled-modal-close:hover {
  color: #fff;
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.2);
}

.scheduled-modal-media {
  width: 100%;
  background: #000;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.scheduled-modal-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 300px;
}

.scheduled-modal-content {
  padding: 1.4rem 1.6rem 1.6rem;
  text-align: center;
  overflow-y: auto;
}

.scheduled-modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #040609;
  background: var(--accent-amber);
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.scheduled-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.015em;
}

.scheduled-modal-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 1.15rem 0;
}

.scheduled-modal-desc strong {
  color: var(--accent-cyan);
}

.scheduled-modal-countdown {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.scheduled-modal-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .scheduled-modal-card {
    max-width: 95%;
  }
  .scheduled-modal-img {
    max-height: 230px;
  }
  .scheduled-modal-content {
    padding: 1.15rem 1rem 1.25rem;
  }
  .scheduled-modal-title {
    font-size: 1.15rem;
  }
  .scheduled-modal-desc {
    font-size: 0.88rem;
    margin-bottom: 0.95rem;
  }
  .scheduled-modal-countdown {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   TABELA COMPARATIVA & CODE SNIPPETS
   ========================================================================== */
.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
}

.comparison-table-wrap table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

.comparison-table-wrap th,
.comparison-table-wrap td {
  padding: 1rem 1.25rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .comparison-table-wrap table {
    min-width: 520px;
    font-size: 0.85rem;
  }
  .comparison-table-wrap th,
  .comparison-table-wrap td {
    padding: 0.8rem 0.95rem;
  }
}





