/* ==========================================================================
   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;
  scroll-padding-top: 88px;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(12, 13, 17, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

@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;
  padding-inline: clamp(12px, 3vw, 24px);
  pointer-events: none;
  transition: padding 0.3s ease;
  box-sizing: border-box;
}

.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: 768px) {
  .navbar-wrapper {
    padding-block: 8px;
    padding-inline: 12px;
  }

  .navbar {
    padding-inline: 12px;
    padding-block: 6px;
    gap: 8px;
  }

  .navbar-brand {
    gap: 6px;
    font-size: 0.9rem;
  }

  .brand-logo-badge {
    width: 24px;
    height: 24px;
  }

  .navbar-actions {
    gap: 5px;
  }

  /* No mobile, oculta CTA solto no header para otimizar espaço e não empurrar menu/carrinho */
  .navbar-actions > a.btn-primary {
    display: none !important;
  }

  .control-btn,
  .user-nav-btn,
  .mobile-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding-inline: 6px;
  }

  #currency-toggle {
    width: auto !important;
    min-width: 44px !important;
    height: 34px !important;
    padding-inline: 7px !important;
    gap: 3px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #currency-toggle .currency-flag-svg {
    width: 18px !important;
    height: 12.6px !important;
    flex-shrink: 0;
  }

  #currency-toggle .currency-chevron {
    width: 9px !important;
    height: 9px !important;
    flex-shrink: 0;
    margin-left: 0 !important;
  }

  #currency-label {
    display: none;
  }
}

@media (max-width: 520px) {
  .navbar-actions { gap: 4px; }
  .control-btn,
  .user-nav-btn,
  .mobile-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding-inline: 5px;
  }
  #currency-toggle {
    width: auto !important;
    min-width: 40px !important;
    height: 32px !important;
    padding-inline: 6px !important;
    gap: 2px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #currency-toggle .currency-flag-svg {
    width: 17px !important;
    height: 11.9px !important;
    flex-shrink: 0;
  }

  #currency-toggle .currency-chevron {
    width: 8px !important;
    height: 8px !important;
    flex-shrink: 0;
    margin-left: 0 !important;
  }
}

.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);
}

.user-nav-btn {
  width: 36px;
  height: 36px;
  padding-inline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.user-nav-btn:hover {
  background: var(--mist-line);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.user-nav-btn.is-logged-in {
  border-color: rgba(16, 185, 129, 0.45);
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.user-nav-btn.is-logged-in:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.65);
  color: #34d399;
}

/* --- Link Dinâmico de Membros no Header --- */
.nav-item-member {
  display: list-item;
}

.nav-link-member {
  color: #10b981 !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-link-member::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 4px #34d399;
  animation: pulseMemberDot 2.4s infinite ease-in-out;
}

@keyframes pulseMemberDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.nav-link-member:hover,
.nav-link-member.active {
  color: #34d399 !important;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}

/* 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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.currency-flag-svg,
.control-btn .currency-flag-svg {
  width: 20px !important;
  height: 14px !important;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 1px 3px rgba(0, 0, 0, 0.45);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  overflow: hidden;
}

#currency-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.currency-opt-flag .currency-flag-svg {
  width: 22px !important;
  height: 15.4px !important;
  border-radius: 2.5px;
}

[data-theme="light"] .currency-flag-svg,
[data-theme="light"] .control-btn .currency-flag-svg,
[data-theme="light"] .currency-opt-flag .currency-flag-svg {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.18);
}

.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: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 170, 193, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-pill::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: dlRadarPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  margin-right: 2px;
}

.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 (BENTO METRICS CARDS — 21st.dev / React Bits) --- */
.trust-bar {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 13, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 28px;
  position: relative;
  overflow: hidden;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mouse-x, var(--mx, 50%)) var(--mouse-y, var(--my, 50%)), rgba(166, 170, 193, 0.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 170, 193, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

.trust-item:hover::before {
  opacity: 1;
}

.trust-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #c5c8da 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--mist, #a6aac1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.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 {
  position: relative;
  background: radial-gradient(ellipse at 50% 15%, rgba(99, 102, 241, 0.12) 0%, rgba(15, 17, 26, 0.6) 50%, #07080c 100%) !important;
  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 (2 COLUNAS INDEPENDENTES) --- */
.faq-accordion {
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

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

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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;
}

.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: 64px;
}

.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: 20px;
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.6;
}

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

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

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

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

.faq-highlight {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: #a7f3d0;
  font-size: 0.90rem;
  line-height: 1.55;
}

.faq-highlight strong {
  color: #34d399;
  font-weight: 700;
}

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

.faq-answer-list li {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 9px 13px;
}

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

/* --- 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.6fr 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;
    /* Acima do aviso de cookies (2147483000), sem interceptar cliques. */
    z-index: 2147483647 !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: 2147483646 !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 (ESTILO 21st.dev / UIverse) --------------------- */
.testimonial-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);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.35);
  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::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mouse-x, var(--mx, 50%)) var(--mouse-y, var(--my, 50%)), rgba(166, 170, 193, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(166, 170, 193, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 45px -10px rgba(0, 0, 0, 0.7);
}

.testimonial-card:hover::after {
  opacity: 1;
}

.faq-item {
  position: relative;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--card-top) 0%, var(--bg-card) 100%);
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(166, 170, 193, 0.3);
}

.faq-item.open {
  border-color: rgba(166, 170, 193, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 35px -10px rgba(0, 0, 0, 0.65);
}

/* --- 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 {
  display: none !important;
}

[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: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.08) 0%, rgba(8, 11, 19, 0) 70%), #080b13;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  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;
  animation-play-state: running;
  will-change: transform;
}

.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 { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

/* --- 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 35s linear infinite;
  animation-play-state: running;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

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

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

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

.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); }
}

/* ==========================================================================
   PRESETS PRINCIPAIS HERO / SLIDER AMPLIADO (O DOBRO DO TAMANHO)
   ========================================================================== */
.section-presets-plus .video-strip,
.video-strip-hero {
  gap: clamp(14px, 1.8vw, 24px);
}

.section-presets-plus .video-strip-track,
.video-strip-hero .video-strip-track {
  gap: clamp(14px, 1.8vw, 24px);
}

.section-presets-plus .vwall-card,
.video-strip-hero .vwall-card {
  width: clamp(380px, 34vw, 560px); /* O DOBRO do tamanho original */
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.section-presets-plus .vwall-card:hover,
.video-strip-hero .vwall-card:hover {
  transform: scale(1.025) translateZ(0);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(166, 170, 193, 0.3);
}

.section-presets-plus .vwall-card .vwall-card-tag,
.video-strip-hero .vwall-card .vwall-card-tag {
  padding: 14px 16px 12px;
  gap: 3px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.88) 100%);
}

.section-presets-plus .vwall-card .vwall-cat,
.video-strip-hero .vwall-card .vwall-cat {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.section-presets-plus .vwall-card .vwall-name,
.video-strip-hero .vwall-card .vwall-name {
  font-size: 0.96rem;
  font-weight: 750;
  color: #FFFFFF;
}

.section-presets-plus .vwall-card .vwall-audio-badge,
.video-strip-hero .vwall-card .vwall-audio-badge {
  top: 12px;
  right: 12px;
  height: 28px;
  padding: 0 12px;
  font-size: 0.68rem;
  gap: 6px;
}

.section-presets-plus .vwall-card .vwall-audio-badge svg,
.video-strip-hero .vwall-card .vwall-audio-badge svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 768px) {
  .section-presets-plus .vwall-card,
  .video-strip-hero .vwall-card {
    width: clamp(270px, 78vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Sliders de vídeo continuam rodando obrigatoriamente em todos os PCs, notebooks e resoluções */
  .video-strip-track {
    animation-play-state: running !important;
  }
}

/* ==========================================================================
   SHOWCASE DINÂMICO & INTERATIVO DE PRESETS (SEM SLIDER MARQUEE)
   Inspirado no padrão modular Titulos Virais e NeoEditFX
   ========================================================================== */
.preset-showcase-section {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0;
}

.preset-cat-tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 28px 0 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 6px;
  scrollbar-width: none;
}
.preset-cat-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.preset-cat-tabs {
  display: inline-flex;
  gap: 6px;
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.preset-cat-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  user-select: none;
}

.preset-cat-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.preset-cat-tab.is-active {
  background: #FFFFFF;
  color: #0A0C10;
  border-color: #FFFFFF;
  font-weight: 750;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.22);
}

.preset-cat-tab .tab-count {
  display: inline-block;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-weight: 700;
}

.preset-cat-tab.is-active .tab-count {
  background: rgba(0, 0, 0, 0.14);
  color: #0A0C10;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}

.preset-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: #0A0C11;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.28s ease;
}

.preset-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.8), 0 0 28px rgba(130, 160, 255, 0.25);
}

.preset-card.is-vertical {
  aspect-ratio: 9 / 16;
}

.preset-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0A0C11;
}

.preset-card-tag {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.preset-card .preset-cat {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A6AAC1;
}

.preset-card .preset-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.preset-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preset-card-badge svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* Alternador de Formato (16:9 vs 9:16) */
.aspect-switcher-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 28px;
}

.aspect-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.aspect-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 650;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.aspect-btn:hover {
  color: #FFFFFF;
}

.aspect-btn.is-active {
  background: #FFFFFF;
  color: #0A0C10;
  font-weight: 750;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.preset-grid.is-vertical-grid {
  max-width: 860px;
  margin: 0 auto;
}

.style-showcase-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg, 18px);
  padding: clamp(20px, 3vw, 36px);
  margin-bottom: 36px;
  transition: border-color 0.2s ease;
}

.style-showcase-block:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.style-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.style-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 0 0;
}

/* Grid de Motores Fast Text+ */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .preset-grid,
  .engines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .preset-grid,
  .engines-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .preset-cat-tabs-wrap {
    justify-content: flex-start;
  }
  .preset-cat-tab {
    font-size: 0.75rem;
    padding: 7px 12px;
  }
}


/* --- 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: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  user-select: none;
}

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

.vframe-scrub {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  margin-bottom: 4px;
  touch-action: none;
  user-select: none;
}

/* Hitbox generosa invisível de 44px de altura para nunca perder o clique nem vazar para o vídeo */
.vframe-scrub::before {
  content: '';
  position: absolute;
  inset: -8px 0;
  z-index: 1;
}

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

.vframe-scrub:hover .vframe-scrub-track,
.vframe-scrub.is-scrubbing .vframe-scrub-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.38);
}

.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);
  pointer-events: none;
}

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

.vframe-scrub:hover .vframe-scrub-thumb,
.vframe-scrub.is-scrubbing .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);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.25s ease, background 0.22s ease;
}

.spec-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(166, 170, 193, 0.15);
}

.spec-item svg {
  width: 17px;
  height: 17px;
  color: var(--mist);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.spec-item:hover svg {
  color: #FFFFFF;
  transform: scale(1.15);
}

.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: linear-gradient(180deg, #131620 0%, #0d0f17 100%);
  border-left: 1px solid rgba(166, 170, 193, 0.2);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.7), inset 1px 0 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  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;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(166, 170, 193, 0.14);
}

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

.cart-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(166, 170, 193, 0.2);
  color: var(--mist);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cart-close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}
.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: 14px 16px;
  border: 1px solid rgba(166, 170, 193, 0.16);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(34, 35, 40, 0.7) 0%, rgba(22, 24, 32, 0.85) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cart-row:hover {
  border-color: rgba(166, 170, 193, 0.32);
}

.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(--mist);
}

.cart-row-price {
  font-size: 0.92rem;
  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;
  transition: color 0.2s ease;
}

.cart-row-remove:hover { color: #ff6b6b; }
.cart-row-remove svg { width: 15px; height: 15px; }

.cart-upsell {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(166, 170, 193, 0.22);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(166, 170, 193, 0.08) 0%, rgba(166, 170, 193, 0.03) 100%);
}

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

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

.cart-foot {
  padding: 20px 22px;
  border-top: 1px solid rgba(166, 170, 193, 0.18);
  background: linear-gradient(180deg, rgba(19, 22, 32, 0.95) 0%, rgba(11, 13, 19, 0.98) 100%);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.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); }

/* --- Cupom de Desconto no Carrinho e Modal ------------------------------ */
.cart-coupon-wrap {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}

.coupon-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.coupon-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.coupon-input::placeholder {
  text-transform: none;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: normal;
}

.coupon-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.coupon-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.coupon-btn:hover {
  background: var(--paper);
  color: var(--void);
  border-color: var(--paper);
}

.coupon-active-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.82rem;
}

.coupon-active-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.coupon-remove-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.coupon-remove-btn:hover {
  color: #ff8a8a;
  background: rgba(255, 255, 255, 0.05);
}

.coupon-msg {
  display: block;
  font-size: 0.76rem;
  margin-top: 6px;
  line-height: 1.35;
}

.coupon-msg.is-error {
  color: #ff8a8a;
}

.coupon-msg.is-success {
  color: #34d399;
}

.cart-subtotal-row,
.cart-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.cart-discount-row strong {
  color: #34d399;
  font-weight: 700;
}

[data-theme="light"] .coupon-input {
  background: #ffffff;
  border-color: #e2e4ed;
  color: #121316;
}

[data-theme="light"] .coupon-btn {
  background: #f1f3f9;
  border-color: #d1d5e4;
  color: #222328;
}

