@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Estilos Globais */

body {
  background-image: url("../images/bg-intro-desktop.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: hsl(0, 100%, 74%);
  width: 100%;
  max-height: 100vh;
}
main {
  font-family: "Poppins", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}

.main-container {
  display: grid;
  grid-template-areas: "intro-section conteiner-form";
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1100px;
  gap: 2rem;
  align-items: center;

  margin-top: 3%;
}

.intro-section {
  grid-area: intro-section;
  text-align: center;
  color: white;
  max-width: 100%;
}

.intro-title {
  font-size: 3rem;
}

.intro-text {
  color: hsl(250, 14%, 91%);
  margin: 1rem;
}

.pricing-banner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(248, 32%, 49%);
  margin-bottom: 4%;
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.322),
    0 2px 4px rgba(0, 0, 0, 0.06);
  border-radius: 0.7rem;
  padding: 2rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: white;
  text-align: center;
}

.pricing-banner span {
  font-weight: 700;
}

.conteiner-form {
  grid-area: conteiner-form;

  border-radius: 0.7rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.322),
    0 2px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  
}

.form-input {
  height: 3.5rem;
  padding: 1rem;
  border: 1px solid #cac6c6;
  border-radius: 0.5rem;
  position: relative;
  outline: none;
  margin-bottom: 0.5rem;

}

input:focus {
  border-color: hsl(154, 79%, 64%);
  box-shadow: 0 0 5px hsl(154, 79%, 64%);
  outline: none;
}

.form-input.erro {
  background-image: url("../images/icon-error.svg"); /* Caminho da imagem */
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px 20px;
}

.button {
  width: 100%;
  height: 3.7rem;
  background-color: hsl(154, 59%, 51%);
  border-radius: 0.5rem;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 3px solid hsl(150, 51%, 40%) ;
  text-transform: uppercase;
}

.button:hover {
  background-color: hsl(154, 79%, 64%);
}

.terms-text {
  text-align: center;
  color: hsl(245, 5%, 56%);
  font-size: 0.8rem;
}

.terms-text a {
  font-weight: 700;
  color: hsl(0, 100%, 74%);
  text-decoration: none;
}
.terms-text a:hover{
  text-decoration:  underline;
}

span.erro {
  color: red;
  font-size: 0.65rem;
  display: none; /* Oculto por padrão */
  text-align: right;
}

.erro {
  border-color: red;

}

.attribution {
  font-size: 11px;
  text-align: center;
  display: none;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
