@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta Obsidian Cinematic (Inspirada no Max / HBO Max) */
  --bg-dark: #030408;
  --bg-deep: #020306;
  --bg-surface: #0a0d18;
  --bg-surface-elevated: #0f1526;
  --bg-card: rgba(14, 19, 32, 0.75);
  --bg-card-hover: rgba(20, 27, 46, 0.9);
  --bg-glass-specular: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-subtle-hover: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(0, 102, 255, 0.4);
  --border-cyan: rgba(0, 210, 255, 0.4);

  /* Acentos Elétricos HBO Max */
  --hbo-blue: #002be7;
  --hbo-blue-vibrant: #0066ff;
  --hbo-cyan: #00d2ff;
  --hbo-purple: #7928ca;
  --hbo-glow: 0 0 30px rgba(0, 102, 255, 0.4);

  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.5);
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.4);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.4);
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* Fundo com Malha e Brilho Neon Fluido */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(80px);
  will-change: transform;
  transform: translateZ(0);
  animation: pulseBlob 12s infinite alternate ease-in-out;
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(90px);
  will-change: transform;
  transform: translateZ(0);
  animation: pulseBlob 15s infinite alternate-reverse ease-in-out;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

@keyframes pulseBlob {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.15) translate(30px, -40px);
  }

  100% {
    transform: scale(0.95) translate(-20px, 30px);
  }
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -2px rgba(124, 58, 237, 0.65);
  filter: brightness(1.1);
}

.btn-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(6, 182, 212, 0.45);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -2px rgba(6, 182, 212, 0.6);
  filter: brightness(1.1);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px -2px rgba(16, 185, 129, 0.4);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -2px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outline-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-outline-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25d366;
  transform: translateY(-1px);
}

/* Botões Cinematográficos Padrão HBO Max */
.btn-max-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #002be7 0%, #0055ff 55%, #00c8ff 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px -2px rgba(0, 85, 255, 0.5), 0 0 25px -4px rgba(0, 200, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-max-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px -2px rgba(0, 85, 255, 0.75), 0 0 35px -2px rgba(0, 200, 255, 0.5);
  filter: brightness(1.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-max-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-max-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-max-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BOTÕES WHITE DIAMOND MINIMALIST (ESTILO PREMIUM HBO MAX)
   ========================================================================== */
.btn-diamond-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000 !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  padding: 0.85rem 2.4rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), 0 0 1px 1px rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.btn-diamond-white:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f8fafc;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.55), 0 0 20px rgba(255, 255, 255, 0.4);
  color: #000000 !important;
}

.btn-diamond-white:active {
  transform: translateY(0) scale(0.98);
}

.btn-diamond-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-diamond-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* ==========================================================================
   BOTÕES ANIMADOS NO ESTILO RAINBOW NEON (BORDAS EM MOVIMENTO CONTÍNUO E SUAVE)
   ========================================================================== */

@keyframes rainbowBorderFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.btn-rainbow-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
  border-radius: 14px;
  background: linear-gradient(90deg,
      #ff0055 0%,
      #ff5500 14%,
      #ffea00 28%,
      #00ff66 42%,
      #00f0ff 57%,
      #0066ff 71%,
      #9900ff 85%,
      #ff0055 100%);
  background-size: 200% 200%;
  animation: rainbowBorderFlow 4s linear infinite;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25), 0 0 24px rgba(153, 0, 255, 0.2);
}

/* Fundo interno escuro sólido onde o texto do botão repousa com alto contraste */
.btn-rainbow-neon::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #090d18;
  border-radius: 12px;
  z-index: 1;
  transition: background 0.3s ease;
}

.btn-rainbow-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), 0 0 32px rgba(255, 0, 128, 0.35);
}

.btn-rainbow-neon:hover::after {
  background: #111728;
}

.btn-rainbow-neon:active {
  transform: translateY(0);
}

/* Conteúdo interno do botão Rainbow Neon */
.btn-rainbow-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Variação Menor para Cards ou Tabelas */
.btn-rainbow-neon-sm {
  padding: 2px;
  border-radius: 10px;
}

.btn-rainbow-neon-sm::after {
  inset: 1.5px;
  border-radius: 8.5px;
}

.btn-rainbow-neon-sm .btn-rainbow-content {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  gap: 0.4rem;
}

/* Variação com Fundo Neon Vibrante */
.btn-rainbow-neon-vibrant::after {
  background: rgba(20, 26, 46, 0.95);
}

.btn-rainbow-neon-vibrant:hover::after {
  background: rgba(30, 24, 55, 0.98);
}

/* ==========================================================================
   CARROSSEL DE LANÇAMENTOS 2026 (HERO SLIDER COM EFEITOS CINEMATOGRÁFICOS)
   ========================================================================== */

/* Efeito de Aura / Ambient Glow Dinâmico de Fundo */
.hero-carousel-ambient-wrapper {
  position: relative;
  width: 100%;
}