[data-theme="light"] .coupon-btn:hover {
  background: #222328;
  color: #ffffff;
  border-color: #222328;
}

[data-theme="light"] .coupon-active-badge {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #047857;
}

[data-theme="light"] .cart-discount-row strong {
  color: #047857;
}

html.cart-open,
html.cakto-open,
body.cart-open,
body.cakto-open {
  overflow: hidden !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;
}

.cakto-password-wrap {
  position: relative;
  width: 100%;
}
.cakto-password-wrap input {
  padding-right: 42px !important;
}
.cakto-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.cakto-password-toggle:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}
.cakto-password-toggle:focus {
  outline: none;
  color: var(--color-primary);
}
.cakto-auth-banner {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.76rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cakto-password-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.35;
}


/* 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;
}

@keyframes caktoSpin {
  to { transform: rotate(360deg); }
}

.cakto-stripe-mount {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 14px;
  margin-bottom: 16px;
  position: relative;
}

.cakto-stripe-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;
  position: relative;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #1e232e 0%, #131720 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 7px 7px !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 35px -8px rgba(56, 189, 248, 0.18);
  overflow: visible !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  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: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 45px -4px rgba(56, 189, 248, 0.25);
}

.example-card::before {
  content: '';
  display: block;
  height: 24px;
  background: rgba(22, 27, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px 13px 0 0 !important;
  background-image:
    radial-gradient(circle at 12px 12px, #ff5f56 4px, transparent 4.5px),
    radial-gradient(circle at 23px 12px, #ffbd2e 4px, transparent 4.5px),
    radial-gradient(circle at 34px 12px, #27c93f 4px, transparent 4.5px),
    radial-gradient(circle at 50% 12px, rgba(255,255,255,0.2) 2px, transparent 2.5px);
  background-repeat: no-repeat;
}

.example-card::after {
  display: none !important;
}

.example-media,
.example-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  pointer-events: none;
  border-radius: 0 0 13px 13px !important;
  background-color: #0d1117;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.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: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  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.45);
  background: rgba(20, 24, 34, 0.92);
}

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

.example-card.is-unmuted .example-audio-badge {
  background: rgba(39, 201, 63, 0.2);
  border-color: rgba(39, 201, 63, 0.6);
  color: #27c93f;
}

/* --- TÍTULOS VIRAIS INSPIRATION SYSTEM ---------------------------------- */
.tv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist, #a5b4fc);
  margin-bottom: 8px;
}

.tv-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist, #a5b4fc);
}

.tv-compat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.tv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #fff);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tv-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.tv-chip svg {
  width: 16px;
  height: 16px;
  color: var(--mist, #a5b4fc);
  flex-shrink: 0;
}

.tv-vsl-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0f15;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tv-vsl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-vsl-dots {
  display: inline-flex;
  gap: 6px;
}

.tv-vsl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.tv-vsl-dot:nth-child(1) { background: #ff5f56; }
.tv-vsl-dot:nth-child(2) { background: #ffbd2e; }
.tv-vsl-dot:nth-child(3) { background: #27c93f; }

.tv-vsl-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim, #94a3b8);
}

.tv-studio-section {
  position: relative;
  background: linear-gradient(180deg, #08090d 0%, #10121a 50%, #08090d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(60px, 8vw, 100px) 0;
}

/* --- OS 3 BACKGROUNDS OFICIAIS DO ESTÚDIO ---
   BG 1 (IMG 1): Studio Ambient Glow (iluminação focal radial + vinheta profunda)
   BG 2 (IMG 2): Dot Matrix Grid (malha de pontos tecnológicos DaVinci)
   BG 3 (IMG 3): Clean Minimal Obsidian (fundo grafite/preto acetinado limpo e minimalista) */

.bg-style-1,
.bg-1,
.bg-layer-glow,
.bg-layer-midnight,
.bg-layer-glow-cta {
  background: radial-gradient(ellipse at 50% 35%, rgba(99, 102, 241, 0.12) 0%, rgba(15, 23, 42, 0) 70%), #07090e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bg-style-2,
.bg-2,
.bg-layer-dots,
.bg-layer-slate-dots {
  background-color: #080b13 !important;
  background-image:
    radial-gradient(rgba(148, 163, 184, 0.16) 1.2px, transparent 1.2px),
    radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 70%) !important;
  background-size: 24px 24px, 100% 100% !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-style-3,
.bg-3,
.bg-layer-clean,
.bg-layer-obsidian,
.bg-layer-carbon,
.bg-layer-slate,
.bg-layer-obsidian-soft,
.bg-layer-textured {
  background: #06070a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tv-studio-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.35), transparent);
  margin-bottom: 48px;
}

.tv-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .tv-feature-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 16px !important;
    padding: 12px 20px 24px !important;
    margin: 0 -20px !important;
    scroll-behavior: smooth !important;
  }
  .tv-feature-grid::-webkit-scrollbar {
    display: none !important;
  }
  .tv-feature-card {
    flex: 0 0 min(320px, calc(100vw - 64px)) !important;
    width: min(320px, calc(100vw - 64px)) !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
  }
}

.tv-feature-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.tv-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.tv-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(165, 180, 252, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--mist, #a5b4fc);
}

.tv-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.tv-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.45;
  margin: 0;
}

.tv-offer-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tv-offer-card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.tv-guarantee-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(39, 201, 63, 0.06);
  border: 1px solid rgba(39, 201, 63, 0.25);
}

@media (max-width: 640px) {
  .tv-guarantee-card {
    flex-direction: column;
    text-align: center;
  }
}

.tv-guarantee-seal {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(39, 201, 63, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27c93f;
}

.tv-guarantee-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.tv-guarantee-text {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.45;
  margin: 0;
}

/* --- TV HUD VIDEO FRAME (SEM BORDAS PRETAS / ZERO LETTERBOX) --- */
.tv-hud-video-wrap {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.tv-hud-video-wrap::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle at 50% 30%, rgba(165, 180, 252, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 24px;
}

.tv-hud-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  user-select: none;
}

.tv-hud-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tv-hud-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 0 0 10px rgba(255, 95, 86, 0.8);
  animation: tcPulse 2s infinite ease-in-out;
}

.tv-hud-meta {
  color: var(--mist, #a5b4fc);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.tv-hud-container {
  position: relative;
  z-index: 1;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px -15px rgba(165, 180, 252, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tv-hud-container:hover {
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(165, 180, 252, 0.2);
}

.tv-hud-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 4;
}

.tv-hud-bracket.corner-tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid rgba(165, 180, 252, 0.85);
  border-left: 2px solid rgba(165, 180, 252, 0.85);
}

.tv-hud-bracket.corner-tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid rgba(165, 180, 252, 0.85);
  border-right: 2px solid rgba(165, 180, 252, 0.85);
}

.tv-hud-bracket.corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid rgba(165, 180, 252, 0.85);
  border-left: 2px solid rgba(165, 180, 252, 0.85);
}

.tv-hud-bracket.corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid rgba(165, 180, 252, 0.85);
  border-right: 2px solid rgba(165, 180, 252, 0.85);
}

.tv-hud-container .video-showcase {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: #000;
}

.tv-hud-container .video-frame {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  margin: 0;
}

.tv-hud-container .video-poster-img,
.tv-hud-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- 3D INTERACTIVE CARDS (INSPIRADO EM TÍTULOS VIRAIS) --- */
.tv-cards-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  max-width: 1040px;
  margin: 32px auto 0;
  perspective: 1200px;
}

.tv-cards-3d-grid.is-5-items {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  max-width: 1140px;
}

@media (max-width: 860px) {
  .tv-cards-3d-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
  }
}

.tv-card-3d {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  user-select: none;
}

.tv-card-3d:hover {
  border-color: rgba(165, 180, 252, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(99, 102, 241, 0.2);
}

.tv-card-3d.is-active {
  border-color: rgba(165, 180, 252, 0.6);
  background: linear-gradient(175deg, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.25), inset 0 0 0 1px rgba(165, 180, 252, 0.3);
}

.tv-card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 3;
}

.tv-card-3d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tv-card-3d-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--mist, #a5b4fc);
}

.tv-card-3d-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(165, 180, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist, #a5b4fc);
  flex-shrink: 0;
}

.tv-card-3d-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.tv-card-3d-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.5;
  margin-bottom: 20px;
}

.tv-card-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tv-card-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Card 3D com vídeo integrado (para Fast Edit) */
.tv-card-3d-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-card-3d-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-card-3d-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  z-index: 5;
  pointer-events: auto;
}

.tv-card-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

.tv-card-3d:hover .tv-card-play-btn {
  transform: translate(-50%, -50%) scale(1.14);
  background: var(--accent-purple, #6366f1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* --- DA TIMELINE AO FEED (SECTION 03 WORKFLOW) --- */
.tv-feed-flow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tv-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #e2e8f0;
  font-weight: 600;
}

.tv-flow-step.is-active {
  background: rgba(165, 180, 252, 0.12);
  border-color: rgba(165, 180, 252, 0.35);
  color: #fff;
}

.tv-flow-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--mist, #a5b4fc);
}

