/* ==========================================================================
   FAST PACKS STORE — LUCAS HASSE (@hasse_editor)
   Paleta Oficial Hasse: #FFFFFF (White), #A6AAC1 (Mist), #222328 (Ink), #000000 (Void)
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Paleta Oficial Hasse (Paleta.png) */
  --void:        #000000;
  --ink:         #222328;
  --ink-light:   #2C2D34;
  --mist:        #A6AAC1;
  --mist-deep:   #C5C8DA;
  --mist-wash:   rgba(166, 170, 193, 0.12);
  --mist-line:   rgba(166, 170, 193, 0.28);
  --paper:       #FFFFFF;

  /* Aplicação dos Tokens */
  --bg-main:         var(--void);
  --bg-surface:      #0C0D11;
  --bg-card:         var(--ink);
  --bg-card-hover:   var(--ink-light);
  --bg-glass:        rgba(12, 13, 17, 0.85);
  --bg-glass-card:   rgba(34, 35, 40, 0.82);
  
  --border-subtle:   rgba(255, 255, 255, 0.08);
  --border-card:     rgba(166, 170, 193, 0.18);
  --border-card-hover: var(--mist);
  --border-highlight: rgba(255, 255, 255, 0.2);
  
  --accent-primary:  var(--paper);
  --accent-secondary: var(--mist);
  --accent-glow:     rgba(166, 170, 193, 0.25);
  --accent-gold:     #FFB020;
  --accent-emerald:  #10B981;
  
  --text-white:      #FFFFFF;
  --text-primary:    #F4F4F7;
  --text-secondary:  rgba(255, 255, 255, 0.78);
  --text-muted:      var(--mist);
  --text-dim:        rgba(166, 170, 193, 0.55);
  
  --font-display:    'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-serif:      'Fraunces', Georgia, serif;
  --font-body:       'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 16px 36px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 28px 60px -14px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 35px -5px rgba(255, 255, 255, 0.2);
  --shadow-bundle: 0 0 50px -10px rgba(166, 170, 193, 0.25);
  
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  /* A barra de anúncio saiu do ar na Rodada 19 (o Master Bundle acabou).
     Zerando a altura, o menu e os heros voltam pro topo sem sobra. O CSS da
     barra continua aqui caso volte uma campanha. */
  --announcement-height: 0px;

  /* Superfícies elevadas (adaptam ao tema — nunca use cor fixa aqui,
     senão o texto some quando o tema inverte) */
  --card-top:        #2A2B33;              /* topo do gradiente dos cards */
  --well:            rgba(0, 0, 0, 0.45);  /* caixas de preço "afundadas" */
  --spotlight:       rgba(166, 170, 193, 0.17);
  --sheen:           rgba(166, 170, 193, 0.55);
  --price-grad-end:  var(--mist-deep);
  --hairline:        rgba(255, 255, 255, 0.55);
}

/* Light Theme Support */
[data-theme="light"] {
  --bg-main:         #FFFFFF;
  --bg-surface:      #F4F4F7;
  --bg-card:         #F4F4F7;
  --bg-card-hover:   #ECECF2;
  --bg-glass:        rgba(255, 255, 255, 0.88);
  --bg-glass-card:   rgba(244, 244, 247, 0.9);
  
  --border-subtle:   rgba(34, 35, 40, 0.08);
  --border-card:     rgba(34, 35, 40, 0.12);
  --border-card-hover: var(--ink);
  --border-highlight: rgba(34, 35, 40, 0.25);
  
  --accent-primary:  var(--ink);
  --text-white:      #121316;
  --text-primary:    #222328;
  --text-secondary:  rgba(34, 35, 40, 0.72);
  --text-muted:      #747896;
  --text-dim:        rgba(34, 35, 40, 0.45);

  /* O lavanda claro da paleta não tem contraste sobre fundo branco.
     No tema claro ele escurece mantendo a mesma família de cor —
     assim etiquetas, ícones e bordas continuam legíveis.
     (--mist-wash / --mist-line seguem fixos: são véus, não texto.) */
  --mist:            #6B6F8C;
  --mist-deep:       #4E5270;
  
  --shadow-sm: 0 4px 14px rgba(34, 35, 40, 0.06);
  --shadow-md: 0 16px 36px -8px rgba(34, 35, 40, 0.12);
  --shadow-lg: 0 28px 60px -14px rgba(34, 35, 40, 0.16);

  --card-top:        #FFFFFF;
  --well:            rgba(34, 35, 40, 0.045);
  --spotlight:       rgba(122, 128, 168, 0.13);
  --sheen:           rgba(255, 255, 255, 0.75);
  --price-grad-end:  #6E7292;
  --hairline:        rgba(34, 35, 40, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.35s var(--ease-spring), color 0.35s var(--ease-spring);
}

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

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

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

::selection {
  background: var(--mist);
  color: var(--void);
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

section {
  padding-block: clamp(60px, 8vw, 104px);
  position: relative;
}

.font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--mist);
}

/* --- Ambient Glows --- */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-top {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: min(850px, 90vw);
  height: 480px;
  background: radial-gradient(circle, rgba(166, 170, 193, 0.14) 0%, rgba(166, 170, 193, 0.03) 55%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 8%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(166, 170, 193, 0.10) 0%, transparent 65%);
  filter: blur(90px);
}

/* --- Top Announcement Bar --- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announcement-height);
  background: var(--ink);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 70;
  font-size: 0.82rem;
  font-weight: 600;
  /* This bar always keeps its dark "ink" background regardless of site
     theme, so its text must stay a fixed light color (not a var(--text-*)
     token, which would flip to dark in light theme and disappear). */
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  padding-inline: 16px;
  overflow: hidden;
  transition: background-color 0.25s ease;
}

.announcement-bar:hover {
  background: #2C2D35;
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 0.7rem;
    gap: 6px;
    padding-inline: 12px;
  }

  .announcement-badge {
    white-space: nowrap;
  }

  .announcement-bar > span:not(.announcement-badge) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement-arrow {
    display: none;
  }
}

.announcement-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmerAnim 6s infinite linear;
}

@keyframes shimmerAnim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.announcement-badge {
  background: var(--mist-wash);
  /* Cor fixa: a barra é sempre escura, mesmo no tema claro. */
  color: #C5C8DA;
  border: 1px solid var(--mist-line);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-spring);
}

.announcement-bar:hover .announcement-arrow {
  transform: translateX(4px);
}

/* --- Sticky Header / Navbar --- */
.navbar-wrapper {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  z-index: 60;
  padding-block: 12px;
  pointer-events: none;
  transition: padding 0.3s ease;
}

.navbar {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
  padding-block: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  transition: all 0.3s var(--ease-spring), border-radius 0.3s var(--ease-spring);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
  flex-shrink: 0;
  white-space: nowrap;
}

.navbar-brand > span {
  white-space: nowrap;
}

/* Logo mark sits on a fixed dark badge so it stays legible in both
   light and dark themes (the source mark is a light/white cutout). */
.brand-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2C2D35 0%, #0A0A0C 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.footer-brand-title .brand-logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.brand-logo-img {
  width: 15px;
  height: auto;
  object-fit: contain;
}

.footer-brand-title .brand-logo-img {
  width: 17px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 18px);
  list-style: none;
}

@media (max-width: 990px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    /* Superfície sólida (não translúcida): sobre o hero, um painel com
       alpha deixava o texto de trás atravessar e colidir com os links. */
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    z-index: 65;
  }

  .navbar.mobile-open .navbar-nav {
    display: flex;
  }

  .navbar.mobile-open {
    border-radius: var(--radius-md);
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .navbar-nav .nav-link:hover {
    background: var(--mist-wash);
  }
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .navbar-actions { gap: 6px; }
  #currency-label { display: none; }
  .control-btn { padding-inline: 9px; }
  .navbar-actions > a.btn-primary span { display: none; }
  .navbar-actions > a.btn-primary { padding: 10px 12px; }
  .navbar-actions > a.btn-primary svg { margin: 0; }
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding-inline: 10px;
  border-radius: var(--radius-pill);
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: var(--mist-line);
  color: var(--text-white);
}

/* Os SVGs de sol/lua não trazem width/height próprios — sem isto o
   botão de tema renderiza vazio. */
.control-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#theme-toggle {
  width: 36px;
  padding-inline: 0;
}

/* --- Currency Dropdown (BR / Dólar / Euro) --- */
.currency-dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.control-btn .currency-chevron {
  width: 10px !important;
  height: 10px !important;
  margin-left: 1px;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.currency-dropdown-wrap.is-open .control-btn .currency-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.currency-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 185px;
  background: var(--bg-surface, #0c0d11);
  border: 1px solid var(--border-highlight, rgba(255, 255, 255, 0.14));
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s ease;
  pointer-events: none;
}

.currency-dropdown-wrap.is-open .currency-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.currency-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #a6aac1);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.currency-option:hover {
  background: var(--mist-wash, rgba(255, 255, 255, 0.08));
  color: var(--text-white, #ffffff);
}

.currency-option.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white, #ffffff);
}

.currency-opt-flag {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.currency-opt-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}

.currency-opt-name {
  font-weight: 700;
  color: var(--text-white, #ffffff);
  font-size: 0.82rem;
}

.currency-opt-code {
  font-size: 0.72rem;
  color: var(--text-muted, #a6aac1);
}

.currency-opt-check {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-emerald, #10b981);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.currency-option.is-active .currency-opt-check {
  opacity: 1;
  transform: scale(1);
}

/* Button System */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E9E9F0 100%);
  color: var(--void);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(0, 0, 0, 0.06) inset,
    0 10px 24px -10px rgba(0, 0, 0, 0.7),
    0 2px 8px -3px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), background 0.35s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

/* Brilho que varre o botão no hover */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -40% -10%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 34%, var(--sheen) 50%, transparent 66%);
  transform: translateX(-140%);
  transition: transform 0.85s var(--ease-spring);
}

.btn-primary:hover::before { transform: translateX(140%); }

.btn-primary > * { position: relative; z-index: 1; }

.btn-primary svg { transition: transform 0.35s var(--ease-spring); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 38px -14px rgba(166, 170, 193, 0.75),
    0 4px 12px -4px rgba(0, 0, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(0) scale(0.985);
}

/* No tema claro o botão inverte para grafite — um pill branco sobre
   fundo branco perde definição e deixa a CTA "seca". */
[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #34363F 0%, #1A1B20 100%);
  color: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 26px -12px rgba(23, 24, 28, 0.7),
    0 2px 8px -3px rgba(23, 24, 28, 0.35);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 20px 40px -16px rgba(23, 24, 28, 0.55),
    0 0 0 1px rgba(166, 170, 193, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-card);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--mist);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--mist-deep);
  border: 1px solid var(--mist-line);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 0.98rem;
}

.btn-full {
  width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  align-items: center;
  justify-content: center;
}

@media (max-width: 990px) {
  .mobile-toggle { display: flex; }
}

.navbar.mobile-open .mobile-toggle {
  background: var(--mist-line);
  color: var(--text-white);
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: calc(var(--announcement-height) + 118px);
  padding-bottom: clamp(48px, 6vw, 76px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mist-deep);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-white);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 34px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

/* Showcase Frame */
.hero-showcase {
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
}

.showcase-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
}

.showcase-canvas-mockup {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #262832 0%, #000000 85%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mockup-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Foto/render real do produto no hero de cada página de produto — SEM
   moldura/caixa: a imagem (PNG com transparência real) fica grande e
   integrada direto no fundo da página, com só um leve glow ambiente
   atrás pra dar profundidade, em vez do card/frame antigo. */
.product-hero-shot-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 24px) 0;
}

.product-hero-shot-wrap::before {
  content: '';
  position: absolute;
  inset: 6% 10%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 72%);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
}

.product-hero-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

@media (max-width: 900px) {
  .product-hero-shot { max-width: 380px; }
}

.mockup-center-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}

.mockup-icon-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.mockup-software-chip {
  /* This mockup screen always renders as a dark "device" surface
     regardless of site theme, so its contents use fixed light colors
     instead of var(--text-*)/var(--border-*) tokens, which would flip
     to dark in light theme and become unreadable. */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.mockup-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
  margin-inline: auto;
  margin-top: 16px;
  transition: transform 0.3s var(--ease-spring);
  cursor: pointer;
}

.mockup-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.6);
}

.mockup-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: currentColor;
}

.showcase-badge-floating {
  position: absolute;
  /* fica logo abaixo da barra da janela — o rodapé agora é da timeline */
  top: 50px;
  left: 16px;
  background: rgba(34, 35, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(244, 244, 247, 0.92);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

/* --- TRUST & PROOF BAR --- */
.trust-bar {
  border-block: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding-block: 22px;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--mist);
  font-weight: 600;
}

.stars-rating {
  color: var(--accent-gold);
  display: flex;
  gap: 2px;
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5.5vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-deep);
  background: var(--mist-wash);
  border: 1px solid var(--mist-line);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- PRODUCTS GRID (CATALOG) --- */
.products-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Master Bundle Card (Destaque Flagship) */
.bundle-master-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1.5px solid var(--mist-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-bundle);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 960px) {
  .bundle-master-card { grid-template-columns: 1fr; }
}

.bundle-glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--mist) 50%, transparent 100%);
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mist-wash);
  border: 1px solid var(--mist-line);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.bundle-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.bundle-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bundle-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .bundle-features-list { grid-template-columns: 1fr; }
}

.bundle-features-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.bundle-price-box {
  position: relative;
  overflow: hidden;
  background: var(--well);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.5vw, 36px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Fio de luz no topo da caixa de preço */
.bundle-price-box::before,
.product-purchase-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mist), transparent);
  opacity: 0.75;
}

.price-regular-cut {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-current-large {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
}

.price-installments-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.bundle-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.bundle-guarantee-note {
  font-size: 0.78rem;
  color: var(--mist);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Individual Products Grid */
.products-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-spring), border-color 0.4s ease;
}

/* Luz que segue o cursor dentro do card (--mx/--my vêm do JS) */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spotlight), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* Borda em gradiente revelada no hover */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, var(--hairline), rgba(166, 170, 193, 0.3) 38%, transparent 58%, rgba(166, 170, 193, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.product-card > * { position: relative; z-index: 1; }

.product-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before,
.product-card:hover::after { opacity: 1; }

/* Cabeçalho do card: tile de ícone + etiqueta */
.product-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--mist-wash), transparent 70%), var(--well);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.45s var(--ease-spring), border-color 0.35s ease;
}

.product-card:hover .product-card-icon {
  transform: translateY(-2px) rotate(-5deg) scale(1.05);
  border-color: var(--mist-line);
}

.product-card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mist-deep);
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  display: block;
  line-height: 1.35;
}

