/* ==========================================================================
   In Pursuit of Success — Design System & Stylesheet
   Modern Editorial Theme for Book Summaries
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors - Light Theme (Pure White Background) */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f7f7;
  --border: #e8e8e8;
  --border-subtle: #f0f0f0;
  --text-primary: #000000;
  --text-secondary: #2b2b2b;
  --text-muted: #666666;
  
  /* Top Menu (Header) — Pure White */
  --header-bg: #ffffff;
  --header-bg-blur: rgba(255, 255, 255, 0.95);
  --header-border: #e8e8e8;

  /* Brand Accent — Signature Metallic Gold from Channel Logo & Banner */
  --accent: #b45309;
  --accent-hover: #92400e;
  --accent-gold: #d4a017;
  --accent-light: rgba(180, 83, 9, 0.08);
  --accent-border: rgba(180, 83, 9, 0.22);
  --accent-glow: rgba(180, 83, 9, 0.15);

  /* Product Showcase (Seu Corpo, Suas Regras) */
  --product-card-bg: linear-gradient(135deg, #fffcf0 0%, #ffffff 50%, #fafafa 100%);
  --product-card-border: rgba(180, 83, 9, 0.22);
  --product-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 20px rgba(180, 83, 9, 0.05);

  /* Functional Badges */
  --tag-bg: #f5f5f5;
  --tag-text: #111111;
  --tag-border: #e5e5e5;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 30px -4px rgba(180, 83, 9, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Fonts */
  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-editorial: 'Newsreader', Georgia, Cambria, 'Times New Roman', Times, serif;

  /* Layout */
  --header-height: 70px;
  --max-width: 1160px;
  --article-width: 760px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Colors - Dark Theme (Pure Black Background matching Channel Logo and Banner) */
  --bg-body: #000000;
  --bg-surface: #000000;
  --bg-surface-elevated: #080808;
  --bg-card: #050505;
  --bg-card-hover: #0d0d0d;
  --border: #1a1a1a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #c2c2c2;
  --text-muted: #808080;

  /* Top Menu (Header) — Pure Black */
  --header-bg: #000000;
  --header-bg-blur: rgba(0, 0, 0, 0.95);
  --header-border: #1a1a1a;

  /* Channel Signature Metallic Gold */
  --accent: #d4a017;
  --accent-hover: #fbbf24;
  --accent-gold: #d4a017;
  --accent-light: rgba(212, 160, 23, 0.12);
  --accent-border: rgba(212, 160, 23, 0.35);
  --accent-glow: rgba(212, 160, 23, 0.25);

  /* Product Showcase (Seu Corpo, Suas Regras) */
  --product-card-bg: linear-gradient(135deg, rgba(212, 160, 23, 0.09) 0%, #050505 50%, #000000 100%);
  --product-card-border: rgba(212, 160, 23, 0.3);
  --product-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 160, 23, 0.08);

  --tag-bg: #0d0d0d;
  --tag-text: #e5e5e5;
  --tag-border: #222222;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.8);
  --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 12px 30px 0 rgba(0, 0, 0, 0.9);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.85);
  --shadow-card-hover: 0 12px 32px rgba(212, 160, 23, 0.18), 0 4px 16px rgba(0, 0, 0, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-body: #000000;
    --bg-surface: #000000;
    --bg-surface-elevated: #080808;
    --bg-card: #050505;
    --bg-card-hover: #0d0d0d;
    --border: #1a1a1a;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #c2c2c2;
    --text-muted: #808080;

    --header-bg: #000000;
    --header-bg-blur: rgba(0, 0, 0, 0.95);
    --header-border: #1a1a1a;

    --accent: #d4a017;
    --accent-hover: #fbbf24;
    --accent-gold: #d4a017;
    --accent-light: rgba(212, 160, 23, 0.12);
    --accent-border: rgba(212, 160, 23, 0.35);
    --accent-glow: rgba(212, 160, 23, 0.25);

    --product-card-bg: linear-gradient(135deg, rgba(212, 160, 23, 0.09) 0%, #050505 50%, #000000 100%);
    --product-card-border: rgba(212, 160, 23, 0.3);
    --product-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 160, 23, 0.08);

    --tag-bg: #0d0d0d;
    --tag-text: #e5e5e5;
    --tag-border: #222222;

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.85);
    --shadow-card-hover: 0 12px 32px rgba(212, 160, 23, 0.18), 0 4px 16px rgba(0, 0, 0, 0.9);
  }
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-ui);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
  z-index: 2000;
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg-blur);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}