.tv-flow-arrow {
  color: var(--text-dim, #64748b);
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {
  .tv-feed-flow-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .tv-flow-arrow {
    display: none;
  }
}

/* CHIPS DE COMPATIBILIDADE INTEGRADOS */
.tv-compat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
}

.tv-chip svg {
  width: 14px;
  height: 14px;
  color: var(--mist, #a5b4fc);
}

/* --- TV INSPECTOR CONSOLE --- */
.tv-inspector-console {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 16, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
}

.tv-duo-enhanced {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: clamp(14px, 2.5vw, 24px) !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.tv-duo-enhanced .video-duo-col:first-child {
  flex: 1 1 65% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.tv-duo-enhanced .video-duo-col:last-child {
  flex: 0 0 clamp(160px, 28%, 280px) !important;
  min-width: 0 !important;
  max-width: none !important;
}

.tv-duo-enhanced .video-duo-main .video-frame {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

.tv-duo-enhanced .video-duo-side .video-frame {
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .tv-duo-enhanced {
    flex-direction: row !important;
    gap: 10px !important;
    align-items: flex-end !important;
    flex-wrap: nowrap !important;
  }
  .tv-duo-enhanced .video-duo-col:first-child {
    flex: 1 1 62% !important;
  }
  .tv-duo-enhanced .video-duo-col:last-child {
    flex: 0 0 clamp(105px, 34%, 160px) !important;
  }
  .tv-duo-enhanced .video-duo-topbar {
    margin-bottom: 6px !important;
  }
  .tv-duo-enhanced .video-duo-label {
    font-size: 0.62rem !important;
    margin-bottom: 4px !important;
  }
  .tv-duo-enhanced .video-duo-meta {
    display: none !important;
  }
}

.video-duo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.video-duo-meta {
  font-size: 0.66rem;
  color: var(--text-dim, #94a3b8);
  font-family: var(--font-mono, monospace);
}

/* --- MAC DUO FRAME (SETUP HUD DO MAC PARA TIMELINE & INSPECTOR) --- */
.mac-duo-frame {
  border-radius: 20px !important;
  background: linear-gradient(180deg, #1e232e 0%, #131720 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 8px 8px 8px !important;
  box-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.85), 0 0 40px -8px rgba(56, 189, 248, 0.18) !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  height: fit-content !important;
}
.mac-duo-frame .macbook-hud-bar {
  border-radius: 14px 14px 0 0 !important;
  padding: 8px 12px !important;
  background: rgba(22, 27, 36, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.mac-duo-frame .macbook-traffic-lights {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
}
.mac-duo-frame .macbook-hud-title {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #e2e8f0 !important;
  letter-spacing: 0.02em !important;
}
.mac-duo-frame .video-showcase {
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 0 0 14px 14px !important;
  border: none !important;
  background: #000 !important;
  flex: none !important;
  height: auto !important;
  overflow: hidden !important;
}
.mac-duo-frame .video-frame {
  width: 100% !important;
  border-radius: 0 0 14px 14px !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.mac-duo-frame .video-frame video,
.mac-duo-frame .video-frame .video-poster-img {
  border-radius: 0 0 14px 14px !important;
  display: block !important;
}
.mac-duo-frame .macbook-chin {
  display: none !important;
}
.mac-duo-frame .macbook-notch-thumb {
  display: none !important;
}

.tv-inspector-params {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-param-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  color: #e2e8f0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tv-param-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(165, 180, 252, 0.3);
}

.param-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.param-dot.green { background: #27c93f; }
.param-dot.blue { background: #38bdf8; }
.param-dot.purple { background: #a855f7; }
.param-dot.orange { background: #f97316; }

/* --- TV DISCLAIMER NOTE --- */
.tv-disclaimer-note {
  font-size: 0.72rem;
  color: var(--text-dim, #64748b);
  opacity: 0.8;
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  line-height: 1.45;
}

/* --- TV COMPACT FINAL CTA --- */
.tv-compact-cta-box {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-cta-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv-cta-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.tv-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.tv-btn-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-dim, #94a3b8);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: color 0.2s ease;
}

.tv-btn-top:hover {
  color: #fff;
}

/* --- SEÇÃO DE OFERTA MODERNA: CARD ESTILO IMG 5 + CARDS DE VANTAGENS LATERAIS --- */
.tv-offer-split {
  display: grid;
  grid-template-columns: minmax(360px, 440px) 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .tv-offer-split {
    grid-template-columns: 1fr;
    max-width: 580px;
    gap: 28px;
  }
}

/* CARD PRINCIPAL (ESTILO IMG 5 - VERSÃO DAVINCI RESOLVE COM BORDA GLOW LARANJA) */
.tv-version-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, #181922 0%, #0d0e15 100%);
  border: 2px solid rgba(255, 122, 24, 0.7);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 40px -10px rgba(255, 107, 0, 0.25);
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tv-version-pill-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
  white-space: nowrap;
  z-index: 2;
}

.tv-version-subkicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.tv-version-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tv-davinci-app-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tv-version-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tv-version-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.tv-version-edition {
  font-size: 0.82rem;
  color: #94a3b8;
}

.tv-version-price-box {
  margin: 14px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-price-from {
  font-size: 0.88rem;
  color: #94a3b8;
}

.tv-price-from .price-old-val {
  text-decoration: line-through;
  color: #94a3b8;
}

.tv-price-installments {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tv-price-cash {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

.tv-price-cash .product-price-current {
  font-weight: 800;
  color: #ffffff;
}

.tv-features-kicker {
  color: #f59e0b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tv-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.tv-check-icon {
  width: 18px;
  height: 18px;
  stroke: #ff6b00;
  flex-shrink: 0;
  margin-top: 2px;
}

.tv-version-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-btn-davinci-cta {
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  width: 100%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 85, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tv-btn-davinci-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 85, 0, 0.55);
  filter: brightness(1.05);
}

.tv-btn-davinci-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}

.tv-btn-davinci-main {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.tv-btn-davinci-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.tv-btn-cart-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.tv-btn-cart-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.tv-version-card-footer {
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

/* CARDS LATERAIS: GARANTIAS, VANTAGENS, SEGURANÇA E SUPORTE */
.tv-perks-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 680px) {
  .tv-perks-stack {
    grid-template-columns: 1fr;
  }
}

.tv-perk-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.tv-perk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.tv-perk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tv-perk-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv-perk-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.tv-perk-icon-wrap.is-shield {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.tv-perk-icon-wrap.is-infinity {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
}

.tv-perk-icon-wrap.is-lock {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.tv-perk-icon-wrap.is-bolt {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.tv-perk-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tv-perk-tag.is-shield {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.tv-perk-tag.is-infinity {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
}

.tv-perk-tag.is-lock {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.tv-perk-tag.is-bolt {
  background: rgba(245, 158, 11, 0.15);
  color: #fde047;
}

.tv-perk-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.tv-perk-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

@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(110px, 150px) 1.05fr minmax(380px, 460px);
  grid-template-areas: "callouts media buy";
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: clamp(320px, 38vw, 460px);
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* --- 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;
}

/* --- Barra de Modalidade de Compra (Topo do Palco — Cards Pulsantes de Alto Padrão) --- */
@keyframes modePulseEmerald {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.45), 0 4px 18px -2px rgba(16, 185, 129, 0.35);
    border-color: #10b981;
  }
  50% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.65), 0 6px 28px 2px rgba(16, 185, 129, 0.65);
    border-color: #34d399;
  }
}

@keyframes modePulseGold {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5), 0 4px 20px -2px rgba(245, 158, 11, 0.45);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.75), 0 6px 32px 3px rgba(245, 158, 11, 0.8);
    border-color: #fbbf24;
  }
}

@keyframes radarPing {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.fstage-mode-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 620px;
  margin: 0 auto 24px;
  width: 100%;
}

.fstage-mode-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #11141d;
  border: 1.5px solid #232838;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease-spring), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.fstage-mode-btn:hover {
  transform: translateY(-2px);
  border-color: #3b445c;
  background: #161a26;
}

.fstage-mode-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fstage-mode-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  flex-shrink: 0;
}

.fstage-mode-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fstage-mode-dot.is-gold {
  background: #f59e0b;
}

.fstage-mode-dot.is-gold::after {
  border-color: #fbbf24;
}

.fstage-mode-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.fstage-mode-pill.is-gold {
  background: rgba(245, 190, 80, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 190, 80, 0.28);
}

.fstage-mode-btn.is-active {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), #0c1a14);
  border-color: #10b981;
  animation: modePulseEmerald 2.4s infinite ease-in-out;
}

.fstage-mode-btn.is-active .fstage-mode-pill {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.6);
}

.fstage-mode-btn.is-gold {
  background: #14121a;
  border-color: rgba(245, 190, 80, 0.22);
}

.fstage-mode-btn.is-gold:hover {
  background: #1d1826;
  border-color: rgba(245, 190, 80, 0.45);
}

.fstage-mode-btn.is-gold.is-active {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.18), #221908);
  border-color: #f59e0b;
  animation: modePulseGold 2.4s infinite ease-in-out;
}

.fstage-mode-btn.is-gold.is-active .fstage-mode-pill {
  background: rgba(245, 190, 80, 0.28);
  color: #fbbf24;
  border-color: rgba(245, 190, 80, 0.65);
}

.fstage-mode-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.fstage-mode-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.fstage-mode-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.fstage-mode-price.is-gold {
  color: #fbbf24;
}

.fstage-mode-price small {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  margin-left: 4px;
}

.fstage-mode-btn.is-active .fstage-mode-price { color: #34d399; }
.fstage-mode-btn.is-gold.is-active .fstage-mode-price { color: #fbbf24; }

[data-theme="light"] .fstage-mode-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .fstage-mode-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
[data-theme="light"] .fstage-mode-btn .fstage-mode-title { color: #0f172a; }
[data-theme="light"] .fstage-mode-btn .fstage-mode-price { color: #64748b; }
[data-theme="light"] .fstage-mode-btn.is-active { border-color: #10b981; background: #ecfdf5; box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2); }
[data-theme="light"] .fstage-mode-btn.is-gold.is-active { border-color: #d97706; background: #fffbeb; box-shadow: 0 4px 18px rgba(217, 119, 6, 0.2); }

/* --- Card de Compra Premium (Limpo, Espaçoso & Zero Upsell Redundante) --- */
.fstage-buy-box.is-premium {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(165deg, #131722 0%, #0c0f16 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  text-align: left;
}

.fstage-buy-box.is-premium.is-full-pack {
  background: linear-gradient(165deg, #181510 0%, #0e0d0a 100%);
  border-color: rgba(245, 190, 80, 0.5);
  box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px -8px rgba(245, 190, 80, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fstage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.fstage-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.fstage-card-pill.is-gold {
  background: rgba(245, 190, 80, 0.22);
  color: #fbbf24;
  border-color: rgba(245, 190, 80, 0.55);
}

.fstage-card-niche {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fstage-card-niche.is-gold {
  color: #f59e0b;
}

.fstage-card-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.fstage-card-title.is-gold {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(245, 190, 80, 0.35);
}

.fstage-card-specs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 14px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

.fstage-card-specs::-webkit-scrollbar {
  display: none !important;
}

.fstage-spec-chip {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center;
  gap: 5px;
  padding: 3px 8px !important;
  border-radius: 8px;
  font-size: 0.68rem !important;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap !important;
}

.fstage-spec-chip strong {
  color: #ffffff;
  font-weight: 700;
}

.fstage-spec-chip.is-bonus {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 700;
}

.fstage-spec-chip.is-gold {
  background: rgba(245, 190, 80, 0.12);
  border-color: rgba(245, 190, 80, 0.35);
  color: #fde68a;
}

/* --- BOX DE BÔNUS DO CARD DO HERO (FAST TEXT+) ----------------------------- */
.fstage-bonus-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(6, 78, 59, 0.25) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 8px 12px;
  margin: 8px 0 11px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(16, 185, 129, 0.12);
  box-sizing: border-box;
  width: 100%;
}

.fstage-bonus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.fstage-bonus-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #34d399;
}

.fstage-bonus-pill {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.fstage-bonus-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.fstage-bonus-title strong {
  color: #ffffff;
}

.fstage-bonus-desc {
  display: none !important;
}

.fstage-card-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin-bottom: 14px;
}

.fstage-card-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

.fstage-card-btns {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.fstage-card-btns .btn-primary,
.fstage-card-btns .fstage-card-buy-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 18px !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
  flex: 1 1 auto !important;
}

.fstage-card-btns .btn-cart,
.fstage-card-btns .fstage-card-add-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 14px !important;
  font-size: 0.80rem !important;
  font-weight: 700 !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.fstage-card-action-bar .fstage-card-add-btn {
  width: auto !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.fstage-card-price-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  width: 100% !important;
}

.fstage-price-caption {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.fstage-price-caption.is-gold {
  color: #b45309;
}

.fstage-price-caption del {
  color: #64748b;
  font-weight: 600;
}

.fstage-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.fstage-card-price-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.fstage-card-price-val.is-gold {
  color: #fbbf24;
  text-shadow: 0 0 16px rgba(245, 190, 80, 0.35);
}

.fstage-card-price-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.fstage-card-price-badge.is-gold {
  background: rgba(245, 190, 80, 0.22);
  color: #fbbf24;
  border-color: rgba(245, 190, 80, 0.45);
}

.fstage-card-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  flex-shrink: 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px -3px rgba(16, 185, 129, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.fstage-card-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -2px rgba(16, 185, 129, 0.65);
  filter: brightness(1.08);
}

.fstage-card-add-btn:active {
  transform: translateY(0);
}

.fstage-card-add-btn.is-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0c0d10;
  box-shadow: 0 6px 22px -3px rgba(245, 158, 11, 0.5);
}

.fstage-card-add-btn.is-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px -2px rgba(245, 158, 11, 0.7);
  filter: brightness(1.08);
}

[data-theme="light"] .fstage-buy-box.is-premium {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 12px 35px -6px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .fstage-buy-box.is-premium.is-full-pack {
  background: #fffdf5;
  border-color: rgba(245, 190, 80, 0.6);
}
[data-theme="light"] .fstage-card-title {
  color: #0f172a;
}
[data-theme="light"] .fstage-card-title.is-gold {
  color: #b45309;
  text-shadow: none;
}
[data-theme="light"] .fstage-spec-chip {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}
[data-theme="light"] .fstage-spec-chip strong {
  color: #0f172a;
}
[data-theme="light"] .fstage-card-price-val {
  color: #0f172a;
}
[data-theme="light"] .fstage-card-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}
[data-theme="light"] .fstage-card-add-btn.is-gold {
  color: #ffffff;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* --- Dock inferior unificado --- */
.fstage-dock,
.fstage-dock-unified {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.fstage-dock-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

.fstage-tabs-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 8px;
  padding: 0 4px;
  overflow: visible;
}

.fstage-tabs-arrow {
  display: none; /* JS enables display: flex when overflowing */
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s var(--ease-spring);
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.fstage-tabs-arrow:hover {
  color: var(--text-white);
  border-color: var(--mist-line);
  background: var(--well);
  transform: scale(1.1);
}

.fstage-tabs-arrow:active {
  transform: scale(0.95);
}

.fstage-tabs {
  display: inline-flex;
  padding: 10px 14px;
  margin: -6px 0;
  gap: 8px;
  background: transparent;
  border: none;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.fstage-tabs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.fstage-tabs::-webkit-scrollbar { display: none; }

/* CADA ABA TEM CARA CLARA E ÓBVIA DE BOTÃO CLICÁVEL FÍSICO */
.fstage-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #141722; /* Fundo sólido de botão */
  border: 1.5px solid #283042; /* Borda nítida de botão */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  color: var(--text-secondary);
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-spring);
}

.fstage-tab:hover {
  background: #1c2232;
  border-color: #3f4c68;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
}

.fstage-tab:active {
  transform: scale(0.97);
}

.fstage-tab.is-active {
  background: #0d1e17;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 16px -2px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(16, 185, 129, 0.3);
}

.fstage-tab-icon { font-size: 0.95rem; }

.fstage-tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.fstage-tab-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.fstage-tab-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
}

.fstage-tab:hover .fstage-tab-name,
.fstage-tab.is-active .fstage-tab-name { color: var(--text-white); }
.fstage-tab.is-active .fstage-tab-sub { color: #34d399; }

[data-theme="light"] .fstage-tab {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .fstage-tab:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}
[data-theme="light"] .fstage-tab.is-active {
  background: #ecfdf5;
  border-color: #10b981;
  box-shadow: 0 0 14px -2px rgba(16, 185, 129, 0.25);
}

/* VARIÁVEIS / SUBPASTAS: NUNCA EM 2 LINHAS! */
.fstage-subs {
  display: flex;
  flex-wrap: nowrap !important; /* 100% EM 1 LINHA */
  align-items: center;
  justify-content: safe center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 14px 28px;
  scroll-padding-inline: 24px;
}

.fstage-subs::-webkit-scrollbar { display: none; }

.fstage-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #283042;
  border-radius: var(--radius-pill);
  background: #141722;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: all 0.2s var(--ease-spring);
}

.fstage-sub:hover {
  color: var(--text-white);
  border-color: #3f4c68;
  background: #1c2232;
  transform: translateY(-1px);
}

.fstage-sub:active {
  transform: scale(0.97);
}

.fstage-sub-icon { font-size: 0.85rem; }

.fstage-sub-price {
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
}

.fstage-sub.is-active {
  background: #ffffff;
  color: #0c0d10;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  animation: none;
  transform: translateY(-1px);
}

.fstage-sub.is-active .fstage-sub-price {
  background: rgba(16, 185, 129, 0.25);
  color: #047857;
}

[data-theme="light"] .fstage-sub {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
[data-theme="light"] .fstage-sub.is-active {
  box-shadow: 0 0 22px -4px rgba(0, 0, 0, 0.35);
}

.fstage-subs-single-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.fstage-single-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(198, 202, 224, 0.12);
  color: var(--mist);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* SELETOR EM BOX DE CATEGORIA MOBILE (FAST ASSETS) */
.fstage-cat-picker-mobile {
  display: none;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 25;
}

.fstage-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  background: #141722;
  border: 1.5px solid #283042;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: all 0.2s var(--ease-spring);
  text-align: left;
}

.fstage-picker-btn:hover {
  background: #1c2232;
  border-color: #3f4c68;
}

.fstage-picker-btn.is-open {
  border-color: #10b981;
  box-shadow: 0 0 16px -2px rgba(16, 185, 129, 0.4);
}

.fstage-picker-cur-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fstage-picker-cur-icon {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.fstage-picker-cur-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
  min-width: 0;
}

.fstage-picker-cur-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.fstage-picker-cur-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fstage-picker-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.fstage-picker-btn.is-open .fstage-picker-arrow {
  transform: rotate(180deg);
  color: #10b981;
}

.fstage-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #12141d;
  border: 1.5px solid #283042;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.fstage-picker-dropdown[hidden] {
  display: none !important;
}

.fstage-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.15s ease;
}

.fstage-picker-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.fstage-picker-item.is-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

.fstage-picker-item-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fstage-picker-item-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

.fstage-picker-item-name {
  font-size: 0.84rem;
  font-weight: 800;
  color: inherit;
}

.fstage-picker-item-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.fstage-picker-item.is-active .fstage-picker-item-sub {
  color: #34d399;
}

.fstage-picker-check {
  color: #10b981;
  font-weight: 900;
  font-size: 0.9rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* BANNER DE FULL PACK ORGANIZADO (NÃO JOGA CHIPS SOLTOS) */
.fstage-full-pack-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(245, 190, 80, 0.06);
  border: 1.5px solid rgba(245, 190, 80, 0.25);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.fstage-full-pack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.fstage-full-pack-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  min-width: 0;
}

.fstage-full-pack-crown {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.fstage-full-pack-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
}

.fstage-full-pack-text p {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin: 2px 0 0;
  line-height: 1.25;
}

.fstage-full-pack-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(245, 190, 80, 0.15);
  border: 1px solid rgba(245, 190, 80, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  user-select: none;
}

.fstage-full-pack-toggle:hover {
  background: rgba(245, 190, 80, 0.25);
  border-color: rgba(245, 190, 80, 0.5);
}

.fstage-full-pack-toggle svg {
  transition: transform 0.25s ease;
}

.fstage-full-pack-toggle.is-open svg {
  transform: rotate(180deg);
}

.fstage-full-pack-details {
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 190, 80, 0.15);
  animation: fadeIn 0.2s ease;
}

.fstage-full-pack-details[hidden] {
  display: none !important;
}

.fstage-full-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.fstage-full-cat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.fstage-full-cat-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
}

.fstage-full-cat-items {
  font-size: 0.67rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.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; }

  /* 0. SELETOR DE MODALIDADE */
  .fstage-mode-bar {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto 16px;
  }

  /* 3. SELECIONAR OS PACKS: dock de categorias / abas */
  .fstage-dock,
  .fstage-dock-unified,
  .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;
  }

  /* No celular, remove o texto explicativo da categoria ativa (libera espaço e evita poluição visual) */
  .pstage-cat-name,
  .pstage-cat-line {
    display: none !important;
  }

  .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,
  .fstage-buy-box .cat-add {
    width: 100%;
    justify-content: center;
  }

  .fstage-buy-card,
  .fstage-buy-box {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  /* Alterna abas horizontais para o box picker no mobile */
  .fstage-tabs-wrap {
    display: flex !important;
  }
  .fstage-cat-picker-mobile {
    display: none !important;
  }
  /* Subpastas em slider horizontal suave com margem generosa para nunca cropar o brilho */
  .fstage-subs:not([hidden]) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: safe center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 10px 24px 16px !important;
    scroll-padding-inline: 20px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .fstage-subs[hidden] {
    display: none !important;
  }
  .fstage-subs::-webkit-scrollbar {
    display: none !important;
  }
  .fstage-sub {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    font-size: 0.74rem !important;
    width: auto !important;
    flex: 0 0 auto !important;
    scroll-snap-align: center !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  .fstage-sub-name {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .fstage-subs-single-msg {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 520px) {
  .fstage-buy-box.is-premium { padding: 18px 16px; }
  .fstage-card-action-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .fstage-card-price-group { align-items: flex-start; }
  .fstage-card-add-btn { width: 100%; }
  .fstage-tab { padding: 8px 12px; }
  .fstage-tab-name { font-size: 0.74rem; }
  .fstage-sub { padding: 6px 10px; font-size: 0.7rem; }
}

@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;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.pstage-price-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pstage-price-from {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
}

.pstage-price-old {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  text-decoration: line-through;
  opacity: 0.85;
}

.pstage-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.pstage-price-hero {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pstage-installments-large {
  font-family: var(--font-display, inherit);
  font-size: clamp(2.1rem, 3.8vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.pstage-price-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pstage-price-cash {
  font-weight: 800;
  color: #e2e8f0;
}

.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: #0b0f19 !important;
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  animation: packSwitchWhitePulse 2.4s ease-in-out infinite !important;
}

.pack-switch-item.is-active .pack-switch-name,
.pack-switch-item.is-active .pack-name-prefix,
.pack-switch-item.is-active .pack-name-full {
  color: #0b0f19 !important;
  font-weight: 800 !important;
}

.pack-switch-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--mist);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.pack-switch-item.is-active .pack-switch-num {
  color: #0b0f19 !important;
  font-weight: 900 !important;
  opacity: 0.85;
  text-shadow: none !important;
}

.pack-name-short { display: none; }
.pack-name-full { display: inline; }
.pack-name-prefix { display: inline; }

.pack-switch-item.is-bundle-gold {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
}

.pack-switch-item.is-bundle-gold .pack-switch-num {
  color: #f59e0b;
}

.pack-switch-item.is-bundle-gold:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.6);
  color: #ffffff;
}

.pack-switch-item.is-bundle-gold.is-active {
  color: #0b0f19 !important;
  background: #ffffff !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5), 0 0 16px rgba(255, 255, 255, 0.45) !important;
  animation: packSwitchGoldActivePulse 2.4s ease-in-out infinite !important;
}

.pack-switch-item.is-bundle-gold.is-active .pack-switch-name,
.pack-switch-item.is-bundle-gold.is-active .pack-name-full {
  color: #0b0f19 !important;
  font-weight: 800 !important;
}

.pack-switch-item.is-bundle-gold.is-active .pack-switch-num {
  color: #b45309 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

@keyframes packSwitchWhitePulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.85);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.75), 0 0 22px rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
  }
}

@keyframes packSwitchGoldActivePulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45), 0 0 12px rgba(255, 255, 255, 0.3);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.75), 0 0 20px rgba(255, 255, 255, 0.5);
    border-color: #fbbf24;
  }
}

.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-switch-item.is-bundle-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.4);
  color: #b45309;
}

[data-theme="light"] .pack-switch-item.is-bundle-gold.is-active {
  background: rgba(245, 158, 11, 0.22);
  border-color: #d97706;
  color: #92400e;
}

[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: 10px;
  }

  .pack-nav-tag {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  .pack-nav-tag .section-tag {
    margin: 0 auto !important;
  }

  /* Barra de troca entre packs: 100% em uma única linha (nowrap + scroll horizontal suave sem barra) */
  .pack-switcher {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pack-switcher::-webkit-scrollbar {
    display: none;
  }

  .pack-switch-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 0.78rem;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .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: 600px) {
  .pack-switcher {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 3px !important;
    padding: 3px !important;
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pack-switch-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 6px 2px !important;
    font-size: 0.69rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .pack-switch-num {
    font-size: 0.62rem !important;
    flex-shrink: 0 !important;
  }

  .pack-switch-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .pack-name-prefix {
    display: none !important;
  }

  .pack-name-full {
    display: none !important;
  }

  .pack-name-short {
    display: inline !important;
  }
}

/* `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; }

/* --- 29.2. PALCO DE PACKS NA HOME (.home-packs-hero) ------------------------ */
.home-packs-hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: visible;
}

.home-packs-hero .pstage-head {
  margin-bottom: clamp(14px, 2.2vw, 24px);
}

.home-stage-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: clamp(24px, 3.6vw, 42px);
  padding-bottom: 12px;
  position: relative;
  z-index: 5;
}

.home-stage-bottom-bar .pack-nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Botão "Ver a página do pack" — Clean, Elegante & Chamativo */
.home-stage-bottom-bar .stage-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.22), 0 8px 26px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease;
}

/* Reflexo de Luz Elegante (Shimmer) Contido no Botão */
.home-stage-bottom-bar .stage-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: stageLinkShimmer 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes stageLinkShimmer {
  0% { left: -120%; }
  30%, 100% { left: 200%; }
}

/* Animação Clean de Elevação Suave no Hover (Sem Jitter / Sem Crop) */
.home-stage-bottom-bar .stage-link:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35), 0 16px 36px rgba(0, 0, 0, 0.65);
}

