/*
Theme Name: SetupPro
Theme URI: https://seusite.com
Description: Tema independente para o blog SetupPro — Home Office de Autoridade. Design premium com paleta escura e dourado. Não requer tema pai.
Author: Você
Version: 1.0.0
Text Domain: setuppro
Tags: blog, tecnologia, home-office, dark, premium
*/

/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */
:root {
  --black: #0d0d0d;
  --white: #fafaf8;
  --cream: #f3f0e8;
  --steel: #1e2530;
  --steel-mid: #2e3848;
  --accent: #c8a96e;
  --accent-dark: #a8893e;
  --text-muted: #8a8880;
  --text-body: #3a3a38;
  --border: rgba(200,169,110,0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1280px;
  --side-pad: 5%;
}

/* ============================================================
   RESET COMPLETO (standalone — sem herdar nada do tema pai)
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* WordPress injeta uma div.wp-site-blocks ou similar — resetar */
body > div,
.wp-site-blocks,
#page,
#content,
#primary {
  all: unset;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TIPOGRAFIA BASE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--black);
  font-weight: 700;
}

p { line-height: 1.75; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--steel);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--side-pad);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
  font-weight: 700;
}

.site-logo .logo-sub {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-navigation a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(250,250,248,0.65);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--accent);
}

.main-navigation .nav-cta > a,
a.nav-cta {
  background: var(--accent) !important;
  color: var(--steel) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
  display: inline-block;
}

.main-navigation .nav-cta > a:hover,
a.nav-cta:hover {
  background: var(--accent-dark) !important;
}

/* Hambúrguer mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: var(--steel);
  padding: 90px var(--side-pad) 72px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1.5px;
  background: var(--accent);
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero-section h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  color: rgba(250,250,248,0.65);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn-primary {
  background: var(--accent);
  color: var(--steel);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  color: var(--steel);
}

.btn-ghost {
  color: rgba(250,250,248,0.7);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  text-decoration: none;
}

.btn-ghost:hover { color: var(--accent); }

/* ============================================================
   BARRA DE TÓPICOS
   ============================================================ */
.topics-bar {
  background: var(--cream);
  padding: 16px var(--side-pad);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.topics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topics-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
}

.topic-pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}

.topic-pill:hover,
.topic-pill.active,
.topic-pill.current-cat {
  background: var(--steel);
  color: var(--accent);
  border-color: var(--steel);
}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px var(--side-pad);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

/* ============================================================
   RÓTULOS DE SEÇÃO
   ============================================================ */
.section-label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   ARTIGO EM DESTAQUE
   ============================================================ */
.featured-post {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.25s, transform 0.25s;
  margin-bottom: 48px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-post:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.featured-post .post-thumbnail,
.featured-post img.post-thumbnail {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.post-thumbnail-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #1e2530 0%, #2d3a50 60%, #1a2840 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
}

.featured-post .post-thumbnail-placeholder {
  height: 300px;
}

.post-card .post-thumbnail-placeholder {
  height: 180px;
}

.featured-tag {
  background: var(--accent);
  color: var(--steel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  display: inline-block;
}

.featured-post-body {
  padding: 32px 36px 36px;
}

/* Metas do post */
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.post-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.post-cat:hover { color: var(--accent); }

.post-date,
.post-read-time {
  font-size: 12.5px;
  color: var(--text-muted);
}

.post-read-time { margin-left: auto; }

.featured-post-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.featured-post-body .excerpt {
  font-size: 15.5px;
  color: #5a5a58;
  line-height: 1.75;
  margin-bottom: 28px;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.3px;
  transition: gap 0.2s, color 0.2s;
  text-decoration: none;
}

.read-more-link:hover {
  gap: 16px;
  color: var(--accent-dark);
}

.arrow-circle {
  width: 28px; height: 28px;
  background: var(--cream);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.read-more-link:hover .arrow-circle { background: var(--accent); }

/* ============================================================
   GRADE DE POSTS
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.post-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.post-card img.post-thumbnail,
.post-card .post-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px 22px 24px;
}

.card-body h2,
.card-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.card-body h2 a,
.card-body h3 a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

.card-body h2 a:hover,
.card-body h3 a:hover { color: var(--accent-dark); }

.card-body .excerpt {
  font-size: 13.5px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.read-time-small {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.sp-pagination {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-body);
  transition: all 0.15s;
  text-decoration: none;
}

.sp-pagination .page-numbers:hover,
.sp-pagination .page-numbers.current {
  background: var(--steel);
  color: var(--accent);
  border-color: var(--steel);
}

.sp-pagination .prev, .sp-pagination .next {
  width: auto;
  padding: 0 16px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-block {
  margin-bottom: 36px;
}

/* Título dos widgets */
.sidebar-block .widget-title,
.sidebar-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
}

.sidebar-block .widget-title::after,
.sidebar-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.07);
}

/* Newsletter box */
.newsletter-box {
  background: var(--steel);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(200,169,110,0.1), transparent 70%);
  pointer-events: none;
}