.hero-carousel-ambient-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.22) 0%, rgba(6, 182, 212, 0.18) 40%, transparent 75%);
  filter: blur(28px);
  border-radius: 36px;
  pointer-events: none;
  z-index: 0;
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% {
    opacity: 0.45;
    transform: scale(0.97);
    filter: blur(26px);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.02);
    filter: blur(34px);
  }

  100% {
    opacity: 0.55;
    transform: scale(0.99);
    filter: blur(28px);
  }
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(139, 92, 246, 0.25);
  z-index: 1;
}

/* Barra de Progresso Autoplay Cinematográfica (Story Timer) */
.carousel-progress-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 30;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4, #ffffff);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.9);
  transition: width 0.1s linear;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
}

.carousel-slide {
  display: none;
  width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active {
  display: block;
  opacity: 1;
}

/* Efeito Ken Burns: Zoom Lento e Cinematográfico */
.carousel-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.24) blur(4px);
  transform: scale(1.08) translate(-1%, -0.5%);
}

.carousel-slide.active .carousel-backdrop-img {
  animation: kenBurnsZoom 8s ease-out forwards;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale(1.08) translate(-1%, -0.5%);
  }

  100% {
    transform: scale(1.0) translate(0, 0);
  }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #060913 0%, rgba(6, 9, 19, 0.95) 42%, rgba(6, 9, 19, 0.6) 72%, rgba(6, 9, 19, 0.9) 100%),
    linear-gradient(to top, #060913 0%, rgba(6, 9, 19, 0.4) 40%, transparent 80%);
  z-index: 1;
}

.carousel-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 1.75rem 1.25rem 5.5rem 1.25rem;
  gap: 1.75rem;
  min-height: 420px;
}

@media (min-width: 640px) {
  .carousel-content-grid {
    padding: 2.5rem 2rem 5.75rem 2rem;
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .carousel-content-grid {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 3.5rem 3rem 6rem 3rem;
    gap: 2.75rem;
    min-height: 500px;
  }
}

@media (min-width: 1024px) {
  .carousel-content-grid {
    grid-template-columns: 1.35fr 0.65fr;
    padding: 4rem 3.5rem 6.25rem 3.5rem;
    gap: 3.5rem;
    min-height: 520px;
  }
}

/* Efeito de Entrada Escalonada (Staggered Content Reveal) */
.carousel-slide.active .carousel-stagger-1 {
  animation: carouselFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.carousel-slide.active .carousel-stagger-2 {
  animation: carouselFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.carousel-slide.active .carousel-stagger-3 {
  animation: carouselFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.carousel-slide.active .carousel-stagger-4 {
  animation: carouselFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes carouselFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito 3D Holográfico do Pôster com Reflexo no Piso */
.carousel-poster-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-poster-card {
  position: relative;
  max-width: 275px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(139, 92, 246, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  perspective: 1000px;
  -webkit-box-reflect: below 8px linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, 0.35));
}

.carousel-slide.active .carousel-poster-card {
  animation: carouselPosterPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes carouselPosterPop {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(28px) rotateX(8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg);
  }
}

.carousel-poster-card:hover {
  transform: translateY(-8px) scale(1.03) rotateY(3deg);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.98), 0 0 45px rgba(6, 182, 212, 0.55);
}

.carousel-poster-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
}

/* Reflexo Holográfico Especular sobre o Pôster */
.carousel-poster-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 45%, rgba(6, 182, 212, 0.15) 100%);
  pointer-events: none;
  border-radius: 20px;
  transition: opacity 0.3s ease;
}

.carousel-poster-card:hover::after {
  opacity: 0.85;
}

/* ==========================================================================
   CARROSSEL CONTROL DOCK (INTEGRADO AO RODAPÉ DO CARD - ZERO SOBREPOSIÇÃO)
   ========================================================================== */
/* Desativa definitivamente qualquer seta flutuante lateral sobreposta ao texto */
.carousel-nav-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.carousel-dock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(to top, rgba(4, 7, 15, 0.98) 0%, rgba(4, 7, 15, 0.88) 70%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 25;
}

@media (min-width: 640px) {
  .carousel-dock {
    padding: 1.1rem 2.5rem;
  }
}

.carousel-dock-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.carousel-dock-counter .current-num {
  color: #38bdf8;
  font-weight: 900;
  font-size: 0.88rem;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.carousel-dock-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-dock-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  user-select: none;
}

.carousel-dock-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(6, 182, 212, 0.95));
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.7);
}

.carousel-dock-btn:active {
  transform: scale(0.92);
}

/* Micro-botões de cabeçalho para navegação acessível em qualquer tela */
.carousel-header-nav-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-header-nav-btn:hover {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(6, 182, 212, 0.6);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.carousel-header-nav-btn:active {
  transform: scale(0.95);
}

/* Filtros de Categoria em Pílulas (Todos [10] / 5 Filmes / 5 Séries) */
.carousel-cat-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 3px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.carousel-cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.carousel-cat-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.carousel-cat-filter-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(6, 182, 212, 0.95));
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
}

.carousel-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.05rem 0.4rem;
  font-size: 0.65rem;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
}