.product-card-head .product-card-badge { margin-bottom: 0; }

.product-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--text-white);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-card-specs {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-specs li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}

.product-card-specs li svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--mist);
  flex-shrink: 0;
}

.product-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.product-price-current {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-white);
}

.product-price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-actions-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- DEDICATED PRODUCT PAGE STYLES --- */
.product-page-hero {
  padding-top: calc(var(--announcement-height) + 104px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

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

.product-hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* item de grid não encolhe abaixo do conteúdo sem isto — sem o min-width:0
     um botão ou selo comprido empurra a coluna e estoura a página no celular */
  min-width: 0;
}

.product-hero-info > * { max-width: 100%; }

.back-to-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.back-to-catalog-link:hover {
  color: var(--text-white);
}

.product-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.product-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 52ch;
}

/* Duas colunas de frases curtas: o hero encurta e a lista para de virar
   um bloco de texto. Cada item é ícone + <span> (o texto solto dentro do
   flex virava um item anônimo e desalinhava a coluna). */
.product-hero-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-bottom: 24px;
  width: 100%;
}

.product-hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.product-hero-features-list li span { min-width: 0; }

@media (max-width: 560px) {
  .product-hero-features-list { grid-template-columns: 1fr; }
}

.product-hero-features-list li svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--mist);
  flex-shrink: 0;
}

.product-purchase-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  width: 100%;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.upsell-bundle-banner {
  background: linear-gradient(135deg, var(--mist-wash) 0%, var(--bg-card) 100%);
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .upsell-bundle-banner { flex-direction: column; text-align: center; }
}

/* --- COMPRA SEM BOX (hero das páginas de produto) -----------------------
   A caixa de checkout comia meia tela e não vendia nada a mais. Agora é só
   preço, botão e uma linha de segurança, direto no fundo da página. */
.buy-inline {
  width: 100%;
  margin: 6px 0 8px;
}

.buy-inline-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.buy-inline-old {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.buy-inline-now {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.buy-inline-tag {
  flex: 1 1 100%;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.buy-inline-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.buy-inline-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease-spring), border-color 0.25s var(--ease-spring);
}

.buy-inline-link:hover {
  color: var(--text-white);
  border-color: var(--mist);
}

.buy-inline-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

@media (max-width: 520px) {
  .buy-inline-actions { flex-direction: column; align-items: stretch; }
  .buy-inline-actions .btn-primary {
    justify-content: center;
    text-align: center;
    /* Nome de produto comprido não pode empurrar a página pro lado. */
    white-space: normal;
    padding-inline: 18px;
    min-width: 0;
  }
  .buy-inline-link { text-align: center; border-bottom: none; }
}

/* --- INTERACTIVE PREVIEW TABS --- */
.preview-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.preview-tab-btn {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--mist-deep);
  transition: all 0.25s var(--ease-spring);
}

.preview-tab-btn:hover {
  color: var(--text-white);
  border-color: var(--mist);
}

.preview-tab-btn.active {
  background: var(--paper);
  color: var(--void);
  border-color: var(--paper);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.preview-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 860px) {
  .preview-content-box { grid-template-columns: 1fr; }
}

.preview-media-frame {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-subtle);
  position: relative;
}

/* --- COMPARISON TABLE --- */
.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
}

.comparison-table th.col-bundle {
  color: var(--text-white);
  background: var(--mist-wash);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.comparison-table td.col-bundle {
  background: var(--mist-wash);
  font-weight: 700;
}

.table-check {
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

.table-cross {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* Ícone de usuário padrão nos depoimentos — antes era uma foto de banco
   de imagens (Unsplash) por pessoa; agora é o mesmo ícone genérico pra
   todo mundo, sem imagens externas. */
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--mist-line);
  background: var(--bg-surface);
  color: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar svg {
  width: 22px;
  height: 22px;
}

.testimonial-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
}

.testimonial-info p {
  font-size: 0.78rem;
  color: var(--mist);
}

/* --- FAQ ACCORDION (GRID RESPONSIVO LADO A LADO PAREADO) --- */
.faq-accordion {
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .faq-accordion {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-item.open {
  border-color: var(--mist);
  background: rgba(18, 22, 31, 0.95);
  box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.45);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-white);
  cursor: pointer;
  background: transparent;
  border: none;
  min-height: 68px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--mist);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding-inline: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 950px;
  padding-bottom: 24px;
}

.faq-answer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-answer-inner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-answer-inner strong {
  color: #ffffff;
  font-weight: 600;
}

.faq-answer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 0 0;
  padding: 0;
  list-style: none;
}

.faq-answer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.91rem;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.faq-answer-list li strong {
  color: #f1f5f9;
}

/* --- GUARANTEE SECTION --- */
.guarantee-panel {
  background: linear-gradient(135deg, var(--mist-wash) 0%, var(--bg-card) 100%);
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

.guarantee-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 20px;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
}

.guarantee-icon-box svg {
  width: 32px;
  height: 32px;
}

.guarantee-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text-white);
  margin-bottom: 12px;
}

.guarantee-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 48px;
}

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

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

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--mist);
  max-width: 36ch;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--mist-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  color: var(--text-white);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--mist);
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--text-white);
}

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

/* --- TOAST NOTIFICATION --- */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-glow);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  color: var(--text-white);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-spring);
}

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


/* ==========================================================================
   CAMADA PREMIUM — cursor, textura, revelação no scroll e refinamentos
   ========================================================================== */

/* --- 1. CURSOR CUSTOMIZADO ------------------------------------------------
   Uma mira de enquadramento (referência aos frames de edição) substitui o
   cursor nativo, com um anel que segue por inércia e um rótulo contextual.
   Só entra em dispositivos com ponteiro fino — em toque nada muda. */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }

  .cursor,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: transform;
    z-index: 10000002 !important;
  }

  /* Mira central */
  .cursor {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    display: grid;
    place-items: center;
    transition: opacity 0.3s ease;
  }

  .cursor-glyph {
    width: 30px;
    height: 30px;
    overflow: visible;
    fill: none;
    stroke: var(--mist-deep);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s var(--ease-spring), stroke 0.3s ease, opacity 0.3s ease;
  }

  .cursor-glyph .cursor-bracket {
    transform-origin: 15px 15px;
    transition: transform 0.45s var(--ease-spring);
  }

  .cursor-glyph .cursor-core {
    fill: var(--mist-deep);
    stroke: none;
    transition: r 0.35s var(--ease-spring), fill 0.3s ease;
  }

  /* Anel que persegue o ponteiro com atraso */
  .cursor-ring {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    border: 1px solid var(--mist-line);
    z-index: 10000001 !important;
    transition:
      width 0.4s var(--ease-spring),
      height 0.4s var(--ease-spring),
      margin 0.4s var(--ease-spring),
      background-color 0.35s ease,
      border-color 0.35s ease,
      opacity 0.3s ease;
  }

  /* Sobre algo clicável: a mira trava (brackets abrem) e o anel envolve */
  .cursor.is-hover .cursor-glyph { stroke: var(--paper); }
  .cursor.is-hover .cursor-bracket { transform: scale(1.45); }
  .cursor.is-hover .cursor-core { fill: var(--paper); }

  .cursor-ring.is-hover {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    background: var(--mist-wash);
    border-color: var(--mist);
  }

  .cursor-ring.is-down {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    background: var(--mist-line);
  }

  .cursor.is-down .cursor-bracket { transform: scale(0.82); }

  /* Rótulo contextual (data-cursor="...") */
  .cursor-label {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--void);
    background: var(--paper);
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    opacity: 0;
    z-index: 10000003 !important;
    transition: opacity 0.28s ease, transform 0.35s var(--ease-spring);
  }

  .cursor.has-label .cursor-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .cursor.is-off,
  .cursor-ring.is-off { opacity: 0; }

  /* No tema claro a mira precisa escurecer para aparecer sobre o branco */
  [data-theme="light"] .cursor.is-hover .cursor-glyph { stroke: var(--ink); }
  [data-theme="light"] .cursor.is-hover .cursor-core { fill: var(--ink); }
  [data-theme="light"] .cursor-label { color: var(--paper); background: var(--ink); }

  /* Durante reprodução no cinema modal (spotlight ativo): contraste máximo absoluto */
  body.spotlight-active .cursor-glyph { stroke: #FFFFFF !important; }
  body.spotlight-active .cursor-glyph .cursor-core { fill: #FFFFFF !important; }
  body.spotlight-active .cursor-ring { border-color: rgba(255, 255, 255, 0.5) !important; }
  body.spotlight-active .cursor-ring.is-hover { background: rgba(255, 255, 255, 0.12) !important; border-color: #FFFFFF !important; }
  body.spotlight-active .cursor-label { color: #000000 !important; background: #FFFFFF !important; }
}

/* --- 2. TEXTURA DE GRÃO --------------------------------------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.038;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

[data-theme="light"] .grain-overlay { opacity: 0.022; }

/* --- 3. REVELAÇÃO NO SCROLL ----------------------------------------------
   As classes só são aplicadas via JS: sem JS, tudo continua visível. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.products-cards-grid .reveal:nth-child(2),
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.products-cards-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.products-cards-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.faq-accordion .reveal:nth-child(2) { transition-delay: 0.06s; }
.faq-accordion .reveal:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- 4. PREÇOS E SELO DE DESCONTO ---------------------------------------- */
.price-current-large,
.product-price-current {
  background: linear-gradient(180deg, var(--text-white) 25%, var(--price-grad-end) 135%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.price-discount {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #10B981;
  white-space: nowrap;
}

.product-card-price {
  flex-wrap: wrap;
  row-gap: 4px;
}

/* --- 5. LISTA DE BENEFÍCIOS DO BUNDLE COMO CHIPS -------------------------
   Reduz a sensação de "parede de texto" e deixa a leitura escaneável. */
.bundle-features-list li {
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--well);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  line-height: 1.35;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease;
}

.bundle-features-list li:hover {
  transform: translateX(3px);
  border-color: var(--mist-line);
}

.bundle-features-list li span:first-child {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.bundle-features-list li strong { color: var(--text-white); }

/* --- 6. CARD DO BUNDLE: LUZ DE FUNDO ------------------------------------- */
.bundle-master-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 0%), var(--spotlight), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.bundle-master-card:hover::before { opacity: 1; }

/* Apenas as colunas de conteúdo sobem de camada — um seletor genérico
   (> *) sobrescreveria o position:absolute da .bundle-glow-effect e ela
   viraria um item do grid, quebrando as colunas. */
.bundle-master-card > .bundle-info-side,
.bundle-master-card > .bundle-price-box { position: relative; z-index: 1; }

/* --- 7. DEPOIMENTOS E FAQ ------------------------------------------------- */
.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-spring), border-color 0.4s ease;
}

.testimonial-card::before {
  content: '”';
  position: absolute;
  top: -18px;
  right: 14px;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--mist);
  opacity: 0.13;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--mist-line);
  box-shadow: var(--shadow-md);
}

.faq-item {
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  transition: border-color 0.25s ease, box-shadow 0.35s ease;
}

.faq-item.open { box-shadow: var(--shadow-sm); }

/* --- 8. ABAS DO SHOWCASE NO TEMA CLARO ----------------------------------- */
[data-theme="light"] .preview-tab-btn.active {
  background: linear-gradient(180deg, #34363F 0%, #1A1B20 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(23, 24, 28, 0.6);
}

/* --- 9. BARRA DE PROVA SOCIAL -------------------------------------------- */
.trust-number {
  background: linear-gradient(180deg, var(--text-white) 20%, var(--price-grad-end) 145%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* --- 10. TÍTULOS DE SEÇÃO ------------------------------------------------- */
.section-title { letter-spacing: -0.03em; }

/* Sem backdrop-filter: o selo fica sobre fundo chapado, então o desfoque não
   aparecia na tela — só criava uma camada extra por seção que o navegador
   tinha que reprocessar a cada quadro de rolagem. Saiu, e nada mudou de
   aparência. */
.section-tag { }

/* --- 11. MOCKUP DO HERO EM TELAS PEQUENAS --------------------------------
   Em 16:9 o quadro fica baixo demais no celular e o conteúdo transborda
   por baixo do selo flutuante. */
@media (max-width: 640px) {
  .showcase-frame { aspect-ratio: 4 / 3; }

  .showcase-badge-floating { display: none; }

  .mockup-center-content { padding: 16px; }

  .mockup-icon-stack {
    gap: 8px;
    margin-bottom: 12px;
  }

  .mockup-icon-stack .mockup-software-chip:nth-child(n + 3) { display: none; }

  .mockup-software-chip {
    font-size: 0.72rem;
    padding: 6px 11px;
  }

  .mockup-play-btn {
    width: 52px;
    height: 52px;
    margin-top: 10px;
  }

  .mockup-play-btn svg { width: 20px; height: 20px; }
}

/* --- 12. CAIXA DE COMPRA DAS PÁGINAS DE PRODUTO -------------------------- */
.purchase-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 8px;
}

.purchase-price-was {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.product-purchase-box .price-old-val,
.product-purchase-box .price-regular-cut {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.product-purchase-box .product-price-current {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* --- 13. BARRA DE PROGRESSO DE LEITURA ----------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mist), var(--paper) 55%, var(--mist));
  box-shadow: 0 0 12px rgba(166, 170, 193, 0.6);
  pointer-events: none;
}

[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, #8A8FB0, var(--ink) 55%, #8A8FB0);
  box-shadow: 0 0 12px rgba(34, 35, 40, 0.25);
}

/* --- 14. HERO CINEMATOGRÁFICO -------------------------------------------
   Grid de timeline desvanecendo nas bordas + partículas em canvas. */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line, rgba(255, 255, 255, 0.045)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line, rgba(255, 255, 255, 0.045)) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 25%, transparent 78%);
}

/* Grid mais visível nas páginas de produto (pedido do Hasse, referência:
   hero do hasseeditor.vercel.app) — linhas mais fortes e máscara mais
   generosa (some mais tarde, cobre mais área) que a versão da home. */
.product-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-strong, rgba(255, 255, 255, 0.08)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong, rgba(255, 255, 255, 0.08)) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 20%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 75% at 50% 20%, #000 40%, transparent 100%);
}

[data-theme="light"] {
  --grid-line: rgba(34, 35, 40, 0.055);
  --grid-line-strong: rgba(34, 35, 40, 0.09);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-section > .container,
.product-page-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  letter-spacing: -0.038em;
  max-width: 20ch;
}

