.banner1 {
  width: 100%;
  margin-top: 77px;
  margin-bottom: 50px;
}

h1 {
  text-align: center;
}

/* Container do Form e imagem cowboys */
.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-bottom: 60px; */
}

.image-wrapper {
  position: relative;
  display: inline-block; 
}

.img-base {
  width: 100%;
  max-width: 95%;
  display: block;
}

.container {
  position: absolute;
  top: 40%; /* centraliza vertical */
  left: 53%; /* centraliza horizontal */
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 600px;
  justify-items: center;
}

form {
  width: 70%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  background-color: rgb(0, 10, 23);
  padding: 20px;
  border-radius: 8px;
  gap: 15px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-row input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  flex: 1;
  box-sizing: border-box;
}

.form-row textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  flex: 1;
  box-sizing: border-box;
}

.form-row:first-child input {
  flex: 1;
}

.form-row:last-child input {
  flex: 1 0 100%;
}

/* Botão send message */
button {
  background-color: #1de9b6;
  color: white;
  border: none;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
  width: 50%;
}

button:hover {
  background-color: #17c8a2;
}

/* Thank You for trusting us */

.wrapper {
  position: relative;
  display: inline-block; /* mantém tamanho baseado na imagem */
  margin-top: 70px;
}

/* imagem de rodapé */
.personagens2 {
  width: 100%;
}

.text-container {
  width: 90%;
  position: absolute;
  top: 48%; /* centraliza vertical */
  left: 50%; /* centraliza horizontal */
  transform: translate(-50%, -50%);
  text-align: center;
  color: black; /* texto visível sobre a imagem */
  padding: 20px;
}

.text-paragraph {
  align-items: center;
  width: 40%;
  text-align: justify;
  margin: 0 auto;
  word-spacing: 2px;
}

.link-contact {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  justify-content: center;
  gap: 8px;
}

.a-container {
  display: flex;
  align-items: center; /* centraliza verticalmente */
  gap: 8px; /* espaço entre o ícone e o texto */
  justify-content: center;
}



.contact {
  margin: 0;
  font-size: 16px;
  color: black;
}

//Modal
.modal {
  display: none; /* importante */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal.show {
  /* display: flex; só aparece quando tiver a classe show */
}

  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
  }
  .modal-content h2 {
    margin-top: 0;
  }
  .modal-content button {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
  }
  .modal-content button:hover {
    background: #0056b3;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }