/* ========================================
   Design system — Novel (dorama blog)
   Dark theme, pink/purple accents, streaming-inspired
   ======================================== */

/* Override da animação do loader externo (actview/mommycrochet)
   usa opacity/transform → composto na GPU, sem reflow */
#av-loader__wrapper {
  will-change: opacity;
  transition: opacity 0.3s ease;
}

@keyframes av-fadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

:root {
  /* Backgrounds */
  --bg: #0a0612;
  --bg-elevated: #14091f;
  --bg-card: #1a0e2e;
  --bg-card-hover: #251339;
  --bg-header: rgba(10, 6, 18, 0.85);
  --bg-overlay: rgba(10, 6, 18, 0.6);

  /* Text */
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;

  /* Accents */
  --accent: #ec4899;
  --accent-hover: #f472b6;
  --accent-strong: #db2777;
  --accent-soft: rgba(236, 72, 153, 0.1);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.1);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(236, 72, 153, 0.4);

  /* Gradients */
  --gradient-pink: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  --gradient-pink-soft: linear-gradient(135deg, rgba(236,72,153,0.2) 0%, rgba(168,85,247,0.2) 100%);
  --gradient-header: linear-gradient(180deg, rgba(10,6,18,0.95) 0%, rgba(10,6,18,0) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(10,6,18,0) 0%, rgba(10,6,18,0.6) 60%, rgba(10,6,18,1) 100%);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', var(--font-sans);

  /* Sizing */
  --container: 1280px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 32px rgba(236, 72, 153, 0.25);
  --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.35);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ========================================
   Layout primitives
   ======================================== */

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

.section {
  padding: 64px 0;
}

@media (max-width: 720px) {
  .section {
    padding: 32px 0;
  }
  .section-title {
    font-size: 1.45rem;
    margin-bottom: 18px;
  }
  .section-header {
    margin-bottom: 18px;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-pink);
  border-radius: 2px;
}

.section-title-emoji::before {
  display: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

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

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-pink);
  color: #fff;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(236, 72, 153, 0.55);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  color: var(--text);
}

/* ========================================
   Header (site)
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.site-nav > a,
.site-nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.18s ease;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav > a:hover,
.site-nav-link:hover,
.site-nav-item.is-open > .site-nav-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav-item {
  position: relative;
}

.site-nav-caret {
  transition: transform 0.18s ease;
  opacity: 0.7;
}

.site-nav-item.is-open .site-nav-caret {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 560px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 100;
}

.site-nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px;
}

.mega-menu-col-wide {
  grid-column: span 1;
}

.mega-menu-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-col ul li {
  margin-bottom: 2px;
}

.mega-menu-col a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-menu-col a:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.mega-menu-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 8px;
}

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 16px 0 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-inner > a,
.mobile-menu-parent {
  padding: 10px 4px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
}

.mobile-menu-children {
  list-style: none;
  padding: 4px 0 8px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-children a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  min-width: 220px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.site-search:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.site-search input {
  width: 100%;
  color: var(--text);
  font-size: 0.9rem;
}

.site-search input::placeholder {
  color: var(--text-subtle);
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: var(--text);
}

@media (max-width: 900px) {
  .site-nav,
  .site-search {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ========================================
   Hero (home)
   ======================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  margin-top: -72px;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 680px;
}

.hero-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-excerpt {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   Post card (poster 2:3)
   ======================================== */

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

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease;
}

.post-card:hover {
  transform: translateY(-4px);
}

.post-card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.24s ease;
}

.post-card:hover .post-card-poster {
  box-shadow: var(--shadow-card-hover);
}

.post-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.post-card-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.post-card:hover .post-card-poster::after {
  opacity: 1;
}

.post-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card-body {
  padding: 14px 4px 0;
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

/* ========================================
   Post horizontal row (scroll)
   ======================================== */

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.scroll-row .post-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .scroll-row .post-card {
    flex: 0 0 140px;
  }
}

/* ========================================
   Hero Carousel (home)
   ======================================== */