/* Varredura de brilho no título do hero */
.hero-title .font-serif-italic {
  background: linear-gradient(100deg, var(--mist) 20%, var(--paper) 42%, var(--mist) 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: titleSheen 7s ease-in-out infinite;
}

[data-theme="light"] .hero-title .font-serif-italic {
  background: linear-gradient(100deg, #6B6F8C 20%, #24263A 42%, #6B6F8C 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
}

@keyframes titleSheen {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .font-serif-italic { animation: none; }
}

/* --- 15. MARQUEE DE PALAVRAS-CHAVE --------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-main);
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee-group span::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 34px;
  border-radius: 50%;
  background: var(--mist);
  opacity: 0.5;
  vertical-align: middle;
}

.marquee:hover .marquee-group span { color: var(--mist-deep); }

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* --- 15.5 SLIDER DE VÍDEOS (horizontal) ---------------------------------
   Linhas que correm de lado em loop infinito, uma pra cada direção. Vive
   dentro do fundo da página: a máscara dissolve as pontas, então não tem
   moldura nem retângulo — o clipe some no BG. Referência de layout que o
   Hasse mandou: neoeditfx.com. */
.video-strip-header {
  padding-bottom: clamp(20px, 3vw, 32px);
}

.video-strip {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.video-strip-row { overflow: hidden; }

.video-strip-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  width: max-content;
  animation: videoStripScroll linear infinite;
  will-change: transform;
}

.video-strip-row.dir-rev .video-strip-track { animation-direction: reverse; }

.video-strip-row:hover .video-strip-track { animation-play-state: paused; }

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

.vwall-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(210px, 21vw, 290px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  /* Sem translateZ(0) fixo de propósito: isso promovia CADA card a uma camada
     própria de GPU, e a parede do Fast Text tem 216 deles. A promoção agora
     acontece só em quem está sob o mouse, que é quem realmente anima. */
}

.vwall-card:hover {
  transform: scale(1.03) translateZ(0);
  will-change: transform;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 25px rgba(166, 170, 193, 0.25);
  z-index: 5;
}

.vwall-card:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.vwall-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* vale pro vídeo E pro poster */
  background: var(--bg-card);
  pointer-events: none;
}

/* O card não influencia o layout de ninguém e já corta o que passa da borda:
   dizer isso ao navegador deixa ele repintar só o card em vez de recalcular a
   faixa inteira quando um vídeo troca de quadro. */
.vwall-card { contain: layout paint style; }

/* Badge de clique/áudio inspirada no portfólio oficial hasseeditor.vercel.app */
.vwall-audio-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  /* Sem backdrop-filter de propósito: esse badge existe em TODOS os cards
     (216 só no Fast Text) e cada blur vira uma camada própria pro compositor
     recalcular enquanto a faixa anda — era um dos motivos da rolagem travada.
     O fundo quase opaco sobre card escuro dá o mesmo resultado visual. */
  background: rgba(10, 12, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vwall-audio-badge svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.vwall-card:hover .vwall-audio-badge {
  background: #FFFFFF;
  color: #050608;
  border-color: #FFFFFF;
  transform: scale(1.06);
}

.vwall-card.is-vertical .vwall-audio-badge {
  top: 6px;
  right: 6px;
  height: 22px;
  padding: 0 7px;
  font-size: 0.58rem;
}

/* Slot ainda sem vídeo: card com nome do efeito e um selo discreto, pra
   não parecer quebrado enquanto as prévias não entram. */
.vwall-card.is-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 30% 15%, var(--mist-wash), transparent 65%),
    linear-gradient(160deg, var(--card-top) 0%, var(--bg-card) 70%);
}

.vwall-soon {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.6;
}

.vwall-card-tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 9px 11px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75) 68%);
}

.vwall-cat {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  /* Cor fixa: o scrim é sempre escuro, mesmo no tema claro. */
  color: #C9CCDC;
}

.vwall-name {
  font-size: 0.74rem;
  font-weight: 650;
  /* Cor fixa: o scrim é sempre escuro, mesmo no tema claro. */
  color: #FFFFFF;
}

/* Card sem vídeo mostra o nome sem o scrim escuro por cima. */
.vwall-card.is-soon .vwall-card-tag { background: none; }
.vwall-card.is-soon .vwall-name { color: var(--text-white); }
.vwall-card.is-soon .vwall-cat { color: var(--mist); }

@media (max-width: 640px) {
  .vwall-card { width: clamp(180px, 58vw, 230px); }
}

@media (prefers-reduced-motion: reduce) {
  .video-strip-track { animation: none; }
}

/* --- 16. SELOS DE CONFIANÇA ---------------------------------------------- */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: var(--well);
  border: 1px solid var(--border-subtle);
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.trust-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--mist);
}

/* --- 17. QUADRO DO HERO COMO JANELA DE EDIÇÃO ---------------------------
   Barra de janela no topo e uma timeline estilizada no rodapé, para o
   quadro comunicar o produto em vez de ser uma caixa preta vazia.
   Como o quadro é sempre escuro, as cores aqui são fixas de propósito. */
.editor-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 14px;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.chrome-dots {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
}

.chrome-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.chrome-title {
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chrome-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(166, 170, 193, 0.14);
  border: 1px solid rgba(166, 170, 193, 0.24);
  color: #C5C8DA;
}

.editor-timeline {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 10px 12px 12px;
  border-radius: 14px;
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.timeline-ruler {
  height: 9px;
  margin-bottom: 8px;
  border-radius: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 1px,
    transparent 1px 28px
  );
  opacity: 0.7;
}

.timeline-track {
  position: relative;
  height: 26px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-track:last-of-type { margin-bottom: 0; }

.clip {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: var(--start);
  width: var(--len);
  display: flex;
  align-items: center;
  padding-inline: 8px;
  border-radius: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clip-a { background: linear-gradient(180deg, rgba(166, 170, 193, 0.34), rgba(166, 170, 193, 0.18)); }
.clip-b { background: linear-gradient(180deg, rgba(166, 170, 193, 0.22), rgba(166, 170, 193, 0.1)); }
.clip-c { background: linear-gradient(180deg, rgba(255, 176, 32, 0.28), rgba(255, 176, 32, 0.12)); }
.clip-d { background: linear-gradient(180deg, rgba(197, 200, 218, 0.3), rgba(197, 200, 218, 0.14)); }
.clip-e { background: linear-gradient(180deg, rgba(16, 185, 129, 0.26), rgba(16, 185, 129, 0.1)); }

.timeline-playhead {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 2%;
  width: 2px;
  border-radius: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
  animation: playheadSweep 9s linear infinite;
}

.timeline-playhead::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #FFFFFF;
}

@keyframes playheadSweep {
  0%   { left: 2%; }
  100% { left: 97%; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-playhead { animation: none; }
}

/* Em telas pequenas o quadro não comporta a janela + timeline */
@media (max-width: 760px) {
  .editor-chrome,
  .editor-timeline { display: none; }
}

/* ==========================================================================
   CAMADA DE VENDA — fundos de seção, vídeo, provas e blocos de conversão
   ========================================================================== */

/* --- 18. BIBLIOTECA DE FUNDOS DE SEÇÃO -----------------------------------
   Aplique no <section> com data-bg="motion|scan|aurora|ticks|wave".
   Todos são decorativos: pointer-events none, opacidade baixa, com máscara
   para desvanecer nas bordas e desligados em prefers-reduced-motion. */
section[data-bg] { position: relative; overflow: hidden; isolation: isolate; }

section[data-bg] > .container { position: relative; z-index: 1; }

section[data-bg]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Linhas de movimento (velocidade) */
section[data-bg="motion"]::before {
  background-image: repeating-linear-gradient(
    100deg,
    transparent 0 26px,
    var(--motion-line, rgba(198, 202, 224, 0.075)) 26px 27px,
    transparent 27px 52px
  );
  background-size: 220px 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  animation: motionDrift 14s linear infinite;
}

@keyframes motionDrift {
  from { background-position: 0 0; }
  to   { background-position: 220px 0; }
}

/* Scanlines de VHS */
section[data-bg="scan"]::before {
  background-image: repeating-linear-gradient(
    180deg,
    var(--motion-line, rgba(198, 202, 224, 0.06)) 0 1px,
    transparent 1px 4px
  );
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, transparent 80%);
  animation: scanDrift 9s linear infinite;
}

@keyframes scanDrift {
  from { background-position: 0 0; }
  to   { background-position: 0 40px; }
}

/* Aurora: manchas suaves em deriva lenta */
section[data-bg="aurora"]::before {
  background:
    radial-gradient(420px circle at 15% 25%, rgba(166, 170, 193, 0.16), transparent 60%),
    radial-gradient(380px circle at 85% 70%, rgba(166, 170, 193, 0.11), transparent 62%);
  filter: blur(30px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* Régua de timeline no topo da seção */
section[data-bg="ticks"]::before {
  background-image: repeating-linear-gradient(
    90deg,
    var(--motion-line, rgba(198, 202, 224, 0.14)) 0 1px,
    transparent 1px 30px
  );
  background-repeat: no-repeat;
  background-size: 100% 16px;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

[data-theme="light"] {
  --motion-line: rgba(60, 64, 95, 0.09);
}

@media (prefers-reduced-motion: reduce) {
  section[data-bg]::before { animation: none !important; }
}

/* Waveform (barras injetadas por JS em data-bg="wave") */
.wave-bars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding-inline: 4%;
  pointer-events: none;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.wave-bars i {
  flex: 1;
  min-width: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--mist), transparent);
  transform-origin: bottom;
  animation: waveBeat 1.9s ease-in-out infinite;
}

@keyframes waveBeat {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .wave-bars i { animation: none; transform: scaleY(0.55); }
}

/* --- 19. BLOCO DE VÍDEO --------------------------------------------------- */
.video-showcase {
  max-width: 940px;
  margin-inline: auto;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #262832 0%, #06070A 82%);
  cursor: pointer;
}

/* Thumb de verdade no lugar do fundo vazio: a imagem cobre o frame e o
   gradiente por cima garante contraste pro botão e pros chips. */
.video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-poster.has-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(52% 52% at 50% 45%, rgba(0, 0, 0, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
}

.video-poster.has-thumb::after { opacity: 0.35; }

.video-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.video-play {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--void);
  display: grid;
  place-items: center;
  box-shadow: 0 0 46px rgba(255, 255, 255, 0.42);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.video-play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }

.video-poster:hover .video-play {
  transform: scale(1.09);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.6);
}

.video-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-chip {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(12, 13, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-chip.is-soon { border-color: rgba(166, 170, 193, 0.4); color: #C5C8DA; }

/* Tag de versão no vídeo: ultra sutil, discreta e sem poluição visual */
.video-chip.is-version {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(166, 170, 193, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}

.example-ver-pill {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 6px;
  display: inline-block;
  opacity: 0.65;
  letter-spacing: 0.01em;
}

/* Desativa controles nativos e overlays flutuantes de PiP do navegador (Edge, Chrome, Opera, Safari) */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-volume-control-container,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

video::-ms-media-controls,
video::-ms-media-controls-panel,
video::-ms-media-controls-picture-in-picture-button {
  display: none !important;
  visibility: hidden !important;
}

/* --- 19b. PLAYER INLINE CUSTOMIZADO (SEM CONTROLES NATIVOS / NA MESMA TELA) - */
.vframe-controls {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-frame:hover .vframe-controls,
.video-frame.is-paused .vframe-controls,
.video-frame.controls-active .vframe-controls {
  opacity: 1;
}

.vframe-scrub {
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  margin-bottom: 8px;
}

.vframe-scrub-track {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: height 0.15s ease;
}

.vframe-scrub:hover .vframe-scrub-track {
  height: 5px;
}

.vframe-scrub-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.vframe-scrub-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%) scale(0);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease;
}

.vframe-scrub:hover .vframe-scrub-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.vframe-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
}

.vframe-left,
.vframe-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vframe-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.vframe-btn:hover {
  transform: scale(1.15);
  color: var(--mist);
}

.vframe-btn svg {
  width: 18px;
  height: 18px;
}

.vframe-time {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.vframe-vol-panel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.vframe-mute-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.vframe-mute-btn:hover {
  transform: scale(1.15);
  color: var(--mist);
}

.vframe-mute-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.vframe-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(50px, 8vw, 80px);
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vframe-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vframe-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.vframe-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border: none;
}

.vframe-vol-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: right;
}

@keyframes vframeWaveAnim {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

.vframe-wave-indicator {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  padding-left: 2px;
}

.vframe-wave-indicator .sw-bar {
  display: block;
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: var(--mist, #A6AAC1);
}

.video-frame.is-playing:not(.is-muted) .vframe-wave-indicator .sw-bar:nth-child(1) {
  animation: vframeWaveAnim 0.7s ease-in-out infinite;
}
.video-frame.is-playing:not(.is-muted) .vframe-wave-indicator .sw-bar:nth-child(2) {
  animation: vframeWaveAnim 0.7s ease-in-out 0.2s infinite;
}
.video-frame.is-playing:not(.is-muted) .vframe-wave-indicator .sw-bar:nth-child(3) {
  animation: vframeWaveAnim 0.7s ease-in-out 0.4s infinite;
}

.vframe-center-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
  z-index: 15;
}

.vframe-center-flash.is-flashing {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vframe-center-flash svg {
  width: 24px;
  height: 24px;
}

.video-duo-side .vframe-bar {
  flex-wrap: wrap;
  gap: 6px;
}

.video-duo-side .vframe-time {
  display: none;
}

.video-duo-side .vframe-vol-panel {
  padding: 4px 10px;
  gap: 6px;
}

.video-duo-side .vframe-vol-slider {
  width: 42px;
}

@media (max-width: 640px) {
  .vframe-controls {
    padding: 0 10px 10px;
  }
  .vframe-time {
    display: none;
  }
  .vframe-vol-panel {
    padding: 4px 10px;
    gap: 6px;
  }
  .vframe-vol-slider {
    width: 48px;
  }
}

/* --- 20. ESTATÍSTICAS DO PACK -------------------------------------------- */
.pack-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-block: clamp(28px, 4vw, 44px);
}

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

.pack-stat {
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
}

.pack-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(180deg, var(--text-white) 25%, var(--price-grad-end) 135%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.pack-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- 21. BLOCOS DE APROFUNDAMENTO (texto + visual alternados) ------------ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.is-flipped .feature-row-media { order: -1; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.is-flipped .feature-row-media { order: 0; }
}

.feature-row-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 14px;
}

.feature-row-index::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--mist-line);
}

.feature-row-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-row-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.feature-row-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-row-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.feature-row-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mist);
}

.feature-row-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #262832 0%, #08090C 84%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  padding: 24px;
}

.feature-row-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
}

.feature-row-media > * { position: relative; z-index: 1; }

.feature-row-glyph {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.6));
}

.feature-row-caption {
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32ch;
  margin-inline: auto;
}

.feature-row-caption strong { color: #FFFFFF; }

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-top: 16px;
}

