/* Import Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* Reset básico e estilos do corpo */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #4c0575, #2c0b43);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

/* Card do formulário */
.form-card {
  background-color: #f3f4f6;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 448px;
  width: 100%;
}

/* Cabeçalho */
.form-card h1 {
  font-size: 1.875rem;
  /* 30px */
  font-weight: 700;
  color: #4a0471;
  text-align: center;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Grupos de formulário e espaçamento */
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* Estilos de Label */
label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  /* 14px */
  font-weight: 500;
  color: #374151;
}

/* Estilos de Input */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
  /* Garante que padding não afete a largura */
}

input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Container do campo de telefone */
.phone-container {
  display: flex;
}

.country-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.country-selector svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  color: #4b5563;
}

/* Ajusta o raio da borda do input de telefone */
input#celular {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* Container do Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
  height: 1rem;
  width: 1rem;
  border-radius: 0.25rem;
  border-color: #d1d5db;
  color: #6d28d9;
}

.checkbox-container label {
  margin-left: 0.5rem;
  margin-bottom: 0;
  color: #111827;
}

/* Texto de política de privacidade */
.privacy-text {
  font-size: 0.75rem;
  /* 12px */
  color: #4b5563;
  text-align: center;
  margin: 1.5rem 0 0 0;
}

.privacy-text a {
  font-weight: 600;
  color: #4a0471;
  text-decoration: none;
}

.privacy-text a:hover {
  text-decoration: underline;
}

/* Botão de envio */
button[type="submit"] {
  width: 100%;
  background-color: #4a0471;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  /* pill shape */
  font-weight: 700;
  font-size: 1.125rem;
  /* 18px */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-top: 1rem;
}

button[type="submit"]:hover {
  background-color: #3b035a;
  transform: scale(1.02);
}

/* Disclaimer de Spam */
.disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Media Queries para responsividade */
@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .form-card h1 {
    font-size: 2.25rem;
    /* 36px */
  }
}