.home-stage-bottom-bar .stage-link:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.6);
}

.home-stage-bottom-bar .stage-link span {
  color: #000000;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.home-stage-bottom-bar .stage-link svg {
  stroke: #000000;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-stage-bottom-bar .stage-link:hover svg {
  transform: translateX(4px);
}

/* Modo Claro (Light Theme) */
[data-theme="light"] .home-stage-bottom-bar .stage-link {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 8px 22px rgba(0, 0, 0, 0.12);
}

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

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

[data-theme="light"] .home-stage-bottom-bar .stage-link:hover {
  background: #18181B;
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 16px 32px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .home-stage-bottom-bar .stage-link:active {
  transform: translateY(-2px);
}

/* Link de detalhes na coluna de compra */
.pstage-link-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.22s ease;
}

.pstage-link-details:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.pstage-link-details svg {
  transition: transform 0.2s ease;
}

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

[data-theme="light"] .pstage-link-details {
  color: #121316;
  background: rgba(34, 35, 40, 0.04);
  border-color: rgba(34, 35, 40, 0.14);
}

[data-theme="light"] .pstage-link-details:hover {
  color: #000000;
  background: rgba(34, 35, 40, 0.08);
  border-color: rgba(34, 35, 40, 0.3);
}

@media (max-width: 860px) {
  .home-stage-bottom-bar {
    margin-top: 18px;
  }

  .home-stage-bottom-bar .pack-nav-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 10px;
  }

  .home-stage-bottom-bar .stage-link {
    width: 100%;
    justify-content: center;
    order: 1;
    font-size: 0.88rem;
    padding: 0 20px;
  }

  .home-stage-bottom-bar .pack-nav-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

/* --- 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: 200000;
  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-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

/* Banner Mestre de Resumo & Destaque da Versão */
.changelog-collapse-banner {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 50%), linear-gradient(135deg, rgba(30, 32, 40, 0.88) 0%, rgba(14, 17, 24, 0.96) 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 26px) clamp(22px, 3.5vw, 32px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.changelog-collapse-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #10b981 40%, #38bdf8 80%, transparent 100%);
  opacity: 0.9;
}

.changelog-collapse-banner:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 35px rgba(16, 185, 129, 0.18);
  transform: translateY(-2px);
}

.changelog-collapse-banner.is-expanded {
  border-color: rgba(166, 170, 193, 0.35);
}

/* Coluna 1: Caixa de Versão em Destaque Gráfico */
.changelog-banner-badge-col {
  flex-shrink: 0;
}

.changelog-badge-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 105px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.changelog-badge-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-transform: uppercase;
}

.changelog-badge-version {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.changelog-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  margin-top: 2px;
}

.changelog-badge-pill .status-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
}

