/* 🌈 ================================
   VARIÁVEIS GLOBAIS & BASE
=================================== */
:root {
  --grad1: #2b6cb0;
  --grad2: #38b2ac;
  --dark: #1e2a3a;
  --text: #2d3748;
  --bg: #f9f9f9;
}

body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ================================
   🔹 TOPO / TOPBAR
=================================== */
.topbar {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

/* ================================
   🔹 NAVEGAÇÃO
=================================== */
.nav-link {
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0d6efd;
}

.btn-grad {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  transition: opacity 0.3s ease;
}

.btn-grad:hover {
  opacity: 0.9;
}

/* ================================
   🦸 HERO / CARROSSEL
=================================== */
.hero-img {
  max-height: 560px;
  object-fit: cover;
  width: 100%;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  padding: 1rem 1.5rem;
}

/* ================================
   📝 TÍTULOS
=================================== */
.section-title {
  font-weight: 800;
  color: #2d3a4a;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   🧭 SETORES
=================================== */
.setores-grad {
  background: linear-gradient(180deg, var(--grad1), var(--grad2));
}

.setor-card {
  width: 180px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: #fff;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.setor-card:hover {
  transform: translateY(-4px);
}

.setor-card img {
  width: 64px;
  height: 64px;
}

.setor-card span {
  font-weight: 600;
  text-align: center;
}

/* ================================
   🧰 SERVIÇOS
=================================== */
.service-card {
  padding: 28px;
  background: linear-gradient(135deg, #2c3e50, #3a5fa3);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 24px;
}

/* ================================
   🧾 CARDS GENÉRICOS
=================================== */
.card h5 {
  font-weight: 700;
}

/* ================================
   🧱 SERVIÇOS REALIZADOS (IMAGENS)
=================================== */
.serv-img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
}

.serv-img:hover {
  transform: scale(1.03);
}

/* ================================
   🧑‍🤝‍🧑 CLIENTES (LOGOS)
=================================== */
.client-logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%);
}

.client-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* ================================
   🏞 GALERIA SOBRE NÓS
=================================== */
#galeriaSobre img {
  max-width: 75%;
  max-height: 300px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* ================================
   📞 CONTATO
=================================== */
.contact-grad {
  background: linear-gradient(90deg, var(--grad1), var(--grad2));
  color: #fff;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ================================
   🦶 RODAPÉ / FOOTER
=================================== */
.footer-grad {
  background: linear-gradient(180deg, var(--grad1), var(--grad2));
  color: #fff;
  padding: 30px 0;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #e2e8f0;
  text-decoration: underline;
}

/* ================================
   💬 WHATSAPP FLUTUANTE
=================================== */
.zap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.zap img {
  width: 32px;
  height: 32px;
}

/* ================================
   🧭 SETAS DO CARROSSEL
=================================== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.5 0l-4 4 4 4V0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.5 0l4 4-4 4V0z'/%3E%3C/svg%3E");
}

/* ================================
   📱 RESPONSIVIDADE
=================================== */
@media (max-width: 992px) {
  .carousel-caption {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 768px) {
  .serv-img {
    width: 100%;
    height: auto;
  }

  .client-logo {
    max-width: 90px;
    max-height: 60px;
  }

  .setor-card {
    width: 140px;
    padding: 12px;
  }

  .topbar {
    text-align: center;
    font-size: 13px;
  }

  .carousel-caption {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }

  .navbar-brand img {
    max-height: 45px;
  }
}

@media (max-width: 576px) {
  .setor-card {
    width: 120px;
    font-size: 13px;
  }

  .carousel-caption {
    display: none;
  }
}