.newsletter-box h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.newsletter-box p {
  font-size: 13px;
  color: rgba(250,250,248,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-box input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 7px;
  border: 1px solid rgba(200,169,110,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 13.5px;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.newsletter-box input[type="email"]::placeholder { color: rgba(250,250,248,0.3); }
.newsletter-box input[type="email"]:focus { border-color: var(--accent); }

.newsletter-box input[type="submit"],
.newsletter-box button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--steel);
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-box input[type="submit"]:hover,
.newsletter-box button[type="submit"]:hover { background: var(--accent-dark); }

/* Posts recentes */
.widget_recent_entries ul { list-style: none; padding: 0; }

.widget_recent_entries li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  counter-increment: posts-counter;
}

.widget_recent_entries ul { counter-reset: posts-counter; }

.widget_recent_entries li:last-child { border-bottom: none; }

.widget_recent_entries li::before {
  content: "0" counter(posts-counter);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  min-width: 28px;
  padding-top: 2px;
  flex-shrink: 0;
}

.widget_recent_entries a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.widget_recent_entries a:hover { color: var(--accent-dark); }

.widget_recent_entries .post-date {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Categorias */
.widget_categories ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widget_categories a {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.15s;
}

.widget_categories a:hover {
  background: var(--steel);
  color: var(--accent);
  border-color: var(--steel);
}

/* ============================================================
   ARTIGO INDIVIDUAL
   ============================================================ */
.single-post-header {
  background: var(--steel);
  padding: 70px var(--side-pad) 60px;
}

.single-post-header .sp-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12.5px;
  color: rgba(250,250,248,0.4);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(250,250,248,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(250,250,248,0.2); }

.single-post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 800px;
  margin: 20px 0 24px;
}

.post-content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px var(--side-pad);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

.post-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

/* Conteúdo do artigo */
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.entry-content h2 {
  font-size: 28px;
  color: var(--black);
  margin: 48px 0 18px;
  letter-spacing: -0.5px;
}

.entry-content h3 {
  font-size: 22px;
  color: var(--black);
  margin: 36px 0 14px;
}

.entry-content p { margin-bottom: 24px; }

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
  list-style: disc;
}

.entry-content ol { list-style: decimal; }

.entry-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  background: var(--cream);
  border-radius: 0 10px 10px 0;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--steel);
  font-style: italic;
  line-height: 1.6;
}

.entry-content img {
  border-radius: 10px;
  margin: 32px 0;
  width: 100%;
}

.entry-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(168,137,62,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.entry-content a:hover { text-decoration-color: var(--accent-dark); }

/* Produto recomendado */
.product-rec-block {
  background: var(--cream);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  gap: 24px;
  align-items: center;
}

.product-rec-block img {
  width: 100px; height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
  flex-shrink: 0;
}

.product-rec-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--black);
  margin-bottom: 6px;
}

.product-rec-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Tags */
.post-tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tags .tag-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-tags a {
  font-size: 12.5px;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.15s;
}

.post-tags a:hover {
  background: var(--steel);
  color: var(--accent);
  border-color: var(--steel);
}

/* Posts relacionados */
.related-posts {
  padding: 48px var(--side-pad) 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* ============================================================
   SEÇÃO SOBRE
   ============================================================ */
.about-section {
  background: var(--steel);
  padding: 80px var(--side-pad);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.about-inner h2 span { color: var(--accent); }

.about-desc {
  font-size: 16px;
  color: rgba(250,250,248,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat span {
  font-size: 12px;
  color: rgba(250,250,248,0.45);
  font-weight: 500;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-pill {
  padding: 8px 18px;
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 99px;
  font-size: 13px;
  color: rgba(250,250,248,0.7);
  font-weight: 500;
  transition: all 0.2s;
}

.about-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080c12;
  padding: 56px var(--side-pad) 32px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.2);
  margin: 0;
}

/* ============================================================
   SLOTS DE ANÚNCIO
   ============================================================ */

/* Base de todos os slots */
.ad-slot {
  width: 100%;
  margin: 36px 0;
  text-align: center;
}

/* Label "Publicidade" discreta acima do anúncio */
.ad-slot__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  opacity: 0.6;
}

/* Slots de anúncio — ocultos enquanto não houver código de rede ativo */
.ad-slot {
  display: none;
}

.ad-slot .ad-code:empty {
  display: none;
}

/* Descomente a linha abaixo quando ativar a rede de anúncios:  */
/* .ad-slot { display: block; } */

/* In-content: separadores visuais sutis para não chocar com o texto */
.ad-slot--incontent {
  padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin: 40px 0;
}

/* Pós-conteúdo: espaço generoso após o fim do artigo */
.ad-slot--postcontent {
  margin: 48px 0 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Sidebar: largura máxima para encaixar no espaço lateral */
.ad-slot--sidebar {
  margin: 0 0 28px;
  max-width: 360px;
}

/* Mobile: oculta o anúncio de sidebar (não cabe na tela) */
@media (max-width: 1024px) {
  .ad-slot--sidebar {
    display: none;
  }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .site-main,
  .post-content-wrap { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; top: auto; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .related-posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-navigation { display: none; }
  .main-navigation.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--steel);
    padding: 16px;
    border-top: 1px solid var(--border);
    gap: 4px;
    z-index: 199;
  }
  .main-navigation.open ul {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .main-navigation.open a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
  }
  .menu-toggle { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-rec-block { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
