/* ============================================
   INFINITY HERO SECTION - CSS ÚNICO SEM CONFLITOS
   ============================================ */

/* Reset apenas para esta seção */
.hero-infinity-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

/* Container do vídeo */
.infinity-hero-background {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.infinity-hero-background.loaded {
  opacity: 1;
}

.infinity-youtube-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.infinity-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  min-width: 150%;
  min-height: 150%;
  transform: translate(-50%, -50%) scale(1.1);
  object-fit: cover;
  pointer-events: none;
  border: none;
  outline: none;
}

/* Esconder controles do YouTube */
.infinity-bg-video::-webkit-media-controls {
  display: none !important;
  opacity: 0 !important;
}

/* Overlay escuro */
.infinity-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Loading Spinner */
.infinity-video-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.infinity-video-loading.hide {
  opacity: 0;
  visibility: hidden;
}

.infinity-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #3B82F6;
  border-right: 4px solid #234C90;
  border-radius: 50%;
  animation: infinitySpin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes infinitySpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.infinity-video-loading span {
  color: white;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
}

/* Container do conteúdo */
.infinity-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.infinity-row {
  display: flex;
  flex-wrap: wrap;
}

.infinity-col-full {
  width: 100%;
  text-align: center;
}

/* BADGE - MAIOR E MAIS QUADRADO */
.infinity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 24px;
  width: fit-content;
  margin: 0 auto 28px auto;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

.infinity-badge-icon {
  width: 18px;
  height: 18px;
}

.infinity-badge span {
  color: white;
}

/* TÍTULO */
.infinity-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: white;
  max-width: 100%;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* DESCRIÇÃO */
.infinity-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 100%;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* BOTÕES */
.infinity-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* BOTÃO WHATSAPP - ESTILO AZUL */
.infinity-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.infinity-btn-whatsapp:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white;
}

/* BOTÃO SERVIÇOS - ESTILO TRANSPARENTE */
.infinity-btn-services {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid white;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.infinity-btn-services:hover {
  background: white;
  color: #1E40AF;
  transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 992px) {
  .infinity-title {
    font-size: 44px;
  }
  
  .infinity-description {
    font-size: 17px;
  }
  
  .infinity-badge {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .infinity-title {
    font-size: 32px;
  }
  
  .infinity-description {
    font-size: 15px;
    margin-bottom: 32px;
  }
  
  .infinity-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .infinity-btn-whatsapp,
  .infinity-btn-services {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
  }
  
  .infinity-badge {
    font-size: 12px;
    padding: 8px 16px;
    gap: 8px;
    border-radius: 10px;
  }
  
  .infinity-badge-icon {
    width: 14px;
    height: 14px;
  }
  
  .infinity-bg-video {
    width: 180%;
    height: 180%;
    min-width: 180%;
    min-height: 180%;
    transform: translate(-50%, -50%) scale(1.2);
  }
}





/* About Section - Infinity System com Ícones */
.about-infinity {
  background-color: #ffffff;
  padding: 80px 0;
}

.about-infinity .badge-sobre {
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.about-infinity .title-principal {
  color: #111827;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-infinity .description {
  color: #4B5563;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.about-infinity .btn-ver-mais {
  color: #3B82F6;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.about-infinity .btn-ver-mais:hover {
  gap: 12px;
  color: #2563EB;
}

/* Cards com Ícones */
.about-infinity .card-stats {
  background: #F3F4F6;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-infinity .card-stats:hover {
  background: #E5E7EB;
  transform: translateY(-5px);
}

.about-infinity .card-icon {
  font-size: 40px;
  color: #3B82F6;
  margin-bottom: 15px;
  display: inline-block;
}

.about-infinity .card-number {
  font-size: 28px;
  font-weight: 800;
  color: #3B82F6;
  line-height: 1;
}

.about-infinity .card-label {
  color: #111827;
  font-weight: 600;
  margin-top: 8px;
  font-size: 14px;
}

/* Responsivo */
@media (max-width: 768px) {
  .about-infinity .title-principal {
    font-size: 28px;
  }
  
  .about-infinity .card-stats {
    padding: 20px 15px;
  }
  
  .about-infinity .card-icon {
    font-size: 32px;
  }
  
  .about-infinity .card-number {
    font-size: 24px;
  }
  
  .about-infinity .card-label {
    font-size: 12px;
  }
}




/* Efeitos de impacto */
.services section .col a:hover {
  background: #2563EB !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}

/* Responsivo */
@media (max-width: 992px) {
  .services section {
    padding: 60px 0 !important;
  }
  
  .services section .row {
    flex-direction: column;
    gap: 40px !important;
  }
  
  .services section h2 {
    font-size: 32px !important;
    text-align: center;
  }
  
  .services section p {
    font-size: 16px !important;
    text-align: center;
  }
  
  .services section a {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
  }
}