/* CSS específico para a página de Vídeos Promocionais (videos.html) */

/* Cores Base para esta landing page */
:root {
  --video-blue-main: #2685be;
  --video-blue-gradient-1: #081b4b;
  --video-blue-gradient-2: #0d2f75;
  --video-blue-gradient-3: #114ea3;
  --video-bg-light: #f8fbff;
  --video-text-dark: #1e293b;
  --video-text-light: #f1f5f9;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header.scrolled {
  background: linear-gradient(90deg, var(--video-blue-gradient-1), var(--video-blue-gradient-2));
}

.cta-videos {
  background: #ffffff;
  color: var(--video-blue-main);
  border-color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
}

.header.scrolled .cta-videos {
  background: #ffffff;
  color: var(--video-blue-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.videos-hero {
  position: relative;
  padding: 160px 0 180px;
  background: linear-gradient(135deg, var(--video-blue-gradient-1) 0%, var(--video-blue-gradient-2) 50%, var(--video-blue-gradient-3) 100%);
  color: white;
  overflow: hidden;
  z-index: 1;
}

.videos-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

.videos-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.videos-badge {
  display: inline-block;
  background: rgba(38, 133, 190, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(38, 133, 190, 0.4);
  color: #8ed1fc;
}

.videos-hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: white;
}

.videos-hero-content h1 span {
  color: #8ed1fc;
}

.videos-hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.6;
}

.videos-features-row {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.video-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-feat i {
  color: #8ed1fc;
}

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

.videos-cta {
  background: var(--video-blue-main);
  color: white;
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  gap: 10px;
  border: none;
  font-weight: 600;
}

.videos-cta:hover {
  background: #2076ab;
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.25);
  color: white;
}

.videos-hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.videos-mockup-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.camera-img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 24px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 40px rgba(38, 133, 190, 0.5));
}

.floating-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(38, 133, 190, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 30px rgba(38, 133, 190, 0.6);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(38, 133, 190, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(38, 133, 190, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 133, 190, 0); }
}

.shape-fill-light {
  fill: var(--video-bg-light);
}

.shape-fill-darkblue {
  fill: var(--video-blue-gradient-1);
}

.eyebrow-text {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--video-blue-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 16px auto 48px;
}

/* ==========================================================================
   VANTAGENS DE CRIAR VÍDEOS
   ========================================================================== */
.why-video {
  background-color: var(--video-bg-light);
  padding: 80px 0 100px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  justify-content: center;
}

.benefit-card {
  background: white;
  padding: 32px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(38, 133, 190, 0.1);
  color: var(--video-blue-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--video-text-dark);
}

.benefit-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   TIPOS DE VÍDEOS (TABS)
   ========================================================================== */
.video-types {
  background-color: white;
  padding: 100px 0;
  overflow: visible !important;
}

.video-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  position: sticky;
  top: 76px;
  z-index: 50;
  background: white;
  padding: 16px 0;
}

.video-tab-btn {
  background: #f1f5f9;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--video-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.video-tab-btn:hover {
  background: #e2e8f0;
}

.video-tab-btn.active {
  background: var(--video-blue-main);
  color: white;
  box-shadow: 0 10px 20px rgba(38, 133, 190, 0.3);
}

.video-tab-content {
  display: block;
  margin-bottom: 64px;
}

.video-tab-content:last-child {
  margin-bottom: 0;
}

.video-type-card {
  background: var(--video-bg-light);
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.02);
}

.video-type-mockup {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: #1e293b;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-type-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-type-mockup:hover img {
  opacity: 0.6;
}

.play-overlay {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--video-blue-main);
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-type-mockup:hover .play-overlay {
  transform: scale(1.1);
}

.video-type-info h3 {
  font-size: 2rem;
  color: var(--video-text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-type-info h3 i {
  color: var(--video-blue-main);
}

.video-type-info p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.video-type-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-type-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--video-text-dark);
  font-weight: 500;
}

.video-type-list li i {
  color: var(--video-blue-main);
}

/* ==========================================================================
   TRABALHOS RECENTES
   ========================================================================== */
.recent-work {
  background: var(--video-blue-gradient-1);
  padding: 100px 0 180px;
  position: relative;
}

.recent-work .eyebrow-text {
  color: #8ed1fc;
}

.recent-work .section-title,
.recent-work .section-subtitle {
  color: white;
}

.video-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  background: #1e293b;
  aspect-ratio: 16/9;
  display: block;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.video-card:hover img {
  transform: scale(1.05);
  opacity: 0.5;
}

.video-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.video-card:hover .video-card-content {
  transform: translateY(0);
  opacity: 1;
}

.video-card-content h4 {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
}

.video-card-content p {
  margin: 0;
  color: #8ed1fc;
  font-size: 0.9rem;
  font-weight: 500;
}

.video-card .play-icon-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background: var(--video-blue-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.video-card:hover .play-icon-small {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mt-40 {
  margin-top: 40px;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline-light:hover {
  background: white;
  color: var(--video-blue-gradient-1);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  padding: 0;
  background: var(--video-blue-gradient-1);
  position: relative;
  overflow: visible !important;
  z-index: 10;
}

.final-cta-card {
  background: white;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  top: -80px;
  margin-bottom: -80px;
}

.cta-person {
  flex-shrink: 0;
  width: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.cta-person img {
  position: absolute;
  bottom: -127px;
  left: -20px;
  width: 203px;
  max-width: none;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--video-text-dark);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.cta-content h2 span {
  color: var(--video-blue-main);
}

.cta-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(38, 133, 190, 0.08);
  border: 1px solid rgba(38, 133, 190, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--video-blue-main);
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-benefits span:hover {
  background: rgba(38, 133, 190, 0.15);
  transform: translateY(-2px);
}

.cta-benefits i {
  color: var(--video-blue-main);
  font-size: 0.9rem;
}

.cta-action .btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.videos-footer {
  background: var(--video-blue-gradient-1);
  padding: 120px 0 40px;
}

.footer-copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ==========================================================================
   MID HERO BANNER
   ========================================================================== */
.mid-hero {
  background: white;
  padding: 40px 0 60px;
}

.mid-hero-banner {
  background: linear-gradient(135deg, var(--video-blue-gradient-1), var(--video-blue-gradient-3));
  border-radius: 32px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 50px rgba(8, 27, 75, 0.15);
  position: relative;
  overflow: hidden;
}

.mid-hero-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mid-hero-content h2 {
  color: white;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.mid-hero-content h2 span {
  color: #8ed1fc;
}

.mid-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 450px;
}

.mt-20 {
  margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .videos-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .videos-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .videos-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .videos-features-row {
    justify-content: center;
  }

  .videos-hero-actions {
    justify-content: center;
  }

  .final-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px 24px;
    margin-top: 60px;
  }

  .cta-person {
    width: auto;
    height: auto;
    justify-content: center;
  }

  .cta-person img {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -100px;
    margin-bottom: -10px;
    width: 180px;
  }

  .cta-benefits {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mid-hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }

  .mid-hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .video-type-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

  .video-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .video-tab-btn {
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .video-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Animações e classes utilitárias */
.float-slow {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1)); }
  50% { transform: translateY(-20px); filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.15)); }
  100% { transform: translateY(0px); filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1)); }
}

/* ==========================================================================
   VIDEO MODAL STYLE (PREMIUM GLASSMORPHISM)
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.video-modal.is-open {
  display: flex;
  background: rgba(4, 10, 25, 0.92);
  pointer-events: all;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal__container {
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(38, 133, 190, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-open .video-modal__container {
  opacity: 1;
  transform: scale(1);
}

.video-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotate(90deg);
}

/* Cursor pointer for video previews */
.video-type-mockup,
.video-type-mockup *,
.video-card,
.video-card *,
.videos-mockup-container,
.videos-mockup-container * {
  cursor: pointer;
}

