 @font-face {
    font-family: poppins;
    src: url(Poppins-ExtraLight.ttf);
}
@font-face {
  font-family: poppinsThin;
  src: url(Poppins-Thin.ttf);
}
@font-face {
    font-family: montserrat;
    src: url(Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: NotoSans;
    src: url(NotoSansGunjalaGondi-Medium.ttf);
}

@font-face {
  font-family: lexend;
  src: url(LexendExa-Thin.ttf);
}

@font-face {
  font-family: roboto;
  src: url(RobotoMono-Thin.ttf);
}
@font-face {
  font-family: raleway;
  src: url(Raleway-Thin.ttf);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body{
    background-color: #141414;
    color: whitesmoke;
  }
  header {
    background-color: white;
    display: flex;
    justify-content: center; 
    align-items: center;      
    padding: 10px 0;          
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  nav {
    display: flex;
    gap: 3.5cm;                
    font-family: 'Poppins', sans-serif;
  }
  
  nav a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 20px;
    position: relative;
    transition: color 0.3s;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  nav a:hover {
    color: #093d75;
    transform: scale(1.05);
  }

  .contatoHead {
  position: relative;
  width: 100%;
  height: 300px; /* altura do banner, você pode ajustar */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 50px;
  color: white;
  font-family: lexend;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 50px; 
   background-image: url(https://maridodealuguel.poa.br/wp-content/uploads/2021/07/empresa-metalurgica.jpg);
   background-attachment: fixed;
   background-size: cover;
   background-repeat: no-repeat;
   z-index: 1;
}


.contatoHead h2 {
  position: relative;
  z-index: 1; 
  margin: 0;
}

.contatoHead::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); 
  z-index: 0;
}


.titulo-topo h1 {
  color: white;
  font-size: 60px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  justify-content: left;
}



/* opcCont*/

.opcCont {
  display: flex; 
  width: 100%;
  height: 120vh; 
  background-color: rgb(23, 21, 21);
  padding: 50px; 
  box-sizing: border-box;
  flex: 1;
}

/*TelEnder*/

 .contato-info {
  display: flex;
  justify-content: center; /* centraliza os blocos na horizontal */
  gap: 80px;               /* espaço entre os blocos */
  padding: 40px;
  font-family: 'Arial', sans-serif;
  text-align: left;
}

.info-bloco {
  max-width: 250px;
}

.info-bloco h3 {
  font-family: montserrat;
  font-size: 20px;
  margin-bottom: 10px;
  color: rgb(217, 230, 241);
}

.info-bloco p {
  font-family: poppinsThin;
  font-size: 15.5px;
  margin: 5px 0;
  color: rgb(217, 230, 241);
}


.mapa-container {
  height: 200px;
  width: 410px;
  margin-left: 50px;
}

/*Forms*/


#formulario {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  width: 100%;
  background-color: #050505;
  border-radius: 10px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
  margin: 15px; 
  /* Tamanho do bloco permanece igual */
}

#formulario form {
  display: flex;
  flex-direction: column;
  color: rgb(248, 248, 248);
  width: 100%;
}

#formulario label {
  font-family: poppins;
  margin-bottom: 4px;
  font-size: 14px; /* menor que antes */
}

#formulario input,
#formulario textarea {
  background-color: #6a6868;
  color: rgb(217, 217, 217);
  padding: 6px 8px; /* menos altura e largura */
  margin-bottom: 12px; /* espaço menor entre os campos */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: poppins;
  font-size: 14px; /* menor */
}

#formulario input::placeholder,
#formulario textarea::placeholder {
  color: #cccccc;
  opacity: 1;
  font-family: montserrat;
  font-size: 13px;
}

#formulario textarea {
  min-height: 80px; /* altura mais compacta */
  resize: vertical;
}

#formulario button {
  padding: 8px 16px; /* botão mais compacto */
  background-color: #093d75;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-family: poppins;
  transition: 0.2s ease;
}

#formulario button:hover {
  background-color: #0a2f58;
  transform: scale(1.02);
}
@media (max-width: 768px) { header {
        padding: 8px 0;
    }

    nav {
        gap: 10px; /* Pequeno gap para links */
        padding: 0 5px;
    }

    nav a {
        font-size: 15px;
        padding: 5px; /* Adiciona um pequeno padding para facilitar o clique */
    }


  .contatoHead {
    height: 200px;
    padding-left: 20px;
    font-size: 32px;
    justify-content: center;
    text-align: center;
  }

  .opcCont {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  #formulario {
    width: 100%;
    margin: 10px 0;
  }

  .contato-info {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px;
  }

  .info-bloco {
    max-width: 100%;
    text-align: center;
  }

  .info-bloco h3 {
    font-size: 18px;
  }

  .info-bloco p {
    font-size: 14px;
  }

  #formulario input,
  #formulario textarea {
    font-size: 14px;
  }

  #formulario label {
    font-size: 14px;
  }

  #formulario button {
    font-size: 14px;
  }
  .mapa-container{
    width: 300px;
    margin-left: 25px;
  }
}

