* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #cccccc;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #2b2b36;
  color: white;
  text-align: center;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

header strong {
  position: absolute;
  left: 20px;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.banner {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #666;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  text-decoration: none;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.banner a:first-of-type {
  left: 20px;
}
.banner a:last-of-type {
  right: 20px;
}

main {
  padding: 20px;
  text-align: center;
}

main section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

main section p {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
}

article {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #eee;
  padding-bottom: 15px;
  border-radius: 8px;
}

article img {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

article h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #333;
}

article a {
  background-color: #9e2a2b;
  color: white;
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #551111;
}

/* --- Estilos da Tela 2 (Detalhes) --- */

.detalhes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

.fotos-pacote {
  flex: 1;
  min-width: 300px;
  display: block;
}

.foto-destaque {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.galeria {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.galeria img {
  width: calc(50% - 5px);
  border-radius: 8px;
  object-fit: cover;
}

.info-pacote {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.info-pacote p {
  width: auto;
  padding-left: 0;
  margin-bottom: 0;
}

.descricao {
  line-height: 1.5;
  color: #444;
}

.valor {
  font-size: 28px;
  font-weight: bold;
  color: #9e2a2b;
}

.btn-comprar {
  background-color: #2b2b36;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.btn-comprar:hover {
  background-color: #1a1a24;
}

footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

.form-container {
  max-width: 700px;
  margin: 40px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: left;
}

.form-container h1 {
  color: #2b2b36;
  margin-bottom: 20px;
  font-size: 28px;
}

.form-container label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #333;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"],
.form-container input[type="date"],
.form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-container input::placeholder {
  color: #777;
}

.inputs-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.form-container .label-normal {
  display: inline;
  font-weight: normal;
  margin-right: 15px;
  margin-top: 0;
}

.botoes-form {
  margin-top: 25px;
  display: flex;
  gap: 10px;
}

.btn-vermelho {
  background-color: #db3846;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-vermelho:hover {
  background-color: #b92b37;
}

.finalizacao-container {
  max-width: 700px;
  margin: 60px auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.finalizacao-container h1 {
  color: #2b2b36;
  margin-bottom: 20px;
}

.finalizacao-container p {
  margin-bottom: 15px;
  font-size: 18px;
}

/* --- Media Queries (Responsividade) --- */

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  header strong {
    position: static;
    margin-bottom: 10px;
  }

  .banner {
    height: 250px;
  }

  .detalhes-container {
    flex-direction: column;
  }
}
