
/* HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.3s ease;
}

/* Quando rolar a página */
header.scrolled {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

.topbar {
  background: transparent;
  padding: 20px 40px;
}

nav {
  background: transparent;
  padding: 10px 40px;
  display: flex;
  gap: 25px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo span {
  color: #c40000;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ff1a1a;
}

nav .active {
  color: #ff1a1a;
  border-bottom: 2px solid #ff1a1a;
  padding-bottom: 4px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.logo span {
  color: #c40000;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

nav .active {
  color: #c40000;
  border-bottom: 2px solid #c40000;
  padding-bottom: 4px;
}

/* ================= EMPRESA INSTITUCIONAL ================= */

.empresa-institucional {
  padding: 130px 20px;
  background: #f4f4f4;
}

.empresa-bloco {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: #c40000;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.empresa-texto {
  flex: 1;
}

.empresa-texto h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.empresa-texto p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

.empresa-imagem {
  flex: 1;
}

.empresa-imagem img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
}

.empresa-imagem img:hover {
  transform: scale(1.03);
}

.logo {
  text-decoration: none;
  color: white;
}


/* ================= SERVIÇOS COM IMAGEM ================= */

.servicos-imagem {
  background: #f4f6f8;
  padding: 120px 20px;
}

.container-servicos {
  max-width: 1200px;
  margin: 0 auto;
}

.servicos-topo {
  text-align: center;
  margin-bottom: 70px;
}

.servicos-topo h2 {
  font-size: 34px;
  margin: 15px 0;
  color: #222;
}

.servicos-topo p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  line-height: 1.7;
}

/* GRID */

.servicos-grid-img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* CARD */

.card-servico-img {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.card-servico-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* IMAGEM */

.card-servico-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* CONTEÚDO */

.card-servico-img .conteudo {
  padding: 30px;
}

.card-servico-img h3 {
  color: #c40000;
  margin-bottom: 10px;
}

.card-servico-img p {
  color: #555;
  line-height: 1.6;
}

/* ================= SERVIÇOS CORPORATIVO V2 ================= */

.servicos-corporativo-v2 {
  background: linear-gradient(to right, #0a0a0a, #141414);
  padding: 140px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Marca d'água no fundo */
.servicos-corporativo-v2::before {
  content: "M";
  position: absolute;
  font-size: 400px;
  font-weight: bold;
  color: rgba(255, 0, 0, 0.03);
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.servicos-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LADO ESQUERDO */

.servicos-left {
  flex: 1;
}

.servicos-left h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.btn-servicos {
  display: inline-block;
  background: #c40000;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-servicos:hover {
  background: #990000;
}

/* LADO DIREITO */

.servicos-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.servico-card-v2 {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.servico-card-v2:hover {
  transform: translateY(-6px);
  border-color: #c40000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.servico-card-v2 h3 {
  color: #ff1a1a;
  margin-bottom: 10px;
  font-size: 16px;
}

.servico-card-v2 p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}

/* RESPONSIVO */

@media (max-width: 900px) {

  .servicos-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .servicos-right {
    grid-template-columns: 1fr;
  }

  .servicos-left h2 {
    font-size: 28px;
  }

}

/* =========================== */
/* SEÇÃO PRODUTOS ESTILO GRID */
/* =========================== */

.produtos-section {
  position: relative;
  padding: 140px 20px;
  background: url('../Media/Detonação.png') center/cover no-repeat;
  overflow: hidden;
}

.produtos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(85, 0, 0, 0.85);
}

.produtos-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.produtos-container h2 {
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 80px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 55px 35px;
}

.produto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  cursor: pointer;
  transition: 0.3s ease;
}

.produto-item span {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

/* LOSANGO CORRIGIDO */

.produto-icone {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  border: 3px solid white;
  transition: 0.3s ease;
  overflow: hidden;
}

/* FUNDO ANIMADO */

.produto-icone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transform: scale(0);
  transition: 0.3s ease;
  z-index: 0;
}

/* ÍCONE */

.produto-icone i {
  position: relative;
  font-size: 40px;
  color: white;
  transform: rotate(-45deg);
  transition: 0.3s ease;
  z-index: 1;
}

/* HOVER CORRETO */

.produto-item:hover .produto-icone::before {
  transform: scale(1);
}

.produto-item:hover .produto-icone i {
  color: #005055;
}

/* HOVER */

.produto-item:hover .produto-icone {
  background: white;
}

.produto-item:hover .produto-icone i {
  color: #ff0000;
}
.produto-item:hover span {
  transform: translateY(-5px);
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .produtos-container h2 {
    font-size: 28px;
  }
}


@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .topbar {
    padding: 15px 20px;
  }

  nav {
    padding: 10px 20px;
  }

}

@media (max-width: 768px) {

  .institucional-imagem {
    display: none;
  }

  .empresa-imagem {
    display: none;
  }

}

@media (max-width: 768px) {

  .numeros {
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
  }

  .numero-box h2 {
    font-size: 32px;
  }

}

html, body {
  overflow-x: hidden;
}


/* ================= CLIENTES ================= */

.carousel {
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 100px;
  width: max-content;
  will-change: transform;
}

.carousel-track img {
  height: 130px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
  
}

.carousel-track img:hover {
  transform: scale(1.3);
  opacity: 1;
}

.carousel-track img:hover {
  transform: scale(1.4);
  opacity: 1;
}

.carousel,
.carousel * {
  user-select: none;
  -webkit-user-drag: none;
}

.clientes {
  padding: 80px 0 0 0;
  background: #f5f5f5;
  text-align: center;
}

/* TÍTULO */
.clientes h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

/* FAIXA VERMELHA */
.clientes-faixa {
  background: #e2e2e2;
  padding: 30px 0;
  overflow: hidden;
}