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

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #ffe9f0, #fff9f2);
  color: #8a2973;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* BOLHAS ANIMADAS NO FUNDO */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  background-color: #f39200;
  animation: floatUp 12s infinite ease-in;
}

.bubble:nth-child(1) {
  width: 100px;
  height: 100px;
  left: 10%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 70%;
  animation-delay: 3s;
}

.bubble:nth-child(3) {
  width: 120px;
  height: 120px;
  left: 40%;
  animation-delay: 6s;
}

.bubble:nth-child(4) {
  width: 80px;
  height: 80px;
  left: 80%;
  animation-delay: 1s;
}

@keyframes floatUp {
  0% {
    bottom: -150px;
    transform: translateX(0);
  }

  50% {
    transform: translateX(20px);
  }

  100% {
    bottom: 100vh;
    transform: translateX(0);
  }
}

.container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  min-height: 100vh;
}

.logo {
  margin-bottom: 24px;
}

.logo img {
  height: 60px;
}

.form-box {
  background: white;
  padding: 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in;
}

.form-box h2 {
  color: #f39200;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-box input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border: 2px solid #8a2973;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.form-box input:focus {
  border-color: #f39200;
  outline: none;
  box-shadow: 0 0 0 2px rgba(243, 146, 0, 0.2);
}

.form-box button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background-color: #f39200;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}

.form-box button:hover {
  background-color: #d67f00;
}

.form-box button:active {
  transform: scale(0.98);
}

.form-box a {
  display: block;
  margin-top: 14px;
  color: #8a2973;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .form-box {
    padding: 16px;
  }

  .form-box h2 {
    font-size: 20px;
  }
}

.ia-helper {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatMascote 3s ease-in-out infinite;
}

.ia-helper img {
  width: 80px;
  height: auto;
}

.speech-bubble {
  background: #fff;
  border: 2px solid #8a2973;
  color: #8a2973;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  animation: bounceIn 0.8s ease-out;
  max-width: 200px;
  text-align: center;
}

@keyframes floatMascote {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}