.carousel-cat-filter-btn.active .carousel-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Ocultação de itens filtrados por categoria */
.carousel-slide.is-filtered-out,
.carousel-indicator-dot.is-filtered-out,
.carousel-thumb-card.is-filtered-out {
  display: none !important;
}

/* Indicadores Dots Touch-Friendly */
.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.carousel-indicator-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.carousel-indicator-dot.active {
  width: 26px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
}




/* Cards com Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.glass-card-featured {
  border-color: var(--border-glow);
  box-shadow: 0 0 35px -10px rgba(139, 92, 246, 0.35);
}

.glass-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #10b981);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

/* Filtro de Categorias do Catálogo (Mobile & Desktop) */
.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  min-height: 40px;
}

.catalog-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.catalog-filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.35) 0%, rgba(0, 210, 255, 0.3) 100%);
  border-color: rgba(0, 210, 255, 0.7);
  color: #ffffff;
  box-shadow: 0 0 20px -3px rgba(0, 210, 255, 0.45);
}

/* ==========================================================================
   HERO MOSAIC WALL (MURAL DE PÔSTERES ESTILO HBO MAX - SCREENSHOT 1)
   ========================================================================== */
.hero-mosaic-container {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000;
  padding: 4.5rem 1rem 6rem 1rem;
}

.hero-mosaic-wall {
  position: absolute;
  inset: -20% -10% -15% -10%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  transform: rotate(-1deg) scale(1.05);
  pointer-events: none;
  user-select: none;
  opacity: 0.78;
  filter: contrast(1.12) brightness(1.05);
  will-change: transform;
}

@media (max-width: 480px) {
  .hero-mosaic-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    inset: -5% -15% -5% -15%;
  }
}

@media (min-width: 481px) and (max-width: 767.98px) {
  .hero-mosaic-wall {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    inset: -10% -20% -10% -20%;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-mosaic-wall {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    inset: -15% -12% -12% -12%;
  }
}

.mosaic-poster-item {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #0d111a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.mosaic-poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-mosaic-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.65) 65%, #000000 98%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 25%, transparent 70%, #000000 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-mosaic-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-diamond-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.35), 0 4px 25px rgba(0, 0, 0, 0.95), 0 10px 45px rgba(0, 0, 0, 0.9);
  margin-bottom: 1.25rem;
}

.hero-diamond-price-badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #f1f5f9;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  margin-bottom: 2.25rem;
}

/* ==========================================================================
   VERTICAL ACCORDION PILLARS (ENTRETENIMENTO SEM IGUAL - SCREENSHOT 2)
   ========================================================================== */
.pillars-section {
  position: relative;
  background-color: #000000;
  padding: 5rem 0 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillars-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .pillars-container {
    flex-direction: row;
    height: 420px;
    align-items: stretch;
    gap: 8px;
  }
}

@media (min-width: 1024px) {
  .pillars-container {
    height: 520px;
  }
}

.pillar-card {
  position: relative;
  flex: 1;
  min-height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease, border-color 0.4s ease;
  user-select: none;
}

@media (min-width: 768px) {
  .pillar-card {
    min-height: 100%;
  }

  .pillar-card:hover,
  .pillar-card:focus-visible {
    flex: 2.2;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.15);
  }
}

.pillar-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.85);
}

.pillar-card:hover .pillar-bg {
  transform: scale(1.06);
  filter: brightness(1);
}

.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  z-index: 2;
}

.pillar-genre-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  line-height: 1.15;
}

.pillar-studio {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.3rem;
}

.pillar-flagship {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SPOTLIGHT GRID (ESTREIAS QUE VÃO DAR O QUE FALAR - SCREENSHOT 3)
   ========================================================================== */
.premieres-section {
  position: relative;
  background-color: #000000;
  padding: 5rem 0 5rem 0;
}

.premieres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .premieres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .premieres-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.premiere-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.premiere-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.1);
}

.premiere-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.premiere-card:hover .premiere-img {
  transform: scale(1.05);
}

.premiere-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f1f5f9;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  z-index: 3;
}

.premiere-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 85%, #000000 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  z-index: 2;
}

.premiere-studio {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.premiere-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.2;
}

/* ==========================================================================
   GENRE SHOWCASE INTERACTIVE TABS (DESCUBRA O MELHOR DE - SCREENSHOT 4)
   ========================================================================== */
.genre-showcase-section {
  position: relative;
  background-color: #000000;
  padding: 5rem 0 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.genre-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 1rem;
  margin-bottom: 2.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.genre-tabs-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .genre-tabs-nav {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0.5rem 0;
  }
}

.genre-tab-btn {
  background: none;
  border: none;
  color: #64748b;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0.5rem 0.75rem;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.genre-tab-btn:hover {
  color: #cbd5e1;
}

.genre-tab-btn.active {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
}

.genre-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
}

.genre-arrow-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.genre-arrow-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.genre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .genre-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.genre-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #090c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  cursor: pointer;
}

.genre-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
}

.genre-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.genre-card:hover .genre-card-img {
  transform: scale(1.05);
}

.genre-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 85%, #000000 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  z-index: 2;
}