.hero-carousel {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  margin-top: -72px;
  padding-top: 72px;
  overflow: hidden;
}

.hero-carousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroFade 0.8s ease;
}

@keyframes heroFade {
  from { opacity: 0.3; transform: scale(1.04); }
  to   { opacity: 1;   transform: scale(1);    }
}

.hero-carousel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-carousel-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
  max-width: 680px;
}

.hero-carousel-content .hero-title {
  animation: heroFade 0.6s ease;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.hero-carousel-arrow:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.hero-carousel-arrow-prev { left: 20px; }
.hero-carousel-arrow-next { right: 20px; }

@media (max-width: 640px) {
  .hero-carousel-arrow { display: none; }
}

.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-carousel-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.18s ease, width 0.18s ease;
}

.hero-carousel-dot.is-active {
  background: var(--accent);
  width: 42px;
}

/* ========================================
   Platforms / Categorias populares
   ======================================== */

.platforms-section {
  padding: 56px 0 40px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.24s ease;
}

.platform-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  color: var(--text);
}

.platform-card-image {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}

.platform-card-image img {
  object-fit: cover;
}

.platform-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.platform-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* ========================================
   Review card (poster + rating)
   ======================================== */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}

@media (max-width: 720px) {
  .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    margin-right: -20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar {
    display: none;
  }
  .review-grid > .review-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.24s ease, outline-color 0.24s ease;
  outline: 2px solid transparent;
  outline-offset: 4px;
}

.review-card-highlight .review-card-poster {
  outline-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.review-card:hover .review-card-poster {
  box-shadow: var(--shadow-card-hover);
}

.review-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.review-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 0.8rem;
  background: var(--bg-card);
}

.review-card-rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--accent);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.review-card-body {
  padding: 14px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-excerpt {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

/* ========================================
   Top Categorias (grid numerado 3x2)
   ======================================== */

.top-categories-grid {
  display: grid;
  gap: 20px 32px;
}

/* --- Desktop layouts --- */
.top-categories-grid--d-grid_3 { grid-template-columns: repeat(3, 1fr); }
.top-categories-grid--d-grid_6 { grid-template-columns: repeat(6, 1fr); }
.top-categories-grid--d-grid_2 { grid-template-columns: repeat(2, 1fr); }
.top-categories-grid--d-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.top-categories-grid--d-scroll > .top-category-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* --- Tablet fallback --- */
@media (max-width: 900px) {
  .top-categories-grid--d-grid_3,
  .top-categories-grid--d-grid_6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* --- Mobile layouts (≤640px) --- */
@media (max-width: 640px) {
  .top-categories-grid--m-stack {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 10px !important;
  }
  .top-categories-grid--m-grid_2 {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    gap: 10px !important;
  }
  .top-categories-grid--m-scroll {
    display: flex !important;
    overflow-x: auto !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding-bottom: 10px !important;
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .top-categories-grid--m-scroll::-webkit-scrollbar { display: none; }
  .top-categories-grid--m-scroll > .top-category-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    padding: 10px 12px;
  }
  .top-categories-grid--m-grid_2 .top-category-name {
    font-size: 0.9rem;
  }
  .top-categories-grid--m-grid_2 .top-category-image {
    width: 48px;
    height: 48px;
  }
}

.top-category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: transparent;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.top-category-card:hover {
  background: var(--bg-card);
  color: var(--text);
}

.top-category-rank {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--text-subtle);
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.top-category-image {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gradient-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.2);
}

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

.top-category-placeholder {
  color: #fff;
}

.top-category-body {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.top-category-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-category-parent {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.top-category-label {
  color: var(--text-subtle);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* ========================================
   Category Highlights (rows per category)
   ======================================== */

.category-highlights {
  padding: 48px 0 24px;
}

.category-highlight {
  margin-bottom: 48px;
}

.category-highlight:last-child {
  margin-bottom: 0;
}

/* ========================================
   Sobre Nós (About Section)
   ======================================== */

.about-section {
  padding: 56px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 840px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-description {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-description p {
  margin-bottom: 14px;
}

.about-button {
  align-self: flex-start;
  margin-top: 8px;
}

.about-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

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

.about-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-subtle);
}

@media (max-width: 840px) {
  .about-image {
    order: -1;
  }
}

/* ========================================
   Notes section
   ======================================== */

.notes-section {
  padding: 40px 0;
}

.notes-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.note-card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.note-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.note-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.note-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  padding-left: 0;
}

/* ========================================
   Authors grid
   ======================================== */

.authors-section .section-title::before {
  background: var(--accent);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
}

@media (max-width: 960px) {
  .authors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 32px;
  }
}

@media (max-width: 640px) {
  .authors-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 8px 20px 16px;
    scrollbar-width: none;
  }

  .authors-grid::-webkit-scrollbar {
    display: none;
  }

  .authors-grid .author-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
  }
}

.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  background: transparent;
  border: none;
  transition: transform 0.2s ease;
}