.feature-chips span {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* --- 22. O QUE VEM DENTRO (árvore de arquivos) --------------------------- */
.contents-panel {
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.contents-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--well);
}

.contents-head svg { width: 15px; height: 15px; color: var(--mist); }

.contents-tree {
  list-style: none;
  padding: 16px 18px;
  font-size: 0.88rem;
  line-height: 1.9;
}

.contents-tree li { color: var(--text-secondary); }

.contents-tree .tree-folder {
  color: var(--text-white);
  font-weight: 700;
}

.contents-tree .tree-child { padding-left: 22px; }

.contents-tree .tree-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  margin-left: 8px;
  border-radius: var(--radius-pill);
  background: var(--mist-wash);
  border: 1px solid var(--mist-line);
  color: var(--mist-deep);
  white-space: nowrap;
}

/* --- 23. ESPECIFICAÇÕES TÉCNICAS ----------------------------------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--well);
  border: 1px solid var(--border-subtle);
}

.spec-item svg { width: 17px; height: 17px; color: var(--mist); flex-shrink: 0; margin-top: 2px; }

.spec-item b {
  display: block;
  font-size: 0.8rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.spec-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- 23b. CATÁLOGO (Fast Assets — venda avulsa) ---------------------------
   Um card por item vendável. A ideia é o cliente bater o olho e decidir:
   nome, uma linha do que é, três chips e o preço com o botão. Sem parágrafo,
   sem lista de subpasta — quem quer detalhe rola até "Por dentro do pack". */
.catalog-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.6vw, 52px);
}

/* Botão de preview no topo do catálogo: quem quer ver antes de escolher
   cai direto no vídeo do pack. */
.catalog-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 10px 20px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  background: var(--well);
  color: var(--text-white);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.25s var(--ease-spring), background 0.25s var(--ease-spring);
}

.catalog-preview-btn svg { width: 13px; height: 13px; }

.catalog-preview-btn:hover {
  border-color: var(--mist);
  background: var(--bg-card-hover);
}

.cat-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-group-icon { font-size: 1.15rem; }

.cat-group-title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text-white);
}

.cat-group-line {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cat-group-bonus {
  font-size: 0.8rem;
  color: var(--mist);
  margin: -6px 0 16px;
}

.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

/* Faixas: cada pasta com o próprio título, lado a lado. A largura de cada
   faixa acompanha quantos cards ela tem (Imagens 2, Músicas 1, Overlays 1),
   então não fica tudo parecendo um bloco só. */
.cat-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: start;
}

.cat-lane-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-lane .cat-cards {
  grid-template-columns: repeat(var(--lane-cols, 1), minmax(0, 1fr));
}

@media (max-width: 900px) {
  .cat-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-lane { grid-column: span 2 !important; }
  .cat-lane .cat-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 560px) {
  .cat-lanes { grid-template-columns: 1fr; }
  .cat-lane { grid-column: span 1 !important; }
}

.cat-cards.is-single { grid-template-columns: 1fr; }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  transition: border-color 0.25s var(--ease-spring), transform 0.25s var(--ease-spring);
}

.cat-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.cat-card.is-star {
  border-color: var(--mist-line);
  background: var(--bg-card-hover);
}

.cat-flag {
  position: absolute;
  top: -9px;
  left: 16px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-main);
  background: var(--mist);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.cat-kicker {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: -4px;
}

.cat-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-white);
}

.cat-line {
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-chips span {
  font-size: 0.7rem;
  color: var(--text-dim);
  background: var(--well);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
}

.cat-bonus {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.cat-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.cat-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  white-space: nowrap;
}

.cat-add {
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease-spring), color 0.25s var(--ease-spring),
              border-color 0.25s var(--ease-spring);
}

.cat-add:hover {
  background: var(--accent-primary);
  color: var(--bg-main);
  border-color: var(--accent-primary);
}

.cat-add.is-added {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #04150F;
}

/* Faixa "leva a pasta inteira" no fim do grupo */
.cat-combo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 13px 18px;
  border: 1px dashed var(--mist-line);
  border-radius: var(--radius-sm);
}

.cat-combo-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-white);
}

.cat-combo-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cat-combo .cat-buy,
.cat-full .cat-buy {
  margin-top: 0;
  padding-top: 0;
}

/* Fecho da página: o pack inteiro */
.cat-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-lg);
  background: var(--mist-wash);
}

.cat-full-title {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: var(--text-white);
}

.cat-full-line {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.cat-full .cat-price { font-size: 1.6rem; }

/* --- 23c. CARRINHO ------------------------------------------------------- */
/* O atributo hidden vem com display:none do navegador, mas qualquer regra
   nossa de display (flex/grid) ganha dele. Como o carrinho liga/desliga
   vários elementos por hidden, este reforço evita badge "0" aparecendo e
   toast fantasma. */
.cart-count[hidden],
.cart-toast[hidden],
.cart-upsell[hidden],
.cart-foot[hidden] {
  display: none !important;
}
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cart-trigger svg {
  width: 17px;
  height: 17px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #04150F;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.cart-drawer.is-open { pointer-events: auto; }

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-spring);
}

.cart-drawer.is-open .cart-backdrop { opacity: 1; }

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  border-left: 1px solid var(--border-card);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-spring);
  overscroll-behavior: contain;
}

.cart-drawer.is-open .cart-panel { transform: translateX(0); }

.cart-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.cart-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-close:hover { border-color: var(--border-card-hover); color: var(--text-white); }
.cart-close svg { width: 15px; height: 15px; }

.cart-body {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 18px 22px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Toast de confirmação — fica fora da gaveta pra não cobrir o catálogo
   enquanto a pessoa monta o pacote. */
.cart-toast {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 998;
  max-width: min(380px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-spring), transform 0.3s var(--ease-spring);
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.cart-toast span { flex: 1; line-height: 1.4; }

.cart-toast button {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-empty {
  text-align: center;
  padding: 40px 10px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.cart-items { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--well);
}

.cart-row-info { flex: 1; min-width: 0; }

.cart-row-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.cart-row-kind {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.cart-row-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-white);
  white-space: nowrap;
}

.cart-row-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-shrink: 0;
}

.cart-row-remove:hover { color: var(--text-white); }
.cart-row-remove svg { width: 15px; height: 15px; }

.cart-upsell {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--mist-line);
  border-radius: var(--radius-sm);
  background: var(--mist-wash);
}

.cart-upsell strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.cart-upsell p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.cart-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cart-total-row span { font-size: 0.86rem; color: var(--text-secondary); }

.cart-total-row strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.cart-savings {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-error {
  font-size: 0.79rem;
  color: #FF8A8A;
  line-height: 1.45;
  margin-bottom: 10px;
}

.cart-clear {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.76rem;
  cursor: pointer;
  text-decoration: underline;
}

.cart-clear:hover { color: var(--text-secondary); }

html.cart-open,
html.cakto-open,
body.cart-open,
body.cakto-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* ==========================================================================
   23c-1. CHECKOUT TRANSPARENTE CAKTO (Modal & Elementos)
   ========================================================================== */

.cakto-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-spring);
  overscroll-behavior: contain;
}

.cakto-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.cakto-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cakto-dialog {
  position: relative;
  z-index: 1001;
  width: min(540px, 100%);
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: caktoPop 0.3s var(--ease-spring);
  overscroll-behavior: contain;
}

@keyframes caktoPop {
  from { transform: scale(0.96) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.cakto-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.cakto-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cakto-badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
}

.cakto-badge-secure svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

.cakto-ssl-badge {
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.cakto-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cakto-close:hover {
  border-color: var(--border-card-hover);
  color: var(--text-white);
  transform: rotate(90deg);
}

.cakto-close svg {
  width: 14px;
  height: 14px;
}

.cakto-body {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 20px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.cakto-body::-webkit-scrollbar {
  width: 6px;
}
.cakto-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Resumo do Pedido */
.cakto-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.cakto-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.cakto-summary-title {
  font-weight: 700;
  color: var(--text-white);
}

.cakto-summary-count {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.cakto-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
}

.cakto-item-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.cakto-item-list li strong {
  color: var(--text-white);
  margin-left: 10px;
  white-space: nowrap;
}

.cakto-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.cakto-summary-total span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cakto-summary-total strong {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 800;
}

/* Formulário e campos */
.cakto-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.cakto-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cakto-field-full {
  grid-column: 1 / -1;
}

.cakto-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cakto-field input,
.cakto-field select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cakto-field input:focus,
.cakto-field select:focus {
  border-color: var(--border-card-hover);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.cakto-field select option {
  background: var(--bg-card);
  color: var(--text-white);
}

.cakto-field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Métodos de pagamento */
.cakto-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.cakto-method-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.cakto-method-btn:hover {
  border-color: var(--border-card-hover);
}

.cakto-method-btn.is-active {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.18);
}

.cakto-method-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
}

.cakto-flag-svg {
  width: 26px;
  height: 18.2px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  display: block;
}

.cakto-method-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.cakto-method-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-white);
  line-height: 1.25;
  text-align: left;
  margin: 0;
  padding: 0;
}

.cakto-method-info small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.25;
  text-align: left;
  margin-top: 3px;
  padding: 0;
}

.cakto-card-brick-wrap {
  margin-top: 14px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  position: relative;
}

.cakto-card-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.cakto-pix-customer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
}

.cakto-pix-customer-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cakto-pix-customer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 3px 0;
}

.cakto-pix-customer-row span {
  color: var(--text-dim);
}

.cakto-pix-customer-row strong {
  color: var(--text-white);
  font-weight: 600;
}

.cakto-method-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--accent-emerald);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cakto-card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.cakto-card-fields[hidden],
.cakto-card-fields.is-hidden,
[hidden] {
  display: none !important;
}

.cakto-alert-error {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.8rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.cakto-submit-btn {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* TELA DO PIX */
.cakto-pix-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cakto-pix-header {
  margin-bottom: 16px;
}

.cakto-pix-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
  margin-bottom: 4px;
}

.cakto-pix-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.cakto-pix-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.cakto-pix-timer svg {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
}

.cakto-pix-timer strong {
  color: var(--text-white);
  font-variant-numeric: tabular-nums;
}

.cakto-qrcode-wrap {
  margin-bottom: 18px;
}

.cakto-qrcode-box {
  width: 220px;
  height: 220px;
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cakto-qrcode-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.cakto-pix-copy-section {
  width: 100%;
  text-align: left;
  margin-bottom: 16px;
}

.cakto-pix-copy-section label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cakto-copy-bar {
  display: flex;
  gap: 8px;
}

.cakto-copy-bar input {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.82rem;
  outline: none;
}

.cakto-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.cakto-copy-btn.is-copied {
  background: var(--accent-emerald);
  color: #000;
  border-color: var(--accent-emerald);
}

.cakto-copy-btn svg {
  width: 14px;
  height: 14px;
}

.cakto-polling-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-pill);
}

.cakto-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: caktoPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes caktoPulse {
  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 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cakto-demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  width: 100%;
}

.cakto-demo-pill {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cakto-demo-simulate-btn {
  background: var(--accent-gold);
  color: #000;
  border: none;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: opacity 0.2s;
}

.cakto-demo-simulate-btn:hover {
  opacity: 0.88;
}

.cakto-pix-instructions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: left;
  margin-bottom: 16px;
}

.cakto-instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cakto-instruction-step p strong {
  color: var(--text-white);
}

.cakto-step-num {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.cakto-btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px;
}

.cakto-btn-ghost:hover {
  color: var(--text-white);
}

/* TELA DE SUCESSO */
.cakto-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.cakto-success-icon-wrap {
  margin-bottom: 16px;
}

.cakto-success-check {
  width: 68px;
  height: 68px;
  background: rgba(16, 185, 129, 0.12);
  border: 2px solid var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  animation: caktoCheckScale 0.4s var(--ease-spring);
}

@keyframes caktoCheckScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cakto-success-check svg {
  width: 34px;
  height: 34px;
  color: var(--accent-emerald);
}

.cakto-success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.cakto-success-subtitle {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cakto-success-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 16px;
}

.cakto-success-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.cakto-success-row:last-child {
  border-bottom: none;
}

.cakto-success-row span {
  color: var(--text-dim);
}

.cakto-success-row strong {
  color: var(--text-white);
  word-break: break-all;
}

.cakto-success-items {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.8rem;
}

.cakto-success-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 420px;
}

.cakto-success-actions {
  width: 100%;
}

@media (max-width: 520px) {
  .cat-combo,
  .cat-full { flex-direction: column; align-items: stretch; }
  .cat-combo .cat-buy,
  .cat-full .cat-buy { justify-content: space-between; }
}

/* --- 23d. EXEMPLOS REAIS (3 vídeos verticais) ----------------------------
   Cards 9:16, do tamanho de um Reels, com o rótulo do modo usado embaixo.
   Enquanto o vídeo não entra, o card mostra um selo discreto em vez de um
   quadrado vazio. */
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 24px);
  max-width: 900px;
  margin-inline: auto;
  width: 100%;
}

.example-card {
  margin: 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s var(--ease-spring), transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}

.example-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
}

.example-media,
.example-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background:
    radial-gradient(120% 80% at 50% 15%, var(--mist-wash), transparent 62%),
    linear-gradient(170deg, var(--card-top) 0%, var(--bg-card) 70%);
}

.example-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-soon {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.7;
}

.example-caption {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.example-kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 5px;
}

.example-line {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Badge de controle de áudio nos cards verticais (.example-card) */
.example-audio-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.example-card:hover .example-audio-badge {
  border-color: rgba(255, 255, 255, 0.4);
}

.example-audio-badge:hover {
  transform: scale(1.08);
  background: rgba(20, 24, 34, 0.92);
}

.example-audio-badge svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.example-card.is-unmuted .example-audio-badge {
  background: rgba(166, 170, 193, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .example-grid {
    gap: clamp(8px, 1.5vw, 14px);
  }
  .example-caption {
    padding: 10px 8px 12px;
  }
  .example-kicker {
    font-size: 0.58rem;
    margin-bottom: 3px;
  }
  .example-line {
    font-size: 0.74rem;
    line-height: 1.35;
  }
}

@media (max-width: 520px) {
  .example-grid {
    gap: 6px;
  }
  .example-card {
    border-radius: var(--radius-sm, 10px);
  }
  .example-caption {
    padding: 8px 5px 10px;
  }
  .example-kicker {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }
  .example-line {
    font-size: 0.66rem;
    line-height: 1.25;
  }
}

/* --- 24. CTA FINAL DAS PÁGINAS DE PRODUTO --------------------------------
   Último bloco da página: é aqui que a pessoa decide. O preço é o herói —
   grande, na fonte de display — com um halo suave saindo de trás do painel
   e um fio de luz no topo, pra separar do resto sem parecer mais uma caixa
   qualquer. */
.final-offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(38px, 5.4vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 130% at 50% -20%, var(--mist-wash) 0%, transparent 58%),
    linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--mist-line);
  box-shadow: var(--shadow-bundle);
}

