/*!
Theme Name: Nova
Theme URI: https://rafapaulino.com
Author: Rafael Paulino
Author URI: https://rafapaulino.com
Description: Tema voltado para os blogs de seo
Version: 5.5.1
Tested up to: 8.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nova
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* Reset & Base */
:root {
  --font-sans: 'Inter', sans-serif;
  --font-serif: Arial, serif;
  /* Light Mode Colors */
  --bg-body: #f9fafb;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  /* Slate 50 equiv */
  --bg-surface-accent: #eff6ff;
  /* Indigo 50 */
  --text-main: #111827;
  /* Gray 900 */
  --text-muted: #4b5563;
  /* Gray 600 */
  --text-light: #9ca3af;
  /* Gray 400 */
  --primary: #2563eb;
  /* Indigo 600 */
  --primary-hover: #1d4ed8;
  /* Indigo 700 */
  --primary-light: #e0e7ff;
  /* Indigo 100 */
  --border-color: #e5e7eb;
  /* Gray 200 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  /* Accents */
  --color-red: #dc2626;
  --color-red-bg: #fef2f2;
  --color-green: #16a34a;
  --color-green-bg: #f0fdf4;
  --color-yellow: #facc15;
  --amazon-yellow: #FFD814;
  --amazon-yellow-hover: #F7CA00;
}

html.dark {
  /* Dark Mode Colors */
  --bg-body: #0f172a;
  /* Slate 900 */
  --bg-surface: #1e293b;
  /* Slate 800 */
  --bg-surface-alt: #020617;
  /* Slate 950 */
  --bg-surface-accent: rgba(30, 58, 138, 0.3);
  --text-main: #f3f4f6;
  /* Gray 100 */
  --text-muted: #d1d5db;
  /* Gray 300 */
  --text-light: #9ca3af;
  --primary: #4f46e5;
  /* Indigo 500 adapted */
  --primary-hover: #6366f1;
  --primary-light: rgba(49, 46, 129, 0.5);
  --border-color: #1e293b;
  /* Slate 800 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
  /* Accents Dark */
  --color-red: #f87171;
  --color-red-bg: rgba(127, 29, 29, 0.2);
  --color-green: #4ade80;
  --color-green-bg: rgba(20, 83, 45, 0.2);
}

/* Red Theme */
body.theme-red {
  --primary: #fa2e2e;
  --primary-hover: #e02323;
  --primary-light: #feeaea;
  --bg-surface-accent: #feeaea;
}

html.dark body.theme-red {
  --primary: #ff5c5c;
  --primary-hover: #ff7070;
  --primary-light: rgba(250, 46, 46, 0.2);
  --bg-surface-accent: rgba(250, 46, 46, 0.1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.grid {
  display: grid;
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: 700;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.object-cover {
  object-fit: cover;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* Icons */
.lucide {
  vertical-align: middle;
}

/* Alert Bar */
.alert-bar {
  background-color: #dc2626;
  color: white;
  position: relative;
  z-index: 60;
  transition: all 0.3s;
}

.alert-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
  text-align: center;
}

.alert-btn {
  background-color: white;
  color: #dc2626;
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s;
  white-space: nowrap;
}

.alert-btn:hover {
  background-color: #fef2f2;
}

.alert-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.9);
}

.alert-close:hover {
  background-color: #b91c1c;
  color: white;
}

/* Article Navigation (Prev/Next) */
.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-sans);
}