.author-card:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.author-card-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  flex-shrink: 0;
  border: 3px solid var(--border-strong);
  transition: border-color 0.2s ease;
}

.author-card:hover .author-card-avatar {
  border-color: var(--accent);
}

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

.author-card-body {
  flex: 1;
  min-width: 0;
}

.author-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.author-card-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Single post / article
   ======================================== */

.article-hero {
  position: relative;
  padding: 120px 0 40px;
  margin-top: -72px;
  padding-top: 152px;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-pink-soft);
  z-index: -1;
}

.article-category {
  display: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 20px;
}

.article-meta {
  display: none;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
}

.article-body {
  max-width: 100%;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 32px 0 14px;
  letter-spacing: -0.02em;
}

.article-body h2 { font-size: 1.7rem; }
.article-body h3 { font-size: 1.35rem; }

.article-body p {
  margin-bottom: 20px;
  color: var(--text);
}

.article-body a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-decoration-color: var(--border-accent);
  text-underline-offset: 3px;
}

.article-body img {
  border-radius: var(--radius);
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}

/* Reserva espaço pra evitar CLS em imagens sem width/height explícitos */
.article-body img:not([width]):not([height]) {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--bg-elevated);
}

.article-body figure {
  margin: 24px 0;
  min-height: 200px;
}

/* Reserva altura pros ad slots do Ad Inserter (reduz CLS) */
.article-body #av_top_wrapper,
.article-body [id^="ai-insert"],
.article-body ins.adsbygoogle {
  min-height: 280px;
  display: block;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 20px 28px;
  color: var(--text);
}

.article-body li {
  margin-bottom: 8px;
}

.article-body code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-body .wp-block-table,
.article-body figure.wp-block-table {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-body .wp-block-table table,
.article-body figure.wp-block-table table {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.98rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
}

.article-body table thead {
  background: var(--accent-soft);
}

.article-body table tr {
  background: transparent !important;
}

.article-body table th,
.article-body table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
  background: transparent !important;
  color: var(--text) !important;
}

.article-body table th {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--border-accent);
}

.article-body table tbody tr:last-child th,
.article-body table tbody tr:last-child td {
  border-bottom: 0;
}

.article-body table tbody tr:nth-child(even) th,
.article-body table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03) !important;
}

.article-body table a {
  color: var(--accent-hover) !important;
}

/* Primeira linha sem thead (WordPress clássico) — usa a primeira tr como header */
.article-body table:not(:has(thead)) tr:first-child td {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--accent-soft) !important;
  border-bottom: 2px solid var(--border-accent);
}

/* Oculta linhas completamente vazias (WP às vezes deixa tr vazio no final) */
.article-body table tr:empty,
.article-body table tbody tr:has(td:empty:only-child) {
  display: none;
}