/* Coluna 2: Conteúdo Central Escaneável */
.changelog-banner-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.changelog-banner-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.changelog-kicker-sparkle {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.changelog-kicker-dot {
  color: var(--text-dim);
  opacity: 0.5;
}

.changelog-kicker-date {
  color: var(--mist);
  font-weight: 500;
}

.changelog-kicker-total {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
}

.changelog-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

/* Chips Rápidos de Destaque no Banner */
.changelog-banner-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quick-chip.is-features {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.quick-chip.is-improvements {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.quick-chip.is-fixes {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.quick-chip.is-drive {
  background: rgba(255, 255, 255, 0.05);
  color: #c5c8da;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Coluna 3: Botão de Ação CTA com Glow */
.changelog-banner-action-col {
  flex-shrink: 0;
}

.changelog-banner-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.changelog-collapse-banner:hover .changelog-banner-toggle-btn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.2) 100%);
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.changelog-banner-toggle-btn:active {
  transform: scale(0.97);
}

/* Container Expansível com Transição Fluida */
.changelog-expand-container {
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.changelog-wrapper.is-collapsed .changelog-expand-container {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.changelog-wrapper.is-expanded .changelog-expand-container {
  max-height: 4500px;
  opacity: 1;
  visibility: visible;
}

/* Layout de Duas Colunas (Sidebar + Painel Principal) */
.changelog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .changelog-collapse-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }
  .changelog-banner-badge-col {
    width: 100%;
  }
  .changelog-badge-box {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: unset;
    padding: 10px 14px;
  }
  .changelog-banner-action-col {
    width: 100%;
  }
  .changelog-banner-toggle-btn {
    width: 100%;
    justify-content: center;
  }
  .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 Principal de Conteúdo da Versão */
.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 & Master Toggle */
.changelog-counts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.changelog-counts-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.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;
}

/* Botão Mestre de Expandir/Recolher Todos */
.changelog-master-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(166, 170, 193, 0.2);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.changelog-master-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.changelog-master-toggle-btn .master-toggle-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.changelog-master-toggle-btn.is-all-open .master-toggle-icon {
  transform: rotate(180deg);
}

/* 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;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.changelog-group-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.changelog-group-header-left {
  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);
}

/* Botão de Ação por Grupo / Categoria */
.changelog-group-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.changelog-group-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.changelog-group-action-btn .group-btn-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.changelog-group-action-btn.is-all-open .group-btn-chevron {
  transform: rotate(180deg);
}

.changelog-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Card do Item / Layer do Changelog */
.changelog-item {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
  overflow: hidden;
}

.changelog-item.is-static {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
}

.changelog-item.is-collapsible {
  display: flex;
  flex-direction: column;
}

.changelog-item.is-collapsible:hover {
  background: rgba(255, 255, 255, 0.042);
  border-color: rgba(166, 170, 193, 0.18);
}

.changelog-item.is-collapsible.is-open {
  background: rgba(255, 255, 255, 0.038);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.changelog-section-group.is-features .changelog-item.is-collapsible.is-open {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.08), inset 0 1px 0 rgba(251, 191, 36, 0.15);
}

.changelog-section-group.is-improvements .changelog-item.is-collapsible.is-open {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.08), inset 0 1px 0 rgba(56, 189, 248, 0.15);
}

.changelog-section-group.is-fixes .changelog-item.is-collapsible.is-open {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(16, 185, 129, 0.15);
}

/* Trigger Button no Header do Item */
.changelog-item-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  font-family: inherit;
  color: inherit;
}

.changelog-item-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.changelog-item-title {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.changelog-item-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.changelog-item-pill.features {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.changelog-item-pill.improvements {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.changelog-item-pill.fixes {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.changelog-item-trigger-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.changelog-item-hint {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--mist);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  letter-spacing: 0.02em;
}

.changelog-item.is-collapsible:hover .changelog-item-hint {
  opacity: 1;
  color: #c5c8da;
}

.changelog-item.is-collapsible.is-open .changelog-item-hint {
  opacity: 0.9;
  color: var(--mist);
}

.changelog-item-chevron {
  color: var(--mist);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.changelog-item.is-collapsible:hover .changelog-item-chevron {
  color: #ffffff;
}

.changelog-item.is-collapsible.is-open .changelog-item-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.changelog-section-group.is-features .changelog-item.is-open .changelog-item-chevron {
  color: #fbbf24;
}
.changelog-section-group.is-improvements .changelog-item.is-open .changelog-item-chevron {
  color: #38bdf8;
}
.changelog-section-group.is-fixes .changelog-item.is-open .changelog-item-chevron {
  color: #10b981;
}

/* Bullets */
.changelog-item-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.changelog-item.is-static .changelog-item-bullet {
  margin-top: 7px;
}

.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);
}

/* Corpo Expansível (Grid 0fr -> 1fr Animation) */
.changelog-item-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  visibility: hidden;
  transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
}

.changelog-item.is-collapsible:not(.is-open) .changelog-item-body {
  max-height: 0;
  overflow: hidden;
}

.changelog-item.is-collapsible.is-open .changelog-item-body {
  grid-template-rows: 1fr;
  max-height: none;
  visibility: visible;
  transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.changelog-item-body-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 18px 0 37px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-top: 1px dashed transparent;
  margin: 0 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, padding 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, visibility 0.22s ease;
}

.changelog-item.is-collapsible.is-open .changelog-item-body-inner {
  padding-top: 12px;
  padding-bottom: 16px;
  border-top-color: rgba(255, 255, 255, 0.07);
  opacity: 1;
  visibility: visible;
}

.changelog-item-body-inner strong {
  color: var(--text-white);
  font-weight: 600;
}

.changelog-item-body-inner em {
  color: var(--paper);
  font-style: normal;
  font-weight: 500;
}

.changelog-item-content {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.changelog-item-content strong {
  color: var(--text-white);
  font-weight: 700;
}

.changelog-item-content em {
  color: var(--paper);
  font-style: normal;
  font-weight: 500;
}

/* Componentes Visuais de Alta Conversão (Sem Textão) */
.cl-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.cl-feature-tag-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cl-feature-tag-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.cl-tag-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cl-tag-icon {
  font-size: 0.95rem;
}

.cl-tag-text {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.45;
  margin: 0;
}

/* Lista de Destaques em Pílulas */
.cl-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.cl-hl-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  flex-wrap: wrap;
}

.cl-hl-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.28);
  flex-shrink: 0;
}

.changelog-section-group.is-improvements .cl-hl-pill {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.28);
}

.changelog-section-group.is-fixes .cl-hl-pill {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.28);
}

.cl-hl-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* Nuvem de Badges de Categorias */
.cl-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.cl-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 500;
}

.cl-cat-badge strong {
  color: #fbbf24;
  font-weight: 700;
}

/* Barra Inferior com Botão de Recolher */
.changelog-bottom-bar {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(166, 170, 193, 0.12);
  display: flex;
  justify-content: center;
}

.changelog-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.changelog-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

/* --- CHANGELOG LIGHT THEME --- */
[data-theme="light"] .changelog-collapse-banner {
  background: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 36px rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-collapse-banner:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 44px rgba(34, 35, 40, 0.12), 0 0 20px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .changelog-badge-box {
  background: rgba(34, 35, 40, 0.04);
  border-color: rgba(34, 35, 40, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .changelog-badge-kicker {
  color: var(--text-muted);
}

[data-theme="light"] .changelog-badge-version {
  color: var(--text-primary);
  text-shadow: none;
}

[data-theme="light"] .changelog-badge-pill {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .changelog-kicker-sparkle {
  color: #047857;
}

[data-theme="light"] .changelog-kicker-date {
  color: var(--text-muted);
}

[data-theme="light"] .changelog-kicker-total {
  background: rgba(34, 35, 40, 0.06);
  color: var(--text-muted);
}

[data-theme="light"] .changelog-banner-headline {
  color: var(--text-primary);
}

[data-theme="light"] .quick-chip.is-drive {
  background: rgba(34, 35, 40, 0.04);
  color: var(--text-secondary);
  border-color: rgba(34, 35, 40, 0.1);
}

[data-theme="light"] .changelog-banner-toggle-btn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  color: #065f46;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .changelog-collapse-banner:hover .changelog-banner-toggle-btn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
  border-color: rgba(16, 185, 129, 0.65);
  color: #047857;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

[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-master-toggle-btn,
[data-theme="light"] .changelog-group-action-btn {
  background: rgba(34, 35, 40, 0.05);
  border-color: rgba(34, 35, 40, 0.12);
  color: var(--text-secondary);
}

[data-theme="light"] .changelog-master-toggle-btn:hover,
[data-theme="light"] .changelog-group-action-btn:hover {
  background: rgba(34, 35, 40, 0.09);
  border-color: rgba(34, 35, 40, 0.22);
  color: var(--text-primary);
}

[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.08);
}

[data-theme="light"] .changelog-item.is-collapsible:hover {
  background: rgba(34, 35, 40, 0.045);
  border-color: rgba(34, 35, 40, 0.16);
}

[data-theme="light"] .changelog-item.is-collapsible.is-open {
  background: #ffffff;
  border-color: rgba(34, 35, 40, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .changelog-item-title {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-item-hint,
[data-theme="light"] .changelog-item-chevron {
  color: var(--text-muted);
}

[data-theme="light"] .changelog-item.is-collapsible.is-open .changelog-item-chevron {
  color: var(--text-primary);
}

[data-theme="light"] .changelog-item-body-inner {
  color: var(--text-secondary);
  border-top-color: transparent;
}

[data-theme="light"] .changelog-item.is-collapsible.is-open .changelog-item-body-inner {
  border-top-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .cl-feature-tag-box,
[data-theme="light"] .cl-hl-item {
  background: rgba(34, 35, 40, 0.03);
  border-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .cl-feature-tag-box:hover {
  background: rgba(34, 35, 40, 0.05);
  border-color: rgba(34, 35, 40, 0.15);
}

[data-theme="light"] .cl-tag-text,
[data-theme="light"] .cl-hl-text {
  color: var(--text-secondary);
}

[data-theme="light"] .cl-cat-badge {
  background: rgba(34, 35, 40, 0.04);
  border-color: rgba(34, 35, 40, 0.1);
  color: var(--text-primary);
}

[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);
}

[data-theme="light"] .changelog-bottom-bar {
  border-top-color: rgba(34, 35, 40, 0.08);
}

[data-theme="light"] .changelog-close-btn {
  background: rgba(34, 35, 40, 0.05);
  border-color: rgba(34, 35, 40, 0.12);
  color: var(--text-secondary);
}

[data-theme="light"] .changelog-close-btn:hover {
  background: rgba(34, 35, 40, 0.09);
  border-color: rgba(34, 35, 40, 0.2);
  color: var(--text-primary);
}

/* ==========================================================================
   HASSE AI ASSISTANT & CHAT WIDGET (DESIGN SYSTEM OFICIAL)
   ========================================================================== */
.hasse-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100005;
  font-family: var(--font-body, 'Manrope', sans-serif);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

/* Oculta o chat widget quando o carrinho ou modal de pagamento checkout estiver aberto */
.hasse-chat-widget.is-hidden-by-modal,
body.cart-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, #181d2a 0%, #0f121b 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  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(16, 185, 129, 0.25);
  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(16, 185, 129, 0.8);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 36px rgba(16, 185, 129, 0.45);
}

.hasse-chat-launcher-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #0f121b;
  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(360px, calc(100vw - 32px));
  height: auto;
  min-height: 220px;
  max-height: min(560px, calc(100vh - 120px));
  background: rgba(15, 18, 25, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(16, 185, 129, 0.15);
  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), height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100005;
}

.hasse-chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hasse-chat-window.is-conversation-active {
  height: min(560px, calc(100vh - 120px));
}

/* 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: 8px 14px 10px;
  background: rgba(18, 19, 24, 0.95);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hasse-chat-footer span {
  font-size: 0.68rem;
  color: rgba(166, 170, 193, 0.6);
  letter-spacing: 0.02em;
}

/* --- VIEWS SWITCHER (CANAIS VS CONVERSA) --- */
.hasse-chat-view {
  display: none;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.hasse-chat-view.is-active {
  display: flex;
}

/* --- TELA 1: CANAIS DE ATENDIMENTO (CLEAN & MINIMALISTA) --- */
.hasse-channels-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Row Base */
.hasse-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: rgba(26, 27, 34, 0.6);
  border: 1px solid rgba(166, 170, 193, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  cursor: pointer;
}

.hasse-channel-row:hover {
  background: rgba(36, 38, 48, 0.85);
  border-color: rgba(166, 170, 193, 0.4);
  transform: translateY(-1px);
}

.hasse-channel-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hasse-channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hasse-icon-ai {
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.hasse-icon-discord {
  background: rgba(88, 101, 242, 0.16);
  color: #5865F2;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.hasse-icon-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.hasse-channel-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hasse-channel-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* Badges Clean (Como nas imagens do usuário) */
.hasse-channel-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hasse-badge-recommended {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.hasse-badge-discord {
  color: #a5b4fc;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.hasse-badge-whatsapp {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Destaque suave no Chat Ao Vivo */
.hasse-row-ai {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(26, 27, 34, 0.75) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.hasse-row-ai:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(36, 38, 48, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.18);
}

.hasse-channel-chevron {
  color: var(--mist, #A6AAC1);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.hasse-channel-row:hover .hasse-channel-chevron {
  transform: translateX(2px);
  color: #FFFFFF;
}

.hasse-chat-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mist-deep, #C5C8DA);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hasse-chat-btn-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Tema Claro */
[data-theme="light"] .hasse-channel-row {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hasse-channel-name {
  color: #0F172A;
}

[data-theme="light"] .hasse-row-ai {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .hasse-chat-btn-back {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #334155;
}

[data-theme="light"] .hasse-chat-btn-back:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0F172A;
}

/* 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: auto;
    min-height: 0;
    max-height: calc(100dvh - 100px);
  }
}

/* ==========================================================================
/* ==========================================================================
   PALCO 3D HOME: BOTÃO TRANSPARENTE DE DEMONSTRAÇÕES & DETALHES
   ========================================================================== */
.pstage-btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.14);
}

.pstage-btn-details:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.90);
  color: #a7f3d0;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.32), 0 0 22px rgba(16, 185, 129, 0.24);
}

.pstage-btn-details svg {
  color: inherit;
  transition: transform 0.2s ease;
}

.pstage-btn-details:hover svg {
  transform: translateX(3px);
}

[data-theme="light"] .pstage-btn-details {
  background: rgba(5, 150, 105, 0.10);
  border-color: rgba(5, 150, 105, 0.45);
  color: #047857;
}

[data-theme="light"] .pstage-btn-details:hover {
  background: rgba(5, 150, 105, 0.18);
  border-color: #059669;
  color: #065f46;
}

/* ==========================================================================
   BOTÃO GRANDE DE UPGRADE PARA FAST TEXT+ (PÁGINA DO FAST TEXT)
   ========================================================================== */
.pstage-btn-bundle-plus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  margin-top: 10px;
  border-radius: var(--radius-md, 14px);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.pstage-btn-bundle-plus:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.26) 0%, rgba(217, 119, 6, 0.16) 100%);
  border-color: rgba(245, 158, 11, 0.95);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35), 0 0 25px rgba(245, 158, 11, 0.25);
}

.pstage-bundle-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.pstage-bundle-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.pstage-bundle-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-top: 2px;
}

.pstage-bundle-desc {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
}

.pstage-bundle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.25s ease;
}

.pstage-btn-bundle-plus:hover .pstage-bundle-arrow {
  background: #fbbf24;
  color: #0b0c10;
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

[data-theme="light"] .pstage-btn-bundle-plus {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(180, 83, 9, 0.06) 100%);
  border-color: rgba(217, 119, 6, 0.45);
}

[data-theme="light"] .pstage-bundle-title {
  color: #92400e;
}

[data-theme="light"] .pstage-bundle-desc {
  color: #78350f;
}

/* ==========================================================================
   FAST TEXT+ BONUS HIGHLIGHT (SINGLE INTUITIVE HIGH-CONVERTING CARD)
   ========================================================================== */
.vs-single-card {
  max-width: 860px;
  margin: 32px auto 0;
  padding: clamp(32px, 5vw, 46px) clamp(24px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(20, 20, 25, 0.95) 40%, rgba(10, 10, 14, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.40);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(245, 158, 11, 0.08), 0 0 40px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vs-single-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.vs-single-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
  margin-bottom: 18px;
}

.vs-single-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 12px;
}

.vs-single-lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto 30px;
}

.vs-single-lead strong {
  color: #fbbf24;
}

.vs-single-lead u {
  text-decoration-color: rgba(245, 158, 11, 0.6);
  text-underline-offset: 4px;
}

.vs-single-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  text-align: left;
}

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

.vs-feat-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vs-feat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.vs-feat-pill.is-highlight {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.vs-feat-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.vs-feat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vs-feat-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.vs-feat-pill.is-highlight .vs-feat-text strong {
  color: #fbbf24;
}

.vs-feat-text span {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.vs-single-cta {
  display: flex;
  justify-content: center;
}

.vs-single-cta .btn-primary {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Callout para página do Fast Text */
.fast-text-upgrade-callout {
  margin: 32px 0 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.upgrade-callout-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 320px;
}

.upgrade-callout-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.upgrade-callout-text h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.upgrade-callout-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.upgrade-callout-btn {
  flex-shrink: 0;
}

/* ==========================================================================
   ÁREA DE MEMBROS NATIVA / MINHA CONTA (/minha-conta)
   ========================================================================== */
.member-portal-page {
  padding-top: clamp(90px, 12vh, 120px);
  padding-bottom: clamp(60px, 10vh, 100px);
  position: relative;
  z-index: 1;
}

.member-welcome-hero {
  background: linear-gradient(135deg, rgba(22, 23, 28, 0.85) 0%, rgba(13, 14, 18, 0.95) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.member-welcome-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.6), transparent);
}

.member-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.member-user-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.member-meta-info h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-white);
  margin: 0 0 3px;
  letter-spacing: -0.02em;
}

.member-meta-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.member-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.member-badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.member-badge-vip {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.member-badge-admin {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #8a96ff;
}

.member-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-hero-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

/* Seção de Packs */
.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.member-section-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-section-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-section-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--mist-wash);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

/* Controles do Slider Horizontal (Passar para o Lado) */
.member-slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.member-slider-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.member-slider-btn:active {
  transform: scale(0.92);
}

.member-slider-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

/* Slider de Linha Única Horizontal ("Passar para o Lado") */
.member-packs-grid,
.member-packs-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: grab;
}

