﻿/* ============================================================
   DEFESA EXPRESS — SAAS PREMIUM VIDEO PLAYER SYSTEM
   ============================================================ */

:root {
  --dx-gold: #D4AF37;
  --dx-gold-light: #F4E4BC;
  --dx-gold-dark: #B8860B;
  --dx-gold-glow: rgba(212, 175, 55, 0.35);
  --dx-onyx-950: #09090B;
  --dx-onyx-900: #0F0F12;
  --dx-onyx-850: #13131A;
  --dx-onyx-800: #1A1A22;
  --dx-text: #F5F5F7;
  --dx-text-dim: #A1A1AA;
  --dx-text-mute: #71717A;
  --dx-border: rgba(255, 255, 255, 0.08);
  --dx-border-gold: rgba(212, 175, 55, 0.25);
  --dx-radius: 16px;
  --dx-shadow-card: 0 20px 50px rgba(0, 0, 0, 0.6);
  --dx-shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Base Container */
.dxt-video-section {
  position: relative;
  width: 100%;
  margin: 40px 0;
  border-radius: var(--dx-radius);
  background: linear-gradient(135deg, rgba(19, 19, 26, 0.95), rgba(15, 15, 18, 0.98));
  border: 1px solid var(--dx-border-gold);
  box-shadow: var(--dx-shadow-card);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dxt-video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dx-gold), transparent);
  opacity: 0.8;
}

.dxt-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

/* Copy Column */
.dxt-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.dxt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--dx-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dxt-badge i, .dxt-badge svg {
  width: 14px;
  height: 14px;
}

.dxt-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--dx-text);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

.dxt-desc {
  font-size: 15px;
  color: var(--dx-text-dim);
  line-height: 1.6;
  margin: 0;
}

.dxt-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.dxt-btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dx-gold), var(--dx-gold-dark));
  color: #09090B;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  text-decoration: none;
}

.dxt-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  color: #000000;
}

.dxt-btn-play i, .dxt-btn-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dxt-btn-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  background: transparent;
  color: var(--dx-text-dim);
  border: 1px solid var(--dx-border);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dxt-btn-all:hover {
  border-color: var(--dx-gold);
  color: var(--dx-gold);
  background: rgba(212, 175, 55, 0.05);
}

/* Player Column */
.dxt-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--dx-onyx-950);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dxt-thumb-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dxt-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dxt-thumb-btn:hover img {
  transform: scale(1.05);
}

/* Play Button Glow Overlay */
.dxt-play-overlay {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dx-gold), var(--dx-gold-dark));
  color: #09090B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--dx-shadow-glow);
  transition: all 0.3s ease;
  animation: dx-pulse-glow 2.5s infinite;
  z-index: 2;
}

.dxt-play-overlay i, .dxt-play-overlay svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: #09090B;
}

.dxt-thumb-btn:hover .dxt-play-overlay {
  transform: scale(1.12);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.6);
  background: #ffffff;
}

.dxt-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(4px);
  color: var(--dx-text);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

/* Iframe Embed */
.dxt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  z-index: 3;
}

.dxt-iframe.active {
  display: block;
}

/* Fallback Card (quando não há vídeo cadastrado) */
.dxt-fallback-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--dx-radius);
  gap: 20px;
}

.dxt-fallback-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dxt-fallback-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--dx-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dxt-fallback-icon i, .dxt-fallback-icon svg {
  width: 24px;
  height: 24px;
}

.dxt-fallback-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dx-text);
  margin: 0 0 4px 0;
}

.dxt-fallback-text p {
  font-size: 13px;
  color: var(--dx-text-dim);
  margin: 0;
}

/* Keyframe Animations */
@keyframes dx-pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.3);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0), 0 0 35px rgba(212, 175, 55, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 0 20px rgba(212, 175, 55, 0.3);
  }
}

/* Responsividade Mobile */
@media (max-width: 900px) {
  .dxt-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .dxt-copy {
    align-items: center;
    text-align: center;
  }
  .dxt-actions {
    justify-content: center;
    width: 100%;
  }
  .dxt-btn-play, .dxt-btn-all {
    flex: 1 1 100%;
  }
  .dxt-fallback-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

/* ============================================================
   INTER-LANDING DROPDOWN MENU ("SERVIÇOS")
   ============================================================ */

.nav-links .dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links .dropdown-trigger {
  color: var(--text-dim, #A1A1AA);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-links .dropdown:hover .dropdown-trigger,
.nav-links .dropdown-trigger:hover {
  color: var(--gold, #D4AF37);
  background: rgba(212, 175, 55, 0.08);
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  background: rgba(15, 15, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1050;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #F5F5F7;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #D4AF37;
  transform: translateX(3px);
}

.dropdown-item i, .dropdown-item svg {
  color: #D4AF37;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

