/* ==========================================================================
   4Conect — Página de Teste Grátis (/teste-gratis/)
   Estilos específicos complementares a styles.css
   ========================================================================== */

/* Hero dedicado ao Teste Grátis de 6 Horas */
.trial-hero {
  position: relative;
  padding: 36px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.trial-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  color: var(--blue-electric);
}

.breadcrumb-sep {
  color: rgba(148, 163, 184, 0.45);
}

.breadcrumb-current {
  color: var(--blue-electric);
  font-weight: 600;
}

.trial-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.trial-hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 24px;
}

.trial-hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.trial-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.trial-hero-points svg {
  color: var(--blue-electric);
  flex-shrink: 0;
}

.trial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trial-hero-actions .btn {
  flex: 1 1 200px;
  text-align: center;
}

/* ==========================================================================
   ELEMENTO VISUAL EXCLUSIVO DE STREAMING — PAINEL DE TESTE 6 HORAS
   ========================================================================== */
.trial-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stream-showcase {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 18px 0;
}

.stream-showcase-aura {
  position: absolute;
  inset: 6% 8%;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 25%, rgba(0, 194, 255, 0.34), transparent 58%),
              radial-gradient(circle at 78% 75%, rgba(168, 85, 247, 0.34), transparent 60%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.stream-player-card {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(155deg, rgba(14, 28, 62, 0.96) 0%, rgba(7, 14, 34, 0.98) 100%);
  border: 1px solid rgba(0, 194, 255, 0.38);
  box-shadow:
    0 28px 60px -18px rgba(2, 6, 23, 0.92),
    0 0 42px -12px rgba(79, 70, 229, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.stream-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.stream-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(0, 194, 255, 0.13);
  border: 1px solid rgba(0, 194, 255, 0.34);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #cffafe;
}

.stream-badge-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.38);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e9d5ff;
}

.stream-stage {
  position: relative;
  border-radius: 16px;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 194, 255, 0.28), transparent 52%),
    radial-gradient(circle at 82% 82%, rgba(168, 85, 247, 0.32), transparent 54%),
    linear-gradient(135deg, #09173c 0%, #17154d 55%, #241152 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.stream-stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 82%);
  pointer-events: none;
}

.stream-play-ring {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.14);
  border: 1px solid rgba(0, 194, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 34px rgba(0, 194, 255, 0.36);
}

.stream-play-core {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.5);
}

.stream-stage-caption {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stream-stage-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.stream-stage-sub {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.stream-eq {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
}

.stream-eq span {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-electric), var(--violet-bright));
  animation: eqWave 1.6s ease-in-out infinite;
}

.stream-eq span:nth-child(1) { height: 8px; animation-delay: 0s; }
.stream-eq span:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.stream-eq span:nth-child(3) { height: 12px; animation-delay: 0.4s; }
.stream-eq span:nth-child(4) { height: 18px; animation-delay: 0.15s; }
.stream-eq span:nth-child(5) { height: 10px; animation-delay: 0.35s; }

@keyframes eqWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.72; }
  50% { transform: scaleY(1); opacity: 1; }
}

.stream-timeline {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(5, 11, 26, 0.76);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.stream-timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.stream-timeline-row strong {
  font-family: var(--font-display);
  color: var(--blue-electric);
}

.stream-timeline-bar {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.stream-timeline-fill {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}

.stream-devices-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stream-device-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 6px;
  border-radius: 12px;
  background: rgba(11, 22, 48, 0.82);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
}

.stream-device-pill svg {
  color: var(--blue-electric);
}

/* ==========================================================================
   SEÇÃO 1 — COMO FUNCIONA O TESTE DE 6 HORAS
   ========================================================================== */
.section-how-trial {
  background: linear-gradient(180deg, rgba(8, 17, 38, 0.5) 0%, rgba(4, 8, 20, 0.96) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.how-trial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.how-trial-card {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: rgba(11, 22, 48, 0.72);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), border-color var(--transition);
}

.how-trial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
}

.how-trial-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #a5f3fc;
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.28);
  margin-bottom: 14px;
}

.how-trial-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-trial-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* Ajustes mobile 375px */
@media (max-width: 420px) {
  .trial-hero-actions .btn,
  .final-cta-actions .btn,
  .section-cta-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .stream-player-card {
    padding: 13px;
  }

  .stream-player-bar {
    flex-wrap: wrap;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .trial-hero-actions .btn {
    flex: 0 0 auto;
  }

  .how-trial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Desktop */
@media (min-width: 960px) {
  .trial-hero {
    padding: 56px 0 80px;
  }

  .trial-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 48px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .stream-eq span {
    animation: none !important;
  }
}
