/* Reset básico */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #232d3c; background: #fff; }
a { color: #1657b6; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Containers e espaçamentos */
.container { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 0 24px;
  width: 100%;
}

/* HEADER */
header { 
  padding: 0;
  margin: 0;
  border: none;
  background: #fff;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-container {
  position: relative;
  width: 75%;
  max-width: 1100px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: #fff;
  margin: 0 auto;
}

.logo-banner {
  width: 1200px !important;
  min-width: 1200px !important;
  max-width: 1200px !important;
  height: 150px !important;
  display: block;
  margin: 0 auto;
  object-fit: none;
  object-position: center;
  box-sizing: content-box !important;
}

.top-nav {
  position: absolute;
  top: 20px;
  right: 40px;
  z-index: 100;
}

.top-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.top-nav ul li {
  margin: 0;
}

.top-nav ul li a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background: #1B4E90;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.top-nav ul li a:hover {
  background: #A7CB47;
  text-decoration: none;
}

.hero {
  width: 75%;
  max-width: 1100px;
  height: 300px;
  margin: 0 auto;
  background-image: url('fundoprodutos.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 { 
  font-size: 3.2rem; 
  font-weight: bold; 
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p { 
  font-size: 1.4rem; 
  margin-bottom: 35px;
  line-height: 1.5;
  opacity: 0.95;
}
.btn-primary {
  display: inline-block; background: #1657b6; color: #fff; font-weight: 600; padding: 14px 35px; border-radius: 6px;
  transition: background 0.2s; box-shadow: 0 3px 16px 0 #00236622;
}
.btn-primary:hover { background: #1b377a; }

/* SECTION GERAL */
.section { padding: 64px 0 48px 0; }
.section-bg { background: #f4f8fd; }
h2 { color: #1657b6; font-size: 2.1rem; font-weight: bold; margin-bottom: 23px; }
ul { margin-top: 10px; margin-bottom: 15px; }
li { margin-bottom: 7px; }

.produtos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px;
  margin-top: 24px;
}
.produto-card {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 10px #00236609; text-align: center;
  padding: 35px 18px; min-height: 200px; display: flex; flex-direction: column; align-items: center;
}
.produto-img {
  background: #e9eef4; width: 90%; max-width: 150px; height: 100px; border-radius: 8px; margin-bottom: 17px;
}

.conteudo-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px;
}
.conteudo-card {
  background: #f4f8fd; border-radius: 10px; padding: 26px 20px 19px 20px;
  box-shadow: 0 2px 6px #0023660a;
}
.conteudo-card h3 { color: #1657b6; font-size: 1.2rem; margin-bottom: 9px; }

.catalogos-list { list-style: none; padding-left: 0; }
.catalogos-list li { margin-bottom: 12px; }
.catalogos-list a { color: #1657b6; font-weight: 500; }
.catalogos-list a:hover { text-decoration: underline; }

/* SOBRE NÓS */
.sobre-nos {
  padding: 10px 0 3px 0;
  background: linear-gradient(to bottom, #fff, #f8fafc);
}
.sobre-nos-container {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}
.sobre-nos-logo {
  flex: 0 0 460px; /* Aumentado para acomodar a nova largura da imagem */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0; /* Removi o padding do topo */
}
.sobre-nos-logo img {
  width: 460px;
  height: 460px;
  object-fit: contain;
  /* Removido border-radius e background */
  /* Suavizada a sombra para funcionar melhor com transparência */
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}

.sobre-nos-texto {
  flex: 1;
  padding-top: 30px;
  max-width: 680px;
}
.sobre-nos-texto h2 {
  font-size: 2.8rem;
  color: #215099;
  font-weight: 700;
  margin: 0 0 30px 0;
  line-height: 1.2;
}
.sobre-nos-texto p {
  font-size: 1.2rem;
  color: #193047;
  margin: 0 0 35px 0;
  line-height: 1.7;
  letter-spacing: -0.01em;
  opacity: 0.9;
}
.sobre-nos-texto ul {
  margin: 0;
  padding-left: 28px;
  color: #193047;
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.85;
}
.sobre-nos-texto ul li {
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
}
.sobre-nos-texto ul li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #99c355;
  border-radius: 50%;
}

/* Responsivo: empilha logo acima do texto no mobile */
@media (max-width: 1200px) {
  .sobre-nos-container {
    gap: 60px;
  }
  .sobre-nos-logo img {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .diferenciais-title {
    font-size: 1.8rem;
  }
  .diferencial-card {
    width: 340px;
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  .sobre-nos-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .sobre-nos-logo {
    justify-content: center;
  }
  .sobre-nos-logo img {
    width: 340px;
    height: 340px;
  }
  .sobre-nos-texto {
    text-align: center;
    padding-top: 0;
  }
  .sobre-nos-texto h2 {
    font-size: 2.2rem;
  }
  .sobre-nos-texto ul {
    text-align: left;
  }
  .container {
    padding: 0 20px;
  }
  .produto-card img {
    width: 200px;
    height: 200px;
  }
}

/* FORM CONTATO */
.contato-form { margin-top: 10px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 18px; }
.input-full { width: 100%; }
input, textarea {
  border: 1px solid #c9d3eb; border-radius: 6px; padding: 12px; font-size: 1rem;
  font-family: inherit; background: #f9fafc;
  transition: border 0.2s;
}
input:focus, textarea:focus { border: 1.5px solid #1657b6; outline: none; }
button[type="submit"] { margin-top: 12px; }

/* FOOTER */
.rodape-tw7 {
  background: #3d8c2f;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  margin-top: 20px;
  box-shadow: 0 2px 24px #0002 inset;
}

.rodape-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 18px 10px 18px; /* Reduzido padding vertical */
  gap: 24px; /* Reduzido gap entre colunas */
}

.rodape-col {
  flex: 1 1 50%;
  min-width: 210px;
}

.rodape-col h4 {
  font-size: 0.95rem; /* Reduzido tamanho da fonte */
  font-weight: 700;
  margin-bottom: 8px; /* Reduzido margin bottom */
  color: #fff;
  letter-spacing: 1px;
}

.rodape-col ul {
  list-style: none;
  margin: 0 0 8px 0; /* Reduzido margin bottom */
  padding: 0;
}

.rodape-col ul li {
  margin-bottom: 4px; /* Reduzido espaço entre itens */
  font-size: 0.95rem; /* Reduzido tamanho da fonte */
  color: #fff;
}

.icon-facebook img {
  width: 42px; /* Reduzido tamanho do ícone */
  height: 42px;
  margin-top: 8px; /* Reduzido margin top */
  filter: brightness(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.2s ease;
}
.icon-facebook img:hover {
  transform: scale(1.08);
  filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.rodape-dir {
  text-align: right;
}

.rodape-bottom {
  background: #2A2A2A; /* Tom de grafite */
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 13px 10px 11px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
}

.rodape-tw7 .rodape-dir ul li a {
  color: #fff;
  transition: opacity 0.2s ease;
}

.rodape-tw7 .rodape-dir ul li a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Responsivo */
@media (max-width: 770px) {
  .rodape-main {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 12px 8px 12px;
  }
  .rodape-dir {
    text-align: left;
  }
  .rodape-col {
    min-width: 0;
  }
}

/* DIFERENCIAIS */
.diferenciais-section {
  background: #fff;
  padding: 30px 0 60px 0;
  text-align: center;
}
.diferenciais-title {
  color: #1657b6;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}
.diferenciais-subtitle {
  color: #232d3c;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.9;
}
.diferenciais-cards {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.diferencial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(0, 35, 102, 0.08);
  padding: 32px 26px 28px 26px;
  width: 304px;
  min-height: 336px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}
.diferencial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(22, 87, 182, 0.15);
  transform: translateY(-5px);
}
.diferencial-card img {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  object-fit: contain;
}
.diferencial-card h3 {
  font-size: 0.89rem;
  font-weight: bold;
  color: #16a085;
  margin-bottom: 8px;
}
.diferencial-card p {
  font-size: 0.78rem;
  color: #333;
}

/* CERTIFICAÇÕES */
.certificacoes-section {
  background: #f8fafc;
  padding: 70px 0 50px 0;
  text-align: center;
}

.cert-title-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 45px;
}

.cert-title-bar::before,
.cert-title-bar::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: #1991d7;
  margin: 0 25px;
  opacity: 0.7;
}

.cert-title-bar span {
  color: #1991d7;
  font-weight: 500;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cert-logos img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.08));
}

/* Tratamento especial para o logo da ABRALIMP */
.cert-logos img[alt="ABRALIMP"] {
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
  mix-blend-mode: multiply;
}

.cert-logos img:hover {
  transform: scale(1.05);
}

.cert-frase {
  color: #1991d7;
  font-size: 1.06rem;
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 500;
}

/* PRODUTOS - NOVO CSS */
.produtos-cards {
  background: #fff;
  padding: 70px 0 50px 0;
  width: 100%;
}

.container-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.produto-card {
  width: 280px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: none;
  border-radius: 24px;
  transition: transform 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-8px);
}

.produto-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

/* NAVIGATION BAR */
.nav-bar {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 100;
  background: transparent;
}

.main-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-nav > li > a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.main-nav > li > a:hover {
  color: #99c355;
  text-decoration: none;
}

.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow {
  font-size: 12px;
  margin-left: 6px;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1B4E90;
  min-width: 300px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 4px;
  z-index: 1000;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  margin-top: 5px;
  display: none !important; /* Força o display none */
}

.dropdown-content.show {
  display: block !important; /* Força o display block quando tiver a classe show */
}



.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: transparent;
}

.dropdown-content li a:hover {
  background: #A7CB47;
  color: white;
}

/* PRODUTOS DESTAQUE */
.produtos-destaque {
  background: #f8fdf8;
  padding: 40px 0 40px 0;
}

.container-prod {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

.produtos-destaque h2 {
  color: #29507a;
  font-size: 1.62rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.produtos-destaque p {
  color: #3e4958;
  font-size: 1.07rem;
  margin-bottom: 32px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.produtos-cards-lista {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: nowrap;
}

.produto-card-unico {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  min-width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.produto-card-unico a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-card-unico:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.nome-produto {
  color: #1657b6;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.titulo-produto {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}

/* Media queries para responsividade */
@media (max-width: 768px) {
  .nav-bar {
    position: relative;
    top: 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    width: 100%;
  }
  
  .main-nav {
    justify-content: center;
  }
  
  .dropdown-content {
    min-width: 260px;
  }
  
  .top-nav {
    right: 10px;
  }
  
  .top-nav ul li a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .produtos-cards-lista {
    gap: 16px;
  }
  .produto-card-unico {
    width: 170px;
    padding: 12px 7px;
  }
  .produto-card-unico img {
    width: 68px; 
    height: 68px;
  }
  .nome-produto { 
    font-size: 1.06rem; 
  }
  .desc-produto { 
    font-size: 0.96rem; 
  }
}

.produtos-destaque .produtos-cards-lista .produto-card-unico {
  background: #1657b6;
  border: 3px solid #444444;
}

.produtos-destaque .produtos-cards-lista .produto-card-unico .nome-produto,
.produtos-destaque .produtos-cards-lista .produto-card-unico .titulo-produto {
  color: #ffffff;
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: transparent;
  z-index: 1000;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
