 /* SERVICES CSS */
.sec-hero {
  padding-top: 60px !important;
  padding-bottom: 15px !important;
}

  .services-box-style-06 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 480px;
  }

  .services-box-style-06:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  }

  /* Container da imagem - altura fixa */
  .service-image-container {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    flex-shrink: 0;
  }

  .service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Overlay dark padrão (sempre visível) */
  .service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  /* Ícone de seta */
  .service-arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(10px, 10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .service-arrow-icon i {
    font-size: 18px;
    color: #1a1a1a;
    transition: transform 0.3s ease;
  }

  /* Efeitos no hover */
  .services-box-style-06:hover .service-image-container img {
    transform: scale(1.1);
  }

  .services-box-style-06:hover .service-image-overlay {
    opacity: 0.7;
  }

  .services-box-style-06:hover .service-arrow-icon {
    opacity: 1;
    transform: translate(0, 0);
  }

  .services-box-style-06:hover .service-arrow-icon i {
    transform: translateX(3px);
  }

  /* Conteúdo do card - altura fixa */
  .service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 200px;
  }

  /* Título - altura controlada */
  .service-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    text-transform: capitalize;
    transition: color 0.3s ease;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 84px;
  }

  .services-box-style-06:hover .service-title {
    color: #2d5c8f;
  }

  /* Botão Saiba Mais */
  .service-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
  }

  .service-btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s ease;
  }

  .service-btn-link:hover::after {
    width: calc(100% - 25px);
  }

  .service-btn-link i {
    transition: transform 0.3s ease;
    font-size: 14px;
  }

  .service-btn-link:hover i {
    transform: translateX(4px);
  }

  /* Badge de categoria */
  .service-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
  }

  /* BLOG */
  .elements-social ul {
    margin-bottom: 30px !important;
  }

  footer ul li {
    margin-bottom: 0px;
  }

  footer .nav-link { 
    padding: 0.1rem 0.1rem;
  }

  /* Responsivo */
  @media (max-width: 991px) {
    .services-box-style-06 {
      min-height: 460px;
    }

    .service-image-container {
      height: 260px;
      min-height: 260px;
      max-height: 260px;
    }

    .service-content {
      padding: 25px;
      min-height: 200px;
    }

    .service-title {
      font-size: 18px;
      min-height: 76px;
    }
  }

  @media (max-width: 575px) {
    .services-box-style-06 {
      min-height: 440px;
    }

    .service-image-container {
      height: 240px;
      min-height: 240px;
      max-height: 240px;
    }

    .service-content {
      padding: 20px;
      gap: 15px;
      min-height: 200px;
    }

    .service-title {
      font-size: 17px;
      min-height: 72px;
    }

    .service-btn-link {
      font-size: 14px;
    }

    .service-arrow-icon {
      width: 45px;
      height: 45px;
      bottom: 15px;
      right: 15px;
    }
  }


  /* PROJETOS CSS */
    /* Altura do banner */
              .banner-taller .interactive-banner-style-09 {
                height: 320px;
                min-height: 340px;
                position: relative;
                overflow: hidden;
                border-radius: 15px;
              }

              .banner-taller .interactive-banner-style-09 img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                position: absolute;
                top: 0;
                left: 0;
                z-index: 1;
              }

              /* Overlay preto com opacidade */
              .banner-taller .image-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.65);
                /* Preto com 45% de opacidade */
                z-index: 2;
              }

              /* Conteúdo acima do overlay */
              .banner-taller .image-content {
                position: relative;
                z-index: 3;
                padding: 50px 40px !important;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                height: 100%;
              }

              /* Responsividade */
              @media (max-width: 991px) {
                .banner-taller .interactive-banner-style-09 {
                  height: 450px;
                }

                .banner-taller .image-content {
                  padding: 40px 30px !important;
                }
              }

              @media (max-width: 767px) {
                .banner-taller .interactive-banner-style-09 {
                  height: 320px;
                }

                .banner-taller .image-content {
                  padding: 30px 20px !important;
                }

                .banner-taller .content-arrow {
                  width: 40px !important;
                  height: 40px !important;
                  line-height: 40px !important;
                }

                .banner-taller .content-arrow i {
                  font-size: 14px !important;
                }
              }

/* VIDEOS DEPOIMENTOS CSS*/
 /* Proporção fixa 16:9 com Bootstrap ratio */
  .services-box-img .ratio {
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 6px 0 0 6px;
  }

  .services-box-img .ratio img {
    transition: transform 0.4s ease;
  }

  .services-box-img .ratio:hover img {
    transform: scale(1.05);
  }

  .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  .services-box-img .ratio:hover .play-overlay {
    opacity: 1;
  }

  .video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .video-popup-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
  }

  .video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
  }

  .video-popup-close:hover {
    color: #ff6b6b;
  }

  .video-popup-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }

  .video-popup-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Responsividade extra para telas pequenas */
  @media (max-width: 576px) {
    .services-box-img .ratio {
      border-radius: 6px 6px 0 0;
    }

    .testimonials-box {
      border-radius: 0 0 6px 6px;
    }
  }        
  
  /* Fix para menu hamburguer no desktop responsivo */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #313e3b;
    z-index: 9999 !important;
    overflow-y: auto;
    padding: 80px 30px 30px;
  }
  
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: block !important;
  }
  
  .navbar-toggler {
    z-index: 10000 !important;
    position: relative;
  }
  
  /* Garantir que o backdrop funcione */
  body.navbar-collapse-show {
    overflow: hidden;
  }
}

/* Header do menu mobile com logo e botão fechar */
.mobile-menu-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 25px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu-logo-link img {
  max-width: 150px;
  height: auto;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  color: #ffc107;
  transform: rotate(90deg);
}

@media (max-width: 991px) {
  .mobile-menu-header {
    display: flex;
  }
  
  .navbar-collapse {
    padding-top: 80px !important;
  }
}

/* Animações */
.navbar-collapse.show .mobile-menu-header {
  animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Container do painel */
.solar-panel-container {
  overflow: hidden;
  cursor: crosshair;
}

/* Efeito de brilho branco */
.sun-glow-effect {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 25%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 15;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(15px);
  mix-blend-mode: overlay;
}

.solar-panel-container:hover .sun-glow-effect {
  opacity: 1;
}

/* Aumentar brilho da imagem ao passar o mouse */
.solar-panel-container:hover .panel-image {
  filter: brightness(1.1) contrast(1.05);
  transition: filter 0.3s ease;
}

.pl-0 {
padding-left: 0px !important;
  }

.stick .social-icons-header i {
  font-size: 13px !important;
}


.banner-text {
  margin-top: -70px;
}

@media (max-width: 9691px) {
  .banner-text {
    margin-top: 10px;
  }
}

.portfolio-filter li {
  padding: 0 15px;
 }

 .sticky-active .pt-1 {
  padding-top: 0px !important;
   transition: all 0.3s ease;
  }

  .sticky-active .social-icons-header {
    opacity: 0 !important;
  }