@media (min-width: 640px) {
  .article-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-card {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.nav-card:hover {
  background-color: var(--bg-surface-alt);
}

.nav-label {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.nav-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.4;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.5s;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Article Card */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  height: 12rem;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #111827;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

html.dark .card-badge {
  background-color: rgba(15, 23, 42, 0.95);
  color: white;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body time {
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.card-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 8px;
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
  font-family: var(--font-serif);
}

.card:hover .card-title {
  color: var(--primary);
}

.card-excerpt {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-block;
  overflow: hidden;
  padding-bottom: 10px;
}

.card-excerpt p {
  margin: 0;
  font-size: 16px;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  margin-right: 0.5rem;
}

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

/* High Conversion Box */
.conversion-box {
  background-color: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  transition: transform 0.3s;
}

.conversion-box:hover {
  transform: scale(1.01);
}

.box-header {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-family: var(--font-sans);
}

.box-body {
  padding: 2rem;
}

.box-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .box-layout {
    flex-direction: row;
    align-items: center;
  }
}

.box-img {
  flex: 1;
  display: flex;
  justify-content: center;
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.box-img img {
  max-height: 12rem;
  object-fit: contain;
}

.box-info {
  flex: 2;
  text-align: center;
}

@media (min-width: 768px) {
  .box-info {
    text-align: left;
  }
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 12rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  padding: 0.25rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dropdown-item:hover {
  background-color: var(--bg-surface-accent);
  color: var(--primary);
}

/* Sales Notification */
.sales-notif {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  background-color: #059669;
  /* Emerald 600 */
  color: white;
  padding: 1rem;
  padding-right: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 50;
  max-width: 24rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.7s ease-in-out;
  pointer-events: none;
}

.sales-notif.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.notif-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.notif-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pagination */
.pagination {
  display: block;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 3rem 0 0 0;
  box-sizing: border-box;
  width: 100%;
}

.pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-family: var(--font-sans);
}

.page-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.page-btn a {
  display: block;
}

.page-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.page-btn:hover:not(.active) {
  background-color: var(--bg-surface-alt);
}

/* Product Table */
.review-section {
  margin: 2rem 0 4rem;
}

.review-title {
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.product-list {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.product-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}

@media (min-width: 640px) {
  .product-item {
    flex-direction: row;
    align-items: center;
  }
}

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

.product-item:hover {
  background-color: var(--bg-surface-alt);
}

.rank-number {
  font-size: 1.5rem;
  font-weight: 700;
  width: 3rem;
  text-align: center;
  color: var(--text-light);
}

.rank-number.top {
  color: var(--primary);
}

.product-img-box {
  width: 6rem;
  height: 6rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-img-box a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}

.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.feature-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.star-rating {
  color: var(--color-yellow);
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.stock-status {
  color: var(--color-green);
  font-size: 16px;
  font-weight: 500;
}

.product-action {
  text-align: center;
  min-width: 10rem;
}

@media (min-width: 640px) {
  .product-action {
    text-align: right;
  }
}

.price-label {
  font-size: 18px;
  color: var(--text-light);
  display: block;
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.5rem;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amazon-yellow);
  color: #0f1111;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 20px;
  width: 100%;
  transition: background-color 0.2s;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .btn-amazon {
    width: auto;
  }
}

.btn-amazon:hover {
  background-color: var(--amazon-yellow-hover);
}

/* Pros Cons */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-family: var(--font-sans);
}

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

.pros-card, .cons-card {
  padding: 15px;
  border-radius: 1rem;
  border-width: 1px;
  border-style: solid;
}

.pros-card h4, .cons-card h4 {
  margin-top: 0 !important;
}

.pros-card {
  background-color: var(--color-green-bg);
  border-color: rgba(22, 163, 74, 0.2);
}

.cons-card {
  background-color: var(--color-red-bg);
  border-color: rgba(220, 38, 38, 0.2);
}

.list-header {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pros-header {
  color: #15803d;
}

.cons-header {
  color: #b91c1c;
}

.pc-list {
  list-style: none;
  padding-left: 10px !important;
}

.pc-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

/* Related Posts (Inside Article) */
.related-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-sans);
}

.related-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.related-img {
  aspect-ratio: 4/3;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-card:hover .related-img img {
  transform: scale(1.05);
}

.related-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

html.dark .related-badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

.related-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.related-card:hover .related-card-title {
  color: var(--primary);
}

.related-date {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

/* Review Text Box */
.review-text-box {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.review-text-box h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

/* Article Tags */
.article-tags {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-sans);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface-alt);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.tag-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.5rem;
  border-radius: 9999px;
  color: var(--text-light);
  transition: background-color 0.2s;
}

.theme-toggle:hover {
  background-color: var(--bg-surface-accent);
  color: var(--text-muted);
}

/* Timer */
.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-red);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: monospace;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Blog Grid Sections */
.section-kitchen {
  background-color: var(--bg-surface-alt);
  padding: 4rem 0;
}

.section-coffee {
  background-color: var(--bg-surface-accent);
  padding: 4rem 0;
}

html.dark .section-coffee {
  background-color: rgba(2, 6, 23, 0.5);
}

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

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 0.25rem;
  background-color: var(--primary);
  border-radius: 9999px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .cards-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer */
.site-footer {
  background-color: #020617;
  /* Slate 950 always */
  color: #94a3b8;
  padding-top: 4rem;
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  background-color: #0f172a;
  padding: 0.5rem;
  border-radius: 50%;
  color: inherit;
  transition: 0.2s;
}

.social-icon:hover {
  background-color: #1e293b;
  color: var(--primary);
}

.footer-heading {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links,
.footer-links ul,
ul.footer-links {
  list-style: none !important;
}

.footer-links ul li, .footer-links li {
  margin-bottom: 0.75rem;
  list-style: none !important;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s, border-color 0.3s;
}

html.dark .site-header {
  background-color: rgba(15, 23, 42, 0.8);
}

.header-inner {
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: #2563eb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(12deg);
}

.logo-icon span {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.logo-dot {
  color: var(--primary);
}

.logo-image {
  width: 100% !important;
  max-height: 80px !important;
  display: block;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-panel {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-panel.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0.75rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
  background-color: var(--bg-surface-accent);
}

/* Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--bg-surface-accent);
}

.nav-link svg {
  margin-left: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
}

/* Sticky Sidebar */
.sidebar-sticky {
  position: sticky;
  top: 6rem;
}

.sidebar-card {
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
}

.sidebar-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.profile-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* 404 */
.not-found-container {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bg-404 {
  position: absolute;
  font-size: 20rem;
  font-weight: 700;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  color: var(--text-main);
}

.content-404 {
  position: relative;
  z-index: 10;
  max-width: 32rem;
}

.icon-circle {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

/* About Hero (Quem Somos) */
.about-hero {
  padding: 5rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-hero-content {
    flex-direction: row;
    align-items: center;
    gap: 6rem;
  }
  .about-hero-text, .about-hero-image {
    width: 50%;
  }
}

.essence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.essence-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.essence-label {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-family: var(--font-sans);
}

.about-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-desc {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-family: var(--font-sans);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
  transition: all 0.2s;
}

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

.about-img-wrapper {
  position: relative;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deco-blob-1, .deco-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
}

.deco-blob-1 {
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: var(--primary-light);
}

.deco-blob-2 {
  bottom: -1rem;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  background: rgba(59, 130, 246, 0.2);
}

/* Archive Page */
.archive-search-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .archive-search-container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 20rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.search-input {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

/* Page Layout (Terms, Contact, etc) */
.page-header {
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.page-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.prose {
  font-family: var(--font-sans);
  color: var(--text-muted);
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h3 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Article View specific */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-color: var(--bg-surface-alt);
  z-index: 60;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.1s;
}

.article-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 3rem;
  padding-top: 5rem;
}

.article-title {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .article-title {
    font-size: 3rem;
  }
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.meta-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.meta-separator {
  height: 2rem;
  width: 1px;
  background-color: var(--border-color);
  display: none;
}

@media (min-width: 640px) {
  .meta-separator {
    display: block;
  }
}

.featured-image-container {
  max-width: 72rem;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.featured-image {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

/*
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 8fr 4fr; }
}*/
.article-content {
  font-family: var(--font-serif);
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
  width: 100%;
}

#ez-toc-container {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* Espaçamento para conteúdo de posts */
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-bottom: 1.5rem;
}

/* Remove margem do último elemento */
.entry-content > *:last-child {
  margin-bottom: 0;
}

/* Espaçamento maior antes dos títulos */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Primeiro título não tem margem superior */
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child {
  margin-top: 0;
}

/* Espaçamento interno para listas */
.entry-content ul,
.entry-content ol {
  padding-left: 2rem;
}

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

.entry-content li:last-child {
  margin-bottom: 0;
}

/* Listas aninhadas */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 3rem;
}