/* Fio de luz no topo do painel */
.final-offer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mist), transparent);
  opacity: 0.5;
}

.final-offer .section-title {
  max-width: 18ch;
  margin-inline: auto;
}

.final-offer-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-block: 26px 8px;
}

.final-offer-price .product-price-current {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.5vw, 4.1rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.final-offer-was {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.final-offer-price .price-old-val {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.final-offer .price-installments-note {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.final-offer .btn-primary {
  margin-top: 4px;
  padding: 16px 34px;
  font-size: 1rem;
}

.final-offer .trust-badges {
  margin-top: 28px;
  padding-top: 22px;
  gap: 10px;
}

/* --- BOTÃO VOLTAR PARA O TOPO (INTEGRADO NO FAQ COM VISUAL REFINADO) --- */
.faq-footer-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 42px);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(34, 35, 40, 0.55);
  border: 1px solid rgba(166, 170, 193, 0.2);
  color: var(--mist-deep);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn-back-to-top svg {
  transition: transform 0.25s ease, color 0.25s ease;
  color: var(--mist);
}

.btn-back-to-top:hover {
  background: rgba(44, 45, 52, 0.9);
  border-color: rgba(166, 170, 193, 0.5);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-back-to-top:hover svg {
  transform: translateY(-2px);
  color: var(--paper);
}

[data-theme="light"] .btn-back-to-top {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.16);
  color: #222328;
  box-shadow: 0 4px 18px rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .btn-back-to-top svg {
  color: #222328;
}

[data-theme="light"] .btn-back-to-top:hover {
  background: #F4F4F7;
  border-color: rgba(34, 35, 40, 0.35);
  color: #000000;
  box-shadow: 0 6px 24px rgba(34, 35, 40, 0.14);
}

[data-theme="light"] .btn-back-to-top:hover svg {
  color: #000000;
}

/* Estado "vídeo ainda não configurado" */
.video-showcase.is-unset .video-play { opacity: 0.45; box-shadow: none; }
.video-showcase.is-unset .video-poster:hover .video-play { transform: none; }

/* Em telas bem estreitas a navbar mostra só "HASSE" — o complemento da
   marca (| Studios / nome do pack) truncava com reticências. */
@media (max-width: 520px) {
  .navbar-brand .font-serif-italic { display: none; }
  .navbar-actions > a.btn-primary { padding: 10px 13px; font-size: 0.78rem; }
}

/* --- 26. PALCO 3D + DOCK (home) ------------------------------------------
   Zero cards: o pack fica flutuando no meio da página, com anotações finas
   ligadas por um fio de luz e um dock de vidro embaixo pra trocar de pack.
   Conteúdo e imagens vêm de js/stage.js. */
.stage {
  position: relative;
}

.stage-scene {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(300px, 40vw, 500px);
  margin-bottom: clamp(14px, 2.4vw, 26px);
}

/* Luz de estúdio no chão, atrás do objeto */
.stage-floor {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(660px, 78%);
  height: 46%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--mist-wash) 0%, transparent 68%);
  filter: blur(34px);
  pointer-events: none;
}

.stage-media {
  position: relative;
  width: min(520px, 62%);
  aspect-ratio: 1 / 1;
}

.stage-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.965) translateY(10px);
  transition: opacity 0.5s var(--ease-spring), transform 0.6s var(--ease-spring);
  filter: drop-shadow(0 38px 56px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.stage-shot.is-active {
  opacity: 1;
  animation: stageFloat 7s ease-in-out infinite;
}

@keyframes stageFloat {
  0%, 100% { transform: translateY(-9px); }
  50%      { transform: translateY(9px); }
}

/* --- Anotações holográficas --- */
.stage-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage-callout {
  position: absolute;
  max-width: 175px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--text-secondary);
  opacity: 0;
  animation: calloutIn 0.55s var(--ease-spring) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes calloutIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* fio fino ligando o texto ao objeto + ponto na ponta */
.stage-callout::after,
.stage-callout::before {
  content: '';
  position: absolute;
  top: 0.6em;
}

.stage-callout::after {
  width: clamp(40px, 7vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, var(--mist-line), transparent);
}

.stage-callout::before {
  width: 4px;
  height: 4px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--mist);
  opacity: 0.8;
}

.stage-callout.pos-tl,
.stage-callout.pos-bl {
  left: 0;
  text-align: right;
}

.stage-callout.pos-tr,
.stage-callout.pos-br { right: 0; }

.stage-callout.pos-tl { top: 14%; }
.stage-callout.pos-bl { top: 56%; }
.stage-callout.pos-tr { top: 14%; }
.stage-callout.pos-br { top: 56%; }

.stage-callout.pos-tl::after,
.stage-callout.pos-bl::after { right: calc(-1 * clamp(40px, 7vw, 96px)); }

.stage-callout.pos-tl::before,
.stage-callout.pos-bl::before { right: calc(-1 * clamp(40px, 7vw, 96px) - 4px); }

.stage-callout.pos-tr::after,
.stage-callout.pos-br::after {
  left: calc(-1 * clamp(40px, 7vw, 96px));
  background: linear-gradient(270deg, var(--mist-line), transparent);
}

.stage-callout.pos-tr::before,
.stage-callout.pos-br::before { left: calc(-1 * clamp(40px, 7vw, 96px) - 4px); }

/* --- Painel de texto --- */
.stage-panel {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto clamp(18px, 2.6vw, 28px);
}

.stage-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}

.stage-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 8px;
}

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

/* --- Dock de vidro + compra --- */
.stage-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 22px);
}

.stage-dock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}

.dock {
  display: inline-flex;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock::-webkit-scrollbar { display: none; }

.dock-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 18px;
  border: 0;
  border-radius: calc(var(--radius-pill) - 5px);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.dock-tab.is-active {
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--mist-line);
}

.dock-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.dock-tab.is-active .dock-num { color: var(--mist); }

.dock-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-spring);
}

.dock-tab:hover .dock-name,
.dock-tab.is-active .dock-name { color: var(--text-white); }

/* Camada separada do dock: preço + carrinho + compra formam seu próprio
   "vidro" flutuante logo abaixo das abas, em vez de dividir a mesma linha. */
.stage-buy {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 100%;
}

.stage-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.stage-price-old {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.stage-price-now {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

.stage-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--void);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.16);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.stage-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(255, 255, 255, 0.28);
}

.stage-cta {
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
}

.stage-add { padding: 12px 22px; }

/* Botão "Ver o pack": posicionado ao lado do dock de abas dos packs.
   Estilo sólido em branco puro (#FFFFFF) para alto destaque e contraste imediato. */
.stage-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring),
    background 0.25s var(--ease-spring);
  white-space: nowrap;
}

.stage-link span {
  color: #000000;
}

.stage-link svg {
  stroke: #000000;
  transition: transform 0.25s var(--ease-spring);
}

.stage-link:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 0 42px rgba(255, 255, 255, 0.45);
}

.stage-link:hover svg {
  transform: translateX(3px);
}

/* No tema claro o fundo é claro: contraste sólido em preto com texto branco */
[data-theme="light"] .stage-link {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .stage-link span {
  color: #FFFFFF;
}

[data-theme="light"] .stage-link svg {
  stroke: #FFFFFF;
}

[data-theme="light"] .stage-link:hover {
  background: #18181B;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

/* Botão secundário "adicionar ao carrinho" ao lado do comprar agora.
   Herda a pílula de .cat-add e só cresce pra alinhar com o botão grande. */
.btn-cart {
  padding: 13px 24px;
  font-size: 0.85rem;
}

.final-offer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  /* Sem espaço lateral pras anotações: o texto do painel dá conta. */
  .stage-callouts { display: none; }
  .stage-media { width: min(420px, 82%); }
}

@media (max-width: 520px) {
  .dock-tab { padding: 8px 14px; }
  .stage-buy { padding: 10px 16px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-shot.is-active { animation: none; }
  .stage-callout { animation: none; opacity: 1; }
}

/* --- 27. CYBER STUDIO SOUNDBOARD (Fast Assets) ---------------------------
   A venda modular virou mesa de som: pads retroiluminados que tocam prévia,
   faders pras outras pastas, tela tipo OLED com o detalhe do item e um
   medidor dourado com o pack inteiro. Montado por js/soundboard.js. */
.board {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 28px);
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
}

.board-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

.board-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 12px;
}

.board-label span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text-dim);
}

/* --- Pads --- */
.pad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pad {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(var(--pad-light), 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-spring), transform 0.25s var(--ease-spring),
              box-shadow 0.25s var(--ease-spring);
}

.pad:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--pad-light), 0.4);
  box-shadow: 0 0 34px -12px rgba(var(--pad-light), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pad.is-playing {
  border-color: rgba(var(--pad-light), 0.75);
  box-shadow: 0 0 46px -10px rgba(var(--pad-light), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pad-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 15px 16px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
}

.pad-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(var(--pad-light), 0.9);
}

.pad-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
}

.pad-line {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Mini waveform: as barras só dançam enquanto o pad está tocando. */
.pad-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 26px;
  width: 100%;
  margin-top: 6px;
}

.pad-wave i {
  flex: 1 1 auto;
  height: var(--h);
  min-width: 2px;
  border-radius: 1px;
  background: rgba(var(--pad-light), 0.35);
  transform-origin: bottom;
  transform: scaleY(0.55);
  transition: background 0.25s ease;
}

.pad.is-playing .pad-wave i {
  background: rgba(var(--pad-light), 0.9);
  animation: padWave 0.7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 30ms);
}

@keyframes padWave {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}

.pad-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

.pad-cue svg { width: 9px; height: 9px; }

.pad.is-playing .pad-cue { color: rgba(var(--pad-light), 0.95); }

.pad.is-mute .pad-cue { opacity: 0.4; }

.pad-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px 14px;
  border-top: 1px solid var(--border-subtle);
}

.pad-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.pad-combo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px dashed var(--mist-line);
  border-radius: var(--radius-sm);
}

.pad-combo strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-white);
}

.pad-combo span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pad-combo-buy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pad-bonus {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--mist);
}

/* --- Faders --- */
/* 5 faders hoje: Thumbnails, Vídeos + Highlights, Músicas, Overlays, Vídeos & Memes.
   Se mudar a quantidade de itens sem categoria em FADERS (js/soundboard.js), ajuste aqui. */
.fader-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border-subtle);
}

.fader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 4px 6px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.25s var(--ease-spring);
}

.fader:hover { background: rgba(255, 255, 255, 0.04); }

.fader-track {
  position: relative;
  width: 6px;
  height: 74px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.fader-cap {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 26px;
  height: 15px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #E8EAF2 0%, #9A9DB0 45%, #55586B 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  transition: bottom 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}

.fader.is-active .fader-cap {
  bottom: calc(100% - 22px);
  box-shadow: 0 3px 14px rgba(198, 202, 224, 0.5);
}

.fader-folder {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fader-name {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--text-secondary);
}

.fader.is-active .fader-name { color: var(--text-white); }
.fader.is-active .fader-folder { color: var(--mist); }

/* --- Tela --- */
.board-screen {
  margin-top: 12px;
  padding: 16px 18px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(180deg, rgba(198, 202, 224, 0.06), transparent 55%),
    var(--well);
  box-shadow: inset 0 0 40px -18px rgba(198, 202, 224, 0.6);
}

.screen-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.screen-folder {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.screen-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.screen-line {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.screen-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.screen-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.74rem;
  color: var(--text-secondary);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.screen-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.scr-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mist);
  opacity: 0.8;
  flex-shrink: 0;
}

.screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.screen-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
}

/* --- Medidor dourado do pack inteiro --- */
.board-master {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  flex-wrap: wrap;
  margin-top: clamp(16px, 2.4vw, 24px);
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(214, 176, 90, 0.38);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(214, 176, 90, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.master-meter {
  position: relative;
  flex: 1 1 220px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(214, 176, 90, 0.25);
  overflow: hidden;
}

.master-ticks {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(214, 176, 90, 0.35) 0 1px, transparent 1px 22px);
  opacity: 0.6;
}

.master-fill {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc(var(--fill, 50%) - 6px);
  border-radius: calc(var(--radius-xs) - 2px);
  background: linear-gradient(90deg, rgba(214, 176, 90, 0.35), rgba(240, 206, 130, 0.85));
  box-shadow: 0 0 24px -6px rgba(240, 206, 130, 0.8);
  animation: masterPulse 3.6s ease-in-out infinite;
}

@keyframes masterPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

.master-text {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.master-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #F0CE82;
}

.master-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.master-buy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.master-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.master-cta {
  border-color: rgba(214, 176, 90, 0.55);
  background: linear-gradient(180deg, rgba(240, 206, 130, 0.22), rgba(214, 176, 90, 0.1));
  color: #F6E3B4;
  padding: 11px 22px;
}

.master-cta:hover {
  background: linear-gradient(180deg, #F0CE82, #D6B05A);
  border-color: #F0CE82;
  color: #17140B;
}

/* No tema claro o dourado clarinho sumia no fundo: o botão vira sólido. */
[data-theme="light"] .master-cta {
  background: linear-gradient(180deg, #E0B662, #C79A3E);
  border-color: #C79A3E;
  color: #1B1608;
}

[data-theme="light"] .master-text strong { color: #8A6A1E; }

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

@media (max-width: 620px) {
  .pad-grid { grid-template-columns: 1fr; }
  .fader-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .board-master { flex-direction: column; align-items: stretch; }
  .master-buy { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .pad.is-playing .pad-wave i { animation: none; transform: scaleY(0.8); }
  .master-fill { animation: none; }
}

/* --- 28. 3D ASSET STAGE EXPLORER (Fast Assets) ----------------------------
   Substitui a mesa de som (seção 27, acima — fica só de referência histórica,
   não é mais montada em nenhuma página) pela mesma fórmula do palco 3D da
   home: pasta flutuando no centro, callouts finos à esquerda, widget de
   compra flutuante à direita e dock de vidro embaixo. Montado por
   js/folder-stage.js. Zero card grande envolvendo tudo — cada peça (texto,
   widget, dock) flutua solta, igual o esboço aprovado. */
.fstage-frame {
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr minmax(200px, 260px);
  grid-template-areas: "callouts media buy";
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  min-height: clamp(320px, 40vw, 480px);
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

/* --- Callouts (esquerda) --- */
.fstage-callouts {
  grid-area: callouts;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3.4vw, 36px);
}

.fstage-callout {
  position: relative;
  padding-right: clamp(22px, 4vw, 46px);
  text-align: right;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  opacity: 0;
}

.fstage-callouts.is-in .fstage-callout {
  animation: fstageCalloutIn 0.5s var(--ease-spring) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fstageCalloutIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: none; }
}

.fstage-callout::after {
  content: '';
  position: absolute;
  top: 0.65em;
  right: 0;
  width: clamp(16px, 3vw, 36px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mist-line));
}

.fstage-callout::before {
  content: '';
  position: absolute;
  top: calc(0.65em - 1.5px);
  right: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mist);
  opacity: 0.85;
}

/* --- Pasta 3D central --- */
.fstage-media {
  grid-area: media;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

.fstage-floor {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 90%;
  height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--mist-wash) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.fstage-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.55));
  animation: fstageFloat 7s ease-in-out infinite;
}

@keyframes fstageFloat {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(8px); }
}