.genre-card-studio {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.genre-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.2;
}

.genre-card-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  color: #facc15;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 3;
}

.genre-card-season {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde047;
  margin-top: 0.25rem;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.genre-card-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  position: absolute;
  bottom: 12px;
  right: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  z-index: 4;
  backdrop-filter: blur(8px);
}

.genre-card:hover .genre-card-action-hint,
.premiere-card:hover .genre-card-action-hint {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .genre-card-action-hint {
    opacity: 0.9;
    transform: translateY(0);
  }
}

/* ==========================================================================
   FAIXA DE MARCAS & ECOSSISTEMA (BRAND HUB STRIP - ESTILO HBO MAX)
   ========================================================================== */
.brand-hub-section {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.6) 0%, rgba(2, 4, 8, 0.8) 100%);
  padding: 1.5rem 0;
  overflow: hidden;
}

.brand-hub-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}

.brand-hub-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.brand-hub-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px -2px rgba(0, 102, 255, 0.3);
}

.brand-hub-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.brand-hub-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: #e2e8f0;
}

.brand-hub-subtitle {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   SELETOR DE PLANOS DINÂMICO (DYNAMIC PLAN PICKER - ESTILO HBO MAX)
   ========================================================================== */
.plan-picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .plan-picker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .plan-picker-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    align-items: stretch;
  }
}

@media (min-width: 1400px) {
  .plan-picker-grid {
    gap: 1.5rem;
  }
}

/* Ajuste dinâmico quando filtrado */
.plan-picker-grid[data-visible-count="1"] {
  grid-template-columns: minmax(auto, 380px) !important;
  justify-content: center;
}

.plan-picker-grid[data-visible-count="2"] {
  grid-template-columns: repeat(2, minmax(auto, 360px)) !important;
  justify-content: center;
}

.plan-card-max {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.85) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 1.85rem 1.25rem 1.5rem 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  height: 100%;
}

.plan-card-max::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.plan-card-max:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 35px -5px rgba(0, 102, 255, 0.25);
}

/* Card Destaque / Mais Popular */
.plan-card-popular {
  border-color: rgba(0, 102, 255, 0.6);
  background: linear-gradient(180deg, rgba(12, 24, 55, 0.92) 0%, rgba(6, 10, 22, 0.98) 100%);
  box-shadow: 0 15px 45px -8px rgba(0, 43, 231, 0.35), 0 0 40px -5px rgba(0, 210, 255, 0.2);
}

@media (min-width: 1024px) {
  .plan-card-popular {
    transform: translateY(-8px);
    z-index: 2;
  }

  .plan-card-popular:hover {
    transform: translateY(-14px);
  }
}

.plan-card-popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002be7, #00d2ff, #7928ca);
}

.plan-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #002be7 0%, #00d2ff 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.5);
  white-space: nowrap;
  z-index: 10;
}

.plan-price-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 2.5vw, 2.75rem);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.plan-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  padding: 0.35rem 0;
}

.plan-feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   SEÇÃO MULTI-DISPOSITIVOS (DEVICE HUB - ESTILO HBO MAX)
   ========================================================================== */
