/* ── VARIÁVEIS ── */
/* ── VARIÁVEIS ── */
:root {
  --roxo:        #2D1B69;
  --roxo-mid:    #4A2F8A;
  --roxo-glow:   #7B4FBF;
  --ouro:        #F5A623;
  --ouro-soft:   #FFD080;
  --vermelho:    #E8366A;
  --fundo:       #080812;
  --fundo2:      #0F0F1E;
  --fundo3:      #16162B;
  --texto:       #F0EBF8;
  --texto-muted: #9B90B8;
  --borda:       rgba(123,79,191,0.25);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { background:var(--fundo); color:var(--texto); font-family:'DM Sans',sans-serif; overflow-x:hidden; }

/* ── NOISE ── */
body::before {
  content:''; position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none; z-index:0; opacity:.4;
}

/* ── NAV v3 ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:500;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 48px; height:62px;
  background:rgba(7,8,15,0.88);
  backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid var(--borda);
}
.nav-brand { display:flex; align-items:baseline; gap:4px; text-decoration:none; }
.nav-brand-main { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; letter-spacing:.03em; color:var(--ouro); line-height:1; }
.nav-brand-kiss { font-size:.9rem; transform:translateY(-2px); display:inline-block; }
.nav-center { position:absolute; left:50%; transform:translateX(-50%); font-family:'Space Mono',monospace; font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:var(--texto-muted); }
.nav-right { display:flex; align-items:center; gap:24px; }
.nav-link { font-family:'Space Mono',monospace; font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; color:var(--texto-muted); text-decoration:none; transition:color .2s; }
.nav-link:hover { color:var(--ouro); }
.nav-mk-btn { background:transparent; border:1px solid var(--ouro); color:var(--ouro); font-family:'Space Mono',monospace; font-size:.58rem; letter-spacing:.1em; text-transform:uppercase; padding:7px 16px; text-decoration:none; transition:background .2s,color .2s; clip-path:polygon(5px 0%,100% 0%,calc(100% - 5px) 100%,0% 100%); }
.nav-mk-btn:hover { background:var(--ouro); color:var(--fundo); }

/* ── HERO ── */
.hero { position:relative; min-height:100vh; display:grid; grid-template-columns:1fr 1fr; align-items:center; padding:62px 48px 0; gap:48px; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background: radial-gradient(ellipse 60% 80% at 70% 50%,rgba(1,48,64,0.45) 0%,transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%,rgba(255,45,61,0.12) 0%,transparent 60%), radial-gradient(ellipse 50% 50% at 80% 10%,rgba(255,190,56,0.08) 0%,transparent 60%); z-index:0; }
.hero-bg::after { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(0,200,224,0.06) 1px,transparent 1px), linear-gradient(90deg,rgba(0,200,224,0.06) 1px,transparent 1px); background-size:48px 48px; }
.hero-content { position:relative; z-index:1; }
.hero-tag { display:inline-flex; align-items:center; gap:8px; background:rgba(255,190,56,0.12); border:1px solid rgba(255,190,56,0.3); color:var(--ouro); font-size:.75rem; font-family:'Space Mono',monospace; letter-spacing:.1em; text-transform:uppercase; padding:6px 14px; border-radius:4px; margin-bottom:20px; }
.hero-tag::before { content:'▶'; font-size:.6rem; }
h1.hero-title { font-family:'Playfair Display',serif; font-size:clamp(2.4rem,5vw,3.8rem); font-weight:900; line-height:1.08; margin-bottom:20px; }
h1.hero-title em { font-style:italic; color:var(--ouro); }
h1.hero-title .red { color:var(--vermelho); }
.hero-desc { color:var(--texto-muted); font-size:1.05rem; line-height:1.7; max-width:480px; margin-bottom:36px; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }
.btn-primary { background:var(--ouro); color:var(--fundo); font-weight:700; font-size:.9rem; padding:13px 28px; border-radius:6px; text-decoration:none; letter-spacing:.04em; transition:box-shadow .2s,transform .15s; box-shadow:0 4px 20px rgba(255,190,56,0.35); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(255,190,56,0.5); }
.btn-outline { border:1px solid var(--roxo-glow); color:var(--texto); font-weight:500; font-size:.9rem; padding:12px 24px; border-radius:6px; text-decoration:none; letter-spacing:.04em; transition:border-color .2s,background .2s; }
.btn-outline:hover { border-color:var(--ouro); background:rgba(255,190,56,0.06); }
.hero-stats { display:flex; gap:32px; margin-top:48px; padding-top:32px; border-top:1px solid var(--borda); }
.stat-num { font-family:'Space Mono',monospace; font-size:1.6rem; font-weight:700; color:var(--ouro); line-height:1; }
.stat-label { font-size:.75rem; color:var(--texto-muted); margin-top:4px; letter-spacing:.06em; text-transform:uppercase; }

