* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f5f7fb;
  color: #17345d;
}

a {
  text-decoration: none;
}

.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #4cc3ee;
  padding: 14px 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #4abfe9;
  font-weight: 700;
}

.login-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.register-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  padding: 34px 28px;
}

.register-card h1 {
  text-align: center;
  color: #58bfe8;
  font-size: 22px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1f365c;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #bccada;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #59c3ef;
  box-shadow: 0 0 0 3px rgba(89,195,239,.12);
}

.feedback {
  font-size: 13px;
  min-height: 18px;
  margin-top: 5px;
  color: #e11d48;
  display: block;
}

.feedback.ok {
  color: #16a34a;
}

input.is-invalid,
select.is-invalid {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.08);
}

input.is-valid,
select.is-valid {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.08);
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #1f365c;
}

.terms input {
  margin-top: 3px;
}

.terms a {
  color: #0f5fb7;
  font-weight: 700;
}

.btn-login {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #7ecae4;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.btn-login:hover:not(:disabled) {
  background: #57b7da;
}

.btn-login:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.login-options {
  text-align: center;
  margin-top: 18px;
  color: #1f365c;
}

.login-options a {
  color: #0f5fb7;
  font-weight: 700;
}

.form-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e8f4ff;
  color: #0f5fb7;
  font-weight: 700;
}

.form-msg.error {
  background: #ffe7e7;
  color: #bf1f1f;
}

.rodape {
  background: #0c2d59;
  color: #fff;
  padding: 34px 24px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-column h3 {
  margin-bottom: 12px;
  color: #7ed4f2;
}

.footer-column p,
.footer-column a,
.footer-column li {
  color: #eef4fb;
  font-size: 14px;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
}

.footer-logo {
  height: 56px;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  text-align: center;
  color: #bfd2ea;
  font-size: 13px;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .register-card {
    padding: 26px 18px;
  }
}