@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Aoboshi+One&family=Cal+Sans&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Trykker&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Aoboshi One', sans-serif;
}

body {
  background-color: #ffffff;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.container {
  display: flex;
  width: 100vw;
  height: 100vh;
}

.imagem-lateral {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px;
  color: #f2f1EA;
  overflow: hidden;
  background: url('/Início/imgs/tulipasimagemlogin.jpg') center/cover no-repeat;
}

.imagem-lateral::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.13) 4%, rgba(0,0,0,1) 30%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.13) 4%, rgba(0,0,0,1) 30%);
  z-index: 1;
}

.texto-lateral {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-bottom: 0;
  padding: 3rem;
}

.texto-lateral h2 {
  font-family: 'Cal Sans', sans-serif;
  font-size: 4rem;
  font-weight: 100;
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.texto-lateral p {
  font-family: 'Cal Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 1px;
  max-width: 350px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.formulario-lateral {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
  background-color: #ffffff;
  overflow-y: auto;
}

.caixa-formulario {
  width: 100%;
  max-width: 380px;
  padding: 20px 0;
}

.caixa-formulario h1 {
  font-size: 32px;
  letter-spacing: 1px;
  font-weight: 400;
  color: #c2185b;
  margin-bottom: 6px;
}

.subtitulo {
  font-family: 'Cal Sans', sans-serif;
  letter-spacing: 1px;
  font-size: 16px;
  color: #e08bb0;
  margin-bottom: 30px;
}

.campo {
  margin-bottom: 20px;
}

.campo label {
  display: block;
  font-size: 16px;
  color: #d46a94;
  margin-bottom: 6px;
  font-weight: 400;
}

.campo input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  font-size: 14px;
  color: #333333;
  outline: none;
  transition: border-color 0.2s ease;
}

.campo input:focus {
  border-color: #c2185b;
}

.linha-entre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.lembrar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d46a94;
  cursor: pointer;
}

.lembrar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #c2185b;
  cursor: pointer;
}

.lembrar input[type="checkbox"]:checked {
  animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.esqueceu {
  color: #c2185b;
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.esqueceu:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.botao-login {
  width: 100%;
  padding: 14px;
  background-color: #f8bfd6;
  color: #7a1240;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.botao-login:hover {
  background-color: #f5a9c6;
}

.texto-cadastro {
  font-size: 0.85rem;
  color: #555555;
  text-align: center;
  margin-top: 16px;
}

.texto-cadastro a {
  color: #c2185b;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: text-decoration 0.2s ease, opacity 0.2s ease;
}

.texto-cadastro a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.divisor {
  display: flex;
  align-items: center;
  text-align: center;
  color: #999999;
  font-size: 0.85rem;
  margin: 24px 0;
}

.divisor::before,
.divisor::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0a3bf;
}

.divisor:not(:empty)::before { margin-right: .5em; }
.divisor:not(:empty)::after { margin-left: .5em; }

.botao-google {
  width: 100%;
  padding: 12px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #dddddd;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.botao-google img {
  width: 18px;
  height: 18px;
}

.botao-google:hover {
  background-color: #f7f7f7;
}

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

  .imagem-lateral {
    flex: none;
    height: 30vh;
    padding: 20px;
    align-items: flex-end;
  }

  .texto-lateral {
    margin-bottom: 0;
    padding: 10px;
  }

  .texto-lateral h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .texto-lateral p {
    font-size: 0.85rem;
  }

  .formulario-lateral {
    flex: 1;
    padding: 30px 20px;
    align-items: flex-start;
  }
}