.member-packs-grid::-webkit-scrollbar,
.member-packs-track::-webkit-scrollbar {
  height: 6px;
}

.member-packs-grid::-webkit-scrollbar-track,
.member-packs-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.member-packs-grid::-webkit-scrollbar-thumb,
.member-packs-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.member-packs-grid::-webkit-scrollbar-thumb:hover,
.member-packs-track::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.member-packs-track.is-dragging {
  cursor: grabbing !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.member-packs-track.is-dragging * {
  cursor: grabbing !important;
  pointer-events: none !important;
}

.member-pack-card {
  flex: 0 0 clamp(290px, 28vw, 340px);
  width: clamp(290px, 28vw, 340px);
  min-height: 290px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 22px !important;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.member-pack-card * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

@media (max-width: 640px) {
  .member-pack-card {
    flex: 0 0 84vw;
    width: 84vw;
    max-width: 320px;
  }
}

.member-pack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.member-pack-card.is-unlocked {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(22, 23, 28, 0.95) 0%, rgba(16, 28, 23, 0.75) 100%);
}

.member-pack-card.is-locked {
  opacity: 0.82;
}

.member-pack-card.is-locked:hover {
  opacity: 1;
}

.member-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.member-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.member-pack-card.is-unlocked .member-card-icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.member-status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.member-status-pill.unlocked {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.member-status-pill.locked {
  background: var(--mist-wash);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.member-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.member-card-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 22px;
  flex: 1;
}

.member-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* BOTÃO PRIMÁRIO: DOWNLOAD DIRETO 100% NO SITE */
.btn-download-direct {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.btn-download-direct:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

/* BOTÃO SECUNDÁRIO SUTIL: GOOGLE DRIVE BACKUP */
.btn-drive-subtle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1 !important;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-drive-subtle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

.btn-drive-action {
  background: #ffffff;
  color: #08080a !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-drive-action:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-explore-pack {
  background: var(--mist-wash);
  border: 1px solid var(--border-subtle);
  color: var(--text-white) !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-explore-pack:hover {
  background: var(--mist-line);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Card Discord VIP */
.member-discord-banner {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16) 0%, rgba(22, 23, 28, 0.92) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.1);
}

.member-discord-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}

.member-discord-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #5865F2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.member-discord-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 0 0 6px;
}

.member-discord-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.discord-channel-code {
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  color: #fff;
}

.btn-member-discord {
  background: #5865F2;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
  white-space: nowrap;
}

.btn-member-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.5);
}

/* ==========================================================================
   Global Inputs & Number Spinners Cleanup (Dark Glassmorphism)
   ========================================================================== */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Selo neutro "Membro" (conta sem pack comprado) */
.member-badge-pill:not(.member-badge-vip):not(.member-badge-admin) {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
}

/* Botão de item que a pessoa já comprou ("✓ Já é seu") */
.is-owned[data-add],
.is-owned[data-buy] {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #10b981 !important;
  box-shadow: none !important;
  cursor: pointer;
}

/* Links legais (Privacidade, Cookies, Termos, Reembolso) — mesmo visual
   das colunas do rodapé (ex.: "Ecossistema Hasse"). Nas páginas com grade de
   rodapé eles viram a coluna "Informações Legais"; aqui é a versão em linha. */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  width: 100%;
}
.legal-links-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white, #fff);
  margin-right: 6px;
}
.legal-links a {
  font-size: 0.88rem;
  color: var(--mist, #93c5fd);
  text-decoration: none !important;
  opacity: 1 !important;
  transition: color 0.2s ease;
}
.legal-links a:hover { color: var(--text-white, #fff); }
.legal-links a:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.legal-links svg { display: none; }
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.legal-identity {
  font-size: 0.78rem;
  color: #94a3b8;
  opacity: 0.85;
  width: 100%;
}
.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  opacity: 1;
  font-weight: 600;
  font-size: 0.9rem;
}
.legal-page .legal-back:hover { border-color: rgba(96, 165, 250, 0.5); }

.legal-identity a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal-identity a:hover { color: var(--text-white, #fff); }

/* ==========================================================================
   Hasse High-Velocity Download HUD & Micro-Interações (React Bits / UIverse)
   ========================================================================== */

/* Bloqueio estrito de scroll da página quando HUD de download está aberto */
html.hasse-hud-locked,
body.hasse-hud-locked {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100vh !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

/* Container do Modal / HUD */
.hasse-dl-hud {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

.hasse-dl-hud.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Fundo com Blur cinematográfico */
.hasse-dl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Cartão HUD Cyber-Glassmorphic */
.hasse-dl-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto !important;
  background: rgba(13, 14, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 24px 22px 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.15);
  text-align: center;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overscroll-behavior: none !important;
}

.hasse-dl-hud.is-open .hasse-dl-card {
  transform: scale(1) translateY(0);
}

/* Border Beam (efeito futurista de luz percorrendo as bordas - 21st.dev) */
.hasse-dl-beam {
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(166, 170, 193, 0.15) 45deg, #8b5cf6 90deg, #10b981 135deg, transparent 180deg);
  animation: dlBeamSpin 4.5s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes dlBeamSpin {
  100% { transform: rotate(360deg); }
}

.hasse-dl-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(13, 14, 19, 0.96);
  border-radius: 23px;
  z-index: 1;
}

/* Todos os filhos ficam acima do overlay interno */
.hasse-dl-card > *:not(.hasse-dl-beam) {
  position: relative;
  z-index: 2;
}

/* Botão de Fechar */
.hasse-dl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hasse-dl-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: scale(1.08);
}

/* Selo Superior com Radar Dot */
.hasse-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mist, #a6aac1);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hasse-dl-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: dlRadarPulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dlRadarPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Cyber Orbital Rings (Loader 3D - UIverse / React Bits) */
.hasse-dl-orb-container {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}

.hasse-dl-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hasse-dl-ring-outer {
  inset: 0;
  border: 1.5px dashed rgba(166, 170, 193, 0.4);
  animation: dlOrbOuter 8s linear infinite;
}

.hasse-dl-ring-middle {
  inset: 8px;
  border: 2px solid transparent;
  border-top-color: #8b5cf6;
  border-bottom-color: #06b6d4;
  border-radius: 50%;
  animation: dlOrbMiddle 3s linear infinite reverse;
}

.hasse-dl-ring-inner {
  inset: 16px;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  animation: dlOrbPulse 2s ease-in-out infinite alternate;
}

.hasse-dl-orb-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
  transition: all 0.35s ease;
}

.hasse-dl-icon-download {
  width: 20px;
  height: 20px;
  color: #f4f4f7;
  animation: dlIconBob 1.6s ease-in-out infinite;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hasse-dl-icon-success {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado de Sucesso no Orb */
.hasse-dl-orb-container.is-success .hasse-dl-orb-core {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  transform: scale(1.12);
}

.hasse-dl-orb-container.is-success .hasse-dl-ring-middle {
  border-top-color: #10b981;
  border-bottom-color: #10b981;
}

.hasse-dl-orb-container.is-success .hasse-dl-icon-download {
  opacity: 0;
  transform: scale(0.4);
}

.hasse-dl-orb-container.is-success .hasse-dl-icon-success {
  opacity: 1;
  transform: scale(1);
}

@keyframes dlOrbOuter {
  100% { transform: rotate(360deg); }
}

@keyframes dlOrbMiddle {
  100% { transform: rotate(360deg); }
}

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

@keyframes dlIconBob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

/* Título e Nome do Arquivo */
.hasse-dl-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white, #fff);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.hasse-dl-filename {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mist, #a6aac1);
  margin-bottom: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Barra de Progresso Futurista */
.hasse-dl-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.hasse-dl-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: dlProgressWave 2.5s linear infinite;
}

.hasse-dl-orb-container.is-success ~ .hasse-dl-progress-track .hasse-dl-progress-bar {
  background: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
}

@keyframes dlProgressWave {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Telemetria e Spinner de Status */
.hasse-dl-status-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  min-height: 24px;
}

.hasse-dl-status-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #10b981;
  border-radius: 50%;
  animation: dlStatusSpin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes dlStatusSpin {
  100% { transform: rotate(360deg); }
}

/* Dica de Espera */
.hasse-dl-tip {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 14px 0 18px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-align: left;
}

.hasse-dl-tip strong {
  color: #f1f5f9;
}

/* Ações (Cancelar / Link Direto) */
.hasse-dl-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hasse-dl-card .hasse-dl-beam, .hasse-dl-card .hasse-dl-ring,
.hasse-dl-card .hasse-dl-quick-tip { display:none; }
.hasse-dl-card .hasse-dl-orb-container { display:none; }
.hasse-dl-card .hasse-dl-title { font-size:1.25rem; line-height:1.3; margin:18px 0 8px; }
.hasse-dl-card .hasse-dl-badge-text { font-size:.65rem; }
.hasse-dl-card .hasse-dl-tip { display:none; }
.hasse-dl-card .hasse-dl-orb-core { width:48px; height:48px; }
.hasse-dl-card .hasse-dl-tip { padding:10px; font-size:.75rem; }

.hasse-dl-btn-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hasse-dl-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hasse-dl-btn-direct {
  background: #10b981;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #022c22 !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.hasse-dl-btn-direct:hover {
  background: #34d399;
  transform: translateY(-1px);
}

/* Micro-interação nos botões de download ao clicar */
.btn-download-direct.is-dl-active,
.lib-dl.is-dl-active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  opacity: 0.92;
  cursor: wait !important;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
}

.hasse-btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: dlStatusSpin 0.65s linear infinite;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* Spotlight Effect nos Cards (Inspirado em 21st.dev e React Bits) */
.member-pack-card {
  position: relative;
  overflow: hidden;
}

.member-pack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(166, 170, 193, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.member-pack-card:hover::before {
  opacity: 1;
}

/* Shimmer contínuo nos botões primários de download (UIverse) */
.btn-download-direct {
  position: relative;
  overflow: hidden;
}

.btn-download-direct::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: rotate(25deg) translateY(-120%);
  animation: btnShimmerSweep 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShimmerSweep {
  0%, 75% { transform: rotate(25deg) translateY(-120%); }
  100% { transform: rotate(25deg) translateY(120%); }
}

/* Selos com Pulsing Radar Dot no catálogo de membros */
.member-status-pill.unlocked {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.member-status-pill.unlocked::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: dlRadarPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Feedback tátil nos botões (UIverse / 21st.dev) */
.btn-cart:active,
.btn-checkout:active,
.btn-download-direct:active,
.btn-explore-pack:active,
.btn-member-discord:active,
.pstage-btn-details:active,
.pack-switch-item:active,
.cat-add:active,
.lib-dl:active {
  transform: scale(0.97);
}

/* Moldura e Zoom Suave nos Cards da Parede de Vídeos (React Bits) */
.vwall-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.vwall-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mouse-x, var(--mx, 50%)) var(--mouse-y, var(--my, 50%)), rgba(166, 170, 193, 0.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.vwall-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(166, 170, 193, 0.15);
}

.vwall-card:hover::before {
  opacity: 1;
}

/* Selo de Depoimento Verificado com Aura Esmeralda */
.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
}



/* Single line subtitle on hero */
@media (min-width: 768px) {
  .pstage-desc.is-single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Floating Back to Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 32, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}
.floating-back-to-top:hover {
  transform: translateY(-3px);
  background: rgba(245, 158, 11, 0.95);
  border-color: #f59e0b;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.4);
  color: #000000;
}
[data-theme="light"] .floating-back-to-top {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(34, 35, 40, 0.18);
  color: #222328;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .floating-back-to-top:hover {
  background: #f59e0b;
  color: #000000;
  border-color: #d97706;
}

/* ==========================================================================
   Guia Visual Rápido de Instalação (Linear Style - Zero Wall of Text)
   ========================================================================== */
.sec-quick-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 12px;
  padding: 8px 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(254, 240, 138, 0.18);
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sec-quick-guide:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(254, 240, 138, 0.25);
}

.sec-quick-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.sec-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: secPulseDot 1.8s infinite ease-in-out;
}

@keyframes secPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.sec-quick-flows {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sec-flow-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
}

.sec-flow-divider {
  width: 1px;
  height: 16px;
  background: rgba(245, 158, 11, 0.25);
}

.sec-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2.5px 7px;
  border-radius: 5px;
}