/* Selo com o ícone/cor do item ativo, flutuando no canto da pasta */
.fstage-badge {
  position: absolute;
  top: 6%;
  left: 6%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  background: radial-gradient(circle at 35% 30%, rgba(var(--glow, 198,202,224), 0.28), rgba(255,255,255,0.03));
  border: 1px solid rgba(var(--glow, 198,202,224), 0.4);
  box-shadow: 0 0 26px -6px rgba(var(--glow, 198,202,224), 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fstage-badge.is-pop { animation: fstageBadgePop 0.45s var(--ease-spring); }

@keyframes fstageBadgePop {
  0%   { transform: scale(0.7); opacity: 0.3; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* Botão de play circular flutuando perto da pasta */
.fstage-play {
  position: absolute;
  top: 8%;
  right: 2%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring),
              border-color 0.25s var(--ease-spring), opacity 0.25s var(--ease-spring);
}

.fstage-play:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 30px -8px rgba(255,255,255,0.35); }

.fstage-play.is-playing {
  border-color: var(--mist);
  box-shadow: 0 0 34px -6px rgba(198, 202, 224, 0.7);
}

.fstage-play.is-disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.fstage-play.is-disabled:hover { transform: none; box-shadow: none; }

.fstage-play-icon { position: relative; margin-left: 2px; }
.fstage-play.is-playing .fstage-play-icon { display: none; }

/* Pastas visuais: o mesmo botão troca o triângulo pelo olho e abre um
   exemplo real em vez de tocar áudio. */
.fstage-eye-icon { display: none; }
.fstage-play.is-visual .fstage-play-icon { display: none; }
.fstage-play.is-visual .fstage-eye-icon { display: block; }

.fstage-play.is-showing {
  border-color: var(--mist);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 34px -6px rgba(198, 202, 224, 0.7);
}

.fstage-play-wave {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.fstage-play.is-playing .fstage-play-wave { display: flex; }

.fstage-play-wave i {
  width: 2.5px;
  height: 100%;
  border-radius: 1px;
  background: var(--mist);
  transform-origin: bottom;
  transform: scaleY(0.4);
  animation: fstageWave 0.7s ease-in-out infinite alternate;
}

.fstage-play-wave i:nth-child(1) { animation-delay: 0ms; }
.fstage-play-wave i:nth-child(2) { animation-delay: 90ms; }
.fstage-play-wave i:nth-child(3) { animation-delay: 180ms; }
.fstage-play-wave i:nth-child(4) { animation-delay: 90ms; }
.fstage-play-wave i:nth-child(5) { animation-delay: 0ms; }

@keyframes fstageWave {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

.fstage-caption {
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-align: center;
}

/* --- Mini exemplo das pastas visuais ------------------------------------
   Card que aparece flutuando sobre a pasta 3D quando o botão do olho é
   clicado. É uma amostra só — o breakdown completo é o mural mais abaixo. */
.fstage-preview {
  position: absolute;
  right: -2%;
  bottom: 6%;
  z-index: 3;
  width: min(64%, 232px);
  padding: 7px 7px 9px;
  border-radius: var(--radius-md);
  background: rgba(14, 14, 18, 0.86);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 0.32s var(--ease-spring), transform 0.32s var(--ease-spring);
}

.fstage-preview.is-open { opacity: 1; transform: translateY(0) scale(1); }

.fstage-preview-media {
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 6px);
  background: #08080a;
  line-height: 0;
}

.fstage-preview.is-light .fstage-preview-media { background: var(--paper); }

.fstage-preview-media img,
.fstage-preview-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
}

.fstage-preview-label {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-align: center;
}

.fstage-preview-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.25s var(--ease-spring), border-color 0.25s var(--ease-spring);
}

.fstage-preview-close:hover { color: var(--text-white); border-color: var(--mist); }

[data-theme="light"] .fstage-preview { background: rgba(255, 255, 255, 0.92); }

/* --- Widget de compra (direita) --- */
.fstage-buy { grid-area: buy; }

.fstage-buy-card {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
}

.fstage-buy-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}

.fstage-buy-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.fstage-buy-line {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.fstage-buy-card .cat-buy { padding-top: 0; margin-top: 0; }

.fstage-buy-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fstage-buy-divider::before,
.fstage-buy-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.fstage-unlock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* --- Dock inferior --- */
.fstage-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fstage-tabs {
  display: inline-flex;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.fstage-tabs::-webkit-scrollbar { display: none; }

.fstage-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 0;
  border-radius: calc(var(--radius-pill) - 5px);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s var(--ease-spring);
}

.fstage-tab.is-active {
  background: var(--well);
  box-shadow: inset 0 0 0 1px var(--mist-line);
}

.fstage-tab-icon { font-size: 0.9rem; }

.fstage-tab-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-spring);
}

.fstage-tab:hover .fstage-tab-name,
.fstage-tab.is-active .fstage-tab-name { color: var(--text-white); }

.fstage-subs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fstage-sub {
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--well);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease-spring), color 0.25s var(--ease-spring),
              border-color 0.25s var(--ease-spring);
}

.fstage-sub:hover { color: var(--text-white); border-color: var(--mist-line); }

/* Pedido do Hasse: as sub-pílulas precisavam "brilhar" pra puxar o clique.
   As inativas pulsam de leve em loop; a ativa fica com halo fixo e forte. */
.fstage-sub:not(.is-active) {
  animation: fstageSubPulse 2.6s var(--ease-spring) infinite;
}

.fstage-sub:nth-child(2):not(.is-active) { animation-delay: 0.2s; }
.fstage-sub:nth-child(3):not(.is-active) { animation-delay: 0.4s; }
.fstage-sub:nth-child(4):not(.is-active) { animation-delay: 0.6s; }
.fstage-sub:nth-child(5):not(.is-active) { animation-delay: 0.8s; }

@keyframes fstageSubPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 202, 224, 0); }
  50%      { box-shadow: 0 0 16px -2px rgba(198, 202, 224, 0.34); }
}

.fstage-sub.is-active {
  background: var(--paper);
  color: var(--void);
  border-color: var(--paper);
  box-shadow: 0 0 26px -4px rgba(255, 255, 255, 0.55);
  animation: none;
}

[data-theme="light"] .fstage-sub.is-active { box-shadow: 0 0 26px -6px rgba(0, 0, 0, 0.4); }

[data-theme="light"] .fstage-sub:not(.is-active) { animation: none; }

/* Quantos arquivos e quanto pesa o item selecionado — medido na pasta real
   do produto; as pastas gigantes (Highlight, Viral Cinematic, Thumbnails)
   estouraram o limite de listagem, então lá o número é piso ("1.800+"). */
.fstage-buy-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mist);
}

.fstage-buy-volume svg { flex-shrink: 0; opacity: 0.7; }

@media (max-width: 960px) {
  .fstage,
  .pstage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
  }

  .fstage-frame,
  .pstage .fstage-frame {
    display: contents;
  }

  /* 1. VER O PACK: render 3D central */
  .fstage-media,
  .pstage .fstage-media {
    order: 1;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  /* Palco menor: o mini exemplo sobe um pouco pra não encostar na legenda. */
  .fstage-preview { right: -6%; bottom: 14%; width: min(72%, 200px); }
  .fstage-preview-media img,
  .fstage-preview-media video { max-height: 126px; }

  /* 2. OS CALLOUTS: pílulas informativas abaixo da imagem */
  .fstage-callouts,
  .pstage .fstage-callouts {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }

  .fstage-callout {
    padding: 6px 12px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    background: var(--well);
  }

  .fstage-callout::after,
  .fstage-callout::before { display: none; }

  /* 3. SELECIONAR OS PACKS: dock de categorias / abas */
  .fstage-dock,
  .pstage .fstage-dock {
    order: 3;
    width: 100%;
    margin: 8px 0 4px;
  }

  /* 4. BOTÃO DE PAGAMENTO: Preço, parcelamento e compra (embaixo de ver e selecionar) */
  .pstage-info,
  .fstage-buy {
    order: 4;
    width: 100%;
    max-width: 360px;
    margin: 6px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pstage-cat-line {
    padding: 0;
    border-left: 0;
    border-top: 2px solid var(--mist-line);
    padding-top: 8px;
    text-align: center;
  }

  .pstage-actions {
    justify-content: center;
    width: 100%;
  }

  .pstage-actions .btn-primary,
  .pstage-actions .btn-secondary,
  .fstage-buy .btn-primary,
  .fstage-buy .btn-secondary,
  .fstage-buy-card .cat-add {
    width: 100%;
    justify-content: center;
  }

  .fstage-buy-card {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .fstage-tab { padding: 8px 12px; }
  .fstage-tab-name { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fstage-shot { animation: none; }
  .fstage-callouts .fstage-callout { animation: none; opacity: 1; }
  .fstage-badge.is-pop { animation: none; }
  .fstage-play-wave i { animation: none; transform: scaleY(0.7); }
}

/* --- 29. PACK STAGE — o palco como hero das páginas de pack ---------------
   Reaproveita as classes .fstage-* da seção 28 (mesma linguagem visual do
   Fast Assets); aqui ficam só os ajustes de hero: coluna da direita mais
   larga pra caber H1 + preço + compra, e a tipografia do título.
   -------------------------------------------------------------------------- */

.pstage { position: relative; }

.pstage .fstage-frame {
  grid-template-columns: minmax(130px, 190px) 1fr minmax(360px, 440px);
  min-height: clamp(340px, 42vw, 520px);
}

/* A coluna da direita do hero é conteúdo solto na página, não card fechado
   (pedido recorrente do Hasse: integrado, sem box). */
.pstage-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pstage-eyebrow { margin: 0; }

.pstage-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pstage-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(166, 170, 193, 0.2);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  text-decoration: none;
  letter-spacing: 0.02em;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.pstage-version-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(166, 170, 193, 0.45);
  color: var(--paper);
  transform: translateY(-1px);
}

[data-theme="light"] .pstage-version-tag {
  background: rgba(34, 35, 40, 0.05);
  border-color: rgba(34, 35, 40, 0.15);
  color: #222328;
}

[data-theme="light"] .pstage-version-tag:hover {
  background: rgba(34, 35, 40, 0.09);
  border-color: rgba(34, 35, 40, 0.3);
  color: #000000;
}

.pstage-version-tag .version-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.pstage-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Linha que muda junto com a aba do dock — é o retorno visual de "escolhi
   essa categoria" no lado do texto. */
.pstage-cat-line {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--mist-line);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-white);
  transition: color 0.3s var(--ease-spring);
}

.pstage-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pstage-price-old {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.pstage-price-now {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.pstage-price-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
}

.pstage-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.pstage-actions .btn-primary {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  white-space: nowrap;
  justify-content: center;
}

.pstage-actions .btn-cart {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  white-space: nowrap;
  justify-content: center;
}

/* Botão de download da versão de teste grátis */
.btn-test-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
  margin-top: 2px;
}

.btn-test-download:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #34d399;
  color: #6ee7b7;
  transform: translateY(-2px);
  box-shadow: 0 0 24px -6px rgba(16, 185, 129, 0.45);
}

.btn-test-download svg {
  color: #34d399;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), color 0.25s ease;
}

.btn-test-download:hover svg {
  transform: translateY(-3px);
  color: #6ee7b7;
}

/* Badge de teste no topo do hero */
.hero-test-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
}

.hero-test-badge:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 0 16px -4px rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .btn-test-download {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.4);
  color: #047857;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .btn-test-download svg {
  color: #047857;
}

[data-theme="light"] .btn-test-download:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #059669;
  color: #064e3b;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .btn-test-download:hover svg {
  color: #064e3b;
}

[data-theme="light"] .hero-test-badge {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(5, 150, 105, 0.35);
  color: #047857;
}

[data-theme="light"] .hero-test-badge:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: #059669;
  color: #064e3b;
  transform: translateY(-1px);
  box-shadow: 0 0 16px -4px rgba(16, 185, 129, 0.4);
}

.hero-test-badge svg {
  color: #34d399;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.hero-test-badge:hover svg {
  transform: translateY(1.5px);
}

.pstage-note {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
}


/* Cabeçalho do hero do Fast Assets: o palco lá embaixo é o mesmo do
   catálogo, então aqui em cima fica só nome, promessa e a compra do pack
   completo — sem imagem grande nem lista de recursos. */
.pstage-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto clamp(22px, 3.4vw, 38px);
  text-align: center;
}

.pstage-head .pstage-title { font-size: clamp(2.6rem, 6vw, 4rem); }

.pstage-head-buy {
  align-items: center;
  margin-top: 6px;
}

/* Nome da categoria ativa, no topo da coluna de compra do hero. */
.pstage-cat-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* O palco já ocupa altura por conta própria — o hero não precisa do mesmo
   respiro do layout antigo de duas colunas. */
.pstage .fstage-frame {
  min-height: clamp(300px, 34vw, 430px);
  margin-bottom: clamp(12px, 1.8vw, 20px);
}

.product-page-hero .pstage-head { margin-bottom: clamp(10px, 1.6vw, 18px); }

.product-page-hero .back-to-catalog-link { margin-bottom: 0; }

/* --- 29.1. NAVEGAÇÃO ENTRE PACKS (.pack-nav-bar & .pstage-side-arrow) -------
   Permite alternar entre as páginas dos packs (Fast Edit, Fast Text, Fast Text+,
   Fast Assets) com botões e setas dedicadas no topo e nas laterais do palco 3D.
   -------------------------------------------------------------------------- */

.pack-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 2.2vw, 24px);
  padding: 4px 0;
  width: 100%;
}

.pack-nav-bar .back-to-catalog-link {
  margin-bottom: 0;
}

.pack-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(13, 18, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pack-switch-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pack-switch-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pack-switch-item.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
}

.pack-switch-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.pack-switch-item.is-active .pack-switch-num {
  color: #f59e0b;
}

.pack-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pack-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.pack-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.pack-nav-btn svg {
  transition: transform 0.2s ease;
}

