:root {
  --azul-escuro: #123c84;
  --azul-medio: #2d6fc4;
  --azul-claro: #58b7df;
  --branco: #ffffff;
  --branco-suave: rgba(255, 255, 255, 0.9);
  --card-claro: #eceff3;
  --texto-escuro: #133b82;
  --texto-medio: #5d6b7f;
  --texto-suave: #7b8798;
  --borda-input: #cfd6df;
  --sombra-card: 0 18px 40px rgba(0, 0, 0, 0.18);
  --sombra-botao: 0 10px 22px rgba(23, 78, 155, 0.28);
}

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

html,
body {
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(
    120deg,
    var(--azul-escuro) 15%,
    #3278b4 60%,
    var(--azul-claro) 100%
  );
  color: var(--branco);
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 85%,
      rgba(255, 255, 255, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 15%,
      rgba(255, 255, 255, 0.1),
      transparent 20%
    );
  z-index: 1;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--branco);
}

.logo-icon {
  font-size: 2rem;
  line-height: 1;
}

.cadastro-wrapper {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 430px;
  align-items: center;
  gap: 56px;
  padding: 10px 50px 40px;
}

.cadastro-left {
  max-width: 700px;
  color: var(--branco);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--branco);
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.cadastro-left h1 {
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 680px;
}

.cadastro-left > p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--branco-suave);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 132px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.2rem;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cadastro-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-card {
  width: 100%;
  background: var(--card-claro);
  border-radius: 28px;
  padding: 34px 32px 28px;
  box-shadow: var(--sombra-card);
}

.cadastro-card {
  max-width: 430px;
}

.form-card h2 {
  font-size: 2.4rem;
  color: var(--texto-escuro);
  font-weight: 800;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--texto-medio);
  font-size: 1rem;
  margin-bottom: 28px;
}

form {
  width: 100%;
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  margin-bottom: 9px;
  color: var(--texto-escuro);
  font-size: 0.96rem;
  font-weight: 700;
}

.input-group input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--borda-input);
  border-radius: 16px;
  padding: 0 18px;
  background: #f0f3f7;
  font-size: 1rem;
  color: #24374f;
  outline: none;
  transition: 0.2s ease;
}

.input-group input::placeholder {
  color: #7d8794;
}

.input-group input:focus {
  border-color: var(--azul-medio);
  background: #f7f9fb;
  box-shadow: 0 0 0 4px rgba(45, 111, 196, 0.12);
}

.password-tips {
  margin: 4px 0 18px;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.btn-primary {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--azul-medio), var(--azul-claro));
  color: var(--branco);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--sombra-botao);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.form-link-text {
  margin-top: 22px;
  text-align: center;
  font-size: 0.98rem;
  color: var(--texto-medio);
}

.form-link-text a {
  color: #1458b3;
  font-weight: 700;
  text-decoration: none;
}

.form-link-text a:hover {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .cadastro-wrapper {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 20px 28px 40px;
  }

  .cadastro-left {
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
  }

  .cadastro-left h1,
  .cadastro-left > p {
    max-width: none;
  }

  .hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .cadastro-right {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 22px;
  }

  .cadastro-wrapper {
    padding: 12px 22px 34px;
  }

  .cadastro-left h1 {
    font-size: 2.9rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .highlight-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 78px;
    padding: 0 16px;
  }

  .logo {
    font-size: 1.1rem;
    gap: 10px;
  }

  .logo-icon {
    font-size: 1.7rem;
  }

  .cadastro-wrapper {
    min-height: calc(100vh - 78px);
    padding: 8px 16px 28px;
    gap: 26px;
  }

  .cadastro-left h1 {
    font-size: 2.2rem;
  }

  .cadastro-left > p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 9px 13px;
  }

  .form-card {
    padding: 26px 20px 24px;
    border-radius: 22px;
  }

  .form-card h2 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .input-group input {
    height: 54px;
    border-radius: 14px;
    font-size: 0.96rem;
  }

  .btn-primary {
    height: 56px;
    border-radius: 16px;
  }

  .form-link-text {
    font-size: 0.94rem;
  }
}
