/*
Theme Name: Fazcomia
Theme URI: https://fazcomia.com.br
Author: PH Media
Author URI: https://aphmedia.com.br
Description: Tema do Faz com IA — blog de IA para criadores de conteúdo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fazcomia
Tags: blog, dark, minimal
*/

/* ============================================================
   RESET + BASE
   ============================================================ */
* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --void:   #060606;
  --s1:     #0D0D0D;
  --s2:     #151515;
  --s3:     #1F1F1F;
  --border: #2A2A2A;
  --muted:  #4A4A4A;
  --body:   #888;
  --chalk:  #F0F0EC;
  --g:      #9DEF00;
  --g6:     rgba(157,239,0,.06);
  --g10:    rgba(157,239,0,.10);
  --grain:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.048'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--void);
  color: var(--chalk);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── PATTERN UTILS ── */
.bp {
  background-image: var(--grain), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cpath d='M37 30L43 52L33 52L27 66L21 44L31 44Z' fill='%239DEF00' opacity='.065'/%3E%3C/svg%3E");
  background-size: 200px 200px, 64px 96px;
}
.bp-g {
  background-image: var(--grain), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cpath d='M37 30L43 52L33 52L27 66L21 44L31 44Z' fill='%23060606' opacity='.09'/%3E%3C/svg%3E");
  background-size: 200px 200px, 64px 96px;
}
.bp-s {
  background-image: var(--grain), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cpath d='M37 30L43 52L33 52L27 66L21 44L31 44Z' fill='%239DEF00' opacity='.055'/%3E%3C/svg%3E");
  background-size: 200px 200px, 64px 96px;
}

/* ── LABEL ── */
.lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--g); display: flex; align-items: center; gap: 12px;
}
.lbl::before { content:''; width:14px; height:1px; background:var(--g); flex-shrink:0; }

/* ── BOLT SVG shorthand ── */
.bolt-inline {
  display: inline-block; height: .72em; width: auto;
  vertical-align: -.1em; flex-shrink: 0;
}

/* ── NAV ── */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 48px; height: 60px;
  background: rgba(6,6,6,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  background-image: var(--grain);
}

.nav-logo {
  display: flex; align-items: center; gap: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700; font-size: 18px;
  letter-spacing: -.03em; color: var(--chalk);
}
.nav-logo .dot { color: var(--g); }

.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--body); transition: color .2s;
}
.nav-menu a:hover { color: var(--g); }

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--void); background: var(--g);
  padding: 9px 18px; transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; cursor: pointer;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.16) brightness(.55);
  transition: filter .6s, transform .8s;
}
.hero:hover .hero-bg { filter: grayscale(50%) brightness(.65); transform: scale(1.02); }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(157,239,0,.1) 0%, transparent 30%),
    linear-gradient(to top, rgba(6,6,6,1) 0%, rgba(6,6,6,.5) 45%, rgba(6,6,6,.05) 100%),
    linear-gradient(to right, rgba(6,6,6,.7) 0%, transparent 60%);
}

.hero-body {
  position: relative; z-index: 2;
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px;
}

.hero-top {
  position: absolute; top: 44px; left: 60px; right: 60px;
  display: flex; justify-content: space-between; align-items: flex-start;
  z-index: 3;
}

.hero-issue {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  color: var(--chalk); letter-spacing: .28em; text-transform: uppercase;
  opacity: .4;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 128px);
  letter-spacing: .04em; line-height: .9;
  color: var(--chalk); margin-bottom: 24px;
  max-width: 820px;
}
.hero-title .g { color: var(--g); }

.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
}

.hero-desc {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 15px; color: var(--body); line-height: 1.65;
  max-width: 480px; margin-bottom: 28px;
}

.hero-cta-row { display: flex; gap: 12px; }

.hero-stats {
  display: flex; gap: 0; flex-shrink: 0;
  padding: 28px 32px; background: rgba(6,6,6,.7);
  border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.stat {
  padding-right: 32px; margin-right: 32px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat .n {
  font-family: 'IBM Plex Mono', monospace; font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); color: var(--g); line-height: 1;
}
.stat .l {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin-top: 5px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--g); color: var(--void);
  padding: 12px 24px; transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--chalk);
  padding: 11px 24px; border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--g); color: var(--g); }