.device-hub-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.7) 0%, rgba(7, 10, 18, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.device-hub-card:hover {
  background: linear-gradient(180deg, rgba(20, 28, 52, 0.85) 0%, rgba(9, 13, 24, 0.95) 100%);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(0, 102, 255, 0.2);
}

.device-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 1.25rem auto;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.device-hub-card:hover .device-icon-box {
  transform: scale(1.1);
  border-color: #00d2ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.device-badge-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin: 0.2rem;
}

.device-badge-android {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  font-weight: 600;
}

.device-android-exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1.15rem;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   TRILHOS DE CONTEÚDO (CONTENT RAILS - ESTILO MAX / NETFLIX)
   ========================================================================== */
.content-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.content-rail-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Modal Checkout */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0f1523;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

/* Bottom Sheet nativo para Mobile: previne que teclado virtual quebre a tela */
@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-dialog {
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    max-height: 92dvh;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .modal-overlay.active .modal-dialog {
    transform: translateY(0);
  }
}

/* Inputs & Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

select.form-control,
.form-control select {
  background-color: #0e131f;
  color: #f8fafc;
  cursor: pointer;
}

select.form-control option {
  background-color: #0e131f;
  color: #f8fafc;
}

/* Pulsing QR Code Ring */
.qr-frame {
  position: relative;
  display: inline-block;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid var(--accent-cyan);
  animation: pulseRingAnim 2s infinite ease-out;
}

@keyframes pulseRingAnim {
  0% {
    transform: scale(0.98);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

/* =========================================================================
   Flagship White Diamond Checkout Modal
   ========================================================================= */
.checkout-dialog-diamond {
  background: radial-gradient(130% 100% at 50% 0%, #111728 0%, #080c16 65%, #05070e 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  max-width: 550px;
  box-shadow:
    0 35px 80px -15px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(6, 182, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow-y: auto;
}

.checkout-dialog-diamond::-webkit-scrollbar {
  width: 6px;
}

.checkout-dialog-diamond::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.checkout-dialog-diamond::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.checkout-dialog-diamond::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}

.checkout-dialog-diamond::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #8b5cf6 100%);
  opacity: 0.9;
  z-index: 20;
}

/* Mobile drag handle */
.bottom-sheet-handle {
  display: none;
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  margin: 0 auto 14px auto;
}

@media (max-width: 640px) {
  .checkout-dialog-diamond {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .bottom-sheet-handle {
    display: block;
  }
}

/* 3-Step Visual Progress Tracker */
.checkout-stepper {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

.stepper-progress-bar {
  position: absolute;
  top: 15px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.stepper-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.stepper-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #090d18;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.step-item.active .step-circle {
  border-color: #06b6d4;
  color: #ffffff;
  background: #082f49;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.5);
}

.step-item.active .step-label {
  color: #22d3ee;
}

.step-item.completed .step-circle {
  border-color: #10b981;
  background: #064e3b;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.step-item.completed .step-label {
  color: #34d399;
}

/* Trust Badges Grid */
.checkout-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.trust-badge-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.trust-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-sub {
  font-size: 0.6rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* UniTV choice cards */
.unitv-opt-card {
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.unitv-opt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Modern Form Controls */
.checkout-input-modern {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 0.8rem 1rem !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.checkout-input-modern::placeholder {
  color: #64748b !important;
  font-size: 0.88rem !important;
}

.checkout-input-modern:focus {
  outline: none !important;
  border-color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.12) !important;
}

/* Checkout Submit Button */
.btn-checkout-submit {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 0 30px rgba(6, 182, 212, 0.2);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-checkout-submit:hover {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
  box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.6), 0 0 40px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.btn-checkout-submit:active {
  transform: translateY(1px);
}

/* QR Code Scanner Card */
.qr-scanner-card {
  position: relative;
  display: inline-block;
  padding: 14px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(6, 182, 212, 0.18);
}

.qr-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #06b6d4;
  border-style: solid;
  pointer-events: none;
}

.qr-corner-tl {
  top: 8px;
  left: 8px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 8px;
}

.qr-corner-tr {
  top: 8px;
  right: 8px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 8px;
}

.qr-corner-bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 8px;
}

.qr-corner-br {
  bottom: 8px;
  right: 8px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 8px;
}

.btn-copy-pix {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-copy-pix:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* =========================================================================
   Flagship White Diamond Customer Portal (Área do Cliente)
   ========================================================================= */
.customer-vault-card {
  background: radial-gradient(120% 120% at 50% 0%, #111728 0%, #080c16 65%, #05070e 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(6, 182, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.customer-vault-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #8b5cf6 100%);
  opacity: 0.85;
}

.customer-input-modern {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 0.85rem 1rem !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.customer-input-modern::placeholder {
  color: #64748b !important;
  font-size: 0.88rem !important;
}

.customer-input-modern:focus {
  outline: none !important;
  border-color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.12) !important;
}

.btn-customer-search {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-customer-search:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0891b2 50%, #059669 100%);
  box-shadow: 0 12px 30px -5px rgba(6, 182, 212, 0.6), 0 0 40px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-customer-search:active {
  transform: translateY(1px);
}

.customer-profile-card {
  background: radial-gradient(120% 120% at 50% 0%, #111728 0%, #080c16 70%, #05070e 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.customer-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #10b981);
}

.subscription-diamond-card {
  background: radial-gradient(130% 120% at 50% 0%, rgba(17, 23, 40, 0.95) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.subscription-diamond-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}

.credential-vault-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.btn-second-copy {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-second-copy:hover {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.6);
  transform: translateY(-1px);
}

/* Admin Specific */
.admin-sidebar {
  width: 270px;
  background: #0a0d16;
  border-right: 1px solid var(--border-subtle);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar-section-title {
  padding: 0.75rem 1.1rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 12px;
  margin: 0.12rem 0.6rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.admin-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-link.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.22) 0%, rgba(6, 182, 212, 0.12) 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.2);
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 55;
  transition: opacity 0.25s ease;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Responsividade Geral de Navegação e Layout */
@media (max-width: 1023.98px) {
  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  #mobileMenu {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 285px;
    z-index: 60;
    transform: translateX(-100%);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }
}

/* ========================================================
   Faturas & Financeiro: Blocos Animados & Abas por Categoria
   ======================================================== */
.finance-kpi-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.finance-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.65);
}

.finance-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.8;
}

.anim-accordion-block {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 1.15rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.anim-accordion-block:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.anim-accordion-header {
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.25s ease;
}

.anim-accordion-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.anim-accordion-block.is-open .anim-accordion-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.anim-accordion-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-accordion-block.is-open .anim-accordion-wrapper {
  grid-template-rows: 1fr;
}

.anim-accordion-content {
  overflow: hidden;
  min-height: 0;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.anim-accordion-block.is-open .anim-accordion-content {
  opacity: 1;
}

.anim-accordion-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.anim-accordion-block.is-open .anim-accordion-chevron {
  transform: rotate(180deg);
}

/* Category Tabs Switcher */
.category-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.category-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.category-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28) 0%, rgba(99, 102, 241, 0.24) 100%);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 18px -3px rgba(124, 58, 237, 0.35);
}

.copy-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-badge-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Abas & Pills de Credenciais (Estoque) */
.status-pill-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.status-pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.status-pill-btn.active {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.stock-kpi-card {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.stock-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 24px -4px rgba(139, 92, 246, 0.25);
}

.stock-kpi-card.active {
  border-color: rgba(6, 182, 212, 0.6);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  box-shadow: 0 0 20px -3px rgba(6, 182, 212, 0.35);
}

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.credencial-row-item.animating {
  animation: rowFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========================================================
   FAQ Accordion Moderno (Sem bug de altura ou espaços vazios)
   ======================================================== */
.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}

.faq-item.is-open {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 10px 25px -10px rgba(124, 58, 237, 0.25);
}

.faq-btn {
  width: 100%;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.faq-btn:hover {
  color: #c4b5fd;
}

.faq-chevron-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.faq-btn:hover .faq-chevron-box {
  background: rgba(139, 92, 246, 0.15);
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #a78bfa;
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
  min-height: 0;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.faq-item.is-open .faq-answer-content {
  opacity: 1;
}

/* ==========================================================================
   Chatbot Gemini Flutuante & Glassmorphic UI
   ========================================================================== */
.chip-action {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chip-action:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

#chatbotMessages {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.4) rgba(0, 0, 0, 0.2);
}

#chatbotMessages::-webkit-scrollbar {
  width: 5px;
}

#chatbotMessages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

#chatbotMessages::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 10px;
}

#chatbotMessages::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.6);
}

.message-bot {
  animation: chatMsgAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chatMsgAppear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   ESTILOS BASE DO ATENDENTE VIRTUAL IA (CHATBOT FLUTUANTE)
   ========================================================================= */
.chatbot-fab-container {
  position: fixed;
  z-index: 45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.chatbot-fab-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px -5px rgba(124, 58, 237, 0.6), 0 0 25px rgba(6, 182, 212, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.chatbot-fab-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px -5px rgba(124, 58, 237, 0.75), 0 0 35px rgba(6, 182, 212, 0.55);
}

.chatbot-fab-btn:active {
  transform: scale(0.96);
}

.chatbot-window-panel {
  position: fixed;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

/* No Desktop e Telas Médias (>= 768px): Canto Inferior Direito */
@media (min-width: 768px) {
  .chatbot-fab-container {
    bottom: max(2rem, calc(1.5rem + var(--sab)));
    right: max(2rem, calc(1.5rem + var(--sar)));
  }

  .chatbot-fab-btn {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .chatbot-window-panel {
    bottom: max(2.5rem, calc(2rem + var(--sab)));
    right: max(2rem, calc(1.5rem + var(--sar)));
    width: 410px;
    height: 560px;
    max-height: calc(100vh - 8rem);
    transform-origin: bottom right;
    z-index: 50;
  }

  .chatbot-window-panel:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92) translateY(15px);
  }

  .chatbot-window-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================================
   CINEMATIC ANIMATED LOGO & GLOBE (GLOBAL STREAM)
   ========================================================================== */

.logo-cinematic-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.globe-badge {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Aura cósmica atmosférica pulsante */
.globe-aura {
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, rgba(168, 85, 247, 0.45) 50%, rgba(236, 72, 153, 0) 75%);
  filter: blur(8px);
  opacity: 0.75;
  animation: globeAuraPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Moldura externa holográfica */
.globe-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35), inset 0 0 12px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagem 3D do Globo com respiração cósmica */
.globe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  animation: globeBreathe 6s ease-in-out infinite alternate;
}

.logo-cinematic-wrap:hover .globe-img {
  transform: scale(1.18) rotate(5deg);
  filter: brightness(1.2) contrast(1.12);
}

/* Anel orbital giratório com fóton de dados */
.globe-orbital-ring {
  position: absolute;
  inset: -6px;
  pointer-events: none;
  animation: orbitSpin 9s linear infinite;
}

.logo-cinematic-wrap:hover .globe-orbital-ring {
  animation-duration: 3.5s;
}

/* Efeito de feixe de luz passando pela superfície (sheen cinematográfico) */
.globe-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.4) 45%, rgba(6, 182, 212, 0.6) 50%, transparent 60%);
  transform: translateX(-140%);
  animation: globeSheenSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Tipografia animada com gradiente contínuo */
.logo-stream-text {
  background: linear-gradient(90deg, #38bdf8 0%, #a855f7 35%, #f472b6 65%, #38bdf8 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: streamTextShimmer 6s linear infinite;
  font-weight: 900;
  display: inline-block;
}

.logo-subtitle {
  font-size: 9.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #38bdf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 1px;
}

@keyframes globeAuraPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
    filter: blur(6px);
  }

  50% {
    transform: scale(1.1);
    opacity: 0.95;
    filter: blur(10px);
  }

  100% {
    transform: scale(0.95);
    opacity: 0.6;
    filter: blur(6px);
  }
}

@keyframes globeBreathe {
  0% {
    transform: scale(1.04) rotate(0deg);
  }

  50% {
    transform: scale(1.1) rotate(3deg);
  }

  100% {
    transform: scale(1.04) rotate(0deg);
  }
}

@keyframes orbitSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes globeSheenSweep {

  0%,
  55% {
    transform: translateX(-140%);
  }

  80%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes streamTextShimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

/* =========================================================================
   PWA - Progressive Web App Styles & Animations
   ========================================================================= */
@keyframes pwaSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#pwaInstallBanner {
  animation: pwaSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Quando executando em modo PWA Standalone (App Instalado) */
html.is-pwa-standalone #pwaInstallBanner,
html.is-pwa-standalone #btnPwaInstallNav,
html.is-pwa-standalone #btnPwaInstallMobile,
html.is-pwa-standalone .hide-in-pwa {
  display: none !important;
}

/* Melhorias de toque mobile para PWA */
@media (display-mode: standalone) {
  body {
    -webkit-tap-highlight-color: transparent;
  }

  /* Impede selecao acidental apenas em controles e navegacao, preservando textos, codigos e dados de pagamento */
  .btn,
  .nav-link,
  .carousel-nav-btn,
  .carousel-indicators,
  .catalog-filter-btn,
  .category-tab-btn {
    user-select: none;
    -webkit-user-select: none;
  }
}

/* =========================================================================
   POP-UP MODAL CINEMATOGRÁFICO DE CONTEÚDO (ESTILO HBO MAX)
   ========================================================================= */
.pillar-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pillar-modal-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #070a14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 255, 255, 0.08);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.pillar-modal-backdrop.active .pillar-modal-card {
  transform: scale(1) translateY(0);
}

.pillar-modal-hero {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pillar-modal-hero {
    height: 380px;
  }
}

.pillar-modal-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(7, 10, 20, 0.6) 60%, #070a14 100%);
}

.pillar-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.pillar-modal-close-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.1);
  border-color: #ffffff;
}

.pillar-modal-body {
  position: relative;
  padding: 0 1.75rem 2rem 1.75rem;
  margin-top: -3.5rem;
  z-index: 5;
}

@media (min-width: 640px) {
  .pillar-modal-body {
    padding: 0 2.5rem 2.5rem 2.5rem;
    margin-top: -4.5rem;
  }
}

.pillar-season-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(0, 43, 231, 0.45) 0%, rgba(6, 182, 212, 0.3) 100%);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35), 0 0 15px rgba(56, 189, 248, 0.2);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