@media (max-width: 640px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
  .article-body table th,
  .article-body table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* ========================================
   Post page — Hero + Layout + Sidebar
   ======================================== */

.post-hero {
  position: relative;
  height: 250px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  background: var(--bg-elevated);
  contain: layout paint;
}

@media (max-width: 720px) {
  .post-hero {
    height: 100px;
    border-radius: 0;
    margin: 0;
  }

  .article-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .article-body {
    font-size: 15px;
    line-height: 24px;
  }

  .article-body h2,
  .article-body h3 {
    font-size: 20px;
  }

  .article-body img {
    max-width: 85%;
    border-radius: 0;
  }

  .block-banner {
    gap: 0;
    justify-content: center;
  }

  .block-banner-image {
    margin: 0 auto;
  }

  .block-banner-image img {
    width: 100%;
    height: auto;
    max-width: 320px;
  }

  .block-banner-content {
    gap: 0;
  }
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.post-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,6,18,0.3) 0%, rgba(10,6,18,0.7) 50%, rgba(10,6,18,1) 100%);
}

.post-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 4px 8px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.post-content {
  min-width: 0;
}

.post-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .post-sidebar {
    position: static;
  }
}

.ad-in-content,
.ad-horizontal {
  margin: 28px auto;
  max-width: 728px;
}

.ad-sidebar {
  min-height: 250px;
}

/* ========================================
   Share Buttons
   ======================================== */

.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
  flex-wrap: wrap;
}

.share-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 4px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.18s ease;
  cursor: pointer;
}

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

.share-btn-whatsapp:hover { color: #25d366; border-color: #25d366; }
.share-btn-telegram:hover { color: #26a5e4; border-color: #26a5e4; }

/* ========================================
   Table of Contents (sidebar)
   ======================================== */

.post-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.post-toc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc-item {
  border-left: 2px solid transparent;
  margin: 2px 0;
  transition: border-color 0.15s ease;
}

.post-toc-item.level-3 { padding-left: 14px; }

.post-toc-item a {
  display: block;
  padding: 6px 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.post-toc-item a:hover { color: var(--text); }

.post-toc-item.is-active {
  border-left-color: var(--accent);
}

.post-toc-item.is-active a {
  color: var(--accent);
  font-weight: 600;
}

/* ========================================
   InfoBox (ficha técnica)
   ======================================== */

.post-infobox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.post-infobox-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.post-infobox-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.post-infobox-row:last-child { border-bottom: none; }

.post-infobox dt {
  color: var(--text-muted);
  font-weight: 500;
}

.post-infobox dd {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  margin: 0;
}

.post-infobox-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ========================================
   Rating Box (sidebar)
   ======================================== */

.post-rating-box {
  background: var(--gradient-pink);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.25);
}

.post-rating-box-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 6px;
}

.post-rating-box-value {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}

.post-rating-box-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.post-rating-box-max {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.85;
}

.post-rating-box .rating-stars {
  justify-content: center;
  gap: 4px;
}

.post-rating-box .rating-stars svg {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}

/* ========================================
   Author Card (fim do post — estilo referência)
   ======================================== */

.post-author-card {
  margin: 56px auto 24px;
  max-width: 760px;
  text-align: center;
}

.post-author-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
}

.post-author-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.post-author-card-body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.post-author-card-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.post-author-card-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-strong);
  background: var(--bg-card);
  flex-shrink: 0;
}

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

.post-author-card-info {
  margin-top: 18px;
}

.post-author-card-name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.post-author-card-name:hover {
  color: var(--accent);
}

.post-author-card-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* ========================================
   Post Navigation (prev / next)
   ======================================== */

.post-navigation {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.post-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.24s ease;
}

.post-nav-link:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  color: var(--text);
}

.post-nav-next {
  flex-direction: row-reverse;
  text-align: right;
}

.post-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.post-nav-card-right {
  flex-direction: row-reverse;
}