/* ── AD LEADERBOARD ── */
.ad-leaderboard {
  height: 96px; background: var(--s1);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); opacity: .35;
}

/* ── SECTION HEADER ── */
.sh { padding: 80px 48px 36px; display: flex; justify-content: space-between; align-items: flex-end; }

.sh-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .04em; color: var(--chalk); margin-top: 12px;
}

.link-arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--g); border-bottom: 1px solid rgba(157,239,0,.3);
  padding-bottom: 2px; transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--g); }

/* ── FEATURED ── */
.featured { padding: 0 48px 2px; }

.featured-card {
  position: relative; height: 560px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border);
}
.featured-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.1) brightness(.55);
  transition: filter .5s, transform .7s;
}
.featured-card:hover .featured-bg { filter: grayscale(60%) contrast(1.05) brightness(.65); transform: scale(1.02); }

.featured-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(157,239,0,.12) 0%, transparent 36%),
    linear-gradient(to right, rgba(6,6,6,.97) 36%, rgba(6,6,6,.1) 100%);
  padding: 52px; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 640px;
}

.feat-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.feat-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .16em; color: var(--g); }
.feat-cat { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--body); }
.feat-date { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .14em; color: var(--muted); }

.featured-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: .04em; line-height: .92;
  color: var(--chalk); margin-bottom: 20px;
}
.featured-title .g { color: var(--g); }

.featured-desc {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 15px; color: var(--body); line-height: 1.7;
  margin-bottom: 32px; max-width: 460px;
}

/* ── POSTS GRID ── */
.posts { padding: 0 48px 2px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }

.post-card { background: var(--s1); overflow: hidden; cursor: pointer; transition: background .2s; }
.post-card:hover { background: var(--s2); }

.post-card-img-wrap { overflow: hidden; }
.post-card-img {
  width: 100%; height: 196px; object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(.6);
  transition: filter .4s, transform .5s;
}
.post-card:hover .post-card-img { filter: grayscale(40%) brightness(.85); transform: scale(1.04); }

.post-card.ad-slot {
  background: var(--s2); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; min-height: 320px;
  border: 1px dashed var(--border); cursor: default;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .35;
}
.post-card.ad-slot:hover { background: var(--s2); }

.post-body { padding: 24px 28px 28px; }

.post-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .15em; color: var(--g); margin-bottom: 8px; }
.post-cat { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--body); margin-bottom: 10px; }

.post-title {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700;
  font-size: 18px; line-height: 1.2; letter-spacing: -.02em;
  color: var(--chalk); margin-bottom: 16px; transition: color .2s;
}
.post-card:hover .post-title { color: var(--g); }

.post-meta {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: 16px;
  border-top: 1px solid var(--border); padding-top: 14px;
}

/* ── STRIP ── */
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }

.strip-card { position: relative; height: 500px; overflow: hidden; cursor: pointer; }
.strip-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(100%) contrast(1.1) brightness(.45);
  transition: filter .5s, transform .6s;
}
.strip-card:hover .strip-bg { filter: grayscale(50%) brightness(.65); transform: scale(1.03); }

.strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,6,.05) 0%, rgba(6,6,6,.92) 100%);
  padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
}
.strip-top { display: flex; justify-content: space-between; align-items: flex-start; }
.strip-issue {
  font-family: 'Bebas Neue', sans-serif; font-size: 56px;
  letter-spacing: .04em; color: var(--chalk); opacity: .07; line-height: 1;
}
.strip-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid rgba(157,239,0,.3); padding: 5px 12px; color: var(--g);
}

.strip-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: .04em; line-height: .92;
  color: var(--chalk); margin-bottom: 14px;
}
.strip-title em { font-style: normal; color: var(--g); }