/* =========================================================================
   Acessibilidade: Reducao de Movimento (WCAG 2.3.3)
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ambient-blob-1,
  .ambient-blob-2,
  .globe-aura,
  .globe-img,
  .globe-orbital-ring,
  .globe-sheen,
  .logo-stream-text,
  .btn-rainbow-neon,
  .pulse-ring::after {
    animation: none !important;
  }
}

/* =========================================================================
   SISTEMA RESPONSIVO MULTIPLATAFORMA (TABLETS, IPAD, ANDROID E IOS)
   ========================================================================= */

/* Variáveis de Área Segura (Safe Area Insets) para iOS (Notch / Ilha Dinâmica) e Android (Gestos) */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-left: var(--sal);
  padding-right: var(--sar);
}

/* Navbar fixa com suporte a entalhes e status bar de iPhone/iPad */
.navbar-glass {
  padding-top: max(0.4rem, var(--sat));
}

/* Previne zoom automático indesejado no iOS Safari ao focar campos de formulário */
@media (max-width: 768px) {

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="password"],
  select,
  textarea,
  .form-control,
  .checkout-input-modern,
  .customer-input-modern {
    font-size: 16px !important;
  }
}

/* Otimização de rolagem e aceleração de toque */
.genre-tabs-nav,
.genre-grid,
.premieres-grid,
.plan-picker-grid,
.modal-dialog,
#chatbotMessages,
#mobileMenu {
  -webkit-overflow-scrolling: touch;
}

