/*
Theme Name: ShopPreview
Theme URI: https://shoppreview.shop
Author: ShopPreview
Author URI: https://shoppreview.shop
Description: Tema editorial moderno para sites de review de produtos. Design limpo, profissional e otimizado para conversão.
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shoppreview
Tags: blog, e-commerce, reviews, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */
:root {
  --ink: #0e0e0e;
  --paper: #f7f4ef;
  --cream: #ede9e1;
  --accent: #c8401a;
  --accent2: #2a6049;
  --muted: #7a7168;
  --card: #ffffff;
  --border: #ddd8ce;
  --radius: 6px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--ink); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.site-content.full-width {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .site-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1.5px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding .site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.site-branding .site-title a { text-decoration: none; color: inherit; }
.site-branding .site-title span { color: var(--accent); }

.main-navigation ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation ul li a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity .2s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  opacity: 1;
}

.main-navigation ul li.current-menu-item a {
  color: var(--accent);
}

/* Dropdown */
.main-navigation ul li {
  position: relative;
}

.main-navigation ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  flex-direction: column;
  gap: 0;
}

.main-navigation ul li:hover ul {
  display: flex;
}

.main-navigation ul li ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.82rem;
  opacity: 0.8;
  white-space: nowrap;
}

.main-navigation ul li ul li a:hover {
  background: var(--cream);
  opacity: 1;
}

/* Menu mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.active {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1.5px solid var(--border);
    padding: 1rem 5%;
  }
  .main-navigation.active ul {
    flex-direction: column;
    gap: 0;
  }
  .main-navigation.active ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
}

/* ============================================================
   TICKER
   ============================================================ */
.site-ticker {
  background: var(--ink);
  color: white;
  padding: 9px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-item::after {
  content: '◆';
  opacity: 0.4;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   BARRA DE CATEGORIAS
   ============================================================ */
.categories-bar {
  border-bottom: 1.5px solid var(--border);
  background: var(--paper);
}

.categories-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories-bar-inner::-webkit-scrollbar { display: none; }

.cat-tab {
  padding: 14px 18px;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cat-tab:hover { color: var(--ink); border-color: var(--ink); }
.cat-tab.active,
.cat-tab.current-cat { color: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ============================================================
   HERO (PÁGINA INICIAL)
   ============================================================ */
.site-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-bottom: 1.5px solid var(--border);
}

.hero-content {
  padding: 5% 6% 5% 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1.5px solid var(--border);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 1.4rem;
}

.hero-content h1 {
  margin-bottom: 1.2rem;
}

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

.hero-content p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-image:hover img { transform: scale(1.04); }

.hero-rating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: white;
  border: 1.5px solid var(--border);
  padding: 12px 16px;
  border-radius: 4px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.hero-rating-badge .stars { color: #f0a500; font-size: 0.9rem; }
.hero-rating-badge .badge-info strong { display: block; font-weight: 600; font-size: 0.85rem; }
.hero-rating-badge .badge-info span { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 768px) {
  .site-hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 280px; }
  .hero-content { border-right: none; border-bottom: 1.5px solid var(--border); }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}

.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--accent); color: white; }

.btn-secondary { background: var(--accent); color: white; }
.btn-secondary:hover { opacity: 0.85; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); }

/* ============================================================
   CARDS DE POSTS
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.posts-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
  .posts-grid,
  .posts-grid.three-col {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: var(--card);
  transition: background .2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover { background: #fafaf8; }

.post-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.post-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: auto;
}

.post-card-rating {
  color: #f0a500;
  font-weight: 700;
}

.post-card-score {
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 3px;
  margin-left: auto;
}

/* Post em destaque (maior) */
.post-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.post-card.featured .post-card-img {
  width: 45%;
  aspect-ratio: auto;
  min-height: 240px;
  flex-shrink: 0;
}

.post-card.featured .post-card-title {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .post-card.featured {
    flex-direction: column;
  }
  .post-card.featured .post-card-img {
    width: 100%;
    min-height: 200px;
  }
}

/* ============================================================
   POST ÚNICO
   ============================================================ */
.single-post-header {
  margin-bottom: 2rem;
}

.single-post-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}

.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.single-post-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.single-post-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-stars { color: #f0a500; }

.rating-score {
  background: var(--accent2);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 3px 10px;
  border-radius: 3px;
}

.post-thumbnail {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Conteúdo do post */
.entry-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
}

.entry-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--border);
}

.entry-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
}

.entry-content p { margin-bottom: 1.2rem; }

.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

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

.entry-content li { margin-bottom: 0.4rem; }

