/* ==========================================================================
   UPtv — Premium Cinematic Design System & Layout
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-deep: #050505;
  --bg-surface: #0a0a0a;
  --bg-card: #121212;
  --bg-card-hover: #181818;
  --bg-card-elevated: #1a1a1a;
  
  /* Red Accents */
  --red-primary: #E50914;
  --red-hover: #FF1A26;
  --red-dark: #8F0008;
  --red-glow: rgba(229, 9, 20, 0.4);
  --red-glow-subtle: rgba(229, 9, 20, 0.15);
  
  /* Neutrals & Text */
  --text-white: #FFFFFF;
  --text-gray: #B3B3B3;
  --text-dim: #777777;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-red: rgba(229, 9, 20, 0.5);
  
  /* Status */
  --green-online: #22C55E;
  --amber-rating: #FBBF24;
  
  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.9);
  --shadow-red-glow: 0 0 40px rgba(229, 9, 20, 0.35);
  --shadow-red-card: 0 12px 40px rgba(229, 9, 20, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Container sizes */
  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Add bottom padding on mobile for sticky CTA */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
}

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

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

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

/* Focus styles for WCAG Accessibility */
:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--red-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 20px;
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-white);
  text-transform: uppercase;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-gray);
  margin-top: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--red-primary);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.45);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--red-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(229, 9, 20, 0.65);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary-sm {
  font-size: 0.875rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
}

.btn-primary-lg {
  font-size: 1.15rem;
  padding: 18px 42px;
  letter-spacing: 0.8px;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Secondary outline button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-height: 54px;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.footer-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-gray);
  position: relative;
  padding: 4px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--red-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px 0;
  overflow: hidden;
  background-color: var(--bg-deep);
}

/* Background image & cinematic gradient mesh */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.38;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(229, 9, 20, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, #050505 0%, transparent 80%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.8) 50%, #050505 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* High-Converting Pill Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

.badge-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-white);
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Headline — Streaming Premium Tier
   ========================================================================== */
.hero-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 auto 24px auto;
  text-align: center;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-wrap: balance;
}

/* Linha 1: O MELHOR APP DE */
.hero-headline-top {
  display: block;
  font-size: clamp(1.75rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: clamp(1px, 0.2vw, 2.2px);
  color: #FFFFFF;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  animation: headlineFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  will-change: transform, opacity;
}

/* Linha 2: STREAMING DO BRASIL (Punchline HDR) */
.hero-headline-bottom {
  display: block;
  font-size: clamp(2.45rem, 6.6vw, 4.95rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  background: linear-gradient(180deg, #FFFFFF 25%, #FF2633 78%, #E50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 38px rgba(229, 9, 20, 0.5)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.9));
  opacity: 0;
  animation: headlinePunchline 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  will-change: transform, opacity, filter;
  position: relative;
}

@media (max-width: 480px) {
  .hero-headline {
    gap: 2px;
    margin-bottom: 18px;
  }
  .hero-headline-top {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
    letter-spacing: 0.8px;
  }
  .hero-headline-bottom {
    font-size: clamp(2.15rem, 9.4vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-gray);
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.55;
}

.hero-cta-wrapper {
  margin-bottom: 24px;
}

/* Trust Micro-Checklist */
.hero-trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  list-style: none;
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #B0B0B0;
}

.trust-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22C55E;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

/* ==========================================================================
   Galleries (Movies & Series Showcase)
   ========================================================================== */
.gallery-section {
  padding: 80px 0 50px 0;
  position: relative;
  background-color: var(--bg-deep);
  overflow: hidden;
}

/* TV Experience Showcase */
.tv-showcase-container {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 0 20px 0;
}

.tv-showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94%;
  height: 85%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.28) 0%, rgba(229, 9, 20, 0.08) 50%, transparent 75%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.tv-showcase-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(229, 9, 20, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  background: #0a0a0a;
}

.tv-showcase-frame:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.98), 0 0 65px rgba(229, 9, 20, 0.4);
}

.tv-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Subtle edge gradients for clean fade-out */
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deep) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deep) 0%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScrollLeft 42s linear infinite;
  will-change: transform;
}

.marquee-track-reverse {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScrollRight 42s linear infinite;
  will-change: transform;
}

/* Hover pauses marquee smoothly */
.marquee-container:hover .marquee-track,
.marquee-container:hover .marquee-track-reverse {
  animation-play-state: paused;
}

/* Poster Card Styling */
.poster-card {
  width: 220px;
  height: 330px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.poster-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--border-red);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px var(--red-glow-subtle);
  z-index: 20;
}

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

@media (max-width: 640px) {
  .poster-card {
    width: 165px;
    height: 250px;
  }
}

/* ==========================================================================
   Streaming Brands Typographic Marquee
   ========================================================================== */
.ticker-section {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.6);
  position: relative;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marqueeScrollLeft 36s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-gray);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-bullet {
  color: var(--red-primary);
  font-size: 1.4rem;
  line-height: 0;
}

.ticker-item:hover {
  color: var(--text-white);
}

.ticker-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ==========================================================================
   Futebol & Grandes Campeonatos
   ========================================================================== */
.sports-section {
  padding: 90px 0 50px 0;
  background-color: var(--bg-deep);
  position: relative;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

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

.sports-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.sports-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.sports-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 9, 20, 0.2);
}

.sports-card:hover img {
  transform: scale(1.04);
}

/* Featured Sports Banner */
.sports-feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

@media (max-width: 768px) {
  .sports-feature-card {
    height: 280px;
    padding: 24px;
  }
}

.sports-feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}

.sports-feature-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #050505 15%, rgba(5, 5, 5, 0.6) 60%, rgba(5, 5, 5, 0.2) 100%);
  z-index: 2;
}

