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

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

:root {
  --bg:     #08090a;
  --bg2:    #0f1012;
  --bg3:    #161819;
  --bg4:    #1c1e21;
  --border:  rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.11);
  --text:   #ededee;
  --muted:  #777;
  --muted2: #555;
  --accent:       #19c47a;
  --accent-dim:   rgba(25,196,122,0.12);
  --accent-text:  #19c47a;
  --tag-blue:      rgba(55,138,221,0.13);
  --tag-blue-text: #6aadec;
  --tag-amber:      rgba(186,117,23,0.13);
  --tag-amber-text: #d4924a;
  --serif: 'Space Grotesk', sans-serif;
  --sans:  'Inter', sans-serif;
  --radius: 12px;
  --max-w: 880px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: var(--sans); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─── */
.site-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 72px; }

/* ─── NAV ─── */
.site-header { border-bottom: 0.5px solid var(--border); margin-bottom: 36px; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 16px; height: 16px; color: var(--bg); }
.logo-text { font-family: var(--serif); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.logo-text span { color: var(--accent); }
.site-nav { display: flex; gap: 24px; }
.site-nav a { font-size: 13px; color: var(--muted); transition: color .18s; }
.site-nav a:hover, .site-nav a.current { color: var(--text); }
.nav-search-btn { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 7px; padding: 7px 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer; border: none; font-family: var(--sans); }
.nav-search-btn svg { width: 14px; height: 14px; }

/* ─── CATEGORIES PILLS ─── */
.cat-pills { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.cat-pill { background: var(--bg3); border: 0.5px solid var(--border); border-radius: 100px; padding: 6px 16px; font-size: 12px; color: var(--muted); cursor: pointer; transition: all .18s; text-decoration: none; display: inline-block; }
.cat-pill:hover, .cat-pill.active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 500; }

/* ─── TAG ─── */
.tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.tag-green  { background: var(--accent-dim);  color: var(--accent-text); }
.tag-blue   { background: var(--tag-blue);     color: var(--tag-blue-text); }
.tag-amber  { background: var(--tag-amber);    color: var(--tag-amber-text); }

/* ─── HERO GRID ─── */
.hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; margin-bottom: 44px; }