.pack-nav-btn.is-prev:hover svg {
  transform: translateX(-3px);
}

.pack-nav-btn.is-next:hover svg {
  transform: translateX(3px);
}

/* Light theme support for Pack Switcher and Nav */
[data-theme="light"] .pack-nav-bar .back-to-catalog-link {
  color: #4E5270;
}

[data-theme="light"] .pack-nav-bar .back-to-catalog-link:hover {
  color: #121316;
}

[data-theme="light"] .pack-switcher {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.12);
  box-shadow: 0 4px 20px rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .pack-switch-item {
  color: #4E5270;
}

[data-theme="light"] .pack-switch-item:hover {
  color: #121316;
  background: rgba(34, 35, 40, 0.05);
}

[data-theme="light"] .pack-switch-item.is-active {
  color: #121316;
  background: rgba(34, 35, 40, 0.08);
  border-color: rgba(34, 35, 40, 0.18);
  box-shadow: 0 2px 8px rgba(34, 35, 40, 0.06);
}

[data-theme="light"] .pack-switch-num {
  color: #747896;
}

[data-theme="light"] .pack-switch-item.is-active .pack-switch-num {
  color: #d97706;
}

[data-theme="light"] .pack-nav-btn {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.12);
  color: #4E5270;
  box-shadow: 0 2px 10px rgba(34, 35, 40, 0.06);
}

[data-theme="light"] .pack-nav-btn:hover {
  color: #121316;
  background: #F4F4F7;
  border-color: rgba(34, 35, 40, 0.25);
}

[data-theme="light"] .pstage-arrow-btn {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.14);
  color: #121316;
  box-shadow: 0 6px 24px rgba(34, 35, 40, 0.12);
}

[data-theme="light"] .pstage-side-arrow:hover .pstage-arrow-btn {
  background: #F4F4F7;
  border-color: rgba(34, 35, 40, 0.35);
  color: #000000;
  box-shadow: 0 8px 30px rgba(34, 35, 40, 0.18);
}

/* --- Palco Wrapper com Setas Flutuantes Laterais --- */
.pstage-stage-wrap {
  position: relative;
  width: 100%;
}

.pstage-side-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.pstage-side-arrow.is-prev {
  left: max(-380px, calc((100vw - 100%) / -2 + clamp(24px, 3.2vw, 64px)));
}

.pstage-side-arrow.is-next {
  right: max(-380px, calc((100vw - 100%) / -2 + clamp(24px, 3.2vw, 64px)));
}

.pstage-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 18, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.pstage-side-arrow:hover .pstage-arrow-btn {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.25), 0 12px 36px rgba(0, 0, 0, 0.75);
}

.pstage-arrow-btn svg {
  transition: transform 0.2s ease;
}

.pstage-side-arrow.is-prev:hover .pstage-arrow-btn svg {
  transform: translateX(-3px);
}

.pstage-side-arrow.is-next:hover .pstage-arrow-btn svg {
  transform: translateX(3px);
}

.pstage-arrow-label {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 14px;
  background: rgba(13, 18, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 30;
}

.pstage-arrow-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.18);
}

.pstage-side-arrow:hover .pstage-arrow-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pstage-arrow-sub {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.pstage-arrow-label strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
}

@media (max-width: 1260px) {
  .pstage-side-arrow {
    display: none;
  }
}

/* Botões de navegação sequencial abaixo do palco no mobile */
.pack-nav-actions.is-stage-bottom {
  display: none;
}

@media (max-width: 860px) {
  .pack-nav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .pack-switcher {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 4px;
    padding: 4px;
    box-sizing: border-box;
  }

  .pack-switch-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    font-size: 0.74rem;
    text-align: center;
    white-space: nowrap;
  }

  .pack-switch-num {
    font-size: 0.68rem;
  }

  /* No mobile, oculta os botões soltos do cabeçalho */
  .pack-nav-bar .pack-nav-actions {
    display: none !important;
  }

  /* Exibe os botões organizados logo abaixo da área de ver, selecionar e comprar */
  .pack-nav-actions.is-stage-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 360px;
    margin: 18px auto 0;
    gap: 10px;
  }

  .pack-nav-actions.is-stage-bottom .pack-nav-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .pack-switcher {
    gap: 2px;
    padding: 3px;
  }

  .pack-switch-item {
    flex-direction: column;
    gap: 2px;
    padding: 6px 2px;
    font-size: 0.67rem;
    line-height: 1.1;
  }

  .pack-switch-num {
    font-size: 0.62rem;
  }
}

/* `hidden` sozinho não vence um `display` declarado no autor — sem isso o
   botão do olho continuava aparecendo nas categorias sem prévia e a barra
   de sub-pílulas vazia continuava ocupando espaço no dock. */
.fstage-play[hidden],
.fstage-subs[hidden],
.fstage-preview[hidden] { display: none !important; }

/* --- 30. SLIDERS DE MOBILE ------------------------------------------------
   Pedido do Hasse: no celular a faixa de números e os depoimentos ficavam
   empilhados e ocupando tela demais — viram carrossel horizontal com snap.
   É só CSS (scroll-snap): sem JS novo, e no desktop nada muda.
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  /* Sangra até a borda da tela pro card cortado indicar que rola pro lado. */
  .trust-grid,
  .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(clamp(20px, 5vw, 48px) * -1);
    padding-inline: clamp(20px, 5vw, 48px);
    padding-bottom: 4px;
  }

  .trust-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar { display: none; }

  .trust-grid { gap: 10px; }

  .trust-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 11px 16px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    background: var(--well);
  }

  .testimonials-grid {
    gap: 14px;
    grid-template-columns: none;
  }

  .testimonials-grid .testimonial-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
}

/* Camada de compra do palco no celular: o Hasse achou tudo espremido demais.
   Vira coluna fluida — preço em cima, "Comprar agora" e "Adicionar ao carrinho" em largura total. */
@media (max-width: 520px) {
  .stage-bar > .stage-buy { width: 100%; }

  .stage-dock-row {
    gap: 10px;
    width: 100%;
  }

  .stage-link {
    height: 42px;
    padding: 0 20px;
    font-size: 0.82rem;
  }

  .stage-buy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px 16px;
  }

  .stage-price {
    justify-content: center;
    margin-bottom: 2px;
  }

  .stage-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .stage-add {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.82rem;
    text-align: center;
  }
}

/* Card vertical no slider "na prática": o Hasse pediu mistura de 16:9 e 9:16,
   já que metade do portfólio dele é social vertical. Mesma altura da linha,
   só mais estreito — o track continua correndo igual. */
.vwall-card.is-vertical {
  /* Altura casada com a do card 16:9 (largura x 9/16) pra não esticar a
     linha; a largura sai do aspect-ratio. */
  width: auto;
  height: calc(clamp(210px, 21vw, 290px) * 9 / 16);
  aspect-ratio: 9 / 16;
}

.video-strip-track { align-items: center; }

/* --- 31. VÍDEO RÁPIDO + 9:16 (Fast Text e Fast Edit) ----------------------
   O player único virou dupla: o vídeo curto do pack em 16:9 e, ao lado, o
   vertical que mostra velocidade e distância da animação — o diferencial que
   o Hasse quer destacar. No celular empilha, o 9:16 primeiro em largura menor.
   -------------------------------------------------------------------------- */

.video-duo {
  /* Os dois players com EXATAMENTE a mesma altura: a altura manda, e a
     largura de cada um sai do próprio aspect-ratio (16:9 largo, 9:16
     estreito). Antes o vertical ficava quase o dobro da altura do outro. */
  --duo-h: clamp(240px, 32vw, 420px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 26px);
  flex-wrap: wrap;
}

.video-duo > .video-showcase {
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  flex: 0 0 auto;
}

.video-duo .video-frame {
  height: var(--duo-h);
  width: auto;
}

.video-duo-main .video-frame { aspect-ratio: 16 / 9; }
.video-duo-side .video-frame { aspect-ratio: 9 / 16; }

/* Rótulo em cima de cada player pra dupla ler como par, não como sobra. */
.video-duo-label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.video-duo-note {
  max-width: 620px;
  margin: clamp(14px, 2vw, 20px) auto 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

.video-duo-note strong { color: var(--text-white); }

@media (max-width: 768px) {
  .video-duo {
    --duo-h: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
  }

  .video-duo-col {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video-duo-col .video-duo-label {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .video-duo-col .video-showcase {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .video-duo-col .video-duo-main {
    width: 100% !important;
  }

  .video-duo-col .video-duo-main .video-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .video-duo-col .video-duo-side {
    width: min(72%, 240px) !important;
    margin: 0 auto;
  }

  .video-duo-col .video-duo-side .video-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
  }

  .video-duo .video-play {
    width: 54px;
    height: 54px;
  }

  .video-duo .video-play svg {
    width: 22px;
    height: 22px;
  }

  .video-duo .video-pill-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    bottom: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fstage-sub:not(.is-active) { animation: none; }
}

/* --- 32. COLUNA DE ITEM DO FAST ASSETS (sem card) -------------------------
   O Hasse pediu o hero do Fast Assets igual ao das páginas de pack: o card
   de vidro saiu e a coluna virou conteúdo solto, na mesma estética do
   cabeçalho. O volume da pasta (arquivos / GB) virou o destaque — é o
   argumento de venda mais forte do pack.
   -------------------------------------------------------------------------- */

.fstage-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.fstage-item-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

/* --- O destaque: quantos arquivos e quanto pesa --- */
.fstage-volume {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 4px 0 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--mist-line);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(198, 202, 224, 0.14), transparent 65%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 32px -14px rgba(198, 202, 224, 0.85);
  overflow: hidden;
}

.fstage-volume-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.fstage-volume-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
}

.fstage-volume-item + .fstage-volume-item { box-shadow: inset 1px 0 0 var(--border-card); }

.fstage-volume-val {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fstage-volume-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

/* Chip minimalista em verde na aba de arquivos */
.fstage-bonus-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  color: #34d399;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fstage-volume-item span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* Faixa minimalista integrada de bônus no rodapé da caixa */
.fstage-volume-bonus {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.08);
  border-top: 1px solid rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
  font-size: 0.71rem;
  font-weight: 500;
  line-height: 1.3;
}

.fstage-volume-bonus strong {
  color: #34d399;
  font-weight: 700;
}

/* --- Preço + adicionar a pasta avulsa --- */
.fstage-item-buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.fstage-item-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.fstage-buy .fstage-buy-divider { width: 100%; margin: 8px 0 10px; }
.fstage-buy .fstage-unlock { width: 100%; }

@media (max-width: 960px) {
  .fstage-buy { align-items: center; text-align: center; }
  .fstage-buy .fstage-volume { max-width: 360px; }
  .fstage-item-buy { justify-content: center; }
}

/* ==========================================================================
   32. SPOTLIGHT CINEMA LIGHTBOX (COM VOLUME E TRANSIÇÃO FLIP FLIGHT)
   Replicando fielmente a engenharia do portfólio oficial hasseeditor.vercel.app
   ========================================================================== */

/* Trava a rolagem e congela faixas enquanto o modal está ativo */
body.spotlight-active {
  overflow: hidden !important;
}

body.spotlight-active .video-strip-track {
  animation-play-state: paused !important;
}

.spotlight-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  background: rgba(5, 6, 8, 0.86);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.spotlight-dialog {
  position: relative;
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(166, 170, 193, 0.25);
  transform-origin: center center;
  will-change: transform, border-radius, opacity;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spotlight-dialog.aspect-16-9 {
  width: min(92vw, 980px);
  aspect-ratio: 16 / 9;
}

.spotlight-dialog.aspect-9-16 {
  width: min(88vw, 420px);
  height: min(85vh, 760px);
  aspect-ratio: 9 / 16;
}

.spotlight-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
  cursor: pointer;
}

.spotlight-header {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.spotlight-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.spotlight-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 12, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
}

.spotlight-close-btn:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}

.spotlight-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* Painel de volume interativo inferior */
.spotlight-bottom-bar {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.spotlight-volume-panel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  pointer-events: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.spotlight-mute-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.spotlight-mute-btn:hover {
  transform: scale(1.15);
  color: var(--mist);
}

.spotlight-mute-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.spotlight-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(65px, 12vw, 95px);
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.spotlight-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.spotlight-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.spotlight-volume-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border: none;
}

.spotlight-vol-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 32px;
  color: var(--mist);
  text-align: right;
}