.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.brand-logo-wrap svg {
  width: 26px;
  height: 26px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.725rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background-color: var(--accent-light);
}

.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: var(--accent-light);
  transform: rotate(12deg);
}

.btn-social-nav,
.btn-yt-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: var(--transition);
  text-decoration: none;
}

.btn-social-nav.youtube,
.btn-yt-nav {
  background-color: #ef4444;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-social-nav.youtube:hover,
.btn-yt-nav:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-social-nav.tiktok {
  background-color: #000000;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-social-nav.tiktok:hover {
  background: linear-gradient(135deg, #000000 0%, #111827 100%);
  border-color: #25f4ee;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 244, 238, 0.25);
}

.nav-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--accent-light);
  color: var(--accent) !important;
  border: 1px solid var(--accent-border);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-product-link:hover {
  background: var(--accent);
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

[data-theme="dark"] .nav-product-link:hover {
  color: #000000 !important;
  background: #d4a017;
}

.product-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Magalu Store Link in Header */
.nav-store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(0, 134, 255, 0.08);
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-store-link:hover {
  background: #0284c7;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] .nav-store-link {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .nav-store-link:hover {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Showcase Section (Seu Corpo, Suas Regras)
   ========================================================================== */

.product-showcase-section {
  max-width: var(--max-width);
  margin: 1rem auto 3rem;
  padding: 0 1.25rem;
}

.product-showcase-card {
  position: relative;
  background: var(--product-card-bg);
  border: 1px solid var(--product-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--product-card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.product-showcase-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.product-cover-col {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.product-book-3d {
  position: relative;
  width: 195px;
  max-width: 100%;
  border-radius: 6px 14px 14px 6px;
  box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(212, 160, 23, 0.15);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-book-3d:hover {
  transform: rotateY(-2deg) rotateX(0deg) scale(1.04);
  box-shadow: -14px 18px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(212, 160, 23, 0.3);
}

.product-book-3d img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px 14px 14px 6px;
}

.product-content-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.product-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.product-main-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.product-author-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.product-tagline {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.product-feature-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.product-feature-item strong {
  color: var(--text-primary);
}

.product-action-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.product-price-badge {
  display: flex;
  flex-direction: column;
}

.product-price-old {
  font-size: 0.925rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.discount-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.product-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-price-condition {
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
}

.product-price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Coupon Box */
.coupon-banner-card {
  margin: 1.25rem 0;
  padding: 0.85rem 1.15rem;
  background: rgba(239, 68, 68, 0.06);
  border: 1.5px dashed rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

[data-theme="dark"] .coupon-banner-card {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.45);
}

.coupon-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coupon-copy-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.coupon-label-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.coupon-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid #d4a017;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .coupon-pill-btn {
  background: #111111;
  color: #fcd34d;
  border-color: #f59e0b;
}

.coupon-pill-btn:hover {
  background: #d4a017;
  color: #000000;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.4);
}

.coupon-pill-btn:hover .coupon-copy-tag {
  background: #000000;
  color: #ffffff;
}

.coupon-copy-tag {
  font-size: 0.68rem;
  font-family: var(--font-ui);
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #d4a017 0%, #b45309 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
  transition: var(--transition);
}

.btn-product-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #d4a017 100%);
  color: #000000 !important;
}

/* Article Product Callout Banner */
.article-product-banner {
  margin: 2.5rem 0;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--product-card-bg);
  border: 1px solid var(--product-card-border);
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.article-product-banner .prod-thumb {
  width: 90px;
  height: 135px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.article-product-banner .prod-info {
  flex: 1;
}

.article-product-banner .prod-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.article-product-banner h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.article-product-banner p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.article-coupon-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.coupon-mini-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.coupon-mini-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.coupon-pill-btn.mini {
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   Magazine Luiza Channel Storefront Section
   ========================================================================== */

.store-showcase-section {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.store-showcase-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.store-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0086ff 0%, #00c6ff 100%);
}

.store-showcase-card:hover {
  border-color: #0086ff;
  box-shadow: 0 12px 30px -4px rgba(0, 134, 255, 0.2);
}

.store-showcase-left {
  max-width: 680px;
}

.store-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

[data-theme="dark"] .store-badge-pill {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.store-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.store-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.store-showcase-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.btn-store-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  background: linear-gradient(135deg, #0086ff 0%, #0062bd 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 134, 255, 0.35);
}

.btn-store-cta:hover {
  background: linear-gradient(135deg, #2699fb 0%, #0072db 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 134, 255, 0.45);
}

.store-url-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* ==========================================================================
   Search & Filter Controls
   ========================================================================== */

.filter-section {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.95rem 2.8rem 0.95rem 3rem;
  font-size: 1rem;
  font-family: var(--font-ui);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: 0.25rem;
  display: none;
}

.search-clear:hover {
  color: var(--text-primary);
}

.category-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  transition: var(--transition);
}

.chip-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.chip-btn.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* ==========================================================================
   Book Cards Grid
   ========================================================================== */

.cards-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  width: 100%;
}

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

.section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.livros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.livro-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.livro-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover);
}

.card-media-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.livro-card:hover .card-play-overlay {
  opacity: 1;
}

.play-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #ef4444;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.livro-card:hover .play-badge {
  transform: scale(1);
}

.card-category-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-author {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.card-excerpt {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
}

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

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.lang-pills {
  display: flex;
  gap: 0.3rem;
}

.lang-badge {
  padding: 0.15rem 0.4rem;
  background-color: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tag-text);
}

.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.no-results-box h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Article Page (Livro)
   ========================================================================== */

.article-container {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  width: 100%;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

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

.article-header {
  margin-bottom: 2.25rem;
}

.article-category {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background-color: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.article-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.article-author {
  font-weight: 600;
  font-style: italic;
}

.article-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

/* Video Player */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 2.25rem 0 2.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background-color: #000000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Article Body Typography */
.article-body {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-primary);
  padding: 1.25rem 1.5rem;
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}

.article-body p {
  margin: 1.75rem 0;
}

/* Actionable Callout Box */
.action-box {
  font-family: var(--font-ui);
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background-color: var(--bg-surface-elevated);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.action-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.action-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
}

/* Purchase Box */
.purchase-card {
  font-family: var(--font-ui);
  margin: 3.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1.5px solid var(--accent-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.purchase-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.purchase-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.purchase-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-store.shopee {
  background: linear-gradient(135deg, #ee4d2d 0%, #d43b1c 100%);
}

.btn-store.magalu {
  background: linear-gradient(135deg, #0086ff 0%, #0066cc 100%);
}

.btn-store.amazon {
  background: linear-gradient(135deg, #232f3e 0%, #131921 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.purchase-disclaimer {
  font-size: 0.785rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Multilingual Bar */
.multilingual-bar {
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.multilingual-bar a {
  font-weight: 700;
}

/* Social Share Bar */
.share-bar {
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 3rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.share-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 0.5rem;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-share.whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-share.x:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-share.linkedin:hover {
  background-color: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

/* Channel CTA Card */
.channel-cta {
  font-family: var(--font-ui);
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.cta-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 !important;
}

/* Related Books Section */
.related-section {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.related-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--text-primary);
  color: var(--bg-surface);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 3000;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.25rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }
  
  .hero-stats {
    gap: 1.25rem;
  }
  
  .stat-num {
    font-size: 1.2rem;
  }

  .livros-grid {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 1.85rem;
  }

  .store-buttons {
    flex-direction: column;
  }

  .btn-store {
    width: 100%;
    justify-content: center;
  }

  .channel-cta {
    flex-direction: column;
    text-align: center;
  }

  .btn-yt-nav span,
  .btn-social-nav span {
    display: none;
  }

  .brand-tagline {
    display: none;
  }

  .product-showcase-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    text-align: center;
  }

  .product-badge-pill {
    align-self: center;
  }

  .product-features-list {
    text-align: left;
  }

  .product-action-row {
    justify-content: center;
  }

  .article-product-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Brand Logo, Hero Banner & Language Switcher
   ========================================================================== */

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
  border-color: var(--accent);
}

.hero-banner-container {
  max-width: 920px;
  margin: 2rem auto 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1.5px solid var(--border);
  position: relative;
  background-color: #000000;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-container:hover .hero-banner-img {
  transform: scale(1.02);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  gap: 0.15rem;
}

.lang-btn {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--accent);
  background-color: var(--accent-light);
}

.lang-btn.active {
  background-color: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 2px 6px var(--accent-glow);
}