.post-nav-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.post-nav-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.post-nav-label {
  color: var(--text-subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-nav-title {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Ad Slot (placeholder + real)
   ======================================== */

.ad-slot {
  position: relative;
  min-height: 100px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.ad-slot-placeholder {
  min-height: 140px;
  color: var(--text-subtle);
}

.ad-slot-label {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}

/* ========================================
   FAQ
   ======================================== */

.faq-block {
  max-width: 760px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 40px;
}

.faq-intro h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.faq-intro p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--border-accent);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::before {
  transform: rotate(45deg);
}

.faq-item-body {
  padding: 0 24px 20px 58px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-disclaimer {
  background: var(--bg);
  padding: 32px 0;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-disclaimer h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 20px;
}

.footer-disclaimer h5::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.footer-disclaimer h5:first-child {
  margin-top: 0;
}

.footer-bottom {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ========================================
   Shortcode blocks (inside articles)
   Light cards embutidos no artigo (contraste com tema escuro)
   ======================================== */

:root {
  --block-bg: var(--bg-card);
  --block-bg-muted: var(--bg-elevated);
  --block-border: var(--border);
  --block-border-strong: var(--border-strong);
  --block-text: var(--text);
  --block-text-muted: var(--text-muted);
  --block-accent: var(--accent);
  --block-accent-hover: var(--accent-hover);
  --block-accent-soft: var(--accent-soft);
  --block-radius: var(--radius-lg);
  --block-radius-item: var(--radius);
}

.block-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--block-text);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.block-subtitle {
  font-size: 1rem;
  color: var(--block-text);
  font-weight: 700;
  text-align: center;
  margin: 0 0 18px;
}

/* Description (mantém destaque com accent do tema) */
.block-description {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 0 0 32px;
}

.block-description p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* ===== Advantages ===== */
.block-advantages {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius);
  padding: 28px;
  margin: 32px 0;
  color: var(--block-text);
}

.block-advantages-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.block-advantages-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  background: transparent;
  color: var(--block-text);
  font-size: 1rem;
  line-height: 1.5;
}

.block-advantages-icon {
  color: var(--block-accent);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* ===== CTA Options ===== */
.block-cta-options {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius);
  padding: 28px;
  margin: 32px 0;
}

.block-cta-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.block-cta-options-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--block-radius-item);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.block-cta-options-item:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.block-cta-options .block-cta-subtitle {
  margin-top: 16px;
}

/* ===== FAQ (post) ===== */
.block-faq {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius);
  padding: 28px;
  margin: 32px 0;
  color: var(--block-text);
}

.block-faq > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.block-faq .faq-item {
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius-item);
  margin: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.block-faq .faq-item[open] {
  border-color: var(--block-accent);
  box-shadow: 0 2px 12px var(--block-accent-soft);
}

.block-faq .faq-item summary {
  padding: 16px 20px;
  color: var(--block-text);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.block-faq .faq-item summary::before {
  display: none;
}

.block-faq .faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.block-faq .faq-item[open] summary::after {
  transform: rotate(180deg);
}

.block-faq .faq-item-body {
  padding: 0 20px 16px;
  color: var(--block-text-muted);
  line-height: 1.7;
}

/* ===== Searches ===== */
.block-searches {
  margin: 32px 0;
  color: var(--block-text);
}

.block-searches .block-title {
  margin-bottom: 16px;
}

.block-searches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.block-searches-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--block-bg-muted);
  border: 0;
  border-radius: var(--block-radius-item);
  color: var(--block-text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.18s ease;
}

.block-searches-item:hover {
  background: var(--bg-card-hover);
  color: var(--block-text);
}

.block-searches-item svg {
  color: var(--block-text-muted);
  flex-shrink: 0;
}

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

/* ===== Banner ===== */
.block-banner {
  display: flex;
  gap: 24px;
  background: var(--block-bg);
  border: 1px solid var(--block-border);
  border-radius: var(--block-radius);
  padding: 20px;
  margin: 32px 0;
  align-items: center;
  flex-wrap: wrap;
  color: var(--block-text);
}

.block-banner-image {
  flex: 0 0 auto;
  border-radius: var(--block-radius-item);
  overflow: hidden;
  line-height: 0;
}

.block-banner-image img {
  border-radius: var(--block-radius-item);
  display: block;
}

