.contato_section {
  font-family: Poppins;
}
.banner_contato {
  position: relative;
  width: 100%;
  height: 30vh;
  
}
.banner_img {
  width: 100%;
  height: 100%;
}
.banner_contato img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner_mask {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100%;
  height: 100%;
  z-index: 1;
}
.banner_headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFF;
}
.banner_headline_title {
  font-size: 64px;
  line-height: 72px;
  
}
.banner_headline_subtitle {
  font-size: 18px;
  line-height: 24px;
  color: #C8C5C5;
  text-align: center;
  position: relative;
}
.banner_headline_subtitle span::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: 62%;
  width: 75px;
  height: 5px;
  background-color: #BB1B0B;
}
.contato_area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  border-radius: 5px;
}
.info_side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #788BAB;
  border-radius: 5px 0 0 5px;
  width: 530px;
  height: 450px;
  padding: 20px;
}
.info_side iframe {
  max-width: 400px;
  max-height: 242px;
  border-radius: 5px;
  margin-bottom: 40px;
}
.info_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  max-width: 294px;
  margin-bottom: 20px;
}
.info_endereco {
  font-size: 16px;
  color: white;
  font-weight: medium;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  display: none; 
  justify-content: center;
  align-items: center;
  display: none;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease; 
  
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.form_side {
  background-color: #F4F4F4;
  width: 530px;
  height: 450px;
  padding: 20px;
  border-radius: 0 5px 5px 0;
}
.form_side_subtitle {
  font-size: 32px;
  color: #BB1B0B;
  margin-bottom: 10px;
}
.form_contato input {
  width: 100%;
  border-radius: 3px;
  border: none;
  padding: 12px 5px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.form_contato input:focus,
.form_contato textarea:focus {
  outline: none; 
  border-color: #788BAB;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2); 
}
.form_span {
  display: flex;
  align-items: center;
}
.form_span label {
  width: 100%;
}
.form_contato input::placeholder {
  font-size: 12px;
  color: #666565;
}
.form_contato textarea {
  width: 100%;
  border-radius: 3px;
  height: 10vh;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.form_contato label {
  display: block;
  font-size: 16px;
  font-weight: medium;
  
}
.form_span {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.button_form_contato {
  background-color: #495A7A;
  color: #F2F2F2;
  border-radius: 3px;
  font-weight: bold;
  border: none;
  text-transform: uppercase;
  padding: 9px 20px;
  margin-top: 15px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .banner_headline_title {
    font-size: 52px;
    line-height: 60px;
    
  }
  .banner_headline_subtitle {
    font-size: 16px;
    line-height: 20px;
  
  }
  .banner_headline_subtitle span::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: 63%;
    width: 62px;
    height: 5px;
  }

  .contato_area {
    margin: 30px 0;
  }
  .info_side {
    width: 390px;
  }
  .info_side iframe {
    max-width: 280px;
    max-height: 175px;
  }
  .info_wrapper {
    column-gap: 10px;
    max-width: 240px;
    
  }
  .info_endereco {
    font-size: 14px;
  }

  .form_side {
   width: 390px;
  
  }
  .form_side_subtitle {
    font-size: 24px;
  }
  .form_contato input {
    width: 100%;
    border-radius: 3px;
    border: none;
    padding: 12px 5px;
    margin-bottom: 10px;
  }
  
 

  .form_contato label {
    display: block;
    font-size: 16px;
    font-weight: medium;
    
  }
  .form_span {
    display: flex;
    align-items: center;
    column-gap: 25px;
  }
  
  .button_form_contato {
    background-color: #495A7A;
    color: #F2F2F2;
    border-radius: 3px;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    padding: 9px 20px;
    margin-top: 13px;
    cursor: pointer;
  }
  .form_contato textarea {
    height: 5vh;
  }
}


@media (max-width: 800px) {
  .banner_contato {
    height: 25vh;
    
  }
  .banner_headline_title {
    font-size: 32px;
    line-height: 36px;
    
  }
  .banner_headline_subtitle {
    font-size: 14px;
    line-height: 20px;
  
  }
  .banner_headline_subtitle span::after {
    left: 69%;
    width: 57px;

  }

  .contato_area {
    margin: 30px 0;
    flex-direction: column;
  }
  .info_side iframe {
    max-width: 350px;
    max-height: 220px;
  }
  .info_side {
    
    border-radius: 5px 5px 0 0;
  }
  
  .info_endereco {
    font-size: 12px;
  }

  .form_side {
    border-radius: 0 0 5px 5px;
  }
  .form_side_subtitle {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .form_contato input {
    padding: 12px 5px;
   
  }
  
 

  .form_contato label {
    font-size: 14px;
   
  }
  
  
}


@media (max-width: 460px) {
 
 
  .banner_headline_title {
    font-size: 28px;
    line-height: 30px;
    width: 300px;
    text-align: center;
    
  }
  .banner_headline_subtitle {
    font-size: 12px;
    line-height: 16px;
  
  }
  .banner_headline_subtitle span::after {
    display: none;

  }
  .info_side iframe {
    max-width: 260px;
    max-height: 190px;
  }
  .info_side {
    border-radius: 5px 5px 0 0;
    width: 310px;
  }
  
  .info_endereco {
    font-size: 12px;
  }

  .form_side {
    padding: 20px 20px;
    width: 310px;
    border-radius: 0 0 5px 5px;
  }
  .form_span {
    flex-direction: column;
  }
  .form_side_subtitle {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .form_contato input {
    padding: 12px 5px;
   
  }
  
 

  .form_contato label {
    font-size: 14px;
   
  }
  
  
}