.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.entry-content table th {
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.entry-content table tr:nth-child(even) td {
  background: var(--cream);
}

/* Caixa de pros e contras */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.pros-box, .cons-box {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
}

.pros-box { background: #f0f7f4; border: 1.5px solid #c3dfd6; }
.cons-box { background: #fdf3f0; border: 1.5px solid #f0c4b8; }

.pros-box h4 { color: var(--accent2); margin-bottom: 0.8rem; }
.cons-box h4 { color: var(--accent); margin-bottom: 0.8rem; }

.pros-box ul, .cons-box ul {
  list-style: none;
  padding: 0;
}

.pros-box ul li::before { content: '✓ '; color: var(--accent2); font-weight: 700; }
.cons-box ul li::before { content: '✗ '; color: var(--accent); font-weight: 700; }

.pros-box ul li, .cons-box ul li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* Nota final */
.final-score-box {
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-circle .score-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.score-circle .score-label {
  font-size: 0.65rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.score-info h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.score-info p {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
  color: white;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 84px;
}

.widget {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.widget-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.9rem 1.2rem;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
}

.widget-content { padding: 1.2rem; background: white; }

/* Widget: posts recentes */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recent-post-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.recent-post-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--cream);
}

.recent-post-info .post-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
  color: var(--ink);
}

.recent-post-info .post-title:hover { color: var(--accent); }

.recent-post-info .post-date {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Widget: categorias */
.categories-list { display: flex; flex-direction: column; gap: 0; }

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.category-item:last-child { border-bottom: none; }

.category-item a { color: var(--ink); transition: color .2s; }
.category-item a:hover { color: var(--accent); }

.category-count {
  background: var(--cream);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--muted);
}

/* ============================================================
   SEÇÃO
   ============================================================ */
.section-block {
  padding: 3.5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
}

.see-all-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.see-all-link:hover { color: var(--accent); }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .categories-grid { grid-template-columns: 1fr; }
}

.category-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  background: white;
}

.category-card:hover { border-color: var(--ink); transform: translateY(-3px); }

.category-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--cream);
}

.category-card-body { padding: 1rem 1.2rem 1.2rem; }

.category-icon { font-size: 1.4rem; margin-bottom: 0.4rem; display: block; }

.category-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.category-count { font-size: 0.78rem; color: var(--muted); }

.category-subs {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sub-tag {
  font-size: 0.68rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ============================================================
   TOP RANKING
   ============================================================ */
.top-ranking {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ranking-item {
  background: white;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  transition: background .2s;
}

.ranking-item:hover { background: #fafaf8; }

.rank-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--border);
  min-width: 30px;
  line-height: 1;
  transition: color .2s;
}

.ranking-item:hover .rank-num { color: var(--accent); }

.rank-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--cream);
}

.rank-info { flex: 1; }
.rank-category { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.rank-title { font-weight: 600; font-size: 0.92rem; line-height: 1.3; margin-bottom: 3px; color: var(--ink); }
.rank-meta { font-size: 0.76rem; color: var(--muted); }

.rank-score {
  background: var(--accent2);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */
.newsletter-strip {
  background: var(--ink);
  color: white;
  padding: 3.5rem 5%;
}

.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  color: white;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  margin-bottom: 0.4rem;
}

.newsletter-text p {
  font-size: 0.9rem;
  opacity: 0.6;
  color: white;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 11px 16px;
  font-size: 0.9rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-right: none;
  color: white;
  width: 220px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  border-radius: 3px 0 0 3px;
}

.newsletter-form input::placeholder { opacity: 0.5; color: white; }

.newsletter-form button {
  background: var(--accent);
  color: white;
  padding: 11px 18px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: opacity .2s;
  border-radius: 0 3px 3px 0;
}

.newsletter-form button:hover { opacity: 0.85; }

@media (max-width: 600px) {
  .newsletter-strip { text-align: center; }
  .newsletter-inner { justify-content: center; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }
}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-number {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: all .2s;
}

.page-number:hover, .page-number.current {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream);
  border-top: 1.5px solid var(--border);
  padding: 3rem 5% 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.footer-brand .site-title span { color: var(--accent); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0.7rem;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color .2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.5s ease both;
}

/* ── UTILITÁRIOS ── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.bg-cream { background: var(--cream); }
.border-section { border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); }
.hidden { display: none !important; }

/* ── CATEGORY PAGE: 3 COLUNAS ── */
@media (max-width: 900px) {
    .posts-grid[style*="repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    .posts-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

/* ── SINGLE POST ── */
.single-article { max-width: 100%; }

.entry-content img {
    border-radius: 6px;
    margin: 1.5rem 0;
}

.entry-content h2 {
    padding-bottom: 0.5rem;
}

/* Rating inline highlight */
.entry-content strong { font-weight: 700; }

/* ============================================================
   CAIXA DE AFILIADOS
   ============================================================ */
.sp-affiliate-box {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 2rem 0;
    background: white;
}
.sp-affiliate-header {
    background: var(--ink);
    color: white;
    padding: .9rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.sp-affiliate-title { font-weight: 700; font-size: .95rem; }
.sp-affiliate-price { font-size: .85rem; opacity: .8; }
.sp-affiliate-price strong { color: #FFE600; font-size: 1rem; }

.sp-btn-main {
    display: block;
    text-align: center;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s, transform .1s;
    margin: 1.2rem 1.4rem .8rem;
    border-radius: 4px;
}
.sp-btn-main:hover { opacity: .9; transform: translateY(-1px); }

.sp-btn-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: 0 1.4rem 1rem;
}
.sp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: 4px;
    text-decoration: none;
    transition: all .2s;
    background: white;
}
.sp-btn-secondary:hover { opacity: .8; transform: translateY(-1px); }

.sp-affiliate-disclaimer {
    font-size: .72rem !important;
    color: var(--muted) !important;
    padding: .8rem 1.4rem !important;
    border-top: 1px solid var(--border);
    margin: 0 !important;
    line-height: 1.5 !important;
    background: var(--cream);
}

@media (max-width: 600px) {
    .sp-btn-grid { flex-direction: column; }
    .sp-btn-secondary { justify-content: center; }
}