.btn,
.nav-link,
.faq-btn,
.catalog-filter-btn,
.genre-tab-btn,
.mobile-menu-btn,
.genre-arrow-btn,
.carousel-nav-btn {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

/* =========================================================================
   REGRAS ESPECÍFICAS PARA TABLETS & IPAD (768px a 1024px)
   (iPad 9.7", 10.2", 10.9", iPad Air, iPad Mini, iPad Pro 11", Galaxy Tab)
   ========================================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Contêiner com respiro equilibrado */
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* Grid de Planos em 2 Colunas lado a lado no iPad */
  .plan-picker-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* Grid de Dispositivos em 2x2 no iPad */
  #dispositivos .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* Catálogo e Estreias em 2 Colunas no iPad */
  .premieres-grid,
  .genre-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* Faixa de Marcas / Ecossistema */
  .brand-hub-grid {
    gap: 1rem 1.5rem !important;
  }

  /* Drawer do Menu no Tablet / iPad */
  #mobileMenu {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Modais no iPad */
  .modal-dialog {
    max-width: 540px !important;
    margin: 2rem auto !important;
  }
}

/* =========================================================================
   REGRAS ESPECÍFICAS PARA SMARTPHONES (CELULARES ANDROID E IPHONE) (< 768px)
   ========================================================================= */