.strip-desc {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 13px; color: var(--body); line-height: 1.65;
  max-width: 360px; margin-bottom: 22px;
}

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--s1);
  background-image: var(--grain), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='96' viewBox='0 0 64 96'%3E%3Cpath d='M37 30L43 52L33 52L27 66L21 44L31 44Z' fill='%239DEF00' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px 200px, 64px 96px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 72px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(157,239,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.nl-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: .04em; line-height: .92;
  color: var(--chalk); margin: 12px 0 16px;
}
.nl-title .g { color: var(--g); }

.nl-desc { font-family: 'IBM Plex Sans', sans-serif; font-weight: 300; font-size: 15px; color: var(--body); line-height: 1.7; }

.nl-form { display: flex; gap: 1px; margin-top: 24px; }
.nl-input {
  flex: 1; background: var(--s2); border: 1px solid var(--border);
  color: var(--chalk); font-family: 'IBM Plex Sans', sans-serif; font-size: 14px;
  padding: 12px 16px; outline: none; transition: border-color .2s;
}
.nl-input::placeholder { color: var(--body); opacity: .5; }
.nl-input:focus { border-color: rgba(157,239,0,.3); }

.nl-btn {
  background: var(--g); color: var(--void);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 22px; border: none; cursor: pointer; transition: opacity .2s; white-space: nowrap;
}
.nl-btn:hover { opacity: .85; }

.nl-note { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .12em; color: var(--muted); margin-top: 10px; }

/* ── STAGE (manifesto strip) ── */
.stage {
  position: relative; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 80px 64px; overflow: hidden;
}
.stage-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: grayscale(100%) contrast(1.1) brightness(.28);
}
.stage::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,6,.48) 0%, rgba(6,6,6,.88) 100%);
}
.stage-bolt {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%); z-index: 2; opacity: .07;
}
.stage-bolt svg { height: 260px; width: auto; }
.stage-bolt svg path { fill: var(--g); }

.stage-inner { position: relative; z-index: 3; }
.stage-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 130px);
  color: var(--chalk); line-height: .88; letter-spacing: .04em;
}
.stage-big .g { color: var(--g); }

.stage-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stage-sub {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 13px; color: rgba(255,255,255,.35);
  letter-spacing: .18em; text-transform: uppercase; max-width: 400px; line-height: 1.7;
}
.stage-contact {
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px;
  color: var(--g); text-align: right; line-height: 1.85;
}

/* ── FOOTER (homepage) ── */
footer.footer-main {
  padding: 72px 48px 48px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  background-image: var(--grain);
}

.footer-logo {
  display: flex; align-items: center; gap: 5px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -.03em;
  color: var(--chalk); margin-bottom: 16px;
}
.footer-logo .dot { color: var(--g); }

.footer-desc { font-family: 'IBM Plex Sans', sans-serif; font-weight: 300; font-size: 13px; color: var(--body); line-height: 1.65; }

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--g);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.footer-col h4::before { content:''; width:10px; height:1px; background:var(--g); }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 13px; color: var(--body); transition: color .2s; }
.footer-col ul a:hover { color: var(--g); }

.footer-bottom {
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background-image: var(--grain);
}
.footer-bottom p {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ── FOOTER (article/simple) ── */
footer.footer-article {
  padding: 32px 48px; border-top: 1px solid #1A1A1A;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--void);
}
.footer-meta { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #444; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: flex; align-items: center; gap: 7px;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--body); background: none; border: 1px solid var(--border);
  padding: 7px 14px; cursor: pointer; transition: border-color .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--g); color: var(--g); }
.theme-toggle svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 60px; left: 0; right: 0; height: 2px;
  background: var(--border); z-index: 99;
}
.progress-fill {
  height: 100%; background: var(--g); width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   ARTICLE PAGE STYLES
   ============================================================ */

/* ── ARTICLE HERO ── */
.art-hero { margin-top: 60px; }

.art-hero-img {
  width: 100%; height: 32vh; min-height: 220px; overflow: hidden;
  position: relative;
}
.art-hero-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(100%) contrast(1.1) brightness(.9);
  display: block;
}
.art-hero-tag {
  position: absolute; top: 24px; left: 32px;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  background: var(--g); color: var(--void); padding: 5px 12px; font-weight: 700;
}

