/* ===================== ROOT ===================== */
:root {
  --azul-principal: #061940;
  --cinza-claro: #f4f4f4;
  --branco: #fff;
  --texto: #444;
  --sombra: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===================== GERAL ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.title {
  width: 100%;
  background-color: #061940;
  color: #ffffff;
  display: flex;
  justify-content: center;
  text-align: center;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--texto);
  background-color: var(--cinza-claro);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================== HOME ===================== */
.home {
  position: relative;
  background-image: linear-gradient(to top, transparent -50%, #000000e0 100%),
    url(../img/equipamentos/peneira-rotativa/2peneira-rotativa10.png);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--branco);
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.home h1 {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.div-saiba-mais-sobre-sengefar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--branco);
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.div-saiba-mais-sobre-sengefar:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--azul-principal);
  box-shadow: var(--sombra);
}

/* ===================== TEXTO DE INTRODUÇÃO ===================== */
main > p {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333d52;
}

/* ===================== BANNER BNDES ===================== */
.bndes {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.bndes img {
  border-radius: 10px;
  box-shadow: var(--sombra);
  transition: transform 0.3s ease;
}

.bndes img:hover {
  transform: scale(1.05);
}

/* ===================== FALE CONOSCO ===================== */
.fale-conosco {
  background: #f9f9f9;
  padding: 60px 20px;
}

.fale-conosco h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #061940;
}

.fale-conosco-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

form.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

form.form div {
  display: flex;
  flex-direction: column;
}

form.form label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #061940;
}

form.form input,
form.form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

form.form input:focus,
form.form textarea:focus {
  border-color: #061940;
}

.btn_send_form {
  background-color: #061940;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn_send_form:hover {
  background-color: #fff;
  color: #061940;
  border: 1px solid #061940;
}
/* ===================== REDES SOCIAIS ===================== */
.redes-sociais-sengefar {
  margin-top: 30px;
  text-align: center;
}

.container-redes-sociais {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes-sociais-sengefar-icons {
  width: 35px;
  transition: transform 0.3s;
}

.redes-sociais-sengefar-icons:hover {
  transform: scale(1.2);
}

/* ===================== LOCALIZAÇÃO ===================== */
.loc {
  margin-top: 40px;
  text-align: center;
}

#maps-local-sengefar {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border-radius: 15px;
  border: none;
  box-shadow: var(--sombra);
}

.loc-sengefar-text {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #444;
}
/* ======== SOBRE NÓS ======== */
.sobre-nos-sengefar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  background-color: #f4f4f4;
  border-radius: 10px;
}

.text-sobre-nos {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333d52;
  text-align: justify;
  max-width: 900px;
}

/* ======== VIDEO ======== */
.video-sobre-nos-sengefar-youtube {
  width: 100%;
  max-width: 900px;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.video-sobre-nos-sengefar-youtube:hover {
  transform: scale(1.02);
}

/* ======== EQUIPAMENTOS ======== */

/* ======== TÍTULO ======== */
#equipamentos {
  max-width: 1500px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

#equi {
  font-size: 2rem;
  color: #061940;
  margin-bottom: 40px;
  font-weight: bold;
}

#equipamentos {
  padding-top: 100px;
  margin-top: -50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.equipamentos-sengefar {
  display: flex;
  justify-content: center;
  padding: 60px 0 50px;
  flex-wrap: wrap; /* Para melhor responsividade */
  gap: 20px;
}

.tipos-de-equipamentos-equipar {
  text-decoration: none;
  margin: 0 15px;
  transition: transform 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.circulo {
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -40px;
  margin-left: 50px;
  box-shadow: 1px 1px 10px #03112c;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.imgs-tipos-de-equipamentos {
  width: auto;
  transition: transform 0.5s ease;
  max-height: 60px;
}

.retangulo {
  width: 180px;
  background-color: #fff;
  padding: 10px 10px 20px;
  margin: -20px 5px 0;
  text-align: center;
  height: 220px;
  box-shadow: 10px 10px 10px #03112c;
  border-radius: 7px;
  transition: transform 0.5s ease, background-color 0.5s ease,
    box-shadow 0.5s ease;
}

.retangulo .info {
  font-size: 10px;
  text-align: justify;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  /**/
  width: 100%;
  min-height: 60px;
  padding: 10px;
  color: #333d52;
  text-align: center;
  font-weight: 500;
}

.equipamentos-sengefar h4 {
  color: #061940;
  font-size: 15px;
  margin-top: 15px;
  padding-bottom: 10px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.5s ease;
}

/* ======= HOVER ANIMAÇÕES ======= */
.tipos-de-equipamentos-equipar:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.03);
}

.tipos-de-equipamentos-equipar:hover .retangulo {
  border-radius: 8px;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.2);
}

.tipos-de-equipamentos-equipar:hover .imgs-tipos-de-equipamentos {
  transform: rotate(-5deg);
}