.block-banner-content {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.block-banner-label {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: var(--block-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.block-banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: var(--block-text);
}

.block-banner-title a {
  color: inherit;
  text-decoration: none;
}

.block-banner-title a:hover {
  color: var(--block-accent-hover);
}

.block-banner-content .btn-primary {
  width: 100%;
  margin-top: 4px;
}

.block-banner-content .block-cta-subtitle {
  margin: 0;
}

/* ===== CTA wrapper ===== */
.block-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
}

/* Botão CTA dentro de blocos: full-width gradient rosa/roxo (paleta do tema) */
.block-cta .btn-primary,
.block-banner-content .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  border-radius: var(--block-radius-item);
  background: var(--gradient-pink);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.25);
  white-space: normal;
  text-align: center;
}

.block-cta .btn-primary:hover,
.block-banner-content .btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(236, 72, 153, 0.5);
  filter: brightness(1.05);
}

.block-cta-subtitle {
  color: var(--block-text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

/* Links dentro dos blocos — sem underline do .article-body */
.article-body .block-advantages a,
.article-body .block-cta-options a,
.article-body .block-faq a,
.article-body .block-searches a,
.article-body .block-banner a,
.article-body .block-cta a,
.article-body .block-cta-options-item,
.article-body .block-searches-item,
.article-body .block-cta .btn-primary,
.article-body .block-banner-content .btn-primary,
.article-body .block-banner-title a {
  text-decoration: none !important;
}

.block-cta-options-item,
.block-cta .btn-primary,
.block-banner-content .btn-primary {
  color: #fff;
}

.block-searches-item {
  color: var(--block-text);
}

/* ========================================
   Pagination
   ======================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.pagination a:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--border-strong);
}

.pagination .current {
  background: var(--gradient-pink);
  color: #fff;
  border-color: transparent;
}

/* ========================================
   Search results
   ======================================== */

.search-hero {
  padding: 120px 0 40px;
  margin-top: -72px;
  padding-top: 152px;
  text-align: center;
}

.search-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.search-hero p {
  color: var(--text-muted);
}

.search-form {
  max-width: 580px;
  margin: 32px auto 0;
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 22px;
  color: var(--text);
  font-size: 1rem;
}

.search-form input:focus {
  border-color: var(--accent);
}

/* ========================================
   Static pages (termos, contato)
   ======================================== */

.static-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 0;
}

.static-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.static-page h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 14px;
}

.static-page p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.static-page a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.18s ease;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
}

/* ========================================
   Author card
   ======================================== */

.author-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 80px 0 40px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  border: 3px solid var(--border-strong);
}

.author-info h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.author-info p {
  color: var(--text-muted);
  max-width: 640px;
}

/* ========================================
   Header mobile: ☰ menu (esq) · logo (centro) · 🔍 busca (dir)
   ======================================== */
.mobile-search-icon {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--text);
}

@media (max-width: 900px) {
  .site-header-inner {
    justify-content: space-between;
    gap: 12px;
    position: relative;
  }
  .mobile-menu-toggle {
    order: 1;
    margin-left: 0;
  }
  .site-logo {
    order: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .mobile-search-icon {
    order: 3;
    display: flex;
  }
}

/* Carrossel/hero no mobile: menor + imagem centralizada */
@media (max-width: 640px) {
  .hero-carousel,
  .hero {
    min-height: 440px;
  }
  .hero-carousel-bg img,
  .hero-bg img {
    object-fit: cover;
    object-position: center center;
  }
}

/* Barra de busca mobile (abre ao clicar no ícone de lupa) */
.mobile-search-bar {
  display: none;
}
.mobile-search-bar form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text-subtle);
}
.mobile-search-bar input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 0.95rem;
}
.mobile-search-bar input:focus {
  outline: none;
}
.mobile-search-bar input::placeholder {
  color: var(--text-subtle);
}
@media (max-width: 900px) {
  .mobile-search-bar:not([hidden]) {
    display: block;
    padding-bottom: 12px;
  }
}