.hero-main { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 14px; padding: 30px; cursor: pointer; position: relative; overflow: hidden; transition: border-color .2s; }
.hero-main::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, rgba(25,196,122,0.04), transparent); pointer-events: none; }
.hero-main:hover { border-color: var(--accent); }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-badge { font-size: 11px; color: var(--muted); }
.hero-title { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.5px; margin-bottom: 12px; }
.hero-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 22px; }
.hero-footer { display: flex; align-items: center; justify-content: space-between; }
.hero-author { display: flex; align-items: center; gap: 8px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-dim); border: 0.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; color: var(--accent); flex-shrink: 0; }
.author-name { font-size: 12px; color: var(--muted); }
.hero-cta { font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.hero-cta svg { width: 13px; height: 13px; }

/* hero sidebar */
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.side-card { background: var(--bg3); border: 0.5px solid var(--border); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .18s; display: block; }
.side-card:hover { border-color: var(--border2); }
.side-card .tag { margin-bottom: 10px; }
.side-title { font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; margin-bottom: 6px; color: var(--text); }
.side-meta { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.dot { width: 2px; height: 2px; border-radius: 50%; background: var(--muted2); display: inline-block; }

/* ─── SECTION HEADER ─── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.section-link { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 3px; transition: color .18s; }
.section-link:hover { color: var(--accent); }
.section-link svg { width: 13px; height: 13px; }

/* ─── ARTICLE GRID ─── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; }
.article-card { background: var(--bg3); border: 0.5px solid var(--border); border-radius: 12px; padding: 18px; cursor: pointer; transition: border-color .18s; display: flex; flex-direction: column; gap: 10px; }
.article-card:hover { border-color: var(--border2); }
.article-title { font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: -.2px; color: var(--text); }
.article-excerpt { font-size: 12px; color: var(--muted); line-height: 1.55; }
.article-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 0.5px solid var(--border); }
.article-date { font-size: 11px; color: var(--muted2); }
.article-arrow svg { width: 13px; height: 13px; color: var(--muted2); }

/* ─── AD STRIP ─── */
.ad-strip { background: var(--bg2); border: 0.5px dashed var(--border2); border-radius: 10px; padding: 18px; text-align: center; margin-bottom: 44px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.ad-label { font-size: 11px; color: var(--muted2); letter-spacing: .04em; text-transform: uppercase; }

/* ─── REVIEW CARDS ─── */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 44px; }
.review-card { background: var(--bg3); border: 0.5px solid var(--border); border-radius: 12px; padding: 20px; display: flex; gap: 14px; cursor: pointer; transition: border-color .18s; }
.review-card:hover { border-color: var(--border2); }
.review-thumb { width: 46px; height: 46px; border-radius: 10px; background: var(--bg4); border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-thumb svg { width: 22px; height: 22px; color: var(--muted); }
.review-body { flex: 1; min-width: 0; }
.review-title { font-family: var(--serif); font-size: 14px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.2px; }
.review-subtitle { font-size: 12px; color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.stars { display: flex; gap: 2px; }
.star { font-size: 11px; color: #ef9f27; }
.star.empty { color: var(--border2); }

/* ─── NEWSLETTER ─── */
.newsletter { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 14px; padding: 30px; text-align: center; margin-bottom: 44px; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 260px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.newsletter-title { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.3px; }
.newsletter-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.newsletter-form { display: flex; gap: 8px; max-width: 380px; margin: 0 auto; }
.newsletter-input { flex: 1; background: var(--bg2); border: 0.5px solid var(--border2); border-radius: 8px; padding: 9px 13px; color: var(--text); font-size: 13px; font-family: var(--sans); outline: none; }
.newsletter-input::placeholder { color: var(--muted2); }
.newsletter-btn { background: var(--accent); border: none; border-radius: 8px; padding: 9px 16px; color: var(--bg); font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--sans); white-space: nowrap; transition: opacity .18s; }
.newsletter-btn:hover { opacity: .88; }

/* ─── SINGLE POST ─── */
.post-header { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 0.5px solid var(--border); }
.post-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.post-title { font-family: var(--serif); font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.8px; margin-bottom: 14px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.post-meta .dot { width: 3px; height: 3px; }
.post-content { font-size: 15px; line-height: 1.75; color: #d0d0d2; }
.post-content h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.3px; color: var(--text); margin: 36px 0 14px; }
.post-content h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: -.2px; color: var(--text); margin: 28px 0 10px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 18px; }
.post-content li { margin-bottom: 6px; }
.post-content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(25,196,122,.35); text-underline-offset: 3px; }
.post-content a:hover { text-decoration-color: var(--accent); }
.post-content strong { color: var(--text); font-weight: 600; }
.post-content blockquote { border-left: 2px solid var(--accent); padding-left: 18px; color: var(--muted); font-style: italic; margin: 24px 0; }
.post-content img { border-radius: 10px; margin: 24px 0; border: 0.5px solid var(--border); }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.post-content th { background: var(--bg3); padding: 10px 14px; text-align: left; font-weight: 500; border-bottom: 0.5px solid var(--border2); }
.post-content td { padding: 10px 14px; border-bottom: 0.5px solid var(--border); }
.post-content tr:last-child td { border-bottom: none; }
.post-content code { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 5px; padding: 2px 6px; font-size: 13px; }

/* afiliado box */
.affiliate-box { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 12px; padding: 20px 24px; margin: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.affiliate-box-img { width: 72px; height: 72px; border-radius: 10px; background: var(--bg4); border: 0.5px solid var(--border); object-fit: contain; flex-shrink: 0; padding: 6px; }
.affiliate-box-info { flex: 1; min-width: 0; }
.affiliate-box-text { font-size: 14px; color: var(--muted); }
.affiliate-box-text strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 15px; }
.affiliate-box-price { font-size: 18px; font-weight: 700; font-family: var(--serif); color: var(--accent); margin: 8px 0 0; display: block; }
.affiliate-btn { background: var(--accent); color: var(--bg); font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; transition: opacity .18s; text-align: center; }
.affiliate-btn:hover { opacity: .88; color: var(--bg); }

/* produto embutido no conteúdo (shortcode [produto]) */
.product-embed { background: var(--bg3); border: 0.5px solid var(--border2); border-radius: 12px; padding: 20px; margin: 28px 0; display: flex; align-items: center; gap: 20px; }
.product-embed img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; background: var(--bg4); padding: 6px; border: 0.5px solid var(--border); flex-shrink: 0; }
.product-embed-body { flex: 1; min-width: 0; }
.product-embed-title { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.product-embed-desc { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.product-embed-footer { display: flex; align-items: center; gap: 16px; }
.product-embed-price { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--accent); }
.product-embed-btn { background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 7px; transition: opacity .18s; }
.product-embed-btn:hover { opacity: .88; color: var(--bg); }

/* ─── FOOTER ─── */
.site-footer { border-top: 0.5px solid var(--border); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--muted); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 11px; color: var(--muted2); transition: color .18s; }
.footer-links a:hover { color: var(--muted); }
.footer-copy { font-size: 11px; color: var(--muted2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .hero-title { font-size: 20px; }
}
@media (max-width: 480px) {
  .article-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .cat-pills { gap: 6px; }
  .post-title { font-size: 24px; }
}

/* ─── ADSENSE BLOCKS ─── */
.ad-wrap { margin: 28px 0; }
.ad-meio  { margin: 32px 0; }
.ad-strip { background: var(--bg2); border: 0.5px dashed var(--border2); border-radius: 10px; padding: 18px; text-align: center; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.ad-label { font-size: 11px; color: var(--muted2); letter-spacing: .04em; text-transform: uppercase; }