.tipos-de-equipamentos-equipar:hover .equipamentos-sengefar h4 {
  color: #061940;
}

.produtos {
  background-color: #061940;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.produtos h2 {
  color: #fff;
  text-align: center;
}

.pecas-sengefar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 80px;
  padding-top: 100px;
  margin-top: -50px;
}
.algumas-pecas {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  margin-top: 60px;
}
.img-pecas {
  width: 250px;
}
.img-pecas:hover {
  width: 280px;
  transition: 1s;
}
.mais-pecas {
  text-decoration: none;
  color: #061940;
  padding: 20px;
  background-color: #fff;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
}
.mais-pecas:hover {
  background-color: #010f2a;
  color: #fff;
  transition: 1s;
}
/* Seção Serviços */
.servicos-sengefar {
  background-color: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
}

.servicos-sengefar h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #061940;
  margin-bottom: 40px;
}

/* Grid dos serviços */
.nossos-servicos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Cada card de serviço */
.servicos {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  flex: 1 1 300px; /* cresce igualmente */
  max-width: 350px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servicos:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Imagem do card */
.servicos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Título */
.servicos h3 {
  font-size: 1.3rem;
  color: #061940;
  margin-bottom: 15px;
}

/* Texto */
.servicos p {
  flex: 1; /* ocupa o espaço para manter altura igual */
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Botão "saiba mais" */
.saiba-mais-servicos {
  display: inline-block;
  padding: 10px 18px;
  background-color: #061940;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.saiba-mais-servicos:hover {
  background-color: #061940e0;
}

/* =================== MEDIA QUERIES UNIFICADAS =================== */

/* ----- XL / Desktops grandes ----- */
@media screen and (max-width: 1200px) {
  .home {
    height: 560px;
  }
}

/* ----- L / Desktops menores / Laptops ----- */
@media screen and (max-width: 992px) {
  .home {
    height: 500px;
  }
  .home h1 {
    font-size: 2.5rem;
  }
  .text-home {
    font-size: 1rem;
    max-width: 90%;
  }
  .div-saiba-mais-sobre-sengefar {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .video-sobre-nos-sengefar-youtube {
    height: 400px;
  }
  .text-sobre-nos {
    font-size: 1rem;
  }
  .tipos-de-equipamentos-equipar {
    width: 45%;
    margin: 10px 0;
  }
}

/* ----- M / Tablets e telas médias ----- */
@media screen and (max-width: 768px) {
  .home {
    height: 340px;
  }
  .home h1 {
    font-size: 1.8rem;
  }
  .text-home {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 90%;
  }
  .div-saiba-mais-sobre-sengefar {
    padding: 9px 18px;
    font-size: 0.9rem;
  }
  .video-sobre-nos-sengefar-youtube {
    height: 300px;
  }
  .text-sobre-nos {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .equipamentos-sengefar {
    flex-wrap: wrap;
    padding: 50px 0 30px;
  }
  .tipos-de-equipamentos-equipar {
    margin: 5px 1px;
    flex-direction: column;
    justify-content: center;
  }
  .retangulo {
    width: 160px;
    height: 240px;
    padding: 10px 5px;
  }
  .circulo {
    width: 70px;
    height: 70px;
    margin-left: 45px;
  }
  .imgs-tipos-de-equipamentos {
    width: auto;
    max-height: 40px;
  }
  .algumas-pecas {
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .img-pecas {
    width: 180px;
  }
  .img-pecas:hover {
    width: 200px;
  }
  .mais-pecas {
    padding: 15px;
    margin: 10px;
  }
  .servicos {
    width: 400px;
    margin: 10px 0;
  }
  #maps-local-sengefar {
    width: 100%;
    height: auto;
  }
  .loc {
    width: 100%;
  }
  .loc-sengefar-text {
    font-size: 8px;
  }
}

/* ----- SM / Celulares grandes ----- */
@media screen and (max-width: 576px) {
  .home {
    height: 290px;
  }
  h1 {
    font-size: 20px;
    padding-top: 50px;
  }
  .text-home {
    font-size: 13px;
    width: 90%;
  }
  .img-pecas {
    width: 170px;
  }
  .img-pecas:hover {
    width: 175px;
  }
  .mais-pecas {
    margin: 5px 40%;
  }
  .pecas {
    width: 46%;
    margin: 1px;
  }
  .video-sobre-nos-sengefar-youtube {
    height: 220px;
  }
  .text-sobre-nos {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ----- XS / Celulares pequenos ----- */
@media screen and (max-width: 400px) {
  .home {
    height: 220px;
  }
  h1 {
    padding: 0;
    font-size: 18px;
  }
  .img-pecas {
    width: 150px;
  }
  .img-pecas:hover {
    width: 160px;
  }
  .mais-pecas {
    margin: 5px 40%;
  }
  .pecas {
    width: 46%;
    margin: 1px;
  }
  .video-sobre-nos-sengefar-youtube {
    height: 200px;
  }
}