.spotlight-wave-indicator {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.spotlight-wave-indicator .sw-bar {
  width: 2.5px;
  height: 100%;
  background: #10B981;
  border-radius: 1px;
  transform-origin: bottom;
  animation: waveBounce 0.8s ease-in-out infinite alternate;
}

.spotlight-wave-indicator .sw-bar:nth-child(2) {
  animation-delay: 0.2s;
  height: 55%;
}

.spotlight-wave-indicator .sw-bar:nth-child(3) {
  animation-delay: 0.4s;
  height: 80%;
}

.spotlight-volume-panel.is-muted .sw-bar {
  animation: none;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
}

@keyframes waveBounce {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

@media (max-width: 640px) {
  .spotlight-dialog.aspect-16-9 {
    width: min(94vw, 980px);
  }
  .spotlight-dialog.aspect-9-16 {
    width: min(90vw, 380px);
    height: min(80vh, 680px);
  }
  .spotlight-tag-pill {
    padding: 6px 12px;
    font-size: 0.68rem;
  }
  .spotlight-close-btn {
    width: 36px;
    height: 36px;
  }
  .spotlight-volume-panel {
    padding: 6px 12px;
    gap: 8px;
  }
}

/* ==========================================================================
   30. EXEMPLOS VERTICAIS 9:16 (FAST TEXT)
   ========================================================================== */
.example-tabs-wrap {
  margin-top: 36px;
  width: 100%;
}

.example-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.example-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(34, 35, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.example-tab-btn:hover {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(44, 45, 52, 0.8);
  transform: translateY(-1px);
}

.example-tab-btn.is-active {
  color: var(--void);
  background: var(--paper);
  border-color: var(--paper);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.example-tab-btn .tab-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.example-tab-panel {
  display: none;
  animation: fadeInTab 0.35s ease forwards;
}

.example-tab-panel.is-active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.example-showcase-vertical {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  background: rgba(18, 19, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.example-showcase-vertical .video-vertical-sample {
  aspect-ratio: 9 / 16;
  max-height: 540px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.example-showcase-vertical .video-frame {
  width: 100%;
  height: 100%;
  position: relative;
}

.example-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.example-chip {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  background: var(--mist-wash);
  border: 1px solid var(--mist-line);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.example-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.example-desc {
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.example-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.example-meta-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .example-showcase-vertical {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
    max-width: 380px;
  }
  .example-showcase-vertical .video-vertical-sample {
    max-height: 480px;
  }
}

/* ==========================================================================
   RODADA 76 — HERO VERSION BADGE & CHANGELOG (HISTÓRICO DE ATUALIZAÇÕES)
   ========================================================================== */

/* Linha com badges lado a lado no hero dos packs */
.hero-badges-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-badges-row .hero-version-badge,
.hero-badges-row .section-tag {
  margin-bottom: 0;
}

.hero-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(34, 35, 40, 0.7);
  border: 1px solid rgba(166, 170, 193, 0.22);
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 14px;
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-version-badge:hover {
  border-color: rgba(166, 170, 193, 0.5);
  background: rgba(34, 35, 40, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hero-version-badge .version-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseVersionDot 2.2s infinite ease-in-out;
}

@keyframes pulseVersionDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.hero-version-badge .version-text {
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-version-badge .version-arrow {
  color: var(--mist);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.hero-version-badge:hover .version-arrow {
  transform: translateX(3px);
  color: var(--paper);
}

/* Seção de Changelog & Versões */
.changelog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-top: 32px;
}

@media (max-width: 860px) {
  .changelog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Sidebar de Versões */
.changelog-sidebar {
  background: linear-gradient(180deg, rgba(34, 35, 40, 0.7) 0%, rgba(18, 22, 31, 0.85) 100%);
  border: 1px solid rgba(166, 170, 193, 0.16);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.changelog-sidebar-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(166, 170, 193, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.changelog-sidebar-count {
  font-size: 0.7rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.changelog-version-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.changelog-ver-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s ease;
  position: relative;
}

.changelog-ver-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(166, 170, 193, 0.2);
}

.changelog-ver-btn.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(166, 170, 193, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.changelog-ver-btn-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.changelog-ver-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
  flex-shrink: 0;
}

.changelog-ver-dot.is-current {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.changelog-ver-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
}

.changelog-ver-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(166, 170, 193, 0.12);
  color: var(--mist);
  border: 1px solid rgba(166, 170, 193, 0.2);
  margin-left: auto;
}

.changelog-ver-badge.is-current {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
}

.changelog-ver-date {
  font-size: 0.76rem;
  color: var(--mist);
  padding-left: 14px;
}

.changelog-sidebar-footer {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(166, 170, 193, 0.1);
}

.changelog-drive-notice {
  font-size: 0.76rem;
  color: var(--mist);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.changelog-drive-notice svg {
  flex-shrink: 0;
  color: #10b981;
  margin-top: 2px;
}

.changelog-drive-notice strong {
  color: var(--text-white);
}

/* Painel de Conteúdo da Versão (Main) */
.changelog-main {
  background: linear-gradient(180deg, rgba(34, 35, 40, 0.75) 0%, rgba(18, 22, 31, 0.9) 100%);
  border: 1px solid rgba(166, 170, 193, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.changelog-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(166, 170, 193, 0.4), transparent);
}

.changelog-card-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(166, 170, 193, 0.12);
}

.changelog-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.changelog-card-ver {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.changelog-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(166, 170, 193, 0.12);
  color: var(--mist);
  border: 1px solid rgba(166, 170, 193, 0.25);
}

.changelog-status-pill.is-current {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
}

.changelog-status-pill .status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}

.changelog-card-date {
  font-size: 0.85rem;
  color: var(--mist);
  font-weight: 500;
}

.changelog-headline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 10px;
}

.changelog-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Linha de contadores de estatísticas */
.changelog-counts-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.changelog-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(166, 170, 193, 0.18);
}

.changelog-count-chip.is-features {
  color: #ffffff;
  border-color: rgba(166, 170, 193, 0.3);
}

.changelog-count-chip.is-features svg {
  color: #fbbf24;
}

.changelog-count-chip.is-improvements svg {
  color: #38bdf8;
}

.changelog-count-chip.is-fixes svg {
  color: #10b981;
}

/* Grupos de Categorias do Changelog */
.changelog-sections-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.changelog-section-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.changelog-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.changelog-group-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.changelog-group-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.changelog-group-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mist);
}

.changelog-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.changelog-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.changelog-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(166, 170, 193, 0.12);
}

.changelog-item-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  margin-top: 7px;
  flex-shrink: 0;
}

.changelog-section-group.is-features .changelog-item-bullet {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
}

.changelog-section-group.is-improvements .changelog-item-bullet {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.changelog-item-content {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.changelog-item-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.changelog-item-content em {
  color: var(--paper);
  font-style: normal;
  font-weight: 500;
}

/* --- CHANGELOG LIGHT THEME --- */
[data-theme="light"] .changelog-sidebar {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.12);
  box-shadow: 0 8px 30px rgba(34, 35, 40, 0.06);
}

[data-theme="light"] .changelog-sidebar-header {
  color: var(--text-primary);
  border-bottom-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-sidebar-count {
  background: rgba(34, 35, 40, 0.06);
  color: var(--text-muted);
}

[data-theme="light"] .changelog-ver-btn {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-ver-btn:hover {
  background: rgba(34, 35, 40, 0.04);
  border-color: rgba(34, 35, 40, 0.15);
}

[data-theme="light"] .changelog-ver-btn.is-active {
  background: rgba(34, 35, 40, 0.06);
  border-color: rgba(34, 35, 40, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .changelog-ver-num {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-ver-badge {
  background: rgba(34, 35, 40, 0.06);
  color: var(--text-muted);
  border-color: rgba(34, 35, 40, 0.12);
}

[data-theme="light"] .changelog-ver-badge.is-current {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .changelog-ver-date {
  color: var(--text-muted);
}

[data-theme="light"] .changelog-sidebar-footer {
  border-top-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-drive-notice {
  color: var(--text-secondary);
}

[data-theme="light"] .changelog-drive-notice strong {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-main {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.12);
  box-shadow: 0 12px 40px rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-main::before {
  background: linear-gradient(90deg, transparent, rgba(34, 35, 40, 0.2), transparent);
}

[data-theme="light"] .changelog-card-header {
  border-bottom-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-card-ver {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-status-pill {
  background: rgba(34, 35, 40, 0.06);
  color: var(--text-muted);
  border-color: rgba(34, 35, 40, 0.15);
}

[data-theme="light"] .changelog-status-pill.is-current {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .changelog-card-date {
  color: var(--text-muted);
}

[data-theme="light"] .changelog-headline {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .changelog-count-chip {
  background: rgba(34, 35, 40, 0.04);
  border-color: rgba(34, 35, 40, 0.12);
  color: var(--text-primary);
}

[data-theme="light"] .changelog-count-chip.is-features {
  color: var(--text-primary);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .changelog-count-chip.is-improvements {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="light"] .changelog-count-chip.is-fixes {
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .changelog-group-title {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-group-badge {
  background: rgba(34, 35, 40, 0.06);
  border-color: rgba(34, 35, 40, 0.12);
  color: var(--text-muted);
}

[data-theme="light"] .changelog-item {
  background: rgba(34, 35, 40, 0.025);
  border-color: rgba(34, 35, 40, 0.06);
}

[data-theme="light"] .changelog-item:hover {
  background: rgba(34, 35, 40, 0.05);
  border-color: rgba(34, 35, 40, 0.14);
}

[data-theme="light"] .changelog-item-content {
  color: var(--text-secondary);
}

[data-theme="light"] .changelog-item-content strong {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-item-content em {
  color: var(--text-primary);
}

/* ==========================================================================
   HASSE AI ASSISTANT & CHAT WIDGET (DESIGN SYSTEM OFICIAL)
   ========================================================================== */
.hasse-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: var(--font-body, 'Manrope', sans-serif);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Oculta 100% o chat widget quando o carrinho ou qualquer modal de compra estiver aberto */
.hasse-chat-widget.is-hidden-by-modal,
body.cart-open .hasse-chat-widget,
body.modal-open .hasse-chat-widget,
#cart-drawer.open ~ .hasse-chat-widget,
.cart-drawer.open ~ .hasse-chat-widget,
body:has(#cart-drawer.open) .hasse-chat-widget,
body:has(.cart-drawer.open) .hasse-chat-widget,
body:has(#cakto-modal.open) .hasse-chat-widget,
body:has(#checkout-modal.open) .hasse-chat-widget {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* --- BALÃO CALLOUT "POSSO AJUDAR?" --- */
@keyframes hasseCalloutPopIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.65);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.06);
  }
  85% {
    transform: translateY(1px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hasseCalloutPopOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    opacity: 0;
    transform: translateY(12px) scale(0.6);
  }
}

.hasse-chat-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 35, 40, 0.95);
  border: 1px solid rgba(166, 170, 193, 0.35);
  border-radius: 9999px;
  padding: 8px 14px 8px 18px;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(166, 170, 193, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(12px) scale(0.65);
  pointer-events: none;
  cursor: pointer;
  transform-origin: bottom right;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hasse-chat-callout.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: hasseCalloutPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hasse-chat-callout.is-hiding {
  pointer-events: none;
  animation: hasseCalloutPopOut 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hasse-chat-callout:hover {
  background: rgba(44, 45, 52, 0.98);
  border-color: rgba(166, 170, 193, 0.6);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(166, 170, 193, 0.3);
}

.hasse-chat-callout-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hasse-chat-callout-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--mist, #A6AAC1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.hasse-chat-callout-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Callout Light Theme */
[data-theme="light"] .hasse-chat-callout {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(34, 35, 40, 0.18);
  box-shadow: 0 10px 30px rgba(34, 35, 40, 0.12), 0 0 20px rgba(34, 35, 40, 0.05);
}

[data-theme="light"] .hasse-chat-callout:hover {
  background: #FFFFFF;
  border-color: rgba(34, 35, 40, 0.35);
  box-shadow: 0 14px 35px rgba(34, 35, 40, 0.18);
}

[data-theme="light"] .hasse-chat-callout-text {
  color: #121316;
}

[data-theme="light"] .hasse-chat-callout-close {
  background: rgba(34, 35, 40, 0.08);
  color: #747896;
}

[data-theme="light"] .hasse-chat-callout-close:hover {
  background: rgba(34, 35, 40, 0.18);
  color: #121316;
}

/* --- BOTÃO FLUTUANTE CIRCULAR (LAUNCHER) --- */
.hasse-chat-launcher {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2B33 0%, #17181D 100%);
  border: 1px solid rgba(166, 170, 193, 0.35);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 28px rgba(166, 170, 193, 0.2);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.hasse-chat-launcher:hover {
  transform: scale(1.08);
  border-color: rgba(166, 170, 193, 0.7);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 36px rgba(166, 170, 193, 0.38);
}

.hasse-chat-launcher-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #17181D;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.hasse-chat-launcher-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)), opacity 0.2s ease;
}

.hasse-chat-launcher .hasse-icon-close {
  display: none;
}

.hasse-chat-launcher.is-active .hasse-icon-chat {
  display: none;
}

.hasse-chat-launcher.is-active .hasse-icon-close {
  display: flex;
}

/* --- JANELA DO CHAT (MODAL / FLYOUT) --- */
.hasse-chat-window {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  background: rgba(20, 21, 26, 0.94);
  border: 1px solid rgba(166, 170, 193, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

.hasse-chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.hasse-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(34, 35, 40, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hasse-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hasse-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #15161B;
  border: 1px solid rgba(166, 170, 193, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hasse-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  display: block;
}

.hasse-chat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hasse-chat-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hasse-chat-status {
  font-size: 0.74rem;
  color: var(--mist, #A6AAC1);
  display: flex;
  align-items: center;
}

.hasse-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  margin-right: 5px;
  animation: hassePulse 2s infinite;
}

@keyframes hassePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hasse-chat-btn-header {
  background: transparent;
  border: none;
  color: var(--mist, #A6AAC1);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hasse-chat-btn-header:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Chat Body */
.hasse-chat-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.hasse-chat-body::-webkit-scrollbar {
  width: 5px;
}
.hasse-chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

/* Message Rows */
.hasse-chat-msg-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: hasseMsgFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hasseMsgFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hasse-msg-bot {
  align-self: flex-start;
  max-width: 90%;
}

.hasse-msg-user {
  align-self: flex-end;
  max-width: 85%;
  justify-content: flex-end;
}

.hasse-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #15161B;
  border: 1px solid rgba(166, 170, 193, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}

.hasse-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  display: block;
}

.hasse-msg-bubble {
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  padding: 12px 14px;
  word-break: break-word;
}

.hasse-msg-bot .hasse-msg-bubble {
  background: rgba(34, 35, 40, 0.85);
  border: 1px solid rgba(166, 170, 193, 0.2);
  border-top-left-radius: 4px;
  color: #E2E8F0;
}

.hasse-msg-bot .hasse-msg-bubble strong {
  color: #FFFFFF;
}

.hasse-msg-user .hasse-msg-bubble {
  background: linear-gradient(135deg, #373843 0%, #282931 100%);
  border: 1px solid rgba(166, 170, 193, 0.3);
  border-top-right-radius: 4px;
  color: #FFFFFF;
}

.hasse-chat-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hasse-chat-link:hover {
  color: #93c5fd;
}

/* Typing Indicator */
.hasse-bubble-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}

.hasse-bubble-typing span {
  width: 6px;
  height: 6px;
  background: var(--mist, #A6AAC1);
  border-radius: 50%;
  display: inline-block;
  animation: hasseDotBounce 1.4s infinite ease-in-out both;
}

.hasse-bubble-typing span:nth-child(1) { animation-delay: -0.32s; }
.hasse-bubble-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes hasseDotBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Quick Reply Chips */
.hasse-chat-quick-replies {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding: 0 16px 12px 16px;
  scrollbar-width: none;
}

.hasse-chat-quick-replies::-webkit-scrollbar {
  display: none;
}

.hasse-chat-chip {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(166, 170, 193, 0.25);
  border-radius: 9999px;
  color: var(--mist-deep, #C5C8DA);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hasse-chat-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(166, 170, 193, 0.55);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Input Form */
.hasse-chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(18, 19, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hasse-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.hasse-chat-input:focus {
  border-color: rgba(166, 170, 193, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.hasse-chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hasse-chat-send-btn:hover {
  background: var(--mist-deep, #C5C8DA);
  transform: scale(1.05);
}

/* Footer */
.hasse-chat-footer {
  padding: 6px 14px 8px;
  background: rgba(18, 19, 24, 0.95);
  text-align: center;
}

.hasse-chat-footer span {
  font-size: 0.68rem;
  color: rgba(166, 170, 193, 0.5);
  letter-spacing: 0.02em;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .hasse-chat-widget {
    bottom: 16px;
    right: 16px;
  }
  .hasse-chat-window {
    bottom: 80px;
    right: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
    max-height: 520px;
  }
}