.sec-platform-tag.chrome {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.sec-platform-tag.windows {
  background: rgba(168, 85, 247, 0.18);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.sec-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.sec-key.highlight {
  background: rgba(245, 158, 11, 0.26);
  border-color: rgba(245, 158, 11, 0.65);
  border-bottom-color: #f59e0b;
  color: #fef08a;
  font-weight: 700;
}

.sec-arrow {
  color: #fbbf24;
  opacity: 0.8;
  font-size: 0.72rem;
  font-weight: 700;
}

.sec-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* No HUD de Download */
.hasse-dl-quick-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 14px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 10px;
  flex-wrap: wrap;
}

[data-theme="light"] .sec-quick-guide {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .sec-quick-label {
  color: #b45309;
}

[data-theme="light"] .sec-key {
  background: #f8fafc;
  border-color: #cbd5e1;
  border-bottom-color: #94a3b8;
  color: #1e293b;
}

[data-theme="light"] .sec-key.highlight {
  background: #fef3c7;
  border-color: #f59e0b;
  border-bottom-color: #d97706;
  color: #92400e;
}

/* Card Explicativo de Segurança & Download */
.sec-quick-guide-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(18, 19, 24, 0.95) 45%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(254, 240, 138, 0.2);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sec-quick-guide-card:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 10px 36px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(254, 240, 138, 0.3);
}

.sec-guide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.sec-guide-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sec-guide-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.01em;
  margin: 0;
}

.sec-guide-desc {
  font-size: 0.81rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.sec-guide-desc strong {
  color: #ffffff;
}

.sec-guide-flows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 820px) {
  .sec-guide-flows-grid {
    grid-template-columns: 1fr;
  }
}

.sec-guide-flow-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sec-flow-card-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sec-flow-hint {
  font-size: 0.72rem;
  color: #94a3b8;
}

.sec-flow-steps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

[data-theme="light"] .sec-quick-guide-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);
}

[data-theme="light"] .sec-guide-title {
  color: #b45309;
}

[data-theme="light"] .sec-guide-desc {
  color: #475569;
}

[data-theme="light"] .sec-guide-desc strong {
  color: #0f172a;
}

[data-theme="light"] .sec-guide-flow-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .sec-flow-hint {
  color: #64748b;
}


/* Valor da parcela verde esmeralda em destaque */
.tv-price-installments .inst-price-val,
.pstage-installments-large .inst-price-val,
.inst-price-val {
  color: #10b981 !important;
  font-weight: 900;
}

/* Ocultar badges 60 FPS e Splines solicitados pelo usuário */
.macbook-hud-live-badge,
.mac-fps-badge {
  display: none !important;
}

/* ===== Checkout (cakto-*) na identidade atual — mesma base azul-escura do carrinho (Rodada 201) ===== */
html:not([data-theme="light"]) .cakto-backdrop { background: rgba(5, 7, 14, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html:not([data-theme="light"]) .cakto-dialog {
  background: linear-gradient(180deg, #151a28 0%, #0d0f17 100%);
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.72), 0 0 60px rgba(79, 70, 229, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html:not([data-theme="light"]) .cakto-head { background: rgba(99, 102, 241, 0.06); border-bottom: 1px solid rgba(166, 170, 193, 0.14); }
html:not([data-theme="light"]) .cakto-ssl-badge { background: rgba(99, 102, 241, 0.12); border-color: rgba(129, 140, 248, 0.3); color: #c7d2fe; }
html:not([data-theme="light"]) .cakto-close { background: rgba(255, 255, 255, 0.04); border-color: rgba(166, 170, 193, 0.2); }
html:not([data-theme="light"]) .cakto-summary {
  background: linear-gradient(180deg, rgba(30, 36, 56, 0.7) 0%, rgba(20, 24, 38, 0.7) 100%);
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 14px;
}
html:not([data-theme="light"]) .cakto-summary-total strong { color: #fff; }
html:not([data-theme="light"]) .cakto-section-title { color: #e2e8f0; }
html:not([data-theme="light"]) .cakto-field label { color: #a5b4fc; letter-spacing: .01em; }
html:not([data-theme="light"]) .cakto-body input:not([type="checkbox"]):not([type="radio"]),
html:not([data-theme="light"]) .cakto-field select {
  background: rgba(8, 10, 18, 0.72);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 10px;
}
html:not([data-theme="light"]) .cakto-body input:not([type="checkbox"]):not([type="radio"]):focus,
html:not([data-theme="light"]) .cakto-field select:focus {
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
html:not([data-theme="light"]) .cakto-method-btn {
  background: rgba(24, 29, 46, 0.65);
  border: 1px solid rgba(166, 170, 193, 0.16);
  border-radius: 12px;
}
html:not([data-theme="light"]) .cakto-method-btn:hover { border-color: rgba(129, 140, 248, 0.5); transform: translateY(-1px); }
html:not([data-theme="light"]) .cakto-method-btn.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: rgba(129, 140, 248, 0.75);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.35), 0 10px 28px rgba(79, 70, 229, 0.22);
}
html:not([data-theme="light"]) .cakto-method-btn.is-active .cakto-method-info strong { color: #fff; }
html:not([data-theme="light"]) .cakto-auth-banner { background: rgba(99, 102, 241, 0.1); border-color: rgba(129, 140, 248, 0.3); }
/* Botão de pagar: verde (ação de dinheiro), diferente dos botões brancos de navegação. */
html:not([data-theme="light"]) .cakto-submit-btn,
html:not([data-theme="light"]) #asaas-card-pay {
  background: linear-gradient(180deg, #19c58f 0%, #0a9a6c 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(52, 211, 153, 0.6) !important;
  border-radius: 14px !important;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
html:not([data-theme="light"]) .cakto-submit-btn:hover,
html:not([data-theme="light"]) #asaas-card-pay:hover { filter: brightness(1.07); transform: translateY(-1px); }
html:not([data-theme="light"]) .cakto-submit-btn:disabled { filter: grayscale(.4) brightness(.8); transform: none; }

/* ===== Otimizações Mobile / iPhone (Rodada 202) ===== */
/* Previne zoom automático e indesejado no iOS Safari ao tocar em campos de texto/checkout */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  .cakto-field input,
  .cakto-field select,
  .cakto-body input:not([type="checkbox"]):not([type="radio"]) {
    font-size: 16px !important;
  }
}

/* Scroll margin para evitar que o topo das seções/títulos fique coberto pelo navbar fixo */
section[id],
.tv-studio-section[id],
.bundle-section[id],
div[id].tv-studio-section {
  scroll-margin-top: clamp(74px, 12vw, 96px) !important;
}
/* Rodada 207 — celular: os itens de especificação do card de compra (141 Presets, Nativo .setting...) são só informação.
   Antes pareciam botões e o pessoal do anúncio ficava tocando neles sem acontecer nada. Agora viram uma linha de texto. */
@media (max-width: 768px), (pointer: coarse) {
  .fstage-card-specs {
    gap: 4px 16px !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  .fstage-spec-chip,
  .fstage-spec-chip.is-bonus,
  .fstage-spec-chip.is-gold {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: default;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 0.72rem !important;
  }
  /* Mesma coisa nas pílulas de categoria (24 presets · Zoom Punch e Flash...) acima das abas */
  .fstage-callouts,
  .pstage .fstage-callouts { gap: 2px 16px !important; }
  .fstage-callout {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.8rem;
  }
}

/* Rodada 207b — celular: esconde a linha de categoria ("24 presets · Zoom Punch e Flash…") acima das abas no celular/toque */
@media (max-width: 960px), (pointer: coarse) {
  .fstage-callouts,
  .pstage .fstage-callouts {
    display: none !important;
  }
}
/* Rodada 209 — aviso de preço por tempo limitado dentro do card de compra (js/promo.js) */
.hasse-promo-line[hidden] { display: none !important; }
.hasse-promo-line {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  margin: 0 0 12px; padding: 8px 10px; border-radius: 10px;
  background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fde68a; font-size: 0.72rem; line-height: 1.25;
}
.hasse-promo-line strong { color: #fff; font-weight: 800; }
.hasse-promo-line .hp-txt { flex: 1 1 auto; min-width: 0; }
.hasse-promo-line .hp-count {
  flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 800; color: #fff;
  background: rgba(0, 0, 0, 0.35); padding: 2px 8px; border-radius: 7px;
}
/* Rodada 214 — sem abas de categoria nos packs de presets (só o Fast Assets usa, para escolher pasta) */
#home-pstage.no-cat-tabs .fstage-dock,
#home-pstage.no-cat-tabs .fstage-callouts,
#home-pstage.no-cat-tabs .fstage-caption,
#home-pstage.no-cat-tabs .fstage-badge { display: none !important; }
/* Rodada 222 — sem o hero "Eleve o nível…": a página começa direto nos packs.
   Espaço extra no topo para o seletor de packs não ficar atrás do menu fixo. */
.hs-home #packs.home-packs-hero { padding-top: 128px !important; }
@media (max-width: 768px) { .hs-home #packs.home-packs-hero { padding-top: 96px !important; } }

/* ==========================================================================
   Rodada 223 — Compatibilidade em carrossel vertical mobile +
   Layer de categorias de presets + Modal de catálogo de presets completo
   ========================================================================== */

/* 1. Compatibilidade (#specs): cards 100% opacos, carrossel e setas de navegacao */
.spec-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  width: 100%;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #0d121c !important;
  background: linear-gradient(180deg, #151b28 0%, #0c1018 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.spec-item:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 18px rgba(99, 102, 241, 0.2) !important;
}

.spec-item svg {
  width: 18px !important;
  height: 18px !important;
  color: #818cf8 !important;
  background: rgba(99, 102, 241, 0.14) !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  border-radius: 8px !important;
  padding: 6px !important;
  box-sizing: content-box !important;
  flex-shrink: 0 !important;
}

@media (min-width: 769px) {
  .spec-carousel-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .spec-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 12px 48px 36px 48px !important;
    margin-inline: 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent !important;
  }
  .spec-grid::-webkit-scrollbar {
    height: 5px !important;
    display: block !important;
  }
  .spec-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 999px !important;
    margin-inline: 48px !important;
  }
  .spec-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 999px !important;
  }
  .spec-item {
    flex: 0 0 185px !important;
    min-width: 185px !important;
    scroll-snap-align: start !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 16px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
  .spec-item svg {
    width: 22px !important;
    height: 22px !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
  }
  .spec-item b {
    font-size: 0.88rem !important;
    margin-bottom: 3px !important;
  }
  .spec-item span {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
}

/* 2. Layer de Categorias de Presets na página (#preset-catalog) */
/* Carrossel horizontal em linha única tanto no desktop quanto no celular */
.preset-cat-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 14px !important;
  margin-top: 24px !important;
  padding: 14px 54px 36px 54px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent !important;
  cursor: grab;
}
.preset-cat-grid::-webkit-scrollbar {
  height: 8px;
}
.preset-cat-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  margin-inline: 48px;
}
.preset-cat-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}
.preset-cat-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* Container do Carrossel e Setas de Navegação */
.preset-cat-carousel-wrap,
.spec-carousel-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.preset-carousel-arrow,
.spec-carousel-arrow {
  position: absolute;
  top: calc(50% - 10px);
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 20, 34, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
  transition: all 0.2s ease;
  user-select: none;
}

.preset-carousel-arrow:hover,
.spec-carousel-arrow:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9), 0 0 16px rgba(255, 255, 255, 0.4);
}

.preset-carousel-prev,
.spec-carousel-prev {
  left: 8px !important;
}

.preset-carousel-next,
.spec-carousel-next {
  right: 8px !important;
}

@media (max-width: 900px) {
  .preset-carousel-prev,
  .spec-carousel-prev {
    left: 6px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
    background: rgba(13, 18, 28, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
  }
  .preset-carousel-next,
  .spec-carousel-next {
    right: 6px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
    background: rgba(13, 18, 28, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
  }
}

.preset-cat-grid.is-dragging,
.spec-grid.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}

.preset-cat-grid.is-dragging * {
  pointer-events: none !important;
}

.preset-cat-card {
  flex: 0 0 225px !important;
  min-width: 225px !important;
  max-width: 225px !important;
  scroll-snap-align: start !important;
  background: #0d121c !important;
  background: linear-gradient(180deg, #151b28 0%, #0c1018 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 16px !important;
  padding: 18px 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 12px !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
}

.preset-cat-card:hover, .preset-cat-card:focus-visible {
  transform: translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  background: linear-gradient(180deg, #192133 0%, #0e1420 100%) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(99, 102, 241, 0.22) !important;
  outline: none;
}
.preset-cat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.preset-cat-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.preset-cat-card-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.preset-cat-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.preset-cat-card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preset-cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
}
.preset-cat-card-footer svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}
.preset-cat-card:hover .preset-cat-card-footer svg {
  transform: translateX(3px);
  stroke: #34d399;
}
.preset-cat-card:hover .preset-cat-card-footer {
  color: #fff;
}

/* Botão de Ver Todos os Presets (Pulsante e chamativo, sempre embaixo do carrossel) */
.btn-open-presets-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
  clear: both;
}
.btn-open-presets {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  font: 800 14.5px/1 Manrope, system-ui, sans-serif;
  padding: 15px 32px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap !important;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: preset-btn-pulse 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
}
.btn-open-presets:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f8fafc;
  box-shadow: 0 14px 38px rgba(255, 255, 255, 0.35);
}
@keyframes preset-btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0), 0 12px 30px rgba(0, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}
.bop-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
}
.bop-icon {
  font-size: 15px;
  line-height: 1;
}
.bop-text {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bop-badge {
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 3. Modal / Pop-up de Presets com Navegação por Subpastas (#presets-catalog-modal) */
body.presets-modal-open {
  overflow: hidden !important;
}
#presets-catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain !important;
  transition: opacity 0.25s ease;
}
#presets-catalog-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pcm-dialog {
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  height: 88vh;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain !important;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#presets-catalog-modal.is-open .pcm-dialog {
  transform: scale(1);
}
.pcm-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.pcm-head-left {
  flex: 1;
  min-width: 0;
}
.pcm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 6px;
  font-family: monospace;
}
.pcm-bc-root {
  color: #94a3b8;
}
.pcm-bc-sep {
  opacity: 0.5;
}
.pcm-bc-pack {
  color: #cbd5e1;
  font-weight: 600;
}
.pcm-bc-current {
  color: #34d399;
  font-weight: 700;
}
.pcm-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pcm-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.pcm-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 3px 10px;
  border-radius: 999px;
}
.pcm-subtitle {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}
.pcm-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.pcm-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.pcm-controls {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.pcm-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pcm-search-icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
}
.pcm-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px 10px 40px;
  color: #fff;
  font: 500 13.5px Manrope, system-ui, sans-serif;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pcm-search-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
}
.pcm-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  padding-bottom: 6px;
  cursor: grab;
}
.pcm-cat-tabs.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.pcm-cat-tabs.is-dragging * {
  pointer-events: none;
}
.pcm-cat-tabs::-webkit-scrollbar {
  height: 4px;
}
.pcm-cat-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.pcm-cat-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.pcm-cat-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}
.pcm-cat-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font: 600 12px Manrope, system-ui, sans-serif;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pcm-cat-btn span {
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 999px;
  color: #cbd5e1;
}
.pcm-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pcm-cat-btn.is-active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.pcm-cat-btn.is-active span {
  background: rgba(0, 0, 0, 0.15);
  color: #000000;
}

