/*RESET & GERAL*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #ffffff;
  color: #1e3a8a;
  overflow-x: hidden;
}
/*PADRONIZAÇÃO DAS SECTIONS*/
section {
  scroll-margin-top: 120px; 
  padding: 60px 20px; 
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
}
/*NAVBAR*/
.navbar {
  background-color: #1e3a8a;
  height: auto;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px; 
  position: sticky; 
  top: 0;
  backdrop-filter: blur(100px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
/*MENU NAVBAR */
.menu-lista {
  display: flex;
  list-style: none;
  gap: 16px;
  padding: 2px;
}
.menu-lista a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  transition: color 0.3s ease;
}
.menu-lista a:hover {
  color: #adadad;
}
/*BANNER*/
.banner-central {
  padding: 0; 
  width: 100%;
  background-color: #fff;
}
.banner-central img {
  width: 100%;        
  max-width: 100%;   
  height: auto;       
  min-height: 300px;   
  object-fit: cover;   
  border-radius: 0;    
  box-shadow: none;
  display: block;      
}
/*HERO SECTION*/
.hero {
  padding: 0; 
  width: 100%;
  background-color: #f3f4f6; 
}
.text-box {
  background-color: #f3f4f6;
  width: 100%;
  max-width: 100%; 
  border-radius: 0; 
  padding: 100px 20px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-box h1, .text-box p {
  width: 100%;
  max-width: 1200px;
}
.text-box h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: #1e3a8a;
  text-align: center;
}
.text-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  text-align: center; 
}
/*PRODUTOS*/
.produtos {
  background-color: #ffffff;
}
.produtos h2, .secao-extra h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: center;
}
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem;
  width: 100%;
  max-width: 1400px; 
}
.card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 3, 0.5);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  height: auto;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*FOOTER*/
.footer-principal {
  background-color: #1e3a8a; 
  color: white;
  padding-top: 50px;
  width: 100%;
  background-image: url('images/FotosLogo/LogoSacariaNovaGeracao.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75%;
  background-blend-mode: soft-light;
  opacity: 1; 
}
.footer-container {
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
  gap: 40px;
  flex-wrap: wrap; 
}
.footer-principal h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}
/*BOTÕES FALE CONOSCO*/
.footer-esquerdo {
  flex: 1; 
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-esquerdo p {
  margin-bottom: 25px;
  color: #e0e0e0;
}
.lista-sociais {
  display: flex;
  flex-direction: column; 
  gap: 16px;
  align-items: center;
  width: 100%;
}
.botao-social {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  transition: all 0.3s ease;
  width: fit-content; 
}
.icone-social {
  width: 24px;
  height: 24px;
  fill: white;
}
/*CORES HOVER FALE CONOSCO*/
.botao-social.insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  transform: translateX(10px);
}
.botao-social.whats:hover {
  background-color: #25D366;
  transform: translateX(10px);
}
.botao-social.ml:hover {
  background-color: #ffe600;
  color: #2d3277; 
  transform: translateX(10px);
}
.botao-social.ml:hover .icone-social {
    fill: #2d3277; 
}
/*MAPA LADO DIREITO DO FOOTER*/
.footer-direito {
  flex: 1;
  min-width: 300px;
}
.mapa-frame {
  width: 100%;
  height: 225px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  background-color: #fff;
}
.mapa-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/*BARRA COPYRIGHT E DESEVOLVEDORES*/
.footer-bottom {
  background-color: #152c6b;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  color: #aaa;
}
.footer-bottom p {
  margin: 4px 0;
}
.footer-dev {
  font-size: 0.8rem;
  color: #9ca3af; 
}
.footer-dev a {
  color: #c7d2fe; 
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-dev a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/*TABLETS E CELULARES GRANDES*/
@media (max-width: 768px) {
  /*NAVBAR RESPONSIVA*/
  .navbar {
    padding: 10px 15px; 
    gap: 8px;
  }
  .logo {
    height: 35px;
  }
  /*MENU RESPONSIVO*/
  .menu-lista {
    gap: 12px;
    flex-wrap: wrap; 
    justify-content: center;
  }
  .menu-lista a {
    font-size: 14px; 
  }
  /*BANNER RESPONSIVO*/
  .banner-central img {
    min-height: auto; 
    object-fit: contain; 
  }
  /*GRID PRODUTOS RESPONSIVO*/
  .grid-produtos {
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem;
  }
  .text-box {
     padding: 60px 15px;
  }
  .text-box h1 {
    font-size: 1.8rem;
  }
  /*FOOTER RESPONSIVO*/
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .lista-sociais {
    align-items: center; 
  }
  .botao-social {
      width: 100%; 
      justify-content: center;
  }
  .mapa-frame {
      height: 200px;
  }
  .footer-bottom {
    font-size: 0.85rem;
  }
  .footer-dev {
    font-size: 0.75rem;
  }
}
/*CELULARES PEQUENOS*/
@media (max-width: 480px) {
  .grid-produtos {
    grid-template-columns: 1fr;
  }
  .text-box h1 {
    font-size: 1.5rem;
  }
}
/*MONITORES GRANDES*/
@media (min-width: 1600px) {
  .grid-produtos, .text-box h1, .text-box p, .footer-container {
    max-width: 1600px; 
  }
  .grid-produtos {
    gap: 3rem; 
  }
}