.art-header {
  max-width: 1200px; margin: 0 auto; padding: 40px 48px 0;
}
.art-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.art-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .16em; color: var(--g); }
.art-cat { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--body); }
.art-date { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .14em; color: var(--muted); }

.art-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: .03em; line-height: .92; color: var(--void);
  max-width: 820px;
}
.art-title .g { color: var(--g); }

/* ── ARTICLE LAYOUT ── */
.art-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.art-main { padding: 64px 56px 64px 0; border-right: 1px solid var(--border); }

.art-intro {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 400;
  font-size: 18px; line-height: 1.8; color: var(--void);
  border-left: 3px solid var(--g); padding-left: 24px;
  margin-bottom: 52px;
}

.art-body p {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 16px; line-height: 1.85; color: var(--body);
  margin-bottom: 24px;
}
.art-body p strong { color: var(--void); font-weight: 600; }
.art-body p em { color: var(--g); font-style: normal; }

.art-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .04em; color: var(--void);
  margin: 52px 0 20px;
  padding-top: 52px; border-top: 1px solid var(--border);
}
.art-body h2 .g { color: var(--g); }

.art-body h3 {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: -.01em; color: var(--void);
  margin: 36px 0 14px;
}

.art-body ul, .art-body ol {
  margin: 0 0 24px 0; padding-left: 0; list-style: none;
}
.art-body li {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 15px; line-height: 1.7; color: var(--body);
  padding: 10px 0 10px 20px; position: relative;
  border-bottom: 1px solid var(--border);
}
.art-body li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px; background: var(--g);
}
.art-body li strong { color: var(--void); font-weight: 600; }

.art-callout {
  background: var(--s1); border: 1px solid var(--border);
  border-left: 3px solid var(--g);
  padding: 28px 32px; margin: 40px 0;
}
.art-callout p {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.7; color: var(--void);
  margin: 0 !important;
}

.ad-inarticle {
  margin: 48px 0; padding: 24px;
  background: var(--s1); border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .6;
}

.art-video { margin: 52px 0; border: 1px solid var(--border); overflow: hidden; }
.art-video-label {
  padding: 14px 20px;
  background: var(--s1); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.art-video-label span {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--g);
}
.art-video-label a {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--body);
  transition: color .2s;
}
.art-video-label a:hover { color: var(--g); }
.art-video-frame {
  position: relative; padding-bottom: 56.25%; height: 0;
  background: var(--s2);
}
.art-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.art-video-placeholder {
  aspect-ratio: 16/9; background: var(--void);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.art-video-placeholder .play {
  width: 56px; height: 56px; background: var(--g); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.art-video-placeholder .play::after {
  content: ''; border-style: solid; border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--void);
  margin-left: 4px;
}
.art-video-placeholder p {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: #888; margin: 0 !important;
}

.art-product { margin: 52px 0; background: var(--s1); border: 1px solid var(--border); overflow: hidden; }
.art-product-label {
  padding: 10px 20px; background: var(--void);
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--g); font-weight: 700;
}
.art-product-body { padding: 28px 32px; display: flex; gap: 28px; align-items: center; }
.art-product-img {
  width: 100px; height: 100px; background: var(--s2);
  border: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .1em; color: var(--muted); text-align: center;
}
.art-product-info { flex: 1; }
.art-product-info .pt {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: -.01em; color: var(--void); margin-bottom: 8px;
}
.art-product-info .pd {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 13px; color: var(--body); line-height: 1.6; margin-bottom: 16px;
}
.art-product-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--void); color: var(--g); padding: 10px 20px; transition: opacity .2s;
}
.art-product-cta:hover { opacity: .75; }

/* ── SIDEBAR ── */
.art-sidebar { padding: 64px 0 64px 40px; }

.sidebar-sticky { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 2px; }

.sidebar-block { background: var(--s1); border: 1px solid var(--border); padding: 28px 24px; }