.sports-feature-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.sports-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.25);
  border: 1px solid var(--red-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sports-feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sports-feature-desc {
  color: var(--text-gray);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Intermediate CTA Section
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0;
  background-color: var(--bg-deep);
  position: relative;
}

.cta-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.15) 0%, rgba(15, 15, 15, 0.95) 75%);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 64px 32px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(229, 9, 20, 0.15);
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-banner-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* ==========================================================================
   Social Proof (Depoimentos)
   ========================================================================== */
.testimonials-section {
  padding: 90px 0 60px 0;
  background-color: var(--bg-deep);
  position: relative;
}

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

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

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #22C55E;
  font-weight: 600;
}

.testimonial-stars {
  color: var(--amber-rating);
  font-size: 0.875rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #D1D5DB;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   Pricing Section (Planos)
   ========================================================================== */
.pricing-section {
  padding: 100px 0 80px 0;
  background-color: var(--bg-deep);
  position: relative;
}

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

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

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

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
}

/* PLAN 2: FEATURED / RECOMMENDED CARD */
.plan-card-featured {
  background: linear-gradient(180deg, #181112 0%, #0e0a0a 100%);
  border: 2px solid var(--red-primary);
  box-shadow: 0 0 35px rgba(229, 9, 20, 0.28), var(--shadow-lg);
  transform: translateY(-8px);
}

@media (min-width: 1121px) {
  .plan-card-featured {
    transform: translateY(-12px);
  }
  .plan-card-featured:hover {
    transform: translateY(-18px) scale(1.02);
  }
}

.plan-card-featured:hover {
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.45), var(--shadow-lg);
}

.plan-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.6);
  white-space: nowrap;
  animation: badgeGlowPulse 2.5s infinite ease-in-out;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
}

.plan-period {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 12px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-gray);
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
}

.plan-card-featured .price-value {
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.plan-billing-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #C8C8C8;
}

.plan-feature-icon {
  color: var(--red-primary);
  flex-shrink: 0;
  font-weight: 800;
}

.plan-action {
  margin-top: auto;
}

.plan-action .btn-primary {
  width: 100%;
}

.btn-plan-standard {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.btn-plan-standard:hover {
  background-color: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
  padding: 100px 0 110px 0;
  background: radial-gradient(circle at 50% 100%, rgba(229, 9, 20, 0.18) 0%, #050505 70%);
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.final-cta-content {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.final-cta-text {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-gray);
  margin-bottom: 36px;
}

/* ==========================================================================
   Sticky Mobile CTA Bar
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px env(safe-area-inset-bottom, 12px) 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-primary);
}

.mobile-sticky-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-white);
}

.mobile-sticky-btn {
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
  }
}

/* ==========================================================================
   Live Activity Toast — Social Proof Premium (lat-*)
   ========================================================================== */

/* Container */
.live-activity-toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 850;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px 13px 13px;
  min-width: 290px;
  max-width: 340px;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  /* Estado inicial: invisível e deslocado */
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.live-activity-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Animação de troca de mensagem */
.live-activity-toast.msg-exit {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

/* Ícone avatar lateral */
.lat-icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.lat-icon-svg {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: block;
}

/* Dot verde pulsante no canto inferior direito do avatar */
.lat-pulse-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-online, #22c55e);
  border: 2px solid rgba(14, 14, 14, 0.95);
  animation: latPulse 2.2s infinite ease-in-out;
}

@keyframes latPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* Bloco de texto */
.lat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lat-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green-online, #22c55e);
  line-height: 1;
}

.lat-message {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #EEEEEE;
  line-height: 1.35;
  margin: 0;
  /* Truncagem elegante em 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lat-time {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

/* Botão fechar */
.lat-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.lat-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .live-activity-toast {
    bottom: 80px;
    left: 14px;
    right: 14px;
    max-width: none;
    min-width: 0;
  }
}

/* ==========================================================================
   Devices Section – Dispositivos Compatíveis
   ========================================================================== */
.devices-section {
  padding: 100px 0 110px;
  background-color: var(--bg-deep);
  position: relative;
}

.devices-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(229, 9, 20, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.devices-container {
  position: relative;
  z-index: 1;
}

.devices-header {
  text-align: center;
  margin-bottom: 64px;
}

.devices-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
}

.devices-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

/* Card */
.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  cursor: default;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.device-card:hover {
  border-color: rgba(229, 9, 20, 0.3);
  background: rgba(229, 9, 20, 0.04);
  transform: translateY(-3px);
}

.device-icon-wrap {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.device-icon-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.device-card:hover .device-icon-wrap {
  color: #fff;
}

.device-name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-gray);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.device-card:hover .device-name {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .devices-section {
    padding: 72px 0 80px;
  }

  .devices-header {
    margin-bottom: 44px;
  }

  .devices-subtitle br {
    display: none;
  }

  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    padding: 0 4px;
  }

  .device-card {
    padding: 24px 12px 18px;
    gap: 12px;
  }

  .device-icon-wrap {
    width: 44px;
    height: 44px;
  }

  .device-name {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  padding: 48px 0 36px 0;
  background-color: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-slogan {
  color: var(--text-gray);
  font-size: 0.9375rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-white);
}

.footer-contact a:hover {
  color: var(--red-primary);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-text {
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 780px;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-link:hover {
  color: #fff;
}

/* ==========================================================================
   Legal Modal (Termos / Privacidade)
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-backdrop.open {
  display: flex;
}

.legal-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.legal-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.legal-modal-body {
  font-size: 0.9375rem;
  color: #C2C2C2;
  line-height: 1.7;
}

.legal-modal-body p {
  margin-bottom: 16px;
}