.hero-right { position:relative; z-index:1; display:flex; flex-direction:column; gap:16px; align-items:flex-end; }
.mediakit-card { width:100%; max-width:380px; background:var(--fundo3); border:1px solid var(--borda); border-radius:16px; padding:28px; box-shadow:0 20px 60px rgba(0,0,0,0.5),0 0 0 1px rgba(0,200,224,0.1); position:relative; overflow:hidden; }
.mediakit-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--vermelho),var(--roxo-glow),var(--ouro)); }
.mediakit-label { font-family:'Space Mono',monospace; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--texto-muted); margin-bottom:14px; }
.mediakit-title { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; margin-bottom:6px; }
.mediakit-sub { font-size:.85rem; color:var(--texto-muted); margin-bottom:20px; }
.mk-metrics { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px; }
.mk-metric { background:rgba(1,48,64,0.3); border:1px solid var(--borda); border-radius:8px; padding:12px; }
.mk-metric-val { font-family:'Space Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--ouro); }
.mk-metric-label { font-size:.72rem; color:var(--texto-muted); margin-top:2px; }
.btn-mediakit { width:100%; display:block; text-align:center; background:linear-gradient(135deg,var(--roxo),var(--roxo-mid)); border:1px solid var(--roxo-glow); color:var(--texto); font-weight:600; font-size:.88rem; padding:12px; border-radius:8px; text-decoration:none; transition:box-shadow .2s; box-shadow:0 4px 20px rgba(1,48,64,0.4); }
.btn-mediakit:hover { box-shadow:0 6px 30px rgba(0,200,224,0.5); }

.case-badge { max-width:380px; width:100%; background:var(--fundo3); border:1px solid rgba(255,190,56,0.2); border-radius:12px; padding:16px 20px; display:flex; align-items:center; gap:14px; font-size:.85rem; }
.case-logo { width:44px; height:44px; border-radius:8px; background:linear-gradient(135deg,#1a6b3a,#2d9e57); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.9rem; color:#fff; flex-shrink:0; }
.case-text-sm { font-size:.72rem; color:var(--texto-muted); }
.case-text-main { font-weight:600; font-size:.88rem; }
.case-stat { margin-left:auto; text-align:right; }
.case-stat-num { font-family:'Space Mono',monospace; font-size:1rem; color:var(--ouro); font-weight:700; }
.case-stat-label { font-size:.68rem; color:var(--texto-muted); }

/* ── LAYOUT ── */
.main-layout { display:grid; grid-template-columns:240px 1fr 300px; gap:0; min-height:100vh; max-width:1440px; margin:0 auto; padding:0 24px 64px; }

/* ── LEFT SIDEBAR ── */
.sidebar-left { padding:40px 24px 40px 0; border-right:1px solid var(--borda); position:sticky; top:70px; height:fit-content; }
.sidebar-section { margin-bottom:40px; }
.sidebar-heading { font-family:'Space Mono',monospace; font-size:.65rem; letter-spacing:.14em; text-transform:uppercase; color:var(--roxo-glow); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.sidebar-heading::after { content:''; flex:1; height:1px; background:var(--borda); }
.github-widget { background:var(--fundo3); border:1px solid var(--borda); border-radius:10px; padding:14px; font-size:.78rem; }
.gh-header { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.gh-avatar { width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,var(--roxo-mid),var(--roxo-glow)); display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700; }
.gh-name { font-weight:600; font-size:.8rem; }
.gh-handle { color:var(--texto-muted); font-size:.7rem; }
.gh-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; margin-top:10px; }
.gh-cell { aspect-ratio:1; border-radius:2px; background:rgba(0,200,224,0.1); }
.gh-cell.l1 { background:rgba(0,200,224,0.3); }
.gh-cell.l2 { background:rgba(0,200,224,0.55); }
.gh-cell.l3 { background:rgba(0,200,224,0.8); }
.gh-cell.l4 { background:var(--ouro); }
.community-list { list-style:none; display:flex; flex-direction:column; gap:8px; }
.community-item { display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--fundo3); border:1px solid var(--borda); border-radius:8px; font-size:.78rem; transition:border-color .2s; cursor:pointer; }
.community-item:hover { border-color:var(--roxo-glow); }
.community-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.community-name { font-weight:500; }
.community-role { font-size:.68rem; color:var(--texto-muted); }

/* ── CENTER ── */
.center-content { padding:40px 32px; }
.section-header { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; }
.section-title { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; }
.section-title span { color:var(--ouro); font-style:italic; }
.section-link { font-size:.78rem; color:var(--roxo-glow); text-decoration:none; font-family:'Space Mono',monospace; transition:color .2s; }
.section-link:hover { color:var(--ouro); }
.cat-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.cat-tab { padding:6px 16px; border-radius:4px; font-size:.76rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; transition:.2s; border:1px solid transparent; font-family:'Space Mono',monospace; }
.cat-tab.active { background:var(--roxo-mid); border-color:var(--roxo-glow); color:var(--ouro-soft); box-shadow:0 0 16px rgba(0,200,224,0.3); }
.cat-tab:not(.active) { border-color:var(--borda); color:var(--texto-muted); }
.cat-tab:not(.active):hover { border-color:var(--roxo-glow); color:var(--texto); }

.article-featured { background:var(--fundo3); border:1px solid var(--borda); border-radius:14px; overflow:hidden; margin-bottom:20px; display:grid; grid-template-columns:1fr 200px; transition:border-color .2s,transform .15s; cursor:pointer; }
.article-featured:hover { border-color:var(--roxo-glow); transform:translateY(-2px); }
.article-featured-img { height:200px; background:linear-gradient(135deg,rgba(1,48,64,0.8),rgba(255,45,61,0.3)); grid-column:2; grid-row:1/3; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.article-featured-img::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,#1a0e3a 20%,rgba(74,47,138,0.4)); }
.article-featured-img-text { position:relative; z-index:1; font-size:3rem; opacity:.3; }
.article-featured-body { padding:24px; display:flex; flex-direction:column; justify-content:center; }
.article-tag { display:inline-block; font-family:'Space Mono',monospace; font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; padding:3px 10px; border-radius:3px; margin-bottom:12px; }
.tag-aws     { background:rgba(255,153,0,0.15); color:#FF9900; border:1px solid rgba(255,153,0,0.3); }
.tag-azure   { background:rgba(0,120,215,0.15); color:#0078D4; border:1px solid rgba(0,120,215,0.3); }
.tag-devops  { background:rgba(255,45,61,0.15); color:var(--vermelho); border:1px solid rgba(255,45,61,0.3); }
.tag-arq     { background:rgba(0,200,224,0.15); color:var(--roxo-glow); border:1px solid rgba(0,200,224,0.3); }
.tag-carreira{ background:rgba(0,200,224,0.15); color:var(--roxo-glow); border:1px solid rgba(0,200,224,0.3); }
.tag-ev      { background:rgba(255,190,56,0.15); color:var(--ouro); border:1px solid rgba(255,190,56,0.3); }
.tag-iac     { background:rgba(150,150,150,0.1); color:var(--texto-muted); border:1px solid var(--borda); }
.article-title { font-family:'Playfair Display',serif; font-size:1.15rem; font-weight:700; line-height:1.3; margin-bottom:10px; }
.article-excerpt { font-size:.82rem; color:var(--texto-muted); line-height:1.6; margin-bottom:14px; }
.article-meta { display:flex; align-items:center; gap:14px; font-size:.72rem; color:var(--texto-muted); }
.article-meta-dot { width:3px; height:3px; background:var(--texto-muted); border-radius:50%; }
.articles-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:40px; }
.article-card { background:var(--fundo3); border:1px solid var(--borda); border-radius:12px; padding:20px; transition:border-color .2s,transform .15s; cursor:pointer; position:relative; overflow:hidden; }
.article-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:transparent; transition:background .2s; }
.article-card:hover { border-color:var(--roxo-glow); transform:translateY(-2px); }
.article-card:hover::before { background:linear-gradient(90deg,var(--roxo-glow),var(--ouro)); }
.article-card-title { font-family:'Playfair Display',serif; font-size:.98rem; font-weight:700; line-height:1.3; margin:10px 0 8px; }
.article-card-excerpt { font-size:.78rem; color:var(--texto-muted); line-height:1.5; margin-bottom:14px; }
.read-more { font-family:'Space Mono',monospace; font-size:.68rem; color:var(--roxo-glow); letter-spacing:.08em; text-transform:uppercase; text-decoration:none; }
.read-more:hover { color:var(--ouro); }

/* ── DIARY ── */
.diary-section { margin-top:48px; }
.diary-entry { display:grid; grid-template-columns:80px 1fr; gap:20px; margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--borda); }
.diary-date { text-align:center; background:var(--fundo3); border:1px solid var(--borda); border-radius:10px; padding:10px 8px; height:fit-content; }
.diary-date-day { font-family:'Playfair Display',serif; font-size:1.8rem; font-weight:900; line-height:1; color:var(--ouro); }
.diary-date-month { font-family:'Space Mono',monospace; font-size:.6rem; letter-spacing:.1em; text-transform:uppercase; color:var(--texto-muted); margin-top:2px; }
.diary-event-name { font-weight:700; font-size:.95rem; margin-bottom:4px; }
.diary-meta { font-size:.74rem; color:var(--texto-muted); margin-bottom:8px; display:flex; gap:12px; }
.diary-text { font-size:.82rem; color:var(--texto-muted); line-height:1.6; margin-bottom:10px; }
.diary-people { display:flex; gap:6px; flex-wrap:wrap; }
.diary-person { display:flex; align-items:center; gap:5px; background:rgba(1,48,64,0.3); border:1px solid var(--borda); border-radius:20px; padding:4px 10px; font-size:.72rem; }
.person-avatar { width:18px; height:18px; border-radius:50%; background:linear-gradient(135deg,var(--vermelho),var(--roxo-glow)); display:flex; align-items:center; justify-content:center; font-size:.55rem; font-weight:700; }

/* ── RIGHT SIDEBAR ── */
.sidebar-right { padding:40px 0 40px 24px; border-left:1px solid var(--borda); position:sticky; top:70px; height:fit-content; }
.profile-card { background:var(--fundo3); border:1px solid var(--borda); border-radius:14px; padding:20px; text-align:center; margin-bottom:20px; position:relative; overflow:hidden; }
.profile-card::before { content:''; position:absolute; top:0; left:0; right:0; height:60px; background:linear-gradient(135deg,var(--roxo),var(--roxo-mid)); }
.profile-avatar-wrap { position:relative; z-index:1; width:64px; height:64px; margin:20px auto 12px; border:3px solid var(--ouro); border-radius:50%; background:linear-gradient(135deg,var(--roxo-mid),var(--roxo-glow)); display:flex; align-items:center; justify-content:center; font-size:1.5rem; box-shadow:0 0 20px rgba(255,190,56,0.3); }
.profile-name { font-family:'Playfair Display',serif; font-weight:700; font-size:1rem; margin-bottom:2px; }
.profile-role { font-size:.74rem; color:var(--texto-muted); margin-bottom:14px; }
.profile-badges { display:flex; gap:6px; justify-content:center; flex-wrap:wrap; margin-bottom:16px; }
.badge { font-size:.62rem; padding:3px 8px; border-radius:3px; font-family:'Space Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.badge-aws { background:rgba(255,153,0,0.15); color:#FF9900; border:1px solid rgba(255,153,0,0.25); }
.badge-cloud { background:rgba(0,120,215,0.15); color:#0078D4; border:1px solid rgba(0,120,215,0.25); }
.social-row { display:flex; gap:8px; justify-content:center; }
.social-btn { width:32px; height:32px; border-radius:6px; border:1px solid var(--borda); background:rgba(255,255,255,0.03); display:flex; align-items:center; justify-content:center; font-size:.75rem; color:var(--texto-muted); text-decoration:none; transition:.2s; }
.social-btn:hover { border-color:var(--roxo-glow); color:var(--ouro); }
.mk-right-widget { background:var(--fundo3); border:1px solid rgba(255,190,56,0.2); border-radius:14px; padding:20px; margin-bottom:20px; position:relative; overflow:hidden; }
.mk-right-widget::after { content:'MÍDIA KIT'; position:absolute; bottom:-10px; right:-6px; font-family:'Playfair Display',serif; font-size:3.5rem; font-weight:900; color:rgba(255,190,56,0.04); pointer-events:none; user-select:none; }
.mk-widget-title { font-family:'Space Mono',monospace; font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ouro); margin-bottom:14px; }
.mk-mini-metrics { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:14px; }
.mk-mini-metric { text-align:center; background:rgba(1,48,64,0.25); border:1px solid var(--borda); border-radius:8px; padding:10px 6px; }
.mk-mini-val { font-family:'Space Mono',monospace; font-size:.95rem; font-weight:700; color:var(--ouro); }
.mk-mini-label { font-size:.62rem; color:var(--texto-muted); margin-top:2px; }
.btn-mk-download { width:100%; display:block; text-align:center; background:linear-gradient(135deg,var(--ouro),#e8920a); color:var(--fundo); font-weight:700; font-size:.8rem; padding:10px; border-radius:7px; text-decoration:none; letter-spacing:.04em; transition:box-shadow .2s; box-shadow:0 4px 16px rgba(255,190,56,0.3); }
.btn-mk-download:hover { box-shadow:0 6px 24px rgba(255,190,56,0.5); }
.case-right { background:var(--fundo3); border:1px solid var(--borda); border-radius:14px; padding:20px; margin-bottom:20px; }
.case-right-title { font-family:'Space Mono',monospace; font-size:.65rem; letter-spacing:.12em; text-transform:uppercase; color:var(--texto-muted); margin-bottom:14px; }
.case-right-item { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--borda); }
.case-right-item:last-child { border-bottom:none; }
.case-logo-sm { width:36px; height:36px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.75rem; flex-shrink:0; }
.case-result { font-size:.7rem; color:var(--ouro); font-family:'Space Mono',monospace; margin-top:2px; }
.popular-list { list-style:none; }
.popular-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--borda); cursor:pointer; transition:color .2s; }
.popular-item:last-child { border-bottom:none; }
.popular-item:hover .popular-title { color:var(--ouro); }
.popular-num { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:900; color:var(--borda); line-height:1; flex-shrink:0; width:24px; padding-top:2px; }
.popular-title { font-size:.78rem; font-weight:500; line-height:1.4; }
.popular-tag { font-size:.65rem; color:var(--texto-muted); margin-top:3px; }

/* ── FOOTER ── */
footer { border-top:1px solid var(--borda); padding:40px 48px; display:flex; align-items:center; justify-content:space-between; font-size:.78rem; color:var(--texto-muted); }
.footer-logo { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; color:var(--ouro); }
.footer-links { display:flex; gap:24px; }
.footer-links a { color:var(--texto-muted); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--ouro); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--fundo); }
::-webkit-scrollbar-thumb { background:var(--roxo-mid); border-radius:3px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.hero-content > * { animation:fadeUp .6s ease backwards; }
.hero-tag    { animation-delay:.1s; }
.hero-title  { animation-delay:.2s; }
.hero-desc   { animation-delay:.3s; }
.hero-actions{ animation-delay:.4s; }
.hero-stats  { animation-delay:.5s; }

/* ── SINGLE LAYOUT ── */
.single-layout { grid-template-columns: 220px 1fr 280px; }
.single-layout .center-content { padding: 40px 48px; }
.single-post { max-width: 100%; }
.single-post-header { margin-bottom: 32px; }
.single-post-title { font-family:'Playfair Display',serif; font-size:clamp(1.4rem,2.5vw,1.9rem); font-weight:900; line-height:1.15; margin:16px 0 14px; }
.single-post-meta { display:flex; align-items:center; gap:12px; font-size:.78rem; color:var(--texto-muted); flex-wrap:wrap; }
.single-post-content { font-size:1rem; line-height:1.85; color:var(--texto); }
.single-post-content h2 { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; color:var(--ouro); margin:40px 0 16px; }
.single-post-content h3 { font-family:'Playfair Display',serif; font-size:1.15rem; font-weight:700; margin:32px 0 12px; }
.single-post-content p { margin-bottom:20px; }
.single-post-content a { color:var(--roxo-glow); text-decoration:underline; transition:color .2s; }
.single-post-content a:hover { color:var(--ouro); }
.single-post-content ul, .single-post-content ol { padding-left:24px; margin-bottom:20px; }
.single-post-content li { margin-bottom:8px; }
.single-post-content code { font-family:'Space Mono',monospace; font-size:.85em; background:rgba(0,200,224,0.15); border:1px solid var(--borda); padding:2px 7px; border-radius:4px; color:var(--ouro-soft); }
.single-post-content pre { background:var(--fundo3); border:1px solid var(--borda); border-radius:10px; padding:20px; overflow-x:auto; margin-bottom:24px; }
.single-post-content pre code { background:none; border:none; padding:0; font-size:.85rem; line-height:1.7; }
.single-post-content blockquote { border-left:3px solid var(--ouro); padding:12px 20px; margin:24px 0; background:rgba(255,190,56,0.05); border-radius:0 8px 8px 0; color:var(--texto-muted); font-style:italic; }
.single-post-content img { max-width:100%; border-radius:8px; margin:16px 0; }
.single-post-footer { margin-top:48px; padding-top:32px; border-top:1px solid var(--borda); }

/* ── ARCHIVE ── */
.archive-card { display:grid; grid-template-columns:1fr 180px; background:var(--fundo3); border:1px solid var(--borda); border-radius:12px; overflow:hidden; cursor:pointer; transition:border-color .2s,transform .15s; }
.archive-card:hover { border-color:var(--roxo-glow); transform:translateY(-2px); }
.archive-card-body { padding:24px; }
.archive-card-title { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; line-height:1.3; margin-bottom:10px; }
.archive-card-excerpt { font-size:.82rem; color:var(--texto-muted); line-height:1.6; }
.archive-card-thumb { height:100%; min-height:140px; overflow:hidden; }
.archive-pagination { display:flex; gap:8px; flex-wrap:wrap; margin-top:40px; padding-top:32px; border-top:1px solid var(--borda); }
.archive-pagination a, .archive-pagination span { font-family:'Space Mono',monospace; font-size:.72rem; padding:8px 14px; border-radius:6px; text-decoration:none; border:1px solid var(--borda); color:var(--texto-muted); transition:.2s; }
.archive-pagination a:hover { border-color:var(--roxo-glow); color:var(--ouro); }
.archive-pagination .current { background:var(--roxo-mid); border-color:var(--roxo-glow); color:var(--ouro); }

/* ── RESPONSIVE ── */
@media(max-width:1100px) { .main-layout { grid-template-columns:200px 1fr 260px; } }
@media(max-width:900px) {
  .hero { grid-template-columns:1fr; }
  .hero-right { display:none; }
  .main-layout { grid-template-columns:1fr; }
  .sidebar-left,.sidebar-right { display:none; }
  nav { padding:12px 20px; }
  .nav-center { display:none; }
  .articles-grid { grid-template-columns:1fr; }
}