.sb-title {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--g);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.sb-title::before { content:''; width:10px; height:1px; background:var(--g); }

.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.toc-list li { border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 13px;
  color: var(--body); transition: color .2s; line-height: 1.4;
}
.toc-list a:hover { color: var(--g); }
.toc-list a::before {
  content: attr(data-n);
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .1em; color: var(--g); opacity: .8; flex-shrink: 0;
}

.sb-ad {
  min-height: 250px; background: var(--s2); border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .7;
}

.author { display: flex; gap: 14px; align-items: flex-start; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--void);
  border: 2px solid var(--border); flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--g);
}
.author-name { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 14px; color: var(--void); }
.author-role { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .14em; color: var(--body); margin-top: 3px; }
.author-bio { font-family: 'IBM Plex Sans', sans-serif; font-weight: 300; font-size: 12px; color: var(--body); line-height: 1.6; margin-top: 8px; }

.share-btns { display: flex; flex-direction: column; gap: 8px; }
.share-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--border);
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--body);
  transition: border-color .2s, color .2s;
}
.share-btn:hover { border-color: var(--g); color: var(--g); }
.share-btn span { font-size: 14px; }

.related-list { display: flex; flex-direction: column; gap: 1px; }
.related-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  transition: opacity .2s;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { opacity: .6; }
.related-num { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .1em; color: var(--g); flex-shrink: 0; padding-top: 2px; }
.related-title { font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; color: var(--void); line-height: 1.4; }

/* ── POST FOOTER ── */
.art-footer { max-width: 1200px; margin: 0 auto; padding: 0 48px 80px; }

.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 64px; }
.tag-pill {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--border); color: var(--body);
  transition: border-color .2s, color .2s;
}
.tag-pill:hover { border-color: var(--g); color: var(--g); }

.art-nl {
  background: var(--void);
  background-image: var(--grain);
  padding: 56px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 0; position: relative; overflow: hidden;
}
.art-nl::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(122,200,0,.08) 0%, transparent 70%);
}

/* ============================================================
   LIGHT MODE OVERRIDES (index/homepage — dark-first)
   ============================================================ */
