/* ============================= */
/* RESET */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================= */
/* FUNDO PREMIUM ANIMADO */
/* ============================= */
body {
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px 0;

  /* GRADIENT BASE */
  background: linear-gradient(-45deg, #0f172a, #1e293b, #0ea5e9, #9333ea);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}

/* ANIMAÇÃO GRADIENT */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================= */
/* LUZES DINÂMICAS (GLOW) */
/* ============================= */
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.35), transparent 70%);
  top: -150px;
  left: -150px;
  filter: blur(120px);
  animation: moveGlow1 18s infinite alternate ease-in-out;
}

body::after {
  content: "";
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147,51,234,0.35), transparent 70%);
  bottom: -150px;
  right: -150px;
  filter: blur(120px);
  animation: moveGlow2 20s infinite alternate ease-in-out;
}

@keyframes moveGlow1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(250px, 200px); }
}

@keyframes moveGlow2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-250px, -200px); }
}

/* ============================= */
/* PARTÍCULAS (EFEITO TECH) */
/* ============================= */
body .particles {
  position: fixed;
  width: 100%;
  height: 200%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.05;
  animation: particlesMove 60s linear infinite;
  pointer-events: none;
}

@keyframes particlesMove {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
}

/* ============================= */
/* CARD (GLASS PREMIUM) */
/* ============================= */
.container {
  width: 400px;
  padding: 45px;
  border-radius: 22px;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);

  text-align: center;
  color: white;

  animation: fadeIn 0.8s ease;
  transition: 0.4s ease;
}

.container:hover {
  transform: translateY(-8px) scale(1.01);
}

/* ENTRADA SUAVE */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* LOGO */
/* ============================= */
.logo {
  width: 260px;
  margin-bottom: 15px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ============================= */
/* TEXTO */
/* ============================= */
.tagline {
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.8;
}

/* ============================= */
/* INPUTS */
/* ============================= */
input {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 14px;

  background: rgba(255, 255, 255, 0.12);
  color: white;
  transition: 0.3s ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(14,165,233,0.5);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
  accent-color: #ff7a18;
  cursor: pointer;
}

select {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transition: 0.3s ease;
}

select:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(14,165,233,0.5);
}

select option {
  color: #111827;
}

.field-label {
  display: block;
  margin: -4px 0 8px;
  text-align: left;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.termos-container,
.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 2px 0 20px;
  text-align: left;
}

.termos-container input[type="checkbox"],
.checkbox-row input[type="checkbox"] {
  display: inline-block;
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 0;
}

.termos-container label,
.checkbox-row label {
  display: inline-block;
  flex: 0 1 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

/* ============================= */
/* BOTÃO PRINCIPAL */
/* ============================= */
.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  cursor: pointer;

  background: linear-gradient(45deg, #ff3c00, #ff7a18);
  color: white;
  transition: 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 60, 0, 0.6);
}

/* ============================= */
/* BOTÃO GOOGLE */
/* ============================= */
.btn-google {
  width: 100%;
  padding: 14px; /* IGUAL ao btn-primary */
  border-radius: 12px; /* IGUAL */
  border: none;

  font-weight: bold; /* IGUAL */

  background: rgba(255,255,255,0.95);
  color: #333;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: 0.3s ease;
}

.btn-google:hover {
  transform: translateY(-3px) scale(1.02);
  background: white;
  box-shadow: 0 10px 25px rgba(255,255,255,0.4);
}

.btn-google img {
  width: 20px;
  height: 20px;
}



/* ============================= */
/* LINKS */
/* ============================= */
.register-text {
  margin-top: 20px;
  font-size: 14px;
}

a {
  color: #ff7a18;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */
@media (max-width: 450px) {
  .container {
    width: 90%;
    padding: 30px;
  }
}


#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}


.divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 15px 0; /* antes era menor */
}

/* ============================= */
/* LOGIN EMPRESARIAL */
/* ============================= */
body.login-page {
  min-height: 100vh;
  padding: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(14, 165, 233, 0.22), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 122, 24, 0.18), transparent 26%),
    linear-gradient(135deg, #0b1120 0%, #111827 48%, #0f172a 100%);
  animation: none;
  color: #f8fafc;
}

body.login-page::before,
body.login-page::after {
  display: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-panel {
  padding: 46px;
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
}

.brand-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.login-page .logo {
  width: 150px;
  margin: 0;
  animation: none;
}

.product-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.login-heading {
  margin-bottom: 28px;
}

.login-heading h1 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.login-heading p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 10px;
}

.login-form label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.login-page input {
  margin: 0 0 8px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
}

.login-page input::placeholder {
  color: #94a3b8;
}

.login-page input:focus {
  background: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.login-page .btn-primary,
.login-page .btn-google {
  min-height: 48px;
  border-radius: 8px;
  font-size: 15px;
}

.login-page .btn-primary {
  margin-top: 8px;
  background: linear-gradient(135deg, #f97316, #0ea5e9);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.24);
}

.login-page .btn-primary:hover,
.login-page .btn-google:hover {
  transform: translateY(-1px);
}

.login-page .btn-primary:disabled,
.login-page .btn-google:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.login-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.login-message.error {
  color: #b91c1c;
}

.login-message.success {
  color: #047857;
}

.login-page .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  height: auto;
  margin: 18px 0;
  background: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-page .divider::before,
.login-page .divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e2e8f0;
}

.login-page .btn-google {
  border: 1px solid #d8e0ea;
  background: #ffffff;
  color: #1f2937;
  cursor: pointer;
  box-shadow: none;
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  font-size: 14px;
}

.login-links a {
  color: #0369a1;
}

.login-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.82));
}

.login-aside > :not(.login-device) {
  position: relative;
  z-index: 2;
}

.login-device {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 42px;
  width: 260px;
  aspect-ratio: 3936 / 6000;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.36));
  opacity: 0.92;
}

.login-slider {
  position: absolute;
  z-index: 0;
  inset: 7% 19% 5% 19%;
  overflow: hidden;
  background: #0f172a;
}

.login-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: loginSlide 20s infinite;
}

.login-slider img:nth-child(2) {
  animation-delay: 4s;
}

.login-slider img:nth-child(3) {
  animation-delay: 8s;
}

.login-slider img:nth-child(4) {
  animation-delay: 12s;
}

.login-slider img:nth-child(5) {
  animation-delay: 16s;
}

.login-phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
}

@keyframes loginSlide {
  0%,
  18% {
    opacity: 1;
  }

  24%,
  100% {
    opacity: 0;
  }
}

.aside-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(226, 232, 240, 0.26);
  border-radius: 999px;
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-aside h2 {
  max-width: 500px;
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.login-aside > p:not(.aside-kicker) {
  max-width: 520px;
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.65;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-list div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  margin-bottom: 8px;
  color: #ffffff;
}

.service-list span {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  body.login-page {
    padding: 18px;
  }

  .login-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .login-panel {
    padding: 32px 24px;
  }

  .brand-block {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 32px;
  }

  .login-aside {
    padding: 30px 24px;
    background: rgba(15, 23, 42, 0.92);
  }

  .login-device {
    display: none;
  }

  .login-aside h2 {
    font-size: 28px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}


