/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #fff9f9;
  color: #333;
  line-height: 1.6;
}

/* CONTAINER GERAL */
.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

/* IMAGEM DO KIT */
.kit-box {
  flex: 1 1 300px;
  max-width: 320px;
}
.kit-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* FORMULÁRIO */
.form-container {
  flex: 1 1 400px;
  max-width: 600px;
}
.form-container h1 {
  font-size: 26px;
  color: #b30000;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
}

/* CAMPOS */
#formComprador {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#formComprador label {
  font-weight: 600;
  font-size: 15px;
}
#formComprador input,
#formComprador select,
#formComprador textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  background: #fff;
}
#formComprador input:focus,
#formComprador select:focus,
#formComprador textarea:focus {
  outline: none;
  border-color: #b30000;
  box-shadow: 0 0 0 2px rgba(179, 0, 0, 0.2);
}

/* CÓDIGO DE VERIFICAÇÃO */
.codigo-email {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.codigo-email input {
  flex: 2;
}
.codigo-email button {
  flex: 1;
  background: #b30000;
  color: white;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}
.codigo-email button:hover {
  background: #8a0000;
}

/* WHATSAPP */
.whatsapp-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.whatsapp-group span {
  background: #eee;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #444;
}
.whatsapp-group input {
  flex: 1;
}

/* BOTÕES */
#formComprador button[type="submit"],
#formComprador button[type="button"]:not(.codigo-email button) {
  background: #b30000;
  color: white;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}
#formComprador button:hover {
  background: #8a0000;
}

/* STATUS */
.status {
  font-size: 14px;
  margin-bottom: 10px;
}
.status.success { color: #4F8A10; }
.status.error { color: #D8000C; }
.status.info { color: #00529B; }

/* LGPD */
label.lgpd {
  font-size: 14px;
  margin-top: 10px;
}
label.lgpd a {
  color: #b30000;
  text-decoration: underline;
}

/* MODAL LGPD */
#popupLGPD {
  display: none;
  position: fixed;
  z-index: 1001;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
#popupLGPD h2 {
  color: #b30000;
  font-size: 18px;
  margin-bottom: 12px;
}
#popupLGPD p {
  font-size: 14px;
  color: #555;
}
#popupLGPD button {
  background: #b30000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  padding: 10px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}
#popupLGPD button:hover {
  background: #8a0000;
}
#overlayLGPD {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* FOOTER */
footer {
  background: #ffdede;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #444;
  margin-top: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
  .form-wrapper {
    flex-direction: column;
    padding: 16px;
    gap: 24px;
  }

  .kit-box {
    max-width: 100%;
  }

  .form-container h1 {
    text-align: center;
    font-size: 22px;
  }

  #formComprador input,
  #formComprador select,
  #formComprador textarea {
    font-size: 15px;
  }

  .codigo-email {
    flex-direction: column;
  }

  .codigo-email input,
  .codigo-email button {
    width: 100%;
  }

  .whatsapp-group {
    flex-direction: row;
  }

  .whatsapp-group span {
    font-size: 14px;
    padding: 10px;
  }

  #formComprador button {
    font-size: 15px;
    padding: 10px;
  }
}
.kit-detalhe-etapa1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kit-detalhe-etapa1 .kit-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.kit-detalhe-etapa1 .kit-info {
  margin-top: 16px;
}

.kit-detalhe-etapa1 .kit-info h2 {
  font-size: 20px;
  color: #b30000;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.kit-detalhe-etapa1 .kit-info .descricao {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.kit-detalhe-etapa1 .kit-info .preco {
  font-size: 24px;
  color: #111;
  font-weight: bold;
}