html[data-theme="light"] body          { background: #FAFAF8; color: #060606; }
html[data-theme="light"] .nav          { background: rgba(250,250,248,.95); border-color: #DCDCD8; }
html[data-theme="light"] .nav-logo     { color: #060606; }
html[data-theme="light"] .nav-menu a   { color: #555; }
html[data-theme="light"] .nav-cta      { background: #060606; color: #FAFAF8; }
html[data-theme="light"] .ad-leaderboard { background: #F2F2EE; border-color: #DCDCD8; color: #999; }
html[data-theme="light"] .sh-title     { color: #060606; }
html[data-theme="light"] .posts-grid   { background: #DCDCD8; }
html[data-theme="light"] .post-card    { background: #F2F2EE; }
html[data-theme="light"] .post-card:hover { background: #E8E8E4; }
html[data-theme="light"] .post-title   { color: #060606; }
html[data-theme="light"] .post-cat     { color: #555; }
html[data-theme="light"] .post-meta    { color: #AAAAAA; border-color: #DCDCD8; }
html[data-theme="light"] .post-card.ad-slot { background: #E8E8E4; border-color: #DCDCD8; }

/* ============================================================
   ARTICLE: light-first (default), dark overrides
   ============================================================ */
.art-page body                          { background: #FAFAF8; color: #060606; }

html[data-theme="dark"] body            { background: #060606; color: #F0F0EC; }
html[data-theme="dark"] .nav            { background: rgba(6,6,6,.92); border-color: #2A2A2A; }
html[data-theme="dark"] .nav-logo       { color: #F0F0EC; }
html[data-theme="dark"] .nav-cta        { background: #9DEF00; color: #060606; }
html[data-theme="dark"] .art-title      { color: #F0F0EC; }
html[data-theme="dark"] .art-intro      { color: #F0F0EC; }
html[data-theme="dark"] .art-body p strong  { color: #F0F0EC; }
html[data-theme="dark"] .art-body h2        { color: #F0F0EC; border-color: #2A2A2A; }
html[data-theme="dark"] .art-body h3        { color: #F0F0EC; }
html[data-theme="dark"] .art-body li strong { color: #F0F0EC; }
html[data-theme="dark"] .art-body li        { border-color: #2A2A2A; }
html[data-theme="dark"] .art-callout        { background: #0D0D0D; border-color: #2A2A2A; }
html[data-theme="dark"] .art-callout p      { color: #F0F0EC; }
html[data-theme="dark"] .art-product-info .pt { color: #F0F0EC; }
html[data-theme="dark"] .art-product-cta   { background: #9DEF00; color: #060606; }
html[data-theme="dark"] .art-product-label { background: #F0F0EC; }
html[data-theme="dark"] .art-product-img   { background: #151515; }
html[data-theme="dark"] .author-name       { color: #F0F0EC; }
html[data-theme="dark"] .author-avatar     { background: #151515; }
html[data-theme="dark"] .related-title     { color: #F0F0EC; }
html[data-theme="dark"] .toc-list a:hover  { color: var(--g); }
html[data-theme="dark"] .art-nl            { background: #0D0D0D; }
html[data-theme="dark"] .nl-title          { color: #F0F0EC; }
html[data-theme="dark"] .nl-desc           { color: #666; }
html[data-theme="dark"] .nl-input          { background: #151515; border-color: #2A2A2A; color: #F0F0EC; }
html[data-theme="dark"] .nl-note           { color: #444; }
html[data-theme="dark"] footer.footer-article { background: #060606; border-color: #1A1A1A; }
html[data-theme="dark"] .footer-logo       { color: #F0F0EC; }
html[data-theme="dark"] .footer-meta       { color: #444; }
html[data-theme="dark"] .art-eyebrow       { border-color: #2A2A2A; }
html[data-theme="dark"] .sidebar-block     { background: #0D0D0D; border-color: #2A2A2A; }
html[data-theme="dark"] .sb-ad             { background: #151515; border-color: #2A2A2A; }
html[data-theme="dark"] .toc-list li       { border-color: #2A2A2A; }
html[data-theme="dark"] .share-btn         { border-color: #2A2A2A; }
html[data-theme="dark"] .related-item      { border-color: #2A2A2A; }
html[data-theme="dark"] .art-main          { border-color: #2A2A2A; }
html[data-theme="dark"] .progress-bar      { background: #2A2A2A; }
html[data-theme="dark"] .ad-inarticle      { background: #0D0D0D; border-color: #2A2A2A; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 80px 48px;
}
.page-404 .err-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 20vw, 200px);
  color: var(--g); line-height: 1; opacity: .15;
}
.page-404 h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: .04em; color: var(--chalk); margin-bottom: 16px;
}
.page-404 p {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 15px; color: var(--body); margin-bottom: 32px;
}

/* ============================================================
   PAGE TEMPLATE (generic)
   ============================================================ */
.page-content {
  max-width: 820px; margin: 0 auto; padding: 100px 48px 80px;
}
.page-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .04em; color: var(--chalk); margin-bottom: 32px;
}
.page-content .entry-content p {
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 300;
  font-size: 16px; line-height: 1.85; color: var(--body); margin-bottom: 24px;
}
.page-content .entry-content h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px,3vw,36px);
  letter-spacing: .04em; color: var(--chalk); margin: 40px 0 16px;
}

/* ============================================================
   RESPONSIVE — MOBILE FIRST
   ============================================================ */

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  .nav { padding: 0 24px; }

  /* Homepage */
  .hero-body { padding: 40px 24px; }
  .hero-top  { left: 24px; right: 24px; top: 28px; }
  .hero-bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
  .hero-stats { width: 100%; justify-content: flex-start; padding: 20px 24px; }

  .sh { padding: 48px 24px 28px; }
  .featured { padding: 0 24px 2px; }
  .posts { padding: 0 24px 2px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }

  .strip { grid-template-columns: 1fr; }
  .newsletter { padding: 48px 24px; gap: 40px; }

  /* Article */
  .art-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .art-main { border-right: none; padding: 40px 0; }
  .art-sidebar { display: none; }
  .art-header { padding: 28px 24px 0; }

  /* Footer */
  footer { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 16px; height: 56px; }
  .nav-menu { display: none; }
  .nav-logo { font-size: 15px; }
  .theme-toggle span#themeLabel { display: none; }
  .theme-toggle { padding: 7px 10px; }
  .nav-cta { padding: 7px 14px; font-size: 9px; }
  .progress-bar { top: 56px; }

  /* Hero homepage */
  .hero { min-height: 100svh; }
  .hero-body { padding: 24px 16px 32px; }
  .hero-top { left: 16px; right: 16px; top: 20px; }
  .hero-title { font-size: clamp(40px, 10vw, 72px); }
  .hero-stats { flex-wrap: wrap; gap: 0; padding: 16px; }
  .stat { padding-right: 20px; margin-right: 20px; }
  .hero-cta-row { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  /* Posts grid */
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.ad-slot { min-height: 160px; }
  .sh { padding: 36px 16px 20px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .featured { padding: 0 16px 2px; }
  .posts { padding: 0 16px 2px; }
  .featured-card { height: 400px; }
  .featured-overlay { padding: 28px; max-width: 100%; }

  /* Strip */
  .strip-card { height: 380px; }
  .strip-overlay { padding: 24px; }

  /* Newsletter */
  .newsletter { grid-template-columns: 1fr; padding: 40px 16px; gap: 28px; }
  .nl-form { flex-direction: column; gap: 8px; }
  .nl-input, .nl-btn { width: 100%; }

  /* Stage */
  .stage { padding: 60px 16px; min-height: 400px; }
  .stage-footer { flex-direction: column; gap: 20px; }
  .stage-contact { text-align: left; }

  /* Footer */
  footer { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 28px; }

  /* Ad leaderboard */
  .ad-leaderboard { height: 60px; font-size: 8px; }

  /* Article */
  .art-hero-img { height: 220px; min-height: unset; }
  .art-header { padding: 20px 16px 0; }
  .art-title { font-size: clamp(32px, 8vw, 56px); }
  .art-wrap { padding: 0 16px; }
  .art-main { padding: 28px 0 40px; }
  .art-intro { font-size: 16px; padding-left: 16px; }
  .art-body h2 { font-size: clamp(24px, 6vw, 36px); padding-top: 32px; margin-top: 32px; }
  .art-body p { font-size: 15px; }

  /* Article product slot */
  .art-product-body { flex-direction: column; gap: 16px; }
  .art-product-img { width: 80px; height: 80px; }

  /* Newsletter in article */
  .art-nl { grid-template-columns: 1fr; padding: 36px 16px; gap: 24px; }

  /* Footer article */
  footer { padding: 32px 16px 24px; }
}

/* ── SMALL MOBILE (≤ 390px) ── */
@media (max-width: 390px) {
  .hero-title { font-size: 36px; }
  .art-title  { font-size: 30px; }
  .nav-cta { display: none; }
}

/* ── FIXES MOBILE (override) ── */
@media (max-width: 768px) {
  /* Stage — texto cortado */
  .stage { padding: 48px 16px 48px; overflow: hidden; }
  .stage-big { font-size: clamp(40px, 11vw, 72px); word-break: break-word; }
  .stage-inner { width: 100%; }
  .stage-bolt { display: none; }

  /* Footer — 1 coluna no mobile */
  footer {
    grid-template-columns: 1fr !important;
    padding: 40px 16px 28px !important;
    gap: 32px !important;
  }
  .footer-bottom {
    padding: 16px !important;
    flex-direction: column;
    gap: 6px;
    text-align: left;
  }
  .footer-bottom p { white-space: normal; }

  /* Garante que nada vaze para fora da tela */
  .stage, footer, .footer-bottom, .newsletter, .strip, .hero { overflow-x: hidden; }
}
