/* === IGNITION PREMIUM DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;700&display=swap');

:root {
  /* Colors - Nova Paleta POP nas Ideia */
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --bg-hover: #2a2a2a;
  --accent-primary: #e86a10; /* Laranja da Logo */
  --accent-secondary: #ebb121; /* Amarelo da Logo */
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --score-green: #00ff66;
  --score-yellow: #ffcc00;
  --score-red: #ff3333;
  
  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  
  /* Spacing & Layout */
  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Impede scroll horizontal */
}

html {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.main-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99999; /* Prioridade máxima */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin-left: 40px;
  margin-right: auto;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

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

/* === HERO BENTO GRID === */
.hero-section {
  padding: 40px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
  display: flex;
  align-items: flex-end;
  group;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.bento-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 2;
}

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-item:hover {
  border-color: var(--accent-primary);
}

.bento-content {
  position: relative;
  z-index: 3;
  padding: 24px;
  width: 100%;
}

.category-tag {
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start; /* Impede que estique em flex containers */
  margin-bottom: 12px;
}

.bento-item h2, .bento-item h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.1;
  text-transform: uppercase;
}

/* Specific Grid Placements */
.bento-main {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-main h2 {
  font-size: 3rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.bento-side-top {
  grid-column: span 2;
}
.bento-side-bottom-1 {
  grid-column: span 1;
}
.bento-side-bottom-2 {
  grid-column: span 1;
}

.bento-content h3 {
  font-size: 1.5rem;
}

/* === REVIEWS SECTION === */
.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 60px 0 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: var(--accent-primary);
  border-radius: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.review-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.review-score {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(4px);
  border: 2px solid var(--score-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  z-index: 10;
}

.score-masterpiece { border-color: var(--score-green); color: var(--score-green); }
.score-great { border-color: var(--score-yellow); color: var(--score-yellow); }
.score-bad { border-color: var(--score-red); color: var(--score-red); }

.review-info {
  padding: 20px;
}

.review-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.review-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === LATEST ARTICLES === */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-row {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.article-row:hover {
  background: var(--bg-hover);
  border-left: 4px solid var(--accent-primary);
}

.article-row img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-row-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.1;
}

.meta-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

/* Responsive */
/* Removed media queries from here */

/* === MENU OVERLAY & HAMBURGER === */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
}

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

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a !important; /* Totalmente sólido */
  z-index: 999999; /* Acima de absolutamente tudo */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Trava de scroll universal */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed !important;
  width: 100% !important;
}

.close-menu-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav-links a:hover {
  color: var(--accent-primary);
}

.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.listen-btn:hover {
  transform: translateY(-3px);
}

.mobile-socials {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.mobile-socials a {
  color: var(--text-main);
  font-size: 2rem;
  transition: color 0.3s;
}

.mobile-socials a:hover {
  color: var(--accent-primary);
}

/* === FOOTER === */
.main-footer {
  background: var(--bg-card);
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  font-size: 1.2rem;
}

.footer-socials a:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === SINGLE POST === */
.progress-container {
  width: 100%;
  height: 4px;
  background: var(--bg-dark);
  position: sticky;
  top: 80px;
  z-index: 99;
}

.progress-bar {
  height: 4px;
  background: var(--accent-primary);
  width: 0%;
}

.post-header {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.post-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-dark) 0%, rgba(10,10,10,0.8) 30%, rgba(10,10,10,0.2) 100%);
}

.post-header-container {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.post-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.1;
  margin: 20px 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
}

.meta-text {
  display: flex;
  flex-direction: column;
}

.meta-text strong {
  font-size: 1.1rem;
}

.meta-text span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.post-content-container {
  display: flex;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.post-content {
  flex: 1;
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ddd;
}

.post-content .lead {
  font-size: 1.4rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 40px;
}

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

.post-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-main);
  margin: 40px 0 20px;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding-left: 20px;
  font-size: 1.3rem;
  font-style: italic;
  margin: 40px 0;
  color: var(--text-main);
}

.post-content figure {
  margin: 40px 0;
}

.post-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.post-content figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Vídeos Responsivos */
.post-content iframe, 
.post-content video, 
.post-content embed {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: var(--radius-md);
  margin: 30px 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.post-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.share-box {
  position: sticky;
  top: 120px;
}

.share-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.social-share {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.share-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* === CATEGORY LISTING === */
.page-header {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 40px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--text-main);
}

.page-title span {
  color: var(--accent-primary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Força 3 colunas no desktop */
  gap: 30px;
  margin-bottom: 80px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 12px;
  flex: 1;
}

/* Responsive tweaks for new pages */
@media (max-width: 992px) {
  .post-content-container {
    flex-direction: column;
  }
  .post-sidebar {
    width: 100%;
    margin-top: 40px;
  }
  .social-share {
    flex-direction: row;
  }
  .post-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
  .post-header {
    min-height: 50vh;
  }
  .post-title {
    font-size: 2.5rem;
  }
}

/* === RESPONSIVE LAYOUT FIXES === */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-side-top {
    grid-column: span 2;
  }
  .bento-side-bottom-1, .bento-side-bottom-2 {
    grid-column: span 1;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .bento-main, .bento-side-top, .bento-side-bottom-1, .bento-side-bottom-2 {
    grid-column: span 1;
  }
  .bento-main {
    grid-row: span 1;
  }
  .bento-main h2 {
    font-size: 2rem;
  }
  .hamburger-btn {
    display: block !important;
  }
  .article-row {
    flex-direction: column;
  }
  .article-row img {
    width: 100%;
    height: 180px;
  }
}

/* Animação de Entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 20px;
  margin-bottom: 10px;
  width: 100%;
}

.skeleton-title {
  height: 40px;
  width: 80%;
  margin-bottom: 20px;
}

.skeleton-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
}