/* Corpo do Modal e Scroll com precisão */
.pcm-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 18px 24px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.04);
}
.pcm-body::-webkit-scrollbar {
  width: 8px;
}
.pcm-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.pcm-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.pcm-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.pcm-count-bar {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Apresentação Limpa e Despoluída de Presets no Modal */
.pcm-folder-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
  gap: 14px !important;
}

.pcm-folder-strip-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.pcm-strip-icon {
  font-size: 1.4rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.pcm-strip-title {
  margin: 0 !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.pcm-strip-count {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #34d399 !important;
}

.pcm-strip-desc {
  margin: 2px 0 0 !important;
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
  line-height: 1.3 !important;
}

.pcm-strip-back-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
  font: 700 11.5px Manrope, system-ui, sans-serif !important;
  padding: 7px 13px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.pcm-strip-back-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

/* Grupos em "Todas as pastas" */
.pcm-group-clean {
  margin-bottom: 24px !important;
}
.pcm-group-clean:last-child {
  margin-bottom: 0 !important;
}

.pcm-group-clean-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pcm-group-clean-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.pcm-group-clean-icon {
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

.pcm-group-clean-count {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.12) !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
}

.pcm-group-clean-btn {
  background: transparent !important;
  border: 0 !important;
  color: #94a3b8 !important;
  font: 700 11.5px Manrope, system-ui, sans-serif !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: color 0.2s ease !important;
}

.pcm-group-clean-btn:hover {
  color: #ffffff !important;
}

/* Grid e itens despoluídos: 2 colunas amplas com nome 100% legível */
.pcm-list,
.pcm-list-clean {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px 14px !important;
}

@media (max-width: 680px) {
  .pcm-list,
  .pcm-list-clean {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}

.pcm-item-clean,
.pcm-item {
  background: rgba(255, 255, 255, 0.028) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease !important;
}

.pcm-item-clean:hover,
.pcm-item:hover {
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  transform: translateX(2px) !important;
}

.pcm-clean-num {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  font-variant-numeric: tabular-nums !important;
  min-width: 20px !important;
  flex-shrink: 0 !important;
}

.pcm-clean-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.pcm-clean-name {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  white-space: normal !important; /* NUNCA corta o nome do preset */
  word-break: break-word !important;
}

.pcm-clean-tag {
  font-size: 0.7rem !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.pcm-clean-badge {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.1) !important;
  border: 1px solid rgba(52, 211, 153, 0.22) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.pcm-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .preset-cat-grid {
    gap: 12px !important;
    padding: 12px 48px 36px 48px !important;
    margin-inline: 0 !important;
  }
  .preset-cat-grid::-webkit-scrollbar-track {
    margin-inline: 48px !important;
  }
  .preset-cat-card {
    flex: 0 0 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    padding: 16px 16px 14px !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }
  .preset-cat-card-title {
    font-size: 0.9rem !important;
  }
  .preset-cat-card-desc {
    font-size: 0.76rem !important;
  }
}

@media (max-width: 640px) {
  #presets-catalog-modal {
    padding: 0;
  }
  .pcm-dialog {
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    border: 0;
  }
  .pcm-header {
    padding: 14px 16px 10px;
  }
  .pcm-controls {
    padding: 10px 16px;
  }
  .pcm-body {
    padding: 14px 16px 24px;
  }
  .pcm-list {
    grid-template-columns: 1fr;
  }
  .pcm-folder-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pcm-fb-back {
    align-self: flex-start;
  }
  .btn-open-presets {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 13.5px;
  }
}


/* ===== Botão flutuante = WhatsApp direto (15/10/2026) ===== */
.hasse-chat-launcher.hasse-chat-launcher--whatsapp {
  background: #25D366;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 24px rgba(37, 211, 102, 0.45);
}
.hasse-chat-launcher.hasse-chat-launcher--whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 34px rgba(37, 211, 102, 0.65);
}
.hasse-chat-widget.is-whatsapp-only .hasse-chat-callout-content { text-decoration: none; color: inherit; }

/* ===== Rodada 255 (23/10/2026) — Checkout no celular mais enxuto =====
   Nada atrás ou por cima do checkout (cookies, barra de compra, WhatsApp) e tudo mais compacto,
   com o botão de pagar sempre visível no rodapé do checkout. */
body.cakto-open #hasse-cookie-notice,
body.cakto-open #hasse-cookie-settings,
body.cakto-open #hasse-buybar,
body.cakto-open .hasse-chat-widget,
body:has(#cakto-modal.is-open) #hasse-cookie-notice,
body:has(#cakto-modal.is-open) #hasse-buybar,
body:has(#cakto-modal.is-open) .hasse-chat-widget { display: none !important; }

@media (max-width: 600px) {
  .cakto-modal { padding: 8px !important; align-items: flex-end !important; }
  .cakto-dialog { max-height: calc(100dvh - 16px) !important; max-height: calc(100vh - 16px); border-radius: 18px !important; }
  .cakto-head { padding: 10px 14px !important; }
  .cakto-ssl-badge { display: none !important; }
  .cakto-body { padding: 12px 14px 0 !important; }
  .cakto-summary, .cakto-summary.is-compact { padding: 10px 12px !important; margin-bottom: 10px !important; }
  .cakto-coupon-box .coupon-input-group { margin-top: 8px !important; }
  .cakto-coupon-box .coupon-input, .cakto-coupon-box .coupon-btn { min-height: 40px !important; height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .cakto-summary .hasse-promo-line { margin-top: 6px !important; padding: 6px 10px !important; font-size: .74rem !important; }
  .cakto-section-title { font-size: .86rem !important; margin: 4px 0 6px !important; }
  .cakto-methods { gap: 8px !important; margin-bottom: 10px !important; }
  .cakto-method-btn { padding: 8px 10px !important; min-height: 0 !important; }
  .cakto-method-btn small { display: none !important; }
  .cakto-method-info strong { font-size: .88rem !important; }
  .cakto-field { margin-bottom: 8px !important; }
  .cakto-field label { font-size: .76rem !important; margin-bottom: 4px !important; }
  .cakto-field input, .cakto-body input:not([type="checkbox"]):not([type="radio"]) { min-height: 42px !important; height: 42px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .cakto-field-note { display: none !important; }
  .cakto-row-2 { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .cakto-row-2 .cakto-field { margin-bottom: 8px !important; min-width: 0; }
  .cakto-submit-btn {
    position: sticky !important; bottom: 0; z-index: 3;
    margin-top: 6px !important; min-height: 52px !important;
    box-shadow: 0 -14px 24px 6px var(--bg-surface, #0b0d12), 0 10px 26px rgba(16,185,129,.35) !important;
  }
  #cakto-security-hint { margin: 8px 0 10px !important; font-size: .72rem !important; gap: 4px 12px !important; }
}

/* ===== Rodada 256 (23/10/2026) — Pix Copia e Cola não corta mais no celular ===== */
.cakto-copy-bar input { min-width: 0; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .cakto-copy-bar { flex-direction: column; }
  .cakto-copy-bar input { width: 100%; font-size: 16px !important; }
  .cakto-copy-btn { width: 100%; justify-content: center; min-height: 46px; }
}
.cakto-pix-screen, .cakto-pix-copy-section { max-width: 100%; overflow-x: hidden; }

/* ===== Rodada 265 (27/10/2026) — Checkout mais baixo no computador =====
   Nome + E-mail numa linha; CPF + WhatsApp em outra (meio a meio).
   No celular (até 600px) nada muda: Nome/E-mail empilhados e CPF/WhatsApp já em 2 colunas. */
@media (min-width: 601px) {
  .cakto-row-desk, .cakto-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .cakto-row-desk .cakto-field, .cakto-row-2 .cakto-field { min-width: 0; }
  .cakto-row-desk { margin-bottom: 6px; }
  .cakto-row-desk .cakto-field label, .cakto-row-2 .cakto-field label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