@media (max-width: 767.98px) {

  /* Títulos de destaque e seções */
  .hero-diamond-title {
    font-size: clamp(2.1rem, 8.5vw, 3.2rem) !important;
    letter-spacing: -0.03em !important;
  }

  /* Botões de Ação do Hero alinhados e confortáveis para o polegar */
  .hero-mosaic-content .flex {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .btn-diamond-white,
  .btn-diamond-outline {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  /* Filtro de Categorias no Mobile com rolagem horizontal suave */
  .catalog-filter-btn {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.85rem !important;
  }

  /* Card de Planos no Mobile */
  .plan-card-max {
    padding: 1.6rem 1.2rem !important;
    border-radius: 20px !important;
  }

  .plan-price-tag {
    font-size: 2.25rem !important;
  }

  /* Seção de Dispositivos no Mobile */
  #dispositivos .grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .device-hub-card {
    padding: 1.5rem 1.25rem !important;
  }

  .device-icon-box {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 1rem !important;
  }

  /* Estreias e Gêneros em 1 Coluna cheia no Mobile */
  .premieres-grid,
  .genre-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .genre-tabs-nav {
    gap: 0.75rem !important;
    margin-bottom: 1.75rem !important;
  }

  .genre-tab-btn {
    font-size: 1rem !important;
  }

  /* Faixa de Marcas / Ecossistema no Mobile */
  .brand-hub-section {
    padding: 1rem 0 !important;
  }

  .brand-hub-grid {
    gap: 0.75rem !important;
    justify-content: center !important;
  }

  .brand-hub-item {
    padding: 0.4rem 0.75rem !important;
  }

  /* FAQ no Mobile */
  .faq-btn {
    padding: 1rem 1.15rem !important;
    font-size: 0.9rem !important;
  }

  /* Bottom Sheet do Modal de Checkout no Mobile (iPhone e Android) */
  .modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    max-height: calc(93dvh - var(--sat)) !important;
    padding-bottom: max(1.75rem, calc(1.25rem + var(--sab))) !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .checkout-dialog-diamond {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  /* Pílula de arrasto visível no topo do modal mobile */
  .bottom-sheet-handle {
    display: block !important;
    width: 44px;
    height: 4px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    margin: -0.25rem auto 1rem auto;
  }

  /* Área do Cliente no Mobile */
  .customer-vault-card {
    border-radius: 20px !important;
    padding: 1.35rem 1.15rem !important;
  }

  .subscription-diamond-card {
    padding: 1.25rem 1.1rem !important;
    border-radius: 18px !important;
  }

  /* =========================================================
     ATENDENTE IA 100% CENTRALIZADO NO MOBILE (PREVINE QUEBRA)
     ========================================================= */
  .chatbot-fab-container,
  #chatbotFabContainer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: max(1.25rem, calc(0.85rem + var(--sab))) !important;
    margin: 0 auto !important;
    z-index: 45 !important;
    width: auto !important;
    max-width: calc(100% - 2rem) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .chatbot-fab-btn {
    padding: 0.65rem 1.35rem !important;
    border-radius: 9999px !important;
    height: auto !important;
    min-height: 46px !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6), 0 0 20px rgba(6, 182, 212, 0.4) !important;
  }

  #chatbotTooltip {
    display: none !important;
    /* Desativa tooltip lateral flutuante que estouraria a largura da viewport */
  }

  /* Janela Aberta do Atendente IA no Mobile: 100% Centralizada com Respiro Lateral Seguro */
  .chatbot-window-panel,
  #chatbotWindow {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: max(1rem, calc(0.75rem + var(--sab))) !important;
    width: calc(100% - 1.5rem) !important;
    max-width: 410px !important;
    height: 82vh !important;
    height: 82dvh !important;
    max-height: calc(100dvh - 2.5rem) !important;
    border-radius: 22px !important;
    margin: 0 !important;
    transform-origin: center bottom !important;
    z-index: 99999 !important;
  }

  .chatbot-window-panel:not(.is-open),
  #chatbotWindow:not(.is-open) {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) scale(0.92) translateY(25px) !important;
  }

  .chatbot-window-panel.is-open,
  #chatbotWindow.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) scale(1) translateY(0) !important;
  }

  /* Campo de texto do atendente no mobile sem zoom automático no iOS */
  #chatbotInput {
    font-size: 16px !important;
  }

  #pwaInstallBanner {
    bottom: max(4.5rem, calc(4.25rem + var(--sab))) !important;
    left: max(0.75rem, calc(0.5rem + var(--sal))) !important;
    right: max(0.75rem, calc(0.5rem + var(--sar))) !important;
  }
}

/* Máscara de texto para segurança de credenciais e tokens em tela */
.font-masked {
  -webkit-text-security: disc !important;
  text-security: disc !important;
  letter-spacing: 0.15em !important;
}